IVirtualMachineScaleSetVMsBeta.DeleteInstancesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DeleteInstancesAsync(IList<String>, CancellationToken) |
Deletes the specified virtual machine instances from the scale set. |
DeleteInstancesAsync(String[], CancellationToken) |
Deletes the specified virtual machine instances from the scale set. |
DeleteInstancesAsync(IList<String>, CancellationToken)
Deletes the specified virtual machine instances from the scale set.
public System.Threading.Tasks.Task DeleteInstancesAsync (System.Collections.Generic.IList<string> instanceIds, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteInstancesAsync : System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteInstancesAsync (instanceIds As IList(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- cancellationToken
- CancellationToken
Returns
Applies to
DeleteInstancesAsync(String[], CancellationToken)
Deletes the specified virtual machine instances from the scale set.
public System.Threading.Tasks.Task DeleteInstancesAsync (string[] instanceIds, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteInstancesAsync : string[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteInstancesAsync (instanceIds As String(), Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- instanceIds
- String[]
Instance IDs of the virtual machine scale set instances to be deleted.
- cancellationToken
- CancellationToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET