public interface VirtualMachineScaleSetVMsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeallocate(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Deallocates a specific virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeallocate(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Deallocates a specific virtual machine in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeallocateAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Deallocates a specific virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Deletes a virtual machine from a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Deletes a virtual machine from a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Deletes a virtual machine from a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPerformMaintenance(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Performs maintenance on a virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPerformMaintenance(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Performs maintenance on a virtual machine in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPerformMaintenanceAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Performs maintenance on a virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPowerOff(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean skipShutdown)
Power off (stop) a virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPowerOff(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean skipShutdown,
com.azure.core.util.Context context)
Power off (stop) a virtual machine in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPowerOffAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean skipShutdown)
Power off (stop) a virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRedeploy(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRedeploy(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRedeployAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimage(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean tempDisk)
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimage(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean tempDisk,
com.azure.core.util.Context context)
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimageAll(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimageAll(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimageAllAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimageAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean tempDisk)
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRestart(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Restarts a virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRestart(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Restarts a virtual machine in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRestartAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Restarts a virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> |
beginRunCommand(String resourceGroupName,
String vmScaleSetName,
String instanceId,
RunCommandInput parameters)
Run command on a virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> |
beginRunCommand(String resourceGroupName,
String vmScaleSetName,
String instanceId,
RunCommandInput parameters,
com.azure.core.util.Context context)
Run command on a virtual machine in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> |
beginRunCommandAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
RunCommandInput parameters)
Run command on a virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStart(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Starts a virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStart(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Starts a virtual machine in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStartAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Starts a virtual machine in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMInner>,VirtualMachineScaleSetVMInner> |
beginUpdate(String resourceGroupName,
String vmScaleSetName,
String instanceId,
VirtualMachineScaleSetVMInner parameters)
Updates a virtual machine of a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMInner>,VirtualMachineScaleSetVMInner> |
beginUpdate(String resourceGroupName,
String vmScaleSetName,
String instanceId,
VirtualMachineScaleSetVMInner parameters,
com.azure.core.util.Context context)
Updates a virtual machine of a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMInner>,VirtualMachineScaleSetVMInner> |
beginUpdateAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
VirtualMachineScaleSetVMInner parameters)
Updates a virtual machine of a VM scale set.
|
void |
deallocate(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Deallocates a specific virtual machine in a VM scale set.
|
void |
deallocate(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Deallocates a specific virtual machine in a VM scale set.
|
Mono<Void> |
deallocateAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Deallocates a specific virtual machine in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deallocateWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Deallocates a specific virtual machine in a VM scale set.
|
void |
delete(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Deletes a virtual machine from a VM scale set.
|
void |
delete(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Deletes a virtual machine from a VM scale set.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Deletes a virtual machine from a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Deletes a virtual machine from a VM scale set.
|
VirtualMachineScaleSetVMInner |
get(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Gets a virtual machine from a VM scale set.
|
Mono<VirtualMachineScaleSetVMInner> |
getAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Gets a virtual machine from a VM scale set.
|
Mono<VirtualMachineScaleSetVMInner> |
getAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
InstanceViewTypes expand)
Gets a virtual machine from a VM scale set.
|
VirtualMachineScaleSetVMInstanceViewInner |
getInstanceView(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Gets the status of a virtual machine from a VM scale set.
|
Mono<VirtualMachineScaleSetVMInstanceViewInner> |
getInstanceViewAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Gets the status of a virtual machine from a VM scale set.
|
com.azure.core.http.rest.Response<VirtualMachineScaleSetVMInstanceViewInner> |
getInstanceViewWithResponse(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Gets the status of a virtual machine from a VM scale set.
|
Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetVMInstanceViewInner>> |
getInstanceViewWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Gets the status of a virtual machine from a VM scale set.
|
com.azure.core.http.rest.Response<VirtualMachineScaleSetVMInner> |
getWithResponse(String resourceGroupName,
String vmScaleSetName,
String instanceId,
InstanceViewTypes expand,
com.azure.core.util.Context context)
Gets a virtual machine from a VM scale set.
|
Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetVMInner>> |
getWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
InstanceViewTypes expand)
Gets a virtual machine from a VM scale set.
|
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetVMInner> |
list(String resourceGroupName,
String virtualMachineScaleSetName)
Gets a list of all virtual machines in a VM scale sets.
|
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetVMInner> |
list(String resourceGroupName,
String virtualMachineScaleSetName,
String filter,
String select,
String expand,
com.azure.core.util.Context context)
Gets a list of all virtual machines in a VM scale sets.
|
com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetVMInner> |
listAsync(String resourceGroupName,
String virtualMachineScaleSetName)
Gets a list of all virtual machines in a VM scale sets.
|
com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetVMInner> |
listAsync(String resourceGroupName,
String virtualMachineScaleSetName,
String filter,
String select,
String expand)
Gets a list of all virtual machines in a VM scale sets.
|
void |
performMaintenance(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Performs maintenance on a virtual machine in a VM scale set.
|
void |
performMaintenance(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Performs maintenance on a virtual machine in a VM scale set.
|
Mono<Void> |
performMaintenanceAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Performs maintenance on a virtual machine in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
performMaintenanceWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Performs maintenance on a virtual machine in a VM scale set.
|
void |
powerOff(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Power off (stop) a virtual machine in a VM scale set.
|
void |
powerOff(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean skipShutdown)
Power off (stop) a virtual machine in a VM scale set.
|
void |
powerOff(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean skipShutdown,
com.azure.core.util.Context context)
Power off (stop) a virtual machine in a VM scale set.
|
Mono<Void> |
powerOffAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Power off (stop) a virtual machine in a VM scale set.
|
Mono<Void> |
powerOffAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean skipShutdown)
Power off (stop) a virtual machine in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
powerOffWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean skipShutdown)
Power off (stop) a virtual machine in a VM scale set.
|
void |
redeploy(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
|
void |
redeploy(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
|
Mono<Void> |
redeployAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
redeployWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
|
void |
reimage(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
|
void |
reimage(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean tempDisk)
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
|
void |
reimage(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean tempDisk,
com.azure.core.util.Context context)
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
|
void |
reimageAll(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.
|
void |
reimageAll(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.
|
Mono<Void> |
reimageAllAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
reimageAllWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.
|
Mono<Void> |
reimageAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
|
Mono<Void> |
reimageAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean tempDisk)
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
reimageWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
Boolean tempDisk)
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
|
void |
restart(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Restarts a virtual machine in a VM scale set.
|
void |
restart(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Restarts a virtual machine in a VM scale set.
|
Mono<Void> |
restartAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Restarts a virtual machine in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
restartWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Restarts a virtual machine in a VM scale set.
|
RunCommandResultInner |
runCommand(String resourceGroupName,
String vmScaleSetName,
String instanceId,
RunCommandInput parameters)
Run command on a virtual machine in a VM scale set.
|
RunCommandResultInner |
runCommand(String resourceGroupName,
String vmScaleSetName,
String instanceId,
RunCommandInput parameters,
com.azure.core.util.Context context)
Run command on a virtual machine in a VM scale set.
|
Mono<RunCommandResultInner> |
runCommandAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
RunCommandInput parameters)
Run command on a virtual machine in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
runCommandWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
RunCommandInput parameters)
Run command on a virtual machine in a VM scale set.
|
void |
simulateEviction(String resourceGroupName,
String vmScaleSetName,
String instanceId)
The operation to simulate the eviction of spot virtual machine in a VM scale set.
|
Mono<Void> |
simulateEvictionAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
The operation to simulate the eviction of spot virtual machine in a VM scale set.
|
com.azure.core.http.rest.Response<Void> |
simulateEvictionWithResponse(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
The operation to simulate the eviction of spot virtual machine in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Void>> |
simulateEvictionWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
The operation to simulate the eviction of spot virtual machine in a VM scale set.
|
void |
start(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Starts a virtual machine in a VM scale set.
|
void |
start(String resourceGroupName,
String vmScaleSetName,
String instanceId,
com.azure.core.util.Context context)
Starts a virtual machine in a VM scale set.
|
Mono<Void> |
startAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Starts a virtual machine in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
startWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId)
Starts a virtual machine in a VM scale set.
|
VirtualMachineScaleSetVMInner |
update(String resourceGroupName,
String vmScaleSetName,
String instanceId,
VirtualMachineScaleSetVMInner parameters)
Updates a virtual machine of a VM scale set.
|
VirtualMachineScaleSetVMInner |
update(String resourceGroupName,
String vmScaleSetName,
String instanceId,
VirtualMachineScaleSetVMInner parameters,
com.azure.core.util.Context context)
Updates a virtual machine of a VM scale set.
|
Mono<VirtualMachineScaleSetVMInner> |
updateAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
VirtualMachineScaleSetVMInner parameters)
Updates a virtual machine of a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String instanceId,
VirtualMachineScaleSetVMInner parameters)
Updates a virtual machine of a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> reimageWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean tempDisk)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.tempDisk
- Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage
parameter is only supported for VM/VMSS with Ephemeral OS disk.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean tempDisk)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.tempDisk
- Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage
parameter is only supported for VM/VMSS with Ephemeral OS disk.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimage(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean tempDisk)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.tempDisk
- Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage
parameter is only supported for VM/VMSS with Ephemeral OS disk.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimage(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean tempDisk, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.tempDisk
- Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage
parameter is only supported for VM/VMSS with Ephemeral OS disk.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> reimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean tempDisk)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.tempDisk
- Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage
parameter is only supported for VM/VMSS with Ephemeral OS disk.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> reimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void reimage(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean tempDisk)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.tempDisk
- Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage
parameter is only supported for VM/VMSS with Ephemeral OS disk.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void reimage(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean tempDisk, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.tempDisk
- Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage
parameter is only supported for VM/VMSS with Ephemeral OS disk.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void reimage(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> reimageAllWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAllAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> reimageAllAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void reimageAll(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void reimageAll(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deallocateWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocateAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deallocateAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void deallocate(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void deallocate(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set where the extension should be create or updated.instanceId
- The instance ID of the virtual machine.parameters
- Describes a virtual machine scale set virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMInner>,VirtualMachineScaleSetVMInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set where the extension should be create or updated.instanceId
- The instance ID of the virtual machine.parameters
- Describes a virtual machine scale set virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMInner>,VirtualMachineScaleSetVMInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set where the extension should be create or updated.instanceId
- The instance ID of the virtual machine.parameters
- Describes a virtual machine scale set virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMInner>,VirtualMachineScaleSetVMInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set where the extension should be create or updated.instanceId
- The instance ID of the virtual machine.parameters
- Describes a virtual machine scale set virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<VirtualMachineScaleSetVMInner> updateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set where the extension should be create or updated.instanceId
- The instance ID of the virtual machine.parameters
- Describes a virtual machine scale set virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.VirtualMachineScaleSetVMInner update(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set where the extension should be create or updated.instanceId
- The instance ID of the virtual machine.parameters
- Describes a virtual machine scale set virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.VirtualMachineScaleSetVMInner update(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set where the extension should be create or updated.instanceId
- The instance ID of the virtual machine.parameters
- Describes a virtual machine scale set virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetVMInner>> getWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, InstanceViewTypes expand)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.expand
- The expand expression to apply on the operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<VirtualMachineScaleSetVMInner> getAsync(String resourceGroupName, String vmScaleSetName, String instanceId, InstanceViewTypes expand)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.expand
- The expand expression to apply on the operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<VirtualMachineScaleSetVMInner> getAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.VirtualMachineScaleSetVMInner get(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<VirtualMachineScaleSetVMInner> getWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, InstanceViewTypes expand, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.expand
- The expand expression to apply on the operation.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetVMInstanceViewInner>> getInstanceViewWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<VirtualMachineScaleSetVMInstanceViewInner> getInstanceViewAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.VirtualMachineScaleSetVMInstanceViewInner getInstanceView(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<VirtualMachineScaleSetVMInstanceViewInner> getInstanceViewWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetVMInner> listAsync(String resourceGroupName, String virtualMachineScaleSetName, String filter, String select, String expand)
resourceGroupName
- The name of the resource group.virtualMachineScaleSetName
- The name of the VM scale set.filter
- The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code,
'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'.select
- The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'.expand
- The expand expression to apply to the operation. Allowed values are 'instanceView'.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetVMInner> listAsync(String resourceGroupName, String virtualMachineScaleSetName)
resourceGroupName
- The name of the resource group.virtualMachineScaleSetName
- The name of the VM scale set.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetVMInner> list(String resourceGroupName, String virtualMachineScaleSetName, String filter, String select, String expand, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.virtualMachineScaleSetName
- The name of the VM scale set.filter
- The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code,
'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'.select
- The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'.expand
- The expand expression to apply to the operation. Allowed values are 'instanceView'.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetVMInner> list(String resourceGroupName, String virtualMachineScaleSetName)
resourceGroupName
- The name of the resource group.virtualMachineScaleSetName
- The name of the VM scale set.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> powerOffWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.skipShutdown
- The parameter to request non-graceful VM shutdown. True value for this flag indicates
non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not
specified.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.skipShutdown
- The parameter to request non-graceful VM shutdown. True value for this flag indicates
non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not
specified.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.skipShutdown
- The parameter to request non-graceful VM shutdown. True value for this flag indicates
non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not
specified.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.skipShutdown
- The parameter to request non-graceful VM shutdown. True value for this flag indicates
non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not
specified.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> powerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.skipShutdown
- The parameter to request non-graceful VM shutdown. True value for this flag indicates
non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not
specified.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> powerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void powerOff(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.skipShutdown
- The parameter to request non-graceful VM shutdown. True value for this flag indicates
non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not
specified.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void powerOff(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.skipShutdown
- The parameter to request non-graceful VM shutdown. True value for this flag indicates
non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not
specified.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void powerOff(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> restartAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void restart(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void restart(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> startAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void start(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void start(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> redeployWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRedeployAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> redeployAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void redeploy(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void redeploy(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> performMaintenanceWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformMaintenanceAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> performMaintenanceAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void performMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void performMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Void>> simulateEvictionWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> simulateEvictionAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void simulateEviction(String resourceGroupName, String vmScaleSetName, String instanceId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> simulateEvictionWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> runCommandWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.parameters
- Capture Virtual Machine parameters.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommandAsync(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.parameters
- Capture Virtual Machine parameters.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.parameters
- Capture Virtual Machine parameters.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.parameters
- Capture Virtual Machine parameters.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<RunCommandResultInner> runCommandAsync(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.parameters
- Capture Virtual Machine parameters.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.RunCommandResultInner runCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.parameters
- Capture Virtual Machine parameters.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.RunCommandResultInner runCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceId
- The instance ID of the virtual machine.parameters
- Capture Virtual Machine parameters.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.