Interface VirtualMachineScaleSetsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<VirtualMachineScaleSetInner>,InnerSupportsListing<VirtualMachineScaleSetInner>
public interface VirtualMachineScaleSetsClient
extends InnerSupportsGet<VirtualMachineScaleSetInner>, InnerSupportsListing<VirtualMachineScaleSetInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VirtualMachineScaleSetsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapproveRollingUpgrade(String resourceGroupName, String vmScaleSetName) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.voidapproveRollingUpgrade(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.approveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.approveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> approveRollingUpgradeWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.beginApproveRollingUpgrade(String resourceGroupName, String vmScaleSetName) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.beginApproveRollingUpgrade(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.beginApproveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.beginApproveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in 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) 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, String ifMatch, String ifNoneMatch, 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.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>, VirtualMachineScaleSetInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch) Create or update a VM scale set.beginDeallocate(String resourceGroupName, String vmScaleSetName) Deallocates specific virtual machines in a VM scale set.beginDeallocate(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Deallocates specific virtual machines in a VM scale set.beginDeallocateAsync(String resourceGroupName, String vmScaleSetName) Deallocates specific virtual machines in a VM scale set.beginDeallocateAsync(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Deallocates specific virtual machines in a VM scale set.beginDelete(String resourceGroupName, String vmScaleSetName) Deletes a VM scale set.beginDelete(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion, com.azure.core.util.Context context) Deletes a VM scale set.beginDeleteAsync(String resourceGroupName, String vmScaleSetName) Deletes a VM scale set.beginDeleteAsync(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion) Deletes a VM scale set.beginDeleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Deletes virtual machines in a VM scale set.beginDeleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion, com.azure.core.util.Context context) Deletes virtual machines in a VM scale set.beginDeleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Deletes virtual machines in a VM scale set.beginDeleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion) Deletes virtual machines in a VM scale set.beginPerformMaintenance(String resourceGroupName, String vmScaleSetName) Perform maintenance on one or more virtual machines in a VM scale set.beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Perform maintenance on one or more virtual machines in a VM scale set.beginPerformMaintenanceAsync(String resourceGroupName, String vmScaleSetName) Perform maintenance on one or more virtual machines in a VM scale set.beginPerformMaintenanceAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Perform maintenance on one or more virtual machines in a VM scale set.beginPowerOff(String resourceGroupName, String vmScaleSetName) Power off (stop) one or more virtual machines in a VM scale set.beginPowerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Power off (stop) one or more virtual machines in a VM scale set.beginPowerOffAsync(String resourceGroupName, String vmScaleSetName) Power off (stop) one or more virtual machines in a VM scale set.beginPowerOffAsync(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Power off (stop) one or more virtual machines in a VM scale set.beginReapply(String resourceGroupName, String vmScaleSetName) Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.beginReapply(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.beginReapplyAsync(String resourceGroupName, String vmScaleSetName) Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.beginRedeploy(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.beginRedeploy(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.beginRedeployAsync(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.beginRedeployAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.beginReimage(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.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.beginReimageAll(String resourceGroupName, String vmScaleSetName) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.beginReimageAll(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.beginReimageAllAsync(String resourceGroupName, String vmScaleSetName) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.beginReimageAllAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.beginReimageAsync(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.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.beginRestart(String resourceGroupName, String vmScaleSetName) Restarts one or more virtual machines in a VM scale set.beginRestart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Restarts one or more virtual machines in a VM scale set.beginRestartAsync(String resourceGroupName, String vmScaleSetName) Restarts one or more virtual machines in a VM scale set.beginRestartAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Restarts one or more virtual machines in a VM scale set.beginSetOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters) Changes ServiceState property for a given service.beginSetOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters, com.azure.core.util.Context context) Changes ServiceState property for a given service.beginSetOrchestrationServiceStateAsync(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters) Changes ServiceState property for a given service.beginStart(String resourceGroupName, String vmScaleSetName) Starts one or more virtual machines in a VM scale set.beginStart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Starts one or more virtual machines in a VM scale set.beginStartAsync(String resourceGroupName, String vmScaleSetName) Starts one or more virtual machines in a VM scale set.beginStartAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) 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, String ifMatch, String ifNoneMatch, 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.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>, VirtualMachineScaleSetInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch) Update a VM scale set.beginUpdateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.beginUpdateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, com.azure.core.util.Context context) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.beginUpdateInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.voidconvertToSinglePlacementGroup(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters) Converts SinglePlacementGroup property to false for a existing virtual machine scale set.convertToSinglePlacementGroupAsync(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters) Converts SinglePlacementGroup property to false for a existing virtual machine scale set.com.azure.core.http.rest.Response<Void> convertToSinglePlacementGroupWithResponse(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters, com.azure.core.util.Context context) Converts SinglePlacementGroup property to false for a existing virtual machine scale set.convertToSinglePlacementGroupWithResponseAsync(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters) Converts SinglePlacementGroup property to false for a existing virtual machine scale set.createOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters) Create or update a VM scale set.createOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Create or update a VM scale set.createOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters) Create or update a VM scale set.createOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch) Create or update a VM scale set.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch) Create or update a VM scale set.voiddeallocate(String resourceGroupName, String vmScaleSetName) Deallocates specific virtual machines in a VM scale set.voiddeallocate(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Deallocates specific virtual machines in a VM scale set.deallocateAsync(String resourceGroupName, String vmScaleSetName) Deallocates specific virtual machines in a VM scale set.deallocateAsync(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Deallocates specific virtual machines in a VM scale set.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deallocateWithResponseAsync(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Deallocates specific virtual machines in a VM scale set.voidDeletes a VM scale set.voiddelete(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion, com.azure.core.util.Context context) Deletes a VM scale set.deleteAsync(String resourceGroupName, String vmScaleSetName) Deletes a VM scale set.deleteAsync(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion) Deletes a VM scale set.voiddeleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Deletes virtual machines in a VM scale set.voiddeleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion, com.azure.core.util.Context context) Deletes virtual machines in a VM scale set.deleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Deletes virtual machines in a VM scale set.deleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion) Deletes virtual machines in a VM scale set.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteInstancesWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion) Deletes virtual machines in a VM scale set.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion) Deletes a VM scale set.forceRecoveryServiceFabricPlatformUpdateDomainWalk(String resourceGroupName, String vmScaleSetName, int platformUpdateDomain) Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.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, String zone, String placementGroupId, 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, String zone, String placementGroupId) Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.getByResourceGroup(String resourceGroupName, String vmScaleSetName) Display information about a virtual machine scale set.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, ExpandTypesForGetVMScaleSets expand, 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, ExpandTypesForGetVMScaleSets expand) Display information about a virtual machine scale set.getInstanceView(String resourceGroupName, String vmScaleSetName) Gets the status of a VM scale set instance.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> Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group.com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetInner> listByLocation(String location) Gets all the VM scale sets under the specified subscription for the specified location.com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetInner> listByLocation(String location, com.azure.core.util.Context context) Gets all the VM scale sets under the specified subscription for the specified location.com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetInner> listByLocationAsync(String location) Gets all the VM scale sets under the specified subscription for the specified location.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> 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> 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.voidperformMaintenance(String resourceGroupName, String vmScaleSetName) Perform maintenance on one or more virtual machines in a VM scale set.voidperformMaintenance(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Perform maintenance on one or more virtual machines in a VM scale set.performMaintenanceAsync(String resourceGroupName, String vmScaleSetName) Perform maintenance on one or more virtual machines in a VM scale set.performMaintenanceAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) 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, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Perform maintenance on one or more virtual machines in a VM scale set.voidPower off (stop) one or more virtual machines in a VM scale set.voidpowerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Power off (stop) one or more virtual machines in a VM scale set.powerOffAsync(String resourceGroupName, String vmScaleSetName) Power off (stop) one or more virtual machines in a VM scale set.powerOffAsync(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) 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, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Power off (stop) one or more virtual machines in a VM scale set.voidReapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.voidReapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.reapplyAsync(String resourceGroupName, String vmScaleSetName) Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> reapplyWithResponseAsync(String resourceGroupName, String vmScaleSetName) Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.voidShuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.voidredeploy(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.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.redeployAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) 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, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.voidReimages (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.voidreimage(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.voidreimageAll(String resourceGroupName, String vmScaleSetName) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.voidreimageAll(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.reimageAllAsync(String resourceGroupName, String vmScaleSetName) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.reimageAllAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) 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, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.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.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.voidRestarts one or more virtual machines in a VM scale set.voidrestart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Restarts one or more virtual machines in a VM scale set.restartAsync(String resourceGroupName, String vmScaleSetName) Restarts one or more virtual machines in a VM scale set.restartAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) 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, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Restarts one or more virtual machines in a VM scale set.voidsetOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters) Changes ServiceState property for a given service.voidsetOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters, com.azure.core.util.Context context) Changes ServiceState property for a given service.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.voidStarts one or more virtual machines in a VM scale set.voidstart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Starts one or more virtual machines in a VM scale set.startAsync(String resourceGroupName, String vmScaleSetName) Starts one or more virtual machines in a VM scale set.startAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) 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, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Starts one or more virtual machines in a VM scale set.update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters) Update a VM scale set.update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Update a VM scale set.updateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters) Update a VM scale set.updateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch) Update a VM scale set.voidupdateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.voidupdateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, com.azure.core.util.Context context) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.updateInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) 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, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) 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, String ifMatch, String ifNoneMatch) Update a VM scale set.
-
Method Details
-
listByLocationAsync
com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetInner> listByLocationAsync(String location) Gets all the VM scale sets under the specified subscription for the specified location.- Parameters:
location- The location for which VM scale sets under the subscription are queried.- Returns:
- all the VM scale sets under the specified subscription for the specified location as paginated response
with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByLocation
Gets all the VM scale sets under the specified subscription for the specified location.- Parameters:
location- The location for which VM scale sets under the subscription are queried.- Returns:
- all the VM scale sets under the specified subscription for the specified location as paginated response
with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByLocation
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetInner> listByLocation(String location, com.azure.core.util.Context context) Gets all the VM scale sets under the specified subscription for the specified location.- Parameters:
location- The location for which VM scale sets under the subscription are queried.context- The context to associate with this operation.- Returns:
- all the VM scale sets under the specified subscription for the specified location as paginated response
with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch) Create or update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.ifMatch- The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.- Returns:
- describes a Virtual Machine Scale Set along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch) Create or update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.ifMatch- The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.- Returns:
- the
PollerFluxfor polling of describes a Virtual Machine Scale Set. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.- Returns:
- the
PollerFluxfor polling of describes a Virtual Machine Scale Set. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.- Returns:
- the
SyncPollerfor polling of describes a Virtual Machine Scale Set. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginCreateOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Create or update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.ifMatch- The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of describes a Virtual Machine Scale Set. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<VirtualMachineScaleSetInner> createOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch) Create or update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.ifMatch- The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.- Returns:
- describes a Virtual Machine Scale Set on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<VirtualMachineScaleSetInner> createOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters) Create or update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.- Returns:
- describes a Virtual Machine Scale Set on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VirtualMachineScaleSetInner createOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters) Create or update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.- Returns:
- describes a Virtual Machine Scale Set.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VirtualMachineScaleSetInner createOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Create or update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.ifMatch- The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.context- The context to associate with this operation.- Returns:
- describes a Virtual Machine Scale Set.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch) Update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.ifMatch- The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.- Returns:
- describes a Virtual Machine Scale Set along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch) Update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.ifMatch- The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.- Returns:
- the
PollerFluxfor polling of describes a Virtual Machine Scale Set. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateAsync
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.- Returns:
- the
PollerFluxfor polling of describes a Virtual Machine Scale Set. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.- Returns:
- the
SyncPollerfor polling of describes a Virtual Machine Scale Set. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.ifMatch- The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of describes a Virtual Machine Scale Set. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<VirtualMachineScaleSetInner> updateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch) Update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.ifMatch- The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.- Returns:
- describes a Virtual Machine Scale Set on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<VirtualMachineScaleSetInner> updateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters) Update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.- Returns:
- describes a Virtual Machine Scale Set on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
VirtualMachineScaleSetInner update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters) Update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.- Returns:
- describes a Virtual Machine Scale Set.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
VirtualMachineScaleSetInner update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Update a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set to create or update.parameters- The scale set object.ifMatch- The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.context- The context to associate with this operation.- Returns:
- describes a Virtual Machine Scale Set.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion) Deletes a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.forceDeletion- Optional parameter to force delete a VM scale set. (Feature in Preview).- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion) Deletes a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.forceDeletion- Optional parameter to force delete a VM scale set. (Feature in Preview).- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName) Deletes a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName) Deletes a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion, com.azure.core.util.Context context) Deletes a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.forceDeletion- Optional parameter to force delete a VM scale set. (Feature in Preview).context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.forceDeletion- Optional parameter to force delete a VM scale set. (Feature in Preview).- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes a VM scale set.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion, com.azure.core.util.Context context) Deletes a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.forceDeletion- Optional parameter to force delete a VM scale set. (Feature in Preview).context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vmScaleSetName, ExpandTypesForGetVMScaleSets expand) Display information about a virtual machine scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.expand- The expand expression to apply on the operation. 'UserData' retrieves the UserData property of the VM scale set that was provided by the user during the VM scale set Create/Update operation.- Returns:
- describes a Virtual Machine Scale Set along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<VirtualMachineScaleSetInner> getByResourceGroupAsync(String resourceGroupName, String vmScaleSetName) Display information about a virtual machine scale set.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<VirtualMachineScaleSetInner>- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- describes a Virtual Machine Scale Set on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<VirtualMachineScaleSetInner> getByResourceGroupWithResponse(String resourceGroupName, String vmScaleSetName, ExpandTypesForGetVMScaleSets expand, com.azure.core.util.Context context) Display information about a virtual machine scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.expand- The expand expression to apply on the operation. 'UserData' retrieves the UserData property of the VM scale set that was provided by the user during the VM scale set Create/Update operation.context- The context to associate with this operation.- Returns:
- describes a Virtual Machine Scale Set along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Display information about a virtual machine scale set.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<VirtualMachineScaleSetInner>- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- describes a Virtual Machine Scale Set.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deallocateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deallocateWithResponseAsync(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.hibernate- Optional parameter to hibernate a virtual machine from the VM scale set. (This feature is available for VMSS with Flexible OrchestrationMode only).vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeallocateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocateAsync(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.hibernate- Optional parameter to hibernate a virtual machine from the VM scale set. (This feature is available for VMSS with Flexible OrchestrationMode only).vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeallocateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocateAsync(String resourceGroupName, String vmScaleSetName) Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeallocate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName) Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeallocate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.hibernate- Optional parameter to hibernate a virtual machine from the VM scale set. (This feature is available for VMSS with Flexible OrchestrationMode only).vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deallocateAsync
Mono<Void> deallocateAsync(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.hibernate- Optional parameter to hibernate a virtual machine from the VM scale set. (This feature is available for VMSS with Flexible OrchestrationMode only).vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deallocateAsync
Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deallocate
Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deallocate
void deallocate(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.hibernate- Optional parameter to hibernate a virtual machine from the VM scale set. (This feature is available for VMSS with Flexible OrchestrationMode only).vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteInstancesWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteInstancesWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion) Deletes virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.forceDeletion- Optional parameter to force delete virtual machines from the VM scale set. (Feature in Preview).- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteInstancesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion) Deletes virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.forceDeletion- Optional parameter to force delete virtual machines from the VM scale set. (Feature in Preview).- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteInstancesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Deletes virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteInstances
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Deletes virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteInstances
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion, com.azure.core.util.Context context) Deletes virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.forceDeletion- Optional parameter to force delete virtual machines from the VM scale set. (Feature in Preview).context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteInstancesAsync
Mono<Void> deleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion) Deletes virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.forceDeletion- Optional parameter to force delete virtual machines from the VM scale set. (Feature in Preview).- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteInstancesAsync
Mono<Void> deleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Deletes virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteInstances
void deleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Deletes virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteInstances
void deleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion, com.azure.core.util.Context context) Deletes virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.forceDeletion- Optional parameter to force delete virtual machines from the VM scale set. (Feature in Preview).context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getInstanceViewWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetInstanceViewInner>> getInstanceViewWithResponseAsync(String resourceGroupName, String vmScaleSetName) Gets the status of a VM scale set instance.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the status of a VM scale set instance along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getInstanceViewAsync
Mono<VirtualMachineScaleSetInstanceViewInner> getInstanceViewAsync(String resourceGroupName, String vmScaleSetName) Gets the status of a VM scale set instance.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the status of a VM scale set instance on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getInstanceViewWithResponse
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Returns:
- the status of a VM scale set instance along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getInstanceView
VirtualMachineScaleSetInstanceViewInner getInstanceView(String resourceGroupName, String vmScaleSetName) Gets the status of a VM scale set instance.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the status of a VM scale set instance.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetInner> listByResourceGroupAsync(String resourceGroupName) Gets a list of all VM scale sets under a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<VirtualMachineScaleSetInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- a list of all VM scale sets under a resource group as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetInner> listByResourceGroup(String resourceGroupName) Gets a list of all VM scale sets under a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<VirtualMachineScaleSetInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- a list of all VM scale sets under a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
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.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- a list of all VM scale sets under a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
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. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets.- Specified by:
listAsyncin interfaceInnerSupportsListing<VirtualMachineScaleSetInner>- Returns:
- a list of all VM Scale Sets in the subscription, regardless of the associated resource group as paginated
response with
PagedFlux. - Throws:
ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
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. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets.- Specified by:
listin interfaceInnerSupportsListing<VirtualMachineScaleSetInner>- Returns:
- a list of all VM Scale Sets in the subscription, regardless of the associated resource group as paginated
response with
PagedIterable. - Throws:
ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
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. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets.- Parameters:
context- The context to associate with this operation.- Returns:
- a list of all VM Scale Sets in the subscription, regardless of the associated resource group as paginated
response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSkusAsync
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed
for each SKU as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSkus
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed
for each SKU as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSkus
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Returns:
- a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed
for each SKU as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getOSUpgradeHistoryAsync
com.azure.core.http.rest.PagedFlux<UpgradeOperationHistoricalStatusInfoInner> getOSUpgradeHistoryAsync(String resourceGroupName, String vmScaleSetName) Gets list of OS upgrades on a VM scale set instance.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- list of OS upgrades on a VM scale set instance as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getOSUpgradeHistory
com.azure.core.http.rest.PagedIterable<UpgradeOperationHistoricalStatusInfoInner> getOSUpgradeHistory(String resourceGroupName, String vmScaleSetName) Gets list of OS upgrades on a VM scale set instance.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- list of OS upgrades on a VM scale set instance as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getOSUpgradeHistory
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Returns:
- list of OS upgrades on a VM scale set instance as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
powerOffWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> powerOffWithResponseAsync(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated.- Parameters:
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.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPowerOffAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOffAsync(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated.- Parameters:
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.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPowerOffAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOffAsync(String resourceGroupName, String vmScaleSetName) Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPowerOff
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName) Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPowerOff
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated.- Parameters:
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.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
powerOffAsync
Mono<Void> powerOffAsync(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated.- Parameters:
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.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
powerOffAsync
Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
powerOff
Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
powerOff
void powerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated.- Parameters:
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.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restartWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Restarts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRestartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Restarts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRestartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String vmScaleSetName) Restarts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRestart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String vmScaleSetName) Restarts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRestart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Restarts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restartAsync
Mono<Void> restartAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Restarts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restartAsync
Restarts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restart
Restarts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restart
void restart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Restarts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Starts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Starts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String vmScaleSetName) Starts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String vmScaleSetName) Starts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Starts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startAsync
Mono<Void> startAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Starts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startAsync
Starts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
start
Starts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
start
void start(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Starts one or more virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reapplyWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> reapplyWithResponseAsync(String resourceGroupName, String vmScaleSetName) Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReapplyAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginReapplyAsync(String resourceGroupName, String vmScaleSetName) Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReapply
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReapply(String resourceGroupName, String vmScaleSetName) Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReapply
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReapply(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reapplyAsync
Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reapply
Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reapply
Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
redeployWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> redeployWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRedeployAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRedeployAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRedeployAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRedeployAsync(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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRedeploy
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRedeploy(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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRedeploy
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
redeployAsync
Mono<Void> redeployAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
redeployAsync
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
redeploy
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
redeploy
void redeploy(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
performMaintenanceWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> performMaintenanceWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPerformMaintenanceAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformMaintenanceAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPerformMaintenanceAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformMaintenanceAsync(String resourceGroupName, String vmScaleSetName) Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPerformMaintenance
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName) Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPerformMaintenance
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
performMaintenanceAsync
Mono<Void> performMaintenanceAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
performMaintenanceAsync
Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
performMaintenance
Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
performMaintenance
void performMaintenance(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateInstancesWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateInstancesWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateInstancesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginUpdateInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateInstances
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpdateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateInstances
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpdateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, com.azure.core.util.Context context) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateInstancesAsync
Mono<Void> updateInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateInstances
void updateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateInstances
void updateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, com.azure.core.util.Context context) Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reimageWithResponseAsync
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmScaleSetReimageInput- Parameters for Reimaging VM ScaleSet.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReimageAsync
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmScaleSetReimageInput- Parameters for Reimaging VM ScaleSet.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReimageAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAsync(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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReimage
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimage(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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReimage
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmScaleSetReimageInput- Parameters for Reimaging VM ScaleSet.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reimageAsync
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmScaleSetReimageInput- Parameters for Reimaging VM ScaleSet.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reimageAsync
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reimage
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reimage
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmScaleSetReimageInput- Parameters for Reimaging VM ScaleSet.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reimageAllWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> reimageAllWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReimageAllAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAllAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReimageAllAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAllAsync(String resourceGroupName, String vmScaleSetName) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReimageAll
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginReimageAll
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reimageAllAsync
Mono<Void> reimageAllAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reimageAllAsync
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reimageAll
Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
reimageAll
void reimageAll(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
approveRollingUpgradeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> approveRollingUpgradeWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginApproveRollingUpgradeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginApproveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginApproveRollingUpgradeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginApproveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginApproveRollingUpgrade
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginApproveRollingUpgrade(String resourceGroupName, String vmScaleSetName) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginApproveRollingUpgrade
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginApproveRollingUpgrade(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
approveRollingUpgradeAsync
Mono<Void> approveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
approveRollingUpgradeAsync
Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
approveRollingUpgrade
Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
approveRollingUpgrade
void approveRollingUpgrade(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, com.azure.core.util.Context context) Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the VM scale set.vmInstanceIDs- A list of virtual machine instance IDs from the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponseAsync
Mono<com.azure.core.http.rest.Response<RecoveryWalkResponseInner>> forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponseAsync(String resourceGroupName, String vmScaleSetName, int platformUpdateDomain, String zone, String placementGroupId) Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.- Parameters:
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.zone- The zone in which the manual recovery walk is requested for cross zone virtual machine scale set.placementGroupId- The placement group id for which the manual recovery walk is requested.- Returns:
- response after calling a manual recovery walk along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
forceRecoveryServiceFabricPlatformUpdateDomainWalkAsync
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.- Parameters:
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.- Returns:
- response after calling a manual recovery walk on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponse
com.azure.core.http.rest.Response<RecoveryWalkResponseInner> forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponse(String resourceGroupName, String vmScaleSetName, int platformUpdateDomain, String zone, String placementGroupId, com.azure.core.util.Context context) Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.- Parameters:
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.zone- The zone in which the manual recovery walk is requested for cross zone virtual machine scale set.placementGroupId- The placement group id for which the manual recovery walk is requested.context- The context to associate with this operation.- Returns:
- response after calling a manual recovery walk along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
forceRecoveryServiceFabricPlatformUpdateDomainWalk
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.- Parameters:
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.- Returns:
- response after calling a manual recovery walk.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
convertToSinglePlacementGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> convertToSinglePlacementGroupWithResponseAsync(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters) Converts SinglePlacementGroup property to false for a existing virtual machine scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for ConvertToSinglePlacementGroup API.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
convertToSinglePlacementGroupAsync
Mono<Void> convertToSinglePlacementGroupAsync(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters) Converts SinglePlacementGroup property to false for a existing virtual machine scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for ConvertToSinglePlacementGroup API.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
convertToSinglePlacementGroupWithResponse
com.azure.core.http.rest.Response<Void> convertToSinglePlacementGroupWithResponse(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters, com.azure.core.util.Context context) Converts SinglePlacementGroup property to false for a existing virtual machine scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for ConvertToSinglePlacementGroup API.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
convertToSinglePlacementGroup
void convertToSinglePlacementGroup(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters) Converts SinglePlacementGroup property to false for a existing virtual machine scale set.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for ConvertToSinglePlacementGroup API.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
setOrchestrationServiceStateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> setOrchestrationServiceStateWithResponseAsync(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters) Changes ServiceState property for a given service.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for SetOrchestrationServiceState API.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginSetOrchestrationServiceStateAsync
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for SetOrchestrationServiceState API.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginSetOrchestrationServiceState
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for SetOrchestrationServiceState API.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginSetOrchestrationServiceState
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.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for SetOrchestrationServiceState API.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
setOrchestrationServiceStateAsync
Mono<Void> setOrchestrationServiceStateAsync(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters) Changes ServiceState property for a given service.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for SetOrchestrationServiceState API.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
setOrchestrationServiceState
void setOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters) Changes ServiceState property for a given service.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for SetOrchestrationServiceState API.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
setOrchestrationServiceState
void setOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters, com.azure.core.util.Context context) Changes ServiceState property for a given service.- Parameters:
resourceGroupName- The name of the resource group.vmScaleSetName- The name of the virtual machine scale set to create or update.parameters- The input object for SetOrchestrationServiceState API.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-