public interface VirtualMachineScaleSetVMs extends SupportsListing<VirtualMachineScaleSetVM>
Modifier and Type | Method and Description |
---|---|
void |
deleteInstances(String... instanceIds)
Deletes the specified virtual machine instances from the scale set.
|
Mono<Void> |
deleteInstancesAsync(Collection<String> instanceIds)
Deletes the specified virtual machine instances from the scale set.
|
Mono<Void> |
deleteInstancesAsync(String... instanceIds)
Deletes the specified virtual machine instances from the scale set.
|
VirtualMachineScaleSetVM |
getInstance(String instanceId)
Get the specified virtual machine instance from the scale set.
|
Mono<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.
|
Mono<Void> |
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.
|
Mono<Void> |
updateInstancesAsync(Collection<String> instanceIds)
Updates the specified virtual machine instances from the scale set.
|
Mono<Void> |
updateInstancesAsync(String... instanceIds)
Updates the specified virtual machine instances from the scale set.
|
list, listAsync
Mono<Void> deleteInstancesAsync(Collection<String> instanceIds)
instanceIds
- instance IDs of the virtual machine scale set instances to be deletedMono<Void> deleteInstancesAsync(String... instanceIds)
instanceIds
- instance IDs of the virtual machine scale set instances to be deletedvoid deleteInstances(String... instanceIds)
instanceIds
- instance IDs of the virtual machine scale set instances to be deletedVirtualMachineScaleSetVM getInstance(String instanceId)
instanceId
- instance ID of the virtual machine scale set instance to be fetchedMono<VirtualMachineScaleSetVM> getInstanceAsync(String instanceId)
instanceId
- instance ID of the virtual machine scale set instance to be fetched.Mono<Void> updateInstancesAsync(Collection<String> instanceIds)
instanceIds
- instance IDs of the virtual machine scale set instances to be updatedMono<Void> updateInstancesAsync(String... instanceIds)
instanceIds
- instance IDs of the virtual machine scale set instances to be updatedvoid updateInstances(String... instanceIds)
instanceIds
- instance IDs of the virtual machine scale set instances to be updatedMono<Void> simulateEvictionAsync(String instanceId)
instanceId
- The instance ID of the virtual machine.void simulateEviction(String instanceId)
instanceId
- The instance ID of the virtual machine.Copyright © 2020 Microsoft Corporation. All rights reserved.