Skip to content

Commit

Permalink
.NET SDK Resource Provider:'Compute' (#5346)
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5347'
REST Spec PR Author 'ashintre'
REST Spec PR Last commit
  • Loading branch information
adxsdknet authored and dsgouda committed Mar 29, 2019
1 parent 3231061 commit 3582410
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ public VirtualMachineScaleSetVM()
/// <param name="sku">The virtual machine SKU.</param>
/// <param name="latestModelApplied">Specifies whether the latest model
/// has been applied to the virtual machine.</param>
/// <param name="protectFromScaleIn">Specifies whether the virtual
/// machine instance shouldn't be considered for deletion during a
/// scale-in operation</param>
/// <param name="vmId">Azure VM unique ID.</param>
/// <param name="instanceView">The virtual machine instance
/// view.</param>
Expand Down Expand Up @@ -101,13 +98,12 @@ public VirtualMachineScaleSetVM()
/// <param name="resources">The virtual machine child extension
/// resources.</param>
/// <param name="zones">The virtual machine zones.</param>
public VirtualMachineScaleSetVM(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string instanceId = default(string), Sku sku = default(Sku), bool? latestModelApplied = default(bool?), bool? protectFromScaleIn = default(bool?), string vmId = default(string), VirtualMachineScaleSetVMInstanceView instanceView = default(VirtualMachineScaleSetVMInstanceView), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), SubResource availabilitySet = default(SubResource), string provisioningState = default(string), string licenseType = default(string), Plan plan = default(Plan), IList<VirtualMachineExtension> resources = default(IList<VirtualMachineExtension>), IList<string> zones = default(IList<string>))
public VirtualMachineScaleSetVM(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string instanceId = default(string), Sku sku = default(Sku), bool? latestModelApplied = default(bool?), string vmId = default(string), VirtualMachineScaleSetVMInstanceView instanceView = default(VirtualMachineScaleSetVMInstanceView), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), SubResource availabilitySet = default(SubResource), string provisioningState = default(string), string licenseType = default(string), Plan plan = default(Plan), IList<VirtualMachineExtension> resources = default(IList<VirtualMachineExtension>), IList<string> zones = default(IList<string>))
: base(location, id, name, type, tags)
{
InstanceId = instanceId;
Sku = sku;
LatestModelApplied = latestModelApplied;
ProtectFromScaleIn = protectFromScaleIn;
VmId = vmId;
InstanceView = instanceView;
HardwareProfile = hardwareProfile;
Expand Down Expand Up @@ -149,13 +145,6 @@ public VirtualMachineScaleSetVM()
[JsonProperty(PropertyName = "properties.latestModelApplied")]
public bool? LatestModelApplied { get; private set; }

/// <summary>
/// Gets or sets specifies whether the virtual machine instance
/// shouldn't be considered for deletion during a scale-in operation
/// </summary>
[JsonProperty(PropertyName = "properties.protectFromScaleIn")]
public bool? ProtectFromScaleIn { get; set; }

/// <summary>
/// Gets azure VM unique ID.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,5 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_ComputeManageme
}.AsEnumerable();
}
}
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "latest";
public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/compute/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=E:\\hylee-sdk\\diskrp\\src\\SDKs";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
public static readonly String GithubCommidId = "27ad7f33127e71036da2b8e5e8184a25f36e9d72";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
}
}

0 comments on commit 3582410

Please sign in to comment.