diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperations.cs
index c42cf8ccffa1..0f5e63dc0212 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperations.cs
@@ -153,7 +153,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -365,7 +365,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -543,7 +543,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -736,7 +736,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -974,7 +974,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1202,7 +1202,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1410,7 +1410,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
diskAccess.Validate();
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1635,7 +1635,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
DiskAccessUpdate diskAccess = new DiskAccessUpdate();
if (tags != null)
{
@@ -1859,7 +1859,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2058,7 +2058,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
privateEndpointConnection.Validate();
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2286,7 +2286,7 @@ internal DiskAccessesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperations.cs
index 07cd09d835ce..c04ab54d342e 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperations.cs
@@ -155,7 +155,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSetName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -367,7 +367,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -545,7 +545,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -738,7 +738,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSetName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -947,7 +947,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client)
{
diskEncryptionSet.Validate();
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1177,7 +1177,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSet");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1396,7 +1396,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSetName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperations.cs
index d2742e0c4e7f..092a1102ff3d 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperations.cs
@@ -109,7 +109,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskRestorePointName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -315,7 +315,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "vmRestorePointName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -598,7 +598,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client)
{
grantAccessData.Validate();
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -815,7 +815,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskRestorePointName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperations.cs
index e674252bdccd..36f75f18be2d 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperations.cs
@@ -150,7 +150,7 @@ internal DisksOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -361,7 +361,7 @@ internal DisksOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -539,7 +539,7 @@ internal DisksOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -793,7 +793,7 @@ internal DisksOperations(ComputeManagementClient client)
{
disk.Validate();
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1021,7 +1021,7 @@ internal DisksOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "disk");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1239,7 +1239,7 @@ internal DisksOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1428,7 +1428,7 @@ internal DisksOperations(ComputeManagementClient client)
{
grantAccessData.Validate();
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1628,7 +1628,7 @@ internal DisksOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "diskName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IVirtualMachinesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IVirtualMachinesOperations.cs
index 51a26f05dd94..2cd6e2ee3cf6 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IVirtualMachinesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IVirtualMachinesOperations.cs
@@ -143,8 +143,7 @@ public partial interface IVirtualMachinesOperations
/// The name of the virtual machine.
///
///
- /// Optional parameter to force delete virtual machines.(Feature in
- /// Preview)
+ /// Optional parameter to force delete virtual machines.
///
///
/// The headers that will be added to request.
@@ -775,8 +774,7 @@ public partial interface IVirtualMachinesOperations
/// The name of the virtual machine.
///
///
- /// Optional parameter to force delete virtual machines.(Feature in
- /// Preview)
+ /// Optional parameter to force delete virtual machines.
///
///
/// The headers that will be added to request.
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AccessUri.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AccessUri.cs
index 3b364f54fce5..4049f0b8717c 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AccessUri.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AccessUri.cs
@@ -30,9 +30,12 @@ public AccessUri()
/// Initializes a new instance of the AccessUri class.
///
/// A SAS uri for accessing a disk.
- public AccessUri(string accessSAS = default(string))
+ /// A SAS uri for accessing a VM
+ /// guest state blob.
+ public AccessUri(string accessSAS = default(string), string securityDataAccessSAS = default(string))
{
AccessSAS = accessSAS;
+ SecurityDataAccessSAS = securityDataAccessSAS;
CustomInit();
}
@@ -47,5 +50,11 @@ public AccessUri()
[JsonProperty(PropertyName = "accessSAS")]
public string AccessSAS { get; private set; }
+ ///
+ /// Gets a SAS uri for accessing a VM guest state blob.
+ ///
+ [JsonProperty(PropertyName = "securityDataAccessSAS")]
+ public string SecurityDataAccessSAS { get; private set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CreationData.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CreationData.cs
index 02a0cd11304d..033e13f3a8ad 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CreationData.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CreationData.cs
@@ -32,8 +32,8 @@ public CreationData()
///
/// This enumerates the possible sources of
/// a disk's creation. Possible values include: 'Empty', 'Attach',
- /// 'FromImage', 'Import', 'Copy', 'Restore', 'Upload',
- /// 'CopyStart'
+ /// 'FromImage', 'Import', 'Copy', 'Restore', 'Upload', 'CopyStart',
+ /// 'ImportSecure', 'UploadPreparedSecure'
/// Required if createOption is Import.
/// The Azure Resource Manager identifier of the storage account
/// containing the blob to import as a disk.
@@ -56,7 +56,9 @@ public CreationData()
/// Logical sector size in bytes for
/// Ultra disks. Supported values are 512 ad 4096. 4096 is the
/// default.
- public CreationData(string createOption, string storageAccountId = default(string), ImageDiskReference imageReference = default(ImageDiskReference), ImageDiskReference galleryImageReference = default(ImageDiskReference), string sourceUri = default(string), string sourceResourceId = default(string), string sourceUniqueId = default(string), long? uploadSizeBytes = default(long?), int? logicalSectorSize = default(int?))
+ /// If createOption is ImportSecure, this
+ /// is the URI of a VM guest state blob to be imported.
+ public CreationData(string createOption, string storageAccountId = default(string), ImageDiskReference imageReference = default(ImageDiskReference), ImageDiskReference galleryImageReference = default(ImageDiskReference), string sourceUri = default(string), string sourceResourceId = default(string), string sourceUniqueId = default(string), long? uploadSizeBytes = default(long?), int? logicalSectorSize = default(int?), string securityDataUri = default(string))
{
CreateOption = createOption;
StorageAccountId = storageAccountId;
@@ -67,6 +69,7 @@ public CreationData()
SourceUniqueId = sourceUniqueId;
UploadSizeBytes = uploadSizeBytes;
LogicalSectorSize = logicalSectorSize;
+ SecurityDataUri = securityDataUri;
CustomInit();
}
@@ -78,7 +81,8 @@ public CreationData()
///
/// Gets or sets this enumerates the possible sources of a disk's
/// creation. Possible values include: 'Empty', 'Attach', 'FromImage',
- /// 'Import', 'Copy', 'Restore', 'Upload', 'CopyStart'
+ /// 'Import', 'Copy', 'Restore', 'Upload', 'CopyStart', 'ImportSecure',
+ /// 'UploadPreparedSecure'
///
[JsonProperty(PropertyName = "createOption")]
public string CreateOption { get; set; }
@@ -142,6 +146,13 @@ public CreationData()
[JsonProperty(PropertyName = "logicalSectorSize")]
public int? LogicalSectorSize { get; set; }
+ ///
+ /// Gets or sets if createOption is ImportSecure, this is the URI of a
+ /// VM guest state blob to be imported.
+ ///
+ [JsonProperty(PropertyName = "securityDataUri")]
+ public string SecurityDataUri { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiagnosticsProfile.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiagnosticsProfile.cs
index 655cd4d8304e..95bb88db3978 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiagnosticsProfile.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiagnosticsProfile.cs
@@ -32,9 +32,12 @@ public DiagnosticsProfile()
///
/// Boot Diagnostics is a debugging
/// feature which allows you to view Console Output and Screenshot to
- /// diagnose VM status. <br><br> You can easily view the
- /// output of your console log. <br><br> Azure also enables
- /// you to see a screenshot of the VM from the hypervisor.
+ /// diagnose VM status. <br>**NOTE**: If storageUri is being
+ /// specified then ensure that the storage account is in the same
+ /// region and subscription as the VM. <br><br> You can
+ /// easily view the output of your console log. <br><br>
+ /// Azure also enables you to see a screenshot of the VM from the
+ /// hypervisor.
public DiagnosticsProfile(BootDiagnostics bootDiagnostics = default(BootDiagnostics))
{
BootDiagnostics = bootDiagnostics;
@@ -49,9 +52,12 @@ public DiagnosticsProfile()
///
/// Gets or sets boot Diagnostics is a debugging feature which allows
/// you to view Console Output and Screenshot to diagnose VM status.
- /// <br><br> You can easily view the output
- /// of your console log. <br><br> Azure
- /// also enables you to see a screenshot of the VM from the hypervisor.
+ /// <br>**NOTE**: If storageUri is being specified then
+ /// ensure that the storage account is in the same region and
+ /// subscription as the VM. <br><br> You
+ /// can easily view the output of your console log.
+ /// <br><br> Azure also enables you to see
+ /// a screenshot of the VM from the hypervisor.
///
[JsonProperty(PropertyName = "bootDiagnostics")]
public BootDiagnostics BootDiagnostics { get; set; }
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskCreateOption.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskCreateOption.cs
index 6c8a2bf46600..9651570fbe37 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskCreateOption.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskCreateOption.cs
@@ -54,5 +54,18 @@ public static class DiskCreateOption
/// from the source.
///
public const string CopyStart = "CopyStart";
+ ///
+ /// Similar to Import create option. Create a new TrustedLaunch or
+ /// ConfidentialVM supported disk by importing additional VM guest
+ /// state blob specified by securityDataUri in storage account
+ /// specified by storageAccountId
+ ///
+ public const string ImportSecure = "ImportSecure";
+ ///
+ /// Similar to Upload create option. Create a new TrustedLaunch or
+ /// ConfidentialVM supported disk and upload using write token in both
+ /// disk and VM guest state blob
+ ///
+ public const string UploadPreparedSecure = "UploadPreparedSecure";
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSet.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSet.cs
index 23389e9e0a9d..a8f51ddb9565 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSet.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSet.cs
@@ -41,7 +41,8 @@ public DiskEncryptionSet()
/// Resource tags
/// Possible values include:
/// 'EncryptionAtRestWithCustomerKey',
- /// 'EncryptionAtRestWithPlatformAndCustomerKeys'
+ /// 'EncryptionAtRestWithPlatformAndCustomerKeys',
+ /// 'ConfidentialVmEncryptedWithCustomerKey'
/// The key vault key which is currently used
/// by this disk encryption set.
/// A readonly collection of key vault keys
@@ -86,7 +87,8 @@ public DiskEncryptionSet()
///
/// Gets or sets possible values include:
/// 'EncryptionAtRestWithCustomerKey',
- /// 'EncryptionAtRestWithPlatformAndCustomerKeys'
+ /// 'EncryptionAtRestWithPlatformAndCustomerKeys',
+ /// 'ConfidentialVmEncryptedWithCustomerKey'
///
[JsonProperty(PropertyName = "properties.encryptionType")]
public string EncryptionType { get; set; }
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSetType.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSetType.cs
index dcb4cb47d480..769cfc39522c 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSetType.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSetType.cs
@@ -27,5 +27,9 @@ public static class DiskEncryptionSetType
/// the other key is Platform managed.
///
public const string EncryptionAtRestWithPlatformAndCustomerKeys = "EncryptionAtRestWithPlatformAndCustomerKeys";
+ ///
+ /// Confidential VM supported disk encrypted with customer managed key.
+ ///
+ public const string ConfidentialVmEncryptedWithCustomerKey = "ConfidentialVmEncryptedWithCustomerKey";
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSetUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSetUpdate.cs
index 2f914ed5b294..af663557e795 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSetUpdate.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSetUpdate.cs
@@ -36,7 +36,8 @@ public DiskEncryptionSetUpdate()
///
/// Possible values include:
/// 'EncryptionAtRestWithCustomerKey',
- /// 'EncryptionAtRestWithPlatformAndCustomerKeys'
+ /// 'EncryptionAtRestWithPlatformAndCustomerKeys',
+ /// 'ConfidentialVmEncryptedWithCustomerKey'
/// Set this flag to
/// true to enable auto-updating of this disk encryption set to the
/// latest key version.
@@ -59,7 +60,8 @@ public DiskEncryptionSetUpdate()
///
/// Gets or sets possible values include:
/// 'EncryptionAtRestWithCustomerKey',
- /// 'EncryptionAtRestWithPlatformAndCustomerKeys'
+ /// 'EncryptionAtRestWithPlatformAndCustomerKeys',
+ /// 'ConfidentialVmEncryptedWithCustomerKey'
///
[JsonProperty(PropertyName = "properties.encryptionType")]
public string EncryptionType { get; set; }
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskRestorePoint.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskRestorePoint.cs
index 503f834b410c..54a5bd0c9e49 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskRestorePoint.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskRestorePoint.cs
@@ -37,7 +37,8 @@ public DiskRestorePoint()
/// Resource type
/// The timestamp of restorePoint
/// creation
- /// arm id of source disk
+ /// arm id of source disk or source disk
+ /// restore point.
/// The Operating System type. Possible values
/// include: 'Windows', 'Linux'
/// The hypervisor generation of the
@@ -64,9 +65,14 @@ public DiskRestorePoint()
/// ARM id of the DiskAccess resource for
/// using private endpoints on disks.
/// Percentage complete for the
- /// background copy when a resource is created via the CopyStart
- /// operation.
- public DiskRestorePoint(string id = default(string), string name = default(string), string type = default(string), System.DateTime? timeCreated = default(System.DateTime?), string sourceResourceId = default(string), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), string familyId = default(string), string sourceUniqueId = default(string), Encryption encryption = default(Encryption), bool? supportsHibernation = default(bool?), string networkAccessPolicy = default(string), string publicNetworkAccess = default(string), string diskAccessId = default(string), double? completionPercent = default(double?))
+ /// background copy of disk restore point when source resource is from
+ /// a different region.
+ /// Replication state of disk restore
+ /// point when source resource is from a different region.
+ /// Location of source disk or
+ /// source disk restore point when source resource is from a different
+ /// region.
+ public DiskRestorePoint(string id = default(string), string name = default(string), string type = default(string), System.DateTime? timeCreated = default(System.DateTime?), string sourceResourceId = default(string), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), string familyId = default(string), string sourceUniqueId = default(string), Encryption encryption = default(Encryption), bool? supportsHibernation = default(bool?), string networkAccessPolicy = default(string), string publicNetworkAccess = default(string), string diskAccessId = default(string), double? completionPercent = default(double?), string replicationState = default(string), string sourceResourceLocation = default(string))
: base(id, name, type)
{
TimeCreated = timeCreated;
@@ -83,6 +89,8 @@ public DiskRestorePoint()
PublicNetworkAccess = publicNetworkAccess;
DiskAccessId = diskAccessId;
CompletionPercent = completionPercent;
+ ReplicationState = replicationState;
+ SourceResourceLocation = sourceResourceLocation;
CustomInit();
}
@@ -98,7 +106,7 @@ public DiskRestorePoint()
public System.DateTime? TimeCreated { get; private set; }
///
- /// Gets arm id of source disk
+ /// Gets arm id of source disk or source disk restore point.
///
[JsonProperty(PropertyName = "properties.sourceResourceId")]
public string SourceResourceId { get; private set; }
@@ -177,12 +185,26 @@ public DiskRestorePoint()
public string DiskAccessId { get; set; }
///
- /// Gets or sets percentage complete for the background copy when a
- /// resource is created via the CopyStart operation.
+ /// Gets or sets percentage complete for the background copy of disk
+ /// restore point when source resource is from a different region.
///
[JsonProperty(PropertyName = "properties.completionPercent")]
public double? CompletionPercent { get; set; }
+ ///
+ /// Gets replication state of disk restore point when source resource
+ /// is from a different region.
+ ///
+ [JsonProperty(PropertyName = "properties.replicationState")]
+ public string ReplicationState { get; private set; }
+
+ ///
+ /// Gets location of source disk or source disk restore point when
+ /// source resource is from a different region.
+ ///
+ [JsonProperty(PropertyName = "properties.sourceResourceLocation")]
+ public string SourceResourceLocation { get; private set; }
+
///
/// Validate the object.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskSecurityProfile.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskSecurityProfile.cs
index 41ed536c9144..797607a2cc4a 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskSecurityProfile.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskSecurityProfile.cs
@@ -30,10 +30,17 @@ public DiskSecurityProfile()
/// Initializes a new instance of the DiskSecurityProfile class.
///
/// Possible values include:
- /// 'TrustedLaunch'
- public DiskSecurityProfile(string securityType = default(string))
+ /// 'TrustedLaunch',
+ /// 'ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey',
+ /// 'ConfidentialVM_DiskEncryptedWithPlatformKey',
+ /// 'ConfidentialVM_DiskEncryptedWithCustomerKey'
+ /// ResourceId of the disk
+ /// encryption set associated to Confidential VM supported disk
+ /// encrypted with customer managed key
+ public DiskSecurityProfile(string securityType = default(string), string secureVMDiskEncryptionSetId = default(string))
{
SecurityType = securityType;
+ SecureVMDiskEncryptionSetId = secureVMDiskEncryptionSetId;
CustomInit();
}
@@ -43,10 +50,20 @@ public DiskSecurityProfile()
partial void CustomInit();
///
- /// Gets or sets possible values include: 'TrustedLaunch'
+ /// Gets or sets possible values include: 'TrustedLaunch',
+ /// 'ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey',
+ /// 'ConfidentialVM_DiskEncryptedWithPlatformKey',
+ /// 'ConfidentialVM_DiskEncryptedWithCustomerKey'
///
[JsonProperty(PropertyName = "securityType")]
public string SecurityType { get; set; }
+ ///
+ /// Gets or sets resourceId of the disk encryption set associated to
+ /// Confidential VM supported disk encrypted with customer managed key
+ ///
+ [JsonProperty(PropertyName = "secureVMDiskEncryptionSetId")]
+ public string SecureVMDiskEncryptionSetId { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskSecurityTypes.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskSecurityTypes.cs
index 73018b295e4d..f7593fce0bde 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskSecurityTypes.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskSecurityTypes.cs
@@ -21,5 +21,20 @@ public static class DiskSecurityTypes
/// virtual Trusted Platform Module (vTPM)
///
public const string TrustedLaunch = "TrustedLaunch";
+ ///
+ /// Indicates Confidential VM disk with only VM guest state blob
+ /// encrypted
+ ///
+ public const string ConfidentialVMVMGuestStateOnlyEncryptedWithPlatformKey = "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey";
+ ///
+ /// Indicates Confidential VM disk with both OS disk blob and VM guest
+ /// state blob encrypted with a platform managed key
+ ///
+ public const string ConfidentialVMDiskEncryptedWithPlatformKey = "ConfidentialVM_DiskEncryptedWithPlatformKey";
+ ///
+ /// Indicates Confidential VM disk with both OS disk blob and VM guest
+ /// state blob encrypted with a customer managed key
+ ///
+ public const string ConfidentialVMDiskEncryptedWithCustomerKey = "ConfidentialVM_DiskEncryptedWithCustomerKey";
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Encryption.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Encryption.cs
index 345dec01e4c3..fb3e4dc47ce6 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Encryption.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Encryption.cs
@@ -34,7 +34,8 @@ public Encryption()
/// Possible values include:
/// 'EncryptionAtRestWithPlatformKey',
/// 'EncryptionAtRestWithCustomerKey',
- /// 'EncryptionAtRestWithPlatformAndCustomerKeys'
+ /// 'EncryptionAtRestWithPlatformAndCustomerKeys',
+ /// 'ConfidentialVmEncryptedWithCustomerKey'
public Encryption(string diskEncryptionSetId = default(string), string type = default(string))
{
DiskEncryptionSetId = diskEncryptionSetId;
@@ -58,7 +59,8 @@ public Encryption()
/// Gets or sets possible values include:
/// 'EncryptionAtRestWithPlatformKey',
/// 'EncryptionAtRestWithCustomerKey',
- /// 'EncryptionAtRestWithPlatformAndCustomerKeys'
+ /// 'EncryptionAtRestWithPlatformAndCustomerKeys',
+ /// 'ConfidentialVmEncryptedWithCustomerKey'
///
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/EncryptionType.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/EncryptionType.cs
index fd806754ff4e..94b11f768e06 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/EncryptionType.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/EncryptionType.cs
@@ -32,5 +32,9 @@ public static class EncryptionType
/// keys is Customer managed and the other key is Platform managed.
///
public const string EncryptionAtRestWithPlatformAndCustomerKeys = "EncryptionAtRestWithPlatformAndCustomerKeys";
+ ///
+ /// Confidential VM supported disk encrypted with customer managed key.
+ ///
+ public const string ConfidentialVmEncryptedWithCustomerKey = "ConfidentialVmEncryptedWithCustomerKey";
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GrantAccessData.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GrantAccessData.cs
index 77328c91945b..81db683c84ac 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GrantAccessData.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GrantAccessData.cs
@@ -34,10 +34,13 @@ public GrantAccessData()
/// 'Write'
/// Time duration in seconds until the
/// SAS access expires.
- public GrantAccessData(string access, int durationInSeconds)
+ /// Set this flag to true to get
+ /// additional SAS for VM guest state blob
+ public GrantAccessData(string access, int durationInSeconds, bool? getSecureVMGuestStateSAS = default(bool?))
{
Access = access;
DurationInSeconds = durationInSeconds;
+ GetSecureVMGuestStateSAS = getSecureVMGuestStateSAS;
CustomInit();
}
@@ -58,6 +61,13 @@ public GrantAccessData(string access, int durationInSeconds)
[JsonProperty(PropertyName = "durationInSeconds")]
public int DurationInSeconds { get; set; }
+ ///
+ /// Gets or sets set this flag to true to get additional SAS for VM
+ /// guest state blob
+ ///
+ [JsonProperty(PropertyName = "getSecureVMGuestStateSAS")]
+ public bool? GetSecureVMGuestStateSAS { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Snapshot.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Snapshot.cs
index cd3d17be1425..2a75b4271c73 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Snapshot.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Snapshot.cs
@@ -88,6 +88,8 @@ public Snapshot()
/// 'AllowAll', 'AllowPrivate', 'DenyAll'
/// ARM id of the DiskAccess resource for
/// using private endpoints on disks.
+ /// Contains the security related
+ /// information for the resource.
/// Indicates the OS on a snapshot
/// supports hibernation.
/// Possible values include:
@@ -95,7 +97,7 @@ public Snapshot()
/// Percentage complete for the
/// background copy when a resource is created via the CopyStart
/// operation.
- public Snapshot(string location, CreationData creationData, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string managedBy = default(string), SnapshotSku sku = default(SnapshotSku), ExtendedLocation extendedLocation = default(ExtendedLocation), System.DateTime? timeCreated = default(System.DateTime?), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), int? diskSizeGB = default(int?), long? diskSizeBytes = default(long?), string diskState = default(string), string uniqueId = default(string), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), string provisioningState = default(string), bool? incremental = default(bool?), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), double? completionPercent = default(double?))
+ public Snapshot(string location, CreationData creationData, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string managedBy = default(string), SnapshotSku sku = default(SnapshotSku), ExtendedLocation extendedLocation = default(ExtendedLocation), System.DateTime? timeCreated = default(System.DateTime?), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), int? diskSizeGB = default(int?), long? diskSizeBytes = default(long?), string diskState = default(string), string uniqueId = default(string), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), string provisioningState = default(string), bool? incremental = default(bool?), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), DiskSecurityProfile securityProfile = default(DiskSecurityProfile), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), double? completionPercent = default(double?))
: base(location, id, name, type, tags)
{
ManagedBy = managedBy;
@@ -117,6 +119,7 @@ public Snapshot()
Encryption = encryption;
NetworkAccessPolicy = networkAccessPolicy;
DiskAccessId = diskAccessId;
+ SecurityProfile = securityProfile;
SupportsHibernation = supportsHibernation;
PublicNetworkAccess = publicNetworkAccess;
CompletionPercent = completionPercent;
@@ -261,6 +264,13 @@ public Snapshot()
[JsonProperty(PropertyName = "properties.diskAccessId")]
public string DiskAccessId { get; set; }
+ ///
+ /// Gets or sets contains the security related information for the
+ /// resource.
+ ///
+ [JsonProperty(PropertyName = "properties.securityProfile")]
+ public DiskSecurityProfile SecurityProfile { get; set; }
+
///
/// Gets or sets indicates the OS on a snapshot supports hibernation.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SnapshotUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SnapshotUpdate.cs
index 0a52d0febc00..131f029cb4fb 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SnapshotUpdate.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SnapshotUpdate.cs
@@ -56,8 +56,11 @@ public SnapshotUpdate()
/// supports hibernation.
/// Possible values include:
/// 'Enabled', 'Disabled'
+ /// List of supported capabilities
+ /// (like accelerated networking) for the image from which the OS disk
+ /// was created.
/// Resource tags
- public SnapshotUpdate(OperatingSystemTypes? osType = default(OperatingSystemTypes?), int? diskSizeGB = default(int?), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), IDictionary tags = default(IDictionary), SnapshotSku sku = default(SnapshotSku))
+ public SnapshotUpdate(OperatingSystemTypes? osType = default(OperatingSystemTypes?), int? diskSizeGB = default(int?), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), IDictionary tags = default(IDictionary), SnapshotSku sku = default(SnapshotSku))
{
OsType = osType;
DiskSizeGB = diskSizeGB;
@@ -67,6 +70,7 @@ public SnapshotUpdate()
DiskAccessId = diskAccessId;
SupportsHibernation = supportsHibernation;
PublicNetworkAccess = publicNetworkAccess;
+ SupportedCapabilities = supportedCapabilities;
Tags = tags;
Sku = sku;
CustomInit();
@@ -135,6 +139,13 @@ public SnapshotUpdate()
[JsonProperty(PropertyName = "properties.publicNetworkAccess")]
public string PublicNetworkAccess { get; set; }
+ ///
+ /// Gets or sets list of supported capabilities (like accelerated
+ /// networking) for the image from which the OS disk was created.
+ ///
+ [JsonProperty(PropertyName = "properties.supportedCapabilities")]
+ public SupportedCapabilities SupportedCapabilities { get; set; }
+
///
/// Gets or sets resource tags
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs
index 2b75edb7232d..f9d4b1167b7c 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs
@@ -29,10 +29,10 @@ public static IEnumerable> ApiInfo_ComputeManageme
new Tuple("Compute", "CloudServicesUpdateDomain", "2021-03-01"),
new Tuple("Compute", "DedicatedHostGroups", "2021-07-01"),
new Tuple("Compute", "DedicatedHosts", "2021-07-01"),
- new Tuple("Compute", "DiskAccesses", "2021-04-01"),
- new Tuple("Compute", "DiskEncryptionSets", "2021-04-01"),
- new Tuple("Compute", "DiskRestorePoint", "2021-04-01"),
- new Tuple("Compute", "Disks", "2021-04-01"),
+ new Tuple("Compute", "DiskAccesses", "2021-08-01"),
+ new Tuple("Compute", "DiskEncryptionSets", "2021-08-01"),
+ new Tuple("Compute", "DiskRestorePoint", "2021-08-01"),
+ new Tuple("Compute", "Disks", "2021-08-01"),
new Tuple("Compute", "Galleries", "2021-07-01"),
new Tuple("Compute", "GalleryApplicationVersions", "2021-07-01"),
new Tuple("Compute", "GalleryApplications", "2021-07-01"),
@@ -49,7 +49,7 @@ public static IEnumerable> ApiInfo_ComputeManageme
new Tuple("Compute", "SharedGalleries", "2021-07-01"),
new Tuple("Compute", "SharedGalleryImageVersions", "2021-07-01"),
new Tuple("Compute", "SharedGalleryImages", "2021-07-01"),
- new Tuple("Compute", "Snapshots", "2021-04-01"),
+ new Tuple("Compute", "Snapshots", "2021-08-01"),
new Tuple("Compute", "SshPublicKeys", "2021-07-01"),
new Tuple("Compute", "Usage", "2021-07-01"),
new Tuple("Compute", "VirtualMachineExtensionImages", "2021-07-01"),
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperations.cs
index 891e94b76429..9bc1a95afbe4 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperations.cs
@@ -150,7 +150,7 @@ internal SnapshotsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -361,7 +361,7 @@ internal SnapshotsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -539,7 +539,7 @@ internal SnapshotsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -794,7 +794,7 @@ internal SnapshotsOperations(ComputeManagementClient client)
{
snapshot.Validate();
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1022,7 +1022,7 @@ internal SnapshotsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "snapshot");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1240,7 +1240,7 @@ internal SnapshotsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1430,7 +1430,7 @@ internal SnapshotsOperations(ComputeManagementClient client)
{
grantAccessData.Validate();
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1630,7 +1630,7 @@ internal SnapshotsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperations.cs
index 1e64a5b3530c..6404614d40af 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperations.cs
@@ -330,7 +330,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
/// The name of the virtual machine.
///
///
- /// Optional parameter to force delete virtual machines.(Feature in Preview)
+ /// Optional parameter to force delete virtual machines.
///
///
/// The headers that will be added to request.
@@ -2822,7 +2822,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
/// The name of the virtual machine.
///
///
- /// Optional parameter to force delete virtual machines.(Feature in Preview)
+ /// Optional parameter to force delete virtual machines.
///
///
/// Headers that will be added to request.
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperationsExtensions.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperationsExtensions.cs
index dd89f247cac8..27cec29011fc 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperationsExtensions.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperationsExtensions.cs
@@ -214,7 +214,7 @@ public static VirtualMachine Update(this IVirtualMachinesOperations operations,
/// The name of the virtual machine.
///
///
- /// Optional parameter to force delete virtual machines.(Feature in Preview)
+ /// Optional parameter to force delete virtual machines.
///
public static void Delete(this IVirtualMachinesOperations operations, string resourceGroupName, string vmName, bool? forceDeletion = default(bool?))
{
@@ -234,7 +234,7 @@ public static VirtualMachine Update(this IVirtualMachinesOperations operations,
/// The name of the virtual machine.
///
///
- /// Optional parameter to force delete virtual machines.(Feature in Preview)
+ /// Optional parameter to force delete virtual machines.
///
///
/// The cancellation token.
@@ -1254,7 +1254,7 @@ public static VirtualMachine BeginUpdate(this IVirtualMachinesOperations operati
/// The name of the virtual machine.
///
///
- /// Optional parameter to force delete virtual machines.(Feature in Preview)
+ /// Optional parameter to force delete virtual machines.
///
public static void BeginDelete(this IVirtualMachinesOperations operations, string resourceGroupName, string vmName, bool? forceDeletion = default(bool?))
{
@@ -1274,7 +1274,7 @@ public static VirtualMachine BeginUpdate(this IVirtualMachinesOperations operati
/// The name of the virtual machine.
///
///
- /// Optional parameter to force delete virtual machines.(Feature in Preview)
+ /// Optional parameter to force delete virtual machines.
///
///
/// The cancellation token.