public interface VirtualMachineScaleSetsClient extends InnerSupportsGet<VirtualMachineScaleSetInner>, InnerSupportsListing<VirtualMachineScaleSetInner>, InnerSupportsDelete<Void>
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> |
beginCreateOrUpdate(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetInner parameters)
Create or update a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> |
beginCreateOrUpdate(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetInner parameters,
com.azure.core.util.Context context)
Create or update a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetInner parameters)
Create or update a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeallocate(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Deallocates specific virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeallocate(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Deallocates specific virtual machines in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeallocateAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Deallocates specific virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String vmScaleSetName)
Deletes a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String vmScaleSetName,
com.azure.core.util.Context context)
Deletes a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String vmScaleSetName)
Deletes a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteInstances(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Deletes virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteInstances(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Deletes virtual machines in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteInstancesAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Deletes virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPerformMaintenance(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Perform maintenance on one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPerformMaintenance(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Perform maintenance on one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPerformMaintenanceAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Perform maintenance on one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPowerOff(String resourceGroupName,
String vmScaleSetName,
Boolean skipShutdown,
List<String> instanceIds)
Power off (stop) one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPowerOff(String resourceGroupName,
String vmScaleSetName,
Boolean skipShutdown,
List<String> instanceIds,
com.azure.core.util.Context context)
Power off (stop) one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPowerOffAsync(String resourceGroupName,
String vmScaleSetName,
Boolean skipShutdown,
List<String> instanceIds)
Power off (stop) one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRedeploy(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them
back on.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRedeploy(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.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.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRedeployAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them
back on.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimage(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput)
Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a
ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial
state.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimage(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput,
com.azure.core.util.Context context)
Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a
ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial
state.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimageAll(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimageAll(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimageAllAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginReimageAsync(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput)
Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a
ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial
state.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRestart(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Restarts one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRestart(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Restarts one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRestartAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Restarts one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginSetOrchestrationServiceState(String resourceGroupName,
String vmScaleSetName,
OrchestrationServiceStateInput parameters)
Changes ServiceState property for a given service.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginSetOrchestrationServiceState(String resourceGroupName,
String vmScaleSetName,
OrchestrationServiceStateInput parameters,
com.azure.core.util.Context context)
Changes ServiceState property for a given service.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginSetOrchestrationServiceStateAsync(String resourceGroupName,
String vmScaleSetName,
OrchestrationServiceStateInput parameters)
Changes ServiceState property for a given service.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStart(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Starts one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStart(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Starts one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStartAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Starts one or more virtual machines in a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> |
beginUpdate(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetUpdate parameters)
Update a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> |
beginUpdate(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetUpdate parameters,
com.azure.core.util.Context context)
Update a VM scale set.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> |
beginUpdateAsync(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetUpdate parameters)
Update a VM scale set.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginUpdateInstances(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginUpdateInstances(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginUpdateInstancesAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
|
void |
convertToSinglePlacementGroup(String resourceGroupName,
String vmScaleSetName)
Converts SinglePlacementGroup property to false for a existing virtual machine scale set.
|
Mono<Void> |
convertToSinglePlacementGroupAsync(String resourceGroupName,
String vmScaleSetName)
Converts SinglePlacementGroup property to false for a existing virtual machine scale set.
|
Mono<Void> |
convertToSinglePlacementGroupAsync(String resourceGroupName,
String vmScaleSetName,
String activePlacementGroupId)
Converts SinglePlacementGroup property to false for a existing virtual machine scale set.
|
com.azure.core.http.rest.Response<Void> |
convertToSinglePlacementGroupWithResponse(String resourceGroupName,
String vmScaleSetName,
String activePlacementGroupId,
com.azure.core.util.Context context)
Converts SinglePlacementGroup property to false for a existing virtual machine scale set.
|
Mono<com.azure.core.http.rest.Response<Void>> |
convertToSinglePlacementGroupWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
String activePlacementGroupId)
Converts SinglePlacementGroup property to false for a existing virtual machine scale set.
|
VirtualMachineScaleSetInner |
createOrUpdate(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetInner parameters)
Create or update a VM scale set.
|
VirtualMachineScaleSetInner |
createOrUpdate(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetInner parameters,
com.azure.core.util.Context context)
Create or update a VM scale set.
|
Mono<VirtualMachineScaleSetInner> |
createOrUpdateAsync(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetInner parameters)
Create or update a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetInner parameters)
Create or update a VM scale set.
|
void |
deallocate(String resourceGroupName,
String vmScaleSetName)
Deallocates specific virtual machines in a VM scale set.
|
void |
deallocate(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Deallocates specific virtual machines in a VM scale set.
|
void |
deallocate(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Deallocates specific virtual machines in a VM scale set.
|
Mono<Void> |
deallocateAsync(String resourceGroupName,
String vmScaleSetName)
Deallocates specific virtual machines in a VM scale set.
|
Mono<Void> |
deallocateAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Deallocates specific virtual machines in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deallocateWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Deallocates specific virtual machines in a VM scale set.
|
void |
delete(String resourceGroupName,
String vmScaleSetName)
Deletes a VM scale set.
|
void |
delete(String resourceGroupName,
String vmScaleSetName,
com.azure.core.util.Context context)
Deletes a VM scale set.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String vmScaleSetName)
Deletes a VM scale set.
|
void |
deleteInstances(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Deletes virtual machines in a VM scale set.
|
void |
deleteInstances(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Deletes virtual machines in a VM scale set.
|
Mono<Void> |
deleteInstancesAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Deletes virtual machines in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteInstancesWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Deletes virtual machines in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String vmScaleSetName)
Deletes a VM scale set.
|
RecoveryWalkResponseInner |
forceRecoveryServiceFabricPlatformUpdateDomainWalk(String resourceGroupName,
String vmScaleSetName,
int platformUpdateDomain)
Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.
|
Mono<RecoveryWalkResponseInner> |
forceRecoveryServiceFabricPlatformUpdateDomainWalkAsync(String resourceGroupName,
String vmScaleSetName,
int platformUpdateDomain)
Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.
|
com.azure.core.http.rest.Response<RecoveryWalkResponseInner> |
forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponse(String resourceGroupName,
String vmScaleSetName,
int platformUpdateDomain,
com.azure.core.util.Context context)
Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.
|
Mono<com.azure.core.http.rest.Response<RecoveryWalkResponseInner>> |
forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
int platformUpdateDomain)
Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.
|
VirtualMachineScaleSetInner |
getByResourceGroup(String resourceGroupName,
String vmScaleSetName)
Display information about a virtual machine scale set.
|
Mono<VirtualMachineScaleSetInner> |
getByResourceGroupAsync(String resourceGroupName,
String vmScaleSetName)
Display information about a virtual machine scale set.
|
com.azure.core.http.rest.Response<VirtualMachineScaleSetInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String vmScaleSetName,
com.azure.core.util.Context context)
Display information about a virtual machine scale set.
|
Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String vmScaleSetName)
Display information about a virtual machine scale set.
|
VirtualMachineScaleSetInstanceViewInner |
getInstanceView(String resourceGroupName,
String vmScaleSetName)
Gets the status of a VM scale set instance.
|
Mono<VirtualMachineScaleSetInstanceViewInner> |
getInstanceViewAsync(String resourceGroupName,
String vmScaleSetName)
Gets the status of a VM scale set instance.
|
com.azure.core.http.rest.Response<VirtualMachineScaleSetInstanceViewInner> |
getInstanceViewWithResponse(String resourceGroupName,
String vmScaleSetName,
com.azure.core.util.Context context)
Gets the status of a VM scale set instance.
|
Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetInstanceViewInner>> |
getInstanceViewWithResponseAsync(String resourceGroupName,
String vmScaleSetName)
Gets the status of a VM scale set instance.
|
com.azure.core.http.rest.PagedIterable<UpgradeOperationHistoricalStatusInfoInner> |
getOSUpgradeHistory(String resourceGroupName,
String vmScaleSetName)
Gets list of OS upgrades on a VM scale set instance.
|
com.azure.core.http.rest.PagedIterable<UpgradeOperationHistoricalStatusInfoInner> |
getOSUpgradeHistory(String resourceGroupName,
String vmScaleSetName,
com.azure.core.util.Context context)
Gets list of OS upgrades on a VM scale set instance.
|
com.azure.core.http.rest.PagedFlux<UpgradeOperationHistoricalStatusInfoInner> |
getOSUpgradeHistoryAsync(String resourceGroupName,
String vmScaleSetName)
Gets list of OS upgrades on a VM scale set instance.
|
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetInner> |
list()
Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group.
|
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetInner> |
list(com.azure.core.util.Context context)
Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group.
|
com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetInner> |
listAsync()
Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group.
|
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetInner> |
listByResourceGroup(String resourceGroupName)
Gets a list of all VM scale sets under a resource group.
|
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets a list of all VM scale sets under a resource group.
|
com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetInner> |
listByResourceGroupAsync(String resourceGroupName)
Gets a list of all VM scale sets under a resource group.
|
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetSkuInner> |
listSkus(String resourceGroupName,
String vmScaleSetName)
Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for
each SKU.
|
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetSkuInner> |
listSkus(String resourceGroupName,
String vmScaleSetName,
com.azure.core.util.Context context)
Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for
each SKU.
|
com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetSkuInner> |
listSkusAsync(String resourceGroupName,
String vmScaleSetName)
Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for
each SKU.
|
void |
performMaintenance(String resourceGroupName,
String vmScaleSetName)
Perform maintenance on one or more virtual machines in a VM scale set.
|
void |
performMaintenance(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Perform maintenance on one or more virtual machines in a VM scale set.
|
void |
performMaintenance(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Perform maintenance on one or more virtual machines in a VM scale set.
|
Mono<Void> |
performMaintenanceAsync(String resourceGroupName,
String vmScaleSetName)
Perform maintenance on one or more virtual machines in a VM scale set.
|
Mono<Void> |
performMaintenanceAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Perform maintenance on one or more virtual machines in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
performMaintenanceWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Perform maintenance on one or more virtual machines in a VM scale set.
|
void |
powerOff(String resourceGroupName,
String vmScaleSetName)
Power off (stop) one or more virtual machines in a VM scale set.
|
void |
powerOff(String resourceGroupName,
String vmScaleSetName,
Boolean skipShutdown,
List<String> instanceIds)
Power off (stop) one or more virtual machines in a VM scale set.
|
void |
powerOff(String resourceGroupName,
String vmScaleSetName,
Boolean skipShutdown,
List<String> instanceIds,
com.azure.core.util.Context context)
Power off (stop) one or more virtual machines in a VM scale set.
|
Mono<Void> |
powerOffAsync(String resourceGroupName,
String vmScaleSetName)
Power off (stop) one or more virtual machines in a VM scale set.
|
Mono<Void> |
powerOffAsync(String resourceGroupName,
String vmScaleSetName,
Boolean skipShutdown,
List<String> instanceIds)
Power off (stop) one or more virtual machines in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
powerOffWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
Boolean skipShutdown,
List<String> instanceIds)
Power off (stop) one or more virtual machines in a VM scale set.
|
void |
redeploy(String resourceGroupName,
String vmScaleSetName)
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them
back on.
|
void |
redeploy(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them
back on.
|
void |
redeploy(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.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.
|
Mono<Void> |
redeployAsync(String resourceGroupName,
String vmScaleSetName)
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them
back on.
|
Mono<Void> |
redeployAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them
back on.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
redeployWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them
back on.
|
void |
reimage(String resourceGroupName,
String vmScaleSetName)
Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a
ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial
state.
|
void |
reimage(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput)
Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a
ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial
state.
|
void |
reimage(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput,
com.azure.core.util.Context context)
Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a
ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial
state.
|
void |
reimageAll(String resourceGroupName,
String vmScaleSetName)
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.
|
void |
reimageAll(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.
|
void |
reimageAll(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.
|
Mono<Void> |
reimageAllAsync(String resourceGroupName,
String vmScaleSetName)
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.
|
Mono<Void> |
reimageAllAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
reimageAllWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.
|
Mono<Void> |
reimageAsync(String resourceGroupName,
String vmScaleSetName)
Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a
ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial
state.
|
Mono<Void> |
reimageAsync(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput)
Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a
ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial
state.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
reimageWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput)
Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a
ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial
state.
|
void |
restart(String resourceGroupName,
String vmScaleSetName)
Restarts one or more virtual machines in a VM scale set.
|
void |
restart(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Restarts one or more virtual machines in a VM scale set.
|
void |
restart(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Restarts one or more virtual machines in a VM scale set.
|
Mono<Void> |
restartAsync(String resourceGroupName,
String vmScaleSetName)
Restarts one or more virtual machines in a VM scale set.
|
Mono<Void> |
restartAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Restarts one or more virtual machines in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
restartWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Restarts one or more virtual machines in a VM scale set.
|
void |
setOrchestrationServiceState(String resourceGroupName,
String vmScaleSetName,
OrchestrationServiceStateInput parameters)
Changes ServiceState property for a given service.
|
void |
setOrchestrationServiceState(String resourceGroupName,
String vmScaleSetName,
OrchestrationServiceStateInput parameters,
com.azure.core.util.Context context)
Changes ServiceState property for a given service.
|
Mono<Void> |
setOrchestrationServiceStateAsync(String resourceGroupName,
String vmScaleSetName,
OrchestrationServiceStateInput parameters)
Changes ServiceState property for a given service.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
setOrchestrationServiceStateWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
OrchestrationServiceStateInput parameters)
Changes ServiceState property for a given service.
|
void |
start(String resourceGroupName,
String vmScaleSetName)
Starts one or more virtual machines in a VM scale set.
|
void |
start(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Starts one or more virtual machines in a VM scale set.
|
void |
start(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Starts one or more virtual machines in a VM scale set.
|
Mono<Void> |
startAsync(String resourceGroupName,
String vmScaleSetName)
Starts one or more virtual machines in a VM scale set.
|
Mono<Void> |
startAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Starts one or more virtual machines in a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
startWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Starts one or more virtual machines in a VM scale set.
|
VirtualMachineScaleSetInner |
update(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetUpdate parameters)
Update a VM scale set.
|
VirtualMachineScaleSetInner |
update(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetUpdate parameters,
com.azure.core.util.Context context)
Update a VM scale set.
|
Mono<VirtualMachineScaleSetInner> |
updateAsync(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetUpdate parameters)
Update a VM scale set.
|
void |
updateInstances(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
|
void |
updateInstances(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds,
com.azure.core.util.Context context)
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
|
Mono<Void> |
updateInstancesAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateInstancesWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
List<String> instanceIds)
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String vmScaleSetName,
VirtualMachineScaleSetUpdate parameters)
Update a VM scale set.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginCreateOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginCreateOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine Scale Set.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<VirtualMachineScaleSetInner> createOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine 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.VirtualMachineScaleSetInner createOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine 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.VirtualMachineScaleSetInner createOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine Scale Set.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, VirtualMachineScaleSetUpdate parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine Scale Set.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<VirtualMachineScaleSetInner> updateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine 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.VirtualMachineScaleSetInner update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine 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.VirtualMachineScaleSetInner update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set to create or update.parameters
- Describes a Virtual Machine Scale Set.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)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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)
deleteAsync
in interface InnerSupportsDelete<Void>
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.void delete(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.void delete(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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<VirtualMachineScaleSetInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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<VirtualMachineScaleSetInner> getByResourceGroupAsync(String resourceGroupName, String vmScaleSetName)
getByResourceGroupAsync
in interface InnerSupportsGet<VirtualMachineScaleSetInner>
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.VirtualMachineScaleSetInner getByResourceGroup(String resourceGroupName, String vmScaleSetName)
getByResourceGroup
in interface InnerSupportsGet<VirtualMachineScaleSetInner>
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.Response<VirtualMachineScaleSetInner> getByResourceGroupWithResponse(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocateAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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<Void> deallocateAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.void deallocate(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.void deallocate(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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 deallocate(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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>>> deleteInstancesWithResponseAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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> beginDeleteInstancesAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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> beginDeleteInstances(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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> beginDeleteInstances(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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> deleteInstancesAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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 deleteInstances(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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 deleteInstances(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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<VirtualMachineScaleSetInstanceViewInner>> getInstanceViewWithResponseAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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<VirtualMachineScaleSetInstanceViewInner> getInstanceViewAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.VirtualMachineScaleSetInstanceViewInner getInstanceView(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.Response<VirtualMachineScaleSetInstanceViewInner> getInstanceViewWithResponse(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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<VirtualMachineScaleSetInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync
in interface InnerSupportsListing<VirtualMachineScaleSetInner>
resourceGroupName
- The name of the resource group.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<VirtualMachineScaleSetInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup
in interface InnerSupportsListing<VirtualMachineScaleSetInner>
resourceGroupName
- The name of the resource group.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<VirtualMachineScaleSetInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.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<VirtualMachineScaleSetInner> listAsync()
listAsync
in interface InnerSupportsListing<VirtualMachineScaleSetInner>
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<VirtualMachineScaleSetInner> list()
list
in interface InnerSupportsListing<VirtualMachineScaleSetInner>
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<VirtualMachineScaleSetInner> list(com.azure.core.util.Context context)
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<VirtualMachineScaleSetSkuInner> listSkusAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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<VirtualMachineScaleSetSkuInner> listSkus(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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<VirtualMachineScaleSetSkuInner> listSkus(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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<UpgradeOperationHistoricalStatusInfoInner> getOSUpgradeHistoryAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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<UpgradeOperationHistoricalStatusInfoInner> getOSUpgradeHistory(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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<UpgradeOperationHistoricalStatusInfoInner> getOSUpgradeHistory(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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>>> powerOffWithResponseAsync(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOffAsync(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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, Boolean skipShutdown, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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<Void> powerOffAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.void powerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.void powerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.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.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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>>> restartWithResponseAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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<Void> restartAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.void restart(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.void restart(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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 restart(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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>>> startWithResponseAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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<Void> startAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.void start(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.void start(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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 start(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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>>> redeployWithResponseAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRedeployAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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<Void> redeployAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.void redeploy(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.void redeploy(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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 redeploy(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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>>> performMaintenanceWithResponseAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformMaintenanceAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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<Void> performMaintenanceAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.void performMaintenance(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.void performMaintenance(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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 performMaintenance(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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>>> updateInstancesWithResponseAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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> beginUpdateInstancesAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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> beginUpdateInstances(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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> beginUpdateInstances(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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> updateInstancesAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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 updateInstances(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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 updateInstances(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids.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>>> reimageWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.vmScaleSetReimageInput
- Describes a Virtual Machine Scale Set VM Reimage 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<Void>,Void> beginReimageAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.vmScaleSetReimageInput
- Describes a Virtual Machine Scale Set VM Reimage 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<Void>,Void> beginReimage(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.vmScaleSetReimageInput
- Describes a Virtual Machine Scale Set VM Reimage 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<Void>,Void> beginReimage(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.vmScaleSetReimageInput
- Describes a Virtual Machine Scale Set VM Reimage 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<Void> reimageAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.vmScaleSetReimageInput
- Describes a Virtual Machine Scale Set VM Reimage 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.Mono<Void> reimageAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.void reimage(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.vmScaleSetReimageInput
- Describes a Virtual Machine Scale Set VM Reimage 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.void reimage(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.vmScaleSetReimageInput
- Describes a Virtual Machine Scale Set VM Reimage 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.void reimage(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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>>> reimageAllWithResponseAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAllAsync(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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<Void> reimageAllAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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.void reimageAll(String resourceGroupName, String vmScaleSetName, List<String> instanceIds)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine 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.void reimageAll(String resourceGroupName, String vmScaleSetName, List<String> instanceIds, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.instanceIds
- The virtual machine scale set instance ids. Omitting the virtual machine scale set instance
ids will result in the operation being performed on all virtual machines in the virtual machine scale set.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 reimageAll(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- 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<RecoveryWalkResponseInner>> forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponseAsync(String resourceGroupName, String vmScaleSetName, int platformUpdateDomain)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.platformUpdateDomain
- The platform update domain for which a manual recovery walk is requested.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<RecoveryWalkResponseInner> forceRecoveryServiceFabricPlatformUpdateDomainWalkAsync(String resourceGroupName, String vmScaleSetName, int platformUpdateDomain)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.platformUpdateDomain
- The platform update domain for which a manual recovery walk is requested.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.RecoveryWalkResponseInner forceRecoveryServiceFabricPlatformUpdateDomainWalk(String resourceGroupName, String vmScaleSetName, int platformUpdateDomain)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.platformUpdateDomain
- The platform update domain for which a manual recovery walk is requested.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<RecoveryWalkResponseInner> forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponse(String resourceGroupName, String vmScaleSetName, int platformUpdateDomain, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the VM scale set.platformUpdateDomain
- The platform update domain for which a manual recovery walk is requested.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>> convertToSinglePlacementGroupWithResponseAsync(String resourceGroupName, String vmScaleSetName, String activePlacementGroupId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.activePlacementGroupId
- Id of the placement group in which you want future virtual machine instances to be
placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the
platform will choose one with maximum number of virtual machine instances.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> convertToSinglePlacementGroupAsync(String resourceGroupName, String vmScaleSetName, String activePlacementGroupId)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.activePlacementGroupId
- Id of the placement group in which you want future virtual machine instances to be
placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the
platform will choose one with maximum number of virtual machine instances.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> convertToSinglePlacementGroupAsync(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.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 convertToSinglePlacementGroup(String resourceGroupName, String vmScaleSetName)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.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> convertToSinglePlacementGroupWithResponse(String resourceGroupName, String vmScaleSetName, String activePlacementGroupId, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.activePlacementGroupId
- Id of the placement group in which you want future virtual machine instances to be
placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the
platform will choose one with maximum number of virtual machine instances.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>>> setOrchestrationServiceStateWithResponseAsync(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.parameters
- The input for OrchestrationServiceState.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> beginSetOrchestrationServiceStateAsync(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.parameters
- The input for OrchestrationServiceState.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> beginSetOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.parameters
- The input for OrchestrationServiceState.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> beginSetOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.parameters
- The input for OrchestrationServiceState.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> setOrchestrationServiceStateAsync(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.parameters
- The input for OrchestrationServiceState.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 setOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.parameters
- The input for OrchestrationServiceState.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 setOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.vmScaleSetName
- The name of the virtual machine scale set to create or update.parameters
- The input for OrchestrationServiceState.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.