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 394d5f1a944b..557319945a5f 100644
--- a/eng/code-quality-reports/src/main/resources/revapi/revapi.json
+++ b/eng/code-quality-reports/src/main/resources/revapi/revapi.json
@@ -191,10 +191,26 @@
"justification": "support configuration of Service Bus domain name."
},
{
- "code": "java.class.nowFinal",
- "old:": "class com.azure.resourcemanager.resources.models.Identity",
- "new": "class com.azure.resourcemanager.resources.models.Identity",
- "justification": "Make the class final. User is unlikely to inherit from this class."
+ "code": "java.method.removed",
+ "old": "method com.azure.resourcemanager.compute.models.VirtualMachineScaleSetIpConfiguration com.azure.resourcemanager.compute.models.VirtualMachineScaleSetIpConfiguration::withId(java.lang.String)",
+ "justification": "Break by service. 'id' is previously not used in runtime."
+ },
+ {
+ "code": "java.class.noLongerInheritsFromClass",
+ "old": "class com.azure.resourcemanager.compute.models.VirtualMachineScaleSetIpConfiguration",
+ "new": "class com.azure.resourcemanager.compute.models.VirtualMachineScaleSetIpConfiguration",
+ "justification": "Break by service. 'id' is previously not used in runtime. And customer unlikely to use this class as subclass of 'SubResource'."
+ },
+ {
+ "code": "java.method.removed",
+ "old": "method com.azure.resourcemanager.compute.models.VirtualMachineScaleSetNetworkConfiguration com.azure.resourcemanager.compute.models.VirtualMachineScaleSetNetworkConfiguration::withId(java.lang.String)",
+ "justification": "Break by service. 'id' is previously not used in runtime."
+ },
+ {
+ "code": "java.class.noLongerInheritsFromClass",
+ "old": "class com.azure.resourcemanager.compute.models.VirtualMachineScaleSetNetworkConfiguration",
+ "new": "class com.azure.resourcemanager.compute.models.VirtualMachineScaleSetNetworkConfiguration",
+ "justification": "Break by service. 'id' is previously not used in runtime. And customer unlikely to use this class as subclass of 'SubResource'."
},
{
"ignore": true,
diff --git a/sdk/resourcemanager/api-specs.json b/sdk/resourcemanager/api-specs.json
index 0176a679022c..71937e71b5f9 100644
--- a/sdk/resourcemanager/api-specs.json
+++ b/sdk/resourcemanager/api-specs.json
@@ -41,7 +41,7 @@
"dir": "azure-resourcemanager-compute",
"source": "specification/compute/resource-manager/readme.md",
"package": "com.azure.resourcemanager.compute",
- "args": "--tag=package-2022-11-01 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes"
+ "args": "--tag=package-2023-03-01 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes"
},
"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 277a275669e1..cd1131780c46 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md
@@ -2,14 +2,18 @@
## 2.26.0-beta.1 (Unreleased)
-### Features Added
-
### Breaking Changes
-### Bugs Fixed
+- Changed type from `ApiEntityReference` to `DiskRestorePointAttributes` of `diskRestorePoint` property in `RestorePointSourceVMDataDisk` and `RestorePointSourceVmosDisk` class.
+- Removed some setters in `RestorePointSourceMetadata`, `RestorePointSourceVmosDisk`, `RestorePointSourceVmosDisk` class. It should not affect customer, as these properties are read-only.
+- Removed `id` property from classes. It should not affect customer, as these properties does not exist in runtime.
### Other Changes
+#### Dependency Updates
+
+- Updated `api-version` to `2023-03-01`.
+
## 2.25.0 (2023-03-24)
### Other Changes
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml b/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml
index 616f81f58cad..f32a5406aa54 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml
@@ -56,6 +56,7 @@
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
+ true
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/DedicatedHostsClient.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/DedicatedHostsClient.java
index 3cd2bf0be4b1..b7b472ba1d8a 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/DedicatedHostsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/DedicatedHostsClient.java
@@ -146,7 +146,7 @@ DedicatedHostInner createOrUpdate(
Context context);
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -163,7 +163,7 @@ Mono>> updateWithResponseAsync(
String resourceGroupName, String hostGroupName, String hostname, DedicatedHostUpdate parameters);
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -179,7 +179,7 @@ PollerFlux, DedicatedHostInner> beginUpdateAsync(
String resourceGroupName, String hostGroupName, String hostname, DedicatedHostUpdate parameters);
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -195,7 +195,7 @@ SyncPoller, DedicatedHostInner> beginUpdate(
String resourceGroupName, String hostGroupName, String hostname, DedicatedHostUpdate parameters);
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -216,7 +216,7 @@ SyncPoller, DedicatedHostInner> beginUpdate(
Context context);
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -232,7 +232,7 @@ Mono updateAsync(
String resourceGroupName, String hostGroupName, String hostname, DedicatedHostUpdate parameters);
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -248,7 +248,7 @@ DedicatedHostInner update(
String resourceGroupName, String hostGroupName, String hostname, DedicatedHostUpdate parameters);
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -597,4 +597,51 @@ SyncPoller, Void> beginRestart(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void restart(String resourceGroupName, String hostGroupName, String hostname, Context context);
+
+ /**
+ * Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The
+ * dedicated host sizes provided can be used to only scale up the existing dedicated host.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param hostGroupName The name of the dedicated host group.
+ * @param hostname The name of the dedicated host.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List Dedicated Host sizes operation response as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAvailableSizesAsync(String resourceGroupName, String hostGroupName, String hostname);
+
+ /**
+ * Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The
+ * dedicated host sizes provided can be used to only scale up the existing dedicated host.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param hostGroupName The name of the dedicated host group.
+ * @param hostname The name of the dedicated host.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List Dedicated Host sizes operation response as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listAvailableSizes(String resourceGroupName, String hostGroupName, String hostname);
+
+ /**
+ * Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The
+ * dedicated host sizes provided can be used to only scale up the existing dedicated host.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param hostGroupName The name of the dedicated host group.
+ * @param hostname The name of the dedicated host.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List Dedicated Host sizes operation response as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listAvailableSizes(
+ String resourceGroupName, String hostGroupName, String hostname, Context context);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineScaleSetVMsClient.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineScaleSetVMsClient.java
index 71b09c8e9050..eddf28d2c88b 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineScaleSetVMsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineScaleSetVMsClient.java
@@ -1323,8 +1323,8 @@ SyncPoller, Void> beginRedeploy(
* @param vmScaleSetName The name of the VM scale set.
* @param instanceId The instance ID of the virtual machine.
* @param sasUriExpirationTimeInMinutes Expiration duration in minutes for the SAS URIs with a value between 1 to
- * 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default
- * expiration duration of 120 minutes.
+ * 1440 minutes. **Note:** If not specified, SAS URIs will be generated with a default expiration duration of
+ * 120 minutes.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1357,8 +1357,8 @@ Mono retrieveBootDiagnosticsDataAsync(
* @param vmScaleSetName The name of the VM scale set.
* @param instanceId The instance ID of the virtual machine.
* @param sasUriExpirationTimeInMinutes Expiration duration in minutes for the SAS URIs with a value between 1 to
- * 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default
- * expiration duration of 120 minutes.
+ * 1440 minutes. **Note:** If not specified, SAS URIs will be generated with a default expiration duration of
+ * 120 minutes.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineScaleSetsClient.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineScaleSetsClient.java
index 335463ad0ae9..5014fc6cb39a 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineScaleSetsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineScaleSetsClient.java
@@ -484,6 +484,8 @@ Response getByResourceGroupWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param vmScaleSetName The name of the VM scale set.
+ * @param hibernate Optional parameter to hibernate a virtual machine from the VM scale set. (This feature is
+ * available for VMSS with Flexible OrchestrationMode only).
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
@@ -492,7 +494,10 @@ Response getByResourceGroupWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono>> deallocateWithResponseAsync(
- String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs);
+ String resourceGroupName,
+ String vmScaleSetName,
+ Boolean hibernate,
+ VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs);
/**
* Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute
@@ -500,6 +505,8 @@ Mono>> deallocateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param vmScaleSetName The name of the VM scale set.
+ * @param hibernate Optional parameter to hibernate a virtual machine from the VM scale set. (This feature is
+ * available for VMSS with Flexible OrchestrationMode only).
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
@@ -508,7 +515,10 @@ Mono>> deallocateWithResponseAsync(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
PollerFlux, Void> beginDeallocateAsync(
- String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs);
+ String resourceGroupName,
+ String vmScaleSetName,
+ Boolean hibernate,
+ VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs);
/**
* Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute
@@ -544,6 +554,8 @@ PollerFlux, Void> beginDeallocateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param vmScaleSetName The name of the VM scale set.
+ * @param hibernate Optional parameter to hibernate a virtual machine from the VM scale set. (This feature is
+ * available for VMSS with Flexible OrchestrationMode only).
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -555,6 +567,7 @@ PollerFlux, Void> beginDeallocateAsync(
SyncPoller, Void> beginDeallocate(
String resourceGroupName,
String vmScaleSetName,
+ Boolean hibernate,
VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs,
Context context);
@@ -564,6 +577,8 @@ SyncPoller, Void> beginDeallocate(
*
* @param resourceGroupName The name of the resource group.
* @param vmScaleSetName The name of the VM scale set.
+ * @param hibernate Optional parameter to hibernate a virtual machine from the VM scale set. (This feature is
+ * available for VMSS with Flexible OrchestrationMode only).
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
@@ -572,7 +587,10 @@ SyncPoller, Void> beginDeallocate(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono deallocateAsync(
- String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs);
+ String resourceGroupName,
+ String vmScaleSetName,
+ Boolean hibernate,
+ VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs);
/**
* Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute
@@ -607,6 +625,8 @@ Mono deallocateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param vmScaleSetName The name of the VM scale set.
+ * @param hibernate Optional parameter to hibernate a virtual machine from the VM scale set. (This feature is
+ * available for VMSS with Flexible OrchestrationMode only).
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -617,6 +637,7 @@ Mono deallocateAsync(
void deallocate(
String resourceGroupName,
String vmScaleSetName,
+ Boolean hibernate,
VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs,
Context context);
@@ -1440,6 +1461,97 @@ void start(
VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs,
Context context);
+ /**
+ * Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the VM scale set.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> reapplyWithResponseAsync(String resourceGroupName, String vmScaleSetName);
+
+ /**
+ * Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the VM scale set.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginReapplyAsync(String resourceGroupName, String vmScaleSetName);
+
+ /**
+ * Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the VM scale set.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginReapply(String resourceGroupName, String vmScaleSetName);
+
+ /**
+ * Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the VM scale set.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginReapply(String resourceGroupName, String vmScaleSetName, Context context);
+
+ /**
+ * Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the VM scale set.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono reapplyAsync(String resourceGroupName, String vmScaleSetName);
+
+ /**
+ * Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the VM scale set.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void reapply(String resourceGroupName, String vmScaleSetName);
+
+ /**
+ * Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the VM scale set.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void reapply(String resourceGroupName, String vmScaleSetName, Context context);
+
/**
* Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them
* back on.
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachinesClient.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachinesClient.java
index 219b0221d83a..bcfc8b9627ef 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachinesClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachinesClient.java
@@ -22,6 +22,8 @@
import com.azure.resourcemanager.compute.fluent.models.VirtualMachineInstanceViewInner;
import com.azure.resourcemanager.compute.fluent.models.VirtualMachineSizeInner;
import com.azure.resourcemanager.compute.fluent.models.VirtualMachineUpdateInner;
+import com.azure.resourcemanager.compute.models.ExpandTypeForListVMs;
+import com.azure.resourcemanager.compute.models.ExpandTypesForListVMs;
import com.azure.resourcemanager.compute.models.InstanceViewTypes;
import com.azure.resourcemanager.compute.models.RunCommandInput;
import com.azure.resourcemanager.compute.models.VirtualMachineCaptureParameters;
@@ -890,9 +892,9 @@ SyncPoller, Void> beginDeallocate(
/**
* Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before
- * performing this operation. <br>For Windows, please refer to [Create a managed image of a generalized VM in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).<br>For Linux,
- * please refer to [How to create an image of a virtual machine or
+ * performing this operation. For Windows, please refer to [Create a managed image of a generalized VM in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource). For Linux, please refer
+ * to [How to create an image of a virtual machine or
* VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image).
*
* @param resourceGroupName The name of the resource group.
@@ -907,9 +909,9 @@ SyncPoller, Void> beginDeallocate(
/**
* Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before
- * performing this operation. <br>For Windows, please refer to [Create a managed image of a generalized VM in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).<br>For Linux,
- * please refer to [How to create an image of a virtual machine or
+ * performing this operation. For Windows, please refer to [Create a managed image of a generalized VM in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource). For Linux, please refer
+ * to [How to create an image of a virtual machine or
* VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image).
*
* @param resourceGroupName The name of the resource group.
@@ -924,9 +926,9 @@ SyncPoller, Void> beginDeallocate(
/**
* Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before
- * performing this operation. <br>For Windows, please refer to [Create a managed image of a generalized VM in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).<br>For Linux,
- * please refer to [How to create an image of a virtual machine or
+ * performing this operation. For Windows, please refer to [Create a managed image of a generalized VM in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource). For Linux, please refer
+ * to [How to create an image of a virtual machine or
* VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image).
*
* @param resourceGroupName The name of the resource group.
@@ -942,9 +944,9 @@ SyncPoller, Void> beginDeallocate(
/**
* Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before
- * performing this operation. <br>For Windows, please refer to [Create a managed image of a generalized VM in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).<br>For Linux,
- * please refer to [How to create an image of a virtual machine or
+ * performing this operation. For Windows, please refer to [Create a managed image of a generalized VM in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource). For Linux, please refer
+ * to [How to create an image of a virtual machine or
* VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image).
*
* @param resourceGroupName The name of the resource group.
@@ -964,13 +966,16 @@ SyncPoller, Void> beginDeallocate(
* @param filter The system query option to filter VMs returned in the response. Allowed value is
* 'virtualMachineScaleSet/id' eq
* /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}'.
+ * @param expand The expand expression to apply on operation. 'instanceView' enables fetching run time status of all
+ * Virtual Machines, this can only be specified if a valid $filter option is specified.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the List Virtual Machine operation response as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listByResourceGroupAsync(String resourceGroupName, String filter);
+ PagedFlux listByResourceGroupAsync(
+ String resourceGroupName, String filter, ExpandTypeForListVMs expand);
/**
* Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to
@@ -1006,6 +1011,8 @@ SyncPoller, Void> beginDeallocate(
* @param filter The system query option to filter VMs returned in the response. Allowed value is
* 'virtualMachineScaleSet/id' eq
* /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}'.
+ * @param expand The expand expression to apply on operation. 'instanceView' enables fetching run time status of all
+ * Virtual Machines, this can only be specified if a valid $filter option is specified.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
@@ -1013,7 +1020,8 @@ SyncPoller, Void> beginDeallocate(
* @return the List Virtual Machine operation response as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, String filter, Context context);
+ PagedIterable listByResourceGroup(
+ String resourceGroupName, String filter, ExpandTypeForListVMs expand, Context context);
/**
* Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get
@@ -1023,13 +1031,15 @@ SyncPoller, Void> beginDeallocate(
* @param filter The system query option to filter VMs returned in the response. Allowed value is
* 'virtualMachineScaleSet/id' eq
* /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}'.
+ * @param expand The expand expression to apply on operation. 'instanceView' enables fetching run time status of all
+ * Virtual Machines, this can only be specified if a valid $filter option is specified.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the List Virtual Machine operation response as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listAsync(String statusOnly, String filter);
+ PagedFlux listAsync(String statusOnly, String filter, ExpandTypesForListVMs expand);
/**
* Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get
@@ -1061,6 +1071,8 @@ SyncPoller, Void> beginDeallocate(
* @param filter The system query option to filter VMs returned in the response. Allowed value is
* 'virtualMachineScaleSet/id' eq
* /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}'.
+ * @param expand The expand expression to apply on operation. 'instanceView' enables fetching run time status of all
+ * Virtual Machines, this can only be specified if a valid $filter option is specified.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
@@ -1068,7 +1080,8 @@ SyncPoller, Void> beginDeallocate(
* @return the List Virtual Machine operation response as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String statusOnly, String filter, Context context);
+ PagedIterable list(
+ String statusOnly, String filter, ExpandTypesForListVMs expand, Context context);
/**
* Lists all available virtual machine sizes to which the specified virtual machine can be resized.
@@ -1785,8 +1798,8 @@ SyncPoller, Void> beginReimage(
* @param resourceGroupName The name of the resource group.
* @param vmName The name of the virtual machine.
* @param sasUriExpirationTimeInMinutes Expiration duration in minutes for the SAS URIs with a value between 1 to
- * 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default
- * expiration duration of 120 minutes.
+ * 1440 minutes. **Note:** If not specified, SAS URIs will be generated with a default expiration duration of
+ * 120 minutes.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1817,8 +1830,8 @@ Mono retrieveBootDiagnosticsDataAsync(
* @param resourceGroupName The name of the resource group.
* @param vmName The name of the virtual machine.
* @param sasUriExpirationTimeInMinutes Expiration duration in minutes for the SAS URIs with a value between 1 to
- * 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default
- * expiration duration of 120 minutes.
+ * 1440 minutes. **Note:** If not specified, SAS URIs will be generated with a default expiration duration of
+ * 120 minutes.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
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 3042ed0023e1..98ea449a54e0 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
@@ -17,10 +17,10 @@
* Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines
* specified in the same availability set are allocated to different nodes to maximize availability. For more
* information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For more
- * information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently, a
- * VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure
+ * planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added
+ * to an availability set at creation time. An existing VM cannot be added to an availability set.
*/
@Fluent
public final class AvailabilitySetInner extends Resource {
@@ -160,7 +160,7 @@ public AvailabilitySetInner withVirtualMachines(List virtualMachine
/**
* Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * availability set should be assigned to. Minimum api-version: 2018-04-01.
*
* @return the proximityPlacementGroup value.
*/
@@ -170,7 +170,7 @@ public SubResource proximityPlacementGroup() {
/**
* Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * availability set should be assigned to. Minimum api-version: 2018-04-01.
*
* @param proximityPlacementGroup the proximityPlacementGroup value to set.
* @return the AvailabilitySetInner object itself.
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 9a8caf8110be..33a0d1bf03bb 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
@@ -33,7 +33,7 @@ public final class AvailabilitySetProperties {
/*
* Specifies information about the proximity placement group that the availability set should be assigned to.
- *
Minimum api-version: 2018-04-01.
+ * Minimum api-version: 2018-04-01.
*/
@JsonProperty(value = "proximityPlacementGroup")
private SubResource proximityPlacementGroup;
@@ -110,7 +110,7 @@ public AvailabilitySetProperties withVirtualMachines(List virtualMa
/**
* Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * availability set should be assigned to. Minimum api-version: 2018-04-01.
*
* @return the proximityPlacementGroup value.
*/
@@ -120,7 +120,7 @@ public SubResource proximityPlacementGroup() {
/**
* Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * availability set should be assigned to. Minimum api-version: 2018-04-01.
*
* @param proximityPlacementGroup the proximityPlacementGroup value to set.
* @return the AvailabilitySetProperties object itself.
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 18cdce588305..6100e65d44da 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
@@ -14,8 +14,8 @@
/**
* Specifies information about the capacity reservation group that the capacity reservations should be assigned to.
- * <br><br> Currently, a capacity reservation can only be added to a capacity reservation group at creation
- * time. An existing capacity reservation cannot be added or moved to another capacity reservation group.
+ * Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing
+ * capacity reservation cannot be added or moved to another capacity reservation group.
*/
@Fluent
public final class CapacityReservationGroupInner extends Resource {
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationInner.java
index ad11a019092c..29d75f148d97 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationInner.java
@@ -133,9 +133,9 @@ public String reservationId() {
/**
* Get the platformFaultDomainCount property: Specifies the value of fault domain count that Capacity Reservation
- * supports for requested VM size.<br>NOTE: The fault domain count specified for a resource (like virtual
- * machines scale set) must be less than or equal to this value if it deploys using capacity
- * reservation.<br><br>Minimum api-version: 2022-08-01.
+ * supports for requested VM size. **Note:** The fault domain count specified for a resource (like virtual machines
+ * scale set) must be less than or equal to this value if it deploys using capacity reservation. Minimum
+ * api-version: 2022-08-01.
*
* @return the platformFaultDomainCount value.
*/
@@ -181,8 +181,8 @@ public CapacityReservationInstanceView instanceView() {
}
/**
- * Get the timeCreated property: Specifies the time at which the Capacity Reservation resource was
- * created.<br><br>Minimum api-version: 2021-11-01.
+ * Get the timeCreated property: Specifies the time at which the Capacity Reservation resource was created. Minimum
+ * api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationProperties.java
index 975e2603ae24..dcf8df480855 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationProperties.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/CapacityReservationProperties.java
@@ -22,9 +22,9 @@ public final class CapacityReservationProperties {
private String reservationId;
/*
- * Specifies the value of fault domain count that Capacity Reservation supports for requested VM size.
NOTE: The
- * fault domain count specified for a resource (like virtual machines scale set) must be less than or equal to this
- * value if it deploys using capacity reservation.
Minimum api-version: 2022-08-01.
+ * Specifies the value of fault domain count that Capacity Reservation supports for requested VM size. **Note:**
+ * The fault domain count specified for a resource (like virtual machines scale set) must be less than or equal to
+ * this value if it deploys using capacity reservation. Minimum api-version: 2022-08-01.
*/
@JsonProperty(value = "platformFaultDomainCount", access = JsonProperty.Access.WRITE_ONLY)
private Integer platformFaultDomainCount;
@@ -54,8 +54,7 @@ public final class CapacityReservationProperties {
private CapacityReservationInstanceView instanceView;
/*
- * Specifies the time at which the Capacity Reservation resource was created.
Minimum api-version:
- * 2021-11-01.
+ * Specifies the time at which the Capacity Reservation resource was created. Minimum api-version: 2021-11-01.
*/
@JsonProperty(value = "timeCreated", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime timeCreated;
@@ -76,9 +75,9 @@ public String reservationId() {
/**
* Get the platformFaultDomainCount property: Specifies the value of fault domain count that Capacity Reservation
- * supports for requested VM size.<br>NOTE: The fault domain count specified for a resource (like virtual
- * machines scale set) must be less than or equal to this value if it deploys using capacity
- * reservation.<br><br>Minimum api-version: 2022-08-01.
+ * supports for requested VM size. **Note:** The fault domain count specified for a resource (like virtual machines
+ * scale set) must be less than or equal to this value if it deploys using capacity reservation. Minimum
+ * api-version: 2022-08-01.
*
* @return the platformFaultDomainCount value.
*/
@@ -124,8 +123,8 @@ public CapacityReservationInstanceView instanceView() {
}
/**
- * Get the timeCreated property: Specifies the time at which the Capacity Reservation resource was
- * created.<br><br>Minimum api-version: 2021-11-01.
+ * Get the timeCreated property: Specifies the time at which the Capacity Reservation resource was created. Minimum
+ * api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostGroupInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostGroupInner.java
index e8f1adfab5f1..0547913c65ba 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostGroupInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostGroupInner.java
@@ -14,9 +14,9 @@
import java.util.Map;
/**
- * Specifies information about the dedicated host group that the dedicated hosts should be assigned to.
- * <br><br> Currently, a dedicated host can only be added to a dedicated host group at creation time. An
- * existing dedicated host cannot be added to another dedicated host group.
+ * Specifies information about the dedicated host group that the dedicated hosts should be assigned to. Currently, a
+ * dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be
+ * added to another dedicated host group.
*/
@Fluent
public final class DedicatedHostGroupInner extends Resource {
@@ -131,7 +131,7 @@ public DedicatedHostGroupInstanceView instanceView() {
* Get the supportAutomaticPlacement property: Specifies whether virtual machines or virtual machine scale sets can
* be placed automatically on the dedicated host group. Automatic placement means resources are allocated on
* dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when
- * not provided. <br><br>Minimum api-version: 2020-06-01.
+ * not provided. Minimum api-version: 2020-06-01.
*
* @return the supportAutomaticPlacement value.
*/
@@ -143,7 +143,7 @@ public Boolean supportAutomaticPlacement() {
* Set the supportAutomaticPlacement property: Specifies whether virtual machines or virtual machine scale sets can
* be placed automatically on the dedicated host group. Automatic placement means resources are allocated on
* dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when
- * not provided. <br><br>Minimum api-version: 2020-06-01.
+ * not provided. Minimum api-version: 2020-06-01.
*
* @param supportAutomaticPlacement the supportAutomaticPlacement value to set.
* @return the DedicatedHostGroupInner object itself.
@@ -157,8 +157,8 @@ public DedicatedHostGroupInner withSupportAutomaticPlacement(Boolean supportAuto
}
/**
- * Get the additionalCapabilities property: Enables or disables a capability on the dedicated host
- * group.<br><br>Minimum api-version: 2022-03-01.
+ * Get the additionalCapabilities property: Enables or disables a capability on the dedicated host group. Minimum
+ * api-version: 2022-03-01.
*
* @return the additionalCapabilities value.
*/
@@ -167,8 +167,8 @@ public DedicatedHostGroupPropertiesAdditionalCapabilities additionalCapabilities
}
/**
- * Set the additionalCapabilities property: Enables or disables a capability on the dedicated host
- * group.<br><br>Minimum api-version: 2022-03-01.
+ * Set the additionalCapabilities property: Enables or disables a capability on the dedicated host group. Minimum
+ * api-version: 2022-03-01.
*
* @param additionalCapabilities the additionalCapabilities value to set.
* @return the DedicatedHostGroupInner object itself.
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostGroupProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostGroupProperties.java
index e9ed4cf5e1fe..7147bc5793b0 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostGroupProperties.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostGroupProperties.java
@@ -36,14 +36,14 @@ public final class DedicatedHostGroupProperties {
/*
* Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated
* host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure,
- * under the dedicated host group. The value is defaulted to 'false' when not provided.
Minimum
- * api-version: 2020-06-01.
+ * under the dedicated host group. The value is defaulted to 'false' when not provided. Minimum api-version:
+ * 2020-06-01.
*/
@JsonProperty(value = "supportAutomaticPlacement")
private Boolean supportAutomaticPlacement;
/*
- * Enables or disables a capability on the dedicated host group.
Minimum api-version: 2022-03-01.
+ * Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.
*/
@JsonProperty(value = "additionalCapabilities")
private DedicatedHostGroupPropertiesAdditionalCapabilities additionalCapabilities;
@@ -95,7 +95,7 @@ public DedicatedHostGroupInstanceView instanceView() {
* Get the supportAutomaticPlacement property: Specifies whether virtual machines or virtual machine scale sets can
* be placed automatically on the dedicated host group. Automatic placement means resources are allocated on
* dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when
- * not provided. <br><br>Minimum api-version: 2020-06-01.
+ * not provided. Minimum api-version: 2020-06-01.
*
* @return the supportAutomaticPlacement value.
*/
@@ -107,7 +107,7 @@ public Boolean supportAutomaticPlacement() {
* Set the supportAutomaticPlacement property: Specifies whether virtual machines or virtual machine scale sets can
* be placed automatically on the dedicated host group. Automatic placement means resources are allocated on
* dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when
- * not provided. <br><br>Minimum api-version: 2020-06-01.
+ * not provided. Minimum api-version: 2020-06-01.
*
* @param supportAutomaticPlacement the supportAutomaticPlacement value to set.
* @return the DedicatedHostGroupProperties object itself.
@@ -118,8 +118,8 @@ public DedicatedHostGroupProperties withSupportAutomaticPlacement(Boolean suppor
}
/**
- * Get the additionalCapabilities property: Enables or disables a capability on the dedicated host
- * group.<br><br>Minimum api-version: 2022-03-01.
+ * Get the additionalCapabilities property: Enables or disables a capability on the dedicated host group. Minimum
+ * api-version: 2022-03-01.
*
* @return the additionalCapabilities value.
*/
@@ -128,8 +128,8 @@ public DedicatedHostGroupPropertiesAdditionalCapabilities additionalCapabilities
}
/**
- * Set the additionalCapabilities property: Enables or disables a capability on the dedicated host
- * group.<br><br>Minimum api-version: 2022-03-01.
+ * Set the additionalCapabilities property: Enables or disables a capability on the dedicated host group. Minimum
+ * api-version: 2022-03-01.
*
* @param additionalCapabilities the additionalCapabilities value to set.
* @return the DedicatedHostGroupProperties object itself.
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostInner.java
index 59f9c79d6ee3..494b19774807 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostInner.java
@@ -130,8 +130,8 @@ public DedicatedHostInner withAutoReplaceOnFailure(Boolean autoReplaceOnFailure)
}
/**
- * Get the hostId property: A unique id generated and assigned to the dedicated host by the platform.
- * <br><br> Does not change throughout the lifetime of the host.
+ * Get the hostId property: A unique id generated and assigned to the dedicated host by the platform. Does not
+ * change throughout the lifetime of the host.
*
* @return the hostId value.
*/
@@ -150,9 +150,8 @@ public List virtualMachines() {
/**
* Get the licenseType property: Specifies the software license type that will be applied to the VMs deployed on the
- * dedicated host. <br><br> Possible values are: <br><br> **None** <br><br>
- * **Windows_Server_Hybrid** <br><br> **Windows_Server_Perpetual** <br><br> Default:
- * **None**.
+ * dedicated host. Possible values are: **None,** **Windows_Server_Hybrid,** **Windows_Server_Perpetual.** The
+ * default value is: **None.**.
*
* @return the licenseType value.
*/
@@ -162,9 +161,8 @@ public DedicatedHostLicenseTypes licenseType() {
/**
* Set the licenseType property: Specifies the software license type that will be applied to the VMs deployed on the
- * dedicated host. <br><br> Possible values are: <br><br> **None** <br><br>
- * **Windows_Server_Hybrid** <br><br> **Windows_Server_Perpetual** <br><br> Default:
- * **None**.
+ * dedicated host. Possible values are: **None,** **Windows_Server_Hybrid,** **Windows_Server_Perpetual.** The
+ * default value is: **None.**.
*
* @param licenseType the licenseType value to set.
* @return the DedicatedHostInner object itself.
@@ -205,8 +203,8 @@ public DedicatedHostInstanceView instanceView() {
}
/**
- * Get the timeCreated property: Specifies the time at which the Dedicated Host resource was
- * created.<br><br>Minimum api-version: 2021-11-01.
+ * Get the timeCreated property: Specifies the time at which the Dedicated Host resource was created. Minimum
+ * api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostProperties.java
index 6478623101dd..a0057d115a35 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostProperties.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/DedicatedHostProperties.java
@@ -29,8 +29,8 @@ public final class DedicatedHostProperties {
private Boolean autoReplaceOnFailure;
/*
- * A unique id generated and assigned to the dedicated host by the platform.
Does not change throughout
- * the lifetime of the host.
+ * A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the
+ * lifetime of the host.
*/
@JsonProperty(value = "hostId", access = JsonProperty.Access.WRITE_ONLY)
private String hostId;
@@ -42,9 +42,8 @@ public final class DedicatedHostProperties {
private List virtualMachines;
/*
- * Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
- * Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
- *
Default: **None**
+ * Specifies the software license type that will be applied to the VMs deployed on the dedicated host. Possible
+ * values are: **None,** **Windows_Server_Hybrid,** **Windows_Server_Perpetual.** The default value is: **None.**
*/
@JsonProperty(value = "licenseType")
private DedicatedHostLicenseTypes licenseType;
@@ -68,7 +67,7 @@ public final class DedicatedHostProperties {
private DedicatedHostInstanceView instanceView;
/*
- * Specifies the time at which the Dedicated Host resource was created.
Minimum api-version: 2021-11-01.
+ * Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01.
*/
@JsonProperty(value = "timeCreated", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime timeCreated;
@@ -120,8 +119,8 @@ public DedicatedHostProperties withAutoReplaceOnFailure(Boolean autoReplaceOnFai
}
/**
- * Get the hostId property: A unique id generated and assigned to the dedicated host by the platform.
- * <br><br> Does not change throughout the lifetime of the host.
+ * Get the hostId property: A unique id generated and assigned to the dedicated host by the platform. Does not
+ * change throughout the lifetime of the host.
*
* @return the hostId value.
*/
@@ -140,9 +139,8 @@ public List virtualMachines() {
/**
* Get the licenseType property: Specifies the software license type that will be applied to the VMs deployed on the
- * dedicated host. <br><br> Possible values are: <br><br> **None** <br><br>
- * **Windows_Server_Hybrid** <br><br> **Windows_Server_Perpetual** <br><br> Default:
- * **None**.
+ * dedicated host. Possible values are: **None,** **Windows_Server_Hybrid,** **Windows_Server_Perpetual.** The
+ * default value is: **None.**.
*
* @return the licenseType value.
*/
@@ -152,9 +150,8 @@ public DedicatedHostLicenseTypes licenseType() {
/**
* Set the licenseType property: Specifies the software license type that will be applied to the VMs deployed on the
- * dedicated host. <br><br> Possible values are: <br><br> **None** <br><br>
- * **Windows_Server_Hybrid** <br><br> **Windows_Server_Perpetual** <br><br> Default:
- * **None**.
+ * dedicated host. Possible values are: **None,** **Windows_Server_Hybrid,** **Windows_Server_Perpetual.** The
+ * default value is: **None.**.
*
* @param licenseType the licenseType value to set.
* @return the DedicatedHostProperties object itself.
@@ -192,8 +189,8 @@ public DedicatedHostInstanceView instanceView() {
}
/**
- * Get the timeCreated property: Specifies the time at which the Dedicated Host resource was
- * created.<br><br>Minimum api-version: 2021-11-01.
+ * Get the timeCreated property: Specifies the time at which the Dedicated Host resource was created. Minimum
+ * api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/ProximityPlacementGroupInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/ProximityPlacementGroupInner.java
index 47da9554535a..82ea05cda511 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/ProximityPlacementGroupInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/ProximityPlacementGroupInner.java
@@ -80,9 +80,9 @@ public ProximityPlacementGroupInner withTags(Map tags) {
}
/**
- * Get the proximityPlacementGroupType property: Specifies the type of the proximity placement group.
- * <br><br> Possible values are: <br><br> **Standard** : Co-locate resources within an Azure
- * region or Availability Zone. <br><br> **Ultra** : For future use.
+ * Get the proximityPlacementGroupType property: Specifies the type of the proximity placement group. Possible
+ * values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For
+ * future use.
*
* @return the proximityPlacementGroupType value.
*/
@@ -91,9 +91,9 @@ public ProximityPlacementGroupType proximityPlacementGroupType() {
}
/**
- * Set the proximityPlacementGroupType property: Specifies the type of the proximity placement group.
- * <br><br> Possible values are: <br><br> **Standard** : Co-locate resources within an Azure
- * region or Availability Zone. <br><br> **Ultra** : For future use.
+ * Set the proximityPlacementGroupType property: Specifies the type of the proximity placement group. Possible
+ * values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For
+ * future use.
*
* @param proximityPlacementGroupType the proximityPlacementGroupType value to set.
* @return the ProximityPlacementGroupInner object itself.
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/ProximityPlacementGroupProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/ProximityPlacementGroupProperties.java
index 2862e2500167..c42f6f966319 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/ProximityPlacementGroupProperties.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/ProximityPlacementGroupProperties.java
@@ -16,8 +16,8 @@
@Fluent
public final class ProximityPlacementGroupProperties {
/*
- * Specifies the type of the proximity placement group.
Possible values are:
**Standard** :
- * Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.
+ * Specifies the type of the proximity placement group. Possible values are: **Standard** : Co-locate resources
+ * within an Azure region or Availability Zone. **Ultra** : For future use.
*/
@JsonProperty(value = "proximityPlacementGroupType")
private ProximityPlacementGroupType proximityPlacementGroupType;
@@ -57,9 +57,9 @@ public ProximityPlacementGroupProperties() {
}
/**
- * Get the proximityPlacementGroupType property: Specifies the type of the proximity placement group.
- * <br><br> Possible values are: <br><br> **Standard** : Co-locate resources within an Azure
- * region or Availability Zone. <br><br> **Ultra** : For future use.
+ * Get the proximityPlacementGroupType property: Specifies the type of the proximity placement group. Possible
+ * values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For
+ * future use.
*
* @return the proximityPlacementGroupType value.
*/
@@ -68,9 +68,9 @@ public ProximityPlacementGroupType proximityPlacementGroupType() {
}
/**
- * Set the proximityPlacementGroupType property: Specifies the type of the proximity placement group.
- * <br><br> Possible values are: <br><br> **Standard** : Co-locate resources within an Azure
- * region or Availability Zone. <br><br> **Ultra** : For future use.
+ * Set the proximityPlacementGroupType property: Specifies the type of the proximity placement group. Possible
+ * values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For
+ * future use.
*
* @param proximityPlacementGroupType the proximityPlacementGroupType value to set.
* @return the ProximityPlacementGroupProperties object itself.
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/RestorePointInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/RestorePointInner.java
index 96dba81c5402..5ef336129549 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/RestorePointInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/RestorePointInner.java
@@ -70,6 +70,20 @@ public RestorePointSourceMetadata sourceMetadata() {
return this.innerProperties() == null ? null : this.innerProperties().sourceMetadata();
}
+ /**
+ * Set the sourceMetadata property: Gets the details of the VM captured at the time of the restore point creation.
+ *
+ * @param sourceMetadata the sourceMetadata value to set.
+ * @return the RestorePointInner object itself.
+ */
+ public RestorePointInner withSourceMetadata(RestorePointSourceMetadata sourceMetadata) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new RestorePointProperties();
+ }
+ this.innerProperties().withSourceMetadata(sourceMetadata);
+ return this;
+ }
+
/**
* Get the provisioningState property: Gets the provisioning state of the restore point.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/RestorePointProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/RestorePointProperties.java
index 67370e909592..864e26148a81 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/RestorePointProperties.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/RestorePointProperties.java
@@ -26,7 +26,7 @@ public final class RestorePointProperties {
/*
* Gets the details of the VM captured at the time of the restore point creation.
*/
- @JsonProperty(value = "sourceMetadata", access = JsonProperty.Access.WRITE_ONLY)
+ @JsonProperty(value = "sourceMetadata")
private RestorePointSourceMetadata sourceMetadata;
/*
@@ -95,6 +95,17 @@ public RestorePointSourceMetadata sourceMetadata() {
return this.sourceMetadata;
}
+ /**
+ * Set the sourceMetadata property: Gets the details of the VM captured at the time of the restore point creation.
+ *
+ * @param sourceMetadata the sourceMetadata value to set.
+ * @return the RestorePointProperties object itself.
+ */
+ public RestorePointProperties withSourceMetadata(RestorePointSourceMetadata sourceMetadata) {
+ this.sourceMetadata = sourceMetadata;
+ return this;
+ }
+
/**
* Get the provisioningState property: Gets the provisioning state of the restore point.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineExtensionInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineExtensionInner.java
index 055b6422d5c1..9157c5df1dae 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineExtensionInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineExtensionInner.java
@@ -9,6 +9,7 @@
import com.azure.resourcemanager.compute.models.ResourceWithOptionalLocation;
import com.azure.resourcemanager.compute.models.VirtualMachineExtensionInstanceView;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
import java.util.Map;
/** Describes a Virtual Machine Extension. */
@@ -326,6 +327,31 @@ public VirtualMachineExtensionInner withProtectedSettingsFromKeyVault(
return this;
}
+ /**
+ * Get the provisionAfterExtensions property: Collection of extension names after which this extension needs to be
+ * provisioned.
+ *
+ * @return the provisionAfterExtensions value.
+ */
+ public List provisionAfterExtensions() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisionAfterExtensions();
+ }
+
+ /**
+ * Set the provisionAfterExtensions property: Collection of extension names after which this extension needs to be
+ * provisioned.
+ *
+ * @param provisionAfterExtensions the provisionAfterExtensions value to set.
+ * @return the VirtualMachineExtensionInner object itself.
+ */
+ public VirtualMachineExtensionInner withProvisionAfterExtensions(List provisionAfterExtensions) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VirtualMachineExtensionProperties();
+ }
+ this.innerProperties().withProvisionAfterExtensions(provisionAfterExtensions);
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineExtensionProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineExtensionProperties.java
index 9636f3c779f9..31679e25607c 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineExtensionProperties.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineExtensionProperties.java
@@ -8,6 +8,7 @@
import com.azure.resourcemanager.compute.models.KeyVaultSecretReference;
import com.azure.resourcemanager.compute.models.VirtualMachineExtensionInstanceView;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
/** Describes the properties of a Virtual Machine Extension. */
@Fluent
@@ -89,6 +90,12 @@ public final class VirtualMachineExtensionProperties {
@JsonProperty(value = "protectedSettingsFromKeyVault")
private KeyVaultSecretReference protectedSettingsFromKeyVault;
+ /*
+ * Collection of extension names after which this extension needs to be provisioned.
+ */
+ @JsonProperty(value = "provisionAfterExtensions")
+ private List provisionAfterExtensions;
+
/** Creates an instance of VirtualMachineExtensionProperties class. */
public VirtualMachineExtensionProperties() {
}
@@ -339,6 +346,28 @@ public VirtualMachineExtensionProperties withProtectedSettingsFromKeyVault(
return this;
}
+ /**
+ * Get the provisionAfterExtensions property: Collection of extension names after which this extension needs to be
+ * provisioned.
+ *
+ * @return the provisionAfterExtensions value.
+ */
+ public List provisionAfterExtensions() {
+ return this.provisionAfterExtensions;
+ }
+
+ /**
+ * Set the provisionAfterExtensions property: Collection of extension names after which this extension needs to be
+ * provisioned.
+ *
+ * @param provisionAfterExtensions the provisionAfterExtensions value to set.
+ * @return the VirtualMachineExtensionProperties object itself.
+ */
+ public VirtualMachineExtensionProperties withProvisionAfterExtensions(List provisionAfterExtensions) {
+ this.provisionAfterExtensions = provisionAfterExtensions;
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineInner.java
index b2830d959ed3..764c2a92d173 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineInner.java
@@ -337,8 +337,8 @@ public VirtualMachineInner withSecurityProfile(SecurityProfile securityProfile)
}
/**
- * Get the diagnosticsProfile property: Specifies the boot diagnostic settings state. <br><br>Minimum
- * api-version: 2015-06-15.
+ * Get the diagnosticsProfile property: Specifies the boot diagnostic settings state. Minimum api-version:
+ * 2015-06-15.
*
* @return the diagnosticsProfile value.
*/
@@ -347,8 +347,8 @@ public DiagnosticsProfile diagnosticsProfile() {
}
/**
- * Set the diagnosticsProfile property: Specifies the boot diagnostic settings state. <br><br>Minimum
- * api-version: 2015-06-15.
+ * Set the diagnosticsProfile property: Specifies the boot diagnostic settings state. Minimum api-version:
+ * 2015-06-15.
*
* @param diagnosticsProfile the diagnosticsProfile value to set.
* @return the VirtualMachineInner object itself.
@@ -365,13 +365,12 @@ public VirtualMachineInner withDiagnosticsProfile(DiagnosticsProfile diagnostics
* Get the availabilitySet property: Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes
* to maximize availability. For more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For
- * more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently,
- * a VM can only be added to availability set at creation time. The availability set to which the VM is being added
- * should be under the same resource group as the availability set resource. An existing VM cannot be added to an
- * availability set. <br><br>This property cannot exist along with a non-null
- * properties.virtualMachineScaleSet reference.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. The availability set to which the VM is being added should be under
+ * the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
+ * This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
*
* @return the availabilitySet value.
*/
@@ -383,13 +382,12 @@ public SubResource availabilitySet() {
* Set the availabilitySet property: Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes
* to maximize availability. For more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For
- * more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently,
- * a VM can only be added to availability set at creation time. The availability set to which the VM is being added
- * should be under the same resource group as the availability set resource. An existing VM cannot be added to an
- * availability set. <br><br>This property cannot exist along with a non-null
- * properties.virtualMachineScaleSet reference.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. The availability set to which the VM is being added should be under
+ * the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
+ * This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
*
* @param availabilitySet the availabilitySet value to set.
* @return the VirtualMachineInner object itself.
@@ -406,9 +404,8 @@ public VirtualMachineInner withAvailabilitySet(SubResource availabilitySet) {
* Get the virtualMachineScaleSet property: Specifies information about the virtual machine scale set that the
* virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are
* allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale
- * set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This
- * property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum
- * api‐version: 2019‐03‐01.
+ * set at creation time. An existing VM cannot be added to a virtual machine scale set. This property cannot exist
+ * along with a non-null properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01.
*
* @return the virtualMachineScaleSet value.
*/
@@ -420,9 +417,8 @@ public SubResource virtualMachineScaleSet() {
* Set the virtualMachineScaleSet property: Specifies information about the virtual machine scale set that the
* virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are
* allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale
- * set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This
- * property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum
- * api‐version: 2019‐03‐01.
+ * set at creation time. An existing VM cannot be added to a virtual machine scale set. This property cannot exist
+ * along with a non-null properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01.
*
* @param virtualMachineScaleSet the virtualMachineScaleSet value to set.
* @return the VirtualMachineInner object itself.
@@ -437,7 +433,7 @@ public VirtualMachineInner withVirtualMachineScaleSet(SubResource virtualMachine
/**
* Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * virtual machine should be assigned to. Minimum api-version: 2018-04-01.
*
* @return the proximityPlacementGroup value.
*/
@@ -447,7 +443,7 @@ public SubResource proximityPlacementGroup() {
/**
* Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * virtual machine should be assigned to. Minimum api-version: 2018-04-01.
*
* @param proximityPlacementGroup the proximityPlacementGroup value to set.
* @return the VirtualMachineInner object itself.
@@ -461,8 +457,7 @@ public VirtualMachineInner withProximityPlacementGroup(SubResource proximityPlac
}
/**
- * Get the priority property: Specifies the priority for the virtual machine. <br><br>Minimum
- * api-version: 2019-03-01.
+ * Get the priority property: Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01.
*
* @return the priority value.
*/
@@ -471,8 +466,7 @@ public VirtualMachinePriorityTypes priority() {
}
/**
- * Set the priority property: Specifies the priority for the virtual machine. <br><br>Minimum
- * api-version: 2019-03-01.
+ * Set the priority property: Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01.
*
* @param priority the priority value to set.
* @return the VirtualMachineInner object itself.
@@ -487,9 +481,9 @@ public VirtualMachineInner withPriority(VirtualMachinePriorityTypes priority) {
/**
* Get the evictionPolicy property: Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot
- * scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and
- * the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and
- * 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
+ * scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum
+ * api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the
+ * minimum api-version is 2017-10-30-preview.
*
* @return the evictionPolicy value.
*/
@@ -499,9 +493,9 @@ public VirtualMachineEvictionPolicyTypes evictionPolicy() {
/**
* Set the evictionPolicy property: Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot
- * scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and
- * the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and
- * 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
+ * scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum
+ * api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the
+ * minimum api-version is 2017-10-30-preview.
*
* @param evictionPolicy the evictionPolicy value to set.
* @return the VirtualMachineInner object itself.
@@ -515,8 +509,8 @@ public VirtualMachineInner withEvictionPolicy(VirtualMachineEvictionPolicyTypes
}
/**
- * Get the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine.
- * <br><br>Minimum api-version: 2019-03-01.
+ * Get the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine. Minimum
+ * api-version: 2019-03-01.
*
* @return the billingProfile value.
*/
@@ -525,8 +519,8 @@ public BillingProfile billingProfile() {
}
/**
- * Set the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine.
- * <br><br>Minimum api-version: 2019-03-01.
+ * Set the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine. Minimum
+ * api-version: 2019-03-01.
*
* @param billingProfile the billingProfile value to set.
* @return the VirtualMachineInner object itself.
@@ -541,7 +535,7 @@ public VirtualMachineInner withBillingProfile(BillingProfile billingProfile) {
/**
* Get the host property: Specifies information about the dedicated host that the virtual machine resides in.
- * <br><br>Minimum api-version: 2018-10-01.
+ * Minimum api-version: 2018-10-01.
*
* @return the host value.
*/
@@ -551,7 +545,7 @@ public SubResource host() {
/**
* Set the host property: Specifies information about the dedicated host that the virtual machine resides in.
- * <br><br>Minimum api-version: 2018-10-01.
+ * Minimum api-version: 2018-10-01.
*
* @param host the host value to set.
* @return the VirtualMachineInner object itself.
@@ -566,8 +560,7 @@ public VirtualMachineInner withHost(SubResource host) {
/**
* Get the hostGroup property: Specifies information about the dedicated host group that the virtual machine resides
- * in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host
- * and hostGroup properties.
+ * in. **Note:** User cannot specify both host and hostGroup properties. Minimum api-version: 2020-06-01.
*
* @return the hostGroup value.
*/
@@ -577,8 +570,7 @@ public SubResource hostGroup() {
/**
* Set the hostGroup property: Specifies information about the dedicated host group that the virtual machine resides
- * in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host
- * and hostGroup properties.
+ * in. **Note:** User cannot specify both host and hostGroup properties. Minimum api-version: 2020-06-01.
*
* @param hostGroup the hostGroup value to set.
* @return the VirtualMachineInner object itself.
@@ -661,7 +653,7 @@ public String vmId() {
/**
* Get the extensionsTimeBudget property: Specifies the time alloted for all extensions to start. The time duration
* should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default
- * value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01.
+ * value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
*
* @return the extensionsTimeBudget value.
*/
@@ -672,7 +664,7 @@ public String extensionsTimeBudget() {
/**
* Set the extensionsTimeBudget property: Specifies the time alloted for all extensions to start. The time duration
* should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default
- * value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01.
+ * value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
*
* @param extensionsTimeBudget the extensionsTimeBudget value to set.
* @return the VirtualMachineInner object itself.
@@ -688,11 +680,10 @@ public VirtualMachineInner withExtensionsTimeBudget(String extensionsTimeBudget)
/**
* Get the platformFaultDomain property: Specifies the scale set logical fault domain into which the Virtual Machine
* will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best
- * maintains balance across available fault domains.<br><li>This is applicable only if the
- * 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is
- * referenced, must have 'platformFaultDomainCount' > 1.<li>This property cannot be updated once the
- * Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance
- * View.<br><br>Minimum api‐version: 2020‐12‐01.
+ * maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet'
+ * property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have
+ * 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created.
+ * Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01.
*
* @return the platformFaultDomain value.
*/
@@ -703,11 +694,10 @@ public Integer platformFaultDomain() {
/**
* Set the platformFaultDomain property: Specifies the scale set logical fault domain into which the Virtual Machine
* will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best
- * maintains balance across available fault domains.<br><li>This is applicable only if the
- * 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is
- * referenced, must have 'platformFaultDomainCount' > 1.<li>This property cannot be updated once the
- * Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance
- * View.<br><br>Minimum api‐version: 2020‐12‐01.
+ * maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet'
+ * property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have
+ * 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created.
+ * Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01.
*
* @param platformFaultDomain the platformFaultDomain value to set.
* @return the VirtualMachineInner object itself.
@@ -745,7 +735,7 @@ public VirtualMachineInner withScheduledEventsProfile(ScheduledEventsProfile sch
/**
* 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.
*/
@@ -755,7 +745,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 VirtualMachineInner object itself.
@@ -770,7 +760,7 @@ public VirtualMachineInner withUserData(String userData) {
/**
* Get the capacityReservation property: Specifies information about the capacity reservation that is used to
- * allocate virtual machine. <br><br>Minimum api-version: 2021-04-01.
+ * allocate virtual machine. Minimum api-version: 2021-04-01.
*
* @return the capacityReservation value.
*/
@@ -780,7 +770,7 @@ public CapacityReservationProfile capacityReservation() {
/**
* Set the capacityReservation property: Specifies information about the capacity reservation that is used to
- * allocate virtual machine. <br><br>Minimum api-version: 2021-04-01.
+ * allocate virtual machine. Minimum api-version: 2021-04-01.
*
* @param capacityReservation the capacityReservation value to set.
* @return the VirtualMachineInner object itself.
@@ -819,8 +809,8 @@ public VirtualMachineInner withApplicationProfile(ApplicationProfile application
}
/**
- * Get the timeCreated property: Specifies the time at which the Virtual Machine resource was
- * created.<br><br>Minimum api-version: 2021-11-01.
+ * Get the timeCreated property: Specifies the time at which the Virtual Machine resource was created. Minimum
+ * api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineInstanceViewInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineInstanceViewInner.java
index 93869711e523..85d53beddac0 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineInstanceViewInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineInstanceViewInner.java
@@ -94,16 +94,16 @@ public final class VirtualMachineInstanceViewInner {
/*
* Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM
- * status.
You can easily view the output of your console log.
Azure also enables you to see a
- * screenshot of the VM from the hypervisor.
+ * status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM
+ * from the hypervisor.
*/
@JsonProperty(value = "bootDiagnostics")
private BootDiagnosticsInstanceView bootDiagnostics;
/*
* Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when
- * the virtual machine is associated with a dedicated host group that has automatic placement enabled.
- *
Minimum api-version: 2020-06-01.
+ * the virtual machine is associated with a dedicated host group that has automatic placement enabled. Minimum
+ * api-version: 2020-06-01.
*/
@JsonProperty(value = "assignedHost", access = JsonProperty.Access.WRITE_ONLY)
private String assignedHost;
@@ -356,8 +356,8 @@ public VirtualMachineHealthStatus vmHealth() {
/**
* Get the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output
- * and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log.
- * <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
+ * and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you
+ * to see a screenshot of the VM from the hypervisor.
*
* @return the bootDiagnostics value.
*/
@@ -367,8 +367,8 @@ public BootDiagnosticsInstanceView bootDiagnostics() {
/**
* Set the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output
- * and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log.
- * <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
+ * and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you
+ * to see a screenshot of the VM from the hypervisor.
*
* @param bootDiagnostics the bootDiagnostics value to set.
* @return the VirtualMachineInstanceViewInner object itself.
@@ -381,7 +381,7 @@ public VirtualMachineInstanceViewInner withBootDiagnostics(BootDiagnosticsInstan
/**
* Get the assignedHost property: Resource id of the dedicated host, on which the virtual machine is allocated
* through automatic placement, when the virtual machine is associated with a dedicated host group that has
- * automatic placement enabled. <br><br>Minimum api-version: 2020-06-01.
+ * automatic placement enabled. Minimum api-version: 2020-06-01.
*
* @return the assignedHost value.
*/
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachinePropertiesInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachinePropertiesInner.java
index a05322b64685..f879373a0a71 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachinePropertiesInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachinePropertiesInner.java
@@ -63,7 +63,7 @@ public final class VirtualMachinePropertiesInner {
private SecurityProfile securityProfile;
/*
- * Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
+ * Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
*/
@JsonProperty(value = "diagnosticsProfile")
private DiagnosticsProfile diagnosticsProfile;
@@ -72,13 +72,12 @@ public final class VirtualMachinePropertiesInner {
* Specifies information about the availability set that the virtual machine should be assigned to. Virtual
* machines specified in the same availability set are allocated to different nodes to maximize availability. For
* more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more
- * information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can
- * only be added to availability set at creation time. The availability set to which the VM is being added should
- * be under the same resource group as the availability set resource. An existing VM cannot be added to an
- * availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet
- * reference.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. The availability set to which the VM is being added should be under
+ * the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
+ * This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
*/
@JsonProperty(value = "availabilitySet")
private SubResource availabilitySet;
@@ -87,50 +86,50 @@ public final class VirtualMachinePropertiesInner {
* Specifies information about the virtual machine scale set that the virtual machine should be assigned to.
* Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize
* availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM
- * cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null
- * properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01
+ * cannot be added to a virtual machine scale set. This property cannot exist along with a non-null
+ * properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01.
*/
@JsonProperty(value = "virtualMachineScaleSet")
private SubResource virtualMachineScaleSet;
/*
* Specifies information about the proximity placement group that the virtual machine should be assigned to.
- *
Minimum api-version: 2018-04-01.
+ * Minimum api-version: 2018-04-01.
*/
@JsonProperty(value = "proximityPlacementGroup")
private SubResource proximityPlacementGroup;
/*
- * Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01
+ * Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01
*/
@JsonProperty(value = "priority")
private VirtualMachinePriorityTypes priority;
/*
- * Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure
- * Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
- *
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is
+ * Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot
+ * virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For
+ * Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is
* 2017-10-30-preview.
*/
@JsonProperty(value = "evictionPolicy")
private VirtualMachineEvictionPolicyTypes evictionPolicy;
/*
- * Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.
+ * Specifies the billing related details of a Azure Spot virtual machine. Minimum api-version: 2019-03-01.
*/
@JsonProperty(value = "billingProfile")
private BillingProfile billingProfile;
/*
- * Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version:
+ * Specifies information about the dedicated host that the virtual machine resides in. Minimum api-version:
* 2018-10-01.
*/
@JsonProperty(value = "host")
private SubResource host;
/*
- * Specifies information about the dedicated host group that the virtual machine resides in.
Minimum
- * api-version: 2020-06-01.
NOTE: User cannot specify both host and hostGroup properties.
+ * Specifies information about the dedicated host group that the virtual machine resides in. **Note:** User cannot
+ * specify both host and hostGroup properties. Minimum api-version: 2020-06-01.
*/
@JsonProperty(value = "hostGroup")
private SubResource hostGroup;
@@ -170,7 +169,7 @@ public final class VirtualMachinePropertiesInner {
/*
* Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120
* minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
- *
Minimum api-version: 2020-06-01
+ * Minimum api-version: 2020-06-01.
*/
@JsonProperty(value = "extensionsTimeBudget")
private String extensionsTimeBudget;
@@ -178,10 +177,10 @@ public final class VirtualMachinePropertiesInner {
/*
* Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the
* Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available
- * fault domains.
This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine
- * is set.The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' >
- * 1.This property cannot be updated once the Virtual Machine is created.Fault domain assignment can be
- * viewed in the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01
+ * fault domains. This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
+ * The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' greater than 1. This
+ * property cannot be updated once the Virtual Machine is created. Fault domain assignment can be viewed in the
+ * Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01.
*/
@JsonProperty(value = "platformFaultDomain")
private Integer platformFaultDomain;
@@ -193,27 +192,27 @@ public final class VirtualMachinePropertiesInner {
private ScheduledEventsProfile scheduledEventsProfile;
/*
- * UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
- *
Minimum api-version: 2021-03-01
+ * UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum
+ * api-version: 2021-03-01.
*/
@JsonProperty(value = "userData")
private String userData;
/*
- * Specifies information about the capacity reservation that is used to allocate virtual machine.
Minimum
+ * Specifies information about the capacity reservation that is used to allocate virtual machine. Minimum
* api-version: 2021-04-01.
*/
@JsonProperty(value = "capacityReservation")
private CapacityReservationProfile capacityReservation;
/*
- * Specifies the gallery applications that should be made available to the VM/VMSS
+ * Specifies the gallery applications that should be made available to the VM/VMSS.
*/
@JsonProperty(value = "applicationProfile")
private ApplicationProfile applicationProfile;
/*
- * Specifies the time at which the Virtual Machine resource was created.
Minimum api-version: 2021-11-01.
+ * Specifies the time at which the Virtual Machine resource was created. Minimum api-version: 2021-11-01.
*/
@JsonProperty(value = "timeCreated", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime timeCreated;
@@ -347,8 +346,8 @@ public VirtualMachinePropertiesInner withSecurityProfile(SecurityProfile securit
}
/**
- * Get the diagnosticsProfile property: Specifies the boot diagnostic settings state. <br><br>Minimum
- * api-version: 2015-06-15.
+ * Get the diagnosticsProfile property: Specifies the boot diagnostic settings state. Minimum api-version:
+ * 2015-06-15.
*
* @return the diagnosticsProfile value.
*/
@@ -357,8 +356,8 @@ public DiagnosticsProfile diagnosticsProfile() {
}
/**
- * Set the diagnosticsProfile property: Specifies the boot diagnostic settings state. <br><br>Minimum
- * api-version: 2015-06-15.
+ * Set the diagnosticsProfile property: Specifies the boot diagnostic settings state. Minimum api-version:
+ * 2015-06-15.
*
* @param diagnosticsProfile the diagnosticsProfile value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -372,13 +371,12 @@ public VirtualMachinePropertiesInner withDiagnosticsProfile(DiagnosticsProfile d
* Get the availabilitySet property: Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes
* to maximize availability. For more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For
- * more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently,
- * a VM can only be added to availability set at creation time. The availability set to which the VM is being added
- * should be under the same resource group as the availability set resource. An existing VM cannot be added to an
- * availability set. <br><br>This property cannot exist along with a non-null
- * properties.virtualMachineScaleSet reference.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. The availability set to which the VM is being added should be under
+ * the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
+ * This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
*
* @return the availabilitySet value.
*/
@@ -390,13 +388,12 @@ public SubResource availabilitySet() {
* Set the availabilitySet property: Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes
* to maximize availability. For more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For
- * more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently,
- * a VM can only be added to availability set at creation time. The availability set to which the VM is being added
- * should be under the same resource group as the availability set resource. An existing VM cannot be added to an
- * availability set. <br><br>This property cannot exist along with a non-null
- * properties.virtualMachineScaleSet reference.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. The availability set to which the VM is being added should be under
+ * the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
+ * This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
*
* @param availabilitySet the availabilitySet value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -410,9 +407,8 @@ public VirtualMachinePropertiesInner withAvailabilitySet(SubResource availabilit
* Get the virtualMachineScaleSet property: Specifies information about the virtual machine scale set that the
* virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are
* allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale
- * set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This
- * property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum
- * api‐version: 2019‐03‐01.
+ * set at creation time. An existing VM cannot be added to a virtual machine scale set. This property cannot exist
+ * along with a non-null properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01.
*
* @return the virtualMachineScaleSet value.
*/
@@ -424,9 +420,8 @@ public SubResource virtualMachineScaleSet() {
* Set the virtualMachineScaleSet property: Specifies information about the virtual machine scale set that the
* virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are
* allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale
- * set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This
- * property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum
- * api‐version: 2019‐03‐01.
+ * set at creation time. An existing VM cannot be added to a virtual machine scale set. This property cannot exist
+ * along with a non-null properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01.
*
* @param virtualMachineScaleSet the virtualMachineScaleSet value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -438,7 +433,7 @@ public VirtualMachinePropertiesInner withVirtualMachineScaleSet(SubResource virt
/**
* Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * virtual machine should be assigned to. Minimum api-version: 2018-04-01.
*
* @return the proximityPlacementGroup value.
*/
@@ -448,7 +443,7 @@ public SubResource proximityPlacementGroup() {
/**
* Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * virtual machine should be assigned to. Minimum api-version: 2018-04-01.
*
* @param proximityPlacementGroup the proximityPlacementGroup value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -459,8 +454,7 @@ public VirtualMachinePropertiesInner withProximityPlacementGroup(SubResource pro
}
/**
- * Get the priority property: Specifies the priority for the virtual machine. <br><br>Minimum
- * api-version: 2019-03-01.
+ * Get the priority property: Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01.
*
* @return the priority value.
*/
@@ -469,8 +463,7 @@ public VirtualMachinePriorityTypes priority() {
}
/**
- * Set the priority property: Specifies the priority for the virtual machine. <br><br>Minimum
- * api-version: 2019-03-01.
+ * Set the priority property: Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01.
*
* @param priority the priority value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -482,9 +475,9 @@ public VirtualMachinePropertiesInner withPriority(VirtualMachinePriorityTypes pr
/**
* Get the evictionPolicy property: Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot
- * scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and
- * the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and
- * 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
+ * scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum
+ * api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the
+ * minimum api-version is 2017-10-30-preview.
*
* @return the evictionPolicy value.
*/
@@ -494,9 +487,9 @@ public VirtualMachineEvictionPolicyTypes evictionPolicy() {
/**
* Set the evictionPolicy property: Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot
- * scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and
- * the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and
- * 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
+ * scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum
+ * api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the
+ * minimum api-version is 2017-10-30-preview.
*
* @param evictionPolicy the evictionPolicy value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -507,8 +500,8 @@ public VirtualMachinePropertiesInner withEvictionPolicy(VirtualMachineEvictionPo
}
/**
- * Get the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine.
- * <br><br>Minimum api-version: 2019-03-01.
+ * Get the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine. Minimum
+ * api-version: 2019-03-01.
*
* @return the billingProfile value.
*/
@@ -517,8 +510,8 @@ public BillingProfile billingProfile() {
}
/**
- * Set the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine.
- * <br><br>Minimum api-version: 2019-03-01.
+ * Set the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine. Minimum
+ * api-version: 2019-03-01.
*
* @param billingProfile the billingProfile value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -530,7 +523,7 @@ public VirtualMachinePropertiesInner withBillingProfile(BillingProfile billingPr
/**
* Get the host property: Specifies information about the dedicated host that the virtual machine resides in.
- * <br><br>Minimum api-version: 2018-10-01.
+ * Minimum api-version: 2018-10-01.
*
* @return the host value.
*/
@@ -540,7 +533,7 @@ public SubResource host() {
/**
* Set the host property: Specifies information about the dedicated host that the virtual machine resides in.
- * <br><br>Minimum api-version: 2018-10-01.
+ * Minimum api-version: 2018-10-01.
*
* @param host the host value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -552,8 +545,7 @@ public VirtualMachinePropertiesInner withHost(SubResource host) {
/**
* Get the hostGroup property: Specifies information about the dedicated host group that the virtual machine resides
- * in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host
- * and hostGroup properties.
+ * in. **Note:** User cannot specify both host and hostGroup properties. Minimum api-version: 2020-06-01.
*
* @return the hostGroup value.
*/
@@ -563,8 +555,7 @@ public SubResource hostGroup() {
/**
* Set the hostGroup property: Specifies information about the dedicated host group that the virtual machine resides
- * in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host
- * and hostGroup properties.
+ * in. **Note:** User cannot specify both host and hostGroup properties. Minimum api-version: 2020-06-01.
*
* @param hostGroup the hostGroup value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -641,7 +632,7 @@ public String vmId() {
/**
* Get the extensionsTimeBudget property: Specifies the time alloted for all extensions to start. The time duration
* should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default
- * value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01.
+ * value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
*
* @return the extensionsTimeBudget value.
*/
@@ -652,7 +643,7 @@ public String extensionsTimeBudget() {
/**
* Set the extensionsTimeBudget property: Specifies the time alloted for all extensions to start. The time duration
* should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default
- * value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01.
+ * value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
*
* @param extensionsTimeBudget the extensionsTimeBudget value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -665,11 +656,10 @@ public VirtualMachinePropertiesInner withExtensionsTimeBudget(String extensionsT
/**
* Get the platformFaultDomain property: Specifies the scale set logical fault domain into which the Virtual Machine
* will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best
- * maintains balance across available fault domains.<br><li>This is applicable only if the
- * 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is
- * referenced, must have 'platformFaultDomainCount' > 1.<li>This property cannot be updated once the
- * Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance
- * View.<br><br>Minimum api‐version: 2020‐12‐01.
+ * maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet'
+ * property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have
+ * 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created.
+ * Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01.
*
* @return the platformFaultDomain value.
*/
@@ -680,11 +670,10 @@ public Integer platformFaultDomain() {
/**
* Set the platformFaultDomain property: Specifies the scale set logical fault domain into which the Virtual Machine
* will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best
- * maintains balance across available fault domains.<br><li>This is applicable only if the
- * 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is
- * referenced, must have 'platformFaultDomainCount' > 1.<li>This property cannot be updated once the
- * Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance
- * View.<br><br>Minimum api‐version: 2020‐12‐01.
+ * maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet'
+ * property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have
+ * 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created.
+ * Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01.
*
* @param platformFaultDomain the platformFaultDomain value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -716,7 +705,7 @@ public VirtualMachinePropertiesInner withScheduledEventsProfile(ScheduledEventsP
/**
* 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.
*/
@@ -726,7 +715,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 VirtualMachinePropertiesInner object itself.
@@ -738,7 +727,7 @@ public VirtualMachinePropertiesInner withUserData(String userData) {
/**
* Get the capacityReservation property: Specifies information about the capacity reservation that is used to
- * allocate virtual machine. <br><br>Minimum api-version: 2021-04-01.
+ * allocate virtual machine. Minimum api-version: 2021-04-01.
*
* @return the capacityReservation value.
*/
@@ -748,7 +737,7 @@ public CapacityReservationProfile capacityReservation() {
/**
* Set the capacityReservation property: Specifies information about the capacity reservation that is used to
- * allocate virtual machine. <br><br>Minimum api-version: 2021-04-01.
+ * allocate virtual machine. Minimum api-version: 2021-04-01.
*
* @param capacityReservation the capacityReservation value to set.
* @return the VirtualMachinePropertiesInner object itself.
@@ -781,8 +770,8 @@ public VirtualMachinePropertiesInner withApplicationProfile(ApplicationProfile a
}
/**
- * Get the timeCreated property: Specifies the time at which the Virtual Machine resource was
- * created.<br><br>Minimum api-version: 2021-11-01.
+ * Get the timeCreated property: Specifies the time at which the Virtual Machine resource was created. Minimum
+ * api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineRunCommandInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineRunCommandInner.java
index bf115967a415..2df2d7f922ab 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineRunCommandInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineRunCommandInner.java
@@ -7,6 +7,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
import com.azure.resourcemanager.compute.models.RunCommandInputParameter;
+import com.azure.resourcemanager.compute.models.RunCommandManagedIdentity;
import com.azure.resourcemanager.compute.models.VirtualMachineRunCommandInstanceView;
import com.azure.resourcemanager.compute.models.VirtualMachineRunCommandScriptSource;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -213,7 +214,9 @@ public VirtualMachineRunCommandInner withTimeoutInSeconds(Integer timeoutInSecon
}
/**
- * Get the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded.
+ * Get the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded. Use
+ * a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer outputBlobManagedIdentity parameter.
*
* @return the outputBlobUri value.
*/
@@ -222,7 +225,9 @@ public String outputBlobUri() {
}
/**
- * Set the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded.
+ * Set the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded. Use
+ * a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer outputBlobManagedIdentity parameter.
*
* @param outputBlobUri the outputBlobUri value to set.
* @return the VirtualMachineRunCommandInner object itself.
@@ -236,7 +241,9 @@ public VirtualMachineRunCommandInner withOutputBlobUri(String outputBlobUri) {
}
/**
- * Get the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded.
+ * Get the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded. Use a
+ * SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer errorBlobManagedIdentity parameter.
*
* @return the errorBlobUri value.
*/
@@ -245,7 +252,9 @@ public String errorBlobUri() {
}
/**
- * Set the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded.
+ * Set the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded. Use a
+ * SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer errorBlobManagedIdentity parameter.
*
* @param errorBlobUri the errorBlobUri value to set.
* @return the VirtualMachineRunCommandInner object itself.
@@ -259,7 +268,76 @@ public VirtualMachineRunCommandInner withErrorBlobUri(String errorBlobUri) {
}
/**
- * Get the provisioningState property: The provisioning state, which only appears in the response.
+ * Get the outputBlobManagedIdentity property: User-assigned managed identity that has access to outputBlobUri
+ * storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given
+ * access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned
+ * identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @return the outputBlobManagedIdentity value.
+ */
+ public RunCommandManagedIdentity outputBlobManagedIdentity() {
+ return this.innerProperties() == null ? null : this.innerProperties().outputBlobManagedIdentity();
+ }
+
+ /**
+ * Set the outputBlobManagedIdentity property: User-assigned managed identity that has access to outputBlobUri
+ * storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given
+ * access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned
+ * identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @param outputBlobManagedIdentity the outputBlobManagedIdentity value to set.
+ * @return the VirtualMachineRunCommandInner object itself.
+ */
+ public VirtualMachineRunCommandInner withOutputBlobManagedIdentity(
+ RunCommandManagedIdentity outputBlobManagedIdentity) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VirtualMachineRunCommandProperties();
+ }
+ this.innerProperties().withOutputBlobManagedIdentity(outputBlobManagedIdentity);
+ return this;
+ }
+
+ /**
+ * Get the errorBlobManagedIdentity property: User-assigned managed identity that has access to errorBlobUri storage
+ * blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access
+ * to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make
+ * sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @return the errorBlobManagedIdentity value.
+ */
+ public RunCommandManagedIdentity errorBlobManagedIdentity() {
+ return this.innerProperties() == null ? null : this.innerProperties().errorBlobManagedIdentity();
+ }
+
+ /**
+ * Set the errorBlobManagedIdentity property: User-assigned managed identity that has access to errorBlobUri storage
+ * blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access
+ * to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make
+ * sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @param errorBlobManagedIdentity the errorBlobManagedIdentity value to set.
+ * @return the VirtualMachineRunCommandInner object itself.
+ */
+ public VirtualMachineRunCommandInner withErrorBlobManagedIdentity(
+ RunCommandManagedIdentity errorBlobManagedIdentity) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VirtualMachineRunCommandProperties();
+ }
+ this.innerProperties().withErrorBlobManagedIdentity(errorBlobManagedIdentity);
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: The provisioning state, which only appears in the response. If
+ * treatFailureAsDeploymentFailure set to true, any failure in the script will fail the deployment and
+ * ProvisioningState will be marked as Failed. If treatFailureAsDeploymentFailure set to false, ProvisioningState
+ * would only reflect whether the run command was run or not by the extensions platform, it would not indicate
+ * whether script failed in case of script failures. See instance view of run command in case of script failures to
+ * see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results.
*
* @return the provisioningState value.
*/
@@ -276,6 +354,37 @@ public VirtualMachineRunCommandInstanceView instanceView() {
return this.innerProperties() == null ? null : this.innerProperties().instanceView();
}
+ /**
+ * Get the treatFailureAsDeploymentFailure property: Optional. If set to true, any failure in the script will fail
+ * the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only
+ * reflect whether the run command was run or not by the extensions platform, it would not indicate whether script
+ * failed in case of script failures. See instance view of run command in case of script failures to see
+ * executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results.
+ *
+ * @return the treatFailureAsDeploymentFailure value.
+ */
+ public Boolean treatFailureAsDeploymentFailure() {
+ return this.innerProperties() == null ? null : this.innerProperties().treatFailureAsDeploymentFailure();
+ }
+
+ /**
+ * Set the treatFailureAsDeploymentFailure property: Optional. If set to true, any failure in the script will fail
+ * the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only
+ * reflect whether the run command was run or not by the extensions platform, it would not indicate whether script
+ * failed in case of script failures. See instance view of run command in case of script failures to see
+ * executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results.
+ *
+ * @param treatFailureAsDeploymentFailure the treatFailureAsDeploymentFailure value to set.
+ * @return the VirtualMachineRunCommandInner object itself.
+ */
+ public VirtualMachineRunCommandInner withTreatFailureAsDeploymentFailure(Boolean treatFailureAsDeploymentFailure) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VirtualMachineRunCommandProperties();
+ }
+ this.innerProperties().withTreatFailureAsDeploymentFailure(treatFailureAsDeploymentFailure);
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineRunCommandProperties.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineRunCommandProperties.java
index 30be34329c44..bcc37427b7c0 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineRunCommandProperties.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineRunCommandProperties.java
@@ -6,6 +6,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.compute.models.RunCommandInputParameter;
+import com.azure.resourcemanager.compute.models.RunCommandManagedIdentity;
import com.azure.resourcemanager.compute.models.VirtualMachineRunCommandInstanceView;
import com.azure.resourcemanager.compute.models.VirtualMachineRunCommandScriptSource;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -58,19 +59,48 @@ public final class VirtualMachineRunCommandProperties {
private Integer timeoutInSeconds;
/*
- * Specifies the Azure storage blob where script output stream will be uploaded.
+ * Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append,
+ * create, write access OR use managed identity to provide the VM access to the blob. Refer
+ * outputBlobManagedIdentity parameter.
*/
@JsonProperty(value = "outputBlobUri")
private String outputBlobUri;
/*
- * Specifies the Azure storage blob where script error stream will be uploaded.
+ * Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append,
+ * create, write access OR use managed identity to provide the VM access to the blob. Refer
+ * errorBlobManagedIdentity parameter.
*/
@JsonProperty(value = "errorBlobUri")
private String errorBlobUri;
/*
- * The provisioning state, which only appears in the response.
+ * User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of
+ * system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage
+ * Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's
+ * identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and
+ * https://aka.ms/RunCommandManaged
+ */
+ @JsonProperty(value = "outputBlobManagedIdentity")
+ private RunCommandManagedIdentity outputBlobManagedIdentity;
+
+ /*
+ * User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of
+ * system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage
+ * Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's
+ * identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and
+ * https://aka.ms/RunCommandManaged
+ */
+ @JsonProperty(value = "errorBlobManagedIdentity")
+ private RunCommandManagedIdentity errorBlobManagedIdentity;
+
+ /*
+ * The provisioning state, which only appears in the response. If treatFailureAsDeploymentFailure set to true, any
+ * failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If
+ * treatFailureAsDeploymentFailure set to false, ProvisioningState would only reflect whether the run command was
+ * run or not by the extensions platform, it would not indicate whether script failed in case of script failures.
+ * See instance view of run command in case of script failures to see executionMessage, output, error:
+ * https://aka.ms/runcommandmanaged#get-execution-status-and-results
*/
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private String provisioningState;
@@ -81,6 +111,16 @@ public final class VirtualMachineRunCommandProperties {
@JsonProperty(value = "instanceView", access = JsonProperty.Access.WRITE_ONLY)
private VirtualMachineRunCommandInstanceView instanceView;
+ /*
+ * Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be
+ * marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not
+ * by the extensions platform, it would not indicate whether script failed in case of script failures. See instance
+ * view of run command in case of script failures to see executionMessage, output, error:
+ * https://aka.ms/runcommandmanaged#get-execution-status-and-results
+ */
+ @JsonProperty(value = "treatFailureAsDeploymentFailure")
+ private Boolean treatFailureAsDeploymentFailure;
+
/** Creates an instance of VirtualMachineRunCommandProperties class. */
public VirtualMachineRunCommandProperties() {
}
@@ -229,7 +269,9 @@ public VirtualMachineRunCommandProperties withTimeoutInSeconds(Integer timeoutIn
}
/**
- * Get the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded.
+ * Get the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded. Use
+ * a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer outputBlobManagedIdentity parameter.
*
* @return the outputBlobUri value.
*/
@@ -238,7 +280,9 @@ public String outputBlobUri() {
}
/**
- * Set the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded.
+ * Set the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded. Use
+ * a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer outputBlobManagedIdentity parameter.
*
* @param outputBlobUri the outputBlobUri value to set.
* @return the VirtualMachineRunCommandProperties object itself.
@@ -249,7 +293,9 @@ public VirtualMachineRunCommandProperties withOutputBlobUri(String outputBlobUri
}
/**
- * Get the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded.
+ * Get the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded. Use a
+ * SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer errorBlobManagedIdentity parameter.
*
* @return the errorBlobUri value.
*/
@@ -258,7 +304,9 @@ public String errorBlobUri() {
}
/**
- * Set the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded.
+ * Set the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded. Use a
+ * SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer errorBlobManagedIdentity parameter.
*
* @param errorBlobUri the errorBlobUri value to set.
* @return the VirtualMachineRunCommandProperties object itself.
@@ -269,7 +317,70 @@ public VirtualMachineRunCommandProperties withErrorBlobUri(String errorBlobUri)
}
/**
- * Get the provisioningState property: The provisioning state, which only appears in the response.
+ * Get the outputBlobManagedIdentity property: User-assigned managed identity that has access to outputBlobUri
+ * storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given
+ * access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned
+ * identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @return the outputBlobManagedIdentity value.
+ */
+ public RunCommandManagedIdentity outputBlobManagedIdentity() {
+ return this.outputBlobManagedIdentity;
+ }
+
+ /**
+ * Set the outputBlobManagedIdentity property: User-assigned managed identity that has access to outputBlobUri
+ * storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given
+ * access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned
+ * identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @param outputBlobManagedIdentity the outputBlobManagedIdentity value to set.
+ * @return the VirtualMachineRunCommandProperties object itself.
+ */
+ public VirtualMachineRunCommandProperties withOutputBlobManagedIdentity(
+ RunCommandManagedIdentity outputBlobManagedIdentity) {
+ this.outputBlobManagedIdentity = outputBlobManagedIdentity;
+ return this;
+ }
+
+ /**
+ * Get the errorBlobManagedIdentity property: User-assigned managed identity that has access to errorBlobUri storage
+ * blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access
+ * to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make
+ * sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @return the errorBlobManagedIdentity value.
+ */
+ public RunCommandManagedIdentity errorBlobManagedIdentity() {
+ return this.errorBlobManagedIdentity;
+ }
+
+ /**
+ * Set the errorBlobManagedIdentity property: User-assigned managed identity that has access to errorBlobUri storage
+ * blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access
+ * to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make
+ * sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @param errorBlobManagedIdentity the errorBlobManagedIdentity value to set.
+ * @return the VirtualMachineRunCommandProperties object itself.
+ */
+ public VirtualMachineRunCommandProperties withErrorBlobManagedIdentity(
+ RunCommandManagedIdentity errorBlobManagedIdentity) {
+ this.errorBlobManagedIdentity = errorBlobManagedIdentity;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: The provisioning state, which only appears in the response. If
+ * treatFailureAsDeploymentFailure set to true, any failure in the script will fail the deployment and
+ * ProvisioningState will be marked as Failed. If treatFailureAsDeploymentFailure set to false, ProvisioningState
+ * would only reflect whether the run command was run or not by the extensions platform, it would not indicate
+ * whether script failed in case of script failures. See instance view of run command in case of script failures to
+ * see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results.
*
* @return the provisioningState value.
*/
@@ -286,6 +397,35 @@ public VirtualMachineRunCommandInstanceView instanceView() {
return this.instanceView;
}
+ /**
+ * Get the treatFailureAsDeploymentFailure property: Optional. If set to true, any failure in the script will fail
+ * the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only
+ * reflect whether the run command was run or not by the extensions platform, it would not indicate whether script
+ * failed in case of script failures. See instance view of run command in case of script failures to see
+ * executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results.
+ *
+ * @return the treatFailureAsDeploymentFailure value.
+ */
+ public Boolean treatFailureAsDeploymentFailure() {
+ return this.treatFailureAsDeploymentFailure;
+ }
+
+ /**
+ * Set the treatFailureAsDeploymentFailure property: Optional. If set to true, any failure in the script will fail
+ * the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only
+ * reflect whether the run command was run or not by the extensions platform, it would not indicate whether script
+ * failed in case of script failures. See instance view of run command in case of script failures to see
+ * executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results.
+ *
+ * @param treatFailureAsDeploymentFailure the treatFailureAsDeploymentFailure value to set.
+ * @return the VirtualMachineRunCommandProperties object itself.
+ */
+ public VirtualMachineRunCommandProperties withTreatFailureAsDeploymentFailure(
+ Boolean treatFailureAsDeploymentFailure) {
+ this.treatFailureAsDeploymentFailure = treatFailureAsDeploymentFailure;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -301,6 +441,12 @@ public void validate() {
if (protectedParameters() != null) {
protectedParameters().forEach(e -> e.validate());
}
+ if (outputBlobManagedIdentity() != null) {
+ outputBlobManagedIdentity().validate();
+ }
+ if (errorBlobManagedIdentity() != null) {
+ errorBlobManagedIdentity().validate();
+ }
if (instanceView() != null) {
instanceView().validate();
}
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 6679ca1eda78..8555932aebe7 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
@@ -421,7 +421,7 @@ public VirtualMachineScaleSetInner withPlatformFaultDomainCount(Integer platform
/**
* Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * virtual machine scale set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
*
* @return the proximityPlacementGroup value.
*/
@@ -431,7 +431,7 @@ public SubResource proximityPlacementGroup() {
/**
* Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * virtual machine scale set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
*
* @param proximityPlacementGroup the proximityPlacementGroup value to set.
* @return the VirtualMachineScaleSetInner object itself.
@@ -446,7 +446,7 @@ public VirtualMachineScaleSetInner withProximityPlacementGroup(SubResource proxi
/**
* Get the hostGroup property: Specifies information about the dedicated host group that the virtual machine scale
- * set resides in. <br><br>Minimum api-version: 2020-06-01.
+ * set resides in. Minimum api-version: 2020-06-01.
*
* @return the hostGroup value.
*/
@@ -456,7 +456,7 @@ public SubResource hostGroup() {
/**
* Set the hostGroup property: Specifies information about the dedicated host group that the virtual machine scale
- * set resides in. <br><br>Minimum api-version: 2020-06-01.
+ * set resides in. Minimum api-version: 2020-06-01.
*
* @param hostGroup the hostGroup value to set.
* @return the VirtualMachineScaleSetInner object itself.
@@ -593,8 +593,8 @@ public VirtualMachineScaleSetInner withPriorityMixPolicy(PriorityMixPolicy prior
}
/**
- * Get the timeCreated property: Specifies the time at which the Virtual Machine Scale Set resource was
- * created.<br><br>Minimum api-version: 2021-11-01.
+ * Get the timeCreated property: Specifies the time at which the Virtual Machine Scale Set resource was created.
+ * Minimum api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
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 a32c0defb2d3..123962e74797 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
@@ -87,14 +87,14 @@ public final class VirtualMachineScaleSetProperties {
/*
* Specifies information about the proximity placement group that the virtual machine scale set should be assigned
- * to.
Minimum api-version: 2018-04-01.
+ * to. Minimum api-version: 2018-04-01.
*/
@JsonProperty(value = "proximityPlacementGroup")
private SubResource proximityPlacementGroup;
/*
- * Specifies information about the dedicated host group that the virtual machine scale set resides in.
- *
Minimum api-version: 2020-06-01.
+ * Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum
+ * api-version: 2020-06-01.
*/
@JsonProperty(value = "hostGroup")
private SubResource hostGroup;
@@ -132,8 +132,7 @@ public final class VirtualMachineScaleSetProperties {
private PriorityMixPolicy priorityMixPolicy;
/*
- * Specifies the time at which the Virtual Machine Scale Set resource was created.
Minimum api-version:
- * 2021-11-01.
+ * Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.
*/
@JsonProperty(value = "timeCreated", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime timeCreated;
@@ -342,7 +341,7 @@ public VirtualMachineScaleSetProperties withPlatformFaultDomainCount(Integer pla
/**
* Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * virtual machine scale set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
*
* @return the proximityPlacementGroup value.
*/
@@ -352,7 +351,7 @@ public SubResource proximityPlacementGroup() {
/**
* Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * virtual machine scale set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
*
* @param proximityPlacementGroup the proximityPlacementGroup value to set.
* @return the VirtualMachineScaleSetProperties object itself.
@@ -364,7 +363,7 @@ public VirtualMachineScaleSetProperties withProximityPlacementGroup(SubResource
/**
* Get the hostGroup property: Specifies information about the dedicated host group that the virtual machine scale
- * set resides in. <br><br>Minimum api-version: 2020-06-01.
+ * set resides in. Minimum api-version: 2020-06-01.
*
* @return the hostGroup value.
*/
@@ -374,7 +373,7 @@ public SubResource hostGroup() {
/**
* Set the hostGroup property: Specifies information about the dedicated host group that the virtual machine scale
- * set resides in. <br><br>Minimum api-version: 2020-06-01.
+ * set resides in. Minimum api-version: 2020-06-01.
*
* @param hostGroup the hostGroup value to set.
* @return the VirtualMachineScaleSetProperties object itself.
@@ -493,8 +492,8 @@ public VirtualMachineScaleSetProperties withPriorityMixPolicy(PriorityMixPolicy
}
/**
- * Get the timeCreated property: Specifies the time at which the Virtual Machine Scale Set resource was
- * created.<br><br>Minimum api-version: 2021-11-01.
+ * Get the timeCreated property: Specifies the time at which the Virtual Machine Scale Set resource was created.
+ * Minimum api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
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 63ca068a93f8..efba1f123a33 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
@@ -8,7 +8,9 @@
import com.azure.core.management.SubResource;
import com.azure.resourcemanager.compute.models.AdditionalCapabilities;
import com.azure.resourcemanager.compute.models.AutomaticRepairsPolicy;
+import com.azure.resourcemanager.compute.models.PriorityMixPolicy;
import com.azure.resourcemanager.compute.models.ScaleInPolicy;
+import com.azure.resourcemanager.compute.models.SpotRestorePolicy;
import com.azure.resourcemanager.compute.models.UpgradePolicy;
import com.azure.resourcemanager.compute.models.VirtualMachineScaleSetUpdateVMProfile;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -76,6 +78,18 @@ public final class VirtualMachineScaleSetUpdateProperties {
@JsonProperty(value = "proximityPlacementGroup")
private SubResource proximityPlacementGroup;
+ /*
+ * Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.
+ */
+ @JsonProperty(value = "priorityMixPolicy")
+ private PriorityMixPolicy priorityMixPolicy;
+
+ /*
+ * Specifies the Spot Restore properties for the virtual machine scale set.
+ */
+ @JsonProperty(value = "spotRestorePolicy")
+ private SpotRestorePolicy spotRestorePolicy;
+
/** Creates an instance of VirtualMachineScaleSetUpdateProperties class. */
public VirtualMachineScaleSetUpdateProperties() {
}
@@ -280,6 +294,48 @@ public VirtualMachineScaleSetUpdateProperties withProximityPlacementGroup(SubRes
return this;
}
+ /**
+ * Get the priorityMixPolicy property: Specifies the desired targets for mixing Spot and Regular priority VMs within
+ * the same VMSS Flex instance.
+ *
+ * @return the priorityMixPolicy value.
+ */
+ public PriorityMixPolicy priorityMixPolicy() {
+ return this.priorityMixPolicy;
+ }
+
+ /**
+ * Set the priorityMixPolicy property: Specifies the desired targets for mixing Spot and Regular priority VMs within
+ * the same VMSS Flex instance.
+ *
+ * @param priorityMixPolicy the priorityMixPolicy value to set.
+ * @return the VirtualMachineScaleSetUpdateProperties object itself.
+ */
+ public VirtualMachineScaleSetUpdateProperties withPriorityMixPolicy(PriorityMixPolicy priorityMixPolicy) {
+ this.priorityMixPolicy = priorityMixPolicy;
+ return this;
+ }
+
+ /**
+ * Get the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.
+ *
+ * @return the spotRestorePolicy value.
+ */
+ public SpotRestorePolicy spotRestorePolicy() {
+ return this.spotRestorePolicy;
+ }
+
+ /**
+ * Set the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.
+ *
+ * @param spotRestorePolicy the spotRestorePolicy value to set.
+ * @return the VirtualMachineScaleSetUpdateProperties object itself.
+ */
+ public VirtualMachineScaleSetUpdateProperties withSpotRestorePolicy(SpotRestorePolicy spotRestorePolicy) {
+ this.spotRestorePolicy = spotRestorePolicy;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -301,5 +357,11 @@ public void validate() {
if (scaleInPolicy() != null) {
scaleInPolicy().validate();
}
+ if (priorityMixPolicy() != null) {
+ priorityMixPolicy().validate();
+ }
+ if (spotRestorePolicy() != null) {
+ spotRestorePolicy().validate();
+ }
}
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMExtensionInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMExtensionInner.java
index 3ba06ce83e3a..939c2bc8196f 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMExtensionInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMExtensionInner.java
@@ -9,6 +9,7 @@
import com.azure.resourcemanager.compute.models.SubResourceReadOnly;
import com.azure.resourcemanager.compute.models.VirtualMachineExtensionInstanceView;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
/** Describes a VMSS VM Extension. */
@Fluent
@@ -25,6 +26,12 @@ public final class VirtualMachineScaleSetVMExtensionInner extends SubResourceRea
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private String type;
+ /*
+ * The location of the extension.
+ */
+ @JsonProperty(value = "location")
+ private String location;
+
/*
* Describes the properties of a Virtual Machine Extension.
*/
@@ -53,6 +60,26 @@ public String type() {
return this.type;
}
+ /**
+ * Get the location property: The location of the extension.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: The location of the extension.
+ *
+ * @param location the location value to set.
+ * @return the VirtualMachineScaleSetVMExtensionInner object itself.
+ */
+ public VirtualMachineScaleSetVMExtensionInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
/**
* Get the innerProperties property: Describes the properties of a Virtual Machine Extension.
*
@@ -341,6 +368,31 @@ public VirtualMachineScaleSetVMExtensionInner withProtectedSettingsFromKeyVault(
return this;
}
+ /**
+ * Get the provisionAfterExtensions property: Collection of extension names after which this extension needs to be
+ * provisioned.
+ *
+ * @return the provisionAfterExtensions value.
+ */
+ public List provisionAfterExtensions() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisionAfterExtensions();
+ }
+
+ /**
+ * Set the provisionAfterExtensions property: Collection of extension names after which this extension needs to be
+ * provisioned.
+ *
+ * @param provisionAfterExtensions the provisionAfterExtensions value to set.
+ * @return the VirtualMachineScaleSetVMExtensionInner object itself.
+ */
+ public VirtualMachineScaleSetVMExtensionInner withProvisionAfterExtensions(List provisionAfterExtensions) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VirtualMachineExtensionProperties();
+ }
+ this.innerProperties().withProvisionAfterExtensions(provisionAfterExtensions);
+ return this;
+ }
+
/**
* Validates the instance.
*
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 0519d9ed0028..db7db8389aa2 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
@@ -376,8 +376,8 @@ public VirtualMachineScaleSetVMInner withNetworkProfileConfiguration(
}
/**
- * Get the diagnosticsProfile property: Specifies the boot diagnostic settings state. <br><br>Minimum
- * api-version: 2015-06-15.
+ * Get the diagnosticsProfile property: Specifies the boot diagnostic settings state. Minimum api-version:
+ * 2015-06-15.
*
* @return the diagnosticsProfile value.
*/
@@ -386,8 +386,8 @@ public DiagnosticsProfile diagnosticsProfile() {
}
/**
- * Set the diagnosticsProfile property: Specifies the boot diagnostic settings state. <br><br>Minimum
- * api-version: 2015-06-15.
+ * Set the diagnosticsProfile property: Specifies the boot diagnostic settings state. Minimum api-version:
+ * 2015-06-15.
*
* @param diagnosticsProfile the diagnosticsProfile value to set.
* @return the VirtualMachineScaleSetVMInner object itself.
@@ -404,11 +404,10 @@ public VirtualMachineScaleSetVMInner withDiagnosticsProfile(DiagnosticsProfile d
* Get the availabilitySet property: Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes
* to maximize availability. For more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For
- * more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently,
- * a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability
- * set.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. An existing VM cannot be added to an availability set.
*
* @return the availabilitySet value.
*/
@@ -420,11 +419,10 @@ public SubResource availabilitySet() {
* Set the availabilitySet property: Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes
* to maximize availability. For more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For
- * more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently,
- * a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability
- * set.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. An existing VM cannot be added to an availability set.
*
* @param availabilitySet the availabilitySet 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/VirtualMachineScaleSetVMInstanceViewInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMInstanceViewInner.java
index 11a71a986c02..04e4df0a1624 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMInstanceViewInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineScaleSetVMInstanceViewInner.java
@@ -7,6 +7,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.compute.models.BootDiagnosticsInstanceView;
import com.azure.resourcemanager.compute.models.DiskInstanceView;
+import com.azure.resourcemanager.compute.models.HyperVGeneration;
import com.azure.resourcemanager.compute.models.InstanceViewStatus;
import com.azure.resourcemanager.compute.models.MaintenanceRedeployStatus;
import com.azure.resourcemanager.compute.models.VirtualMachineAgentInstanceView;
@@ -68,8 +69,8 @@ public final class VirtualMachineScaleSetVMInstanceViewInner {
/*
* Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM
- * status.
You can easily view the output of your console log.
Azure also enables you to see a
- * screenshot of the VM from the hypervisor.
+ * status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM
+ * from the hypervisor.
*/
@JsonProperty(value = "bootDiagnostics")
private BootDiagnosticsInstanceView bootDiagnostics;
@@ -82,8 +83,8 @@ public final class VirtualMachineScaleSetVMInstanceViewInner {
/*
* Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when
- * the virtual machine is associated with a dedicated host group that has automatic placement enabled.
- *
Minimum api-version: 2020-06-01.
+ * the virtual machine is associated with a dedicated host group that has automatic placement enabled. Minimum
+ * api-version: 2020-06-01.
*/
@JsonProperty(value = "assignedHost", access = JsonProperty.Access.WRITE_ONLY)
private String assignedHost;
@@ -94,6 +95,33 @@ public final class VirtualMachineScaleSetVMInstanceViewInner {
@JsonProperty(value = "placementGroupId")
private String placementGroupId;
+ /*
+ * Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
+ *
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For
+ * naming conventions and restrictions see [Azure infrastructure services implementation
+ * guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).
+ */
+ @JsonProperty(value = "computerName")
+ private String computerName;
+
+ /*
+ * The Operating System running on the hybrid machine.
+ */
+ @JsonProperty(value = "osName")
+ private String osName;
+
+ /*
+ * The version of Operating System running on the hybrid machine.
+ */
+ @JsonProperty(value = "osVersion")
+ private String osVersion;
+
+ /*
+ * The hypervisor generation of the Virtual Machine [V1, V2]
+ */
+ @JsonProperty(value = "hyperVGeneration")
+ private HyperVGeneration hyperVGeneration;
+
/** Creates an instance of VirtualMachineScaleSetVMInstanceViewInner class. */
public VirtualMachineScaleSetVMInstanceViewInner() {
}
@@ -251,8 +279,8 @@ public VirtualMachineHealthStatus vmHealth() {
/**
* Get the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output
- * and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log.
- * <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
+ * and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you
+ * to see a screenshot of the VM from the hypervisor.
*
* @return the bootDiagnostics value.
*/
@@ -262,8 +290,8 @@ public BootDiagnosticsInstanceView bootDiagnostics() {
/**
* Set the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output
- * and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log.
- * <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
+ * and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you
+ * to see a screenshot of the VM from the hypervisor.
*
* @param bootDiagnostics the bootDiagnostics value to set.
* @return the VirtualMachineScaleSetVMInstanceViewInner object itself.
@@ -296,7 +324,7 @@ public VirtualMachineScaleSetVMInstanceViewInner withStatuses(List
Minimum api-version: 2015-06-15.
+ * Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
*/
@JsonProperty(value = "diagnosticsProfile")
private DiagnosticsProfile diagnosticsProfile;
@@ -92,10 +92,10 @@ public final class VirtualMachineScaleSetVMPropertiesInner {
* Specifies information about the availability set that the virtual machine should be assigned to. Virtual
* machines specified in the same availability set are allocated to different nodes to maximize availability. For
* more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more
- * information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can
- * only be added to availability set at creation time. An existing VM cannot be added to an availability set.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. An existing VM cannot be added to an availability set.
*/
@JsonProperty(value = "availabilitySet")
private SubResource availabilitySet;
@@ -317,8 +317,8 @@ public VirtualMachineScaleSetVMPropertiesInner withNetworkProfileConfiguration(
}
/**
- * Get the diagnosticsProfile property: Specifies the boot diagnostic settings state. <br><br>Minimum
- * api-version: 2015-06-15.
+ * Get the diagnosticsProfile property: Specifies the boot diagnostic settings state. Minimum api-version:
+ * 2015-06-15.
*
* @return the diagnosticsProfile value.
*/
@@ -327,8 +327,8 @@ public DiagnosticsProfile diagnosticsProfile() {
}
/**
- * Set the diagnosticsProfile property: Specifies the boot diagnostic settings state. <br><br>Minimum
- * api-version: 2015-06-15.
+ * Set the diagnosticsProfile property: Specifies the boot diagnostic settings state. Minimum api-version:
+ * 2015-06-15.
*
* @param diagnosticsProfile the diagnosticsProfile value to set.
* @return the VirtualMachineScaleSetVMPropertiesInner object itself.
@@ -342,11 +342,10 @@ public VirtualMachineScaleSetVMPropertiesInner withDiagnosticsProfile(Diagnostic
* Get the availabilitySet property: Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes
* to maximize availability. For more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For
- * more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently,
- * a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability
- * set.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. An existing VM cannot be added to an availability set.
*
* @return the availabilitySet value.
*/
@@ -358,11 +357,10 @@ public SubResource availabilitySet() {
* Set the availabilitySet property: Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes
* to maximize availability. For more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For
- * more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently,
- * a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability
- * set.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. An existing VM cannot be added to an availability set.
*
* @param availabilitySet the availabilitySet value to set.
* @return the VirtualMachineScaleSetVMPropertiesInner object itself.
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineUpdateInner.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineUpdateInner.java
index 48480ac5b710..c998858165a9 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineUpdateInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineUpdateInner.java
@@ -288,8 +288,8 @@ public VirtualMachineUpdateInner withSecurityProfile(SecurityProfile securityPro
}
/**
- * Get the diagnosticsProfile property: Specifies the boot diagnostic settings state. <br><br>Minimum
- * api-version: 2015-06-15.
+ * Get the diagnosticsProfile property: Specifies the boot diagnostic settings state. Minimum api-version:
+ * 2015-06-15.
*
* @return the diagnosticsProfile value.
*/
@@ -298,8 +298,8 @@ public DiagnosticsProfile diagnosticsProfile() {
}
/**
- * Set the diagnosticsProfile property: Specifies the boot diagnostic settings state. <br><br>Minimum
- * api-version: 2015-06-15.
+ * Set the diagnosticsProfile property: Specifies the boot diagnostic settings state. Minimum api-version:
+ * 2015-06-15.
*
* @param diagnosticsProfile the diagnosticsProfile value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -316,13 +316,12 @@ public VirtualMachineUpdateInner withDiagnosticsProfile(DiagnosticsProfile diagn
* Get the availabilitySet property: Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes
* to maximize availability. For more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For
- * more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently,
- * a VM can only be added to availability set at creation time. The availability set to which the VM is being added
- * should be under the same resource group as the availability set resource. An existing VM cannot be added to an
- * availability set. <br><br>This property cannot exist along with a non-null
- * properties.virtualMachineScaleSet reference.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. The availability set to which the VM is being added should be under
+ * the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
+ * This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
*
* @return the availabilitySet value.
*/
@@ -334,13 +333,12 @@ public SubResource availabilitySet() {
* Set the availabilitySet property: Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes
* to maximize availability. For more information about availability sets, see [Availability sets
- * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For
- * more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently,
- * a VM can only be added to availability set at creation time. The availability set to which the VM is being added
- * should be under the same resource group as the availability set resource. An existing VM cannot be added to an
- * availability set. <br><br>This property cannot exist along with a non-null
- * properties.virtualMachineScaleSet reference.
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on
+ * Azure planned maintenance, see [Maintenance and updates for Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be
+ * added to availability set at creation time. The availability set to which the VM is being added should be under
+ * the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
+ * This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
*
* @param availabilitySet the availabilitySet value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -357,9 +355,8 @@ public VirtualMachineUpdateInner withAvailabilitySet(SubResource availabilitySet
* Get the virtualMachineScaleSet property: Specifies information about the virtual machine scale set that the
* virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are
* allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale
- * set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This
- * property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum
- * api‐version: 2019‐03‐01.
+ * set at creation time. An existing VM cannot be added to a virtual machine scale set. This property cannot exist
+ * along with a non-null properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01.
*
* @return the virtualMachineScaleSet value.
*/
@@ -371,9 +368,8 @@ public SubResource virtualMachineScaleSet() {
* Set the virtualMachineScaleSet property: Specifies information about the virtual machine scale set that the
* virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are
* allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale
- * set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This
- * property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum
- * api‐version: 2019‐03‐01.
+ * set at creation time. An existing VM cannot be added to a virtual machine scale set. This property cannot exist
+ * along with a non-null properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01.
*
* @param virtualMachineScaleSet the virtualMachineScaleSet value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -388,7 +384,7 @@ public VirtualMachineUpdateInner withVirtualMachineScaleSet(SubResource virtualM
/**
* Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * virtual machine should be assigned to. Minimum api-version: 2018-04-01.
*
* @return the proximityPlacementGroup value.
*/
@@ -398,7 +394,7 @@ public SubResource proximityPlacementGroup() {
/**
* Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
- * virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01.
+ * virtual machine should be assigned to. Minimum api-version: 2018-04-01.
*
* @param proximityPlacementGroup the proximityPlacementGroup value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -412,8 +408,7 @@ public VirtualMachineUpdateInner withProximityPlacementGroup(SubResource proximi
}
/**
- * Get the priority property: Specifies the priority for the virtual machine. <br><br>Minimum
- * api-version: 2019-03-01.
+ * Get the priority property: Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01.
*
* @return the priority value.
*/
@@ -422,8 +417,7 @@ public VirtualMachinePriorityTypes priority() {
}
/**
- * Set the priority property: Specifies the priority for the virtual machine. <br><br>Minimum
- * api-version: 2019-03-01.
+ * Set the priority property: Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01.
*
* @param priority the priority value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -438,9 +432,9 @@ public VirtualMachineUpdateInner withPriority(VirtualMachinePriorityTypes priori
/**
* Get the evictionPolicy property: Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot
- * scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and
- * the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and
- * 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
+ * scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum
+ * api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the
+ * minimum api-version is 2017-10-30-preview.
*
* @return the evictionPolicy value.
*/
@@ -450,9 +444,9 @@ public VirtualMachineEvictionPolicyTypes evictionPolicy() {
/**
* Set the evictionPolicy property: Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot
- * scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and
- * the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and
- * 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
+ * scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum
+ * api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the
+ * minimum api-version is 2017-10-30-preview.
*
* @param evictionPolicy the evictionPolicy value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -466,8 +460,8 @@ public VirtualMachineUpdateInner withEvictionPolicy(VirtualMachineEvictionPolicy
}
/**
- * Get the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine.
- * <br><br>Minimum api-version: 2019-03-01.
+ * Get the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine. Minimum
+ * api-version: 2019-03-01.
*
* @return the billingProfile value.
*/
@@ -476,8 +470,8 @@ public BillingProfile billingProfile() {
}
/**
- * Set the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine.
- * <br><br>Minimum api-version: 2019-03-01.
+ * Set the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine. Minimum
+ * api-version: 2019-03-01.
*
* @param billingProfile the billingProfile value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -492,7 +486,7 @@ public VirtualMachineUpdateInner withBillingProfile(BillingProfile billingProfil
/**
* Get the host property: Specifies information about the dedicated host that the virtual machine resides in.
- * <br><br>Minimum api-version: 2018-10-01.
+ * Minimum api-version: 2018-10-01.
*
* @return the host value.
*/
@@ -502,7 +496,7 @@ public SubResource host() {
/**
* Set the host property: Specifies information about the dedicated host that the virtual machine resides in.
- * <br><br>Minimum api-version: 2018-10-01.
+ * Minimum api-version: 2018-10-01.
*
* @param host the host value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -517,8 +511,7 @@ public VirtualMachineUpdateInner withHost(SubResource host) {
/**
* Get the hostGroup property: Specifies information about the dedicated host group that the virtual machine resides
- * in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host
- * and hostGroup properties.
+ * in. **Note:** User cannot specify both host and hostGroup properties. Minimum api-version: 2020-06-01.
*
* @return the hostGroup value.
*/
@@ -528,8 +521,7 @@ public SubResource hostGroup() {
/**
* Set the hostGroup property: Specifies information about the dedicated host group that the virtual machine resides
- * in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host
- * and hostGroup properties.
+ * in. **Note:** User cannot specify both host and hostGroup properties. Minimum api-version: 2020-06-01.
*
* @param hostGroup the hostGroup value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -612,7 +604,7 @@ public String vmId() {
/**
* Get the extensionsTimeBudget property: Specifies the time alloted for all extensions to start. The time duration
* should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default
- * value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01.
+ * value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
*
* @return the extensionsTimeBudget value.
*/
@@ -623,7 +615,7 @@ public String extensionsTimeBudget() {
/**
* Set the extensionsTimeBudget property: Specifies the time alloted for all extensions to start. The time duration
* should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default
- * value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01.
+ * value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
*
* @param extensionsTimeBudget the extensionsTimeBudget value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -639,11 +631,10 @@ public VirtualMachineUpdateInner withExtensionsTimeBudget(String extensionsTimeB
/**
* Get the platformFaultDomain property: Specifies the scale set logical fault domain into which the Virtual Machine
* will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best
- * maintains balance across available fault domains.<br><li>This is applicable only if the
- * 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is
- * referenced, must have 'platformFaultDomainCount' > 1.<li>This property cannot be updated once the
- * Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance
- * View.<br><br>Minimum api‐version: 2020‐12‐01.
+ * maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet'
+ * property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have
+ * 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created.
+ * Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01.
*
* @return the platformFaultDomain value.
*/
@@ -654,11 +645,10 @@ public Integer platformFaultDomain() {
/**
* Set the platformFaultDomain property: Specifies the scale set logical fault domain into which the Virtual Machine
* will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best
- * maintains balance across available fault domains.<br><li>This is applicable only if the
- * 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is
- * referenced, must have 'platformFaultDomainCount' > 1.<li>This property cannot be updated once the
- * Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance
- * View.<br><br>Minimum api‐version: 2020‐12‐01.
+ * maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet'
+ * property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have
+ * 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created.
+ * Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01.
*
* @param platformFaultDomain the platformFaultDomain value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -696,7 +686,7 @@ public VirtualMachineUpdateInner withScheduledEventsProfile(ScheduledEventsProfi
/**
* 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.
*/
@@ -706,7 +696,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 VirtualMachineUpdateInner object itself.
@@ -721,7 +711,7 @@ public VirtualMachineUpdateInner withUserData(String userData) {
/**
* Get the capacityReservation property: Specifies information about the capacity reservation that is used to
- * allocate virtual machine. <br><br>Minimum api-version: 2021-04-01.
+ * allocate virtual machine. Minimum api-version: 2021-04-01.
*
* @return the capacityReservation value.
*/
@@ -731,7 +721,7 @@ public CapacityReservationProfile capacityReservation() {
/**
* Set the capacityReservation property: Specifies information about the capacity reservation that is used to
- * allocate virtual machine. <br><br>Minimum api-version: 2021-04-01.
+ * allocate virtual machine. Minimum api-version: 2021-04-01.
*
* @param capacityReservation the capacityReservation value to set.
* @return the VirtualMachineUpdateInner object itself.
@@ -770,8 +760,8 @@ public VirtualMachineUpdateInner withApplicationProfile(ApplicationProfile appli
}
/**
- * Get the timeCreated property: Specifies the time at which the Virtual Machine resource was
- * created.<br><br>Minimum api-version: 2021-11-01.
+ * Get the timeCreated property: Specifies the time at which the Virtual Machine resource was created. Minimum
+ * api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
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 8a5c15878d64..058746990e82 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
@@ -72,8 +72,7 @@ public final class AvailabilitySetsClientImpl
public interface AvailabilitySetsService {
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/availabilitySets/{availabilitySetName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> createOrUpdate(
@@ -88,8 +87,7 @@ Mono> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/availabilitySets/{availabilitySetName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> update(
@@ -104,8 +102,7 @@ Mono> update(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/availabilitySets/{availabilitySetName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> delete(
@@ -119,8 +116,7 @@ Mono> delete(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/availabilitySets/{availabilitySetName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> getByResourceGroup(
@@ -146,8 +142,7 @@ Mono> list(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/availabilitySets")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> listByResourceGroup(
@@ -160,8 +155,7 @@ Mono> listByResourceGroup(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/availabilitySets/{availabilitySetName}/vmSizes")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> listAvailableSizes(
@@ -234,7 +228,7 @@ public Mono> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -293,7 +287,7 @@ private Mono> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -403,7 +397,7 @@ public Mono> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -462,7 +456,7 @@ private Mono> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -564,7 +558,7 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -615,7 +609,7 @@ private Mono> deleteWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -708,7 +702,7 @@ public Mono> getByResourceGroupWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -760,7 +754,7 @@ private Mono> getByResourceGroupWithResponseAsync
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -848,7 +842,7 @@ private Mono> listSinglePageAsync(String exp
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -898,7 +892,7 @@ private Mono> listSinglePageAsync(String exp
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1016,7 +1010,7 @@ private Mono> listByResourceGroupSinglePageA
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1071,7 +1065,7 @@ private Mono> listByResourceGroupSinglePageA
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1189,7 +1183,7 @@ private Mono> listAvailableSizesSinglePag
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1246,7 +1240,7 @@ private Mono> listAvailableSizesSinglePag
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-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 18f98a6f8757..d427cce69715 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
@@ -74,8 +74,7 @@ public final class CapacityReservationGroupsClientImpl
public interface CapacityReservationGroupsService {
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/capacityReservationGroups/{capacityReservationGroupName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}")
@ExpectedResponses({200, 201})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> createOrUpdate(
@@ -90,8 +89,7 @@ Mono> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/capacityReservationGroups/{capacityReservationGroupName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> update(
@@ -106,8 +104,7 @@ Mono> update(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/capacityReservationGroups/{capacityReservationGroupName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> delete(
@@ -121,8 +118,7 @@ Mono> delete(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/capacityReservationGroups/{capacityReservationGroupName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> getByResourceGroup(
@@ -137,8 +133,7 @@ Mono> getByResourceGroup(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/capacityReservationGroups")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> listByResourceGroup(
@@ -226,7 +221,7 @@ public Mono> createOrUpdateWithResponseA
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -291,7 +286,7 @@ private Mono> createOrUpdateWithResponse
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -413,7 +408,7 @@ public Mono> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -478,7 +473,7 @@ private Mono> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -591,7 +586,7 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -646,7 +641,7 @@ private Mono> deleteWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -755,7 +750,7 @@ public Mono> getByResourceGroupWithRespo
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -817,7 +812,7 @@ private Mono> getByResourceGroupWithResp
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -929,7 +924,7 @@ private Mono> listByResourceGroupSi
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -989,7 +984,7 @@ private Mono> listByResourceGroupSi
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1142,7 +1137,7 @@ private Mono> listSinglePageAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1196,7 +1191,7 @@ private Mono> listSinglePageAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-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 cd3fae58947a..f5df065deec3 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
@@ -70,9 +70,7 @@ public final class CapacityReservationsClientImpl implements CapacityReservation
public interface CapacityReservationsService {
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations"
- + "/{capacityReservationName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}")
@ExpectedResponses({200, 201})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> createOrUpdate(
@@ -88,9 +86,7 @@ Mono>> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations"
- + "/{capacityReservationName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> update(
@@ -106,9 +102,7 @@ Mono>> update(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations"
- + "/{capacityReservationName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> delete(
@@ -123,9 +117,7 @@ Mono>> delete(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations"
- + "/{capacityReservationName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> get(
@@ -141,8 +133,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> listByCapacityReservationGroup(
@@ -217,7 +208,7 @@ public Mono>> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -290,7 +281,7 @@ private Mono>> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -577,7 +568,7 @@ public Mono>> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -649,7 +640,7 @@ private Mono>> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -918,7 +909,7 @@ public Mono>> deleteWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -983,7 +974,7 @@ private Mono>> deleteWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1229,7 +1220,7 @@ public Mono> getWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1298,7 +1289,7 @@ private Mono> getWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1417,7 +1408,7 @@ private Mono> listByCapacityReservationG
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1481,7 +1472,7 @@ private Mono> listByCapacityReservationG
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-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/CloudServiceOperatingSystemsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceOperatingSystemsClientImpl.java
index 510d355ec2c8..806016724213 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceOperatingSystemsClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceOperatingSystemsClientImpl.java
@@ -62,8 +62,7 @@ public final class CloudServiceOperatingSystemsClientImpl implements CloudServic
public interface CloudServiceOperatingSystemsService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions"
- + "/{osVersionName}")
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> getOSVersion(
@@ -89,8 +88,7 @@ Mono> listOSVersions(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies"
- + "/{osFamilyName}")
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> getOSFamily(
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRoleInstancesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRoleInstancesClientImpl.java
index df0067da2b72..9ce374ad8a83 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRoleInstancesClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRoleInstancesClientImpl.java
@@ -71,8 +71,7 @@ public final class CloudServiceRoleInstancesClientImpl implements CloudServiceRo
public interface CloudServiceRoleInstancesService {
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> delete(
@@ -87,8 +86,7 @@ Mono>> delete(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> get(
@@ -104,8 +102,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/instanceView")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/instanceView")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> getInstanceView(
@@ -120,8 +117,7 @@ Mono> getInstanceView(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/roleInstances")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> list(
@@ -136,8 +132,7 @@ Mono> list(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> restart(
@@ -152,8 +147,7 @@ Mono>> restart(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> reimage(
@@ -168,8 +162,7 @@ Mono>> reimage(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> rebuild(
@@ -184,8 +177,7 @@ Mono>> rebuild(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/remoteDesktopFile")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/remoteDesktopFile")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono> getRemoteDesktopFile(
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRolesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRolesClientImpl.java
index 0a26aeb004cd..58eff4ac368f 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRolesClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRolesClientImpl.java
@@ -58,8 +58,7 @@ public final class CloudServiceRolesClientImpl implements CloudServiceRolesClien
public interface CloudServiceRolesService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/roles/{roleName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles/{roleName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> get(
@@ -74,8 +73,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/roles")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> list(
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesClientImpl.java
index d3dd10169d20..b1ce294c58ef 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesClientImpl.java
@@ -78,8 +78,7 @@ public final class CloudServicesClientImpl
public interface CloudServicesService {
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}")
@ExpectedResponses({200, 201})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> createOrUpdate(
@@ -94,8 +93,7 @@ Mono>> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> update(
@@ -110,8 +108,7 @@ Mono>> update(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> delete(
@@ -125,8 +122,7 @@ Mono>> delete(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> getByResourceGroup(
@@ -140,8 +136,7 @@ Mono> getByResourceGroup(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/instanceView")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/instanceView")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> getInstanceView(
@@ -166,8 +161,7 @@ Mono> list(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> listByResourceGroup(
@@ -180,8 +174,7 @@ Mono> listByResourceGroup(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/start")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> start(
@@ -195,8 +188,7 @@ Mono>> start(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/poweroff")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> powerOff(
@@ -210,8 +202,7 @@ Mono>> powerOff(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/restart")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> restart(
@@ -226,8 +217,7 @@ Mono>> restart(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/reimage")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> reimage(
@@ -242,8 +232,7 @@ Mono>> reimage(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/rebuild")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> rebuild(
@@ -258,8 +247,7 @@ Mono>> rebuild(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/delete")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> deleteInstances(
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesUpdateDomainsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesUpdateDomainsClientImpl.java
index 3390fe22b9d5..13c86f945a12 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesUpdateDomainsClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesUpdateDomainsClientImpl.java
@@ -67,8 +67,7 @@ public final class CloudServicesUpdateDomainsClientImpl implements CloudServices
public interface CloudServicesUpdateDomainsService {
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> walkUpdateDomain(
@@ -84,8 +83,7 @@ Mono>> walkUpdateDomain(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> getUpdateDomain(
@@ -100,8 +98,7 @@ Mono> getUpdateDomain(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/cloudServices/{cloudServiceName}/updateDomains")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> listUpdateDomains(
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleriesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleriesClientImpl.java
index 4fa0d576ce4c..e0d4e0640878 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleriesClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleriesClientImpl.java
@@ -53,8 +53,7 @@ public final class CommunityGalleriesClientImpl implements CommunityGalleriesCli
public interface CommunityGalleriesService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries"
- + "/{publicGalleryName}")
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> get(
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleryImageVersionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleryImageVersionsClientImpl.java
index cc86c6100e41..6176052b9801 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleryImageVersionsClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleryImageVersionsClientImpl.java
@@ -62,8 +62,7 @@ public final class CommunityGalleryImageVersionsClientImpl implements CommunityG
public interface CommunityGalleryImageVersionsService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries"
- + "/{publicGalleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}")
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> get(
@@ -79,8 +78,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries"
- + "/{publicGalleryName}/images/{galleryImageName}/versions")
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> list(
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleryImagesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleryImagesClientImpl.java
index 741ff0c4d940..abb7c5a420f0 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleryImagesClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CommunityGalleryImagesClientImpl.java
@@ -59,8 +59,7 @@ public final class CommunityGalleryImagesClientImpl implements CommunityGalleryI
public interface CommunityGalleryImagesService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries"
- + "/{publicGalleryName}/images/{galleryImageName}")
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> get(
@@ -75,8 +74,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries"
- + "/{publicGalleryName}/images")
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> list(
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 dbe273e7a19b..2517da21a28b 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
@@ -71,8 +71,7 @@ public final class DedicatedHostGroupsClientImpl
public interface DedicatedHostGroupsService {
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups"
- + "/{hostGroupName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}")
@ExpectedResponses({200, 201})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> createOrUpdate(
@@ -87,8 +86,7 @@ Mono> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups"
- + "/{hostGroupName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> update(
@@ -103,8 +101,7 @@ Mono> update(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups"
- + "/{hostGroupName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> delete(
@@ -118,8 +115,7 @@ Mono> delete(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups"
- + "/{hostGroupName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> getByResourceGroup(
@@ -217,7 +213,7 @@ public Mono> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -276,7 +272,7 @@ private Mono> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -388,7 +384,7 @@ public Mono> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -446,7 +442,7 @@ private Mono> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -547,7 +543,7 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -597,7 +593,7 @@ private Mono> deleteWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -692,7 +688,7 @@ public Mono> getByResourceGroupWithResponseAsy
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -747,7 +743,7 @@ private Mono> getByResourceGroupWithResponseAs
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -846,7 +842,7 @@ private Mono> listByResourceGroupSinglePa
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -902,7 +898,7 @@ private Mono> listByResourceGroupSinglePa
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1015,7 +1011,7 @@ private Mono> listSinglePageAsync() {
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1059,7 +1055,7 @@ private Mono> listSinglePageAsync(Context
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-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/DedicatedHostsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostsClientImpl.java
index da7b12325990..7c398e6afca4 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
@@ -36,6 +36,7 @@
import com.azure.resourcemanager.compute.fluent.models.DedicatedHostInner;
import com.azure.resourcemanager.compute.models.ApiErrorException;
import com.azure.resourcemanager.compute.models.DedicatedHostListResult;
+import com.azure.resourcemanager.compute.models.DedicatedHostSizeListResult;
import com.azure.resourcemanager.compute.models.DedicatedHostUpdate;
import com.azure.resourcemanager.compute.models.InstanceViewTypes;
import java.nio.ByteBuffer;
@@ -70,8 +71,7 @@ public final class DedicatedHostsClientImpl implements DedicatedHostsClient {
public interface DedicatedHostsService {
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups"
- + "/{hostGroupName}/hosts/{hostName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}")
@ExpectedResponses({200, 201})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> createOrUpdate(
@@ -87,8 +87,7 @@ Mono>> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups"
- + "/{hostGroupName}/hosts/{hostName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> update(
@@ -104,8 +103,7 @@ Mono>> update(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups"
- + "/{hostGroupName}/hosts/{hostName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> delete(
@@ -120,8 +118,7 @@ Mono>> delete(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups"
- + "/{hostGroupName}/hosts/{hostName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> get(
@@ -137,8 +134,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups"
- + "/{hostGroupName}/hosts")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> listByHostGroup(
@@ -152,8 +148,7 @@ Mono> listByHostGroup(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups"
- + "/{hostGroupName}/hosts/{hostName}/restart")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/restart")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> restart(
@@ -166,6 +161,21 @@ Mono>> restart(
@HeaderParam("Accept") String accept,
Context context);
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/hostSizes")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ApiErrorException.class)
+ Mono> listAvailableSizes(
+ @HostParam("$host") String endpoint,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("hostGroupName") String hostGroupName,
+ @PathParam("hostName") String hostname,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
@Headers({"Content-Type: application/json"})
@Get("{nextLink}")
@ExpectedResponses({200})
@@ -220,7 +230,7 @@ public Mono>> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -287,7 +297,7 @@ private Mono>> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -489,7 +499,7 @@ public DedicatedHostInner createOrUpdate(
}
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -531,7 +541,7 @@ public Mono>> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -551,7 +561,7 @@ public Mono>> updateWithResponseAsync(
}
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -598,7 +608,7 @@ private Mono>> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -615,7 +625,7 @@ private Mono>> updateWithResponseAsync(
}
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -642,7 +652,7 @@ public PollerFlux, DedicatedHostInner> beginUpdat
}
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -671,7 +681,7 @@ private PollerFlux, DedicatedHostInner> beginUpda
}
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -689,7 +699,7 @@ public SyncPoller, DedicatedHostInner> beginUpdat
}
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -712,7 +722,7 @@ public SyncPoller, DedicatedHostInner> beginUpdat
}
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -732,7 +742,7 @@ public Mono updateAsync(
}
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -757,7 +767,7 @@ private Mono updateAsync(
}
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -775,7 +785,7 @@ public DedicatedHostInner update(
}
/**
- * Update an dedicated host .
+ * Update a dedicated host .
*
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -833,7 +843,7 @@ public Mono>> deleteWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -888,7 +898,7 @@ private Mono>> deleteWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1089,7 +1099,7 @@ public Mono> getWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1148,7 +1158,7 @@ private Mono> getWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1253,7 +1263,7 @@ private Mono> listByHostGroupSinglePageAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1314,7 +1324,7 @@ private Mono> listByHostGroupSinglePageAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1448,7 +1458,7 @@ public Mono>> restartWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1506,7 +1516,7 @@ private Mono>> restartWithResponseAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2022-11-01";
+ final String apiVersion = "2023-03-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1692,6 +1702,197 @@ public void restart(String resourceGroupName, String hostGroupName, String hostn
restartAsync(resourceGroupName, hostGroupName, hostname, context).block();
}
+ /**
+ * Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The
+ * dedicated host sizes provided can be used to only scale up the existing dedicated host.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param hostGroupName The name of the dedicated host group.
+ * @param hostname The name of the dedicated host.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List Dedicated Host sizes operation response along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listAvailableSizesSinglePageAsync(
+ String resourceGroupName, String hostGroupName, String hostname) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (hostGroupName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter hostGroupName is required and cannot be null."));
+ }
+ if (hostname == null) {
+ return Mono.error(new IllegalArgumentException("Parameter hostname is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ final String apiVersion = "2023-03-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .listAvailableSizes(
+ this.client.getEndpoint(),
+ resourceGroupName,
+ hostGroupName,
+ hostname,
+ apiVersion,
+ this.client.getSubscriptionId(),
+ accept,
+ context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The
+ * dedicated host sizes provided can be used to only scale up the existing dedicated host.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param hostGroupName The name of the dedicated host group.
+ * @param hostname The name of the dedicated host.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List Dedicated Host sizes operation response along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listAvailableSizesSinglePageAsync(
+ String resourceGroupName, String hostGroupName, String hostname, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (hostGroupName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter hostGroupName is required and cannot be null."));
+ }
+ if (hostname == null) {
+ return Mono.error(new IllegalArgumentException("Parameter hostname is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ final String apiVersion = "2023-03-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listAvailableSizes(
+ this.client.getEndpoint(),
+ resourceGroupName,
+ hostGroupName,
+ hostname,
+ apiVersion,
+ this.client.getSubscriptionId(),
+ accept,
+ context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null));
+ }
+
+ /**
+ * Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The
+ * dedicated host sizes provided can be used to only scale up the existing dedicated host.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param hostGroupName The name of the dedicated host group.
+ * @param hostname The name of the dedicated host.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List Dedicated Host sizes operation response as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux listAvailableSizesAsync(String resourceGroupName, String hostGroupName, String hostname) {
+ return new PagedFlux<>(() -> listAvailableSizesSinglePageAsync(resourceGroupName, hostGroupName, hostname));
+ }
+
+ /**
+ * Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The
+ * dedicated host sizes provided can be used to only scale up the existing dedicated host.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param hostGroupName The name of the dedicated host group.
+ * @param hostname The name of the dedicated host.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List Dedicated Host sizes operation response as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAvailableSizesAsync(
+ String resourceGroupName, String hostGroupName, String hostname, Context context) {
+ return new PagedFlux<>(
+ () -> listAvailableSizesSinglePageAsync(resourceGroupName, hostGroupName, hostname, context));
+ }
+
+ /**
+ * Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The
+ * dedicated host sizes provided can be used to only scale up the existing dedicated host.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param hostGroupName The name of the dedicated host group.
+ * @param hostname The name of the dedicated host.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List Dedicated Host sizes operation response as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listAvailableSizes(String resourceGroupName, String hostGroupName, String hostname) {
+ return new PagedIterable<>(listAvailableSizesAsync(resourceGroupName, hostGroupName, hostname));
+ }
+
+ /**
+ * Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The
+ * dedicated host sizes provided can be used to only scale up the existing dedicated host.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param hostGroupName The name of the dedicated host group.
+ * @param hostname The name of the dedicated host.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ApiErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List Dedicated Host sizes operation response as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listAvailableSizes(
+ String resourceGroupName, String hostGroupName, String hostname, Context context) {
+ return new PagedIterable<>(listAvailableSizesAsync(resourceGroupName, hostGroupName, hostname, context));
+ }
+
/**
* Get the next page of items.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskAccessesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskAccessesClientImpl.java
index 27e4f327703a..8cf93f6faf9f 100644
--- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskAccessesClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskAccessesClientImpl.java
@@ -79,8 +79,7 @@ public final class DiskAccessesClientImpl
public interface DiskAccessesService {
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/diskAccesses/{diskAccessName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> createOrUpdate(
@@ -95,8 +94,7 @@ Mono>> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/diskAccesses/{diskAccessName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> update(
@@ -111,8 +109,7 @@ Mono>> update(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/diskAccesses/{diskAccessName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono> getByResourceGroup(
@@ -126,8 +123,7 @@ Mono> getByResourceGroup(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/diskAccesses/{diskAccessName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono>> delete(
@@ -141,8 +137,7 @@ Mono>> delete(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute"
- + "/diskAccesses")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ApiErrorException.class)
Mono