다음을 통해 공유


VirtualMachineScaleSetsClient Interface

Implements

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 Type Method and Description
abstract void approveRollingUpgrade(String resourceGroupName, String vmScaleSetName)

Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.

abstract void approveRollingUpgrade(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.

abstract Mono<Void> approveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName)

Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.

abstract 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.

abstract Mono<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.

abstract SyncPoller<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.

abstract SyncPoller<PollResult<Void>,Void> beginApproveRollingUpgrade(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.

abstract PollerFlux<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.

abstract PollerFlux<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.

abstract SyncPoller<PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginCreateOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters)

Create or update a VM scale set.

abstract SyncPoller<PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginCreateOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch, Context context)

Create or update a VM scale set.

abstract PollerFlux<PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters)

Create or update a VM scale set.

abstract PollerFlux<PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch)

Create or update a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName)

Deallocates specific virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Deallocates specific virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginDeallocateAsync(String resourceGroupName, String vmScaleSetName)

Deallocates specific virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginDeallocateAsync(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Deallocates specific virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName)

Deletes a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion, Context context)

Deletes a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName)

Deletes a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion)

Deletes a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs)

Deletes virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion, Context context)

Deletes virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs)

Deletes virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion)

Deletes virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName)

Perform maintenance on one or more virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Perform maintenance on one or more virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginPerformMaintenanceAsync(String resourceGroupName, String vmScaleSetName)

Perform maintenance on one or more virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginPerformMaintenanceAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Perform maintenance on one or more virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName)

Power off (stop) one or more virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Power off (stop) one or more virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginPowerOffAsync(String resourceGroupName, String vmScaleSetName)

Power off (stop) one or more virtual machines in a VM scale set.

abstract PollerFlux<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.

abstract SyncPoller<PollResult<Void>,Void> beginReapply(String resourceGroupName, String vmScaleSetName)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.

abstract SyncPoller<PollResult<Void>,Void> beginReapply(String resourceGroupName, String vmScaleSetName, Context context)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.

abstract PollerFlux<PollResult<Void>,Void> beginReapplyAsync(String resourceGroupName, String vmScaleSetName)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.

abstract SyncPoller<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.

abstract SyncPoller<PollResult<Void>,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

abstract PollerFlux<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.

abstract PollerFlux<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.

abstract SyncPoller<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.

abstract SyncPoller<PollResult<Void>,Void> beginReimage(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput, 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.

abstract SyncPoller<PollResult<Void>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName)

Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginReimageAllAsync(String resourceGroupName, String vmScaleSetName)

Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.

abstract PollerFlux<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.

abstract PollerFlux<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.

abstract PollerFlux<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.

abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String vmScaleSetName)

Restarts one or more virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Restarts one or more virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String vmScaleSetName)

Restarts one or more virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Restarts one or more virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginSetOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)

Changes ServiceState property for a given service.

abstract SyncPoller<PollResult<Void>,Void> beginSetOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters, Context context)

Changes ServiceState property for a given service.

abstract PollerFlux<PollResult<Void>,Void> beginSetOrchestrationServiceStateAsync(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)

Changes ServiceState property for a given service.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String vmScaleSetName)

Starts one or more virtual machines in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Starts one or more virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String vmScaleSetName)

Starts one or more virtual machines in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Starts one or more virtual machines in a VM scale set.

abstract SyncPoller<PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters)

Update a VM scale set.

abstract SyncPoller<PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch, Context context)

Update a VM scale set.

abstract PollerFlux<PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters)

Update a VM scale set.

abstract PollerFlux<PollResult<VirtualMachineScaleSetInner>,VirtualMachineScaleSetInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch)

Update a VM scale set.

abstract SyncPoller<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.

abstract SyncPoller<PollResult<Void>,Void> beginUpdateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Context context)

Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.

abstract PollerFlux<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.

abstract void convertToSinglePlacementGroup(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters)

Converts SinglePlacementGroup property to false for a existing virtual machine scale set.

abstract Mono<Void> convertToSinglePlacementGroupAsync(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters)

Converts SinglePlacementGroup property to false for a existing virtual machine scale set.

abstract Response<Void> convertToSinglePlacementGroupWithResponse(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters, Context context)

Converts SinglePlacementGroup property to false for a existing virtual machine scale set.

abstract Mono<Response<Void>> convertToSinglePlacementGroupWithResponseAsync(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters)

Converts SinglePlacementGroup property to false for a existing virtual machine scale set.

abstract VirtualMachineScaleSetInner createOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters)

Create or update a VM scale set.

abstract VirtualMachineScaleSetInner createOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch, Context context)

Create or update a VM scale set.

abstract Mono<VirtualMachineScaleSetInner> createOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters)

Create or update a VM scale set.

abstract Mono<VirtualMachineScaleSetInner> createOrUpdateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch)

Create or update a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch)

Create or update a VM scale set.

abstract void deallocate(String resourceGroupName, String vmScaleSetName)

Deallocates specific virtual machines in a VM scale set.

abstract void deallocate(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Deallocates specific virtual machines in a VM scale set.

abstract Mono<Void> deallocateAsync(String resourceGroupName, String vmScaleSetName)

Deallocates specific virtual machines in a VM scale set.

abstract Mono<Void> deallocateAsync(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Deallocates specific virtual machines in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> deallocateWithResponseAsync(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Deallocates specific virtual machines in a VM scale set.

abstract void delete(String resourceGroupName, String vmScaleSetName)

Deletes a VM scale set.

abstract void delete(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion, Context context)

Deletes a VM scale set.

abstract Mono<Void> deleteAsync(String resourceGroupName, String vmScaleSetName)

Deletes a VM scale set.

abstract Mono<Void> deleteAsync(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion)

Deletes a VM scale set.

abstract void deleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs)

Deletes virtual machines in a VM scale set.

abstract void deleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion, Context context)

Deletes virtual machines in a VM scale set.

abstract Mono<Void> deleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs)

Deletes virtual machines in a VM scale set.

abstract Mono<Void> deleteInstancesAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion)

Deletes virtual machines in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> deleteInstancesWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion)

Deletes virtual machines in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion)

Deletes a VM scale set.

abstract 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.

abstract 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.

abstract Response<RecoveryWalkResponseInner> forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponse(String resourceGroupName, String vmScaleSetName, int platformUpdateDomain, String zone, String placementGroupId, Context context)

Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.

abstract Mono<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.

abstract VirtualMachineScaleSetInner getByResourceGroup(String resourceGroupName, String vmScaleSetName)

Display information about a virtual machine scale set.

abstract Mono<VirtualMachineScaleSetInner> getByResourceGroupAsync(String resourceGroupName, String vmScaleSetName)

Display information about a virtual machine scale set.

abstract Response<VirtualMachineScaleSetInner> getByResourceGroupWithResponse(String resourceGroupName, String vmScaleSetName, ExpandTypesForGetVMScaleSets expand, Context context)

Display information about a virtual machine scale set.

abstract Mono<Response<VirtualMachineScaleSetInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vmScaleSetName, ExpandTypesForGetVMScaleSets expand)

Display information about a virtual machine scale set.

abstract VirtualMachineScaleSetInstanceViewInner getInstanceView(String resourceGroupName, String vmScaleSetName)

Gets the status of a VM scale set instance.

abstract Mono<VirtualMachineScaleSetInstanceViewInner> getInstanceViewAsync(String resourceGroupName, String vmScaleSetName)

Gets the status of a VM scale set instance.

abstract Response<VirtualMachineScaleSetInstanceViewInner> getInstanceViewWithResponse(String resourceGroupName, String vmScaleSetName, Context context)

Gets the status of a VM scale set instance.

abstract Mono<Response<VirtualMachineScaleSetInstanceViewInner>> getInstanceViewWithResponseAsync(String resourceGroupName, String vmScaleSetName)

Gets the status of a VM scale set instance.

abstract PagedIterable<UpgradeOperationHistoricalStatusInfoInner> getOSUpgradeHistory(String resourceGroupName, String vmScaleSetName)

Gets list of OS upgrades on a VM scale set instance.

abstract PagedIterable<UpgradeOperationHistoricalStatusInfoInner> getOSUpgradeHistory(String resourceGroupName, String vmScaleSetName, Context context)

Gets list of OS upgrades on a VM scale set instance.

abstract PagedFlux<UpgradeOperationHistoricalStatusInfoInner> getOSUpgradeHistoryAsync(String resourceGroupName, String vmScaleSetName)

Gets list of OS upgrades on a VM scale set instance.

abstract PagedIterable<VirtualMachineScaleSetInner> list()

Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group.

abstract PagedIterable<VirtualMachineScaleSetInner> list(Context context)

Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group.

abstract PagedFlux<VirtualMachineScaleSetInner> listAsync()

Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group.

abstract PagedIterable<VirtualMachineScaleSetInner> listByLocation(String location)

Gets all the VM scale sets under the specified subscription for the specified location.

abstract PagedIterable<VirtualMachineScaleSetInner> listByLocation(String location, Context context)

Gets all the VM scale sets under the specified subscription for the specified location.

abstract PagedFlux<VirtualMachineScaleSetInner> listByLocationAsync(String location)

Gets all the VM scale sets under the specified subscription for the specified location.

abstract PagedIterable<VirtualMachineScaleSetInner> listByResourceGroup(String resourceGroupName)

Gets a list of all VM scale sets under a resource group.

abstract PagedIterable<VirtualMachineScaleSetInner> listByResourceGroup(String resourceGroupName, Context context)

Gets a list of all VM scale sets under a resource group.

abstract PagedFlux<VirtualMachineScaleSetInner> listByResourceGroupAsync(String resourceGroupName)

Gets a list of all VM scale sets under a resource group.

abstract 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.

abstract PagedIterable<VirtualMachineScaleSetSkuInner> listSkus(String resourceGroupName, String vmScaleSetName, Context context)

Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.

abstract 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.

abstract void performMaintenance(String resourceGroupName, String vmScaleSetName)

Perform maintenance on one or more virtual machines in a VM scale set.

abstract void performMaintenance(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Perform maintenance on one or more virtual machines in a VM scale set.

abstract Mono<Void> performMaintenanceAsync(String resourceGroupName, String vmScaleSetName)

Perform maintenance on one or more virtual machines in a VM scale set.

abstract Mono<Void> performMaintenanceAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Perform maintenance on one or more virtual machines in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> performMaintenanceWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Perform maintenance on one or more virtual machines in a VM scale set.

abstract void powerOff(String resourceGroupName, String vmScaleSetName)

Power off (stop) one or more virtual machines in a VM scale set.

abstract void powerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Power off (stop) one or more virtual machines in a VM scale set.

abstract Mono<Void> powerOffAsync(String resourceGroupName, String vmScaleSetName)

Power off (stop) one or more virtual machines in a VM scale set.

abstract Mono<Void> powerOffAsync(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Power off (stop) one or more virtual machines in a VM scale set.

abstract Mono<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.

abstract void reapply(String resourceGroupName, String vmScaleSetName)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.

abstract void reapply(String resourceGroupName, String vmScaleSetName, Context context)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.

abstract Mono<Void> reapplyAsync(String resourceGroupName, String vmScaleSetName)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.

abstract Mono<Response<Flux<ByteBuffer>>> reapplyWithResponseAsync(String resourceGroupName, String vmScaleSetName)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.

abstract void redeploy(String resourceGroupName, String vmScaleSetName)

Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.

abstract void redeploy(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

abstract Mono<Void> redeployAsync(String resourceGroupName, String vmScaleSetName)

Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.

abstract 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.

abstract Mono<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.

abstract void reimage(String resourceGroupName, String vmScaleSetName)

Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state.

abstract void reimage(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput, 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.

abstract void reimageAll(String resourceGroupName, String vmScaleSetName)

Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.

abstract void reimageAll(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.

abstract Mono<Void> reimageAllAsync(String resourceGroupName, String vmScaleSetName)

Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set.

abstract 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.

abstract Mono<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.

abstract Mono<Void> reimageAsync(String resourceGroupName, String vmScaleSetName)

Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state.

abstract 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.

abstract Mono<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.

abstract void restart(String resourceGroupName, String vmScaleSetName)

Restarts one or more virtual machines in a VM scale set.

abstract void restart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Restarts one or more virtual machines in a VM scale set.

abstract Mono<Void> restartAsync(String resourceGroupName, String vmScaleSetName)

Restarts one or more virtual machines in a VM scale set.

abstract Mono<Void> restartAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Restarts one or more virtual machines in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Restarts one or more virtual machines in a VM scale set.

abstract void setOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)

Changes ServiceState property for a given service.

abstract void setOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters, Context context)

Changes ServiceState property for a given service.

abstract Mono<Void> setOrchestrationServiceStateAsync(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)

Changes ServiceState property for a given service.

abstract Mono<Response<Flux<ByteBuffer>>> setOrchestrationServiceStateWithResponseAsync(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)

Changes ServiceState property for a given service.

abstract void start(String resourceGroupName, String vmScaleSetName)

Starts one or more virtual machines in a VM scale set.

abstract void start(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, Context context)

Starts one or more virtual machines in a VM scale set.

abstract Mono<Void> startAsync(String resourceGroupName, String vmScaleSetName)

Starts one or more virtual machines in a VM scale set.

abstract Mono<Void> startAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Starts one or more virtual machines in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs)

Starts one or more virtual machines in a VM scale set.

abstract VirtualMachineScaleSetInner update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters)

Update a VM scale set.

abstract VirtualMachineScaleSetInner update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch, Context context)

Update a VM scale set.

abstract Mono<VirtualMachineScaleSetInner> updateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters)

Update a VM scale set.

abstract Mono<VirtualMachineScaleSetInner> updateAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch)

Update a VM scale set.

abstract 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.

abstract void updateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Context context)

Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.

abstract 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.

abstract Mono<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.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch)

Update a VM scale set.

Method Details

approveRollingUpgrade

public abstract void approveRollingUpgrade(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.

approveRollingUpgrade

public abstract void approveRollingUpgrade(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

approveRollingUpgradeAsync

public abstract Mono approveRollingUpgradeAsync(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:

A Mono that completes when a successful response is received.

approveRollingUpgradeAsync

public abstract Mono 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 Mono that completes when a successful response is received.

approveRollingUpgradeWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

beginApproveRollingUpgrade

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginApproveRollingUpgrade

public abstract SyncPoller,Void> beginApproveRollingUpgrade(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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 SyncPoller<T,U> for polling of long-running operation.

beginApproveRollingUpgradeAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginApproveRollingUpgradeAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginCreateOrUpdate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of describes a Virtual Machine Scale Set.

beginCreateOrUpdate

public abstract SyncPoller,VirtualMachineScaleSetInner> beginCreateOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch, 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 SyncPoller<T,U> for polling of describes a Virtual Machine Scale Set.

beginCreateOrUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of describes a Virtual Machine Scale Set.

beginCreateOrUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of describes a Virtual Machine Scale Set.

beginDeallocate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginDeallocate

public abstract SyncPoller,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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 SyncPoller<T,U> for polling of long-running operation.

beginDeallocateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginDeallocateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion, 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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginDeleteInstances

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteInstances

public abstract SyncPoller,Void> beginDeleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion, 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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteInstancesAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginDeleteInstancesAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginPerformMaintenance

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginPerformMaintenance

public abstract SyncPoller,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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 SyncPoller<T,U> for polling of long-running operation.

beginPerformMaintenanceAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginPerformMaintenanceAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginPowerOff

public abstract SyncPoller,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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginPowerOff

public abstract SyncPoller,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

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 SyncPoller<T,U> for polling of long-running operation.

beginPowerOffAsync

public abstract PollerFlux,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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginPowerOffAsync

public abstract PollerFlux,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.

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 PollerFlux<T,U> for polling of long-running operation.

beginReapply

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginReapply

public abstract SyncPoller,Void> beginReapply(String resourceGroupName, String vmScaleSetName, 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 SyncPoller<T,U> for polling of long-running operation.

beginReapplyAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginRedeploy

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginRedeploy

public abstract SyncPoller,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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 SyncPoller<T,U> for polling of long-running operation.

beginRedeployAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginRedeployAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginReimage

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginReimage

public abstract SyncPoller,Void> beginReimage(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput, 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 SyncPoller<T,U> for polling of long-running operation.

beginReimageAll

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginReimageAll

public abstract SyncPoller,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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 SyncPoller<T,U> for polling of long-running operation.

beginReimageAllAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginReimageAllAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginReimageAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginReimageAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginRestart

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginRestart

public abstract SyncPoller,Void> beginRestart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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 SyncPoller<T,U> for polling of long-running operation.

beginRestartAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginRestartAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginSetOrchestrationServiceState

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginSetOrchestrationServiceState

public abstract SyncPoller,Void> beginSetOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters, 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 SyncPoller<T,U> for polling of long-running operation.

beginSetOrchestrationServiceStateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller,Void> beginStart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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 SyncPoller<T,U> for polling of long-running operation.

beginStartAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginStartAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of describes a Virtual Machine Scale Set.

beginUpdate

public abstract SyncPoller,VirtualMachineScaleSetInner> beginUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch, 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 SyncPoller<T,U> for polling of describes a Virtual Machine Scale Set.

beginUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of describes a Virtual Machine Scale Set.

beginUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of describes a Virtual Machine Scale Set.

beginUpdateInstances

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginUpdateInstances

public abstract SyncPoller,Void> beginUpdateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, 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 SyncPoller<T,U> for polling of long-running operation.

beginUpdateInstancesAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

convertToSinglePlacementGroup

public abstract 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.

convertToSinglePlacementGroupAsync

public abstract Mono 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 Mono that completes when a successful response is received.

convertToSinglePlacementGroupWithResponse

public abstract Response convertToSinglePlacementGroupWithResponse(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters, 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:

convertToSinglePlacementGroupWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

createOrUpdate

public abstract 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.

createOrUpdate

public abstract VirtualMachineScaleSetInner createOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters, String ifMatch, String ifNoneMatch, 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.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

deallocate

public abstract void deallocate(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.

deallocate

public abstract void deallocate(String resourceGroupName, String vmScaleSetName, Boolean hibernate, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

deallocateAsync

public abstract Mono deallocateAsync(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:

A Mono that completes when a successful response is received.

deallocateAsync

public abstract Mono 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 Mono that completes when a successful response is received.

deallocateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

delete

public abstract void delete(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.

delete

public abstract void delete(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion, 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.

deleteAsync

public abstract Mono deleteAsync(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:

A Mono that completes when a successful response is received.

deleteAsync

public abstract Mono deleteAsync(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:

A Mono that completes when a successful response is received.

deleteInstances

public abstract 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.

deleteInstances

public abstract void deleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion, 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.

deleteInstancesAsync

public abstract Mono 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 Mono that completes when a successful response is received.

deleteInstancesAsync

public abstract Mono 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 Mono that completes when a successful response is received.

deleteInstancesWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

deleteWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

forceRecoveryServiceFabricPlatformUpdateDomainWalk

public abstract 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.

forceRecoveryServiceFabricPlatformUpdateDomainWalkAsync

public abstract Mono 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.

forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponse

public abstract Response forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponse(String resourceGroupName, String vmScaleSetName, int platformUpdateDomain, String zone, String placementGroupId, 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<T>.

forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

getByResourceGroup

public abstract VirtualMachineScaleSetInner getByResourceGroup(String resourceGroupName, String vmScaleSetName)

Display information about a virtual machine scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.

Returns:

describes a Virtual Machine Scale Set.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String vmScaleSetName)

Display information about a virtual machine scale set.

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.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String vmScaleSetName, ExpandTypesForGetVMScaleSets expand, 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<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

getInstanceView

public abstract 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.

getInstanceViewAsync

public abstract Mono 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.

getInstanceViewWithResponse

public abstract Response getInstanceViewWithResponse(String resourceGroupName, String vmScaleSetName, 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<T>.

getInstanceViewWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

getOSUpgradeHistory

public abstract PagedIterable 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<T>.

getOSUpgradeHistory

public abstract PagedIterable getOSUpgradeHistory(String resourceGroupName, String vmScaleSetName, 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<T>.

getOSUpgradeHistoryAsync

public abstract PagedFlux 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<T>.

list

public abstract PagedIterable 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.

Returns:

a list of all VM Scale Sets in the subscription, regardless of the associated resource group as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(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<T>.

listAsync

public abstract PagedFlux 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.

Returns:

a list of all VM Scale Sets in the subscription, regardless of the associated resource group as paginated response with PagedFlux<T>.

listByLocation

public abstract PagedIterable listByLocation(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 PagedIterable<T>.

listByLocation

public abstract PagedIterable listByLocation(String location, 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<T>.

listByLocationAsync

public abstract PagedFlux 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<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Gets a list of all VM scale sets under a resource group.

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<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, 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<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Gets a list of all VM scale sets under a resource group.

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<T>.

listSkus

public abstract PagedIterable 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<T>.

listSkus

public abstract PagedIterable listSkus(String resourceGroupName, String vmScaleSetName, 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<T>.

listSkusAsync

public abstract PagedFlux 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<T>.

performMaintenance

public abstract void performMaintenance(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.

performMaintenance

public abstract void performMaintenance(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

performMaintenanceAsync

public abstract Mono performMaintenanceAsync(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:

A Mono that completes when a successful response is received.

performMaintenanceAsync

public abstract Mono 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 Mono that completes when a successful response is received.

performMaintenanceWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

powerOff

public abstract void powerOff(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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.

powerOff

public abstract void powerOff(String resourceGroupName, String vmScaleSetName, Boolean skipShutdown, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

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.

powerOffAsync

public abstract Mono powerOffAsync(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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.

Returns:

A Mono that completes when a successful response is received.

powerOffAsync

public abstract Mono 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.

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 Mono that completes when a successful response is received.

powerOffWithResponseAsync

public abstract Mono>> 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.

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 Response<T> on successful completion of Mono.

reapply

public abstract void reapply(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.

reapply

public abstract void reapply(String resourceGroupName, String vmScaleSetName, 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.

reapplyAsync

public abstract Mono reapplyAsync(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:

A Mono that completes when a successful response is received.

reapplyWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

redeploy

public abstract void redeploy(String resourceGroupName, String vmScaleSetName)

Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.

redeploy

public abstract void redeploy(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

redeployAsync

public abstract Mono 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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.

Returns:

A Mono that completes when a successful response is received.

redeployAsync

public abstract Mono 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 Mono that completes when a successful response is received.

redeployWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

reimage

public abstract void reimage(String resourceGroupName, String vmScaleSetName)

Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.

reimage

public abstract void reimage(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput, 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.

reimageAll

public abstract void reimageAll(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.

reimageAll

public abstract void reimageAll(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

reimageAllAsync

public abstract Mono reimageAllAsync(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:

A Mono that completes when a successful response is received.

reimageAllAsync

public abstract Mono 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 Mono that completes when a successful response is received.

reimageAllWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

reimageAsync

public abstract Mono 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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.

Returns:

A Mono that completes when a successful response is received.

reimageAsync

public abstract Mono 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 Mono that completes when a successful response is received.

reimageWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

restart

public abstract void restart(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.

restart

public abstract void restart(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

restartAsync

public abstract Mono restartAsync(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:

A Mono that completes when a successful response is received.

restartAsync

public abstract Mono 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 Mono that completes when a successful response is received.

restartWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

setOrchestrationServiceState

public abstract 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.

setOrchestrationServiceState

public abstract void setOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters, 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.

setOrchestrationServiceStateAsync

public abstract Mono 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 Mono that completes when a successful response is received.

setOrchestrationServiceStateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

start

public abstract void start(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.

start

public abstract void start(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs, 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.

startAsync

public abstract Mono startAsync(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:

A Mono that completes when a successful response is received.

startAsync

public abstract Mono 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 Mono that completes when a successful response is received.

startWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

update

public abstract 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.

update

public abstract VirtualMachineScaleSetInner update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch, 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.

updateAsync

public abstract Mono 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.

updateAsync

public abstract Mono 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.

updateInstances

public abstract 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.

updateInstances

public abstract void updateInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, 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.

updateInstancesAsync

public abstract Mono 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 Mono that completes when a successful response is received.

updateInstancesWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

Applies to