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 TypeMethodDescriptionvoid
deleteInstances
(String... instanceIds) Deletes the specified virtual machine instances from the scale set.void
deleteInstances
(Collection<String> instanceIds, boolean forceDeletion) Deletes the specified virtual machine instances from the scale set.rx.Completable
deleteInstancesAsync
(String... instanceIds) Deletes the specified virtual machine instances from the scale set.rx.Completable
deleteInstancesAsync
(Collection<String> instanceIds) Deletes the specified virtual machine instances from the scale set.rx.Completable
deleteInstancesAsync
(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.void
simulateEviction
(String instanceId) Simulates the eviction of the specified spot virtual machine in the scale set.rx.Completable
simulateEvictionAsync
(String instanceId) Simulates the eviction of the specified spot virtual machine in the scale set asynchronously.void
updateInstances
(String... instanceIds) Updates the specified virtual machine instances from the scale set.rx.Completable
updateInstancesAsync
(String... instanceIds) Updates the specified virtual machine instances from the scale set.rx.Completable
updateInstancesAsync
(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
inner
Methods 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.
-