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
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:
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:
approveRollingUpgradeAsync
public abstract Mono
Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.
Parameters:
Returns:
approveRollingUpgradeAsync
public abstract Mono
Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.
Parameters:
Returns:
approveRollingUpgradeWithResponseAsync
public abstract Mono
Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.
Parameters:
Returns:
beginApproveRollingUpgrade
public abstract SyncPoller
Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.
Parameters:
Returns:
beginApproveRollingUpgrade
public abstract SyncPoller
Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.
Parameters:
Returns:
beginApproveRollingUpgradeAsync
public abstract PollerFlux
Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.
Parameters:
Returns:
beginApproveRollingUpgradeAsync
public abstract PollerFlux
Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller
Create or update a VM scale set.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller
Create or update a VM scale set.
Parameters:
Returns:
beginCreateOrUpdateAsync
public abstract PollerFlux
Create or update a VM scale set.
Parameters:
Returns:
beginCreateOrUpdateAsync
public abstract PollerFlux
Create or update a VM scale set.
Parameters:
Returns:
beginDeallocate
public abstract SyncPoller
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:
Returns:
beginDeallocate
public abstract SyncPoller
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:
Returns:
beginDeallocateAsync
public abstract PollerFlux
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:
Returns:
beginDeallocateAsync
public abstract PollerFlux
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:
Returns:
beginDelete
public abstract SyncPoller
Deletes a VM scale set.
Parameters:
Returns:
beginDelete
public abstract SyncPoller
Deletes a VM scale set.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux
Deletes a VM scale set.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux
Deletes a VM scale set.
Parameters:
Returns:
beginDeleteInstances
public abstract SyncPoller
Deletes virtual machines in a VM scale set.
Parameters:
Returns:
beginDeleteInstances
public abstract SyncPoller
Deletes virtual machines in a VM scale set.
Parameters:
Returns:
beginDeleteInstancesAsync
public abstract PollerFlux
Deletes virtual machines in a VM scale set.
Parameters:
Returns:
beginDeleteInstancesAsync
public abstract PollerFlux
Deletes virtual machines in a VM scale set.
Parameters:
Returns:
beginPerformMaintenance
public abstract SyncPoller
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:
Returns:
beginPerformMaintenance
public abstract SyncPoller
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:
Returns:
beginPerformMaintenanceAsync
public abstract PollerFlux
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:
Returns:
beginPerformMaintenanceAsync
public abstract PollerFlux
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:
Returns:
beginPowerOff
public abstract SyncPoller
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:
Returns:
beginPowerOff
public abstract SyncPoller
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:
Returns:
beginPowerOffAsync
public abstract PollerFlux
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:
Returns:
beginPowerOffAsync
public abstract PollerFlux
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:
Returns:
beginReapply
public abstract SyncPoller
Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
Parameters:
Returns:
beginReapply
public abstract SyncPoller
Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
Parameters:
Returns:
beginReapplyAsync
public abstract PollerFlux
Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
Parameters:
Returns:
beginRedeploy
public abstract SyncPoller
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.
Parameters:
Returns:
beginRedeploy
public abstract SyncPoller
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.
Parameters:
Returns:
beginRedeployAsync
public abstract PollerFlux
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.
Parameters:
Returns:
beginRedeployAsync
public abstract PollerFlux
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.
Parameters:
Returns:
beginReimage
public abstract SyncPoller
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:
Returns:
beginReimage
public abstract SyncPoller
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:
Returns:
beginReimageAll
public abstract SyncPoller
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:
Returns:
beginReimageAll
public abstract SyncPoller
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:
Returns:
beginReimageAllAsync
public abstract PollerFlux
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:
Returns:
beginReimageAllAsync
public abstract PollerFlux
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:
Returns:
beginReimageAsync
public abstract PollerFlux
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:
Returns:
beginReimageAsync
public abstract PollerFlux
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:
Returns:
beginRestart
public abstract SyncPoller
Restarts one or more virtual machines in a VM scale set.
Parameters:
Returns:
beginRestart
public abstract SyncPoller
Restarts one or more virtual machines in a VM scale set.
Parameters:
Returns:
beginRestartAsync
public abstract PollerFlux
Restarts one or more virtual machines in a VM scale set.
Parameters:
Returns:
beginRestartAsync
public abstract PollerFlux
Restarts one or more virtual machines in a VM scale set.
Parameters:
Returns:
beginSetOrchestrationServiceState
public abstract SyncPoller
Changes ServiceState property for a given service.
Parameters:
Returns:
beginSetOrchestrationServiceState
public abstract SyncPoller
Changes ServiceState property for a given service.
Parameters:
Returns:
beginSetOrchestrationServiceStateAsync
public abstract PollerFlux
Changes ServiceState property for a given service.
Parameters:
Returns:
beginStart
public abstract SyncPoller
Starts one or more virtual machines in a VM scale set.
Parameters:
Returns:
beginStart
public abstract SyncPoller
Starts one or more virtual machines in a VM scale set.
Parameters:
Returns:
beginStartAsync
public abstract PollerFlux
Starts one or more virtual machines in a VM scale set.
Parameters:
Returns:
beginStartAsync
public abstract PollerFlux
Starts one or more virtual machines in a VM scale set.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller
Update a VM scale set.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller
Update a VM scale set.
Parameters:
Returns:
beginUpdateAsync
public abstract PollerFlux
Update a VM scale set.
Parameters:
Returns:
beginUpdateAsync
public abstract PollerFlux
Update a VM scale set.
Parameters:
Returns:
beginUpdateInstances
public abstract SyncPoller
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
Parameters:
Returns:
beginUpdateInstances
public abstract SyncPoller
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
Parameters:
Returns:
beginUpdateInstancesAsync
public abstract PollerFlux
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
Parameters:
Returns:
convertToSinglePlacementGroup
public abstract void convertToSinglePlacementGroup(String resourceGroupName, String vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters)
Converts SinglePlacementGroup property to false for a existing virtual machine scale set.
Parameters:
convertToSinglePlacementGroupAsync
public abstract Mono
Converts SinglePlacementGroup property to false for a existing virtual machine scale set.
Parameters:
Returns:
convertToSinglePlacementGroupWithResponse
public abstract Response
Converts SinglePlacementGroup property to false for a existing virtual machine scale set.
Parameters:
Returns:
convertToSinglePlacementGroupWithResponseAsync
public abstract Mono
Converts SinglePlacementGroup property to false for a existing virtual machine scale set.
Parameters:
Returns:
createOrUpdate
public abstract VirtualMachineScaleSetInner createOrUpdate(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetInner parameters)
Create or update a VM scale set.
Parameters:
Returns:
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:
Returns:
createOrUpdateAsync
public abstract Mono
Create or update a VM scale set.
Parameters:
Returns:
createOrUpdateAsync
public abstract Mono
Create or update a VM scale set.
Parameters:
Returns:
createOrUpdateWithResponseAsync
public abstract Mono
Create or update a VM scale set.
Parameters:
Returns:
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:
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:
deallocateAsync
public abstract Mono
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:
Returns:
deallocateAsync
public abstract Mono
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:
Returns:
deallocateWithResponseAsync
public abstract Mono
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:
Returns:
delete
public abstract void delete(String resourceGroupName, String vmScaleSetName)
Deletes a VM scale set.
Parameters:
delete
public abstract void delete(String resourceGroupName, String vmScaleSetName, Boolean forceDeletion, Context context)
Deletes a VM scale set.
Parameters:
deleteAsync
public abstract Mono
Deletes a VM scale set.
Parameters:
Returns:
deleteAsync
public abstract Mono
Deletes a VM scale set.
Parameters:
Returns:
deleteInstances
public abstract void deleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs)
Deletes virtual machines in a VM scale set.
Parameters:
deleteInstances
public abstract void deleteInstances(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, Boolean forceDeletion, Context context)
Deletes virtual machines in a VM scale set.
Parameters:
deleteInstancesAsync
public abstract Mono
Deletes virtual machines in a VM scale set.
Parameters:
Returns:
deleteInstancesAsync
public abstract Mono
Deletes virtual machines in a VM scale set.
Parameters:
Returns:
deleteInstancesWithResponseAsync
public abstract Mono
Deletes virtual machines in a VM scale set.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono
Deletes a VM scale set.
Parameters:
Returns:
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:
Returns:
forceRecoveryServiceFabricPlatformUpdateDomainWalkAsync
public abstract Mono
Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.
Parameters:
Returns:
forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponse
public abstract Response
Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.
Parameters:
Returns:
forceRecoveryServiceFabricPlatformUpdateDomainWalkWithResponseAsync
public abstract Mono
Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.
Parameters:
Returns:
getByResourceGroup
public abstract VirtualMachineScaleSetInner getByResourceGroup(String resourceGroupName, String vmScaleSetName)
Display information about a virtual machine scale set.
Parameters:
Returns:
getByResourceGroupAsync
public abstract Mono
Display information about a virtual machine scale set.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response
Display information about a virtual machine scale set.
Parameters:
Returns:
getByResourceGroupWithResponseAsync
public abstract Mono
Display information about a virtual machine scale set.
Parameters:
Returns:
getInstanceView
public abstract VirtualMachineScaleSetInstanceViewInner getInstanceView(String resourceGroupName, String vmScaleSetName)
Gets the status of a VM scale set instance.
Parameters:
Returns:
getInstanceViewAsync
public abstract Mono
Gets the status of a VM scale set instance.
Parameters:
Returns:
getInstanceViewWithResponse
public abstract Response
Gets the status of a VM scale set instance.
Parameters:
Returns:
getInstanceViewWithResponseAsync
public abstract Mono
Gets the status of a VM scale set instance.
Parameters:
Returns:
getOSUpgradeHistory
public abstract PagedIterable
Gets list of OS upgrades on a VM scale set instance.
Parameters:
Returns:
getOSUpgradeHistory
public abstract PagedIterable
Gets list of OS upgrades on a VM scale set instance.
Parameters:
Returns:
getOSUpgradeHistoryAsync
public abstract PagedFlux
Gets list of OS upgrades on a VM scale set instance.
Parameters:
Returns:
list
public abstract PagedIterable
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:
list
public abstract PagedIterable
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:
Returns:
listAsync
public abstract PagedFlux
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:
listByLocation
public abstract PagedIterable
Gets all the VM scale sets under the specified subscription for the specified location.
Parameters:
Returns:
listByLocation
public abstract PagedIterable
Gets all the VM scale sets under the specified subscription for the specified location.
Parameters:
Returns:
listByLocationAsync
public abstract PagedFlux
Gets all the VM scale sets under the specified subscription for the specified location.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Gets a list of all VM scale sets under a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Gets a list of all VM scale sets under a resource group.
Parameters:
Returns:
listByResourceGroupAsync
public abstract PagedFlux
Gets a list of all VM scale sets under a resource group.
Parameters:
Returns:
listSkus
public abstract PagedIterable
Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.
Parameters:
Returns:
listSkus
public abstract PagedIterable
Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.
Parameters:
Returns:
listSkusAsync
public abstract PagedFlux
Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.
Parameters:
Returns:
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:
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:
performMaintenanceAsync
public abstract Mono
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:
Returns:
performMaintenanceAsync
public abstract Mono
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:
Returns:
performMaintenanceWithResponseAsync
public abstract Mono
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:
Returns:
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:
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:
powerOffAsync
public abstract Mono
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:
Returns:
powerOffAsync
public abstract Mono
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:
Returns:
powerOffWithResponseAsync
public abstract Mono
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:
Returns:
reapply
public abstract void reapply(String resourceGroupName, String vmScaleSetName)
Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
Parameters:
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:
reapplyAsync
public abstract Mono
Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
Parameters:
Returns:
reapplyWithResponseAsync
public abstract Mono
Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances.
Parameters:
Returns:
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:
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:
redeployAsync
public abstract Mono
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.
Parameters:
Returns:
redeployAsync
public abstract Mono
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.
Parameters:
Returns:
redeployWithResponseAsync
public abstract Mono
Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.
Parameters:
Returns:
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:
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:
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:
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:
reimageAllAsync
public abstract Mono
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:
Returns:
reimageAllAsync
public abstract Mono
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:
Returns:
reimageAllWithResponseAsync
public abstract Mono
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:
Returns:
reimageAsync
public abstract Mono
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:
Returns:
reimageAsync
public abstract Mono
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:
Returns:
reimageWithResponseAsync
public abstract Mono
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:
Returns:
restart
public abstract void restart(String resourceGroupName, String vmScaleSetName)
Restarts one or more virtual machines in a VM scale set.
Parameters:
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:
restartAsync
public abstract Mono
Restarts one or more virtual machines in a VM scale set.
Parameters:
Returns:
restartAsync
public abstract Mono
Restarts one or more virtual machines in a VM scale set.
Parameters:
Returns:
restartWithResponseAsync
public abstract Mono
Restarts one or more virtual machines in a VM scale set.
Parameters:
Returns:
setOrchestrationServiceState
public abstract void setOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters)
Changes ServiceState property for a given service.
Parameters:
setOrchestrationServiceState
public abstract void setOrchestrationServiceState(String resourceGroupName, String vmScaleSetName, OrchestrationServiceStateInput parameters, Context context)
Changes ServiceState property for a given service.
Parameters:
setOrchestrationServiceStateAsync
public abstract Mono
Changes ServiceState property for a given service.
Parameters:
Returns:
setOrchestrationServiceStateWithResponseAsync
public abstract Mono
Changes ServiceState property for a given service.
Parameters:
Returns:
start
public abstract void start(String resourceGroupName, String vmScaleSetName)
Starts one or more virtual machines in a VM scale set.
Parameters:
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:
startAsync
public abstract Mono
Starts one or more virtual machines in a VM scale set.
Parameters:
Returns:
startAsync
public abstract Mono
Starts one or more virtual machines in a VM scale set.
Parameters:
Returns:
startWithResponseAsync
public abstract Mono
Starts one or more virtual machines in a VM scale set.
Parameters:
Returns:
update
public abstract VirtualMachineScaleSetInner update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters)
Update a VM scale set.
Parameters:
Returns:
update
public abstract VirtualMachineScaleSetInner update(String resourceGroupName, String vmScaleSetName, VirtualMachineScaleSetUpdate parameters, String ifMatch, String ifNoneMatch, Context context)
Update a VM scale set.
Parameters:
Returns:
updateAsync
public abstract Mono
Update a VM scale set.
Parameters:
Returns:
updateAsync
public abstract Mono
Update a VM scale set.
Parameters:
Returns:
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:
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:
updateInstancesAsync
public abstract Mono
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
Parameters:
Returns:
updateInstancesWithResponseAsync
public abstract Mono
Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
Parameters:
Returns:
updateWithResponseAsync
public abstract Mono
Update a VM scale set.
Parameters:
Returns:
Applies to
Azure SDK for Java