Interface VirtualMachineScaleSetVMs
- All Superinterfaces:
HasInner<com.microsoft.azure.management.compute.implementation.VirtualMachineScaleSetVMsInner>,SupportsListing<VirtualMachineScaleSetVM>
public interface VirtualMachineScaleSetVMs
extends SupportsListing<VirtualMachineScaleSetVM>, HasInner<com.microsoft.azure.management.compute.implementation.VirtualMachineScaleSetVMsInner>
Entry point to virtual machine scale set instance management API.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteInstances(String... instanceIds) Deletes the specified virtual machine instances from the scale set.voiddeleteInstances(Collection<String> instanceIds, boolean forceDeletion) Deletes the specified virtual machine instances from the scale set.rx.CompletabledeleteInstancesAsync(String... instanceIds) Deletes the specified virtual machine instances from the scale set.rx.CompletabledeleteInstancesAsync(Collection<String> instanceIds) Deletes the specified virtual machine instances from the scale set.rx.CompletabledeleteInstancesAsync(Collection<String> instanceIds, boolean forceDeletion) Deletes the specified virtual machine instances from the scale set.getInstance(String instanceId) Get the specified virtual machine instance from the scale set.rx.Observable<VirtualMachineScaleSetVM>getInstanceAsync(String instanceId) Get the specified virtual machine instance from the scale set.voidsimulateEviction(String instanceId) Simulates the eviction of the specified spot virtual machine in the scale set.rx.CompletablesimulateEvictionAsync(String instanceId) Simulates the eviction of the specified spot virtual machine in the scale set asynchronously.voidupdateInstances(String... instanceIds) Updates the specified virtual machine instances from the scale set.rx.CompletableupdateInstancesAsync(String... instanceIds) Updates the specified virtual machine instances from the scale set.rx.CompletableupdateInstancesAsync(Collection<String> instanceIds) Updates the specified virtual machine instances from the scale set.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing
list, listAsync
-
Method Details
-
deleteInstancesAsync
Deletes the specified virtual machine instances from the scale set.- Parameters:
instanceIds- instance IDs of the virtual machine scale set instances to be deleted- Returns:
- a representation of the deferred computation of this call.
-
deleteInstancesAsync
Deletes the specified virtual machine instances from the scale set.- Parameters:
instanceIds- instance IDs of the virtual machine scale set instances to be deleted- Returns:
- a representation of the deferred computation of this call.
-
deleteInstances
Deletes the specified virtual machine instances from the scale set.- Parameters:
instanceIds- instance IDs of the virtual machine scale set instances to be deleted
-
deleteInstancesAsync
Deletes the specified virtual machine instances from the scale set.- Parameters:
instanceIds- instance IDs of the virtual machine scale set instances to be deletedforceDeletion- force delete without graceful shutdown- Returns:
- a representation of the deferred computation of this call.
-
deleteInstances
Deletes the specified virtual machine instances from the scale set.- Parameters:
instanceIds- instance IDs of the virtual machine scale set instances to be deletedforceDeletion- force delete without graceful shutdown
-
getInstance
Get the specified virtual machine instance from the scale set.- Parameters:
instanceId- instance ID of the virtual machine scale set instance to be fetched- Returns:
- the virtual machine scale set instance.
-
getInstanceAsync
Get the specified virtual machine instance from the scale set.- Parameters:
instanceId- instance ID of the virtual machine scale set instance to be fetched.- Returns:
- the virtual machine scale set instance.
-
updateInstancesAsync
Updates the specified virtual machine instances from the scale set.- Parameters:
instanceIds- instance IDs of the virtual machine scale set instances to be updated- Returns:
- a representation of the deferred computation of this call.
-
updateInstancesAsync
Updates the specified virtual machine instances from the scale set.- Parameters:
instanceIds- instance IDs of the virtual machine scale set instances to be updated- Returns:
- a representation of the deferred computation of this call.
-
updateInstances
Updates the specified virtual machine instances from the scale set.- Parameters:
instanceIds- instance IDs of the virtual machine scale set instances to be updated
-
simulateEvictionAsync
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:
instanceId- The instance ID of the virtual machine.- Returns:
- a representation of the deferred computation of this call
-
simulateEviction
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:
instanceId- The instance ID of the virtual machine.
-