共用方式為


IVirtualMachineScaleSetVMsBeta.DeleteInstancesAsync Method

Definition

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

instanceIds
IList<String>

Instance IDs of the virtual machine scale set instances to be deleted.

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