From a7ceacb6d38177de0cdd08d3d5ee9dff616fb3a8 Mon Sep 17 00:00:00 2001 From: "Hong Li(MSFT)" <74638143+v-hongli1@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:15:12 +0800 Subject: [PATCH] mgmt, local generation for Compute ComputeRP 2024-07-01 (#41599) * mgmt, local generation for Compute ComputeRP 2024-07-01 --- .../src/main/resources/revapi/revapi.json | 6 + sdk/resourcemanager/api-specs.json | 2 +- .../CHANGELOG.md | 4 + .../azure-resourcemanager-compute/assets.json | 2 +- .../fluent/models/AvailabilitySetInner.java | 26 +++ .../models/AvailabilitySetProperties.java | 36 +++ .../models/CapacityReservationGroupInner.java | 4 +- .../CapacityReservationGroupProperties.java | 6 +- .../models/VirtualMachineScaleSetInner.java | 59 ++++- .../VirtualMachineScaleSetProperties.java | 66 ++++++ ...irtualMachineScaleSetUpdateProperties.java | 66 ++++++ .../models/VirtualMachineScaleSetVMInner.java | 4 +- ...rtualMachineScaleSetVMPropertiesInner.java | 6 +- .../AvailabilitySetsClientImpl.java | 28 +-- .../CapacityReservationGroupsClientImpl.java | 24 +- .../CapacityReservationsClientImpl.java | 20 +- .../DedicatedHostGroupsClientImpl.java | 24 +- .../DedicatedHostsClientImpl.java | 32 +-- .../implementation/ImagesClientImpl.java | 24 +- .../LogAnalyticsClientImpl.java | 8 +- .../implementation/OperationsClientImpl.java | 4 +- .../ProximityPlacementGroupsClientImpl.java | 24 +- .../RestorePointCollectionsClientImpl.java | 24 +- .../RestorePointsClientImpl.java | 12 +- .../SshPublicKeysClientImpl.java | 28 +-- .../implementation/UsagesClientImpl.java | 4 +- ...rtualMachineExtensionImagesClientImpl.java | 12 +- .../VirtualMachineExtensionsClientImpl.java | 20 +- .../VirtualMachineImagesClientImpl.java | 24 +- ...rtualMachineImagesEdgeZonesClientImpl.java | 20 +- .../VirtualMachineRunCommandsClientImpl.java | 28 +-- ...alMachineScaleSetExtensionsClientImpl.java | 20 +- ...hineScaleSetRollingUpgradesClientImpl.java | 16 +- ...MachineScaleSetVMExtensionsClientImpl.java | 20 +- ...achineScaleSetVMRunCommandsClientImpl.java | 20 +- .../VirtualMachineScaleSetVMsClientImpl.java | 72 +++--- .../VirtualMachineScaleSetsClientImpl.java | 100 ++++----- .../VirtualMachineSizesClientImpl.java | 4 +- .../VirtualMachinesClientImpl.java | 104 ++++----- .../compute/models/AllocationStrategy.java | 51 +++++ .../compute/models/AvailabilitySetUpdate.java | 25 +++ .../CapacityReservationGroupInstanceView.java | 4 +- .../CapacityReservationGroupUpdate.java | 4 +- .../compute/models/DataDisk.java | 14 +- .../compute/models/DiskDetachOptionTypes.java | 4 +- .../compute/models/ProxyAgentSettings.java | 2 +- .../models/ResourceSharingProfile.java | 6 +- .../compute/models/SecurityProfile.java | 6 +- .../compute/models/SkuProfile.java | 130 +++++++++++ .../compute/models/SkuProfileVMSize.java | 93 ++++++++ .../models/VirtualMachineScaleSetUpdate.java | 79 +++++++ .../VirtualMachineScaleSetVMProfile.java | 10 +- .../compute/models/WindowsConfiguration.java | 19 +- .../ZonalPlatformFaultDomainAlignMode.java | 51 +++++ .../compute/SharedGalleryImageTests.java | 9 +- .../VirtualMachineBootDiagnosticsTests.java | 2 +- ...rtualMachineCustomImageOperationsTest.java | 4 +- ...VirtualMachineEMSILMSIOperationsTests.java | 11 +- ...rtualMachineEncryptionOperationsTests.java | 2 +- ...tualMachineManagedDiskOperationsTests.java | 5 +- ...ManagedServiceIdentityOperationsTests.java | 2 +- .../VirtualMachinePopularImageTests.java | 9 +- ...achineScaleSetEMSILMSIOperationsTests.java | 16 +- ...ineScaleSetManagedDiskOperationsTests.java | 4 +- ...VirtualMachineScaleSetOperationsTests.java | 2 +- .../VirtualMachineUpdateTests.java | 2 +- ...AvailabilitySetsCreateOrUpdateSamples.java | 25 ++- .../AvailabilitySetsDeleteSamples.java | 4 +- ...labilitySetsGetByResourceGroupSamples.java | 4 +- ...labilitySetsListAvailableSizesSamples.java | 4 +- ...abilitySetsListByResourceGroupSamples.java | 4 +- .../AvailabilitySetsListSamples.java | 2 +- .../AvailabilitySetsUpdateSamples.java | 4 +- ...eservationGroupsCreateOrUpdateSamples.java | 2 +- ...apacityReservationGroupsDeleteSamples.java | 4 +- ...vationGroupsGetByResourceGroupSamples.java | 2 +- ...ationGroupsListByResourceGroupSamples.java | 2 +- .../CapacityReservationGroupsListSamples.java | 4 +- ...apacityReservationGroupsUpdateSamples.java | 4 +- ...cityReservationsCreateOrUpdateSamples.java | 2 +- .../CapacityReservationsDeleteSamples.java | 4 +- .../CapacityReservationsGetSamples.java | 2 +- ...ListByCapacityReservationGroupSamples.java | 2 +- .../CapacityReservationsUpdateSamples.java | 4 +- ...icatedHostGroupsCreateOrUpdateSamples.java | 4 +- .../DedicatedHostGroupsDeleteSamples.java | 4 +- ...edHostGroupsGetByResourceGroupSamples.java | 4 +- ...dHostGroupsListByResourceGroupSamples.java | 4 +- .../DedicatedHostGroupsListSamples.java | 4 +- .../DedicatedHostGroupsUpdateSamples.java | 4 +- .../DedicatedHostsCreateOrUpdateSamples.java | 2 +- .../DedicatedHostsDeleteSamples.java | 4 +- .../generated/DedicatedHostsGetSamples.java | 2 +- ...dicatedHostsListAvailableSizesSamples.java | 2 +- .../DedicatedHostsListByHostGroupSamples.java | 4 +- .../DedicatedHostsRedeploySamples.java | 2 +- .../DedicatedHostsRestartSamples.java | 2 +- .../DedicatedHostsUpdateSamples.java | 6 +- .../ImagesCreateOrUpdateSamples.java | 20 +- .../generated/ImagesDeleteSamples.java | 4 +- .../ImagesGetByResourceGroupSamples.java | 2 +- .../ImagesListByResourceGroupSamples.java | 2 +- .../compute/generated/ImagesListSamples.java | 2 +- .../generated/ImagesUpdateSamples.java | 2 +- ...icsExportRequestRateByIntervalSamples.java | 2 +- ...alyticsExportThrottledRequestsSamples.java | 2 +- .../generated/OperationsListSamples.java | 4 +- ...yPlacementGroupsCreateOrUpdateSamples.java | 2 +- ...ProximityPlacementGroupsDeleteSamples.java | 2 +- ...cementGroupsGetByResourceGroupSamples.java | 2 +- ...ementGroupsListByResourceGroupSamples.java | 2 +- .../ProximityPlacementGroupsListSamples.java | 2 +- ...ProximityPlacementGroupsUpdateSamples.java | 2 +- ...PointCollectionsCreateOrUpdateSamples.java | 4 +- .../RestorePointCollectionsDeleteSamples.java | 4 +- ...tCollectionsGetByResourceGroupSamples.java | 4 +- ...CollectionsListByResourceGroupSamples.java | 2 +- .../RestorePointCollectionsListSamples.java | 2 +- .../RestorePointCollectionsUpdateSamples.java | 4 +- .../generated/RestorePointsCreateSamples.java | 4 +- .../generated/RestorePointsDeleteSamples.java | 4 +- .../generated/RestorePointsGetSamples.java | 4 +- .../generated/SshPublicKeysCreateSamples.java | 2 +- .../generated/SshPublicKeysDeleteSamples.java | 4 +- .../SshPublicKeysGenerateKeyPairSamples.java | 8 +- ...shPublicKeysGetByResourceGroupSamples.java | 2 +- ...hPublicKeysListByResourceGroupSamples.java | 4 +- .../generated/SshPublicKeysListSamples.java | 4 +- .../generated/SshPublicKeysUpdateSamples.java | 4 +- .../compute/generated/UsageListSamples.java | 4 +- ...rtualMachineExtensionImagesGetSamples.java | 4 +- ...achineExtensionImagesListTypesSamples.java | 4 +- ...ineExtensionImagesListVersionsSamples.java | 4 +- ...achineExtensionsCreateOrUpdateSamples.java | 4 +- ...VirtualMachineExtensionsDeleteSamples.java | 4 +- .../VirtualMachineExtensionsGetSamples.java | 4 +- .../VirtualMachineExtensionsListSamples.java | 4 +- ...VirtualMachineExtensionsUpdateSamples.java | 2 +- ...irtualMachineImagesEdgeZoneGetSamples.java | 4 +- ...achineImagesEdgeZoneListOffersSamples.java | 4 +- ...neImagesEdgeZoneListPublishersSamples.java | 4 +- ...rtualMachineImagesEdgeZoneListSamples.java | 4 +- ...lMachineImagesEdgeZoneListSkusSamples.java | 4 +- .../VirtualMachineImagesGetSamples.java | 4 +- ...ualMachineImagesListByEdgeZoneSamples.java | 4 +- ...VirtualMachineImagesListOffersSamples.java | 4 +- ...ualMachineImagesListPublishersSamples.java | 4 +- .../VirtualMachineImagesListSamples.java | 4 +- .../VirtualMachineImagesListSkusSamples.java | 4 +- ...chineRunCommandsCreateOrUpdateSamples.java | 2 +- ...irtualMachineRunCommandsDeleteSamples.java | 2 +- ...RunCommandsGetByVirtualMachineSamples.java | 2 +- .../VirtualMachineRunCommandsGetSamples.java | 2 +- ...unCommandsListByVirtualMachineSamples.java | 2 +- .../VirtualMachineRunCommandsListSamples.java | 2 +- ...irtualMachineRunCommandsUpdateSamples.java | 2 +- ...aleSetExtensionsCreateOrUpdateSamples.java | 4 +- ...achineScaleSetExtensionsDeleteSamples.java | 4 +- ...alMachineScaleSetExtensionsGetSamples.java | 4 +- ...lMachineScaleSetExtensionsListSamples.java | 4 +- ...achineScaleSetExtensionsUpdateSamples.java | 4 +- ...eScaleSetRollingUpgradesCancelSamples.java | 4 +- ...aleSetRollingUpgradesGetLatestSamples.java | 4 +- ...gUpgradesStartExtensionUpgradeSamples.java | 2 +- ...tRollingUpgradesStartOSUpgradeSamples.java | 4 +- ...eSetVMExtensionsCreateOrUpdateSamples.java | 2 +- ...hineScaleSetVMExtensionsDeleteSamples.java | 2 +- ...MachineScaleSetVMExtensionsGetSamples.java | 2 +- ...achineScaleSetVMExtensionsListSamples.java | 2 +- ...hineScaleSetVMExtensionsUpdateSamples.java | 2 +- ...SetVMRunCommandsCreateOrUpdateSamples.java | 2 +- ...ineScaleSetVMRunCommandsDeleteSamples.java | 2 +- ...achineScaleSetVMRunCommandsGetSamples.java | 2 +- ...chineScaleSetVMRunCommandsListSamples.java | 2 +- ...ineScaleSetVMRunCommandsUpdateSamples.java | 2 +- ...aleSetVMsApproveRollingUpgradeSamples.java | 2 +- ...aleSetVMsAttachDetachDataDisksSamples.java | 4 +- ...alMachineScaleSetVMsDeallocateSamples.java | 4 +- ...irtualMachineScaleSetVMsDeleteSamples.java | 2 +- ...hineScaleSetVMsGetInstanceViewSamples.java | 2 +- .../VirtualMachineScaleSetVMsGetSamples.java | 4 +- .../VirtualMachineScaleSetVMsListSamples.java | 4 +- ...eScaleSetVMsPerformMaintenanceSamples.java | 4 +- ...tualMachineScaleSetVMsPowerOffSamples.java | 4 +- ...tualMachineScaleSetVMsRedeploySamples.java | 4 +- ...alMachineScaleSetVMsReimageAllSamples.java | 4 +- ...rtualMachineScaleSetVMsReimageSamples.java | 4 +- ...rtualMachineScaleSetVMsRestartSamples.java | 4 +- ...VMsRetrieveBootDiagnosticsDataSamples.java | 2 +- ...alMachineScaleSetVMsRunCommandSamples.java | 2 +- ...ineScaleSetVMsSimulateEvictionSamples.java | 2 +- ...VirtualMachineScaleSetVMsStartSamples.java | 4 +- ...irtualMachineScaleSetVMsUpdateSamples.java | 4 +- ...ScaleSetsApproveRollingUpgradeSamples.java | 2 +- ...sConvertToSinglePlacementGroupSamples.java | 4 +- ...MachineScaleSetsCreateOrUpdateSamples.java | 207 ++++++++++++++---- ...tualMachineScaleSetsDeallocateSamples.java | 4 +- ...achineScaleSetsDeleteInstancesSamples.java | 4 +- .../VirtualMachineScaleSetsDeleteSamples.java | 2 +- ...FabricPlatformUpdateDomainWalkSamples.java | 4 +- ...ineScaleSetsGetByResourceGroupSamples.java | 8 +- ...achineScaleSetsGetInstanceViewSamples.java | 4 +- ...neScaleSetsGetOSUpgradeHistorySamples.java | 4 +- ...MachineScaleSetsListByLocationSamples.java | 2 +- ...neScaleSetsListByResourceGroupSamples.java | 4 +- .../VirtualMachineScaleSetsListSamples.java | 4 +- ...irtualMachineScaleSetsListSkusSamples.java | 4 +- ...ineScaleSetsPerformMaintenanceSamples.java | 4 +- ...irtualMachineScaleSetsPowerOffSamples.java | 4 +- ...VirtualMachineScaleSetsReapplySamples.java | 4 +- ...irtualMachineScaleSetsRedeploySamples.java | 4 +- ...tualMachineScaleSetsReimageAllSamples.java | 4 +- ...VirtualMachineScaleSetsReimageSamples.java | 4 +- ...VirtualMachineScaleSetsRestartSamples.java | 4 +- ...tsSetOrchestrationServiceStateSamples.java | 4 +- .../VirtualMachineScaleSetsStartSamples.java | 4 +- ...achineScaleSetsUpdateInstancesSamples.java | 4 +- .../VirtualMachineScaleSetsUpdateSamples.java | 5 +- .../VirtualMachineSizesListSamples.java | 4 +- .../VirtualMachinesAssessPatchesSamples.java | 2 +- ...lMachinesAttachDetachDataDisksSamples.java | 4 +- .../VirtualMachinesCaptureSamples.java | 4 +- ...lMachinesConvertToManagedDisksSamples.java | 4 +- .../VirtualMachinesCreateOrUpdateSamples.java | 98 ++++----- .../VirtualMachinesDeallocateSamples.java | 4 +- .../VirtualMachinesDeleteSamples.java | 2 +- .../VirtualMachinesGeneralizeSamples.java | 2 +- ...tualMachinesGetByResourceGroupSamples.java | 8 +- .../VirtualMachinesInstallPatchesSamples.java | 2 +- .../VirtualMachinesInstanceViewSamples.java | 4 +- ...tualMachinesListAvailableSizesSamples.java | 2 +- .../VirtualMachinesListByLocationSamples.java | 2 +- ...ualMachinesListByResourceGroupSamples.java | 4 +- .../generated/VirtualMachinesListSamples.java | 4 +- ...tualMachinesPerformMaintenanceSamples.java | 4 +- .../VirtualMachinesPowerOffSamples.java | 4 +- .../VirtualMachinesReapplySamples.java | 2 +- .../VirtualMachinesRedeploySamples.java | 4 +- .../VirtualMachinesReimageSamples.java | 4 +- .../VirtualMachinesRestartSamples.java | 4 +- ...nesRetrieveBootDiagnosticsDataSamples.java | 2 +- .../VirtualMachinesRunCommandSamples.java | 2 +- ...irtualMachinesSimulateEvictionSamples.java | 2 +- .../VirtualMachinesStartSamples.java | 4 +- .../VirtualMachinesUpdateSamples.java | 4 +- 245 files changed, 1658 insertions(+), 844 deletions(-) create mode 100644 sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/AllocationStrategy.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SkuProfile.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SkuProfileVMSize.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ZonalPlatformFaultDomainAlignMode.java diff --git a/eng/code-quality-reports/src/main/resources/revapi/revapi.json b/eng/code-quality-reports/src/main/resources/revapi/revapi.json index 43617f00c182c..7390dc8a984a5 100644 --- a/eng/code-quality-reports/src/main/resources/revapi/revapi.json +++ b/eng/code-quality-reports/src/main/resources/revapi/revapi.json @@ -633,6 +633,12 @@ "old": "class com.azure.resourcemanager.sql.models.UserIdentity", "new": "class com.azure.resourcemanager.sql.models.UserIdentity", "justification": "Customer unlikely to subclass this class." + }, + { + "ignore": true, + "code": "java.method.removed", + "old": "method com.azure.resourcemanager.compute.models.WindowsConfiguration com.azure.resourcemanager.compute.models.WindowsConfiguration::withEnableVMAgentPlatformUpdates(java.lang.Boolean)", + "justification": "Service changed the property to readOnly." } ] } diff --git a/sdk/resourcemanager/api-specs.json b/sdk/resourcemanager/api-specs.json index c0a220d34b2b5..df9f7c08064b1 100644 --- a/sdk/resourcemanager/api-specs.json +++ b/sdk/resourcemanager/api-specs.json @@ -40,7 +40,7 @@ "dir": "azure-resourcemanager-compute", "source": "specification/compute/resource-manager/readme.md", "package": "com.azure.resourcemanager.compute", - "args": "--tag=package-2024-03-02 --modelerfour.lenient-model-deduplication=true --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes --remove-inner=StorageProfile" + "args": "--tag=package-2024-07-01 --modelerfour.lenient-model-deduplication=true --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes --remove-inner=StorageProfile" }, "compute-hybrid": { "dir": "../resourcemanagerhybrid/azure-resourcemanager-compute", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md index a1b4199f74a7a..b9454dabd427d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md @@ -14,6 +14,10 @@ - Replaced `Jackson` with `azure-json` for serialization/deserialization. +#### Dependency Updates + +- Updated `api-version` of ComputeRP to `2024-07-01`. + ## 2.41.0 (2024-07-25) ### Breaking Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/assets.json b/sdk/resourcemanager/azure-resourcemanager-compute/assets.json index cf3624a2f5221..898e87016e9c4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/assets.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "java", "TagPrefix": "java/resourcemanager/azure-resourcemanager-compute", - "Tag": "java/resourcemanager/azure-resourcemanager-compute_edd86fab08" + "Tag": "java/resourcemanager/azure-resourcemanager-compute_84b714bb03" } diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/AvailabilitySetInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/AvailabilitySetInner.java index d6cf26d3e8ccd..7826a8b8763c4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/AvailabilitySetInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/AvailabilitySetInner.java @@ -11,6 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.compute.models.InstanceViewStatus; +import com.azure.resourcemanager.compute.models.ScheduledEventsPolicy; import com.azure.resourcemanager.compute.models.Sku; import java.io.IOException; import java.util.List; @@ -244,6 +245,31 @@ public List statuses() { return this.innerProperties() == null ? null : this.innerProperties().statuses(); } + /** + * Get the scheduledEventsPolicy property: Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets + * Scheduled Event related configurations for the availability set. + * + * @return the scheduledEventsPolicy value. + */ + public ScheduledEventsPolicy scheduledEventsPolicy() { + return this.innerProperties() == null ? null : this.innerProperties().scheduledEventsPolicy(); + } + + /** + * Set the scheduledEventsPolicy property: Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets + * Scheduled Event related configurations for the availability set. + * + * @param scheduledEventsPolicy the scheduledEventsPolicy value to set. + * @return the AvailabilitySetInner object itself. + */ + public AvailabilitySetInner withScheduledEventsPolicy(ScheduledEventsPolicy scheduledEventsPolicy) { + if (this.innerProperties() == null) { + this.innerProperties = new AvailabilitySetProperties(); + } + this.innerProperties().withScheduledEventsPolicy(scheduledEventsPolicy); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/AvailabilitySetProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/AvailabilitySetProperties.java index ebde035df6f87..af1c946631575 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/AvailabilitySetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/AvailabilitySetProperties.java @@ -11,6 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.compute.models.InstanceViewStatus; +import com.azure.resourcemanager.compute.models.ScheduledEventsPolicy; import java.io.IOException; import java.util.List; @@ -45,6 +46,12 @@ public final class AvailabilitySetProperties implements JsonSerializable statuses; + /* + * Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations + * for the availability set. + */ + private ScheduledEventsPolicy scheduledEventsPolicy; + /** * Creates an instance of AvailabilitySetProperties class. */ @@ -142,6 +149,28 @@ public List statuses() { return this.statuses; } + /** + * Get the scheduledEventsPolicy property: Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets + * Scheduled Event related configurations for the availability set. + * + * @return the scheduledEventsPolicy value. + */ + public ScheduledEventsPolicy scheduledEventsPolicy() { + return this.scheduledEventsPolicy; + } + + /** + * Set the scheduledEventsPolicy property: Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets + * Scheduled Event related configurations for the availability set. + * + * @param scheduledEventsPolicy the scheduledEventsPolicy value to set. + * @return the AvailabilitySetProperties object itself. + */ + public AvailabilitySetProperties withScheduledEventsPolicy(ScheduledEventsPolicy scheduledEventsPolicy) { + this.scheduledEventsPolicy = scheduledEventsPolicy; + return this; + } + /** * Validates the instance. * @@ -151,6 +180,9 @@ public void validate() { if (statuses() != null) { statuses().forEach(e -> e.validate()); } + if (scheduledEventsPolicy() != null) { + scheduledEventsPolicy().validate(); + } } /** @@ -164,6 +196,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("virtualMachines", this.virtualMachines, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("proximityPlacementGroup", this.proximityPlacementGroup); + jsonWriter.writeJsonField("scheduledEventsPolicy", this.scheduledEventsPolicy); return jsonWriter.writeEndObject(); } @@ -197,6 +230,9 @@ public static AvailabilitySetProperties fromJson(JsonReader jsonReader) throws I List statuses = reader.readArray(reader1 -> InstanceViewStatus.fromJson(reader1)); deserializedAvailabilitySetProperties.statuses = statuses; + } else if ("scheduledEventsPolicy".equals(fieldName)) { + deserializedAvailabilitySetProperties.scheduledEventsPolicy + = ScheduledEventsPolicy.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationGroupInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationGroupInner.java index 2e05eef2e2bfb..304fa0ea8c4c5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationGroupInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationGroupInner.java @@ -171,7 +171,7 @@ public CapacityReservationGroupInstanceView instanceView() { * Get the sharingProfile property: Specifies the settings to enable sharing across subscriptions for the capacity * reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared * across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship - * established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to + * established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to * https://aka.ms/computereservationsharing for more details. * * @return the sharingProfile value. @@ -184,7 +184,7 @@ public ResourceSharingProfile sharingProfile() { * Set the sharingProfile property: Specifies the settings to enable sharing across subscriptions for the capacity * reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared * across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship - * established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to + * established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to * https://aka.ms/computereservationsharing for more details. * * @param sharingProfile the sharingProfile value to set. diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationGroupProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationGroupProperties.java index eb247d3349873..5d336e27068af 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationGroupProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationGroupProperties.java @@ -40,7 +40,7 @@ public final class CapacityReservationGroupProperties implements JsonSerializabl * Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. * keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a * single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. - * **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more + * **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more * details. */ private ResourceSharingProfile sharingProfile; @@ -85,7 +85,7 @@ public CapacityReservationGroupInstanceView instanceView() { * Get the sharingProfile property: Specifies the settings to enable sharing across subscriptions for the capacity * reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared * across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship - * established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to + * established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to * https://aka.ms/computereservationsharing for more details. * * @return the sharingProfile value. @@ -98,7 +98,7 @@ public ResourceSharingProfile sharingProfile() { * Set the sharingProfile property: Specifies the settings to enable sharing across subscriptions for the capacity * reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared * across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship - * established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to + * established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to * https://aka.ms/computereservationsharing for more details. * * @param sharingProfile the sharingProfile value to set. diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetInner.java index f87a26845803e..e756898fbb35d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetInner.java @@ -20,10 +20,12 @@ import com.azure.resourcemanager.compute.models.ScaleInPolicy; import com.azure.resourcemanager.compute.models.ScheduledEventsPolicy; import com.azure.resourcemanager.compute.models.Sku; +import com.azure.resourcemanager.compute.models.SkuProfile; import com.azure.resourcemanager.compute.models.SpotRestorePolicy; import com.azure.resourcemanager.compute.models.UpgradePolicy; import com.azure.resourcemanager.compute.models.VirtualMachineScaleSetIdentity; import com.azure.resourcemanager.compute.models.VirtualMachineScaleSetVMProfile; +import com.azure.resourcemanager.compute.models.ZonalPlatformFaultDomainAlignMode; import java.io.IOException; import java.time.OffsetDateTime; import java.util.List; @@ -58,7 +60,7 @@ public final class VirtualMachineScaleSetInner extends Resource { private VirtualMachineScaleSetIdentity identity; /* - * The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set + * The virtual machine scale set zones. */ private List zones; @@ -172,8 +174,7 @@ public VirtualMachineScaleSetInner withIdentity(VirtualMachineScaleSetIdentity i } /** - * Get the zones property: The virtual machine scale set zones. NOTE: Availability zones can only be set when you - * create the scale set. + * Get the zones property: The virtual machine scale set zones. * * @return the zones value. */ @@ -182,8 +183,7 @@ public List zones() { } /** - * Set the zones property: The virtual machine scale set zones. NOTE: Availability zones can only be set when you - * create the scale set. + * Set the zones property: The virtual machine scale set zones. * * @param zones the zones value to set. * @return the VirtualMachineScaleSetInner object itself. @@ -739,6 +739,55 @@ public VirtualMachineScaleSetInner withResiliencyPolicy(ResiliencyPolicy resilie return this; } + /** + * Get the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set + * compute and storage Fault Domain count. + * + * @return the zonalPlatformFaultDomainAlignMode value. + */ + public ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode() { + return this.innerProperties() == null ? null : this.innerProperties().zonalPlatformFaultDomainAlignMode(); + } + + /** + * Set the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set + * compute and storage Fault Domain count. + * + * @param zonalPlatformFaultDomainAlignMode the zonalPlatformFaultDomainAlignMode value to set. + * @return the VirtualMachineScaleSetInner object itself. + */ + public VirtualMachineScaleSetInner + withZonalPlatformFaultDomainAlignMode(ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode) { + if (this.innerProperties() == null) { + this.innerProperties = new VirtualMachineScaleSetProperties(); + } + this.innerProperties().withZonalPlatformFaultDomainAlignMode(zonalPlatformFaultDomainAlignMode); + return this; + } + + /** + * Get the skuProfile property: Specifies the sku profile for the virtual machine scale set. + * + * @return the skuProfile value. + */ + public SkuProfile skuProfile() { + return this.innerProperties() == null ? null : this.innerProperties().skuProfile(); + } + + /** + * Set the skuProfile property: Specifies the sku profile for the virtual machine scale set. + * + * @param skuProfile the skuProfile value to set. + * @return the VirtualMachineScaleSetInner object itself. + */ + public VirtualMachineScaleSetInner withSkuProfile(SkuProfile skuProfile) { + if (this.innerProperties() == null) { + this.innerProperties = new VirtualMachineScaleSetProperties(); + } + this.innerProperties().withSkuProfile(skuProfile); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetProperties.java index 4560046d635a4..89ad0fa8e0f1a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetProperties.java @@ -18,9 +18,11 @@ import com.azure.resourcemanager.compute.models.ResiliencyPolicy; import com.azure.resourcemanager.compute.models.ScaleInPolicy; import com.azure.resourcemanager.compute.models.ScheduledEventsPolicy; +import com.azure.resourcemanager.compute.models.SkuProfile; import com.azure.resourcemanager.compute.models.SpotRestorePolicy; import com.azure.resourcemanager.compute.models.UpgradePolicy; import com.azure.resourcemanager.compute.models.VirtualMachineScaleSetVMProfile; +import com.azure.resourcemanager.compute.models.ZonalPlatformFaultDomainAlignMode; import java.io.IOException; import java.time.OffsetDateTime; @@ -143,6 +145,16 @@ public final class VirtualMachineScaleSetProperties implements JsonSerializable< */ private ResiliencyPolicy resiliencyPolicy; + /* + * Specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count. + */ + private ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode; + + /* + * Specifies the sku profile for the virtual machine scale set. + */ + private SkuProfile skuProfile; + /** * Creates an instance of VirtualMachineScaleSetProperties class. */ @@ -563,6 +575,49 @@ public VirtualMachineScaleSetProperties withResiliencyPolicy(ResiliencyPolicy re return this; } + /** + * Get the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set + * compute and storage Fault Domain count. + * + * @return the zonalPlatformFaultDomainAlignMode value. + */ + public ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode() { + return this.zonalPlatformFaultDomainAlignMode; + } + + /** + * Set the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set + * compute and storage Fault Domain count. + * + * @param zonalPlatformFaultDomainAlignMode the zonalPlatformFaultDomainAlignMode value to set. + * @return the VirtualMachineScaleSetProperties object itself. + */ + public VirtualMachineScaleSetProperties + withZonalPlatformFaultDomainAlignMode(ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode) { + this.zonalPlatformFaultDomainAlignMode = zonalPlatformFaultDomainAlignMode; + return this; + } + + /** + * Get the skuProfile property: Specifies the sku profile for the virtual machine scale set. + * + * @return the skuProfile value. + */ + public SkuProfile skuProfile() { + return this.skuProfile; + } + + /** + * Set the skuProfile property: Specifies the sku profile for the virtual machine scale set. + * + * @param skuProfile the skuProfile value to set. + * @return the VirtualMachineScaleSetProperties object itself. + */ + public VirtualMachineScaleSetProperties withSkuProfile(SkuProfile skuProfile) { + this.skuProfile = skuProfile; + return this; + } + /** * Validates the instance. * @@ -596,6 +651,9 @@ public void validate() { if (resiliencyPolicy() != null) { resiliencyPolicy().validate(); } + if (skuProfile() != null) { + skuProfile().validate(); + } } /** @@ -624,6 +682,9 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("priorityMixPolicy", this.priorityMixPolicy); jsonWriter.writeBooleanField("constrainedMaximumCapacity", this.constrainedMaximumCapacity); jsonWriter.writeJsonField("resiliencyPolicy", this.resiliencyPolicy); + jsonWriter.writeStringField("zonalPlatformFaultDomainAlignMode", + this.zonalPlatformFaultDomainAlignMode == null ? null : this.zonalPlatformFaultDomainAlignMode.toString()); + jsonWriter.writeJsonField("skuProfile", this.skuProfile); return jsonWriter.writeEndObject(); } @@ -697,6 +758,11 @@ public static VirtualMachineScaleSetProperties fromJson(JsonReader jsonReader) t = reader.getNullable(JsonReader::getBoolean); } else if ("resiliencyPolicy".equals(fieldName)) { deserializedVirtualMachineScaleSetProperties.resiliencyPolicy = ResiliencyPolicy.fromJson(reader); + } else if ("zonalPlatformFaultDomainAlignMode".equals(fieldName)) { + deserializedVirtualMachineScaleSetProperties.zonalPlatformFaultDomainAlignMode + = ZonalPlatformFaultDomainAlignMode.fromString(reader.getString()); + } else if ("skuProfile".equals(fieldName)) { + deserializedVirtualMachineScaleSetProperties.skuProfile = SkuProfile.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetUpdateProperties.java index 7d6c5cccab4af..d721906b17cd1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetUpdateProperties.java @@ -15,9 +15,11 @@ import com.azure.resourcemanager.compute.models.PriorityMixPolicy; import com.azure.resourcemanager.compute.models.ResiliencyPolicy; import com.azure.resourcemanager.compute.models.ScaleInPolicy; +import com.azure.resourcemanager.compute.models.SkuProfile; import com.azure.resourcemanager.compute.models.SpotRestorePolicy; import com.azure.resourcemanager.compute.models.UpgradePolicy; import com.azure.resourcemanager.compute.models.VirtualMachineScaleSetUpdateVMProfile; +import com.azure.resourcemanager.compute.models.ZonalPlatformFaultDomainAlignMode; import java.io.IOException; /** @@ -92,6 +94,16 @@ public final class VirtualMachineScaleSetUpdateProperties */ private ResiliencyPolicy resiliencyPolicy; + /* + * Specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count. + */ + private ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode; + + /* + * Specifies the sku profile for the virtual machine scale set. + */ + private SkuProfile skuProfile; + /** * Creates an instance of VirtualMachineScaleSetUpdateProperties class. */ @@ -360,6 +372,49 @@ public VirtualMachineScaleSetUpdateProperties withResiliencyPolicy(ResiliencyPol return this; } + /** + * Get the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set + * compute and storage Fault Domain count. + * + * @return the zonalPlatformFaultDomainAlignMode value. + */ + public ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode() { + return this.zonalPlatformFaultDomainAlignMode; + } + + /** + * Set the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set + * compute and storage Fault Domain count. + * + * @param zonalPlatformFaultDomainAlignMode the zonalPlatformFaultDomainAlignMode value to set. + * @return the VirtualMachineScaleSetUpdateProperties object itself. + */ + public VirtualMachineScaleSetUpdateProperties + withZonalPlatformFaultDomainAlignMode(ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode) { + this.zonalPlatformFaultDomainAlignMode = zonalPlatformFaultDomainAlignMode; + return this; + } + + /** + * Get the skuProfile property: Specifies the sku profile for the virtual machine scale set. + * + * @return the skuProfile value. + */ + public SkuProfile skuProfile() { + return this.skuProfile; + } + + /** + * Set the skuProfile property: Specifies the sku profile for the virtual machine scale set. + * + * @param skuProfile the skuProfile value to set. + * @return the VirtualMachineScaleSetUpdateProperties object itself. + */ + public VirtualMachineScaleSetUpdateProperties withSkuProfile(SkuProfile skuProfile) { + this.skuProfile = skuProfile; + return this; + } + /** * Validates the instance. * @@ -390,6 +445,9 @@ public void validate() { if (resiliencyPolicy() != null) { resiliencyPolicy().validate(); } + if (skuProfile() != null) { + skuProfile().validate(); + } } /** @@ -411,6 +469,9 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("priorityMixPolicy", this.priorityMixPolicy); jsonWriter.writeJsonField("spotRestorePolicy", this.spotRestorePolicy); jsonWriter.writeJsonField("resiliencyPolicy", this.resiliencyPolicy); + jsonWriter.writeStringField("zonalPlatformFaultDomainAlignMode", + this.zonalPlatformFaultDomainAlignMode == null ? null : this.zonalPlatformFaultDomainAlignMode.toString()); + jsonWriter.writeJsonField("skuProfile", this.skuProfile); return jsonWriter.writeEndObject(); } @@ -464,6 +525,11 @@ public static VirtualMachineScaleSetUpdateProperties fromJson(JsonReader jsonRea } else if ("resiliencyPolicy".equals(fieldName)) { deserializedVirtualMachineScaleSetUpdateProperties.resiliencyPolicy = ResiliencyPolicy.fromJson(reader); + } else if ("zonalPlatformFaultDomainAlignMode".equals(fieldName)) { + deserializedVirtualMachineScaleSetUpdateProperties.zonalPlatformFaultDomainAlignMode + = ZonalPlatformFaultDomainAlignMode.fromString(reader.getString()); + } else if ("skuProfile".equals(fieldName)) { + deserializedVirtualMachineScaleSetUpdateProperties.skuProfile = SkuProfile.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMInner.java index 797d98e772734..a697c31a868c4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMInner.java @@ -585,7 +585,7 @@ public VirtualMachineScaleSetVMProtectionPolicy protectionPolicy() { /** * Get the userData property: UserData for the VM, which must be base-64 encoded. Customer should not pass any - * secrets in here. <br><br>Minimum api-version: 2021-03-01. + * secrets in here. Minimum api-version: 2021-03-01. * * @return the userData value. */ @@ -595,7 +595,7 @@ public String userData() { /** * Set the userData property: UserData for the VM, which must be base-64 encoded. Customer should not pass any - * secrets in here. <br><br>Minimum api-version: 2021-03-01. + * secrets in here. Minimum api-version: 2021-03-01. * * @param userData the userData value to set. * @return the VirtualMachineScaleSetVMInner object itself. diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMPropertiesInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMPropertiesInner.java index 441755affd214..eda958d642e02 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMPropertiesInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMPropertiesInner.java @@ -126,7 +126,7 @@ public final class VirtualMachineScaleSetVMPropertiesInner private VirtualMachineScaleSetVMProtectionPolicy protectionPolicy; /* - * UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

Minimum + * UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum * api-version: 2021-03-01 */ private String userData; @@ -447,7 +447,7 @@ public VirtualMachineScaleSetVMProtectionPolicy protectionPolicy() { /** * Get the userData property: UserData for the VM, which must be base-64 encoded. Customer should not pass any - * secrets in here. <br><br>Minimum api-version: 2021-03-01. + * secrets in here. Minimum api-version: 2021-03-01. * * @return the userData value. */ @@ -457,7 +457,7 @@ public String userData() { /** * Set the userData property: UserData for the VM, which must be base-64 encoded. Customer should not pass any - * secrets in here. <br><br>Minimum api-version: 2021-03-01. + * secrets in here. Minimum api-version: 2021-03-01. * * @param userData the userData value to set. * @return the VirtualMachineScaleSetVMPropertiesInner object itself. diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/AvailabilitySetsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/AvailabilitySetsClientImpl.java index 091abe7606684..ce19a887de870 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/AvailabilitySetsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/AvailabilitySetsClientImpl.java @@ -191,7 +191,7 @@ public Mono> createOrUpdateWithResponseAsync(Stri } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, @@ -236,7 +236,7 @@ private Mono> createOrUpdateWithResponseAsync(Str } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, availabilitySetName, apiVersion, @@ -334,7 +334,7 @@ public Mono> updateWithResponseAsync(String resou } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, availabilitySetName, @@ -379,7 +379,7 @@ private Mono> updateWithResponseAsync(String reso } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, availabilitySetName, apiVersion, @@ -469,7 +469,7 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, availabilitySetName, @@ -507,7 +507,7 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, availabilitySetName, apiVersion, @@ -589,7 +589,7 @@ public Mono> getByResourceGroupWithResponseAsync( return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -628,7 +628,7 @@ private Mono> getByResourceGroupWithResponseAsync return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, availabilitySetName, apiVersion, @@ -705,7 +705,7 @@ private Mono> listSinglePageAsync(String exp return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), @@ -736,7 +736,7 @@ private Mono> listSinglePageAsync(String exp return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -842,7 +842,7 @@ private Mono> listByResourceGroupSinglePageA return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -878,7 +878,7 @@ private Mono> listByResourceGroupSinglePageA return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -979,7 +979,7 @@ private Mono> listAvailableSizesSinglePag return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listAvailableSizes(this.client.getEndpoint(), resourceGroupName, @@ -1021,7 +1021,7 @@ private Mono> listAvailableSizesSinglePag return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationGroupsClientImpl.java index 9e54ced2b86ae..7f2538da6fc9f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationGroupsClientImpl.java @@ -191,7 +191,7 @@ public Mono> createOrUpdateWithResponseA } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, @@ -237,7 +237,7 @@ private Mono> createOrUpdateWithResponse } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, capacityReservationGroupName, @@ -342,7 +342,7 @@ public Mono> updateWithResponseAsync(Str } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, @@ -388,7 +388,7 @@ private Mono> updateWithResponseAsync(St } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, capacityReservationGroupName, apiVersion, @@ -484,7 +484,7 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, @@ -524,7 +524,7 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, capacityReservationGroupName, apiVersion, @@ -618,7 +618,7 @@ public Mono> getByResourceGroupWithRespo return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -661,7 +661,7 @@ private Mono> getByResourceGroupWithResp return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, capacityReservationGroupName, @@ -758,7 +758,7 @@ private Mono> listByResourceGroupSi return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -798,7 +798,7 @@ private Mono> listByResourceGroupSi return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -937,7 +937,7 @@ private Mono> listSinglePageAsync( return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), @@ -978,7 +978,7 @@ private Mono> listSinglePageAsync( return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationsClientImpl.java index 0c35742dc5c90..e8c32d8a043b6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationsClientImpl.java @@ -181,7 +181,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, @@ -234,7 +234,7 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, capacityReservationGroupName, @@ -461,7 +461,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext( @@ -513,7 +513,7 @@ private Mono>> updateWithResponseAsync(String resource } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, capacityReservationGroupName, @@ -726,7 +726,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext( @@ -772,7 +772,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, capacityReservationGroupName, @@ -983,7 +983,7 @@ public Mono> getWithResponseAsync(String reso return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext( @@ -1032,7 +1032,7 @@ private Mono> getWithResponseAsync(String res return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), resourceGroupName, capacityReservationGroupName, @@ -1131,7 +1131,7 @@ public CapacityReservationInner get(String resourceGroupName, String capacityRes return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByCapacityReservationGroup(this.client.getEndpoint(), resourceGroupName, @@ -1173,7 +1173,7 @@ private Mono> listByCapacityReservationG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostGroupsClientImpl.java index e0f19ae4b427c..7446196718c6c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostGroupsClientImpl.java @@ -179,7 +179,7 @@ public Mono> createOrUpdateWithResponseAsync(S } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, hostGroupName, @@ -224,7 +224,7 @@ private Mono> createOrUpdateWithResponseAsync( } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, hostGroupName, apiVersion, @@ -324,7 +324,7 @@ public Mono> updateWithResponseAsync(String re } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, hostGroupName, @@ -368,7 +368,7 @@ private Mono> updateWithResponseAsync(String r } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, hostGroupName, apiVersion, @@ -457,7 +457,7 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, hostGroupName, @@ -494,7 +494,7 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, hostGroupName, apiVersion, @@ -578,7 +578,7 @@ public Mono> getByResourceGroupWithResponseAsy return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -619,7 +619,7 @@ private Mono> getByResourceGroupWithResponseAs return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, hostGroupName, expand, @@ -706,7 +706,7 @@ private Mono> listByResourceGroupSinglePa return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -743,7 +743,7 @@ private Mono> listByResourceGroupSinglePa return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -838,7 +838,7 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), @@ -869,7 +869,7 @@ private Mono> listSinglePageAsync(Context return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostsClientImpl.java index 23ad2ca3fcb7c..df12b2228bfe0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostsClientImpl.java @@ -200,7 +200,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, hostGroupName, @@ -248,7 +248,7 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, hostGroupName, hostname, apiVersion, @@ -453,7 +453,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, hostGroupName, @@ -501,7 +501,7 @@ private Mono>> updateWithResponseAsync(String resource } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, hostGroupName, hostname, apiVersion, @@ -697,7 +697,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, hostGroupName, @@ -738,7 +738,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, hostGroupName, hostname, apiVersion, @@ -922,7 +922,7 @@ public Mono> getWithResponseAsync(String resourceGr return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, hostGroupName, hostname, @@ -966,7 +966,7 @@ private Mono> getWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), resourceGroupName, hostGroupName, hostname, expand, apiVersion, @@ -1058,7 +1058,7 @@ private Mono> listByHostGroupSinglePageAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByHostGroup(this.client.getEndpoint(), resourceGroupName, hostGroupName, @@ -1099,7 +1099,7 @@ private Mono> listByHostGroupSinglePageAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -1214,7 +1214,7 @@ public Mono>> restartWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.restart(this.client.getEndpoint(), resourceGroupName, hostGroupName, @@ -1258,7 +1258,7 @@ private Mono>> restartWithResponseAsync(String resourc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.restart(this.client.getEndpoint(), resourceGroupName, hostGroupName, hostname, apiVersion, @@ -1466,7 +1466,7 @@ public Mono>> redeployWithResponseAsync(String resourc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.redeploy(this.client.getEndpoint(), resourceGroupName, hostGroupName, @@ -1510,7 +1510,7 @@ private Mono>> redeployWithResponseAsync(String resour return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.redeploy(this.client.getEndpoint(), resourceGroupName, hostGroupName, hostname, apiVersion, @@ -1717,7 +1717,7 @@ private Mono> listAvailableSizesSinglePageAsync(String res return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listAvailableSizes(this.client.getEndpoint(), resourceGroupName, @@ -1762,7 +1762,7 @@ private Mono> listAvailableSizesSinglePageAsync(String res return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ImagesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ImagesClientImpl.java index 4e1c3f2e0e341..34dd4702e7b4c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ImagesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ImagesClientImpl.java @@ -180,7 +180,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, imageName, @@ -224,7 +224,7 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, imageName, apiVersion, @@ -413,7 +413,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, imageName, apiVersion, @@ -457,7 +457,7 @@ private Mono>> updateWithResponseAsync(String resource } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, imageName, apiVersion, @@ -636,7 +636,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, imageName, apiVersion, @@ -673,7 +673,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, imageName, apiVersion, @@ -838,7 +838,7 @@ public Mono> getByResourceGroupWithResponseAsync(String res return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, imageName, @@ -876,7 +876,7 @@ private Mono> getByResourceGroupWithResponseAsync(String re return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, imageName, expand, apiVersion, @@ -959,7 +959,7 @@ private Mono> listByResourceGroupSinglePageAsync(Strin return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -996,7 +996,7 @@ private Mono> listByResourceGroupSinglePageAsync(Strin return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -1089,7 +1089,7 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), @@ -1120,7 +1120,7 @@ private Mono> listSinglePageAsync(Context context) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/LogAnalyticsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/LogAnalyticsClientImpl.java index c0b35c670b5eb..cc7feb1e7ffe5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/LogAnalyticsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/LogAnalyticsClientImpl.java @@ -117,7 +117,7 @@ public Mono>> exportRequestRateByIntervalWithResponseA } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.exportRequestRateByInterval(this.client.getEndpoint(), location, apiVersion, @@ -157,7 +157,7 @@ private Mono>> exportRequestRateByIntervalWithResponse } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.exportRequestRateByInterval(this.client.getEndpoint(), location, apiVersion, @@ -344,7 +344,7 @@ public Mono>> exportThrottledRequestsWithResponseAsync } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.exportThrottledRequests(this.client.getEndpoint(), location, apiVersion, @@ -383,7 +383,7 @@ private Mono>> exportThrottledRequestsWithResponseAsyn } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.exportThrottledRequests(this.client.getEndpoint(), location, apiVersion, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/OperationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/OperationsClientImpl.java index 4193f00838f25..7c809c43542fa 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/OperationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/OperationsClientImpl.java @@ -82,7 +82,7 @@ private Mono> listSinglePageAsync() { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.list(this.client.getEndpoint(), apiVersion, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), @@ -105,7 +105,7 @@ private Mono> listSinglePageAsync(Cont return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), apiVersion, accept, context) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ProximityPlacementGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ProximityPlacementGroupsClientImpl.java index 9d597d503fa20..97987a5d6e122 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ProximityPlacementGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ProximityPlacementGroupsClientImpl.java @@ -183,7 +183,7 @@ public Mono> createOrUpdateWithResponseAs } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, @@ -228,7 +228,7 @@ private Mono> createOrUpdateWithResponseA } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, proximityPlacementGroupName, @@ -326,7 +326,7 @@ public Mono> updateWithResponseAsync(Stri } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, @@ -371,7 +371,7 @@ private Mono> updateWithResponseAsync(Str } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, proximityPlacementGroupName, apiVersion, @@ -459,7 +459,7 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, @@ -497,7 +497,7 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, proximityPlacementGroupName, apiVersion, @@ -582,7 +582,7 @@ public Mono> getByResourceGroupWithRespon return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -624,7 +624,7 @@ private Mono> getByResourceGroupWithRespo return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, proximityPlacementGroupName, @@ -705,7 +705,7 @@ private Mono> listSinglePageAsync() return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), @@ -735,7 +735,7 @@ private Mono> listSinglePageAsync(Co return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) @@ -822,7 +822,7 @@ public PagedIterable list(Context context) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -858,7 +858,7 @@ public PagedIterable list(Context context) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointCollectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointCollectionsClientImpl.java index f66dc44c606df..12f836796ada9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointCollectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointCollectionsClientImpl.java @@ -193,7 +193,7 @@ public Mono> createOrUpdateWithResponseAsy } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), @@ -239,7 +239,7 @@ private Mono> createOrUpdateWithResponseAs } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, @@ -340,7 +340,7 @@ public Mono> updateWithResponseAsync(Strin } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), this.client.getSubscriptionId(), @@ -385,7 +385,7 @@ private Mono> updateWithResponseAsync(Stri } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, @@ -475,7 +475,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter restorePointCollectionName is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), @@ -514,7 +514,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter restorePointCollectionName is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, @@ -694,7 +694,7 @@ public Mono> getByResourceGroupWithRespons return Mono.error( new IllegalArgumentException("Parameter restorePointCollectionName is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext( @@ -736,7 +736,7 @@ private Mono> getByResourceGroupWithRespon return Mono.error( new IllegalArgumentException("Parameter restorePointCollectionName is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, @@ -823,7 +823,7 @@ public RestorePointCollectionInner getByResourceGroup(String resourceGroupName, return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), @@ -859,7 +859,7 @@ public RestorePointCollectionInner getByResourceGroup(String resourceGroupName, return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -951,7 +951,7 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), @@ -983,7 +983,7 @@ private Mono> listSinglePageAsync(Con return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointsClientImpl.java index 8492f40394a2e..d302122916d20 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointsClientImpl.java @@ -142,7 +142,7 @@ public Mono>> createWithResponseAsync(String resourceG } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext( @@ -192,7 +192,7 @@ private Mono>> createWithResponseAsync(String resource } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.create(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, @@ -395,7 +395,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter restorePointName is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), @@ -438,7 +438,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter restorePointName is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, @@ -628,7 +628,7 @@ public Mono> getWithResponseAsync(String resourceGro return Mono .error(new IllegalArgumentException("Parameter restorePointName is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), @@ -673,7 +673,7 @@ private Mono> getWithResponseAsync(String resourceGr return Mono .error(new IllegalArgumentException("Parameter restorePointName is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/SshPublicKeysClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/SshPublicKeysClientImpl.java index 601d811b9b194..80e1638b93646 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/SshPublicKeysClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/SshPublicKeysClientImpl.java @@ -177,7 +177,7 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), @@ -208,7 +208,7 @@ private Mono> listSinglePageAsync(Conte return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) @@ -300,7 +300,7 @@ public PagedIterable list(Context context) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -337,7 +337,7 @@ private Mono> listByResourceGroupSingle return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -447,7 +447,7 @@ public Mono> createWithResponseAsync(String } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.create(this.client.getEndpoint(), resourceGroupName, sshPublicKeyName, @@ -492,7 +492,7 @@ private Mono> createWithResponseAsync(String } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.create(this.client.getEndpoint(), resourceGroupName, sshPublicKeyName, apiVersion, @@ -588,7 +588,7 @@ public Mono> updateWithResponseAsync(String } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, sshPublicKeyName, @@ -633,7 +633,7 @@ private Mono> updateWithResponseAsync(String } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, sshPublicKeyName, apiVersion, @@ -721,7 +721,7 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, sshPublicKeyName, @@ -759,7 +759,7 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, sshPublicKeyName, apiVersion, @@ -841,7 +841,7 @@ public Mono> getByResourceGroupWithResponseA return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -880,7 +880,7 @@ private Mono> getByResourceGroupWithResponse return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, sshPublicKeyName, apiVersion, @@ -970,7 +970,7 @@ public Mono> generateKeyPairWit if (parameters != null) { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.generateKeyPair(this.client.getEndpoint(), resourceGroupName, @@ -1015,7 +1015,7 @@ private Mono> generateKeyPairWi if (parameters != null) { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.generateKeyPair(this.client.getEndpoint(), resourceGroupName, sshPublicKeyName, apiVersion, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/UsagesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/UsagesClientImpl.java index 0a12bc412f69b..65768b036b294 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/UsagesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/UsagesClientImpl.java @@ -101,7 +101,7 @@ private Mono> listSinglePageAsync(String location) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), location, apiVersion, @@ -136,7 +136,7 @@ private Mono> listSinglePageAsync(String location, Con return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionImagesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionImagesClientImpl.java index cf20533895ba4..0864234833052 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionImagesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionImagesClientImpl.java @@ -123,7 +123,7 @@ public Mono> getWithResponseAsync(St return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), location, publisherName, type, version, @@ -167,7 +167,7 @@ private Mono> getWithResponseAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), location, publisherName, type, version, apiVersion, @@ -257,7 +257,7 @@ public Mono>> listTypesWithResp return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listTypes(this.client.getEndpoint(), location, publisherName, apiVersion, @@ -294,7 +294,7 @@ private Mono>> listTypesWithRes return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listTypes(this.client.getEndpoint(), location, publisherName, apiVersion, @@ -383,7 +383,7 @@ public Mono>> listVersionsWithR return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listVersions(this.client.getEndpoint(), location, publisherName, type, @@ -427,7 +427,7 @@ private Mono>> listVersionsWith return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listVersions(this.client.getEndpoint(), location, publisherName, type, filter, top, orderby, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionsClientImpl.java index d5f3af55c3ac3..82d931716059c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionsClientImpl.java @@ -160,7 +160,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmName, @@ -210,7 +210,7 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmName, vmExtensionName, apiVersion, @@ -423,7 +423,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, vmName, @@ -473,7 +473,7 @@ private Mono>> updateWithResponseAsync(String resource } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, vmName, vmExtensionName, apiVersion, @@ -677,7 +677,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, vmName, @@ -719,7 +719,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, vmName, vmExtensionName, apiVersion, @@ -903,7 +903,7 @@ public Mono> getWithResponseAsync(String return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, vmName, vmExtensionName, @@ -947,7 +947,7 @@ private Mono> getWithResponseAsync(String return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), resourceGroupName, vmName, vmExtensionName, expand, apiVersion, @@ -1039,7 +1039,7 @@ public Mono> listWithResponseA return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, vmName, expand, @@ -1078,7 +1078,7 @@ private Mono> listWithResponse return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), resourceGroupName, vmName, expand, apiVersion, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineImagesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineImagesClientImpl.java index 4ee00b699b541..a76b6ff6507f3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineImagesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineImagesClientImpl.java @@ -156,7 +156,7 @@ public Mono> getWithResponseAsync(String loca return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), location, publisherName, offer, skus, @@ -204,7 +204,7 @@ private Mono> getWithResponseAsync(String loc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), location, publisherName, offer, skus, version, apiVersion, @@ -309,7 +309,7 @@ public Mono>> listWithResponseAs return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), location, publisherName, offer, skus, @@ -357,7 +357,7 @@ private Mono>> listWithResponseA return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), location, publisherName, offer, skus, expand, top, orderby, @@ -459,7 +459,7 @@ public Mono>> listOffersWithResp return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listOffers(this.client.getEndpoint(), location, publisherName, apiVersion, @@ -496,7 +496,7 @@ private Mono>> listOffersWithRes return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listOffers(this.client.getEndpoint(), location, publisherName, apiVersion, @@ -575,7 +575,7 @@ public Mono>> listPublishersWith return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listPublishers(this.client.getEndpoint(), location, apiVersion, @@ -608,7 +608,7 @@ private Mono>> listPublishersWit return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listPublishers(this.client.getEndpoint(), location, apiVersion, this.client.getSubscriptionId(), @@ -692,7 +692,7 @@ public Mono>> listSkusWithRespon return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listSkus(this.client.getEndpoint(), location, publisherName, offer, @@ -733,7 +733,7 @@ private Mono>> listSkusWithRespo return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listSkus(this.client.getEndpoint(), location, publisherName, offer, apiVersion, @@ -822,7 +822,7 @@ public Mono> listByEdgeZoneWithRespo return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByEdgeZone(this.client.getEndpoint(), location, edgeZone, apiVersion, @@ -859,7 +859,7 @@ private Mono> listByEdgeZoneWithResp return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listByEdgeZone(this.client.getEndpoint(), location, edgeZone, apiVersion, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineImagesEdgeZonesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineImagesEdgeZonesClientImpl.java index 2b246a9ffa578..49309e3c6cbd2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineImagesEdgeZonesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineImagesEdgeZonesClientImpl.java @@ -154,7 +154,7 @@ public Mono> getWithResponseAsync(String loca return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), location, edgeZone, publisherName, offer, @@ -207,7 +207,7 @@ private Mono> getWithResponseAsync(String loc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), location, edgeZone, publisherName, offer, skus, version, @@ -320,7 +320,7 @@ public Mono>> listWithResponseAs return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), location, edgeZone, publisherName, offer, @@ -374,7 +374,7 @@ private Mono>> listWithResponseA return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), location, edgeZone, publisherName, offer, skus, expand, top, @@ -489,7 +489,7 @@ public Mono>> listOffersWithResp return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listOffers(this.client.getEndpoint(), location, edgeZone, publisherName, @@ -530,7 +530,7 @@ private Mono>> listOffersWithRes return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listOffers(this.client.getEndpoint(), location, edgeZone, publisherName, apiVersion, @@ -619,7 +619,7 @@ public Mono>> listPublishersWith return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listPublishers(this.client.getEndpoint(), location, edgeZone, apiVersion, @@ -656,7 +656,7 @@ private Mono>> listPublishersWit return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listPublishers(this.client.getEndpoint(), location, edgeZone, apiVersion, @@ -748,7 +748,7 @@ public Mono>> listSkusWithRespon return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listSkus(this.client.getEndpoint(), location, edgeZone, publisherName, @@ -793,7 +793,7 @@ private Mono>> listSkusWithRespo return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listSkus(this.client.getEndpoint(), location, edgeZone, publisherName, offer, apiVersion, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineRunCommandsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineRunCommandsClientImpl.java index 2a2f383f27da1..36a84b82862a3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineRunCommandsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineRunCommandsClientImpl.java @@ -182,7 +182,7 @@ private Mono> listSinglePageAsync(Str return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), location, apiVersion, @@ -216,7 +216,7 @@ private Mono> listSinglePageAsync(Str return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service @@ -311,7 +311,7 @@ public Mono> getWithResponseAsync(String locat return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), location, commandId, apiVersion, @@ -348,7 +348,7 @@ private Mono> getWithResponseAsync(String loca return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), location, commandId, apiVersion, this.client.getSubscriptionId(), @@ -440,7 +440,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r } else { runCommand.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmName, @@ -488,7 +488,7 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { runCommand.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmName, runCommandName, apiVersion, @@ -697,7 +697,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { runCommand.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, vmName, runCommandName, @@ -745,7 +745,7 @@ private Mono>> updateWithResponseAsync(String resource } else { runCommand.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, vmName, runCommandName, apiVersion, @@ -945,7 +945,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, vmName, runCommandName, @@ -986,7 +986,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, vmName, runCommandName, apiVersion, @@ -1169,7 +1169,7 @@ public Mono> getByVirtualMachineWithResp return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.getByVirtualMachine(this.client.getEndpoint(), resourceGroupName, vmName, @@ -1212,7 +1212,7 @@ private Mono> getByVirtualMachineWithRes return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.getByVirtualMachine(this.client.getEndpoint(), resourceGroupName, vmName, runCommandName, expand, @@ -1306,7 +1306,7 @@ public VirtualMachineRunCommandInner getByVirtualMachine(String resourceGroupNam return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.listByVirtualMachine(this.client.getEndpoint(), resourceGroupName, vmName, @@ -1347,7 +1347,7 @@ public VirtualMachineRunCommandInner getByVirtualMachine(String resourceGroupNam return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetExtensionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetExtensionsClientImpl.java index d1921d630bc61..37c447c0d2017 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetExtensionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetExtensionsClientImpl.java @@ -176,7 +176,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -227,7 +227,7 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, vmssExtensionName, @@ -445,7 +445,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -495,7 +495,7 @@ private Mono>> updateWithResponseAsync(String resource } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, vmssExtensionName, @@ -701,7 +701,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -743,7 +743,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, vmssExtensionName, @@ -929,7 +929,7 @@ public Mono> getWithResponseAsync return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -973,7 +973,7 @@ private Mono> getWithResponseAsyn return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, vmssExtensionName, expand, @@ -1065,7 +1065,7 @@ private Mono> listSinglePage return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -1105,7 +1105,7 @@ private Mono> listSinglePage return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetRollingUpgradesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetRollingUpgradesClientImpl.java index c149eff651170..5585edb874d9d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetRollingUpgradesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetRollingUpgradesClientImpl.java @@ -129,7 +129,7 @@ public Mono>> cancelWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.cancel(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -166,7 +166,7 @@ private Mono>> cancelWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.cancel(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -333,7 +333,7 @@ public Mono>> startOSUpgradeWithResponseAsync(String r return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.startOSUpgrade(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -371,7 +371,7 @@ private Mono>> startOSUpgradeWithResponseAsync(String return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.startOSUpgrade(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -548,7 +548,7 @@ public Mono>> startExtensionUpgradeWithResponseAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.startExtensionUpgrade(this.client.getEndpoint(), resourceGroupName, @@ -586,7 +586,7 @@ private Mono>> startExtensionUpgradeWithResponseAsync( return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.startExtensionUpgrade(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -765,7 +765,7 @@ public Mono> getLatestWithResponseAsync( return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getLatest(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -803,7 +803,7 @@ private Mono> getLatestWithResponseAsync return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getLatest(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMExtensionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMExtensionsClientImpl.java index dd2e9ffdaf759..039d76c5c8305 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMExtensionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMExtensionsClientImpl.java @@ -169,7 +169,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -224,7 +224,7 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, @@ -457,7 +457,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext( @@ -512,7 +512,7 @@ private Mono>> updateWithResponseAsync(String resource } else { extensionParameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, vmExtensionName, @@ -736,7 +736,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -782,7 +782,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, vmExtensionName, @@ -982,7 +982,7 @@ public Mono> getWithResponseAsy return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -1029,7 +1029,7 @@ private Mono> getWithResponseAs return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, vmExtensionName, @@ -1131,7 +1131,7 @@ public VirtualMachineScaleSetVMExtensionInner get(String resourceGroupName, Stri return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -1174,7 +1174,7 @@ private Mono> listWi return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, expand, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMRunCommandsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMRunCommandsClientImpl.java index 0fb4bb9ca8151..2b56acc9703ea 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMRunCommandsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMRunCommandsClientImpl.java @@ -179,7 +179,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r } else { runCommand.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -232,7 +232,7 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { runCommand.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, @@ -459,7 +459,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { runCommand.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -511,7 +511,7 @@ private Mono>> updateWithResponseAsync(String resource } else { runCommand.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, runCommandName, @@ -728,7 +728,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -773,7 +773,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, runCommandName, @@ -973,7 +973,7 @@ public Mono> getWithResponseAsync(String return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -1020,7 +1020,7 @@ private Mono> getWithResponseAsync(Strin return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, runCommandName, @@ -1122,7 +1122,7 @@ private Mono> listSinglePageAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -1167,7 +1167,7 @@ private Mono> listSinglePageAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMsClientImpl.java index 69a45327fefc4..70bbfcdcc9cc0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMsClientImpl.java @@ -312,7 +312,7 @@ public Mono>> reimageWithResponseAsync(String resource if (vmScaleSetVMReimageInput != null) { vmScaleSetVMReimageInput.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.reimage(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -357,7 +357,7 @@ private Mono>> reimageWithResponseAsync(String resourc if (vmScaleSetVMReimageInput != null) { vmScaleSetVMReimageInput.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.reimage(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, apiVersion, @@ -593,7 +593,7 @@ public Mono>> reimageAllWithResponseAsync(String resou return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.reimageAll(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -635,7 +635,7 @@ private Mono>> reimageAllWithResponseAsync(String reso return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.reimageAll(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, apiVersion, @@ -826,7 +826,7 @@ public Mono>> approveRollingUpgradeWithResponseAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.approveRollingUpgrade(this.client.getEndpoint(), resourceGroupName, @@ -867,7 +867,7 @@ private Mono>> approveRollingUpgradeWithResponseAsync( return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.approveRollingUpgrade(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, @@ -1053,7 +1053,7 @@ public Mono>> deallocateWithResponseAsync(String resou return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.deallocate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -1095,7 +1095,7 @@ private Mono>> deallocateWithResponseAsync(String reso return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.deallocate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, apiVersion, @@ -1297,7 +1297,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext( @@ -1351,7 +1351,7 @@ private Mono>> updateWithResponseAsync(String resource } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, apiVersion, @@ -1632,7 +1632,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -1675,7 +1675,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, forceDeletion, @@ -1917,7 +1917,7 @@ public Mono> getWithResponseAsync(String return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -1961,7 +1961,7 @@ private Mono> getWithResponseAsync(Strin return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, expand, apiVersion, @@ -2057,7 +2057,7 @@ public VirtualMachineScaleSetVMInner get(String resourceGroupName, String vmScal return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getInstanceView(this.client.getEndpoint(), resourceGroupName, @@ -2099,7 +2099,7 @@ private Mono> getInstanceVie return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getInstanceView(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, @@ -2193,7 +2193,7 @@ private Mono> listSinglePageAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext( @@ -2239,7 +2239,7 @@ private Mono> listSinglePageAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -2391,7 +2391,7 @@ public Mono>> powerOffWithResponseAsync(String resourc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.powerOff(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -2435,7 +2435,7 @@ private Mono>> powerOffWithResponseAsync(String resour return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.powerOff(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, skipShutdown, @@ -2684,7 +2684,7 @@ public Mono>> restartWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.restart(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -2725,7 +2725,7 @@ private Mono>> restartWithResponseAsync(String resourc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.restart(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, apiVersion, @@ -2907,7 +2907,7 @@ public Mono>> startWithResponseAsync(String resourceGr return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.start(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -2948,7 +2948,7 @@ private Mono>> startWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.start(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, apiVersion, @@ -3129,7 +3129,7 @@ public Mono>> redeployWithResponseAsync(String resourc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.redeploy(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -3170,7 +3170,7 @@ private Mono>> redeployWithResponseAsync(String resour return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.redeploy(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, apiVersion, @@ -3357,7 +3357,7 @@ public Mono> retrieveBootDiagno return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.retrieveBootDiagnosticsData(this.client.getEndpoint(), resourceGroupName, @@ -3404,7 +3404,7 @@ private Mono> retrieveBootDiagn return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.retrieveBootDiagnosticsData(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -3504,7 +3504,7 @@ public Mono>> performMaintenanceWithResponseAsync(Stri return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.performMaintenance(this.client.getEndpoint(), resourceGroupName, @@ -3545,7 +3545,7 @@ private Mono>> performMaintenanceWithResponseAsync(Str return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.performMaintenance(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, @@ -3730,7 +3730,7 @@ public Mono> simulateEvictionWithResponseAsync(String resourceGro return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.simulateEviction(this.client.getEndpoint(), resourceGroupName, @@ -3771,7 +3771,7 @@ private Mono> simulateEvictionWithResponseAsync(String resourceGr return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.simulateEviction(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, @@ -3868,7 +3868,7 @@ public Mono>> attachDetachDataDisksWithResponseAsync(S } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.attachDetachDataDisks(this.client.getEndpoint(), resourceGroupName, @@ -3917,7 +3917,7 @@ private Mono>> attachDetachDataDisksWithResponseAsync( } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.attachDetachDataDisks(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, @@ -4131,7 +4131,7 @@ public Mono>> runCommandWithResponseAsync(String resou } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.runCommand(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -4178,7 +4178,7 @@ private Mono>> runCommandWithResponseAsync(String reso } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.runCommand(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, instanceId, apiVersion, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetsClientImpl.java index 420a4d3681f3c..d61a0ae25932f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetsClientImpl.java @@ -414,7 +414,7 @@ private Mono> listByLocationSinglePag return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByLocation(this.client.getEndpoint(), location, apiVersion, @@ -449,7 +449,7 @@ private Mono> listByLocationSinglePag return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -562,7 +562,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -611,7 +611,7 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -887,7 +887,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -935,7 +935,7 @@ private Mono>> updateWithResponseAsync(String resource } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -1198,7 +1198,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -1236,7 +1236,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, forceDeletion, apiVersion, @@ -1453,7 +1453,7 @@ public Mono> getByResourceGroupWithRespons return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -1493,7 +1493,7 @@ private Mono> getByResourceGroupWithRespon return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -1587,7 +1587,7 @@ public Mono>> deallocateWithResponseAsync(String resou if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.deallocate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -1631,7 +1631,7 @@ private Mono>> deallocateWithResponseAsync(String reso if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.deallocate(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, hibernate, apiVersion, @@ -1882,7 +1882,7 @@ public Mono>> deleteInstancesWithResponseAsync(String } else { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext( @@ -1929,7 +1929,7 @@ private Mono>> deleteInstancesWithResponseAsync(String } else { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.deleteInstances(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, forceDeletion, @@ -2170,7 +2170,7 @@ public void deleteInstances(String resourceGroupName, String vmScaleSetName, return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getInstanceView(this.client.getEndpoint(), resourceGroupName, @@ -2208,7 +2208,7 @@ public void deleteInstances(String resourceGroupName, String vmScaleSetName, return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getInstanceView(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -2289,7 +2289,7 @@ public VirtualMachineScaleSetInstanceViewInner getInstanceView(String resourceGr return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, @@ -2325,7 +2325,7 @@ public VirtualMachineScaleSetInstanceViewInner getInstanceView(String resourceGr return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -2415,7 +2415,7 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), @@ -2447,7 +2447,7 @@ private Mono> listSinglePageAsync(Con return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) @@ -2550,7 +2550,7 @@ private Mono> listSkusSinglePageAs return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listSkus(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -2591,7 +2591,7 @@ private Mono> listSkusSinglePageAs return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -2704,7 +2704,7 @@ public PagedIterable listSkus(String resourceGro return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getOSUpgradeHistory(this.client.getEndpoint(), resourceGroupName, @@ -2745,7 +2745,7 @@ public PagedIterable listSkus(String resourceGro return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -2858,7 +2858,7 @@ public Mono>> powerOffWithResponseAsync(String resourc if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.powerOff(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -2902,7 +2902,7 @@ private Mono>> powerOffWithResponseAsync(String resour if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.powerOff(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, skipShutdown, apiVersion, @@ -3149,7 +3149,7 @@ public Mono>> restartWithResponseAsync(String resource if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.restart(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -3190,7 +3190,7 @@ private Mono>> restartWithResponseAsync(String resourc if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.restart(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -3410,7 +3410,7 @@ public Mono>> startWithResponseAsync(String resourceGr if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.start(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -3451,7 +3451,7 @@ private Mono>> startWithResponseAsync(String resourceG if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.start(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -3666,7 +3666,7 @@ public Mono>> reapplyWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.reapply(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -3703,7 +3703,7 @@ private Mono>> reapplyWithResponseAsync(String resourc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.reapply(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -3874,7 +3874,7 @@ public Mono>> redeployWithResponseAsync(String resourc if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.redeploy(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -3916,7 +3916,7 @@ private Mono>> redeployWithResponseAsync(String resour if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.redeploy(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -4148,7 +4148,7 @@ public Mono>> performMaintenanceWithResponseAsync(Stri if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.performMaintenance(this.client.getEndpoint(), resourceGroupName, @@ -4191,7 +4191,7 @@ private Mono>> performMaintenanceWithResponseAsync(Str if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.performMaintenance(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -4435,7 +4435,7 @@ public Mono>> updateInstancesWithResponseAsync(String } else { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.updateInstances(this.client.getEndpoint(), resourceGroupName, @@ -4478,7 +4478,7 @@ private Mono>> updateInstancesWithResponseAsync(String } else { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.updateInstances(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -4667,7 +4667,7 @@ public Mono>> reimageWithResponseAsync(String resource if (vmScaleSetReimageInput != null) { vmScaleSetReimageInput.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.reimage(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -4710,7 +4710,7 @@ private Mono>> reimageWithResponseAsync(String resourc if (vmScaleSetReimageInput != null) { vmScaleSetReimageInput.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.reimage(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -4952,7 +4952,7 @@ public Mono>> reimageAllWithResponseAsync(String resou if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.reimageAll(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -4994,7 +4994,7 @@ private Mono>> reimageAllWithResponseAsync(String reso if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.reimageAll(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -5224,7 +5224,7 @@ public Mono>> approveRollingUpgradeWithResponseAsync(S if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.approveRollingUpgrade(this.client.getEndpoint(), resourceGroupName, @@ -5265,7 +5265,7 @@ private Mono>> approveRollingUpgradeWithResponseAsync( if (vmInstanceIDs != null) { vmInstanceIDs.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.approveRollingUpgrade(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, apiVersion, @@ -5489,7 +5489,7 @@ public void approveRollingUpgrade(String resourceGroupName, String vmScaleSetNam return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.forceRecoveryServiceFabricPlatformUpdateDomainWalk( @@ -5532,7 +5532,7 @@ public void approveRollingUpgrade(String resourceGroupName, String vmScaleSetNam return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.forceRecoveryServiceFabricPlatformUpdateDomainWalk(this.client.getEndpoint(), resourceGroupName, @@ -5636,7 +5636,7 @@ public Mono> convertToSinglePlacementGroupWithResponseAsync(Strin } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.convertToSinglePlacementGroup(this.client.getEndpoint(), resourceGroupName, @@ -5679,7 +5679,7 @@ private Mono> convertToSinglePlacementGroupWithResponseAsync(Stri } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.convertToSinglePlacementGroup(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, @@ -5773,7 +5773,7 @@ public Mono>> setOrchestrationServiceStateWithResponse } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.setOrchestrationServiceState(this.client.getEndpoint(), resourceGroupName, @@ -5816,7 +5816,7 @@ private Mono>> setOrchestrationServiceStateWithRespons } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.setOrchestrationServiceState(this.client.getEndpoint(), resourceGroupName, vmScaleSetName, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineSizesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineSizesClientImpl.java index 2aea876351fb8..7176d4767611d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineSizesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineSizesClientImpl.java @@ -94,7 +94,7 @@ private Mono> listSinglePageAsync(String return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), location, apiVersion, @@ -128,7 +128,7 @@ private Mono> listSinglePageAsync(String return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachinesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachinesClientImpl.java index 3e8b2508e10c8..1c15d4304b8b0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachinesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachinesClientImpl.java @@ -387,7 +387,7 @@ private Mono> listByLocationSinglePageAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByLocation(this.client.getEndpoint(), location, apiVersion, @@ -421,7 +421,7 @@ private Mono> listByLocationSinglePageAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -531,7 +531,7 @@ public Mono>> captureWithResponseAsync(String resource } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.capture(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -576,7 +576,7 @@ private Mono>> captureWithResponseAsync(String resourc } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.capture(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -781,7 +781,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmName, @@ -829,7 +829,7 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -1106,7 +1106,7 @@ public Mono>> updateWithResponseAsync(String resourceG } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -1153,7 +1153,7 @@ private Mono>> updateWithResponseAsync(String resource } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -1408,7 +1408,7 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, vmName, forceDeletion, @@ -1446,7 +1446,7 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), resourceGroupName, vmName, forceDeletion, apiVersion, @@ -1661,7 +1661,7 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, vmName, @@ -1702,7 +1702,7 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, vmName, expand, apiVersion, @@ -1792,7 +1792,7 @@ public Mono> instanceViewWithResponseA return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.instanceView(this.client.getEndpoint(), resourceGroupName, vmName, @@ -1830,7 +1830,7 @@ private Mono> instanceViewWithResponse return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.instanceView(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -1914,7 +1914,7 @@ public Mono>> convertToManagedDisksWithResponseAsync(S return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.convertToManagedDisks(this.client.getEndpoint(), resourceGroupName, vmName, @@ -1952,7 +1952,7 @@ private Mono>> convertToManagedDisksWithResponseAsync( return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.convertToManagedDisks(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -2129,7 +2129,7 @@ public Mono>> deallocateWithResponseAsync(String resou return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.deallocate(this.client.getEndpoint(), resourceGroupName, vmName, hibernate, @@ -2168,7 +2168,7 @@ private Mono>> deallocateWithResponseAsync(String reso return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.deallocate(this.client.getEndpoint(), resourceGroupName, vmName, hibernate, apiVersion, @@ -2392,7 +2392,7 @@ public Mono> generalizeWithResponseAsync(String resourceGroupName return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.generalize(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -2432,7 +2432,7 @@ private Mono> generalizeWithResponseAsync(String resourceGroupNam return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.generalize(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -2527,7 +2527,7 @@ private Mono> listByResourceGroupSinglePageAs return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, filter, @@ -2569,7 +2569,7 @@ private Mono> listByResourceGroupSinglePageAs return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -2708,7 +2708,7 @@ private Mono> listSinglePageAsync(String stat return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), @@ -2746,7 +2746,7 @@ private Mono> listSinglePageAsync(String stat return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -2884,7 +2884,7 @@ private Mono> listAvailableSizesSinglePag return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listAvailableSizes(this.client.getEndpoint(), resourceGroupName, vmName, @@ -2924,7 +2924,7 @@ private Mono> listAvailableSizesSinglePag return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service @@ -3029,7 +3029,7 @@ public Mono>> powerOffWithResponseAsync(String resourc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.powerOff(this.client.getEndpoint(), resourceGroupName, vmName, skipShutdown, @@ -3069,7 +3069,7 @@ private Mono>> powerOffWithResponseAsync(String resour return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.powerOff(this.client.getEndpoint(), resourceGroupName, vmName, skipShutdown, apiVersion, @@ -3295,7 +3295,7 @@ public Mono>> reapplyWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.reapply(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -3332,7 +3332,7 @@ private Mono>> reapplyWithResponseAsync(String resourc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.reapply(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -3495,7 +3495,7 @@ public Mono>> restartWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.restart(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -3532,7 +3532,7 @@ private Mono>> restartWithResponseAsync(String resourc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.restart(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -3695,7 +3695,7 @@ public Mono>> startWithResponseAsync(String resourceGr return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.start(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -3732,7 +3732,7 @@ private Mono>> startWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.start(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -3895,7 +3895,7 @@ public Mono>> redeployWithResponseAsync(String resourc return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.redeploy(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -3932,7 +3932,7 @@ private Mono>> redeployWithResponseAsync(String resour return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.redeploy(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -4104,7 +4104,7 @@ public Mono>> reimageWithResponseAsync(String resource if (parameters != null) { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.reimage(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -4149,7 +4149,7 @@ private Mono>> reimageWithResponseAsync(String resourc if (parameters != null) { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.reimage(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -4407,7 +4407,7 @@ public Mono> retrieveBootDiagno return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.retrieveBootDiagnosticsData(this.client.getEndpoint(), resourceGroupName, @@ -4448,7 +4448,7 @@ private Mono> retrieveBootDiagn return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.retrieveBootDiagnosticsData(this.client.getEndpoint(), resourceGroupName, vmName, @@ -4539,7 +4539,7 @@ public Mono>> performMaintenanceWithResponseAsync(Stri return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.performMaintenance(this.client.getEndpoint(), resourceGroupName, vmName, @@ -4576,7 +4576,7 @@ private Mono>> performMaintenanceWithResponseAsync(Str return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.performMaintenance(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -4741,7 +4741,7 @@ public Mono> simulateEvictionWithResponseAsync(String resourceGro return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.simulateEviction(this.client.getEndpoint(), resourceGroupName, vmName, @@ -4778,7 +4778,7 @@ private Mono> simulateEvictionWithResponseAsync(String resourceGr return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.simulateEviction(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -4858,7 +4858,7 @@ public Mono>> assessPatchesWithResponseAsync(String re return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.assessPatches(this.client.getEndpoint(), resourceGroupName, vmName, @@ -4896,7 +4896,7 @@ private Mono>> assessPatchesWithResponseAsync(String r return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.assessPatches(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -5077,7 +5077,7 @@ public Mono>> installPatchesWithResponseAsync(String r } else { installPatchesInput.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.installPatches(this.client.getEndpoint(), resourceGroupName, vmName, @@ -5122,7 +5122,7 @@ private Mono>> installPatchesWithResponseAsync(String } else { installPatchesInput.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.installPatches(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -5321,7 +5321,7 @@ public Mono>> attachDetachDataDisksWithResponseAsync(S } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.attachDetachDataDisks(this.client.getEndpoint(), resourceGroupName, vmName, @@ -5365,7 +5365,7 @@ private Mono>> attachDetachDataDisksWithResponseAsync( } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.attachDetachDataDisks(this.client.getEndpoint(), resourceGroupName, vmName, @@ -5555,7 +5555,7 @@ public Mono>> runCommandWithResponseAsync(String resou } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; return FluxUtil .withContext(context -> service.runCommand(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, @@ -5598,7 +5598,7 @@ private Mono>> runCommandWithResponseAsync(String reso } else { parameters.validate(); } - final String apiVersion = "2024-03-01"; + final String apiVersion = "2024-07-01"; final String accept = "application/json, text/json"; context = this.client.mergeContext(context); return service.runCommand(this.client.getEndpoint(), resourceGroupName, vmName, apiVersion, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/AllocationStrategy.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/AllocationStrategy.java new file mode 100644 index 0000000000000..5bcb2b396e539 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/AllocationStrategy.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.compute.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated. + */ +public final class AllocationStrategy extends ExpandableStringEnum { + /** + * Static value LowestPrice for AllocationStrategy. + */ + public static final AllocationStrategy LOWEST_PRICE = fromString("LowestPrice"); + + /** + * Static value CapacityOptimized for AllocationStrategy. + */ + public static final AllocationStrategy CAPACITY_OPTIMIZED = fromString("CapacityOptimized"); + + /** + * Creates a new instance of AllocationStrategy value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public AllocationStrategy() { + } + + /** + * Creates or finds a AllocationStrategy from its string representation. + * + * @param name a name to look for. + * @return the corresponding AllocationStrategy. + */ + public static AllocationStrategy fromString(String name) { + return fromString(name, AllocationStrategy.class); + } + + /** + * Gets known AllocationStrategy values. + * + * @return known AllocationStrategy values. + */ + public static Collection values() { + return values(AllocationStrategy.class); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/AvailabilitySetUpdate.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/AvailabilitySetUpdate.java index 1ed722b4523a7..e2b5c7d3a30fc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/AvailabilitySetUpdate.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/AvailabilitySetUpdate.java @@ -177,6 +177,31 @@ public List statuses() { return this.innerProperties() == null ? null : this.innerProperties().statuses(); } + /** + * Get the scheduledEventsPolicy property: Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets + * Scheduled Event related configurations for the availability set. + * + * @return the scheduledEventsPolicy value. + */ + public ScheduledEventsPolicy scheduledEventsPolicy() { + return this.innerProperties() == null ? null : this.innerProperties().scheduledEventsPolicy(); + } + + /** + * Set the scheduledEventsPolicy property: Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets + * Scheduled Event related configurations for the availability set. + * + * @param scheduledEventsPolicy the scheduledEventsPolicy value to set. + * @return the AvailabilitySetUpdate object itself. + */ + public AvailabilitySetUpdate withScheduledEventsPolicy(ScheduledEventsPolicy scheduledEventsPolicy) { + if (this.innerProperties() == null) { + this.innerProperties = new AvailabilitySetProperties(); + } + this.innerProperties().withScheduledEventsPolicy(scheduledEventsPolicy); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/CapacityReservationGroupInstanceView.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/CapacityReservationGroupInstanceView.java index 0777b3712be01..59e81f19c9ccf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/CapacityReservationGroupInstanceView.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/CapacityReservationGroupInstanceView.java @@ -25,7 +25,7 @@ public final class CapacityReservationGroupInstanceView /* * List of the subscriptions that the capacity reservation group is shared with. **Note:** Minimum api-version: - * 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details. + * 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details. */ private List sharedSubscriptionIds; @@ -47,7 +47,7 @@ public List capacityReservations() { /** * Get the sharedSubscriptionIds property: List of the subscriptions that the capacity reservation group is shared - * with. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for + * with. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for * more details. * * @return the sharedSubscriptionIds value. diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/CapacityReservationGroupUpdate.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/CapacityReservationGroupUpdate.java index 1670b18811063..71266cb74dba2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/CapacityReservationGroupUpdate.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/CapacityReservationGroupUpdate.java @@ -81,7 +81,7 @@ public CapacityReservationGroupInstanceView instanceView() { * Get the sharingProfile property: Specifies the settings to enable sharing across subscriptions for the capacity * reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared * across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship - * established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to + * established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to * https://aka.ms/computereservationsharing for more details. * * @return the sharingProfile value. @@ -94,7 +94,7 @@ public ResourceSharingProfile sharingProfile() { * Set the sharingProfile property: Specifies the settings to enable sharing across subscriptions for the capacity * reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared * across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship - * established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to + * established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to * https://aka.ms/computereservationsharing for more details. * * @param sharingProfile the sharingProfile value to set. diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/DataDisk.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/DataDisk.java index 8a1e62e403a88..79880e66db7d2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/DataDisk.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/DataDisk.java @@ -101,8 +101,8 @@ public final class DataDisk implements JsonSerializable { * managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected * failure from the virtual machine and the disk is still not released then use force-detach as a last resort option * to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. - * **This feature is still in preview** mode and is not supported for VirtualMachineScaleSet. To force-detach a data - * disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. + * **This feature is still in preview**. To force-detach a data disk update toBeDetached to 'true' along with + * setting detachOption: 'ForceDetach'. */ private DiskDetachOptionTypes detachOption; @@ -397,9 +397,8 @@ public Long diskMBpsReadWrite() { * **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did * not complete due to an unexpected failure from the virtual machine and the disk is still not released then use * force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been - * flushed when using this detach behavior. **This feature is still in preview** mode and is not supported for - * VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting - * detachOption: 'ForceDetach'. + * flushed when using this detach behavior. **This feature is still in preview**. To force-detach a data disk update + * toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. * * @return the detachOption value. */ @@ -413,9 +412,8 @@ public DiskDetachOptionTypes detachOption() { * **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did * not complete due to an unexpected failure from the virtual machine and the disk is still not released then use * force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been - * flushed when using this detach behavior. **This feature is still in preview** mode and is not supported for - * VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting - * detachOption: 'ForceDetach'. + * flushed when using this detach behavior. **This feature is still in preview**. To force-detach a data disk update + * toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. * * @param detachOption the detachOption value to set. * @return the DataDisk object itself. diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/DiskDetachOptionTypes.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/DiskDetachOptionTypes.java index fb9fc2ad4824b..a51633e5e13f9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/DiskDetachOptionTypes.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/DiskDetachOptionTypes.java @@ -13,8 +13,8 @@ * managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure * from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach * the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature - * is still in preview** mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update - * toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. + * is still in preview**. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: + * 'ForceDetach'. */ public final class DiskDetachOptionTypes extends ExpandableStringEnum { /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ProxyAgentSettings.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ProxyAgentSettings.java index bcc5613ffd468..a974bfe24dded 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ProxyAgentSettings.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ProxyAgentSettings.java @@ -12,7 +12,7 @@ import java.io.IOException; /** - * Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2024-03-01. + * Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01. */ @Fluent public final class ProxyAgentSettings implements JsonSerializable { diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ResourceSharingProfile.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ResourceSharingProfile.java index bbb0b597607d4..3b85789aa33ea 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ResourceSharingProfile.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ResourceSharingProfile.java @@ -20,7 +20,7 @@ public final class ResourceSharingProfile implements JsonSerializable { /* * Specifies an array of subscription resource IDs that capacity reservation group is shared with. **Note:** Minimum - * api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details. + * api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details. */ private List subscriptionIds; @@ -32,7 +32,7 @@ public ResourceSharingProfile() { /** * Get the subscriptionIds property: Specifies an array of subscription resource IDs that capacity reservation group - * is shared with. **Note:** Minimum api-version: 2024-03-01. Please refer to + * is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to * https://aka.ms/computereservationsharing for more details. * * @return the subscriptionIds value. @@ -43,7 +43,7 @@ public List subscriptionIds() { /** * Set the subscriptionIds property: Specifies an array of subscription resource IDs that capacity reservation group - * is shared with. **Note:** Minimum api-version: 2024-03-01. Please refer to + * is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to * https://aka.ms/computereservationsharing for more details. * * @param subscriptionIds the subscriptionIds value to set. diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SecurityProfile.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SecurityProfile.java index 99f2a8fa1d2f6..d969002dacd9e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SecurityProfile.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SecurityProfile.java @@ -42,7 +42,7 @@ public final class SecurityProfile implements JsonSerializable private EncryptionIdentity encryptionIdentity; /* - * Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2024-03-01. + * Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01. */ private ProxyAgentSettings proxyAgentSettings; @@ -148,7 +148,7 @@ public SecurityProfile withEncryptionIdentity(EncryptionIdentity encryptionIdent /** * Get the proxyAgentSettings property: Specifies ProxyAgent settings while creating the virtual machine. Minimum - * api-version: 2024-03-01. + * api-version: 2023-09-01. * * @return the proxyAgentSettings value. */ @@ -158,7 +158,7 @@ public ProxyAgentSettings proxyAgentSettings() { /** * Set the proxyAgentSettings property: Specifies ProxyAgent settings while creating the virtual machine. Minimum - * api-version: 2024-03-01. + * api-version: 2023-09-01. * * @param proxyAgentSettings the proxyAgentSettings value to set. * @return the SecurityProfile object itself. diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SkuProfile.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SkuProfile.java new file mode 100644 index 0000000000000..4615595570f6c --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SkuProfile.java @@ -0,0 +1,130 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.compute.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Specifies the sku profile for the virtual machine scale set. With this property the customer is able to specify a + * list of VM sizes and an allocation strategy. + */ +@Fluent +public final class SkuProfile implements JsonSerializable { + /* + * Specifies the VM sizes for the virtual machine scale set. + */ + private List vmSizes; + + /* + * Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated. + */ + private AllocationStrategy allocationStrategy; + + /** + * Creates an instance of SkuProfile class. + */ + public SkuProfile() { + } + + /** + * Get the vmSizes property: Specifies the VM sizes for the virtual machine scale set. + * + * @return the vmSizes value. + */ + public List vmSizes() { + return this.vmSizes; + } + + /** + * Set the vmSizes property: Specifies the VM sizes for the virtual machine scale set. + * + * @param vmSizes the vmSizes value to set. + * @return the SkuProfile object itself. + */ + public SkuProfile withVmSizes(List vmSizes) { + this.vmSizes = vmSizes; + return this; + } + + /** + * Get the allocationStrategy property: Specifies the allocation strategy for the virtual machine scale set based on + * which the VMs will be allocated. + * + * @return the allocationStrategy value. + */ + public AllocationStrategy allocationStrategy() { + return this.allocationStrategy; + } + + /** + * Set the allocationStrategy property: Specifies the allocation strategy for the virtual machine scale set based on + * which the VMs will be allocated. + * + * @param allocationStrategy the allocationStrategy value to set. + * @return the SkuProfile object itself. + */ + public SkuProfile withAllocationStrategy(AllocationStrategy allocationStrategy) { + this.allocationStrategy = allocationStrategy; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (vmSizes() != null) { + vmSizes().forEach(e -> e.validate()); + } + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("vmSizes", this.vmSizes, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("allocationStrategy", + this.allocationStrategy == null ? null : this.allocationStrategy.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SkuProfile from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SkuProfile if the JsonReader was pointing to an instance of it, or null if it was pointing + * to JSON null. + * @throws IOException If an error occurs while reading the SkuProfile. + */ + public static SkuProfile fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + SkuProfile deserializedSkuProfile = new SkuProfile(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("vmSizes".equals(fieldName)) { + List vmSizes = reader.readArray(reader1 -> SkuProfileVMSize.fromJson(reader1)); + deserializedSkuProfile.vmSizes = vmSizes; + } else if ("allocationStrategy".equals(fieldName)) { + deserializedSkuProfile.allocationStrategy = AllocationStrategy.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedSkuProfile; + }); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SkuProfileVMSize.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SkuProfileVMSize.java new file mode 100644 index 0000000000000..c20a447b14129 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/SkuProfileVMSize.java @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.compute.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Specifies the VM Size. + */ +@Fluent +public final class SkuProfileVMSize implements JsonSerializable { + /* + * Specifies the name of the VM Size. + */ + private String name; + + /** + * Creates an instance of SkuProfileVMSize class. + */ + public SkuProfileVMSize() { + } + + /** + * Get the name property: Specifies the name of the VM Size. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Specifies the name of the VM Size. + * + * @param name the name value to set. + * @return the SkuProfileVMSize object itself. + */ + public SkuProfileVMSize withName(String name) { + this.name = name; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SkuProfileVMSize from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SkuProfileVMSize if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the SkuProfileVMSize. + */ + public static SkuProfileVMSize fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + SkuProfileVMSize deserializedSkuProfileVMSize = new SkuProfileVMSize(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + deserializedSkuProfileVMSize.name = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedSkuProfileVMSize; + }); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSetUpdate.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSetUpdate.java index c484548701fb7..a6e2ee9ceb057 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSetUpdate.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSetUpdate.java @@ -11,6 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetUpdateProperties; import java.io.IOException; +import java.util.List; import java.util.Map; /** @@ -38,6 +39,11 @@ public final class VirtualMachineScaleSetUpdate extends UpdateResource { */ private VirtualMachineScaleSetIdentity identity; + /* + * The virtual machine scale set zones. + */ + private List zones; + /** * Creates an instance of VirtualMachineScaleSetUpdate class. */ @@ -113,6 +119,26 @@ public VirtualMachineScaleSetUpdate withIdentity(VirtualMachineScaleSetIdentity return this; } + /** + * Get the zones property: The virtual machine scale set zones. + * + * @return the zones value. + */ + public List zones() { + return this.zones; + } + + /** + * Set the zones property: The virtual machine scale set zones. + * + * @param zones the zones value to set. + * @return the VirtualMachineScaleSetUpdate object itself. + */ + public VirtualMachineScaleSetUpdate withZones(List zones) { + this.zones = zones; + return this; + } + /** * {@inheritDoc} */ @@ -418,6 +444,55 @@ public VirtualMachineScaleSetUpdate withResiliencyPolicy(ResiliencyPolicy resili return this; } + /** + * Get the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set + * compute and storage Fault Domain count. + * + * @return the zonalPlatformFaultDomainAlignMode value. + */ + public ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode() { + return this.innerProperties() == null ? null : this.innerProperties().zonalPlatformFaultDomainAlignMode(); + } + + /** + * Set the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set + * compute and storage Fault Domain count. + * + * @param zonalPlatformFaultDomainAlignMode the zonalPlatformFaultDomainAlignMode value to set. + * @return the VirtualMachineScaleSetUpdate object itself. + */ + public VirtualMachineScaleSetUpdate + withZonalPlatformFaultDomainAlignMode(ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode) { + if (this.innerProperties() == null) { + this.innerProperties = new VirtualMachineScaleSetUpdateProperties(); + } + this.innerProperties().withZonalPlatformFaultDomainAlignMode(zonalPlatformFaultDomainAlignMode); + return this; + } + + /** + * Get the skuProfile property: Specifies the sku profile for the virtual machine scale set. + * + * @return the skuProfile value. + */ + public SkuProfile skuProfile() { + return this.innerProperties() == null ? null : this.innerProperties().skuProfile(); + } + + /** + * Set the skuProfile property: Specifies the sku profile for the virtual machine scale set. + * + * @param skuProfile the skuProfile value to set. + * @return the VirtualMachineScaleSetUpdate object itself. + */ + public VirtualMachineScaleSetUpdate withSkuProfile(SkuProfile skuProfile) { + if (this.innerProperties() == null) { + this.innerProperties = new VirtualMachineScaleSetUpdateProperties(); + } + this.innerProperties().withSkuProfile(skuProfile); + return this; + } + /** * Validates the instance. * @@ -451,6 +526,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("plan", this.plan); jsonWriter.writeJsonField("properties", this.innerProperties); jsonWriter.writeJsonField("identity", this.identity); + jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element)); return jsonWriter.writeEndObject(); } @@ -481,6 +557,9 @@ public static VirtualMachineScaleSetUpdate fromJson(JsonReader jsonReader) throw = VirtualMachineScaleSetUpdateProperties.fromJson(reader); } else if ("identity".equals(fieldName)) { deserializedVirtualMachineScaleSetUpdate.identity = VirtualMachineScaleSetIdentity.fromJson(reader); + } else if ("zones".equals(fieldName)) { + List zones = reader.readArray(reader1 -> reader1.getString()); + deserializedVirtualMachineScaleSetUpdate.zones = zones; } else { reader.skipChildren(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSetVMProfile.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSetVMProfile.java index b8a0500ca0aef..09d09c2e72af4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSetVMProfile.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSetVMProfile.java @@ -115,9 +115,9 @@ public final class VirtualMachineScaleSetVMProfile implements JsonSerializable writer.writeJson(element)); jsonWriter.writeJsonField("patchSettings", this.patchSettings); jsonWriter.writeJsonField("winRM", this.winRM); - jsonWriter.writeBooleanField("enableVMAgentPlatformUpdates", this.enableVMAgentPlatformUpdates); return jsonWriter.writeEndObject(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ZonalPlatformFaultDomainAlignMode.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ZonalPlatformFaultDomainAlignMode.java new file mode 100644 index 0000000000000..bcbf86e728ad1 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/ZonalPlatformFaultDomainAlignMode.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.compute.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count. + */ +public final class ZonalPlatformFaultDomainAlignMode extends ExpandableStringEnum { + /** + * Static value Aligned for ZonalPlatformFaultDomainAlignMode. + */ + public static final ZonalPlatformFaultDomainAlignMode ALIGNED = fromString("Aligned"); + + /** + * Static value Unaligned for ZonalPlatformFaultDomainAlignMode. + */ + public static final ZonalPlatformFaultDomainAlignMode UNALIGNED = fromString("Unaligned"); + + /** + * Creates a new instance of ZonalPlatformFaultDomainAlignMode value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ZonalPlatformFaultDomainAlignMode() { + } + + /** + * Creates or finds a ZonalPlatformFaultDomainAlignMode from its string representation. + * + * @param name a name to look for. + * @return the corresponding ZonalPlatformFaultDomainAlignMode. + */ + public static ZonalPlatformFaultDomainAlignMode fromString(String name) { + return fromString(name, ZonalPlatformFaultDomainAlignMode.class); + } + + /** + * Gets known ZonalPlatformFaultDomainAlignMode values. + * + * @return known ZonalPlatformFaultDomainAlignMode values. + */ + public static Collection values() { + return values(ZonalPlatformFaultDomainAlignMode.class); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/SharedGalleryImageTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/SharedGalleryImageTests.java index 34dc56107d485..f18bf52b9ff47 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/SharedGalleryImageTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/SharedGalleryImageTests.java @@ -35,12 +35,13 @@ public class SharedGalleryImageTests extends ComputeManagementTest { private String rgName = ""; - private final Region region = Region.US_WEST_CENTRAL; - private final String vmName = "javavm"; + private final Region region = Region.US_WEST3; + private String vmName = ""; @Override protected void initializeClients(HttpPipeline httpPipeline, AzureProfile profile) { rgName = generateRandomResourceName("javacsmrg", 15); + vmName = generateRandomResourceName("javavm", 12); super.initializeClients(httpPipeline, profile); } @@ -221,7 +222,7 @@ public void canCreateUpdateGetDeleteGalleryImageVersion() { .computeManager .galleries() .define(galleryName) - .withRegion(Region.US_WEST_CENTRAL) + .withRegion(region) .withNewResourceGroup(rgName) .withDescription("java's image gallery") .create(); @@ -315,7 +316,7 @@ public void canCreateTrustedLaunchVMsFromGalleryImage() { .computeManager .galleries() .define(galleryName) - .withRegion(Region.US_WEST_CENTRAL) + .withRegion(region) .withNewResourceGroup(rgName) .withDescription("java's image gallery") .create(); diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineBootDiagnosticsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineBootDiagnosticsTests.java index 4432896c801f2..a716ce8114c43 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineBootDiagnosticsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineBootDiagnosticsTests.java @@ -17,7 +17,7 @@ public class VirtualMachineBootDiagnosticsTests extends ComputeManagementTest { private String rgName = ""; - private final Region region = Region.US_EAST; + private final Region region = Region.US_WEST2; private final String vmName = "javavm"; @Override diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineCustomImageOperationsTest.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineCustomImageOperationsTest.java index 4365b412b5564..b90c6ad9ffa8e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineCustomImageOperationsTest.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineCustomImageOperationsTest.java @@ -30,7 +30,7 @@ public class VirtualMachineCustomImageOperationsTest extends ComputeManagementTest { private String rgName = ""; - private Region region = Region.US_WEST; + private Region region = Region.US_WEST2; @Override protected void initializeClients(HttpPipeline httpPipeline, AzureProfile profile) { @@ -217,7 +217,7 @@ public void canCreateImageFromManagedDisk() { .withNewPrimaryNetwork("10.0.0.0/28") .withPrimaryPrivateIPAddressDynamic() .withoutPrimaryPublicIPAddress() - .withLatestLinuxImage("Canonical", "UbuntuServer", "14.04.2-LTS") + .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS) .withRootUsername(uname) .withSsh(sshPublicKey()) .withUnmanagedDisks() /* UN-MANAGED OS and DATA DISKS */ diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineEMSILMSIOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineEMSILMSIOperationsTests.java index f052a05a7f8d3..cd039814df195 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineEMSILMSIOperationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineEMSILMSIOperationsTests.java @@ -22,6 +22,7 @@ import java.util.Iterator; import java.util.Set; +import java.util.Optional; public class VirtualMachineEMSILMSIOperationsTests extends ComputeManagementTest { // LiveOnly because test needs to be refactored for storing/evaluating PrincipalId @@ -430,9 +431,10 @@ public void canUpdateVirtualMachineWithEMSIAndLMSI() throws Exception { // Set emsiIds = virtualMachine.userAssignedManagedServiceIdentityIds(); Assertions.assertNotNull(emsiIds); - Assertions.assertEquals(1, emsiIds.size()); + Optional emsiIdOptional = emsiIds.stream().filter(emsiId -> emsiId.endsWith("/" + identityName1)).findAny(); + Assertions.assertTrue(emsiIdOptional.isPresent()); - Identity identity = msiManager.identities().getById(emsiIds.iterator().next()); + Identity identity = msiManager.identities().getById(emsiIdOptional.get()); Assertions.assertNotNull(identity); Assertions.assertTrue(identity.name().equalsIgnoreCase(identityName1)); @@ -468,9 +470,10 @@ public void canUpdateVirtualMachineWithEMSIAndLMSI() throws Exception { // emsiIds = virtualMachine.userAssignedManagedServiceIdentityIds(); Assertions.assertNotNull(emsiIds); - Assertions.assertEquals(1, emsiIds.size()); + emsiIdOptional = emsiIds.stream().filter(emsiId -> emsiId.endsWith("/" + identityName2)).findAny(); + Assertions.assertTrue(emsiIdOptional.isPresent()); - identity = msiManager.identities().getById(emsiIds.iterator().next()); + identity = msiManager.identities().getById(emsiIdOptional.get()); Assertions.assertNotNull(identity); Assertions.assertTrue(identity.name().equalsIgnoreCase(identityName2)); diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineEncryptionOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineEncryptionOperationsTests.java index e3e54b2e4d76a..d80a9bba7538a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineEncryptionOperationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineEncryptionOperationsTests.java @@ -20,7 +20,7 @@ public class VirtualMachineEncryptionOperationsTests extends ComputeManagementTest { private String rgName = ""; - private final Region region = Region.US_EAST; + private final Region region = Region.US_WEST2; @Override protected void initializeClients(HttpPipeline httpPipeline, AzureProfile profile) { diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineManagedDiskOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineManagedDiskOperationsTests.java index d8e3d7ae823ad..9c57cb81fe33d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineManagedDiskOperationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineManagedDiskOperationsTests.java @@ -33,7 +33,7 @@ public class VirtualMachineManagedDiskOperationsTests extends ComputeManagementT private static final ClientLogger LOGGER = new ClientLogger(VirtualMachineManagedDiskOperationsTests.class); private String rgName = ""; - private Region region = Region.US_EAST; + private Region region = Region.US_WEST2; private KnownLinuxVirtualMachineImage linuxImage = KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS; @Override @@ -527,7 +527,7 @@ public void canCreateVirtualMachineByAttachingManagedOsDisk() { .withNewPrimaryNetwork("10.0.0.0/28") .withPrimaryPrivateIPAddressDynamic() .withoutPrimaryPublicIPAddress() - .withLatestLinuxImage("Canonical", "UbuntuServer", "14.04.2-LTS") + .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS) .withRootUsername(uname) .withSsh(sshPublicKey()) .withUnmanagedDisks() /* UN-MANAGED OS and DATA DISKS */ @@ -631,6 +631,7 @@ public void canCreateVirtualMachineWithHibernationEnabledUsingOsDisk() { .withoutPrimaryPublicIPAddress() .withSpecializedOSDisk(osDisk, OperatingSystemTypes.LINUX) .withOSDiskDeleteOptions(DeleteOptions.DETACH) + .withSize(VirtualMachineSizeTypes.fromString("Standard_D4s_v5")) .enableHibernation() .create(); diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineManagedServiceIdentityOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineManagedServiceIdentityOperationsTests.java index 71342bf36a890..dd57894cdee5f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineManagedServiceIdentityOperationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineManagedServiceIdentityOperationsTests.java @@ -22,7 +22,7 @@ public class VirtualMachineManagedServiceIdentityOperationsTests extends ComputeManagementTest { private String rgName = ""; - private final Region region = Region.US_EAST; + private final Region region = Region.US_WEST2; private final String vmName = "javavm"; @Override diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachinePopularImageTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachinePopularImageTests.java index 54cb805884cd2..ad33bc225beab 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachinePopularImageTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachinePopularImageTests.java @@ -20,6 +20,7 @@ public class VirtualMachinePopularImageTests extends ComputeManagementTest { private String rgName = ""; + private Region region = Region.US_WEST2; @Test @DoNotRecord(skipInPlayback = true) @@ -37,7 +38,7 @@ public void canCreateAllPopularImageVM() { .collect(Collectors.toList())) { Mono mono = computeManager.virtualMachines() .define(generateRandomResourceName("vm", 10)) - .withRegion(Region.US_SOUTH_CENTRAL) + .withRegion(region) .withNewResourceGroup(rgName) .withNewPrimaryNetwork("10.0.0.0/24") .withPrimaryPrivateIPAddressDynamic() @@ -51,12 +52,14 @@ public void canCreateAllPopularImageVM() { } for (KnownLinuxVirtualMachineImage image : Arrays.stream(KnownLinuxVirtualMachineImage.values()) - .filter(image -> image != KnownLinuxVirtualMachineImage.OPENSUSE_LEAP_15_1 && image != KnownLinuxVirtualMachineImage.SLES_15_SP1) + .filter(image -> image != KnownLinuxVirtualMachineImage.OPENSUSE_LEAP_15_1 + && image != KnownLinuxVirtualMachineImage.SLES_15_SP1 + && image != KnownLinuxVirtualMachineImage.ORACLE_LINUX_8_1) .collect(Collectors.toList())) { Mono mono = computeManager.virtualMachines() .define(generateRandomResourceName("vm", 10)) - .withRegion(Region.US_SOUTH_CENTRAL) + .withRegion(region) .withNewResourceGroup(rgName) .withNewPrimaryNetwork("10.0.0.0/24") .withPrimaryPrivateIPAddressDynamic() diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetEMSILMSIOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetEMSILMSIOperationsTests.java index 7b7d5e3a4fcdf..6a9e942841067 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetEMSILMSIOperationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetEMSILMSIOperationsTests.java @@ -22,6 +22,7 @@ import reactor.core.publisher.Mono; import java.util.Iterator; +import java.util.Optional; import java.util.Set; public class VirtualMachineScaleSetEMSILMSIOperationsTests extends ComputeManagementTest { @@ -507,9 +508,10 @@ public void canUpdateVirtualMachineScaleSetWithEMSIAndLMSI() throws Exception { // Set emsiIds = virtualMachineScaleSet.userAssignedManagedServiceIdentityIds(); Assertions.assertNotNull(emsiIds); - Assertions.assertEquals(1, emsiIds.size()); + Optional emsiIdOptional = emsiIds.stream().filter(emsiId -> emsiId.endsWith("/" + identityName1)).findAny(); + Assertions.assertTrue(emsiIdOptional.isPresent()); - Identity identity = msiManager.identities().getById(emsiIds.iterator().next()); + Identity identity = msiManager.identities().getById(emsiIdOptional.get()); Assertions.assertNotNull(identity); Assertions.assertTrue(identity.name().equalsIgnoreCase(identityName1)); @@ -519,7 +521,8 @@ public void canUpdateVirtualMachineScaleSetWithEMSIAndLMSI() throws Exception { .apply(); emsiIds = virtualMachineScaleSet.userAssignedManagedServiceIdentityIds(); Assertions.assertNotNull(emsiIds); - Assertions.assertEquals(1, emsiIds.size()); + emsiIdOptional = emsiIds.stream().filter(emsiId -> emsiId.endsWith("/" + identityName1)).findAny(); + Assertions.assertTrue(emsiIdOptional.isPresent()); // Creates an EMSI // @@ -543,11 +546,12 @@ public void canUpdateVirtualMachineScaleSetWithEMSIAndLMSI() throws Exception { // Ensure the "User Assigned (External) MSI" id can be retrieved from the virtual machine // - emsiIds = virtualMachineScaleSet.innerModel().identity().userAssignedIdentities().keySet(); + emsiIds = virtualMachineScaleSet.userAssignedManagedServiceIdentityIds(); Assertions.assertNotNull(emsiIds); - Assertions.assertEquals(1, emsiIds.size()); + emsiIdOptional = emsiIds.stream().filter(emsiId -> emsiId.endsWith("/" + identityName2)).findAny(); + Assertions.assertTrue(emsiIdOptional.isPresent()); - identity = msiManager.identities().getById(emsiIds.iterator().next()); + identity = msiManager.identities().getById(emsiIdOptional.get()); Assertions.assertNotNull(identity); Assertions.assertTrue(identity.name().equalsIgnoreCase(identityName2)); diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetManagedDiskOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetManagedDiskOperationsTests.java index 0808c6315dfc3..07f1738a1d04a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetManagedDiskOperationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetManagedDiskOperationsTests.java @@ -32,7 +32,7 @@ public class VirtualMachineScaleSetManagedDiskOperationsTests extends ComputeManagementTest { private String rgName = ""; - private Region region = Region.US_EAST; + private Region region = Region.US_WEST2; @Override protected void initializeClients(HttpPipeline httpPipeline, AzureProfile profile) { @@ -260,7 +260,7 @@ public void canCreateVirtualMachineScaleSetFromCustomImageWithManagedDisk() thro .define(vmssName) .withRegion(region) .withExistingResourceGroup(resourceGroup) - .withSku(VirtualMachineScaleSetSkuTypes.STANDARD_D5_V2) + .withSku(VirtualMachineScaleSetSkuTypes.STANDARD_D1_V2) .withExistingPrimaryNetworkSubnet(network, "subnet1") .withExistingPrimaryInternetFacingLoadBalancer(publicLoadBalancer) .withoutPrimaryInternalLoadBalancer() diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java index 892b895529aed..c0462db2e1130 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java @@ -79,7 +79,7 @@ public class VirtualMachineScaleSetOperationsTests extends ComputeManagementTest { private String rgName = ""; - private final Region region = Region.US_WEST; + private final Region region = Region.US_WEST2; @Override protected void initializeClients(HttpPipeline httpPipeline, AzureProfile profile) { diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/implementation/VirtualMachineUpdateTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/implementation/VirtualMachineUpdateTests.java index a9cf54c895117..89c7bf944db36 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/implementation/VirtualMachineUpdateTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/implementation/VirtualMachineUpdateTests.java @@ -41,7 +41,7 @@ protected void cleanUpResources() { public void testVirtualMachineUpdate() { final String vmname = "javavm1"; - final String mySqlInstallScript = "https://raw.githubusercontent.com/Azure/azure-sdk-for-java/0f875b569cb30b3cd4232bd20abb02452431b1ad/sdk/resourcemanager/azure-resourcemanager-compute/src/test/assets/install_mysql_server_5.7.sh"; + final String mySqlInstallScript = "https://raw.githubusercontent.com/Azure/azure-sdk-for-java/00df5c3ae1e25c526e265e78a00211d068b94f93/sdk/resourcemanager/azure-resourcemanager-compute/src/test/assets/install_mysql_server_5.7.sh"; final String installCommand = "bash install_mysql_server_5.7.sh " + password(); List fileUris = new ArrayList<>(); fileUris.add(mySqlInstallScript); diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsCreateOrUpdateSamples.java index cc864c40eda97..a621e5961bd39 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsCreateOrUpdateSamples.java @@ -12,7 +12,30 @@ public final class AvailabilitySetsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ + * availabilitySetExamples/AvailabilitySet_Create_WithScheduledEventProfile.json + */ + /** + * Sample code: Create an availability set with Scheduled Event Policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void + createAnAvailabilitySetWithScheduledEventPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure.virtualMachines() + .manager() + .serviceClient() + .getAvailabilitySets() + .createOrUpdateWithResponse("myResourceGroup", "myAvailabilitySet", + new AvailabilitySetInner().withLocation("westus") + .withPlatformUpdateDomainCount(20) + .withPlatformFaultDomainCount(2), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_Create.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsDeleteSamples.java index 2b4638aeb389a..b16aadc12d335 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsDeleteSamples.java @@ -10,7 +10,7 @@ public final class AvailabilitySetsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_Delete_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void availabilitySetDeleteMinimumSetGen(com.azure.resourcemanager. /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_Delete_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsGetByResourceGroupSamples.java index feac830c69192..212f0de3cfe0a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsGetByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class AvailabilitySetsGetByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void availabilitySetGetMaximumSetGen(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListAvailableSizesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListAvailableSizesSamples.java index 86b060f8bde5f..6eaeb744d0ce0 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListAvailableSizesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListAvailableSizesSamples.java @@ -10,7 +10,7 @@ public final class AvailabilitySetsListAvailableSizesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class AvailabilitySetsListAvailableSizesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListByResourceGroupSamples.java index 0a7ee2a11a281..56d76e3010738 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class AvailabilitySetsListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_List_MaximumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void availabilitySetListMaximumSetGen(com.azure.resourcemanager.Az /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_List_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListSamples.java index 24b9edb7f7358..e085f95b724e3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsListSamples.java @@ -10,7 +10,7 @@ public final class AvailabilitySetsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_ListBySubscription.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsUpdateSamples.java index 0bb826d66cd03..1518f11457082 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/AvailabilitySetsUpdateSamples.java @@ -17,7 +17,7 @@ public final class AvailabilitySetsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_Update_MinimumSet_Gen.json */ /** @@ -36,7 +36,7 @@ public static void availabilitySetUpdateMinimumSetGen(com.azure.resourcemanager. /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * availabilitySetExamples/AvailabilitySet_Update_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsCreateOrUpdateSamples.java index 325234e5365c4..0411ab722eae4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsCreateOrUpdateSamples.java @@ -17,7 +17,7 @@ public final class CapacityReservationGroupsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsDeleteSamples.java index bf3175f6db1f4..06a3e86babffd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsDeleteSamples.java @@ -10,7 +10,7 @@ public final class CapacityReservationGroupsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class CapacityReservationGroupsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsGetByResourceGroupSamples.java index 37fc79f0a8793..146f156a3d3b3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsGetByResourceGroupSamples.java @@ -12,7 +12,7 @@ public final class CapacityReservationGroupsGetByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservationGroup_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsListByResourceGroupSamples.java index 923ec74e5e06f..07d6ec1a44629 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsListByResourceGroupSamples.java @@ -12,7 +12,7 @@ public final class CapacityReservationGroupsListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsListSamples.java index fc1ee382224ad..b948b6f284611 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsListSamples.java @@ -13,7 +13,7 @@ public final class CapacityReservationGroupsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json */ /** @@ -33,7 +33,7 @@ public final class CapacityReservationGroupsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservationGroup_ListBySubscriptionWithResourceIdsQuery.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsUpdateSamples.java index fda352aafcae4..e4122a9dde68d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationGroupsUpdateSamples.java @@ -14,7 +14,7 @@ public final class CapacityReservationGroupsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json */ /** @@ -34,7 +34,7 @@ public final class CapacityReservationGroupsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsCreateOrUpdateSamples.java index 24bb3ba226400..1d87ad57c5c05 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsCreateOrUpdateSamples.java @@ -16,7 +16,7 @@ public final class CapacityReservationsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservation_CreateOrUpdate.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsDeleteSamples.java index ed52a6bc9b549..f610a94d1878b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsDeleteSamples.java @@ -10,7 +10,7 @@ public final class CapacityReservationsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void capacityReservationDeleteMaximumSetGen(com.azure.resourcemana /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsGetSamples.java index d41be88eb6626..a09039b2557ee 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsGetSamples.java @@ -12,7 +12,7 @@ public final class CapacityReservationsGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservation_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsListByCapacityReservationGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsListByCapacityReservationGroupSamples.java index 9a3453e542919..7c3588d133359 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsListByCapacityReservationGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsListByCapacityReservationGroupSamples.java @@ -10,7 +10,7 @@ public final class CapacityReservationsListByCapacityReservationGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservation_ListByReservationGroup.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsUpdateSamples.java index b6a7f2ff4ec41..08113f5bbcf12 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/CapacityReservationsUpdateSamples.java @@ -15,7 +15,7 @@ public final class CapacityReservationsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json */ /** @@ -34,7 +34,7 @@ public static void capacityReservationUpdateMinimumSetGen(com.azure.resourcemana /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsCreateOrUpdateSamples.java index 5da46da31503a..2507bf8efafad 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsCreateOrUpdateSamples.java @@ -16,7 +16,7 @@ public final class DedicatedHostGroupsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json */ /** @@ -40,7 +40,7 @@ public static void createOrUpdateADedicatedHostGroup(com.azure.resourcemanager.A /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsDeleteSamples.java index 22f76b4878fdf..bfd100820a1e5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsDeleteSamples.java @@ -10,7 +10,7 @@ public final class DedicatedHostGroupsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_Delete_MaximumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void dedicatedHostGroupDeleteMaximumSetGen(com.azure.resourcemanag /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_Delete_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsGetByResourceGroupSamples.java index 98617cdcda6f3..1c97fc3f23e59 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsGetByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class DedicatedHostGroupsGetByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json */ /** @@ -29,7 +29,7 @@ public static void createAnUltraSSDEnabledDedicatedHostGroup(com.azure.resourcem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsListByResourceGroupSamples.java index ffa4cc9986c5a..526148a081c22 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsListByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class DedicatedHostGroupsListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class DedicatedHostGroupsListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsListSamples.java index 090b0ded4067b..3632fa334ee55 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsListSamples.java @@ -10,7 +10,7 @@ public final class DedicatedHostGroupsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class DedicatedHostGroupsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsUpdateSamples.java index 14651650d9e09..a0e4f08d186f2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostGroupsUpdateSamples.java @@ -15,7 +15,7 @@ public final class DedicatedHostGroupsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_Update_MaximumSet_Gen.json */ /** @@ -38,7 +38,7 @@ public static void dedicatedHostGroupUpdateMaximumSetGen(com.azure.resourcemanag /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHostGroup_Update_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsCreateOrUpdateSamples.java index db769d693ad65..0bf7bbcf22bf9 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsCreateOrUpdateSamples.java @@ -15,7 +15,7 @@ public final class DedicatedHostsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsDeleteSamples.java index e428f17d6d693..b2a93534bd0dd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsDeleteSamples.java @@ -10,7 +10,7 @@ public final class DedicatedHostsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_Delete_MaximumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void dedicatedHostDeleteMaximumSetGen(com.azure.resourcemanager.Az /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_Delete_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsGetSamples.java index 4e0b16ce458b9..d60f3cedd5daa 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsGetSamples.java @@ -12,7 +12,7 @@ public final class DedicatedHostsGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsListAvailableSizesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsListAvailableSizesSamples.java index c6532b62bb93a..87aa979bf9dcd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsListAvailableSizesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsListAvailableSizesSamples.java @@ -10,7 +10,7 @@ public final class DedicatedHostsListAvailableSizesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_ListAvailableSizes.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsListByHostGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsListByHostGroupSamples.java index 88c082eb5c783..3e37452ecf73f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsListByHostGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsListByHostGroupSamples.java @@ -10,7 +10,7 @@ public final class DedicatedHostsListByHostGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_ListByHostGroup_MaximumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void dedicatedHostListByHostGroupMaximumSetGen(com.azure.resourcem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_ListByHostGroup_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsRedeploySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsRedeploySamples.java index f8501207b76b8..d1b9017dd5596 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsRedeploySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsRedeploySamples.java @@ -10,7 +10,7 @@ public final class DedicatedHostsRedeploySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_Redeploy.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsRestartSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsRestartSamples.java index 2be21eda028d2..3919f8a3cc405 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsRestartSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsRestartSamples.java @@ -10,7 +10,7 @@ public final class DedicatedHostsRestartSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_Restart.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsUpdateSamples.java index 623f55d4756c6..a34b5cf8c5bcb 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/DedicatedHostsUpdateSamples.java @@ -16,7 +16,7 @@ public final class DedicatedHostsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_Update_Resize.json */ /** @@ -35,7 +35,7 @@ public static void dedicatedHostUpdateResize(com.azure.resourcemanager.AzureReso /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_Update_MaximumSet_Gen.json */ /** @@ -58,7 +58,7 @@ public static void dedicatedHostUpdateMaximumSetGen(com.azure.resourcemanager.Az /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * dedicatedHostExamples/DedicatedHost_Update_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesCreateOrUpdateSamples.java index f6e7c49c1f109..11f541c995bc4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesCreateOrUpdateSamples.java @@ -20,7 +20,7 @@ public final class ImagesCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_CreateFromASnapshot.json */ /** @@ -44,7 +44,7 @@ public static void createAVirtualMachineImageFromASnapshot(com.azure.resourceman /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_CreateFromAManagedDisk.json */ /** @@ -69,7 +69,7 @@ public static void createAVirtualMachineImageFromASnapshot(com.azure.resourceman /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_CreateFromABlobWithDiskEncryptionSet.json */ /** @@ -95,7 +95,7 @@ public static void createAVirtualMachineImageFromABlobWithDiskEncryptionSetResou /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_CreateFromAManagedDiskWithDiskEncryptionSet.json */ /** @@ -122,7 +122,7 @@ public static void createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionS /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_Create_DataDiskFromABlobIncluded.json */ /** @@ -152,7 +152,7 @@ public static void createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionS /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_CreateFromASnapshotWithDiskEncryptionSet.json */ /** @@ -179,7 +179,7 @@ public static void createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetR /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_Create_DataDiskFromASnapshotIncluded.json */ /** @@ -208,7 +208,7 @@ public static void createAVirtualMachineImageThatIncludesADataDiskFromASnapshot( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_CreateFromABlob.json */ /** @@ -232,7 +232,7 @@ public static void createAVirtualMachineImageFromABlob(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_CreateFromAVM.json */ /** @@ -254,7 +254,7 @@ public static void createAVirtualMachineImageFromABlob(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_Create_DataDiskFromAManagedDiskIncluded.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesDeleteSamples.java index a3c14450ee29d..65957dadd91c3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesDeleteSamples.java @@ -10,7 +10,7 @@ public final class ImagesDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Images_Delete_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void imageDeleteMinimumSetGen(com.azure.resourcemanager.AzureResou /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Images_Delete_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesGetByResourceGroupSamples.java index 0b0b064a5562e..bc6c9786c1aee 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesGetByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class ImagesGetByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesListByResourceGroupSamples.java index 34f38c4e291c3..7d2772f5af7c6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesListByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class ImagesListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_ListByResourceGroup.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesListSamples.java index a214f1109069a..695cb3f94e946 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesListSamples.java @@ -10,7 +10,7 @@ public final class ImagesListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_ListBySubscription.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesUpdateSamples.java index 71756db121967..a9de45968f654 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ImagesUpdateSamples.java @@ -16,7 +16,7 @@ public final class ImagesUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/ * Image_Update.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/LogAnalyticsExportRequestRateByIntervalSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/LogAnalyticsExportRequestRateByIntervalSamples.java index ecdfc54ea3dc0..0533c0741f76c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/LogAnalyticsExportRequestRateByIntervalSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/LogAnalyticsExportRequestRateByIntervalSamples.java @@ -14,7 +14,7 @@ public final class LogAnalyticsExportRequestRateByIntervalSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/logAnalyticExamples + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/logAnalyticExamples * /LogAnalytics_RequestRateByInterval.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/LogAnalyticsExportThrottledRequestsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/LogAnalyticsExportThrottledRequestsSamples.java index 4a35bb7a4e0b3..27067ae680057 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/LogAnalyticsExportThrottledRequestsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/LogAnalyticsExportThrottledRequestsSamples.java @@ -13,7 +13,7 @@ public final class LogAnalyticsExportThrottledRequestsSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/logAnalyticExamples + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/logAnalyticExamples * /LogAnalytics_ThrottledRequests.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/OperationsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/OperationsListSamples.java index 37d28c354df6f..f1d3147ebdbdf 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/OperationsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/OperationsListSamples.java @@ -10,7 +10,7 @@ public final class OperationsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * computeRPCommonExamples/Operations_List_MinimumSet_Gen.json */ /** @@ -24,7 +24,7 @@ public static void operationsListMinimumSetGen(com.azure.resourcemanager.AzureRe /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * computeRPCommonExamples/Operations_List_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsCreateOrUpdateSamples.java index a810c0d40eb33..584a6c4dce8fd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsCreateOrUpdateSamples.java @@ -15,7 +15,7 @@ public final class ProximityPlacementGroupsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsDeleteSamples.java index 0b3e1db82b4c5..d035b9678e79b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsDeleteSamples.java @@ -10,7 +10,7 @@ public final class ProximityPlacementGroupsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsGetByResourceGroupSamples.java index 53ef6841052fb..313467676f1d6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsGetByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class ProximityPlacementGroupsGetByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsListByResourceGroupSamples.java index ba0c182ef6264..8cf457b1d8141 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsListByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class ProximityPlacementGroupsListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsListSamples.java index 32b4d0d19b142..48f24c0d58848 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsListSamples.java @@ -10,7 +10,7 @@ public final class ProximityPlacementGroupsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsUpdateSamples.java index 400dd64eb4871..c50fa72345678 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/ProximityPlacementGroupsUpdateSamples.java @@ -14,7 +14,7 @@ public final class ProximityPlacementGroupsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsCreateOrUpdateSamples.java index 9618e55a895f1..77a788c025e11 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsCreateOrUpdateSamples.java @@ -15,7 +15,7 @@ public final class RestorePointCollectionsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json */ /** @@ -39,7 +39,7 @@ public final class RestorePointCollectionsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePointCollection_CreateOrUpdate.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsDeleteSamples.java index 44e505ff21c30..51f0427a89372 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsDeleteSamples.java @@ -10,7 +10,7 @@ public final class RestorePointCollectionsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePointCollection_Delete_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void restorePointCollectionDeleteMinimumSetGen(com.azure.resourcem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePointCollection_Delete_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsGetByResourceGroupSamples.java index d434a50c97aa1..4da67ee47b212 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsGetByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class RestorePointCollectionsGetByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json */ /** @@ -30,7 +30,7 @@ public static void getARestorePointCollectionIncludingTheRestorePointsContainedI /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePointCollection_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsListByResourceGroupSamples.java index 193fdca18fd00..3a93c0547b892 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsListByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class RestorePointCollectionsListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePointCollection_ListByResourceGroup.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsListSamples.java index 2d93ba70b60aa..ed23f30a3ec5d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsListSamples.java @@ -10,7 +10,7 @@ public final class RestorePointCollectionsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePointCollection_ListBySubscription.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsUpdateSamples.java index 26d5b17afeb5a..be552bf0c02e5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointCollectionsUpdateSamples.java @@ -15,7 +15,7 @@ public final class RestorePointCollectionsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePointCollection_Update_MaximumSet_Gen.json */ /** @@ -37,7 +37,7 @@ public static void restorePointCollectionUpdateMaximumSetGen(com.azure.resourcem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePointCollection_Update_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsCreateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsCreateSamples.java index 2847d78902020..5b7095d2072b2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsCreateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsCreateSamples.java @@ -14,7 +14,7 @@ public final class RestorePointsCreateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePoint_Copy_BetweenRegions.json */ /** @@ -35,7 +35,7 @@ public static void copyARestorePointToADifferentRegion(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePoint_Create.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsDeleteSamples.java index e99772660b8d5..2eb4f788297c0 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsDeleteSamples.java @@ -10,7 +10,7 @@ public final class RestorePointsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePoint_Delete_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void restorePointDeleteMinimumSetGen(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePoint_Delete_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsGetSamples.java index 946a02e7cde62..8efa87b33b353 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/RestorePointsGetSamples.java @@ -10,7 +10,7 @@ public final class RestorePointsGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePoint_Get.json */ /** @@ -28,7 +28,7 @@ public static void getARestorePoint(com.azure.resourcemanager.AzureResourceManag /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * restorePointExamples/RestorePoint_Get_WithInstanceView.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysCreateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysCreateSamples.java index 5adfc3676305e..7de69b69ab263 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysCreateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysCreateSamples.java @@ -12,7 +12,7 @@ public final class SshPublicKeysCreateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_Create.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysDeleteSamples.java index 0d2eab666c469..78cc97d8d1cf2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysDeleteSamples.java @@ -10,7 +10,7 @@ public final class SshPublicKeysDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_Delete_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void sshPublicKeyDeleteMinimumSetGen(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_Delete_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysGenerateKeyPairSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysGenerateKeyPairSamples.java index 246bc12bc67e1..2ab5a846e83db 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysGenerateKeyPairSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysGenerateKeyPairSamples.java @@ -13,7 +13,7 @@ public final class SshPublicKeysGenerateKeyPairSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_GenerateKeyPair_EncryptionWithRSA.json */ /** @@ -33,7 +33,7 @@ public static void generateAnSSHKeyPairWithRSAEncryption(com.azure.resourcemanag /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_GenerateKeyPair.json */ /** @@ -52,7 +52,7 @@ public static void generateAnSSHKeyPair(com.azure.resourcemanager.AzureResourceM /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_GenerateKeyPair_EncryptionWithEd25519.json */ /** @@ -66,7 +66,7 @@ public static void generateAnSSHKeyPairWithEd25519Encryption(com.azure.resourcem .serviceClient() .getSshPublicKeys() .generateKeyPairWithResponse("myResourceGroup", "mySshPublicKeyName", - new SshGenerateKeyPairInputParameters().withEncryptionType(SshEncryptionTypes.RSA), + new SshGenerateKeyPairInputParameters().withEncryptionType(SshEncryptionTypes.ED25519), com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysGetByResourceGroupSamples.java index 915afefe636b2..815bbf2e42257 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysGetByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class SshPublicKeysGetByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysListByResourceGroupSamples.java index 1675018450c73..17a13a7cc4782 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysListByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class SshPublicKeysListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class SshPublicKeysListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysListSamples.java index 387ca51ab47c9..bd64d3a41b5cc 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysListSamples.java @@ -10,7 +10,7 @@ public final class SshPublicKeysListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_ListBySubscription_MinimumSet_Gen.json */ /** @@ -25,7 +25,7 @@ public final class SshPublicKeysListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_ListBySubscription_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysUpdateSamples.java index 836d5933b4d02..b35483ae36f59 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/SshPublicKeysUpdateSamples.java @@ -14,7 +14,7 @@ public final class SshPublicKeysUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_Update_MinimumSet_Gen.json */ /** @@ -33,7 +33,7 @@ public static void sshPublicKeyUpdateMinimumSetGen(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * sshPublicKeyExamples/SshPublicKey_Update_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/UsageListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/UsageListSamples.java index e1fef935cd0f5..31046247a2553 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/UsageListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/UsageListSamples.java @@ -10,7 +10,7 @@ public final class UsageListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * computeRPCommonExamples/Usage_List_MinimumSet_Gen.json */ /** @@ -24,7 +24,7 @@ public static void usageListMinimumSetGen(com.azure.resourcemanager.AzureResourc /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * computeRPCommonExamples/Usage_List_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesGetSamples.java index c9254a8a9cc25..7862d96447d13 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesGetSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineExtensionImagesGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json */ /** @@ -30,7 +30,7 @@ public final class VirtualMachineExtensionImagesGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesListTypesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesListTypesSamples.java index 25fa7e4d3f4a3..dbb838f583564 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesListTypesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesListTypesSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineExtensionImagesListTypesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineExtensionImagesListTypesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesListVersionsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesListVersionsSamples.java index 534e09fff8cd4..6a85fbf809264 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesListVersionsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionImagesListVersionsSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineExtensionImagesListVersionsSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListVersions_MinimumSet_Gen.json */ /** @@ -30,7 +30,7 @@ public final class VirtualMachineExtensionImagesListVersionsSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListVersions_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsCreateOrUpdateSamples.java index 39b88303f9f74..35eeea8fc83fb 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsCreateOrUpdateSamples.java @@ -22,7 +22,7 @@ public final class VirtualMachineExtensionsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MaximumSet_Gen.json */ /** @@ -68,7 +68,7 @@ public static void virtualMachineExtensionCreateOrUpdateMaximumSetGen( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsDeleteSamples.java index ebae45ce15b03..ca15a1a558881 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsDeleteSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineExtensionsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachineExtension_Delete_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineExtensionsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachineExtension_Delete_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsGetSamples.java index 0c27861c96c96..4667113ff14a6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsGetSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineExtensionsGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public static void virtualMachineExtensionGetMaximumSetGen(com.azure.resourceman /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsListSamples.java index afa9e522dd4ec..7b78717e42524 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineExtensionsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachineExtension_List_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineExtensionListMinimumSetGen(com.azure.resourcema /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachineExtension_List_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsUpdateSamples.java index 39a57a08273c5..9f69c6d75fa28 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsUpdateSamples.java @@ -17,7 +17,7 @@ public final class VirtualMachineExtensionsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachineExtension_Update.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneGetSamples.java index a073ce5be0dbe..80ba19d648651 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneGetSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesEdgeZoneGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.json */ /** @@ -31,7 +31,7 @@ public final class VirtualMachineImagesEdgeZoneGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListOffersSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListOffersSamples.java index 32a58283d90c3..b44075369938e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListOffersSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListOffersSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesEdgeZoneListOffersSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.json */ /** @@ -30,7 +30,7 @@ public final class VirtualMachineImagesEdgeZoneListOffersSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListPublishersSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListPublishersSamples.java index 9d8c892760575..f7a9d150170a6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListPublishersSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListPublishersSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesEdgeZoneListPublishersSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineImagesEdgeZoneListPublishersSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListSamples.java index 3aaf57e2acce9..3a92dc7561493 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesEdgeZoneListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.json */ /** @@ -31,7 +31,7 @@ public final class VirtualMachineImagesEdgeZoneListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListSkusSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListSkusSamples.java index 3e33de4248c1e..398e7f262437c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListSkusSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesEdgeZoneListSkusSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesEdgeZoneListSkusSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.json */ /** @@ -30,7 +30,7 @@ public final class VirtualMachineImagesEdgeZoneListSkusSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesGetSamples.java index 90e400a8470e9..791538267a127 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesGetSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImage_Get_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public static void virtualMachineImageGetMinimumSetGen(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImage_Get_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListByEdgeZoneSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListByEdgeZoneSamples.java index e3bd095163638..7fe5543cbb7b4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListByEdgeZoneSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListByEdgeZoneSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesListByEdgeZoneSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineImagesListByEdgeZoneSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListOffersSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListOffersSamples.java index 0daa05ab4a575..859e3ffd081db 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListOffersSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListOffersSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesListOffersSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImage_ListOffers_MinimumSet_Gen.json */ /** @@ -30,7 +30,7 @@ public final class VirtualMachineImagesListOffersSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImage_ListOffers_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListPublishersSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListPublishersSamples.java index 05999454c3039..5b58e5e08aa51 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListPublishersSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListPublishersSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesListPublishersSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImage_ListPublishers_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineImagesListPublishersSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImage_ListPublishers_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListSamples.java index b79c7b7bbac78..3046add10f7b3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImage_List_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public static void virtualMachineImageListMinimumSetGen(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImage_List_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListSkusSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListSkusSamples.java index 21d15e17e3688..8025190cda121 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListSkusSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineImagesListSkusSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineImagesListSkusSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImage_ListSkus_MaximumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineImageListSkusMaximumSetGen(com.azure.resourcema /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineImageExamples/VirtualMachineImage_ListSkus_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsCreateOrUpdateSamples.java index 14087a5d41ef3..4c186f9bc319a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsCreateOrUpdateSamples.java @@ -16,7 +16,7 @@ public final class VirtualMachineRunCommandsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineRunCommand_CreateOrUpdate.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsDeleteSamples.java index 2ff21b732b1ca..2fec43226c3a3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsDeleteSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineRunCommandsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineRunCommand_Delete.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsGetByVirtualMachineSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsGetByVirtualMachineSamples.java index 24bc6f6819e23..bd8a2febaac6c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsGetByVirtualMachineSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsGetByVirtualMachineSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineRunCommandsGetByVirtualMachineSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineRunCommand_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsGetSamples.java index d42ab2aa42817..dc8f054ab415f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsGetSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineRunCommandsGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * RunCommand_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsListByVirtualMachineSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsListByVirtualMachineSamples.java index 05bccd666f2d4..b198b84ccb1cc 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsListByVirtualMachineSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsListByVirtualMachineSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineRunCommandsListByVirtualMachineSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineRunCommand_List.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsListSamples.java index 2ecce0794af42..be2b5531b6362 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineRunCommandsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * RunCommand_List.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsUpdateSamples.java index 19bf671c06aa2..049fa01f612ae 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineRunCommandsUpdateSamples.java @@ -16,7 +16,7 @@ public final class VirtualMachineRunCommandsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineRunCommand_Update.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsCreateOrUpdateSamples.java index 1a1ad873aee4f..ebc031be47947 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsCreateOrUpdateSamples.java @@ -16,7 +16,7 @@ public final class VirtualMachineScaleSetExtensionsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MaximumSet_Gen.json */ /** @@ -49,7 +49,7 @@ public static void virtualMachineScaleSetExtensionCreateOrUpdateMaximumSetGen( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsDeleteSamples.java index f33d5385ded1e..61972c27f7f02 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsDeleteSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetExtensionsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetExtensionsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsGetSamples.java index 29c6061283fca..8a0aa5d7905b2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsGetSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetExtensionsGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json */ /** @@ -30,7 +30,7 @@ public final class VirtualMachineScaleSetExtensionsGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsListSamples.java index 11c5f133c9c5c..7e6e406f64a33 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetExtensionsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetExtensionsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsUpdateSamples.java index 4278ad4830b34..2216c91ec39e5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetExtensionsUpdateSamples.java @@ -16,7 +16,7 @@ public final class VirtualMachineScaleSetExtensionsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MinimumSet_Gen.json */ /** @@ -36,7 +36,7 @@ public final class VirtualMachineScaleSetExtensionsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesCancelSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesCancelSamples.java index 1a052a318892c..9c592feb951ca 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesCancelSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesCancelSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetRollingUpgradesCancelSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetRollingUpgradesCancelSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesGetLatestSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesGetLatestSamples.java index cb86538c52532..2dcc118378f79 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesGetLatestSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesGetLatestSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetRollingUpgradesGetLatestSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public static void virtualMachineScaleSetRollingUpgradeGetLatestMaximumSetGen( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSamples.java index 367e0cecf6e95..b3f341ff5d1d7 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesStartOSUpgradeSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesStartOSUpgradeSamples.java index 6dbcc59b77135..fb5ac557eb3dc 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesStartOSUpgradeSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetRollingUpgradesStartOSUpgradeSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetRollingUpgradesStartOSUpgradeSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public static void virtualMachineScaleSetRollingUpgradeStartOSUpgradeMaximumSetG /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsCreateOrUpdateSamples.java index f2ba78a572b76..d853f93566838 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsCreateOrUpdateSamples.java @@ -15,7 +15,7 @@ public final class VirtualMachineScaleSetVMExtensionsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Create.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsDeleteSamples.java index d4e50daaef53c..efebc7b708c56 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsDeleteSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMExtensionsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Delete.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsGetSamples.java index 6692adb54932d..b4250627edf93 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsGetSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMExtensionsGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsListSamples.java index 78cd1b856b41e..af399bd80c887 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMExtensionsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_List.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsUpdateSamples.java index b32f90bacee63..93c8119aaae29 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMExtensionsUpdateSamples.java @@ -15,7 +15,7 @@ public final class VirtualMachineScaleSetVMExtensionsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Update.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsCreateOrUpdateSamples.java index ec83bd6dc8afb..c40ef9fb61745 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsCreateOrUpdateSamples.java @@ -16,7 +16,7 @@ public final class VirtualMachineScaleSetVMRunCommandsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsDeleteSamples.java index a302b0e1e18a3..4b4c4c6b1a9cf 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsDeleteSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMRunCommandsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineScaleSetVMRunCommand_Delete.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsGetSamples.java index 4c8cdaea27a9c..28e60de19f786 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsGetSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMRunCommandsGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineScaleSetVMRunCommand_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsListSamples.java index 39561c5bc138d..6c2087069b0cd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMRunCommandsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineScaleSetVMRunCommand_List.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsUpdateSamples.java index 12b5fe2c900dd..f512bd50e6b44 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMRunCommandsUpdateSamples.java @@ -14,7 +14,7 @@ public final class VirtualMachineScaleSetVMRunCommandsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineScaleSetVMRunCommand_Update.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsApproveRollingUpgradeSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsApproveRollingUpgradeSamples.java index 8ede7a880f205..4be3e0248ce9d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsApproveRollingUpgradeSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsApproveRollingUpgradeSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsApproveRollingUpgradeSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ApproveRollingUpgrade.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsAttachDetachDataDisksSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsAttachDetachDataDisksSamples.java index 17d5b45031612..c2594d0f0071e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsAttachDetachDataDisksSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsAttachDetachDataDisksSamples.java @@ -18,7 +18,7 @@ public final class VirtualMachineScaleSetVMsAttachDetachDataDisksSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_AttachDetachDataDisks_MinimumSet_Gen.json */ /** @@ -42,7 +42,7 @@ public static void virtualMachineScaleSetVMAttachDetachDataDisksMinimumSetGen( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_AttachDetachDataDisks_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsDeallocateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsDeallocateSamples.java index d2a422bdcd706..f05f4d64314bb 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsDeallocateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsDeallocateSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsDeallocateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetVMsDeallocateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsDeleteSamples.java index 106ea588f800d..9db8d79b2bea1 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsDeleteSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsGetInstanceViewSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsGetInstanceViewSamples.java index a0692d8bd133a..f6e88aa96fcd5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsGetInstanceViewSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsGetInstanceViewSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsGetInstanceViewSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsGetSamples.java index 2f2fb867e3bc0..7d7b2518e3701 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsGetSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsGetSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json */ /** @@ -28,7 +28,7 @@ public static void getVMScaleSetVMWithVMSizeProperties(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsListSamples.java index ee472da977d6c..c54f60ea3dacb 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineScaleSetVMListMinimumSetGen(com.azure.resourcem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsPerformMaintenanceSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsPerformMaintenanceSamples.java index 0aa427f892a25..f0771d464f64b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsPerformMaintenanceSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsPerformMaintenanceSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsPerformMaintenanceSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetVMsPerformMaintenanceSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsPowerOffSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsPowerOffSamples.java index b7bb77133545c..77d40156e7ed2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsPowerOffSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsPowerOffSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsPowerOffSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetVMsPowerOffSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRedeploySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRedeploySamples.java index 511aaa25c198f..3324149c6e439 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRedeploySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRedeploySamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsRedeploySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MaximumSet_Gen.json */ /** @@ -30,7 +30,7 @@ public final class VirtualMachineScaleSetVMsRedeploySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsReimageAllSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsReimageAllSamples.java index dbf7f77d8d1c2..d4a93798c0b5a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsReimageAllSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsReimageAllSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsReimageAllSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MinimumSet_Gen.json */ /** @@ -30,7 +30,7 @@ public final class VirtualMachineScaleSetVMsReimageAllSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsReimageSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsReimageSamples.java index e312106470810..1a786e9f14a7c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsReimageSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsReimageSamples.java @@ -12,7 +12,7 @@ public final class VirtualMachineScaleSetVMsReimageSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MaximumSet_Gen.json */ /** @@ -34,7 +34,7 @@ public final class VirtualMachineScaleSetVMsReimageSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRestartSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRestartSamples.java index b6ca131327b36..9ed77d2a392aa 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRestartSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRestartSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsRestartSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetVMsRestartSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataSamples.java index 575eba8e3c221..f8396c22e5369 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRunCommandSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRunCommandSamples.java index 8d5382321a59c..a7ae6a886bc96 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRunCommandSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsRunCommandSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetVMsRunCommandSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineScaleSetVMRunCommand.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsSimulateEvictionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsSimulateEvictionSamples.java index bca03060f1d2c..7fb4bcebb4e13 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsSimulateEvictionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsSimulateEvictionSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsSimulateEvictionSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsStartSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsStartSamples.java index 02574b907bf74..89cc46c203902 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsStartSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsStartSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetVMsStartSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetVMsStartSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsUpdateSamples.java index acdd12e1586a6..cd6bd1b0dac8e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetVMsUpdateSamples.java @@ -88,7 +88,7 @@ public final class VirtualMachineScaleSetVMsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MaximumSet_Gen.json */ /** @@ -290,7 +290,7 @@ public final class VirtualMachineScaleSetVMsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsApproveRollingUpgradeSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsApproveRollingUpgradeSamples.java index 26ddbd70d9625..66bf5c11be8a7 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsApproveRollingUpgradeSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsApproveRollingUpgradeSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsApproveRollingUpgradeSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_ApproveRollingUpgrade.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsConvertToSinglePlacementGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsConvertToSinglePlacementGroupSamples.java index 647779884009e..fbed20a707ebd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsConvertToSinglePlacementGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsConvertToSinglePlacementGroupSamples.java @@ -12,7 +12,7 @@ public final class VirtualMachineScaleSetsConvertToSinglePlacementGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MaximumSet_Gen.json */ /** @@ -34,7 +34,7 @@ public static void virtualMachineScaleSetConvertToSinglePlacementGroupMaximumSet /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsCreateOrUpdateSamples.java index c7327972caafa..dbe1db8c066aa 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsCreateOrUpdateSamples.java @@ -9,6 +9,7 @@ import com.azure.core.util.serializer.SerializerEncoding; import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetExtensionInner; import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetInner; +import com.azure.resourcemanager.compute.models.AllocationStrategy; import com.azure.resourcemanager.compute.models.ApiEntityReference; import com.azure.resourcemanager.compute.models.ApplicationProfile; import com.azure.resourcemanager.compute.models.AutomaticOSUpgradePolicy; @@ -50,6 +51,8 @@ import com.azure.resourcemanager.compute.models.SecurityTypes; import com.azure.resourcemanager.compute.models.ServiceArtifactReference; import com.azure.resourcemanager.compute.models.Sku; +import com.azure.resourcemanager.compute.models.SkuProfile; +import com.azure.resourcemanager.compute.models.SkuProfileVMSize; import com.azure.resourcemanager.compute.models.SpotRestorePolicy; import com.azure.resourcemanager.compute.models.SshConfiguration; import com.azure.resourcemanager.compute.models.SshPublicKey; @@ -80,6 +83,7 @@ import com.azure.resourcemanager.compute.models.VMDiskSecurityProfile; import com.azure.resourcemanager.compute.models.VMGalleryApplication; import com.azure.resourcemanager.compute.models.VMSizeProperties; +import com.azure.resourcemanager.compute.models.ZonalPlatformFaultDomainAlignMode; import java.io.IOException; import java.util.Arrays; @@ -89,7 +93,7 @@ public final class VirtualMachineScaleSetsCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json */ /** @@ -144,7 +148,7 @@ public static void createAScaleSetWithEmptyDataDisksOnEachVm(com.azure.resourcem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithOSImageScheduledEventEnabled.json */ /** @@ -193,7 +197,7 @@ public static void createAScaleSetWithEmptyDataDisksOnEachVm(com.azure.resourcem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json */ /** @@ -240,7 +244,7 @@ public static void createAScaleSetWithUserData(com.azure.resourcemanager.AzureRe /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json */ /** @@ -291,7 +295,7 @@ public static void createAScaleSetWithFpgaNetworkInterfaces(com.azure.resourcema /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json */ /** @@ -331,7 +335,63 @@ public static void createAScaleSetFromACustomImage(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ + * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSkuProfile.json + */ + /** + * Sample code: Create a scale set with sku profile. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAScaleSetWithSkuProfile(com.azure.resourcemanager.AzureResourceManager azure) { + azure.virtualMachines() + .manager() + .serviceClient() + .getVirtualMachineScaleSets() + .createOrUpdate("myResourceGroup", "{vmss-name}", + new VirtualMachineScaleSetInner().withLocation("westus") + .withSku(new Sku().withName("Mix").withCapacity(10L)) + .withVirtualMachineProfile(new VirtualMachineScaleSetVMProfile() + .withOsProfile(new VirtualMachineScaleSetOSProfile().withComputerNamePrefix("{vmss-name}") + .withAdminUsername("{your-username}") + .withAdminPassword("fakeTokenPlaceholder")) + .withStorageProfile(new VirtualMachineScaleSetStorageProfile() + .withImageReference(new ImageReference().withPublisher("MicrosoftWindowsServer") + .withOffer("WindowsServer") + .withSku("2016-Datacenter") + .withVersion("latest")) + .withOsDisk(new VirtualMachineScaleSetOSDisk() + .withCaching(CachingTypes.READ_WRITE) + .withCreateOption(DiskCreateOptionTypes.FROM_IMAGE) + .withManagedDisk(new VirtualMachineScaleSetManagedDiskParameters() + .withStorageAccountType(StorageAccountTypes.STANDARD_LRS)))) + .withNetworkProfile( + new VirtualMachineScaleSetNetworkProfile().withNetworkInterfaceConfigurations( + Arrays.asList(new VirtualMachineScaleSetNetworkConfiguration().withName("{vmss-name}") + .withPrimary(true) + .withIpConfigurations(Arrays.asList(new VirtualMachineScaleSetIpConfiguration() + .withName("{vmss-name}") + .withSubnet(new ApiEntityReference().withId( + "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")))) + .withEnableIpForwarding(true)))) + .withPriority(VirtualMachinePriorityTypes.SPOT) + .withEvictionPolicy(VirtualMachineEvictionPolicyTypes.DEALLOCATE) + .withBillingProfile(new BillingProfile().withMaxPrice(-1.0D))) + .withSinglePlacementGroup(false) + .withOrchestrationMode(OrchestrationMode.FLEXIBLE) + .withPriorityMixPolicy(new PriorityMixPolicy().withBaseRegularPriorityCount(4) + .withRegularPriorityPercentageAboveBase(50)) + .withSkuProfile(new SkuProfile() + .withVmSizes(Arrays.asList(new SkuProfileVMSize().withName("Standard_D8s_v5"), + new SkuProfileVMSize().withName("Standard_E16s_v5"), + new SkuProfileVMSize().withName("Standard_D2s_v5"))) + .withAllocationStrategy(AllocationStrategy.CAPACITY_OPTIMIZED)), + null, null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacementAsNvmeDisk.json */ /** @@ -384,7 +444,7 @@ public static void createAScaleSetWithEphemeralOsDiskProvisioningInNvmeDiskUsing /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json */ /** @@ -437,7 +497,7 @@ public static void createAScaleSetWithEphemeralOsDisksUsingPlacementProperty( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json */ /** @@ -486,7 +546,7 @@ public static void createAScaleSetWithScaleInPolicy(com.azure.resourcemanager.Az /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithServiceArtifactReference.json */ /** @@ -532,7 +592,7 @@ public static void createAScaleSetWithScaleInPolicy(com.azure.resourcemanager.Az /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json */ /** @@ -583,7 +643,7 @@ public static void createAScaleSetWithHostEncryptionUsingEncryptionAtHostPropert /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json */ /** @@ -646,7 +706,7 @@ public static void createAVMSSWithAnExtensionWithProtectedSettingsFromKeyVault( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json */ /** @@ -701,7 +761,7 @@ public static void createAScaleSetWithAnAzureLoadBalancer(com.azure.resourcemana /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json */ /** @@ -749,7 +809,7 @@ public static void createAScaleSetWithManagedBootDiagnostics(com.azure.resourcem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json */ /** @@ -798,7 +858,7 @@ public static void createAScaleSetWithAMarketplaceImagePlan(com.azure.resourcema /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json */ /** @@ -848,7 +908,7 @@ public static void createAScaleSetWithEphemeralOsDisks(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json */ /** @@ -905,7 +965,7 @@ public static void createAScaleSetWithEphemeralOsDisks(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProxyAgentSettings.json */ /** @@ -954,7 +1014,7 @@ public static void createAScaleSetWithEphemeralOsDisks(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithResilientVMDeletionPolicy.json */ /** @@ -1003,7 +1063,7 @@ public static void createAScaleSetWithEphemeralOsDisks(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json */ /** @@ -1053,7 +1113,7 @@ public static void createAScaleSetWithEphemeralOsDisks(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json */ /** @@ -1107,7 +1167,7 @@ public static void createAScaleSetWithEphemeralOsDisks(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json */ /** @@ -1152,7 +1212,7 @@ public static void createAScaleSetWithSshAuthentication(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithResilientVMCreationPolicy.json */ /** @@ -1201,7 +1261,7 @@ public static void createAScaleSetWithSshAuthentication(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json */ /** @@ -1251,7 +1311,7 @@ public static void createAScaleSetWithSshAuthentication(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json */ /** @@ -1291,7 +1351,60 @@ public static void createACustomImageScaleSetFromAnUnmanagedGeneralizedOsImage( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ + * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithZonalPlatformFaultDomainAlignMode.json + */ + /** + * Sample code: Create a scale set with zonalPlatformFaultDomainAlignMode as Aligned. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAScaleSetWithZonalPlatformFaultDomainAlignModeAsAligned( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.virtualMachines() + .manager() + .serviceClient() + .getVirtualMachineScaleSets() + .createOrUpdate("myResourceGroup", "{vmss-name}", + new VirtualMachineScaleSetInner().withLocation("westus") + .withSku(new Sku().withName("Standard_D1_v2").withTier("Standard").withCapacity(3L)) + .withUpgradePolicy(new UpgradePolicy().withMode(UpgradeMode.MANUAL)) + .withScheduledEventsPolicy(new ScheduledEventsPolicy() + .withUserInitiatedRedeploy(new UserInitiatedRedeploy().withAutomaticallyApprove(true)) + .withUserInitiatedReboot(new UserInitiatedReboot().withAutomaticallyApprove(true)) + .withScheduledEventsAdditionalPublishingTargets(new ScheduledEventsAdditionalPublishingTargets() + .withEventGridAndResourceGraph(new EventGridAndResourceGraph().withEnable(true)))) + .withVirtualMachineProfile(new VirtualMachineScaleSetVMProfile() + .withOsProfile(new VirtualMachineScaleSetOSProfile().withComputerNamePrefix("{vmss-name}") + .withAdminUsername("{your-username}") + .withAdminPassword("fakeTokenPlaceholder")) + .withStorageProfile(new VirtualMachineScaleSetStorageProfile() + .withImageReference(new ImageReference().withPublisher("MicrosoftWindowsServer") + .withOffer("WindowsServer") + .withSku("2016-Datacenter") + .withVersion("latest")) + .withOsDisk(new VirtualMachineScaleSetOSDisk() + .withCaching(CachingTypes.READ_WRITE) + .withCreateOption(DiskCreateOptionTypes.FROM_IMAGE) + .withManagedDisk(new VirtualMachineScaleSetManagedDiskParameters() + .withStorageAccountType(StorageAccountTypes.STANDARD_LRS)))) + .withNetworkProfile( + new VirtualMachineScaleSetNetworkProfile().withNetworkInterfaceConfigurations( + Arrays.asList(new VirtualMachineScaleSetNetworkConfiguration().withName("{vmss-name}") + .withPrimary(true) + .withIpConfigurations(Arrays.asList(new VirtualMachineScaleSetIpConfiguration() + .withName("{vmss-name}") + .withSubnet(new ApiEntityReference().withId( + "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")))) + .withEnableIpForwarding(true))))) + .withOverprovision(true) + .withZonalPlatformFaultDomainAlignMode(ZonalPlatformFaultDomainAlignMode.ALIGNED), + null, null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json */ /** @@ -1351,7 +1464,7 @@ public static void createAScaleSetWithExtensionTimeBudget(com.azure.resourcemana /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json */ /** @@ -1409,7 +1522,7 @@ public static void createAScaleSetWithApplicationProfile(com.azure.resourcemanag /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json */ /** @@ -1460,7 +1573,7 @@ public static void createAScaleSetWithDiskEncryptionSetResourceInOsDiskAndDataDi /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json */ /** @@ -1506,7 +1619,7 @@ public static void createAScaleSetWithPremiumStorage(com.azure.resourcemanager.A /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithDisableTcpStateTrackingNetworkInterface.json */ /** @@ -1560,7 +1673,7 @@ public static void createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProper /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json */ /** @@ -1609,7 +1722,7 @@ public static void createAScaleSetWithVmSizeProperties(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithNetworkInterfaceWithDnsSettings.json */ /** @@ -1672,7 +1785,7 @@ public static void createAScaleSetWithNetworkInterfacesWithPublicIpAddressDnsSet /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json */ /** @@ -1721,7 +1834,7 @@ public static void createAScaleSetWithNetworkInterfacesWithPublicIpAddressDnsSet /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json */ /** @@ -1780,7 +1893,7 @@ public static void createAVMSSWithAnExtensionThatHasSuppressFailuresEnabled( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json */ /** @@ -1833,7 +1946,7 @@ public static void createAVMSSWithAnExtensionThatHasSuppressFailuresEnabled( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json */ /** @@ -1883,7 +1996,7 @@ public static void createAVMSSWithAnExtensionThatHasSuppressFailuresEnabled( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json */ /** @@ -1929,7 +2042,7 @@ public static void createAScaleSetWithPasswordAuthentication(com.azure.resourcem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskControllerType.json */ /** @@ -1985,7 +2098,7 @@ public static void createAScaleSetWithDiskControllerType(com.azure.resourcemanag /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityPostureReference.json */ /** @@ -2025,15 +2138,13 @@ public static void createAScaleSetWithDiskControllerType(com.azure.resourcemanag "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")))) .withEnableIpForwarding(true)))) .withSecurityPostureReference(new SecurityPostureReference().withId( - "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|latest") - .withExcludeExtensions(Arrays.asList("{securityPostureVMExtensionName}")) - .withIsOverridable(true))) + "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest"))) .withOverprovision(true), null, null, com.azure.core.util.Context.NONE); } /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPriorityMixPolicy.json */ /** @@ -2084,7 +2195,7 @@ public static void createAScaleSetWithPriorityMixPolicy(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json */ /** @@ -2137,7 +2248,7 @@ public static void createAScaleSetWithPriorityMixPolicy(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json */ /** @@ -2187,7 +2298,7 @@ public static void createAScaleSetWithSpotRestorePolicy(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json */ /** @@ -2228,7 +2339,7 @@ public static void createAScaleSetWithSpotRestorePolicy(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVMWithNonPersistedTPM. * json */ @@ -2283,7 +2394,7 @@ public static void createAScaleSetWithSecurityTypeAsConfidentialVMAndNonPersiste /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json */ /** @@ -2332,7 +2443,7 @@ public static void createAScaleSetWithBootDiagnostics(com.azure.resourcemanager. /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeallocateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeallocateSamples.java index 35917df5472c4..406a6a8b99ca6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeallocateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeallocateSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsDeallocateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MaximumSet_Gen.json */ /** @@ -34,7 +34,7 @@ public final class VirtualMachineScaleSetsDeallocateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeleteInstancesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeleteInstancesSamples.java index 3c3be508c870a..dc3a0c15e89fd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeleteInstancesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeleteInstancesSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsDeleteInstancesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MaximumSet_Gen.json */ /** @@ -33,7 +33,7 @@ public final class VirtualMachineScaleSetsDeleteInstancesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeleteSamples.java index c76c2913d2e74..0b7d83df7e113 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsDeleteSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetsDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSamples.java index fd4431b8c6532..89da481f6f01b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/ * VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json */ @@ -31,7 +31,7 @@ public static void virtualMachineScaleSetForceRecoveryServiceFabricPlatformUpdat /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/ * VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json */ diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetByResourceGroupSamples.java index 8fd9355a86256..41a629ac8fdb3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetByResourceGroupSamples.java @@ -12,7 +12,7 @@ public final class VirtualMachineScaleSetsGetByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json */ /** @@ -32,7 +32,7 @@ public static void getAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughA /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json */ /** @@ -51,7 +51,7 @@ public static void getAVirtualMachineScaleSet(com.azure.resourcemanager.AzureRes /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json */ /** @@ -70,7 +70,7 @@ public static void getAVirtualMachineScaleSetWithUserData(com.azure.resourcemana /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetInstanceViewSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetInstanceViewSamples.java index d0b474d38af4a..c3e07103a8d4f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetInstanceViewSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetInstanceViewSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetsGetInstanceViewSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetsGetInstanceViewSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetOSUpgradeHistorySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetOSUpgradeHistorySamples.java index df90a087b541f..4d900050b1cc2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetOSUpgradeHistorySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsGetOSUpgradeHistorySamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetsGetOSUpgradeHistorySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetsGetOSUpgradeHistorySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListByLocationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListByLocationSamples.java index 0248201f145fa..05fccb6b6b296 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListByLocationSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListByLocationSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetsListByLocationSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListBySubscription_ByLocation.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListByResourceGroupSamples.java index e909f9990a6d4..2604f7e56eccf 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetsListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MaximumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineScaleSetListMaximumSetGen(com.azure.resourceman /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListSamples.java index 859a99015ae04..c7aa251a77047 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetsListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListSkusSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListSkusSamples.java index bfa9538cbc942..27f362d012abd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListSkusSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsListSkusSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetsListSkusSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachineScaleSetsListSkusSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsPerformMaintenanceSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsPerformMaintenanceSamples.java index 9af6a70c23db0..ec2de7507d8b5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsPerformMaintenanceSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsPerformMaintenanceSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsPerformMaintenanceSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MinimumSet_Gen.json */ /** @@ -32,7 +32,7 @@ public final class VirtualMachineScaleSetsPerformMaintenanceSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsPowerOffSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsPowerOffSamples.java index 15aa8588104cd..67f5d3a918da3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsPowerOffSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsPowerOffSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsPowerOffSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MinimumSet_Gen.json */ /** @@ -32,7 +32,7 @@ public final class VirtualMachineScaleSetsPowerOffSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReapplySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReapplySamples.java index 8014737757692..f1a8e2bcf23a8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReapplySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReapplySamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineScaleSetsReapplySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MaximumSet_Gen.json */ /** @@ -30,7 +30,7 @@ public final class VirtualMachineScaleSetsReapplySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsRedeploySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsRedeploySamples.java index 23ec699716a7e..84594914bdab8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsRedeploySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsRedeploySamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsRedeploySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MinimumSet_Gen.json */ /** @@ -32,7 +32,7 @@ public final class VirtualMachineScaleSetsRedeploySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReimageAllSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReimageAllSamples.java index 9a1b2e37fb386..ce547074136df 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReimageAllSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReimageAllSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsReimageAllSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MaximumSet_Gen.json */ /** @@ -34,7 +34,7 @@ public final class VirtualMachineScaleSetsReimageAllSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReimageSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReimageSamples.java index 0dcac517cea8d..b74138eaaff69 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReimageSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsReimageSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsReimageSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MinimumSet_Gen.json */ /** @@ -32,7 +32,7 @@ public final class VirtualMachineScaleSetsReimageSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsRestartSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsRestartSamples.java index ca457f8b51738..f97434de6f7cf 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsRestartSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsRestartSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsRestartSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MaximumSet_Gen.json */ /** @@ -34,7 +34,7 @@ public final class VirtualMachineScaleSetsRestartSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsSetOrchestrationServiceStateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsSetOrchestrationServiceStateSamples.java index 3c5e1bc3fb9a1..4123d84d4ec97 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsSetOrchestrationServiceStateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsSetOrchestrationServiceStateSamples.java @@ -14,7 +14,7 @@ public final class VirtualMachineScaleSetsSetOrchestrationServiceStateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MinimumSet_Gen.json */ /** @@ -36,7 +36,7 @@ public static void virtualMachineScaleSetSetOrchestrationServiceStateMinimumSetG /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsStartSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsStartSamples.java index 938f6c44fc905..7e4a3657c9754 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsStartSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsStartSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsStartSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MinimumSet_Gen.json */ /** @@ -31,7 +31,7 @@ public static void virtualMachineScaleSetStartMinimumSetGen(com.azure.resourcema /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsUpdateInstancesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsUpdateInstancesSamples.java index 2ba8d70784fc0..6b07d7019fff8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsUpdateInstancesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsUpdateInstancesSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachineScaleSetsUpdateInstancesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MinimumSet_Gen.json */ /** @@ -35,7 +35,7 @@ public final class VirtualMachineScaleSetsUpdateInstancesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsUpdateSamples.java index 79c3076e7466a..c534d353f0261 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineScaleSetsUpdateSamples.java @@ -88,7 +88,7 @@ public final class VirtualMachineScaleSetsUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MinimumSet_Gen.json */ /** @@ -107,7 +107,7 @@ public static void virtualMachineScaleSetUpdateMinimumSetGen(com.azure.resourcem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MaximumSet_Gen.json */ /** @@ -130,6 +130,7 @@ public static void virtualMachineScaleSetUpdateMaximumSetGen(com.azure.resourcem .withPromotionCode("fakeTokenPlaceholder")) .withIdentity(new VirtualMachineScaleSetIdentity().withType(ResourceIdentityType.SYSTEM_ASSIGNED) .withUserAssignedIdentities(mapOf("key3951", new VirtualMachineIdentityUserAssignedIdentities()))) + .withZones(Arrays.asList("1", "2", "3")) .withUpgradePolicy(new UpgradePolicy().withMode(UpgradeMode.MANUAL) .withRollingUpgradePolicy(new RollingUpgradePolicy().withMaxBatchInstancePercent(49) .withMaxUnhealthyInstancePercent(81) diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineSizesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineSizesListSamples.java index 15927ab6301a4..23b068a44fe1d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineSizesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineSizesListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachineSizesListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineSizesListMinimumSetGen(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesAssessPatchesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesAssessPatchesSamples.java index ce9b312e26591..d18fd980189ad 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesAssessPatchesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesAssessPatchesSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesAssessPatchesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_AssessPatches.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesAttachDetachDataDisksSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesAttachDetachDataDisksSamples.java index 38d0c97627192..0cd47b80fa303 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesAttachDetachDataDisksSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesAttachDetachDataDisksSamples.java @@ -19,7 +19,7 @@ public final class VirtualMachinesAttachDetachDataDisksSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_AttachDetachDataDisks_MinimumSet_Gen.json */ /** @@ -43,7 +43,7 @@ public final class VirtualMachinesAttachDetachDataDisksSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_AttachDetachDataDisks_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesCaptureSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesCaptureSamples.java index bcf4b14ef0808..869a0a834d79a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesCaptureSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesCaptureSamples.java @@ -12,7 +12,7 @@ public final class VirtualMachinesCaptureSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Capture_MinimumSet_Gen.json */ /** @@ -34,7 +34,7 @@ public static void virtualMachineCaptureMinimumSetGen(com.azure.resourcemanager. /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Capture_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesConvertToManagedDisksSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesConvertToManagedDisksSamples.java index d6e179b3b71b9..f2ec374d152bd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesConvertToManagedDisksSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesConvertToManagedDisksSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesConvertToManagedDisksSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MinimumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachinesConvertToManagedDisksSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesCreateOrUpdateSamples.java index cc47d497d1dc7..a49a48f8ce14d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesCreateOrUpdateSamples.java @@ -89,7 +89,7 @@ public final class VirtualMachinesCreateOrUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json */ /** @@ -135,7 +135,7 @@ public static void createAVmWithEphemeralOsDiskProvisioningInCacheDiskUsingPlace /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json */ /** @@ -181,7 +181,7 @@ public static void createAWindowsVmWithAPatchSettingPatchModeOfAutomaticByOS( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithEncryptionIdentity.json */ /** @@ -226,7 +226,7 @@ public static void createAVMWithEncryptionIdentity(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json */ /** @@ -271,7 +271,7 @@ public static void createAWindowsVmWithPatchSettingsPatchModeAndAssessmentModeSe /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json */ /** @@ -311,7 +311,7 @@ public static void createAVmWithPremiumStorage(com.azure.resourcemanager.AzureRe /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json */ /** @@ -357,7 +357,7 @@ public static void createOrUpdateAVMWithCapacityReservation(com.azure.resourcema /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json */ /** @@ -402,7 +402,7 @@ public static void createALinuxVmWithAPatchSettingAssessmentModeOfImageDefault( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json */ /** @@ -439,7 +439,7 @@ public static void createALinuxVmWithAPatchSettingAssessmentModeOfImageDefault( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json */ /** @@ -484,7 +484,7 @@ public static void createALinuxVmWithAPatchSettingAssessmentModeOfImageDefault( /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json */ /** @@ -526,7 +526,7 @@ public static void createAVmInAnAvailabilitySet(com.azure.resourcemanager.AzureR /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json */ /** @@ -577,7 +577,7 @@ public static void createAVmInAnAvailabilitySet(com.azure.resourcemanager.AzureR /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsNvmeDisk.json */ /** @@ -623,7 +623,7 @@ public static void createAVmWithEphemeralOsDiskProvisioningInNvmeDiskUsingPlacem /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json */ /** @@ -654,7 +654,7 @@ public static void createAVmFromASpecializedSharedImage(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json */ /** @@ -694,7 +694,7 @@ public static void createAVmWithPasswordAuthentication(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json */ /** @@ -747,7 +747,7 @@ public static void createAVmWithScheduledEventsProfile(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json */ /** @@ -793,7 +793,7 @@ public static void createAVmWithEphemeralOsDiskProvisioningInResourceDiskUsingPl /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json */ /** @@ -837,7 +837,7 @@ public static void createAVmWithEphemeralOsDisk(com.azure.resourcemanager.AzureR /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json */ /** @@ -883,7 +883,7 @@ public static void createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKey /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json */ /** @@ -937,7 +937,7 @@ public static void createAVmWithDiskEncryptionSetResourceIdInTheOsDiskAndDataDis /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithDiskControllerType.json */ /** @@ -987,7 +987,7 @@ public static void createAVMWithDiskControllerType(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json */ /** @@ -1022,7 +1022,7 @@ public static void createAVMFromASharedGalleryImage(com.azure.resourcemanager.Az /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithVMSizeProperties.json */ /** @@ -1067,7 +1067,7 @@ public static void createAVMWithVMSizeProperties(com.azure.resourcemanager.Azure /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json */ /** @@ -1115,7 +1115,7 @@ public static void createAVMWithVMSizeProperties(com.azure.resourcemanager.Azure /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json */ /** @@ -1159,7 +1159,7 @@ public static void createALinuxVmWithAPatchSettingsPatchModeAndAssessmentModeSet /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithNonPersistedTPM.json */ /** @@ -1206,7 +1206,7 @@ public static void createAVMWithSecurityTypeConfidentialVMWithNonPersistedTPMSec /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json */ /** @@ -1249,7 +1249,7 @@ public static void createAVmWithAMarketplaceImagePlan(com.azure.resourcemanager. /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json */ /** @@ -1295,7 +1295,7 @@ public static void createAWindowsVmWithAPatchSettingAssessmentModeOfImageDefault /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/ * VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json */ @@ -1343,7 +1343,7 @@ public static void createAWindowsVmWithAPatchSettingPatchModeOfAutomaticByPlatfo /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json */ /** @@ -1387,7 +1387,7 @@ public static void createAVmWithAnExtensionsTimeBudget(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json */ /** @@ -1427,7 +1427,7 @@ public static void createAVmWithEmptyDataDisks(com.azure.resourcemanager.AzureRe /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json */ /** @@ -1474,7 +1474,7 @@ public static void createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKey /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithDataDisksFromSourceResource.json */ /** @@ -1527,7 +1527,7 @@ public static void createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKey /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json */ /** @@ -1561,7 +1561,7 @@ public static void createAVmFromACustomImage(com.azure.resourcemanager.AzureReso /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json */ /** @@ -1605,7 +1605,7 @@ public static void createAVMWithHibernationEnabled(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json */ /** @@ -1648,7 +1648,7 @@ public static void createAVMWithHibernationEnabled(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json */ /** @@ -1699,7 +1699,7 @@ public static void createAVmWithApplicationProfile(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfigurationDnsSettings.json */ /** @@ -1753,7 +1753,7 @@ public static void createAVMWithNetworkInterfaceConfigurationWithPublicIpAddress /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json */ /** @@ -1797,7 +1797,7 @@ public static void createAVmInAVirtualMachineScaleSetWithCustomerAssignedPlatfor /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithBootDiagnostics.json */ /** @@ -1840,7 +1840,7 @@ public static void createAVmWithBootDiagnostics(com.azure.resourcemanager.AzureR /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json */ /** @@ -1882,7 +1882,7 @@ public static void createAVmWithSshAuthentication(com.azure.resourcemanager.Azur /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json */ /** @@ -1917,7 +1917,7 @@ public static void createAVMFromACommunityGalleryImage(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithUserData.json */ /** @@ -1961,7 +1961,7 @@ public static void createAVMWithUserData(com.azure.resourcemanager.AzureResource /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json */ /** @@ -1995,7 +1995,7 @@ public static void createAVmFromAGeneralizedSharedImage(com.azure.resourcemanage /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json */ /** @@ -2044,7 +2044,7 @@ public static void createALinuxVmWithAPatchSettingPatchModeOfAutomaticByPlatform /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json */ /** @@ -2089,7 +2089,7 @@ public static void createALinuxVmWithAPatchSettingPatchModeOfAutomaticByPlatform /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithProxyAgentSettings.json */ /** @@ -2131,7 +2131,7 @@ public static void createALinuxVmWithAPatchSettingPatchModeOfAutomaticByPlatform /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json */ /** @@ -2176,7 +2176,7 @@ public static void createALinuxVmWithAPatchSettingPatchModeOfAutomaticByPlatform /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json */ /** @@ -2218,7 +2218,7 @@ public static void createAVmWithManagedBootDiagnostics(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesDeallocateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesDeallocateSamples.java index c592f6b2e91a7..142e0c8d0b74a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesDeallocateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesDeallocateSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesDeallocateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Deallocate_MaximumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineDeallocateMaximumSetGen(com.azure.resourcemanag /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Deallocate_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesDeleteSamples.java index 4fd7526618b4f..7f692a5b5f6b8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesDeleteSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesDeleteSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Delete_Force.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesGeneralizeSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesGeneralizeSamples.java index 72e7d99b1de16..fed308955d4cd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesGeneralizeSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesGeneralizeSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesGeneralizeSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Generalize.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesGetByResourceGroupSamples.java index 801d7ce99094a..33b6561ecf2d5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesGetByResourceGroupSamples.java @@ -12,7 +12,7 @@ public final class VirtualMachinesGetByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json */ /** @@ -30,7 +30,7 @@ public static void getAVirtualMachineWithVMSizeProperties(com.azure.resourcemana /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json */ /** @@ -49,7 +49,7 @@ public static void getAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomatic /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json */ /** @@ -69,7 +69,7 @@ public static void getAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomatic /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Get.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesInstallPatchesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesInstallPatchesSamples.java index 22c80c0da4f17..03c7b404a5030 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesInstallPatchesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesInstallPatchesSamples.java @@ -17,7 +17,7 @@ public final class VirtualMachinesInstallPatchesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_InstallPatches.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesInstanceViewSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesInstanceViewSamples.java index 716776893cebe..72f9a246c20c6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesInstanceViewSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesInstanceViewSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesInstanceViewSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Get_InstanceView.json */ /** @@ -28,7 +28,7 @@ public static void getVirtualMachineInstanceView(com.azure.resourcemanager.Azure /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListAvailableSizesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListAvailableSizesSamples.java index c3341b67852a2..10f83eac33919 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListAvailableSizesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListAvailableSizesSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesListAvailableSizesSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_ListAvailableVmSizes.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListByLocationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListByLocationSamples.java index c647da2295ed7..52c818856b351 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListByLocationSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListByLocationSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesListByLocationSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_ListBySubscription_ByLocation.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListByResourceGroupSamples.java index 1a843b30d42d5..cf3beb28198f7 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListByResourceGroupSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesListByResourceGroupSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_List_MaximumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineListMaximumSetGen(com.azure.resourcemanager.Azu /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_List_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListSamples.java index 048fdcc56f7dc..22238508a4a41 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesListSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesListSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_ListAll_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineListAllMinimumSetGen(com.azure.resourcemanager. /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_ListAll_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesPerformMaintenanceSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesPerformMaintenanceSamples.java index 520696fde4b03..72594f0719ec5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesPerformMaintenanceSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesPerformMaintenanceSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesPerformMaintenanceSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_PerformMaintenance_MaximumSet_Gen.json */ /** @@ -29,7 +29,7 @@ public final class VirtualMachinesPerformMaintenanceSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_PerformMaintenance_MinimumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesPowerOffSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesPowerOffSamples.java index ee4a5f1b2f71c..cfa70882eb88f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesPowerOffSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesPowerOffSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesPowerOffSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_PowerOff_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachinePowerOffMinimumSetGen(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_PowerOff_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesReapplySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesReapplySamples.java index 3c479712ee4e8..4a7c4ffca6386 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesReapplySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesReapplySamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesReapplySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Reapply.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRedeploySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRedeploySamples.java index 35be0d51d700e..4dee17d679043 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRedeploySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRedeploySamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesRedeploySamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Redeploy_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineRedeployMinimumSetGen(com.azure.resourcemanager /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Redeploy_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesReimageSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesReimageSamples.java index d0f53e680481c..221aa8fc5ebe0 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesReimageSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesReimageSamples.java @@ -13,7 +13,7 @@ public final class VirtualMachinesReimageSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Reimage.json */ /** @@ -32,7 +32,7 @@ public static void reimageAVirtualMachine(com.azure.resourcemanager.AzureResourc /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Reimage_NonEphemeralVMs.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRestartSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRestartSamples.java index 61b89d9c91613..8fa8afe903b8c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRestartSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRestartSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesRestartSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Restart_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineRestartMinimumSetGen(com.azure.resourcemanager. /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Restart_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRetrieveBootDiagnosticsDataSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRetrieveBootDiagnosticsDataSamples.java index 0113ac3bfa670..d32deffedf674 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRetrieveBootDiagnosticsDataSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRetrieveBootDiagnosticsDataSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesRetrieveBootDiagnosticsDataSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRunCommandSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRunCommandSamples.java index 3e20c29b2fcf5..86f9ea4780b5b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRunCommandSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesRunCommandSamples.java @@ -12,7 +12,7 @@ public final class VirtualMachinesRunCommandSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/ * VirtualMachineRunCommand.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesSimulateEvictionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesSimulateEvictionSamples.java index 25d9a4ef91ea7..37a09328e0f45 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesSimulateEvictionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesSimulateEvictionSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesSimulateEvictionSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_SimulateEviction.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesStartSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesStartSamples.java index 075c4a5a3cdb8..58c4a5f44cf96 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesStartSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesStartSamples.java @@ -10,7 +10,7 @@ public final class VirtualMachinesStartSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Start_MinimumSet_Gen.json */ /** @@ -28,7 +28,7 @@ public static void virtualMachineStartMinimumSetGen(com.azure.resourcemanager.Az /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Start_MaximumSet_Gen.json */ /** diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesUpdateSamples.java index 64e3b385bd5fc..fd13c50fcf0e8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachinesUpdateSamples.java @@ -27,7 +27,7 @@ public final class VirtualMachinesUpdateSamples { /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json */ /** @@ -76,7 +76,7 @@ public static void updateAVMByDetachingDataDisk(com.azure.resourcemanager.AzureR /* * x-ms-original-file: - * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/ + * specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/ * virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json */ /**