diff --git a/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md b/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md index b9d819f91a00..17992a06b2b2 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md +++ b/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md @@ -1,20 +1,17 @@ # Release History -## 1.8.0-beta.1 (Unreleased) +## 1.8.0 (2025-02-05) ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes - +- Upgraded api-version tag from 'package-2024-11-03' to 'package-2024-11-04'. Tag detail available at https://github.com/Azure/azure-rest-api-specs/blob/bf420af156ea90b4226e96582bdb4c9647491ae6/specification/compute/resource-manager/readme.md. + - Added a new property named `IsBootstrapCertificate` to `CloudServiceRoleProfile` class. + ## 1.7.0 (2024-12-29) ### Features Added -- Upgraded api-version tag from 'package-2024-07-01' to 'package-2024-03-03'. Tag detail available at https://github.com/Azure/azure-rest-api-specs/blob/b09c9ec927456021dc549e111fa2cac3b4b00659/specification/compute/resource-manager/readme.md. +- Upgraded api-version tag from 'package-2024-07-01' to 'package-2024-11-03'. Tag detail available at https://github.com/Azure/azure-rest-api-specs/blob/b09c9ec927456021dc549e111fa2cac3b4b00659/specification/compute/resource-manager/readme.md. - Added new classes named `GalleryInVmAccessControlProfileCollection`, `ComputeGalleryValidationProfile`, `GalleryImageExecutedValidation`, `AdditionalReplicaSet`, `GallerySoftDeleted`, `GallerySoftDeletedResourceList`, `ComputeGalleryEndpointAccess`, `ComputeGalleryEndpointTypes`, and `ComputeGalleryPlatformAttribute`. - Added a new property named `IsBlockedDeletionBeforeEndOfLife` to `GalleryImageVersionSafertyProfile` class. - Added a new property named `StartsAtVersion` to `GalleryImageFeature` class. diff --git a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.net8.0.cs b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.net8.0.cs index e1ae7c4a924e..c4eb305f4238 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.net8.0.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.net8.0.cs @@ -4031,6 +4031,7 @@ public partial class CloudServiceVaultCertificate : System.ClientModel.Primitive { public CloudServiceVaultCertificate() { } public System.Uri CertificateUri { get { throw null; } set { } } + public bool? IsBootstrapCertificate { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.Compute.Models.CloudServiceVaultCertificate System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } diff --git a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs index e1ae7c4a924e..c4eb305f4238 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs @@ -4031,6 +4031,7 @@ public partial class CloudServiceVaultCertificate : System.ClientModel.Primitive { public CloudServiceVaultCertificate() { } public System.Uri CertificateUri { get { throw null; } set { } } + public bool? IsBootstrapCertificate { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.Compute.Models.CloudServiceVaultCertificate System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceCollection.cs index 7b8b18dae073..4c8bdb4ad265 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_CloudServiceCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNewCloudServiceWithMultipleRoles() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Create_WithMultiRole.json // this example is just showing the usage of "CloudServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -90,7 +90,7 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithMultipleRoles() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNewCloudServiceWithMultipleRolesInASpecificAvailabilityZone() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Create_WithMultiRole_WithZones.json // this example is just showing the usage of "CloudServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -160,7 +160,7 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithMultipleRolesInASpecif [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRole() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Create_WithSingleRole.json // this example is just showing the usage of "CloudServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -220,7 +220,7 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRole() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json // this example is just showing the usage of "CloudServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -261,6 +261,7 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRoleAndCertifica VaultCertificates = {new CloudServiceVaultCertificate { CertificateUri = new Uri("https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}"), +IsBootstrapCertificate = true, }}, }}, NetworkProfile = new CloudServiceNetworkProfile @@ -288,7 +289,7 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRoleAndCertifica [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRoleAndRDPExtension() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Create_WithSingleRoleAndRDP.json // this example is just showing the usage of "CloudServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -358,7 +359,7 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRoleAndRDPExtens [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceWithMultipleRolesAndRDPExtension() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Get_WithMultiRoleAndRDP.json // this example is just showing the usage of "CloudServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -391,7 +392,7 @@ public async Task Get_GetCloudServiceWithMultipleRolesAndRDPExtension() [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCloudServicesInAResourceGroup() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_List_ByResourceGroup.json // this example is just showing the usage of "CloudServices_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -426,7 +427,7 @@ public async Task GetAll_ListCloudServicesInAResourceGroup() [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServiceWithMultipleRolesAndRDPExtension() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Get_WithMultiRoleAndRDP.json // this example is just showing the usage of "CloudServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -455,7 +456,7 @@ public async Task Exists_GetCloudServiceWithMultipleRolesAndRDPExtension() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServiceWithMultipleRolesAndRDPExtension() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Get_WithMultiRoleAndRDP.json // this example is just showing the usage of "CloudServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyCollection.cs index 9d79774ea847..f62838ca3df9 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_CloudServiceOSFamilyCollection [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceOSFamily() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSFamily_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceOSFamily_Get.json // this example is just showing the usage of "CloudServiceOperatingSystems_GetOSFamily" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_GetCloudServiceOSFamily() [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCloudServiceOSFamiliesInASubscription() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSFamilies_List.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceOSFamilies_List.json // this example is just showing the usage of "CloudServiceOperatingSystems_ListOSFamilies" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -88,7 +88,7 @@ public async Task GetAll_ListCloudServiceOSFamiliesInASubscription() [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServiceOSFamily() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSFamily_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceOSFamily_Get.json // this example is just showing the usage of "CloudServiceOperatingSystems_GetOSFamily" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -117,7 +117,7 @@ public async Task Exists_GetCloudServiceOSFamily() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServiceOSFamily() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSFamily_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceOSFamily_Get.json // this example is just showing the usage of "CloudServiceOperatingSystems_GetOSFamily" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyResource.cs index 53d5f90ff5bf..17806780d7d9 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyResource.cs @@ -19,7 +19,7 @@ public partial class Sample_CloudServiceOSFamilyResource [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceOSFamily() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSFamily_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceOSFamily_Get.json // this example is just showing the usage of "CloudServiceOperatingSystems_GetOSFamily" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionCollection.cs index dae2db3e8a11..78cec3f68521 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_CloudServiceOSVersionCollection [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceOSVersion() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSVersion_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceOSVersion_Get.json // this example is just showing the usage of "CloudServiceOperatingSystems_GetOSVersion" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_GetCloudServiceOSVersion() [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCloudServiceOSVersionsInASubscription() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSVersion_List.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceOSVersion_List.json // this example is just showing the usage of "CloudServiceOperatingSystems_ListOSVersions" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -88,7 +88,7 @@ public async Task GetAll_ListCloudServiceOSVersionsInASubscription() [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServiceOSVersion() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSVersion_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceOSVersion_Get.json // this example is just showing the usage of "CloudServiceOperatingSystems_GetOSVersion" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -117,7 +117,7 @@ public async Task Exists_GetCloudServiceOSVersion() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServiceOSVersion() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSVersion_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceOSVersion_Get.json // this example is just showing the usage of "CloudServiceOperatingSystems_GetOSVersion" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionResource.cs index 635f9213be98..b3af35ca2ee5 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionResource.cs @@ -19,7 +19,7 @@ public partial class Sample_CloudServiceOSVersionResource [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceOSVersion() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSVersion_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceOSVersion_Get.json // this example is just showing the usage of "CloudServiceOperatingSystems_GetOSVersion" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceResource.cs index b223dcbb46da..8e3d6a11b173 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceResource.cs @@ -20,7 +20,7 @@ public partial class Sample_CloudServiceResource [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceWithMultipleRolesAndRDPExtension() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Get_WithMultiRoleAndRDP.json // this example is just showing the usage of "CloudServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -50,7 +50,7 @@ public async Task Get_GetCloudServiceWithMultipleRolesAndRDPExtension() [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCloudService() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Delete.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Delete.json // this example is just showing the usage of "CloudServices_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -76,7 +76,7 @@ public async Task Delete_DeleteCloudService() [Ignore("Only validating compilation of examples")] public async Task Update_UpdateExistingCloudServiceToAddTags() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Update_ToIncludeTags.json // this example is just showing the usage of "CloudServices_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -114,7 +114,7 @@ public async Task Update_UpdateExistingCloudServiceToAddTags() [Ignore("Only validating compilation of examples")] public async Task GetInstanceView_GetCloudServiceInstanceViewWithMultipleRoles() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_InstanceViewWithMultiRole.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Get_InstanceViewWithMultiRole.json // this example is just showing the usage of "CloudServices_GetInstanceView" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -140,7 +140,7 @@ public async Task GetInstanceView_GetCloudServiceInstanceViewWithMultipleRoles() [Ignore("Only validating compilation of examples")] public async Task PowerOn_StartCloudService() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Start.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_Start.json // this example is just showing the usage of "CloudServices_Start" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -166,7 +166,7 @@ public async Task PowerOn_StartCloudService() [Ignore("Only validating compilation of examples")] public async Task PowerOff_StopOrPowerOffCloudService() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_PowerOff.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_PowerOff.json // this example is just showing the usage of "CloudServices_PowerOff" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -192,7 +192,7 @@ public async Task PowerOff_StopOrPowerOffCloudService() [Ignore("Only validating compilation of examples")] public async Task Restart_RestartCloudServiceRoleInstancesInACloudService() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart_ByCloudService.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Restart_ByCloudService.json // this example is just showing the usage of "CloudServices_Restart" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -219,7 +219,7 @@ public async Task Restart_RestartCloudServiceRoleInstancesInACloudService() [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageCloudServiceRoleInstancesInACloudService() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json // this example is just showing the usage of "CloudServices_Reimage" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -246,7 +246,7 @@ public async Task Reimage_ReimageCloudServiceRoleInstancesInACloudService() [Ignore("Only validating compilation of examples")] public async Task Rebuild_RebuildCloudServiceRoleInstancesInACloudService() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json // this example is just showing the usage of "CloudServices_Rebuild" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -273,7 +273,7 @@ public async Task Rebuild_RebuildCloudServiceRoleInstancesInACloudService() [Ignore("Only validating compilation of examples")] public async Task DeleteInstances_DeleteCloudServiceRoleInstancesInACloudService() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete_ByCloudService.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Delete_ByCloudService.json // this example is just showing the usage of "CloudServices_DeleteInstances" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -300,7 +300,7 @@ public async Task DeleteInstances_DeleteCloudServiceRoleInstancesInACloudService [Ignore("Only validating compilation of examples")] public async Task WalkUpdateDomain_UpdateCloudServiceToSpecifiedDomain() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceUpdateDomain_Update.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceUpdateDomain_Update.json // this example is just showing the usage of "CloudServicesUpdateDomain_WalkUpdateDomain" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -327,7 +327,7 @@ public async Task WalkUpdateDomain_UpdateCloudServiceToSpecifiedDomain() [Ignore("Only validating compilation of examples")] public async Task GetUpdateDomain_GetCloudServiceUpdateDomain() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceUpdateDomain_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceUpdateDomain_Get.json // this example is just showing the usage of "CloudServicesUpdateDomain_GetUpdateDomain" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -354,7 +354,7 @@ public async Task GetUpdateDomain_GetCloudServiceUpdateDomain() [Ignore("Only validating compilation of examples")] public async Task GetUpdateDomains_ListUpdateDomainsInCloudService() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceUpdateDomain_List.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceUpdateDomain_List.json // this example is just showing the usage of "CloudServicesUpdateDomain_ListUpdateDomains" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleCollection.cs index c2cee5d56b8d..8e92ee172276 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_CloudServiceRoleCollection [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceRole() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRole_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRole_Get.json // this example is just showing the usage of "CloudServiceRoles_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_GetCloudServiceRole() [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRolesInACloudService() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRole_List.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRole_List.json // this example is just showing the usage of "CloudServiceRoles_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -89,7 +89,7 @@ public async Task GetAll_ListRolesInACloudService() [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServiceRole() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRole_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRole_Get.json // this example is just showing the usage of "CloudServiceRoles_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -119,7 +119,7 @@ public async Task Exists_GetCloudServiceRole() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServiceRole() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRole_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRole_Get.json // this example is just showing the usage of "CloudServiceRoles_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceCollection.cs index 60ede4d233bc..08d57d333f00 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_CloudServiceRoleInstanceCollection [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceRoleInstance() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Get.json // this example is just showing the usage of "CloudServiceRoleInstances_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_GetCloudServiceRoleInstance() [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRoleInstancesInACloudService() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRolesInstance_List.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRolesInstance_List.json // this example is just showing the usage of "CloudServiceRoleInstances_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -89,7 +89,7 @@ public async Task GetAll_ListRoleInstancesInACloudService() [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServiceRoleInstance() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Get.json // this example is just showing the usage of "CloudServiceRoleInstances_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -119,7 +119,7 @@ public async Task Exists_GetCloudServiceRoleInstance() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServiceRoleInstance() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Get.json // this example is just showing the usage of "CloudServiceRoleInstances_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceResource.cs index 054c0ddb6078..a38493141919 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceResource.cs @@ -21,7 +21,7 @@ public partial class Sample_CloudServiceRoleInstanceResource [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceRoleInstance() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Get.json // this example is just showing the usage of "CloudServiceRoleInstances_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_GetCloudServiceRoleInstance() [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCloudServiceRoleInstance() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Delete.json // this example is just showing the usage of "CloudServiceRoleInstances_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -79,7 +79,7 @@ public async Task Delete_DeleteCloudServiceRoleInstance() [Ignore("Only validating compilation of examples")] public async Task GetInstanceView_GetInstanceViewOfCloudServiceRoleInstance() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get_InstanceView.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Get_InstanceView.json // this example is just showing the usage of "CloudServiceRoleInstances_GetInstanceView" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -106,7 +106,7 @@ public async Task GetInstanceView_GetInstanceViewOfCloudServiceRoleInstance() [Ignore("Only validating compilation of examples")] public async Task Restart_RestartCloudServiceRoleInstance() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Restart.json // this example is just showing the usage of "CloudServiceRoleInstances_Restart" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -133,7 +133,7 @@ public async Task Restart_RestartCloudServiceRoleInstance() [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageCloudServiceRoleInstance() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Reimage.json // this example is just showing the usage of "CloudServiceRoleInstances_Reimage" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -160,7 +160,7 @@ public async Task Reimage_ReimageCloudServiceRoleInstance() [Ignore("Only validating compilation of examples")] public async Task Rebuild_RebuildCloudServiceRoleInstance() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Rebuild.json // this example is just showing the usage of "CloudServiceRoleInstances_Rebuild" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -187,7 +187,7 @@ public async Task Rebuild_RebuildCloudServiceRoleInstance() [Ignore("Only validating compilation of examples")] public async Task GetRemoteDesktopFile_GetCloudServiceRole() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get_RemoteDesktopFile.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRoleInstance_Get_RemoteDesktopFile.json // this example is just showing the usage of "CloudServiceRoleInstances_GetRemoteDesktopFile" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleResource.cs index ef7bd54a4571..3f42753b93fd 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleResource.cs @@ -19,7 +19,7 @@ public partial class Sample_CloudServiceRoleResource [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceRole() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRole_Get.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudServiceRole_Get.json // this example is just showing the usage of "CloudServiceRoles_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 7d0ea736f7a2..f6e698d3634a 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -1665,7 +1665,7 @@ public async Task GetGalleries_ListGalleriesInASubscription() [Ignore("Only validating compilation of examples")] public async Task GetCloudServices_ListCloudServicesInASubscription() { - // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json + // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2024-11-04/examples/CloudService_List_BySubscription.json // this example is just showing the usage of "CloudServices_ListAll" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs index 08986d216c72..3a834ef65efa 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs @@ -3568,7 +3568,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithPriorityMixPolicy() Sku = "20_04-lts-gen2", Version = "latest", }, - OSDisk = new VirtualMachineScaleSetOSDisk(new DiskCreateOptionType("fromImage")) + OSDisk = new VirtualMachineScaleSetOSDisk(DiskCreateOptionType.FromImage) { Caching = CachingType.ReadWrite, ManagedDisk = new VirtualMachineScaleSetManagedDisk @@ -3598,7 +3598,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithPriorityMixPolicy() }}, NetworkApiVersion = NetworkApiVersion.TwoThousandTwenty1101, }, - Priority = new VirtualMachinePriorityType("spot"), + Priority = VirtualMachinePriorityType.Spot, }, PlatformFaultDomainCount = 1, OrchestrationMode = OrchestrationMode.Flexible, diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj b/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj index 7b4fe24416d9..716568493871 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj @@ -1,6 +1,6 @@ - 1.8.0-beta.1 + 1.8.0 1.7.0 Azure.ResourceManager.Compute diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceCollection.cs index b894e991b85c..595b0c8b1a09 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpdateAsyn /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitU /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync(string cloudS /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string cloudServiceName, Cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual Pageable GetAll(CancellationToken cancellat /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -356,7 +356,7 @@ public virtual async Task> ExistsAsync(string cloudServiceName, C /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -399,7 +399,7 @@ public virtual Response Exists(string cloudServiceName, CancellationToken /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -444,7 +444,7 @@ public virtual async Task> GetIfExistsAsy /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSFamilyCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSFamilyCollection.cs index 3c5dac7a68fa..e788a62e9a6e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSFamilyCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSFamilyCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> GetAsync(strin /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -158,7 +158,7 @@ public virtual Response Get(string osFamilyName, C /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable GetAllAsync(Cancellat /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -218,7 +218,7 @@ public virtual Pageable GetAll(CancellationToken c /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -261,7 +261,7 @@ public virtual async Task> ExistsAsync(string osFamilyName, Cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -304,7 +304,7 @@ public virtual Response Exists(string osFamilyName, CancellationToken canc /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task> GetIfE /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSFamilyResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSFamilyResource.cs index 643647e56837..9932b8b50cc5 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSFamilyResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSFamilyResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSVersionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSVersionCollection.cs index 4174651baee3..ea15f8bd7b8a 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSVersionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSVersionCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> GetAsync(stri /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -158,7 +158,7 @@ public virtual Response Get(string osVersionName, /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable GetAllAsync(Cancella /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -218,7 +218,7 @@ public virtual Pageable GetAll(CancellationToken /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -261,7 +261,7 @@ public virtual async Task> ExistsAsync(string osVersionName, Canc /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -304,7 +304,7 @@ public virtual Response Exists(string osVersionName, CancellationToken can /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task> GetIf /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSVersionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSVersionResource.cs index eec2417e22a7..e58af7a09240 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSVersionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceOSVersionResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Canc /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceResource.cs index 4c1268e62c04..583d303ef8c7 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceResource.cs @@ -115,7 +115,7 @@ public virtual CloudServiceRoleInstanceCollection GetCloudServiceRoleInstances() /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -147,7 +147,7 @@ public virtual async Task> GetCloudSe /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -186,7 +186,7 @@ public virtual CloudServiceRoleCollection GetCloudServiceRoles() /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -217,7 +217,7 @@ public virtual async Task> GetCloudServiceRol /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -248,7 +248,7 @@ public virtual Response GetCloudServiceRole(string rol /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -288,7 +288,7 @@ public virtual async Task> GetAsync(CancellationT /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -328,7 +328,7 @@ public virtual Response Get(CancellationToken cancellation /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -370,7 +370,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -412,7 +412,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -458,7 +458,7 @@ public virtual async Task> UpdateAsync(WaitUn /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -504,7 +504,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Cl /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -542,7 +542,7 @@ public virtual async Task> GetInstanceViewAsy /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -580,7 +580,7 @@ public virtual Response GetInstanceView(CancellationTo /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -622,7 +622,7 @@ public virtual async Task PowerOnAsync(WaitUntil waitUntil, Cancel /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -664,7 +664,7 @@ public virtual ArmOperation PowerOn(WaitUntil waitUntil, CancellationToken cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -706,7 +706,7 @@ public virtual async Task PowerOffAsync(WaitUntil waitUntil, Cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -748,7 +748,7 @@ public virtual ArmOperation PowerOff(WaitUntil waitUntil, CancellationToken canc /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -791,7 +791,7 @@ public virtual async Task RestartAsync(WaitUntil waitUntil, RoleIn /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -834,7 +834,7 @@ public virtual ArmOperation Restart(WaitUntil waitUntil, RoleInstances roleInsta /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -877,7 +877,7 @@ public virtual async Task ReimageAsync(WaitUntil waitUntil, RoleIn /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -920,7 +920,7 @@ public virtual ArmOperation Reimage(WaitUntil waitUntil, RoleInstances roleInsta /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -963,7 +963,7 @@ public virtual async Task RebuildAsync(WaitUntil waitUntil, RoleIn /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -1006,7 +1006,7 @@ public virtual ArmOperation Rebuild(WaitUntil waitUntil, RoleInstances roleInsta /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -1049,7 +1049,7 @@ public virtual async Task DeleteInstancesAsync(WaitUntil waitUntil /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -1092,7 +1092,7 @@ public virtual ArmOperation DeleteInstances(WaitUntil waitUntil, RoleInstances r /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// @@ -1132,7 +1132,7 @@ public virtual async Task WalkUpdateDomainAsync(WaitUntil waitUnti /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// @@ -1172,7 +1172,7 @@ public virtual ArmOperation WalkUpdateDomain(WaitUntil waitUntil, int updateDoma /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// @@ -1207,7 +1207,7 @@ public virtual async Task> GetUpdateDomainAsync /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// @@ -1242,7 +1242,7 @@ public virtual Response GetUpdateDomain(int updateDomain /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// @@ -1268,7 +1268,7 @@ public virtual AsyncPageable GetUpdateDomainsAsync(Cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// @@ -1294,7 +1294,7 @@ public virtual Pageable GetUpdateDomains(CancellationTok /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -1356,7 +1356,7 @@ public virtual async Task> AddTagAsync(string key /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -1418,7 +1418,7 @@ public virtual Response AddTag(string key, string value, C /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -1475,7 +1475,7 @@ public virtual async Task> SetTagsAsync(IDictiona /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -1532,7 +1532,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -1592,7 +1592,7 @@ public virtual async Task> RemoveTagAsync(string /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleCollection.cs index fe309ddf7a21..40eb2ec83246 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -109,7 +109,7 @@ public virtual async Task> GetAsync(string ro /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -154,7 +154,7 @@ public virtual Response Get(string roleName, Cancellat /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -184,7 +184,7 @@ public virtual AsyncPageable GetAllAsync(CancellationT /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -214,7 +214,7 @@ public virtual Pageable GetAll(CancellationToken cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -257,7 +257,7 @@ public virtual async Task> ExistsAsync(string roleName, Cancellat /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -300,7 +300,7 @@ public virtual Response Exists(string roleName, CancellationToken cancella /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -345,7 +345,7 @@ public virtual async Task> GetIfExist /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleInstanceCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleInstanceCollection.cs index 58330e004515..50ed9708962e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleInstanceCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleInstanceCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -111,7 +111,7 @@ public virtual async Task> GetAsync(s /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -157,7 +157,7 @@ public virtual Response Get(string roleInstanc /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable GetAllAsync(Insta /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -219,7 +219,7 @@ public virtual Pageable GetAll(InstanceViewTyp /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -263,7 +263,7 @@ public virtual async Task> ExistsAsync(string roleInstanceName, I /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -307,7 +307,7 @@ public virtual Response Exists(string roleInstanceName, InstanceViewType? /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -353,7 +353,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleInstanceResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleInstanceResource.cs index 5dc47e67e9ad..589481cc6bfc 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleInstanceResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleInstanceResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -144,7 +144,7 @@ public virtual async Task> GetAsync(I /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -185,7 +185,7 @@ public virtual Response Get(InstanceViewType? /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -227,7 +227,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -269,7 +269,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -307,7 +307,7 @@ public virtual async Task> GetInstanceViewAsync(Cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -345,7 +345,7 @@ public virtual Response GetInstanceView(CancellationToken canc /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -387,7 +387,7 @@ public virtual async Task RestartAsync(WaitUntil waitUntil, Cancel /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -429,7 +429,7 @@ public virtual ArmOperation Restart(WaitUntil waitUntil, CancellationToken cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -471,7 +471,7 @@ public virtual async Task ReimageAsync(WaitUntil waitUntil, Cancel /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -513,7 +513,7 @@ public virtual ArmOperation Reimage(WaitUntil waitUntil, CancellationToken cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -555,7 +555,7 @@ public virtual async Task RebuildAsync(WaitUntil waitUntil, Cancel /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -597,7 +597,7 @@ public virtual ArmOperation Rebuild(WaitUntil waitUntil, CancellationToken cance /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -635,7 +635,7 @@ public virtual async Task> GetRemoteDesktopFileAsync(Cancellati /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleResource.cs index fea3377783a3..e0b6345f5acc 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancellat /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/ComputeExtensions.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/ComputeExtensions.cs index 3aea8dcbca37..b1e220dc1587 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/ComputeExtensions.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/ComputeExtensions.cs @@ -2219,7 +2219,7 @@ public static CloudServiceCollection GetCloudServices(this ResourceGroupResource /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -2257,7 +2257,7 @@ public static async Task> GetCloudServiceAsync(th /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -2606,7 +2606,7 @@ public static CloudServiceOSVersionCollection GetCloudServiceOSVersions(this Sub /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -2645,7 +2645,7 @@ public static async Task> GetCloudServic /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -2702,7 +2702,7 @@ public static CloudServiceOSFamilyCollection GetCloudServiceOSFamilies(this Subs /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -2741,7 +2741,7 @@ public static async Task> GetCloudService /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -3987,7 +3987,7 @@ public static Pageable GetVirtualMachineImageEdgeZoneSk /// /// /// The instance the method will execute against. - /// The expand expression to apply to the operation. Allowed values are 'instanceView'. + /// The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'. /// The cancellation token to use. /// is null. /// An async collection of that may take multiple service requests to iterate over. @@ -4024,7 +4024,7 @@ public static AsyncPageable GetAvailabilitySetsAsync(th /// /// /// The instance the method will execute against. - /// The expand expression to apply to the operation. Allowed values are 'instanceView'. + /// The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'. /// The cancellation token to use. /// is null. /// A collection of that may take multiple service requests to iterate over. @@ -5198,7 +5198,7 @@ public static Pageable GetGalleries(this SubscriptionResource s /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -5234,7 +5234,7 @@ public static AsyncPageable GetCloudServicesAsync(this Sub /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeResourceGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeResourceGroupResource.cs index f79d11b147cc..bf49bb6354ff 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeResourceGroupResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeResourceGroupResource.cs @@ -1038,7 +1038,7 @@ public virtual CloudServiceCollection GetCloudServices() /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -1069,7 +1069,7 @@ public virtual async Task> GetCloudServiceAsync(s /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeSubscriptionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeSubscriptionResource.cs index fabc7de77c7d..ccfcbfb499e5 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeSubscriptionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeSubscriptionResource.cs @@ -369,7 +369,7 @@ public virtual CloudServiceOSVersionCollection GetCloudServiceOSVersions(AzureLo /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -401,7 +401,7 @@ public virtual async Task> GetCloudServi /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -441,7 +441,7 @@ public virtual CloudServiceOSFamilyCollection GetCloudServiceOSFamilies(AzureLoc /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -473,7 +473,7 @@ public virtual async Task> GetCloudServic /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -1593,7 +1593,7 @@ public virtual Pageable GetVirtualMachineImageEdgeZoneS /// /// /// - /// The expand expression to apply to the operation. Allowed values are 'instanceView'. + /// The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'. /// The cancellation token to use. /// An async collection of that may take multiple service requests to iterate over. public virtual AsyncPageable GetAvailabilitySetsAsync(string expand = null, CancellationToken cancellationToken = default) @@ -1624,7 +1624,7 @@ public virtual AsyncPageable GetAvailabilitySetsAsync(s /// /// /// - /// The expand expression to apply to the operation. Allowed values are 'instanceView'. + /// The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'. /// The cancellation token to use. /// A collection of that may take multiple service requests to iterate over. public virtual Pageable GetAvailabilitySets(string expand = null, CancellationToken cancellationToken = default) @@ -2689,7 +2689,7 @@ public virtual Pageable GetGalleries(CancellationToken cancella /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource @@ -2719,7 +2719,7 @@ public virtual AsyncPageable GetCloudServicesAsync(Cancell /// /// /// Default Api Version - /// 2022-09-04 + /// 2024-11-04 /// /// /// Resource diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceVaultCertificate.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceVaultCertificate.Serialization.cs index fb7a86ccc63c..112b0692cc49 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceVaultCertificate.Serialization.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceVaultCertificate.Serialization.cs @@ -39,6 +39,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("certificateUrl"u8); writer.WriteStringValue(CertificateUri.AbsoluteUri); } + if (Optional.IsDefined(IsBootstrapCertificate)) + { + writer.WritePropertyName("isBootstrapCertificate"u8); + writer.WriteBooleanValue(IsBootstrapCertificate.Value); + } if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -77,6 +82,7 @@ internal static CloudServiceVaultCertificate DeserializeCloudServiceVaultCertifi return null; } Uri certificateUrl = default; + bool? isBootstrapCertificate = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -90,13 +96,22 @@ internal static CloudServiceVaultCertificate DeserializeCloudServiceVaultCertifi certificateUrl = new Uri(property.Value.GetString()); continue; } + if (property.NameEquals("isBootstrapCertificate"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + isBootstrapCertificate = property.Value.GetBoolean(); + continue; + } if (options.Format != "W") { rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); } } serializedAdditionalRawData = rawDataDictionary; - return new CloudServiceVaultCertificate(certificateUrl, serializedAdditionalRawData); + return new CloudServiceVaultCertificate(certificateUrl, isBootstrapCertificate, serializedAdditionalRawData); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceVaultCertificate.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceVaultCertificate.cs index b8dba00892a9..5c8f0f699acb 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceVaultCertificate.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceVaultCertificate.cs @@ -52,14 +52,18 @@ public CloudServiceVaultCertificate() /// Initializes a new instance of . /// This is the URL of a certificate that has been uploaded to Key Vault as a secret. + /// Flag indicating if the certificate provided is a bootstrap certificate to be used by the Key Vault Extension to fetch the remaining certificates. /// Keeps track of any properties unknown to the library. - internal CloudServiceVaultCertificate(Uri certificateUri, IDictionary serializedAdditionalRawData) + internal CloudServiceVaultCertificate(Uri certificateUri, bool? isBootstrapCertificate, IDictionary serializedAdditionalRawData) { CertificateUri = certificateUri; + IsBootstrapCertificate = isBootstrapCertificate; _serializedAdditionalRawData = serializedAdditionalRawData; } /// This is the URL of a certificate that has been uploaded to Key Vault as a secret. public Uri CertificateUri { get; set; } + /// Flag indicating if the certificate provided is a bootstrap certificate to be used by the Key Vault Extension to fetch the remaining certificates. + public bool? IsBootstrapCertificate { get; set; } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/AvailabilitySetsRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/AvailabilitySetsRestOperations.cs index b38415e8e3a3..e03610414f83 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/AvailabilitySetsRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/AvailabilitySetsRestOperations.cs @@ -454,7 +454,7 @@ internal HttpMessage CreateListBySubscriptionRequest(string subscriptionId, stri /// Lists all availability sets in a subscription. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - /// The expand expression to apply to the operation. Allowed values are 'instanceView'. + /// The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. @@ -480,7 +480,7 @@ public async Task> ListBySubscriptionAsync(s /// Lists all availability sets in a subscription. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - /// The expand expression to apply to the operation. Allowed values are 'instanceView'. + /// The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. @@ -709,7 +709,7 @@ internal HttpMessage CreateListBySubscriptionNextPageRequest(string nextLink, st /// Lists all availability sets in a subscription. /// The URL to the next page of results. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - /// The expand expression to apply to the operation. Allowed values are 'instanceView'. + /// The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'. /// The cancellation token to use. /// or is null. /// is an empty string, and was expected to be non-empty. @@ -737,7 +737,7 @@ public async Task> ListBySubscriptionNextPag /// Lists all availability sets in a subscription. /// The URL to the next page of results. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - /// The expand expression to apply to the operation. Allowed values are 'instanceView'. + /// The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'. /// The cancellation token to use. /// or is null. /// is an empty string, and was expected to be non-empty. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceOperatingSystemsRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceOperatingSystemsRestOperations.cs index 77224bebf8d6..984be0efd818 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceOperatingSystemsRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceOperatingSystemsRestOperations.cs @@ -32,7 +32,7 @@ public CloudServiceOperatingSystemsRestOperations(HttpPipeline pipeline, string { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-09-04"; + _apiVersion = apiVersion ?? "2024-11-04"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceRoleInstancesRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceRoleInstancesRestOperations.cs index 012d11909195..0b09c94d8164 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceRoleInstancesRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceRoleInstancesRestOperations.cs @@ -33,7 +33,7 @@ public CloudServiceRoleInstancesRestOperations(HttpPipeline pipeline, string app { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-09-04"; + _apiVersion = apiVersion ?? "2024-11-04"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceRolesRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceRolesRestOperations.cs index 5ef4b3a1aabc..0d0158c306cd 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceRolesRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServiceRolesRestOperations.cs @@ -32,7 +32,7 @@ public CloudServiceRolesRestOperations(HttpPipeline pipeline, string application { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-09-04"; + _apiVersion = apiVersion ?? "2024-11-04"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServicesRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServicesRestOperations.cs index 61fbe0b4becd..28f76402a863 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServicesRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServicesRestOperations.cs @@ -32,7 +32,7 @@ public CloudServicesRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-09-04"; + _apiVersion = apiVersion ?? "2024-11-04"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServicesUpdateDomainRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServicesUpdateDomainRestOperations.cs index 30a58db667eb..a8776aae51e5 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServicesUpdateDomainRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/CloudServicesUpdateDomainRestOperations.cs @@ -32,7 +32,7 @@ public CloudServicesUpdateDomainRestOperations(HttpPipeline pipeline, string app { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-09-04"; + _apiVersion = apiVersion ?? "2024-11-04"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetVMsRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetVMsRestOperations.cs index 11830c19b588..f2c1077f4747 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetVMsRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetVMsRestOperations.cs @@ -1023,7 +1023,7 @@ internal HttpMessage CreatePowerOffRequest(string subscriptionId, string resourc return message; } - /// Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. + /// Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on a virtual machine that is being deallocated or already has been deallocated. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// The name of the resource group. /// The name of the VM scale set. @@ -1051,7 +1051,7 @@ public async Task PowerOffAsync(string subscriptionId, string resource } } - /// Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. + /// Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on a virtual machine that is being deallocated or already has been deallocated. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// The name of the resource group. /// The name of the VM scale set. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetsRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetsRestOperations.cs index aad3198cf2d5..448fa2aeed9b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetsRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetsRestOperations.cs @@ -1234,7 +1234,7 @@ internal HttpMessage CreatePowerOffRequest(string subscriptionId, string resourc return message; } - /// Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. + /// Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// The name of the resource group. /// The name of the VM scale set. @@ -1261,7 +1261,7 @@ public async Task PowerOffAsync(string subscriptionId, string resource } } - /// Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. + /// Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// The name of the resource group. /// The name of the VM scale set. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachinesRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachinesRestOperations.cs index b73fbaea9e2f..6a90c44565e4 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachinesRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachinesRestOperations.cs @@ -1334,7 +1334,7 @@ internal HttpMessage CreatePowerOffRequest(string subscriptionId, string resourc return message; } - /// The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. + /// The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is not allowed on a virtual machine that is being deallocated or has already been deallocated. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// The name of the resource group. /// The name of the virtual machine. @@ -1360,7 +1360,7 @@ public async Task PowerOffAsync(string subscriptionId, string resource } } - /// The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. + /// The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is not allowed on a virtual machine that is being deallocated or has already been deallocated. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// The name of the resource group. /// The name of the virtual machine. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineResource.cs index 11582832989d..83ae60ae2914 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineResource.cs @@ -970,7 +970,7 @@ public virtual Pageable GetAvailableSizes(CancellationToken } /// - /// The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. + /// The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is not allowed on a virtual machine that is being deallocated or has already been deallocated. /// /// /// Request Path @@ -1013,7 +1013,7 @@ public virtual async Task PowerOffAsync(WaitUntil waitUntil, bool? } /// - /// The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. + /// The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is not allowed on a virtual machine that is being deallocated or has already been deallocated. /// /// /// Request Path diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetResource.cs index d242f8dfbbaa..e1cbb2f62a7b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetResource.cs @@ -888,7 +888,7 @@ public virtual Pageable GetOSUpgradeHistor } /// - /// Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. + /// Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated. /// /// /// Request Path @@ -932,7 +932,7 @@ public virtual async Task PowerOffAsync(WaitUntil waitUntil, Virtu } /// - /// Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. + /// Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated. /// /// /// Request Path diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmResource.cs index 58ab3d17dd77..fba2808410c6 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmResource.cs @@ -911,7 +911,7 @@ public virtual Response GetInstanceView(Ca } /// - /// Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. + /// Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on a virtual machine that is being deallocated or already has been deallocated. /// /// /// Request Path @@ -954,7 +954,7 @@ public virtual async Task PowerOffAsync(WaitUntil waitUntil, bool? } /// - /// Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. + /// Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on a virtual machine that is being deallocated or already has been deallocated. /// /// /// Request Path diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md b/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md index 226dcac481be..95deffbbf263 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md +++ b/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md @@ -10,7 +10,7 @@ Run `dotnet build /t:GenerateCode` to generate code. azure-arm: true library-name: Compute namespace: Azure.ResourceManager.Compute -require: https://github.com/Azure/azure-rest-api-specs/blob/b09c9ec927456021dc549e111fa2cac3b4b00659/specification/compute/resource-manager/readme.md +require: https://github.com/Azure/azure-rest-api-specs/blob/bf420af156ea90b4226e96582bdb4c9647491ae6/specification/compute/resource-manager/readme.md #tag: package-2024-03-03 output-folder: $(this-folder)/Generated clear-output-folder: true