VirtualMachineScaleSetVMs Interface
Implements
public interface VirtualMachineScaleSetVMs
extends SupportsListing<VirtualMachineScaleSetVM>
Entry point to virtual machine scale set instance management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract void |
deallocateInstances(Collection<String> instanceIds)
Shuts down the virtual machine instances and releases the associated compute resources. |
abstract Mono<Void> |
deallocateInstancesAsync(Collection<String> instanceIds)
Shuts down the virtual machine instances and releases the associated compute resources. |
abstract void |
deleteInstances(String[] instanceIds)
Deletes the specified virtual machine instances from the scale set. |
abstract void |
deleteInstances(Collection<String> instanceIds, boolean forceDeletion)
Deletes the specified virtual machine instances from the scale set. |
abstract Mono<Void> |
deleteInstancesAsync(String[] instanceIds)
Deletes the specified virtual machine instances from the scale set. |
abstract Mono<Void> |
deleteInstancesAsync(Collection<String> instanceIds)
Deletes the specified virtual machine instances from the scale set. |
abstract Mono<Void> |
deleteInstancesAsync(Collection<String> instanceIds, boolean forceDeletion)
Deletes the specified virtual machine instances from the scale set. |
abstract
Virtual |
getInstance(String instanceId)
Get the specified virtual machine instance from the scale set. |
abstract
Mono<Virtual |
getInstanceAsync(String instanceId)
Get the specified virtual machine instance from the scale set. |
abstract
Paged |
list(String filter, VirtualMachineScaleSetVMExpandType expand)
Lists all the resources of the specified type in the currently selected subscription. |
abstract
Paged |
listAsync(String filter, VirtualMachineScaleSetVMExpandType expand)
Lists all the resources of the specified type in the currently selected subscription. |
abstract void |
powerOffInstances(Collection<String> instanceIds, boolean skipShutdown)
Stops the virtual machine instances. |
abstract Mono<Void> |
powerOffInstancesAsync(Collection<String> instanceIds, boolean skipShutdown)
Stops the virtual machine instances. |
abstract void |
redeployInstances(Collection<String> instanceIds)
Shuts down the virtual machine instances, move them to new node, and powers them back on. |
abstract Mono<Void> |
redeployInstancesAsync(Collection<String> instanceIds)
Shuts down the virtual machine instances, move them to new node, and powers them back on. |
abstract void |
restartInstances(Collection<String> instanceIds)
Restarts the virtual machine instances. |
abstract Mono<Void> |
restartInstancesAsync(Collection<String> instanceIds)
Restarts the virtual machine instances. |
abstract void |
simulateEviction(String instanceId)
Simulates the eviction of the specified spot virtual machine in the scale set. |
abstract Mono<Void> |
simulateEvictionAsync(String instanceId)
Simulates the eviction of the specified spot virtual machine in the scale set asynchronously. |
abstract void |
startInstances(Collection<String> instanceIds)
Starts the virtual machine instances. |
abstract Mono<Void> |
startInstancesAsync(Collection<String> instanceIds)
Starts the virtual machine instances. |
abstract void |
updateInstances(String[] instanceIds)
Updates the specified virtual machine instances from the scale set. |
abstract Mono<Void> |
updateInstancesAsync(String[] instanceIds)
Updates the specified virtual machine instances from the scale set. |
abstract Mono<Void> |
updateInstancesAsync(Collection<String> instanceIds)
Updates the specified virtual machine instances from the scale set. |
Method Details
deallocateInstances
public abstract void deallocateInstances(Collection
Shuts down the virtual machine instances and releases the associated compute resources.
Parameters:
deallocateInstancesAsync
public abstract Mono
Shuts down the virtual machine instances and releases the associated compute resources.
Parameters:
Returns:
deleteInstances
public abstract void deleteInstances(String[] instanceIds)
Deletes the specified virtual machine instances from the scale set.
Parameters:
deleteInstances
public abstract void deleteInstances(Collection
Deletes the specified virtual machine instances from the scale set.
Parameters:
deleteInstancesAsync
public abstract Mono
Deletes the specified virtual machine instances from the scale set.
Parameters:
Returns:
deleteInstancesAsync
public abstract Mono
Deletes the specified virtual machine instances from the scale set.
Parameters:
Returns:
deleteInstancesAsync
public abstract Mono
Deletes the specified virtual machine instances from the scale set.
Parameters:
Returns:
getInstance
public abstract VirtualMachineScaleSetVM getInstance(String instanceId)
Get the specified virtual machine instance from the scale set.
Parameters:
Returns:
getInstanceAsync
public abstract Mono
Get the specified virtual machine instance from the scale set.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all the resources of the specified type in the currently selected subscription.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Lists all the resources of the specified type in the currently selected subscription.
Parameters:
Returns:
powerOffInstances
public abstract void powerOffInstances(Collection
Stops the virtual machine instances.
Parameters:
powerOffInstancesAsync
public abstract Mono
Stops the virtual machine instances.
Parameters:
Returns:
redeployInstances
public abstract void redeployInstances(Collection
Shuts down the virtual machine instances, move them to new node, and powers them back on.
Parameters:
redeployInstancesAsync
public abstract Mono
Shuts down the virtual machine instances, move them to new node, and powers them back on.
Parameters:
Returns:
restartInstances
public abstract void restartInstances(Collection
Restarts the virtual machine instances.
Parameters:
restartInstancesAsync
public abstract Mono
Restarts the virtual machine instances.
Parameters:
Returns:
simulateEviction
public abstract void simulateEviction(String instanceId)
Simulates the eviction of the specified spot virtual machine in the scale set. The eviction will occur with 30 minutes after calling this API.
Parameters:
simulateEvictionAsync
public abstract Mono
Simulates the eviction of the specified spot virtual machine in the scale set asynchronously. The eviction will occur with 30 minutes after calling this API.
Parameters:
Returns:
startInstances
public abstract void startInstances(Collection
Starts the virtual machine instances.
Parameters:
startInstancesAsync
public abstract Mono
Starts the virtual machine instances.
Parameters:
Returns:
updateInstances
public abstract void updateInstances(String[] instanceIds)
Updates the specified virtual machine instances from the scale set.
Parameters:
updateInstancesAsync
public abstract Mono
Updates the specified virtual machine instances from the scale set.
Parameters:
Returns:
updateInstancesAsync
public abstract Mono
Updates the specified virtual machine instances from the scale set.
Parameters:
Returns:
Applies to
Azure SDK for Java