diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Image.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Image.cs index 4916d4ba3007..c844f7a144af 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Image.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Image.cs @@ -46,9 +46,13 @@ public Image() /// Specifies the storage settings for the /// virtual machine disks. /// The provisioning state. - /// Gets the HyperVGenerationType of the - /// VirtualMachine created from the image. Possible values include: - /// 'V1', 'V2' + /// Specifies the HyperVGenerationType + /// of the VirtualMachine created from the image. From API Version + /// 2019-03-01 if the image source is a blob, then we need the user to + /// specify the value, if the source is managed resource like disk or + /// snapshot, we may require the user to specify the property if we + /// cannot deduce it from the source managed resource. Possible values + /// include: 'V1', 'V2' /// The extended location of the /// Image. public Image(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SubResource sourceVirtualMachine = default(SubResource), ImageStorageProfile storageProfile = default(ImageStorageProfile), string provisioningState = default(string), string hyperVGeneration = default(string), ExtendedLocation extendedLocation = default(ExtendedLocation)) @@ -88,8 +92,13 @@ public Image() public string ProvisioningState { get; private set; } /// - /// Gets the HyperVGenerationType of the VirtualMachine created from - /// the image. Possible values include: 'V1', 'V2' + /// Gets or sets specifies the HyperVGenerationType of the + /// VirtualMachine created from the image. From API Version 2019-03-01 + /// if the image source is a blob, then we need the user to specify the + /// value, if the source is managed resource like disk or snapshot, we + /// may require the user to specify the property if we cannot deduce it + /// from the source managed resource. Possible values include: 'V1', + /// 'V2' /// [JsonProperty(PropertyName = "properties.hyperVGeneration")] public string HyperVGeneration { get; set; } diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageDataDisk.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageDataDisk.cs index cc8a8b640427..90d4eca7353c 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageDataDisk.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageDataDisk.cs @@ -49,8 +49,8 @@ public ImageDataDisk() /// Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: - /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - /// 'UltraSSD_LRS' + /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', + /// 'Premium_ZRS', 'StandardSSD_ZRS' /// Specifies the customer managed disk /// encryption set resource id for the managed image disk. public ImageDataDisk(int lun, SubResource snapshot = default(SubResource), SubResource managedDisk = default(SubResource), string blobUri = default(string), CachingTypes? caching = default(CachingTypes?), int? diskSizeGB = default(int?), string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageDisk.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageDisk.cs index 2136d9ab3e36..292fef651cad 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageDisk.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageDisk.cs @@ -45,8 +45,8 @@ public ImageDisk() /// Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: - /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - /// 'UltraSSD_LRS' + /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', + /// 'Premium_ZRS', 'StandardSSD_ZRS' /// Specifies the customer managed disk /// encryption set resource id for the managed image disk. public ImageDisk(SubResource snapshot = default(SubResource), SubResource managedDisk = default(SubResource), string blobUri = default(string), CachingTypes? caching = default(CachingTypes?), int? diskSizeGB = default(int?), string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) @@ -110,7 +110,8 @@ public ImageDisk() /// Gets or sets specifies the storage account type for the managed /// disk. NOTE: UltraSSD_LRS can only be used with data disks, it /// cannot be used with OS Disk. Possible values include: - /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' + /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', + /// 'Premium_ZRS', 'StandardSSD_ZRS' /// [JsonProperty(PropertyName = "storageAccountType")] public string StorageAccountType { get; set; } diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageOSDisk.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageOSDisk.cs index d85a6e103cd8..a6759d2be87c 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageOSDisk.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageOSDisk.cs @@ -52,8 +52,8 @@ public ImageOSDisk() /// Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: - /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - /// 'UltraSSD_LRS' + /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', + /// 'Premium_ZRS', 'StandardSSD_ZRS' /// Specifies the customer managed disk /// encryption set resource id for the managed image disk. public ImageOSDisk(OperatingSystemTypes osType, OperatingSystemStateTypes osState, SubResource snapshot = default(SubResource), SubResource managedDisk = default(SubResource), string blobUri = default(string), CachingTypes? caching = default(CachingTypes?), int? diskSizeGB = default(int?), string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageUpdate.cs index 20e98317bbbb..8d9a073172fc 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageUpdate.cs @@ -40,9 +40,13 @@ public ImageUpdate() /// Specifies the storage settings for the /// virtual machine disks. /// The provisioning state. - /// Gets the HyperVGenerationType of the - /// VirtualMachine created from the image. Possible values include: - /// 'V1', 'V2' + /// Specifies the HyperVGenerationType + /// of the VirtualMachine created from the image. From API Version + /// 2019-03-01 if the image source is a blob, then we need the user to + /// specify the value, if the source is managed resource like disk or + /// snapshot, we may require the user to specify the property if we + /// cannot deduce it from the source managed resource. Possible values + /// include: 'V1', 'V2' public ImageUpdate(IDictionary tags = default(IDictionary), SubResource sourceVirtualMachine = default(SubResource), ImageStorageProfile storageProfile = default(ImageStorageProfile), string provisioningState = default(string), string hyperVGeneration = default(string)) : base(tags) { @@ -79,8 +83,13 @@ public ImageUpdate() public string ProvisioningState { get; private set; } /// - /// Gets the HyperVGenerationType of the VirtualMachine created from - /// the image. Possible values include: 'V1', 'V2' + /// Gets or sets specifies the HyperVGenerationType of the + /// VirtualMachine created from the image. From API Version 2019-03-01 + /// if the image source is a blob, then we need the user to specify the + /// value, if the source is managed resource like disk or snapshot, we + /// may require the user to specify the property if we cannot deduce it + /// from the source managed resource. Possible values include: 'V1', + /// 'V2' /// [JsonProperty(PropertyName = "properties.hyperVGeneration")] public string HyperVGeneration { get; set; } diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ManagedDiskParameters.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ManagedDiskParameters.cs index 2048b4a85700..7042c7d19476 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ManagedDiskParameters.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ManagedDiskParameters.cs @@ -33,8 +33,8 @@ public ManagedDiskParameters() /// Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: - /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - /// 'UltraSSD_LRS' + /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', + /// 'Premium_ZRS', 'StandardSSD_ZRS' /// Specifies the customer managed disk /// encryption set resource id for the managed disk. public ManagedDiskParameters(string id = default(string), string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) @@ -54,7 +54,8 @@ public ManagedDiskParameters() /// Gets or sets specifies the storage account type for the managed /// disk. NOTE: UltraSSD_LRS can only be used with data disks, it /// cannot be used with OS Disk. Possible values include: - /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' + /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', + /// 'Premium_ZRS', 'StandardSSD_ZRS' /// [JsonProperty(PropertyName = "storageAccountType")] public string StorageAccountType { get; set; } diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/StorageAccountTypes.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/StorageAccountTypes.cs index 187a42f0ab6b..776f0f57f6cd 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/StorageAccountTypes.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/StorageAccountTypes.cs @@ -20,5 +20,7 @@ public static class StorageAccountTypes public const string PremiumLRS = "Premium_LRS"; public const string StandardSSDLRS = "StandardSSD_LRS"; public const string UltraSSDLRS = "UltraSSD_LRS"; + public const string PremiumZRS = "Premium_ZRS"; + public const string StandardSSDZRS = "StandardSSD_ZRS"; } } diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetManagedDiskParameters.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetManagedDiskParameters.cs index ca640e2cd0e6..2cb366199f19 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetManagedDiskParameters.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetManagedDiskParameters.cs @@ -34,8 +34,8 @@ public VirtualMachineScaleSetManagedDiskParameters() /// Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: - /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - /// 'UltraSSD_LRS' + /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', + /// 'Premium_ZRS', 'StandardSSD_ZRS' /// Specifies the customer managed disk /// encryption set resource id for the managed disk. public VirtualMachineScaleSetManagedDiskParameters(string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) @@ -54,7 +54,8 @@ public VirtualMachineScaleSetManagedDiskParameters() /// Gets or sets specifies the storage account type for the managed /// disk. NOTE: UltraSSD_LRS can only be used with data disks, it /// cannot be used with OS Disk. Possible values include: - /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' + /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', + /// 'Premium_ZRS', 'StandardSSD_ZRS' /// [JsonProperty(PropertyName = "storageAccountType")] public string StorageAccountType { get; set; }