diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperations.cs
index 1391cf62606a..248842d77644 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperations.cs
@@ -105,7 +105,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -313,7 +313,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -511,7 +511,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -687,7 +687,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -871,7 +871,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1059,7 +1059,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1252,7 +1252,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/CapacityReservationGroupsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/CapacityReservationGroupsOperations.cs
index 5dc522fee8cc..bad13963fd4e 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/CapacityReservationGroupsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/CapacityReservationGroupsOperations.cs
@@ -107,7 +107,7 @@ internal CapacityReservationGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -330,7 +330,7 @@ internal CapacityReservationGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
CapacityReservationGroupUpdate parameters = new CapacityReservationGroupUpdate();
if (tags != null)
{
@@ -537,7 +537,7 @@ internal CapacityReservationGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -722,7 +722,7 @@ internal CapacityReservationGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -923,7 +923,7 @@ internal CapacityReservationGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1115,7 +1115,7 @@ internal CapacityReservationGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/CapacityReservationsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/CapacityReservationsOperations.cs
index ad2e81bf2c99..7e86b56a5c49 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/CapacityReservationsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/CapacityReservationsOperations.cs
@@ -193,7 +193,7 @@ internal CapacityReservationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -396,7 +396,7 @@ internal CapacityReservationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -610,7 +610,7 @@ internal CapacityReservationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -845,7 +845,7 @@ internal CapacityReservationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1055,7 +1055,7 @@ internal CapacityReservationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DedicatedHostGroupsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DedicatedHostGroupsOperations.cs
index 79a73696d8cb..abf8d3e9b44f 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DedicatedHostGroupsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DedicatedHostGroupsOperations.cs
@@ -107,7 +107,7 @@ internal DedicatedHostGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -333,7 +333,7 @@ internal DedicatedHostGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -531,7 +531,7 @@ internal DedicatedHostGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -713,7 +713,7 @@ internal DedicatedHostGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -907,7 +907,7 @@ internal DedicatedHostGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1087,7 +1087,7 @@ internal DedicatedHostGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DedicatedHostsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DedicatedHostsOperations.cs
index 3b5cc4b37fa6..fe9b4551dfa3 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DedicatedHostsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DedicatedHostsOperations.cs
@@ -188,7 +188,7 @@ internal DedicatedHostsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -391,7 +391,7 @@ internal DedicatedHostsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -603,7 +603,7 @@ internal DedicatedHostsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -838,7 +838,7 @@ internal DedicatedHostsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1045,7 +1045,7 @@ internal DedicatedHostsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleriesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleriesOperations.cs
index cd1041750010..51c45fab1cc6 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleriesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleriesOperations.cs
@@ -152,7 +152,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -366,7 +366,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -544,7 +544,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -747,7 +747,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
gallery.Validate();
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -993,7 +993,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "gallery");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1191,7 +1191,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationVersionsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationVersionsOperations.cs
index 7fee20b39f3c..4d0c5db53a69 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationVersionsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationVersionsOperations.cs
@@ -187,7 +187,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationVersionName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -429,7 +429,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -656,7 +656,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client)
{
galleryApplicationVersion.Validate();
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -923,7 +923,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationVersion");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1141,7 +1141,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationVersionName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationsOperations.cs
index ee8bf60a5e4e..67c33512f424 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationsOperations.cs
@@ -164,7 +164,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -387,7 +387,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -602,7 +602,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client)
{
galleryApplication.Validate();
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -858,7 +858,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplication");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1066,7 +1066,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImageVersionsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImageVersionsOperations.cs
index 112a66063ee3..99572a8b7478 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImageVersionsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImageVersionsOperations.cs
@@ -184,7 +184,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersionName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -424,7 +424,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -650,7 +650,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client)
{
galleryImageVersion.Validate();
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -916,7 +916,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersion");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1133,7 +1133,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersionName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImagesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImagesOperations.cs
index 02f11b8fd7ac..378666fcd3ea 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImagesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImagesOperations.cs
@@ -164,7 +164,7 @@ internal GalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -387,7 +387,7 @@ internal GalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -602,7 +602,7 @@ internal GalleryImagesOperations(ComputeManagementClient client)
{
galleryImage.Validate();
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -858,7 +858,7 @@ internal GalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImage");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1066,7 +1066,7 @@ internal GalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GallerySharingProfileOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GallerySharingProfileOperations.cs
index 36d20e5f894b..c4570ab3d105 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GallerySharingProfileOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GallerySharingProfileOperations.cs
@@ -130,7 +130,7 @@ internal GallerySharingProfileOperations(ComputeManagementClient client)
{
sharingUpdate.Validate();
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IResourceSkusOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IResourceSkusOperations.cs
index 9c6c2d0d6985..5133041c4c84 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IResourceSkusOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IResourceSkusOperations.cs
@@ -31,6 +31,9 @@ public partial interface IResourceSkusOperations
/// The filter to apply on the operation. Only **location** filter is
/// supported currently.
///
+ ///
+ /// To Include Extended Locations information or not in the response.
+ ///
///
/// The headers that will be added to request.
///
@@ -46,7 +49,7 @@ public partial interface IResourceSkusOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListWithHttpMessagesAsync(string filter = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListWithHttpMessagesAsync(string filter = default(string), string includeExtendedLocations = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets the list of Microsoft.Compute SKUs available for your
/// Subscription.
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 cbf62a298737..51a26f05dd94 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IVirtualMachinesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IVirtualMachinesOperations.cs
@@ -255,6 +255,10 @@ public partial interface IVirtualMachinesOperations
///
/// The name of the virtual machine.
///
+ ///
+ /// Optional parameter to hibernate a virtual machine. (Feature in
+ /// Preview)
+ ///
///
/// The headers that will be added to request.
///
@@ -267,7 +271,7 @@ public partial interface IVirtualMachinesOperations
///
/// Thrown when a required parameter is null
///
- Task DeallocateWithHttpMessagesAsync(string resourceGroupName, string vmName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task DeallocateWithHttpMessagesAsync(string resourceGroupName, string vmName, bool? hibernate = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Sets the OS state of the virtual machine to generalized. It is
/// recommended to sysprep the virtual machine before performing this
@@ -822,6 +826,10 @@ public partial interface IVirtualMachinesOperations
///
/// The name of the virtual machine.
///
+ ///
+ /// Optional parameter to hibernate a virtual machine. (Feature in
+ /// Preview)
+ ///
///
/// The headers that will be added to request.
///
@@ -834,7 +842,7 @@ public partial interface IVirtualMachinesOperations
///
/// Thrown when a required parameter is null
///
- Task BeginDeallocateWithHttpMessagesAsync(string resourceGroupName, string vmName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task BeginDeallocateWithHttpMessagesAsync(string resourceGroupName, string vmName, bool? hibernate = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// The operation to power off (stop) a virtual machine. The virtual
/// machine can be restarted with the same provisioned resources. You
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ImagesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ImagesOperations.cs
index 618154d2bb07..56cc968444fd 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ImagesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ImagesOperations.cs
@@ -169,7 +169,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -361,7 +361,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -541,7 +541,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -742,7 +742,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -968,7 +968,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1184,7 +1184,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/LogAnalyticsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/LogAnalyticsOperations.cs
index bcb3fb1bd831..9a93953caff3 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/LogAnalyticsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/LogAnalyticsOperations.cs
@@ -152,7 +152,7 @@ internal LogAnalyticsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -363,7 +363,7 @@ internal LogAnalyticsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AdditionalCapabilities.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AdditionalCapabilities.cs
index 6444e2641f75..18f8541b7633 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AdditionalCapabilities.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AdditionalCapabilities.cs
@@ -35,9 +35,12 @@ public AdditionalCapabilities()
/// storage account type on the VM or VMSS. Managed disks with storage
/// account type UltraSSD_LRS can be added to a virtual machine or
/// virtual machine scale set only if this property is enabled.
- public AdditionalCapabilities(bool? ultraSSDEnabled = default(bool?))
+ /// The flag that enables or disables
+ /// hibernation capability on the VM.
+ public AdditionalCapabilities(bool? ultraSSDEnabled = default(bool?), bool? hibernationEnabled = default(bool?))
{
UltraSSDEnabled = ultraSSDEnabled;
+ HibernationEnabled = hibernationEnabled;
CustomInit();
}
@@ -56,5 +59,12 @@ public AdditionalCapabilities()
[JsonProperty(PropertyName = "ultraSSDEnabled")]
public bool? UltraSSDEnabled { get; set; }
+ ///
+ /// Gets or sets the flag that enables or disables hibernation
+ /// capability on the VM.
+ ///
+ [JsonProperty(PropertyName = "hibernationEnabled")]
+ public bool? HibernationEnabled { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ApplicationProfile.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ApplicationProfile.cs
new file mode 100644
index 000000000000..4b7ed0d431ce
--- /dev/null
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ApplicationProfile.cs
@@ -0,0 +1,56 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Compute.Models
+{
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Contains the list of gallery applications that should be made available
+ /// to the VM/VMSS
+ ///
+ public partial class ApplicationProfile
+ {
+ ///
+ /// Initializes a new instance of the ApplicationProfile class.
+ ///
+ public ApplicationProfile()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ApplicationProfile class.
+ ///
+ /// Specifies the gallery
+ /// applications that should be made available to the VM/VMSS
+ public ApplicationProfile(IList galleryApplications = default(IList))
+ {
+ GalleryApplications = galleryApplications;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets specifies the gallery applications that should be made
+ /// available to the VM/VMSS
+ ///
+ [JsonProperty(PropertyName = "galleryApplications")]
+ public IList GalleryApplications { get; set; }
+
+ }
+}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ExtendedLocationType.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ExtendedLocationType.cs
new file mode 100644
index 000000000000..ea68e664029e
--- /dev/null
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ExtendedLocationType.cs
@@ -0,0 +1,21 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Compute.Models
+{
+
+ ///
+ /// Defines values for ExtendedLocationType.
+ ///
+ public static class ExtendedLocationType
+ {
+ public const string EdgeZone = "EdgeZone";
+ }
+}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Gallery.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Gallery.cs
index df6b6a84056c..cfb521c6d19c 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Gallery.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Gallery.cs
@@ -44,13 +44,14 @@ public Gallery()
/// Gallery resource. This property is updatable.
/// The current state of the
/// gallery.
- public Gallery(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string description = default(string), GalleryIdentifier identifier = default(GalleryIdentifier), string provisioningState = default(string), SharingProfile sharingProfile = default(SharingProfile))
+ public Gallery(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string description = default(string), GalleryIdentifier identifier = default(GalleryIdentifier), string provisioningState = default(string), SharingProfile sharingProfile = default(SharingProfile), SoftDeletePolicy softDeletePolicy = default(SoftDeletePolicy))
: base(location, id, name, type, tags)
{
Description = description;
Identifier = identifier;
ProvisioningState = provisioningState;
SharingProfile = sharingProfile;
+ SoftDeletePolicy = softDeletePolicy;
CustomInit();
}
@@ -87,6 +88,11 @@ public Gallery()
[JsonProperty(PropertyName = "properties.sharingProfile")]
public SharingProfile SharingProfile { get; set; }
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.softDeletePolicy")]
+ public SoftDeletePolicy SoftDeletePolicy { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationVersionPublishingProfile.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationVersionPublishingProfile.cs
index 90a4c08c1c33..d98374295e37 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationVersionPublishingProfile.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationVersionPublishingProfile.cs
@@ -53,10 +53,13 @@ public GalleryApplicationVersionPublishingProfile()
/// to be used to store the image. This property is not updatable.
/// Possible values include: 'Standard_LRS', 'Standard_ZRS',
/// 'Premium_LRS'
+ /// Optional parameter which specifies
+ /// the mode to be used for replication. This property is not
+ /// updatable. Possible values include: 'Full', 'Shallow'
/// Optional. Whether or not this
/// application reports health.
- public GalleryApplicationVersionPublishingProfile(UserArtifactSource source, IList targetRegions = default(IList), int? replicaCount = default(int?), bool? excludeFromLatest = default(bool?), System.DateTime? publishedDate = default(System.DateTime?), System.DateTime? endOfLifeDate = default(System.DateTime?), string storageAccountType = default(string), UserArtifactManage manageActions = default(UserArtifactManage), bool? enableHealthCheck = default(bool?))
- : base(targetRegions, replicaCount, excludeFromLatest, publishedDate, endOfLifeDate, storageAccountType)
+ public GalleryApplicationVersionPublishingProfile(UserArtifactSource source, IList targetRegions = default(IList), int? replicaCount = default(int?), bool? excludeFromLatest = default(bool?), System.DateTime? publishedDate = default(System.DateTime?), System.DateTime? endOfLifeDate = default(System.DateTime?), string storageAccountType = default(string), string replicationMode = default(string), UserArtifactManage manageActions = default(UserArtifactManage), bool? enableHealthCheck = default(bool?))
+ : base(targetRegions, replicaCount, excludeFromLatest, publishedDate, endOfLifeDate, storageAccountType, replicationMode)
{
Source = source;
ManageActions = manageActions;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryArtifactPublishingProfileBase.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryArtifactPublishingProfileBase.cs
index 8f21c927feef..679fc385fc02 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryArtifactPublishingProfileBase.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryArtifactPublishingProfileBase.cs
@@ -52,7 +52,10 @@ public GalleryArtifactPublishingProfileBase()
/// to be used to store the image. This property is not updatable.
/// Possible values include: 'Standard_LRS', 'Standard_ZRS',
/// 'Premium_LRS'
- public GalleryArtifactPublishingProfileBase(IList targetRegions = default(IList), int? replicaCount = default(int?), bool? excludeFromLatest = default(bool?), System.DateTime? publishedDate = default(System.DateTime?), System.DateTime? endOfLifeDate = default(System.DateTime?), string storageAccountType = default(string))
+ /// Optional parameter which specifies
+ /// the mode to be used for replication. This property is not
+ /// updatable. Possible values include: 'Full', 'Shallow'
+ public GalleryArtifactPublishingProfileBase(IList targetRegions = default(IList), int? replicaCount = default(int?), bool? excludeFromLatest = default(bool?), System.DateTime? publishedDate = default(System.DateTime?), System.DateTime? endOfLifeDate = default(System.DateTime?), string storageAccountType = default(string), string replicationMode = default(string))
{
TargetRegions = targetRegions;
ReplicaCount = replicaCount;
@@ -60,6 +63,7 @@ public GalleryArtifactPublishingProfileBase()
PublishedDate = publishedDate;
EndOfLifeDate = endOfLifeDate;
StorageAccountType = storageAccountType;
+ ReplicationMode = replicationMode;
CustomInit();
}
@@ -114,5 +118,13 @@ public GalleryArtifactPublishingProfileBase()
[JsonProperty(PropertyName = "storageAccountType")]
public string StorageAccountType { get; set; }
+ ///
+ /// Gets or sets optional parameter which specifies the mode to be used
+ /// for replication. This property is not updatable. Possible values
+ /// include: 'Full', 'Shallow'
+ ///
+ [JsonProperty(PropertyName = "replicationMode")]
+ public string ReplicationMode { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageVersionPublishingProfile.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageVersionPublishingProfile.cs
index d047e097275a..504d9743d464 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageVersionPublishingProfile.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageVersionPublishingProfile.cs
@@ -51,8 +51,11 @@ public GalleryImageVersionPublishingProfile()
/// to be used to store the image. This property is not updatable.
/// Possible values include: 'Standard_LRS', 'Standard_ZRS',
/// 'Premium_LRS'
- public GalleryImageVersionPublishingProfile(IList targetRegions = default(IList), int? replicaCount = default(int?), bool? excludeFromLatest = default(bool?), System.DateTime? publishedDate = default(System.DateTime?), System.DateTime? endOfLifeDate = default(System.DateTime?), string storageAccountType = default(string))
- : base(targetRegions, replicaCount, excludeFromLatest, publishedDate, endOfLifeDate, storageAccountType)
+ /// Optional parameter which specifies
+ /// the mode to be used for replication. This property is not
+ /// updatable. Possible values include: 'Full', 'Shallow'
+ public GalleryImageVersionPublishingProfile(IList targetRegions = default(IList), int? replicaCount = default(int?), bool? excludeFromLatest = default(bool?), System.DateTime? publishedDate = default(System.DateTime?), System.DateTime? endOfLifeDate = default(System.DateTime?), string storageAccountType = default(string), string replicationMode = default(string))
+ : base(targetRegions, replicaCount, excludeFromLatest, publishedDate, endOfLifeDate, storageAccountType, replicationMode)
{
CustomInit();
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryUpdate.cs
index 23ea5f90f3c5..2e4d3f1ec996 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryUpdate.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryUpdate.cs
@@ -43,13 +43,14 @@ public GalleryUpdate()
/// Gallery resource. This property is updatable.
/// The current state of the
/// gallery.
- public GalleryUpdate(string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string description = default(string), GalleryIdentifier identifier = default(GalleryIdentifier), string provisioningState = default(string), SharingProfile sharingProfile = default(SharingProfile))
+ public GalleryUpdate(string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string description = default(string), GalleryIdentifier identifier = default(GalleryIdentifier), string provisioningState = default(string), SharingProfile sharingProfile = default(SharingProfile), SoftDeletePolicy softDeletePolicy = default(SoftDeletePolicy))
: base(id, name, type, tags)
{
Description = description;
Identifier = identifier;
ProvisioningState = provisioningState;
SharingProfile = sharingProfile;
+ SoftDeletePolicy = softDeletePolicy;
CustomInit();
}
@@ -86,5 +87,10 @@ public GalleryUpdate()
[JsonProperty(PropertyName = "properties.sharingProfile")]
public SharingProfile SharingProfile { get; set; }
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.softDeletePolicy")]
+ public SoftDeletePolicy SoftDeletePolicy { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/HardwareProfile.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/HardwareProfile.cs
index 001a324cfe61..bf385781ec1a 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/HardwareProfile.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/HardwareProfile.cs
@@ -95,9 +95,17 @@ public HardwareProfile()
/// 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s',
/// 'Standard_ND12s', 'Standard_ND24s', 'Standard_ND24rs',
/// 'Standard_NV6', 'Standard_NV12', 'Standard_NV24'
- public HardwareProfile(string vmSize = default(string))
+ /// Specifies the properties for
+ /// customizing the size of the virtual machine. Minimum api-version:
+ /// 2021-07-01. <br><br> This feature is still in preview
+ /// mode and is not supported for VirtualMachineScaleSet.
+ /// <br><br> Please follow the instructions in [VM
+ /// Customization](https://aka.ms/vmcustomization) for more
+ /// details.
+ public HardwareProfile(string vmSize = default(string), VMSizeProperties vmSizeProperties = default(VMSizeProperties))
{
VmSize = vmSize;
+ VmSizeProperties = vmSizeProperties;
CustomInit();
}
@@ -179,5 +187,17 @@ public HardwareProfile()
[JsonProperty(PropertyName = "vmSize")]
public string VmSize { get; set; }
+ ///
+ /// Gets or sets specifies the properties for customizing the size of
+ /// the virtual machine. Minimum api-version: 2021-07-01.
+ /// <br><br> This feature is still in
+ /// preview mode and is not supported for VirtualMachineScaleSet.
+ /// <br><br> Please follow the instructions
+ /// in [VM Customization](https://aka.ms/vmcustomization) for more
+ /// details.
+ ///
+ [JsonProperty(PropertyName = "vmSizeProperties")]
+ public VMSizeProperties VmSizeProperties { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageReference.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageReference.cs
index 3face5d033e6..564ade3e0901 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageReference.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageReference.cs
@@ -50,7 +50,10 @@ public ImageReference()
/// version of platform image or marketplace image used to create the
/// virtual machine. This readonly field differs from 'version', only
/// if the value specified in 'version' field is 'latest'.
- public ImageReference(string id = default(string), string publisher = default(string), string offer = default(string), string sku = default(string), string version = default(string), string exactVersion = default(string))
+ /// Specified the shared gallery
+ /// image unique id for vm deployment. This can be fetched from shared
+ /// gallery image GET call.
+ public ImageReference(string id = default(string), string publisher = default(string), string offer = default(string), string sku = default(string), string version = default(string), string exactVersion = default(string), string sharedGalleryImageId = default(string))
: base(id)
{
Publisher = publisher;
@@ -58,6 +61,7 @@ public ImageReference()
Sku = sku;
Version = version;
ExactVersion = exactVersion;
+ SharedGalleryImageId = sharedGalleryImageId;
CustomInit();
}
@@ -106,5 +110,12 @@ public ImageReference()
[JsonProperty(PropertyName = "exactVersion")]
public string ExactVersion { get; private set; }
+ ///
+ /// Gets or sets specified the shared gallery image unique id for vm
+ /// deployment. This can be fetched from shared gallery image GET call.
+ ///
+ [JsonProperty(PropertyName = "sharedGalleryImageId")]
+ public string SharedGalleryImageId { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/OSProfile.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/OSProfile.cs
index 99a0ac8012ae..bdbba365701c 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/OSProfile.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/OSProfile.cs
@@ -92,7 +92,12 @@ public OSProfile()
/// list of supported Linux distributions, see [Linux on Azure-Endorsed
/// Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).
/// Specifies set of certificates that should be
- /// installed onto the virtual machine.
+ /// installed onto the virtual machine. To install certificates on a
+ /// virtual machine it is recommended to use the [Azure Key Vault
+ /// virtual machine extension for
+ /// Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
+ /// or the [Azure Key Vault virtual machine extension for
+ /// Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
/// Specifies whether extension
/// operations should be allowed on the virtual machine.
/// <br><br>This may only be set to False when no
@@ -218,7 +223,12 @@ public OSProfile()
///
/// Gets or sets specifies set of certificates that should be installed
- /// onto the virtual machine.
+ /// onto the virtual machine. To install certificates on a virtual
+ /// machine it is recommended to use the [Azure Key Vault virtual
+ /// machine extension for
+ /// Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
+ /// or the [Azure Key Vault virtual machine extension for
+ /// Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
///
[JsonProperty(PropertyName = "secrets")]
public IList Secrets { get; set; }
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ReplicationMode.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ReplicationMode.cs
new file mode 100644
index 000000000000..dda2287ee863
--- /dev/null
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ReplicationMode.cs
@@ -0,0 +1,22 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Compute.Models
+{
+
+ ///
+ /// Defines values for ReplicationMode.
+ ///
+ public static class ReplicationMode
+ {
+ public const string Full = "Full";
+ public const string Shallow = "Shallow";
+ }
+}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ResourceSkuLocationInfo.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ResourceSkuLocationInfo.cs
index 2c487527fc18..827efc95d4ed 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ResourceSkuLocationInfo.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ResourceSkuLocationInfo.cs
@@ -15,6 +15,9 @@ namespace Microsoft.Azure.Management.Compute.Models
using System.Collections.Generic;
using System.Linq;
+ ///
+ /// Describes an available Compute SKU Location Information.
+ ///
public partial class ResourceSkuLocationInfo
{
///
@@ -33,11 +36,17 @@ public ResourceSkuLocationInfo()
/// supported.
/// Details of capabilities available to a
/// SKU in specific zones.
- public ResourceSkuLocationInfo(string location = default(string), IList zones = default(IList), IList zoneDetails = default(IList))
+ /// The names of extended
+ /// locations.
+ /// The type of the extended location. Possible
+ /// values include: 'EdgeZone'
+ public ResourceSkuLocationInfo(string location = default(string), IList zones = default(IList), IList zoneDetails = default(IList), IList extendedLocations = default(IList), string type = default(string))
{
Location = location;
Zones = zones;
ZoneDetails = zoneDetails;
+ ExtendedLocations = extendedLocations;
+ Type = type;
CustomInit();
}
@@ -64,5 +73,18 @@ public ResourceSkuLocationInfo()
[JsonProperty(PropertyName = "zoneDetails")]
public IList ZoneDetails { get; private set; }
+ ///
+ /// Gets the names of extended locations.
+ ///
+ [JsonProperty(PropertyName = "extendedLocations")]
+ public IList ExtendedLocations { get; private set; }
+
+ ///
+ /// Gets the type of the extended location. Possible values include:
+ /// 'EdgeZone'
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; private set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ResourceSkuRestrictionInfo.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ResourceSkuRestrictionInfo.cs
index c3e903799843..a0fc83459405 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ResourceSkuRestrictionInfo.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ResourceSkuRestrictionInfo.cs
@@ -15,6 +15,9 @@ namespace Microsoft.Azure.Management.Compute.Models
using System.Collections.Generic;
using System.Linq;
+ ///
+ /// Describes an available Compute SKU Restriction Information.
+ ///
public partial class ResourceSkuRestrictionInfo
{
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ScaleInPolicy.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ScaleInPolicy.cs
index 894e661e2ff5..8efbc05f8acb 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ScaleInPolicy.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ScaleInPolicy.cs
@@ -51,9 +51,14 @@ public ScaleInPolicy()
/// across zones. Within each zone, the newest virtual machines that
/// are not protected will be chosen for removal.
/// <br><br>
- public ScaleInPolicy(IList rules = default(IList))
+ /// This property allows you to specify if
+ /// virtual machines chosen for removal have to be force deleted when a
+ /// virtual machine scale set is being scaled-in.(Feature in
+ /// Preview)
+ public ScaleInPolicy(IList rules = default(IList), bool? forceDeletion = default(bool?))
{
Rules = rules;
+ ForceDeletion = forceDeletion;
CustomInit();
}
@@ -88,5 +93,13 @@ public ScaleInPolicy()
[JsonProperty(PropertyName = "rules")]
public IList Rules { get; set; }
+ ///
+ /// Gets or sets this property allows you to specify if virtual
+ /// machines chosen for removal have to be force deleted when a virtual
+ /// machine scale set is being scaled-in.(Feature in Preview)
+ ///
+ [JsonProperty(PropertyName = "forceDeletion")]
+ public bool? ForceDeletion { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SoftDeletePolicy.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SoftDeletePolicy.cs
new file mode 100644
index 000000000000..d0aa93c2b533
--- /dev/null
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SoftDeletePolicy.cs
@@ -0,0 +1,54 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Compute.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Contains information about the soft deletion policy of the gallery.
+ ///
+ public partial class SoftDeletePolicy
+ {
+ ///
+ /// Initializes a new instance of the SoftDeletePolicy class.
+ ///
+ public SoftDeletePolicy()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the SoftDeletePolicy class.
+ ///
+ /// Enables soft-deletion for
+ /// resources in this gallery, allowing them to be recovered within
+ /// retention time.
+ public SoftDeletePolicy(bool? isSoftDeleteEnabled = default(bool?))
+ {
+ IsSoftDeleteEnabled = isSoftDeleteEnabled;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets enables soft-deletion for resources in this gallery,
+ /// allowing them to be recovered within retention time.
+ ///
+ [JsonProperty(PropertyName = "isSoftDeleteEnabled")]
+ public bool? IsSoftDeleteEnabled { get; set; }
+
+ }
+}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VMGalleryApplication.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VMGalleryApplication.cs
new file mode 100644
index 000000000000..ee4b6d8befe0
--- /dev/null
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VMGalleryApplication.cs
@@ -0,0 +1,101 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Compute.Models
+{
+ using Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Specifies the required information to reference a compute gallery
+ /// application version
+ ///
+ public partial class VMGalleryApplication
+ {
+ ///
+ /// Initializes a new instance of the VMGalleryApplication class.
+ ///
+ public VMGalleryApplication()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the VMGalleryApplication class.
+ ///
+ /// Specifies the
+ /// GalleryApplicationVersion resource id on the form of
+ /// /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
+ /// Optional, Specifies a passthrough value for more
+ /// generic context.
+ /// Optional, Specifies the order in which the
+ /// packages have to be installed
+ /// Optional, Specifies the uri to
+ /// an azure blob that will replace the default configuration for the
+ /// package if provided
+ public VMGalleryApplication(string packageReferenceId, string tags = default(string), int? order = default(int?), string configurationReference = default(string))
+ {
+ Tags = tags;
+ Order = order;
+ PackageReferenceId = packageReferenceId;
+ ConfigurationReference = configurationReference;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets optional, Specifies a passthrough value for more
+ /// generic context.
+ ///
+ [JsonProperty(PropertyName = "tags")]
+ public string Tags { get; set; }
+
+ ///
+ /// Gets or sets optional, Specifies the order in which the packages
+ /// have to be installed
+ ///
+ [JsonProperty(PropertyName = "order")]
+ public int? Order { get; set; }
+
+ ///
+ /// Gets or sets specifies the GalleryApplicationVersion resource id on
+ /// the form of
+ /// /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
+ ///
+ [JsonProperty(PropertyName = "packageReferenceId")]
+ public string PackageReferenceId { get; set; }
+
+ ///
+ /// Gets or sets optional, Specifies the uri to an azure blob that will
+ /// replace the default configuration for the package if provided
+ ///
+ [JsonProperty(PropertyName = "configurationReference")]
+ public string ConfigurationReference { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (PackageReferenceId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "PackageReferenceId");
+ }
+ }
+ }
+}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VMSizeProperties.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VMSizeProperties.cs
new file mode 100644
index 000000000000..5d888766636c
--- /dev/null
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VMSizeProperties.cs
@@ -0,0 +1,85 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Compute.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Specifies VM Size Property settings on the virtual machine.
+ ///
+ public partial class VMSizeProperties
+ {
+ ///
+ /// Initializes a new instance of the VMSizeProperties class.
+ ///
+ public VMSizeProperties()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the VMSizeProperties class.
+ ///
+ /// Specifies the number of vCPUs
+ /// available for the VM. <br><br> When this property is
+ /// not specified in the request body the default behavior is to set it
+ /// to the value of vCPUs available for that VM size exposed in api
+ /// response of [List all available virtual machine sizes in a
+ /// region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)
+ /// .
+ /// Specifies the vCPU to physical core
+ /// ratio. <br><br> When this property is not specified in
+ /// the request body the default behavior is set to the value of
+ /// vCPUsPerCore for the VM Size exposed in api response of [List all
+ /// available virtual machine sizes in a
+ /// region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)
+ /// <br><br> Setting this property to 1 also means that
+ /// hyper-threading is disabled.
+ public VMSizeProperties(int? vCPUsAvailable = default(int?), int? vCPUsPerCore = default(int?))
+ {
+ VCPUsAvailable = vCPUsAvailable;
+ VCPUsPerCore = vCPUsPerCore;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets specifies the number of vCPUs available for the VM.
+ /// <br><br> When this property is not
+ /// specified in the request body the default behavior is to set it to
+ /// the value of vCPUs available for that VM size exposed in api
+ /// response of [List all available virtual machine sizes in a
+ /// region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)
+ /// .
+ ///
+ [JsonProperty(PropertyName = "vCPUsAvailable")]
+ public int? VCPUsAvailable { get; set; }
+
+ ///
+ /// Gets or sets specifies the vCPU to physical core ratio.
+ /// <br><br> When this property is not
+ /// specified in the request body the default behavior is set to the
+ /// value of vCPUsPerCore for the VM Size exposed in api response of
+ /// [List all available virtual machine sizes in a
+ /// region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)
+ /// <br><br> Setting this property to 1
+ /// also means that hyper-threading is disabled.
+ ///
+ [JsonProperty(PropertyName = "vCPUsPerCore")]
+ public int? VCPUsPerCore { get; set; }
+
+ }
+}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VaultCertificate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VaultCertificate.cs
index 287aa0c56b4c..91655c48404b 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VaultCertificate.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VaultCertificate.cs
@@ -39,7 +39,12 @@ public VaultCertificate()
/// <br><br> {<br>
/// "data":"<Base64-encoded-certificate>",<br>
/// "dataType":"pfx",<br>
- /// "password":"<pfx-file-password>"<br>}
+ /// "password":"<pfx-file-password>"<br>} <br> To
+ /// install certificates on a virtual machine it is recommended to use
+ /// the [Azure Key Vault virtual machine extension for
+ /// Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
+ /// or the [Azure Key Vault virtual machine extension for
+ /// Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
/// For Windows VMs, specifies the
/// certificate store on the Virtual Machine to which the certificate
/// should be added. The specified certificate store is implicitly in
@@ -71,6 +76,12 @@ public VaultCertificate()
/// "data":"<Base64-encoded-certificate>",<br>
/// "dataType":"pfx",<br>
/// "password":"<pfx-file-password>"<br>}
+ /// <br> To install certificates on a virtual machine it
+ /// is recommended to use the [Azure Key Vault virtual machine
+ /// extension for
+ /// Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
+ /// or the [Azure Key Vault virtual machine extension for
+ /// Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
///
[JsonProperty(PropertyName = "certificateUrl")]
public string CertificateUrl { get; set; }
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachine.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachine.cs
index bb853a2c3188..77427d65be44 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachine.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachine.cs
@@ -158,6 +158,8 @@ public VirtualMachine()
/// Specifies information about the
/// capacity reservation that is used to allocate virtual machine.
/// <br><br>Minimum api-version: 2021-04-01.
+ /// Specifies the gallery applications
+ /// that should be made available to the VM/VMSS
/// The virtual machine child extension
/// resources.
/// The identity of the virtual machine, if
@@ -165,7 +167,7 @@ public VirtualMachine()
/// The virtual machine zones.
/// The extended location of the Virtual
/// Machine.
- public VirtualMachine(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Plan plan = default(Plan), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), SecurityProfile securityProfile = default(SecurityProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), SubResource availabilitySet = default(SubResource), SubResource virtualMachineScaleSet = default(SubResource), SubResource proximityPlacementGroup = default(SubResource), string priority = default(string), string evictionPolicy = default(string), BillingProfile billingProfile = default(BillingProfile), SubResource host = default(SubResource), SubResource hostGroup = default(SubResource), string provisioningState = default(string), VirtualMachineInstanceView instanceView = default(VirtualMachineInstanceView), string licenseType = default(string), string vmId = default(string), string extensionsTimeBudget = default(string), int? platformFaultDomain = default(int?), ScheduledEventsProfile scheduledEventsProfile = default(ScheduledEventsProfile), string userData = default(string), CapacityReservationProfile capacityReservation = default(CapacityReservationProfile), IList resources = default(IList), VirtualMachineIdentity identity = default(VirtualMachineIdentity), IList zones = default(IList), ExtendedLocation extendedLocation = default(ExtendedLocation))
+ public VirtualMachine(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Plan plan = default(Plan), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), SecurityProfile securityProfile = default(SecurityProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), SubResource availabilitySet = default(SubResource), SubResource virtualMachineScaleSet = default(SubResource), SubResource proximityPlacementGroup = default(SubResource), string priority = default(string), string evictionPolicy = default(string), BillingProfile billingProfile = default(BillingProfile), SubResource host = default(SubResource), SubResource hostGroup = default(SubResource), string provisioningState = default(string), VirtualMachineInstanceView instanceView = default(VirtualMachineInstanceView), string licenseType = default(string), string vmId = default(string), string extensionsTimeBudget = default(string), int? platformFaultDomain = default(int?), ScheduledEventsProfile scheduledEventsProfile = default(ScheduledEventsProfile), string userData = default(string), CapacityReservationProfile capacityReservation = default(CapacityReservationProfile), ApplicationProfile applicationProfile = default(ApplicationProfile), IList resources = default(IList), VirtualMachineIdentity identity = default(VirtualMachineIdentity), IList zones = default(IList), ExtendedLocation extendedLocation = default(ExtendedLocation))
: base(location, id, name, type, tags)
{
Plan = plan;
@@ -193,6 +195,7 @@ public VirtualMachine()
ScheduledEventsProfile = scheduledEventsProfile;
UserData = userData;
CapacityReservation = capacityReservation;
+ ApplicationProfile = applicationProfile;
Resources = resources;
Identity = identity;
Zones = zones;
@@ -455,6 +458,13 @@ public VirtualMachine()
[JsonProperty(PropertyName = "properties.capacityReservation")]
public CapacityReservationProfile CapacityReservation { get; set; }
+ ///
+ /// Gets or sets specifies the gallery applications that should be made
+ /// available to the VM/VMSS
+ ///
+ [JsonProperty(PropertyName = "properties.applicationProfile")]
+ public ApplicationProfile ApplicationProfile { get; set; }
+
///
/// Gets the virtual machine child extension resources.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtension.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtension.cs
index 59623078abb0..a760052cbaa7 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtension.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtension.cs
@@ -65,7 +65,11 @@ public VirtualMachineExtension()
/// appears in the response.
/// The virtual machine extension instance
/// view.
- public VirtualMachineExtension(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string forceUpdateTag = default(string), string publisher = default(string), string virtualMachineExtensionType = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object), string provisioningState = default(string), VirtualMachineExtensionInstanceView instanceView = default(VirtualMachineExtensionInstanceView))
+ /// Indicates whether failures stemming
+ /// from the extension will be suppressed (Operational failures such as
+ /// not connecting to the VM will not be suppressed regardless of this
+ /// value). The default is false.
+ public VirtualMachineExtension(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string forceUpdateTag = default(string), string publisher = default(string), string virtualMachineExtensionType = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object), string provisioningState = default(string), VirtualMachineExtensionInstanceView instanceView = default(VirtualMachineExtensionInstanceView), bool? suppressFailures = default(bool?))
: base(location, id, name, type, tags)
{
ForceUpdateTag = forceUpdateTag;
@@ -78,6 +82,7 @@ public VirtualMachineExtension()
ProtectedSettings = protectedSettings;
ProvisioningState = provisioningState;
InstanceView = instanceView;
+ SuppressFailures = suppressFailures;
CustomInit();
}
@@ -154,6 +159,15 @@ public VirtualMachineExtension()
[JsonProperty(PropertyName = "properties.instanceView")]
public VirtualMachineExtensionInstanceView InstanceView { get; set; }
+ ///
+ /// Gets or sets indicates whether failures stemming from the extension
+ /// will be suppressed (Operational failures such as not connecting to
+ /// the VM will not be suppressed regardless of this value). The
+ /// default is false.
+ ///
+ [JsonProperty(PropertyName = "properties.suppressFailures")]
+ public bool? SuppressFailures { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtensionUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtensionUpdate.cs
index 6c174a0af75f..3e7d76f71caf 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtensionUpdate.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtensionUpdate.cs
@@ -59,7 +59,11 @@ public VirtualMachineExtensionUpdate()
/// The extension can contain either
/// protectedSettings or protectedSettingsFromKeyVault or no protected
/// settings at all.
- public VirtualMachineExtensionUpdate(IDictionary tags = default(IDictionary), string forceUpdateTag = default(string), string publisher = default(string), string type = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object))
+ /// Indicates whether failures stemming
+ /// from the extension will be suppressed (Operational failures such as
+ /// not connecting to the VM will not be suppressed regardless of this
+ /// value). The default is false.
+ public VirtualMachineExtensionUpdate(IDictionary tags = default(IDictionary), string forceUpdateTag = default(string), string publisher = default(string), string type = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object), bool? suppressFailures = default(bool?))
: base(tags)
{
ForceUpdateTag = forceUpdateTag;
@@ -70,6 +74,7 @@ public VirtualMachineExtensionUpdate()
EnableAutomaticUpgrade = enableAutomaticUpgrade;
Settings = settings;
ProtectedSettings = protectedSettings;
+ SuppressFailures = suppressFailures;
CustomInit();
}
@@ -134,5 +139,14 @@ public VirtualMachineExtensionUpdate()
[JsonProperty(PropertyName = "properties.protectedSettings")]
public object ProtectedSettings { get; set; }
+ ///
+ /// Gets or sets indicates whether failures stemming from the extension
+ /// will be suppressed (Operational failures such as not connecting to
+ /// the VM will not be suppressed regardless of this value). The
+ /// default is false.
+ ///
+ [JsonProperty(PropertyName = "properties.suppressFailures")]
+ public bool? SuppressFailures { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineInstallPatchesParameters.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineInstallPatchesParameters.cs
index e7170d046d5b..8b461cf4c849 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineInstallPatchesParameters.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineInstallPatchesParameters.cs
@@ -32,17 +32,17 @@ public VirtualMachineInstallPatchesParameters()
/// Initializes a new instance of the
/// VirtualMachineInstallPatchesParameters class.
///
- /// Specifies the maximum amount of time
- /// that the operation will run. It must be an ISO 8601-compliant
- /// duration string such as PT4H (4 hours)
/// Defines when it is acceptable to reboot
/// a VM during a software update operation. Possible values include:
/// 'IfRequired', 'Never', 'Always'
+ /// Specifies the maximum amount of time
+ /// that the operation will run. It must be an ISO 8601-compliant
+ /// duration string such as PT4H (4 hours)
/// Input for InstallPatches on a
/// Windows VM, as directly received by the API
/// Input for InstallPatches on a Linux
/// VM, as directly received by the API
- public VirtualMachineInstallPatchesParameters(string maximumDuration, string rebootSetting, WindowsParameters windowsParameters = default(WindowsParameters), LinuxParameters linuxParameters = default(LinuxParameters))
+ public VirtualMachineInstallPatchesParameters(string rebootSetting, string maximumDuration = default(string), WindowsParameters windowsParameters = default(WindowsParameters), LinuxParameters linuxParameters = default(LinuxParameters))
{
MaximumDuration = maximumDuration;
RebootSetting = rebootSetting;
@@ -94,10 +94,6 @@ public VirtualMachineInstallPatchesParameters()
///
public virtual void Validate()
{
- if (MaximumDuration == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MaximumDuration");
- }
if (RebootSetting == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "RebootSetting");
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSet.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSet.cs
index 1626d38b4175..3254d8ae1e4d 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSet.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSet.cs
@@ -69,8 +69,11 @@ public VirtualMachineScaleSet()
/// However, if singlePlacementGroup is false, it may not be modified
/// to true.
/// Whether to force strictly even Virtual
- /// Machine distribution cross x-zones in case there is zone
- /// outage.
+ /// Machine distribution cross x-zones in case there is zone outage.
+ /// zoneBalance property can only be set if the zones property of the
+ /// scale set contains more than one zone. If there are no zones or
+ /// only one zone specified, then zoneBalance property should not be
+ /// set.
/// Fault Domain count for each
/// placement group.
/// Specifies information about
@@ -85,9 +88,9 @@ public VirtualMachineScaleSet()
/// Virtual Machine Scale Set. For instance: whether the Virtual
/// Machines have the capability to support attaching managed data
/// disks with UltraSSD_LRS storage account type.
- /// Specifies the scale-in policy that
- /// decides which virtual machines are chosen for removal when a
- /// Virtual Machine Scale Set is scaled-in.
+ /// Specifies the policies applied when
+ /// scaling in Virtual Machines in the Virtual Machine Scale
+ /// Set.
/// Specifies the orchestration mode
/// for the virtual machine scale set. Possible values include:
/// 'Uniform', 'Flexible'
@@ -209,6 +212,10 @@ public VirtualMachineScaleSet()
///
/// Gets or sets whether to force strictly even Virtual Machine
/// distribution cross x-zones in case there is zone outage.
+ /// zoneBalance property can only be set if the zones property of the
+ /// scale set contains more than one zone. If there are no zones or
+ /// only one zone specified, then zoneBalance property should not be
+ /// set.
///
[JsonProperty(PropertyName = "properties.zoneBalance")]
public bool? ZoneBalance { get; set; }
@@ -248,9 +255,8 @@ public VirtualMachineScaleSet()
public AdditionalCapabilities AdditionalCapabilities { get; set; }
///
- /// Gets or sets specifies the scale-in policy that decides which
- /// virtual machines are chosen for removal when a Virtual Machine
- /// Scale Set is scaled-in.
+ /// Gets or sets specifies the policies applied when scaling in Virtual
+ /// Machines in the Virtual Machine Scale Set.
///
[JsonProperty(PropertyName = "properties.scaleInPolicy")]
public ScaleInPolicy ScaleInPolicy { get; set; }
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetExtension.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetExtension.cs
index b3335850a43e..ee8b08c29649 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetExtension.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetExtension.cs
@@ -66,7 +66,11 @@ public VirtualMachineScaleSetExtension()
/// appears in the response.
/// Collection of extension
/// names after which this extension needs to be provisioned.
- public VirtualMachineScaleSetExtension(string id = default(string), string name = default(string), string type = default(string), string forceUpdateTag = default(string), string publisher = default(string), string type1 = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object), string provisioningState = default(string), IList provisionAfterExtensions = default(IList))
+ /// Indicates whether failures stemming
+ /// from the extension will be suppressed (Operational failures such as
+ /// not connecting to the VM will not be suppressed regardless of this
+ /// value). The default is false.
+ public VirtualMachineScaleSetExtension(string id = default(string), string name = default(string), string type = default(string), string forceUpdateTag = default(string), string publisher = default(string), string type1 = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object), string provisioningState = default(string), IList provisionAfterExtensions = default(IList), bool? suppressFailures = default(bool?))
: base(id)
{
Name = name;
@@ -81,6 +85,7 @@ public VirtualMachineScaleSetExtension()
ProtectedSettings = protectedSettings;
ProvisioningState = provisioningState;
ProvisionAfterExtensions = provisionAfterExtensions;
+ SuppressFailures = suppressFailures;
CustomInit();
}
@@ -171,5 +176,14 @@ public VirtualMachineScaleSetExtension()
[JsonProperty(PropertyName = "properties.provisionAfterExtensions")]
public IList ProvisionAfterExtensions { get; set; }
+ ///
+ /// Gets or sets indicates whether failures stemming from the extension
+ /// will be suppressed (Operational failures such as not connecting to
+ /// the VM will not be suppressed regardless of this value). The
+ /// default is false.
+ ///
+ [JsonProperty(PropertyName = "properties.suppressFailures")]
+ public bool? SuppressFailures { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetExtensionUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetExtensionUpdate.cs
index 02b6167f5f7d..249442c28882 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetExtensionUpdate.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetExtensionUpdate.cs
@@ -66,7 +66,11 @@ public VirtualMachineScaleSetExtensionUpdate()
/// appears in the response.
/// Collection of extension
/// names after which this extension needs to be provisioned.
- public VirtualMachineScaleSetExtensionUpdate(string id = default(string), string name = default(string), string type = default(string), string forceUpdateTag = default(string), string publisher = default(string), string type1 = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object), string provisioningState = default(string), IList provisionAfterExtensions = default(IList))
+ /// Indicates whether failures stemming
+ /// from the extension will be suppressed (Operational failures such as
+ /// not connecting to the VM will not be suppressed regardless of this
+ /// value). The default is false.
+ public VirtualMachineScaleSetExtensionUpdate(string id = default(string), string name = default(string), string type = default(string), string forceUpdateTag = default(string), string publisher = default(string), string type1 = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object), string provisioningState = default(string), IList provisionAfterExtensions = default(IList), bool? suppressFailures = default(bool?))
: base(id)
{
Name = name;
@@ -81,6 +85,7 @@ public VirtualMachineScaleSetExtensionUpdate()
ProtectedSettings = protectedSettings;
ProvisioningState = provisioningState;
ProvisionAfterExtensions = provisionAfterExtensions;
+ SuppressFailures = suppressFailures;
CustomInit();
}
@@ -171,5 +176,14 @@ public VirtualMachineScaleSetExtensionUpdate()
[JsonProperty(PropertyName = "properties.provisionAfterExtensions")]
public IList ProvisionAfterExtensions { get; set; }
+ ///
+ /// Gets or sets indicates whether failures stemming from the extension
+ /// will be suppressed (Operational failures such as not connecting to
+ /// the VM will not be suppressed regardless of this value). The
+ /// default is false.
+ ///
+ [JsonProperty(PropertyName = "properties.suppressFailures")]
+ public bool? SuppressFailures { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetOSProfile.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetOSProfile.cs
index 9e3df64e3fc6..d2079c5f7ab8 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetOSProfile.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetOSProfile.cs
@@ -80,7 +80,12 @@ public VirtualMachineScaleSetOSProfile()
/// list of supported Linux distributions, see [Linux on Azure-Endorsed
/// Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).
/// Specifies set of certificates that should be
- /// installed onto the virtual machines in the scale set.
+ /// installed onto the virtual machines in the scale set. To install
+ /// certificates on a virtual machine it is recommended to use the
+ /// [Azure Key Vault virtual machine extension for
+ /// Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
+ /// or the [Azure Key Vault virtual machine extension for
+ /// Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
public VirtualMachineScaleSetOSProfile(string computerNamePrefix = default(string), string adminUsername = default(string), string adminPassword = default(string), string customData = default(string), WindowsConfiguration windowsConfiguration = default(WindowsConfiguration), LinuxConfiguration linuxConfiguration = default(LinuxConfiguration), IList secrets = default(IList))
{
ComputerNamePrefix = computerNamePrefix;
@@ -180,7 +185,12 @@ public VirtualMachineScaleSetOSProfile()
///
/// Gets or sets specifies set of certificates that should be installed
- /// onto the virtual machines in the scale set.
+ /// onto the virtual machines in the scale set. To install certificates
+ /// on a virtual machine it is recommended to use the [Azure Key Vault
+ /// virtual machine extension for
+ /// Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
+ /// or the [Azure Key Vault virtual machine extension for
+ /// Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
///
[JsonProperty(PropertyName = "secrets")]
public IList Secrets { get; set; }
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetUpdate.cs
index c03a3715a377..cd463e053869 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetUpdate.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetUpdate.cs
@@ -62,9 +62,9 @@ public VirtualMachineScaleSetUpdate()
/// Virtual Machine Scale Set. For instance: whether the Virtual
/// Machines have the capability to support attaching managed data
/// disks with UltraSSD_LRS storage account type.
- /// Specifies the scale-in policy that
- /// decides which virtual machines are chosen for removal when a
- /// Virtual Machine Scale Set is scaled-in.
+ /// Specifies the policies applied when
+ /// scaling in Virtual Machines in the Virtual Machine Scale
+ /// Set.
/// Specifies information about
/// the proximity placement group that the virtual machine scale set
/// should be assigned to. <br><br>Minimum api-version:
@@ -161,9 +161,8 @@ public VirtualMachineScaleSetUpdate()
public AdditionalCapabilities AdditionalCapabilities { get; set; }
///
- /// Gets or sets specifies the scale-in policy that decides which
- /// virtual machines are chosen for removal when a Virtual Machine
- /// Scale Set is scaled-in.
+ /// Gets or sets specifies the policies applied when scaling in Virtual
+ /// Machines in the Virtual Machine Scale Set.
///
[JsonProperty(PropertyName = "properties.scaleInPolicy")]
public ScaleInPolicy ScaleInPolicy { get; set; }
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMExtension.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMExtension.cs
index 06226939c7c2..2d1b34907402 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMExtension.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMExtension.cs
@@ -63,7 +63,11 @@ public VirtualMachineScaleSetVMExtension()
/// appears in the response.
/// The virtual machine extension instance
/// view.
- public VirtualMachineScaleSetVMExtension(string id = default(string), string name = default(string), string type = default(string), string forceUpdateTag = default(string), string publisher = default(string), string type1 = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object), string provisioningState = default(string), VirtualMachineExtensionInstanceView instanceView = default(VirtualMachineExtensionInstanceView))
+ /// Indicates whether failures stemming
+ /// from the extension will be suppressed (Operational failures such as
+ /// not connecting to the VM will not be suppressed regardless of this
+ /// value). The default is false.
+ public VirtualMachineScaleSetVMExtension(string id = default(string), string name = default(string), string type = default(string), string forceUpdateTag = default(string), string publisher = default(string), string type1 = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object), string provisioningState = default(string), VirtualMachineExtensionInstanceView instanceView = default(VirtualMachineExtensionInstanceView), bool? suppressFailures = default(bool?))
: base(id)
{
Name = name;
@@ -78,6 +82,7 @@ public VirtualMachineScaleSetVMExtension()
ProtectedSettings = protectedSettings;
ProvisioningState = provisioningState;
InstanceView = instanceView;
+ SuppressFailures = suppressFailures;
CustomInit();
}
@@ -166,5 +171,14 @@ public VirtualMachineScaleSetVMExtension()
[JsonProperty(PropertyName = "properties.instanceView")]
public VirtualMachineExtensionInstanceView InstanceView { get; set; }
+ ///
+ /// Gets or sets indicates whether failures stemming from the extension
+ /// will be suppressed (Operational failures such as not connecting to
+ /// the VM will not be suppressed regardless of this value). The
+ /// default is false.
+ ///
+ [JsonProperty(PropertyName = "properties.suppressFailures")]
+ public bool? SuppressFailures { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMExtensionUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMExtensionUpdate.cs
index 16cf7368378f..fbf9ed439e64 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMExtensionUpdate.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMExtensionUpdate.cs
@@ -59,7 +59,11 @@ public VirtualMachineScaleSetVMExtensionUpdate()
/// The extension can contain either
/// protectedSettings or protectedSettingsFromKeyVault or no protected
/// settings at all.
- public VirtualMachineScaleSetVMExtensionUpdate(string id = default(string), string name = default(string), string type = default(string), string forceUpdateTag = default(string), string publisher = default(string), string type1 = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object))
+ /// Indicates whether failures stemming
+ /// from the extension will be suppressed (Operational failures such as
+ /// not connecting to the VM will not be suppressed regardless of this
+ /// value). The default is false.
+ public VirtualMachineScaleSetVMExtensionUpdate(string id = default(string), string name = default(string), string type = default(string), string forceUpdateTag = default(string), string publisher = default(string), string type1 = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), object settings = default(object), object protectedSettings = default(object), bool? suppressFailures = default(bool?))
: base(id)
{
Name = name;
@@ -72,6 +76,7 @@ public VirtualMachineScaleSetVMExtensionUpdate()
EnableAutomaticUpgrade = enableAutomaticUpgrade;
Settings = settings;
ProtectedSettings = protectedSettings;
+ SuppressFailures = suppressFailures;
CustomInit();
}
@@ -148,5 +153,14 @@ public VirtualMachineScaleSetVMExtensionUpdate()
[JsonProperty(PropertyName = "properties.protectedSettings")]
public object ProtectedSettings { get; set; }
+ ///
+ /// Gets or sets indicates whether failures stemming from the extension
+ /// will be suppressed (Operational failures such as not connecting to
+ /// the VM will not be suppressed regardless of this value). The
+ /// default is false.
+ ///
+ [JsonProperty(PropertyName = "properties.suppressFailures")]
+ public bool? SuppressFailures { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMProfile.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMProfile.cs
index e4b1d0a455cc..c9ad05baf38a 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMProfile.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetVMProfile.cs
@@ -82,7 +82,9 @@ public VirtualMachineScaleSetVMProfile()
/// Specifies the capacity
/// reservation related details of a scale set.
/// <br><br>Minimum api-version: 2021-04-01.
- public VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile osProfile = default(VirtualMachineScaleSetOSProfile), VirtualMachineScaleSetStorageProfile storageProfile = default(VirtualMachineScaleSetStorageProfile), VirtualMachineScaleSetNetworkProfile networkProfile = default(VirtualMachineScaleSetNetworkProfile), SecurityProfile securityProfile = default(SecurityProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), VirtualMachineScaleSetExtensionProfile extensionProfile = default(VirtualMachineScaleSetExtensionProfile), string licenseType = default(string), string priority = default(string), string evictionPolicy = default(string), BillingProfile billingProfile = default(BillingProfile), ScheduledEventsProfile scheduledEventsProfile = default(ScheduledEventsProfile), string userData = default(string), CapacityReservationProfile capacityReservation = default(CapacityReservationProfile))
+ /// Specifies the gallery applications
+ /// that should be made available to the VM/VMSS
+ public VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile osProfile = default(VirtualMachineScaleSetOSProfile), VirtualMachineScaleSetStorageProfile storageProfile = default(VirtualMachineScaleSetStorageProfile), VirtualMachineScaleSetNetworkProfile networkProfile = default(VirtualMachineScaleSetNetworkProfile), SecurityProfile securityProfile = default(SecurityProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), VirtualMachineScaleSetExtensionProfile extensionProfile = default(VirtualMachineScaleSetExtensionProfile), string licenseType = default(string), string priority = default(string), string evictionPolicy = default(string), BillingProfile billingProfile = default(BillingProfile), ScheduledEventsProfile scheduledEventsProfile = default(ScheduledEventsProfile), string userData = default(string), CapacityReservationProfile capacityReservation = default(CapacityReservationProfile), ApplicationProfile applicationProfile = default(ApplicationProfile))
{
OsProfile = osProfile;
StorageProfile = storageProfile;
@@ -97,6 +99,7 @@ public VirtualMachineScaleSetVMProfile()
ScheduledEventsProfile = scheduledEventsProfile;
UserData = userData;
CapacityReservation = capacityReservation;
+ ApplicationProfile = applicationProfile;
CustomInit();
}
@@ -223,6 +226,13 @@ public VirtualMachineScaleSetVMProfile()
[JsonProperty(PropertyName = "capacityReservation")]
public CapacityReservationProfile CapacityReservation { get; set; }
+ ///
+ /// Gets or sets specifies the gallery applications that should be made
+ /// available to the VM/VMSS
+ ///
+ [JsonProperty(PropertyName = "applicationProfile")]
+ public ApplicationProfile ApplicationProfile { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineUpdate.cs
index df24b6db1eb1..dac1a5e776a4 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineUpdate.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineUpdate.cs
@@ -154,10 +154,12 @@ public VirtualMachineUpdate()
/// Specifies information about the
/// capacity reservation that is used to allocate virtual machine.
/// <br><br>Minimum api-version: 2021-04-01.
+ /// Specifies the gallery applications
+ /// that should be made available to the VM/VMSS
/// The identity of the virtual machine, if
/// configured.
/// The virtual machine zones.
- public VirtualMachineUpdate(IDictionary tags = default(IDictionary), Plan plan = default(Plan), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), SecurityProfile securityProfile = default(SecurityProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), SubResource availabilitySet = default(SubResource), SubResource virtualMachineScaleSet = default(SubResource), SubResource proximityPlacementGroup = default(SubResource), string priority = default(string), string evictionPolicy = default(string), BillingProfile billingProfile = default(BillingProfile), SubResource host = default(SubResource), SubResource hostGroup = default(SubResource), string provisioningState = default(string), VirtualMachineInstanceView instanceView = default(VirtualMachineInstanceView), string licenseType = default(string), string vmId = default(string), string extensionsTimeBudget = default(string), int? platformFaultDomain = default(int?), ScheduledEventsProfile scheduledEventsProfile = default(ScheduledEventsProfile), string userData = default(string), CapacityReservationProfile capacityReservation = default(CapacityReservationProfile), VirtualMachineIdentity identity = default(VirtualMachineIdentity), IList zones = default(IList))
+ public VirtualMachineUpdate(IDictionary tags = default(IDictionary), Plan plan = default(Plan), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), SecurityProfile securityProfile = default(SecurityProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), SubResource availabilitySet = default(SubResource), SubResource virtualMachineScaleSet = default(SubResource), SubResource proximityPlacementGroup = default(SubResource), string priority = default(string), string evictionPolicy = default(string), BillingProfile billingProfile = default(BillingProfile), SubResource host = default(SubResource), SubResource hostGroup = default(SubResource), string provisioningState = default(string), VirtualMachineInstanceView instanceView = default(VirtualMachineInstanceView), string licenseType = default(string), string vmId = default(string), string extensionsTimeBudget = default(string), int? platformFaultDomain = default(int?), ScheduledEventsProfile scheduledEventsProfile = default(ScheduledEventsProfile), string userData = default(string), CapacityReservationProfile capacityReservation = default(CapacityReservationProfile), ApplicationProfile applicationProfile = default(ApplicationProfile), VirtualMachineIdentity identity = default(VirtualMachineIdentity), IList zones = default(IList))
: base(tags)
{
Plan = plan;
@@ -185,6 +187,7 @@ public VirtualMachineUpdate()
ScheduledEventsProfile = scheduledEventsProfile;
UserData = userData;
CapacityReservation = capacityReservation;
+ ApplicationProfile = applicationProfile;
Identity = identity;
Zones = zones;
CustomInit();
@@ -445,6 +448,13 @@ public VirtualMachineUpdate()
[JsonProperty(PropertyName = "properties.capacityReservation")]
public CapacityReservationProfile CapacityReservation { get; set; }
+ ///
+ /// Gets or sets specifies the gallery applications that should be made
+ /// available to the VM/VMSS
+ ///
+ [JsonProperty(PropertyName = "properties.applicationProfile")]
+ public ApplicationProfile ApplicationProfile { get; set; }
+
///
/// Gets or sets the identity of the virtual machine, if configured.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/WinRMListener.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/WinRMListener.cs
index 9f7135a0e8cf..94f259168a04 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/WinRMListener.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/WinRMListener.cs
@@ -42,7 +42,12 @@ public WinRMListener()
/// <br><br> {<br>
/// "data":"<Base64-encoded-certificate>",<br>
/// "dataType":"pfx",<br>
- /// "password":"<pfx-file-password>"<br>}
+ /// "password":"<pfx-file-password>"<br>} <br> To
+ /// install certificates on a virtual machine it is recommended to use
+ /// the [Azure Key Vault virtual machine extension for
+ /// Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
+ /// or the [Azure Key Vault virtual machine extension for
+ /// Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
public WinRMListener(ProtocolTypes? protocol = default(ProtocolTypes?), string certificateUrl = default(string))
{
Protocol = protocol;
@@ -75,6 +80,12 @@ public WinRMListener()
/// "data":"<Base64-encoded-certificate>",<br>
/// "dataType":"pfx",<br>
/// "password":"<pfx-file-password>"<br>}
+ /// <br> To install certificates on a virtual machine it
+ /// is recommended to use the [Azure Key Vault virtual machine
+ /// extension for
+ /// Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
+ /// or the [Azure Key Vault virtual machine extension for
+ /// Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
///
[JsonProperty(PropertyName = "certificateUrl")]
public string CertificateUrl { get; set; }
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Operations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Operations.cs
index 705305bf9027..94bd08474b5e 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Operations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Operations.cs
@@ -70,7 +70,7 @@ internal Operations(ComputeManagementClient client)
///
public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ProximityPlacementGroupsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ProximityPlacementGroupsOperations.cs
index 8e82625fe60a..232fb1b06887 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ProximityPlacementGroupsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ProximityPlacementGroupsOperations.cs
@@ -105,7 +105,7 @@ internal ProximityPlacementGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -327,7 +327,7 @@ internal ProximityPlacementGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
ProximityPlacementGroupUpdate parameters = new ProximityPlacementGroupUpdate();
if (tags != null)
{
@@ -530,7 +530,7 @@ internal ProximityPlacementGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -710,7 +710,7 @@ internal ProximityPlacementGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -895,7 +895,7 @@ internal ProximityPlacementGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1078,7 +1078,7 @@ internal ProximityPlacementGroupsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ResourceSkusOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ResourceSkusOperations.cs
index bf945fdc2bef..82ca514a3eba 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ResourceSkusOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ResourceSkusOperations.cs
@@ -57,6 +57,9 @@ internal ResourceSkusOperations(ComputeManagementClient client)
/// The filter to apply on the operation. Only **location** filter is supported
/// currently.
///
+ ///
+ /// To Include Extended Locations information or not in the response.
+ ///
///
/// Headers that will be added to request.
///
@@ -78,13 +81,13 @@ internal ResourceSkusOperations(ComputeManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task>> ListWithHttpMessagesAsync(string filter = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task>> ListWithHttpMessagesAsync(string filter = default(string), string includeExtendedLocations = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2019-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -94,6 +97,7 @@ internal ResourceSkusOperations(ComputeManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("filter", filter);
+ tracingParameters.Add("includeExtendedLocations", includeExtendedLocations);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
}
@@ -110,6 +114,10 @@ internal ResourceSkusOperations(ComputeManagementClient client)
{
_queryParameters.Add(string.Format("$filter={0}", System.Uri.EscapeDataString(filter)));
}
+ if (includeExtendedLocations != null)
+ {
+ _queryParameters.Add(string.Format("includeExtendedLocations={0}", System.Uri.EscapeDataString(includeExtendedLocations)));
+ }
if (_queryParameters.Count > 0)
{
_url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ResourceSkusOperationsExtensions.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ResourceSkusOperationsExtensions.cs
index 7709c03c953a..817c32a97875 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ResourceSkusOperationsExtensions.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ResourceSkusOperationsExtensions.cs
@@ -31,9 +31,12 @@ public static partial class ResourceSkusOperationsExtensions
/// The filter to apply on the operation. Only **location** filter is supported
/// currently.
///
- public static IPage List(this IResourceSkusOperations operations, string filter = default(string))
+ ///
+ /// To Include Extended Locations information or not in the response.
+ ///
+ public static IPage List(this IResourceSkusOperations operations, string filter = default(string), string includeExtendedLocations = default(string))
{
- return operations.ListAsync(filter).GetAwaiter().GetResult();
+ return operations.ListAsync(filter, includeExtendedLocations).GetAwaiter().GetResult();
}
///
@@ -46,12 +49,15 @@ public static partial class ResourceSkusOperationsExtensions
/// The filter to apply on the operation. Only **location** filter is supported
/// currently.
///
+ ///
+ /// To Include Extended Locations information or not in the response.
+ ///
///
/// The cancellation token.
///
- public static async Task> ListAsync(this IResourceSkusOperations operations, string filter = default(string), CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task> ListAsync(this IResourceSkusOperations operations, string filter = default(string), string includeExtendedLocations = default(string), CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.ListWithHttpMessagesAsync(filter, null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.ListWithHttpMessagesAsync(filter, includeExtendedLocations, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/RestorePointCollectionsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/RestorePointCollectionsOperations.cs
index 6a0d64e2e124..c6bdccf0ef8a 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/RestorePointCollectionsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/RestorePointCollectionsOperations.cs
@@ -108,7 +108,7 @@ internal RestorePointCollectionsOperations(ComputeManagementClient client)
{
parameters.Validate();
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -334,7 +334,7 @@ internal RestorePointCollectionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -563,7 +563,7 @@ internal RestorePointCollectionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "restorePointCollectionName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -755,7 +755,7 @@ internal RestorePointCollectionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -936,7 +936,7 @@ internal RestorePointCollectionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1124,7 +1124,7 @@ internal RestorePointCollectionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "restorePointCollectionName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/RestorePointsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/RestorePointsOperations.cs
index 1b95f9d7c153..f09ef9655c90 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/RestorePointsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/RestorePointsOperations.cs
@@ -156,7 +156,7 @@ internal RestorePointsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "restorePointName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -364,7 +364,7 @@ internal RestorePointsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "restorePointName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
RestorePoint parameters = new RestorePoint();
if (excludeDisks != null)
{
@@ -576,7 +576,7 @@ internal RestorePointsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "restorePointName");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
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 c1194582ece5..1e9ddf5e2f08 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
@@ -19,52 +19,52 @@ public static IEnumerable> ApiInfo_ComputeManageme
{
return new Tuple[]
{
- new Tuple("Compute", "AvailabilitySets", "2021-04-01"),
- new Tuple("Compute", "CapacityReservationGroups", "2021-04-01"),
- new Tuple("Compute", "CapacityReservations", "2021-04-01"),
+ new Tuple("Compute", "AvailabilitySets", "2021-07-01"),
+ new Tuple("Compute", "CapacityReservationGroups", "2021-07-01"),
+ new Tuple("Compute", "CapacityReservations", "2021-07-01"),
new Tuple("Compute", "CloudServiceOperatingSystems", "2021-03-01"),
new Tuple("Compute", "CloudServiceRoleInstances", "2021-03-01"),
new Tuple("Compute", "CloudServiceRoles", "2021-03-01"),
new Tuple("Compute", "CloudServices", "2021-03-01"),
new Tuple("Compute", "CloudServicesUpdateDomain", "2021-03-01"),
- new Tuple("Compute", "DedicatedHostGroups", "2021-04-01"),
- new Tuple("Compute", "DedicatedHosts", "2021-04-01"),
+ new Tuple("Compute", "DedicatedHostGroups", "2021-07-01"),
+ new Tuple("Compute", "DedicatedHosts", "2021-07-01"),
new Tuple("Compute", "DiskAccesses", "2020-12-01"),
new Tuple("Compute", "DiskEncryptionSets", "2020-12-01"),
new Tuple("Compute", "DiskRestorePoint", "2020-12-01"),
new Tuple("Compute", "Disks", "2020-12-01"),
- new Tuple("Compute", "Galleries", "2020-09-30"),
- new Tuple("Compute", "GalleryApplicationVersions", "2020-09-30"),
- new Tuple("Compute", "GalleryApplications", "2020-09-30"),
- new Tuple("Compute", "GalleryImageVersions", "2020-09-30"),
- new Tuple("Compute", "GalleryImages", "2020-09-30"),
- new Tuple("Compute", "GallerySharingProfile", "2020-09-30"),
- new Tuple("Compute", "Images", "2021-04-01"),
- new Tuple("Compute", "LogAnalytics", "2021-04-01"),
- new Tuple("Compute", "Operations", "2021-04-01"),
- new Tuple("Compute", "ProximityPlacementGroups", "2021-04-01"),
- new Tuple("Compute", "ResourceSkus", "2019-04-01"),
- new Tuple("Compute", "RestorePointCollections", "2021-04-01"),
- new Tuple("Compute", "RestorePoints", "2021-04-01"),
- new Tuple("Compute", "SharedGalleries", "2020-09-30"),
- new Tuple("Compute", "SharedGalleryImageVersions", "2020-09-30"),
- new Tuple("Compute", "SharedGalleryImages", "2020-09-30"),
+ new Tuple("Compute", "Galleries", "2021-07-01"),
+ new Tuple("Compute", "GalleryApplicationVersions", "2021-07-01"),
+ new Tuple("Compute", "GalleryApplications", "2021-07-01"),
+ new Tuple("Compute", "GalleryImageVersions", "2021-07-01"),
+ new Tuple("Compute", "GalleryImages", "2021-07-01"),
+ new Tuple("Compute", "GallerySharingProfile", "2021-07-01"),
+ new Tuple("Compute", "Images", "2021-07-01"),
+ new Tuple("Compute", "LogAnalytics", "2021-07-01"),
+ new Tuple("Compute", "Operations", "2021-07-01"),
+ new Tuple("Compute", "ProximityPlacementGroups", "2021-07-01"),
+ new Tuple("Compute", "ResourceSkus", "2021-07-01"),
+ new Tuple("Compute", "RestorePointCollections", "2021-07-01"),
+ new Tuple("Compute", "RestorePoints", "2021-07-01"),
+ 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", "2020-12-01"),
- new Tuple("Compute", "SshPublicKeys", "2021-04-01"),
- new Tuple("Compute", "Usage", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineExtensionImages", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineExtensions", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineImages", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineImagesEdgeZone", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineRunCommands", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineScaleSetExtensions", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineScaleSetRollingUpgrades", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineScaleSetVMExtensions", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineScaleSetVMRunCommands", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineScaleSetVMs", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineScaleSets", "2021-04-01"),
- new Tuple("Compute", "VirtualMachineSizes", "2021-04-01"),
- new Tuple("Compute", "VirtualMachines", "2021-04-01"),
+ new Tuple("Compute", "SshPublicKeys", "2021-07-01"),
+ new Tuple("Compute", "Usage", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineExtensionImages", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineExtensions", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineImages", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineImagesEdgeZone", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineRunCommands", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineScaleSetExtensions", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineScaleSetRollingUpgrades", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineScaleSetVMExtensions", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineScaleSetVMRunCommands", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineScaleSetVMs", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineScaleSets", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachineSizes", "2021-07-01"),
+ new Tuple("Compute", "VirtualMachines", "2021-07-01"),
}.AsEnumerable();
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleriesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleriesOperations.cs
index 409b39892dba..54261348776a 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleriesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleriesOperations.cs
@@ -91,7 +91,7 @@ internal SharedGalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "location");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -288,7 +288,7 @@ internal SharedGalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryUniqueName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleryImageVersionsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleryImageVersionsOperations.cs
index f86e48b89e02..9ff94cb85126 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleryImageVersionsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleryImageVersionsOperations.cs
@@ -106,7 +106,7 @@ internal SharedGalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -325,7 +325,7 @@ internal SharedGalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersionName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleryImagesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleryImagesOperations.cs
index e6d129ddf34d..ac3b8a6f2e71 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleryImagesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SharedGalleryImagesOperations.cs
@@ -98,7 +98,7 @@ internal SharedGalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryUniqueName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -305,7 +305,7 @@ internal SharedGalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName");
}
- string apiVersion = "2020-09-30";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SshPublicKeysOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SshPublicKeysOperations.cs
index 6668425c457f..16fd594b4992 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SshPublicKeysOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SshPublicKeysOperations.cs
@@ -81,7 +81,7 @@ internal SshPublicKeysOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -265,7 +265,7 @@ internal SshPublicKeysOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -468,7 +468,7 @@ internal SshPublicKeysOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -694,7 +694,7 @@ internal SshPublicKeysOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -892,7 +892,7 @@ internal SshPublicKeysOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1068,7 +1068,7 @@ internal SshPublicKeysOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1265,7 +1265,7 @@ internal SshPublicKeysOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/UsageOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/UsageOperations.cs
index befc922ac9a3..94f20653b9ce 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/UsageOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/UsageOperations.cs
@@ -96,7 +96,7 @@ internal UsageOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineExtensionImagesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineExtensionImagesOperations.cs
index 6ab4ae968634..8970700b699f 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineExtensionImagesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineExtensionImagesOperations.cs
@@ -106,7 +106,7 @@ internal VirtualMachineExtensionImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -303,7 +303,7 @@ internal VirtualMachineExtensionImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -505,7 +505,7 @@ internal VirtualMachineExtensionImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineExtensionsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineExtensionsOperations.cs
index 370d3a2506f5..09a34f8dc6d1 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineExtensionsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineExtensionsOperations.cs
@@ -186,7 +186,7 @@ internal VirtualMachineExtensionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -390,7 +390,7 @@ internal VirtualMachineExtensionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -608,7 +608,7 @@ internal VirtualMachineExtensionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -843,7 +843,7 @@ internal VirtualMachineExtensionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1050,7 +1050,7 @@ internal VirtualMachineExtensionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineImagesEdgeZoneOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineImagesEdgeZoneOperations.cs
index ccc454706e3a..dd14474dea59 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineImagesEdgeZoneOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineImagesEdgeZoneOperations.cs
@@ -122,7 +122,7 @@ internal VirtualMachineImagesEdgeZoneOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -356,7 +356,7 @@ internal VirtualMachineImagesEdgeZoneOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -579,7 +579,7 @@ internal VirtualMachineImagesEdgeZoneOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -776,7 +776,7 @@ internal VirtualMachineImagesEdgeZoneOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -985,7 +985,7 @@ internal VirtualMachineImagesEdgeZoneOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineImagesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineImagesOperations.cs
index c109a79955d9..4d56d5bbe60e 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineImagesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineImagesOperations.cs
@@ -115,7 +115,7 @@ internal VirtualMachineImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -337,7 +337,7 @@ internal VirtualMachineImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -551,7 +551,7 @@ internal VirtualMachineImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -739,7 +739,7 @@ internal VirtualMachineImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -939,7 +939,7 @@ internal VirtualMachineImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineRunCommandsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineRunCommandsOperations.cs
index b2721f0d6d70..2217782c98ba 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineRunCommandsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineRunCommandsOperations.cs
@@ -94,7 +94,7 @@ internal VirtualMachineRunCommandsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -293,7 +293,7 @@ internal VirtualMachineRunCommandsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -579,7 +579,7 @@ internal VirtualMachineRunCommandsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -783,7 +783,7 @@ internal VirtualMachineRunCommandsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1001,7 +1001,7 @@ internal VirtualMachineRunCommandsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1236,7 +1236,7 @@ internal VirtualMachineRunCommandsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1443,7 +1443,7 @@ internal VirtualMachineRunCommandsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs
index deb89c5c725b..17889f91eaed 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs
@@ -186,7 +186,7 @@ internal VirtualMachineScaleSetExtensionsOperations(ComputeManagementClient clie
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -387,7 +387,7 @@ internal VirtualMachineScaleSetExtensionsOperations(ComputeManagementClient clie
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -596,7 +596,7 @@ internal VirtualMachineScaleSetExtensionsOperations(ComputeManagementClient clie
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -831,7 +831,7 @@ internal VirtualMachineScaleSetExtensionsOperations(ComputeManagementClient clie
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1056,7 +1056,7 @@ internal VirtualMachineScaleSetExtensionsOperations(ComputeManagementClient clie
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradesOperations.cs
index 501c0ca5ccd1..8374b91baeee 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradesOperations.cs
@@ -164,7 +164,7 @@ internal VirtualMachineScaleSetRollingUpgradesOperations(ComputeManagementClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -355,7 +355,7 @@ internal VirtualMachineScaleSetRollingUpgradesOperations(ComputeManagementClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -530,7 +530,7 @@ internal VirtualMachineScaleSetRollingUpgradesOperations(ComputeManagementClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -705,7 +705,7 @@ internal VirtualMachineScaleSetRollingUpgradesOperations(ComputeManagementClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsOperations.cs
index ee95151621f0..acb0f38adbee 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsOperations.cs
@@ -201,7 +201,7 @@ internal VirtualMachineScaleSetVMExtensionsOperations(ComputeManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -415,7 +415,7 @@ internal VirtualMachineScaleSetVMExtensionsOperations(ComputeManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -637,7 +637,7 @@ internal VirtualMachineScaleSetVMExtensionsOperations(ComputeManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -881,7 +881,7 @@ internal VirtualMachineScaleSetVMExtensionsOperations(ComputeManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1097,7 +1097,7 @@ internal VirtualMachineScaleSetVMExtensionsOperations(ComputeManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMRunCommandsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMRunCommandsOperations.cs
index f12e81372abe..1b0d5dec01fa 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMRunCommandsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMRunCommandsOperations.cs
@@ -201,7 +201,7 @@ internal VirtualMachineScaleSetVMRunCommandsOperations(ComputeManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -415,7 +415,7 @@ internal VirtualMachineScaleSetVMRunCommandsOperations(ComputeManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -641,7 +641,7 @@ internal VirtualMachineScaleSetVMRunCommandsOperations(ComputeManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -885,7 +885,7 @@ internal VirtualMachineScaleSetVMRunCommandsOperations(ComputeManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1101,7 +1101,7 @@ internal VirtualMachineScaleSetVMRunCommandsOperations(ComputeManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMsOperations.cs
index 68b5c6fea6a8..549c83d2724a 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetVMsOperations.cs
@@ -251,7 +251,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -459,7 +459,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -662,7 +662,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -991,7 +991,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1222,7 +1222,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1438,7 +1438,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput = default(VirtualMachineScaleSetVMReimageParameters);
if (tempDisk != null)
{
@@ -1634,7 +1634,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1819,7 +1819,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2016,7 +2016,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2245,7 +2245,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2439,7 +2439,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2626,7 +2626,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2808,7 +2808,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2991,7 +2991,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3173,7 +3173,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3369,7 +3369,7 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetsOperations.cs
index a17b72eb25a6..f23d30f991ba 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetsOperations.cs
@@ -95,7 +95,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -368,7 +368,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -625,7 +625,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -812,7 +812,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -993,7 +993,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1184,7 +1184,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1378,7 +1378,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1803,7 +1803,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2003,7 +2003,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VMScaleSetConvertToSinglePlacementGroupInput parameters = new VMScaleSetConvertToSinglePlacementGroupInput();
if (activePlacementGroupId != null)
{
@@ -2227,7 +2227,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2453,7 +2453,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2654,7 +2654,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2839,7 +2839,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = default(VirtualMachineScaleSetVMInstanceIDs);
if (instanceIds != null)
{
@@ -3036,7 +3036,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "instanceIds");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs = new VirtualMachineScaleSetVMInstanceRequiredIDs();
if (instanceIds != null)
{
@@ -3238,7 +3238,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = default(VirtualMachineScaleSetVMInstanceIDs);
if (instanceIds != null)
{
@@ -3434,7 +3434,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = default(VirtualMachineScaleSetVMInstanceIDs);
if (instanceIds != null)
{
@@ -3625,7 +3625,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = default(VirtualMachineScaleSetVMInstanceIDs);
if (instanceIds != null)
{
@@ -3817,7 +3817,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = default(VirtualMachineScaleSetVMInstanceIDs);
if (instanceIds != null)
{
@@ -4011,7 +4011,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = default(VirtualMachineScaleSetVMInstanceIDs);
if (instanceIds != null)
{
@@ -4205,7 +4205,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "instanceIds");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs = new VirtualMachineScaleSetVMInstanceRequiredIDs();
if (instanceIds != null)
{
@@ -4395,7 +4395,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -4581,7 +4581,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = default(VirtualMachineScaleSetVMInstanceIDs);
if (instanceIds != null)
{
@@ -4778,7 +4778,7 @@ internal VirtualMachineScaleSetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineSizesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineSizesOperations.cs
index 4cdd26498278..e02ad90a0646 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineSizesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineSizesOperations.cs
@@ -95,7 +95,7 @@ internal VirtualMachineSizesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-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 ad55aa999026..1e64a5b3530c 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperations.cs
@@ -95,7 +95,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -398,7 +398,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -597,7 +597,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -780,16 +780,19 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
///
/// The name of the virtual machine.
///
+ ///
+ /// Optional parameter to hibernate a virtual machine. (Feature in Preview)
+ ///
///
/// The headers that will be added to request.
///
///
/// The cancellation token.
///
- public async Task DeallocateWithHttpMessagesAsync(string resourceGroupName, string vmName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task DeallocateWithHttpMessagesAsync(string resourceGroupName, string vmName, bool? hibernate = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
// Send request
- AzureOperationResponse _response = await BeginDeallocateWithHttpMessagesAsync(resourceGroupName, vmName, customHeaders, cancellationToken).ConfigureAwait(false);
+ AzureOperationResponse _response = await BeginDeallocateWithHttpMessagesAsync(resourceGroupName, vmName, hibernate, customHeaders, cancellationToken).ConfigureAwait(false);
return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
}
@@ -840,7 +843,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1010,7 +1013,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1193,7 +1196,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1389,7 +1392,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1735,7 +1738,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1953,7 +1956,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2213,7 +2216,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2426,7 +2429,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2652,7 +2655,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2853,7 +2856,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3032,7 +3035,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3174,6 +3177,9 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
///
/// The name of the virtual machine.
///
+ ///
+ /// Optional parameter to hibernate a virtual machine. (Feature in Preview)
+ ///
///
/// Headers that will be added to request.
///
@@ -3192,7 +3198,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task BeginDeallocateWithHttpMessagesAsync(string resourceGroupName, string vmName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task BeginDeallocateWithHttpMessagesAsync(string resourceGroupName, string vmName, bool? hibernate = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (resourceGroupName == null)
{
@@ -3206,7 +3212,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3216,6 +3222,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("vmName", vmName);
+ tracingParameters.Add("hibernate", hibernate);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "BeginDeallocate", tracingParameters);
@@ -3227,6 +3234,10 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
_url = _url.Replace("{vmName}", System.Uri.EscapeDataString(vmName));
_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
List _queryParameters = new List();
+ if (hibernate != null)
+ {
+ _queryParameters.Add(string.Format("hibernate={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(hibernate, Client.SerializationSettings).Trim('"'))));
+ }
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
@@ -3386,7 +3397,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3564,7 +3575,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3737,7 +3748,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3910,7 +3921,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -4084,7 +4095,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -4263,7 +4274,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
VirtualMachineReimageParameters parameters = default(VirtualMachineReimageParameters);
if (tempDisk != null)
{
@@ -4449,7 +4460,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -4625,7 +4636,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -4830,7 +4841,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -5042,7 +5053,7 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-04-01";
+ string apiVersion = "2021-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
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 e0c5c0082b7e..dd89f247cac8 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperationsExtensions.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperationsExtensions.cs
@@ -394,9 +394,12 @@ public static void ConvertToManagedDisks(this IVirtualMachinesOperations operati
///
/// The name of the virtual machine.
///
- public static void Deallocate(this IVirtualMachinesOperations operations, string resourceGroupName, string vmName)
+ ///
+ /// Optional parameter to hibernate a virtual machine. (Feature in Preview)
+ ///
+ public static void Deallocate(this IVirtualMachinesOperations operations, string resourceGroupName, string vmName, bool? hibernate = default(bool?))
{
- operations.DeallocateAsync(resourceGroupName, vmName).GetAwaiter().GetResult();
+ operations.DeallocateAsync(resourceGroupName, vmName, hibernate).GetAwaiter().GetResult();
}
///
@@ -412,12 +415,15 @@ public static void Deallocate(this IVirtualMachinesOperations operations, string
///
/// The name of the virtual machine.
///
+ ///
+ /// Optional parameter to hibernate a virtual machine. (Feature in Preview)
+ ///
///
/// The cancellation token.
///
- public static async Task DeallocateAsync(this IVirtualMachinesOperations operations, string resourceGroupName, string vmName, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task DeallocateAsync(this IVirtualMachinesOperations operations, string resourceGroupName, string vmName, bool? hibernate = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
{
- (await operations.DeallocateWithHttpMessagesAsync(resourceGroupName, vmName, null, cancellationToken).ConfigureAwait(false)).Dispose();
+ (await operations.DeallocateWithHttpMessagesAsync(resourceGroupName, vmName, hibernate, null, cancellationToken).ConfigureAwait(false)).Dispose();
}
///
@@ -1330,9 +1336,12 @@ public static void BeginConvertToManagedDisks(this IVirtualMachinesOperations op
///
/// The name of the virtual machine.
///
- public static void BeginDeallocate(this IVirtualMachinesOperations operations, string resourceGroupName, string vmName)
+ ///
+ /// Optional parameter to hibernate a virtual machine. (Feature in Preview)
+ ///
+ public static void BeginDeallocate(this IVirtualMachinesOperations operations, string resourceGroupName, string vmName, bool? hibernate = default(bool?))
{
- operations.BeginDeallocateAsync(resourceGroupName, vmName).GetAwaiter().GetResult();
+ operations.BeginDeallocateAsync(resourceGroupName, vmName, hibernate).GetAwaiter().GetResult();
}
///
@@ -1348,12 +1357,15 @@ public static void BeginDeallocate(this IVirtualMachinesOperations operations, s
///
/// The name of the virtual machine.
///
+ ///
+ /// Optional parameter to hibernate a virtual machine. (Feature in Preview)
+ ///
///
/// The cancellation token.
///
- public static async Task BeginDeallocateAsync(this IVirtualMachinesOperations operations, string resourceGroupName, string vmName, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task BeginDeallocateAsync(this IVirtualMachinesOperations operations, string resourceGroupName, string vmName, bool? hibernate = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
{
- (await operations.BeginDeallocateWithHttpMessagesAsync(resourceGroupName, vmName, null, cancellationToken).ConfigureAwait(false)).Dispose();
+ (await operations.BeginDeallocateWithHttpMessagesAsync(resourceGroupName, vmName, hibernate, null, cancellationToken).ConfigureAwait(false)).Dispose();
}
///