你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineScaleSetVMsOperationsExtensions.BeginDeleteAsync 方法

定义

重载

BeginDeleteAsync(IVirtualMachineScaleSetVMsOperations, String, String, String, CancellationToken)

从 VM 规模集中删除虚拟机。

BeginDeleteAsync(IVirtualMachineScaleSetVMsOperations, String, String, String, Nullable<Boolean>, CancellationToken)

从 VM 规模集中删除虚拟机。

BeginDeleteAsync(IVirtualMachineScaleSetVMsOperations, String, String, String, CancellationToken)

从 VM 规模集中删除虚拟机。

public static System.Threading.Tasks.Task BeginDeleteAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, System.Threading.CancellationToken cancellationToken);
static member BeginDeleteAsync : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginDeleteAsync (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, cancellationToken As CancellationToken) As Task

参数

operations
IVirtualMachineScaleSetVMsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

vmScaleSetName
String

VM 规模集的名称。

instanceId
String

虚拟机的实例 ID。

cancellationToken
CancellationToken

取消标记。

返回

适用于

BeginDeleteAsync(IVirtualMachineScaleSetVMsOperations, String, String, String, Nullable<Boolean>, CancellationToken)

从 VM 规模集中删除虚拟机。

public static System.Threading.Tasks.Task BeginDeleteAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, bool? forceDeletion = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginDeleteAsync : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginDeleteAsync (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, Optional forceDeletion As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IVirtualMachineScaleSetVMsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

vmScaleSetName
String

VM 规模集的名称。

instanceId
String

虚拟机的实例 ID。

forceDeletion
Nullable<Boolean>

强制从 VM 规模集中删除虚拟机的可选参数。 预览版) 中的 (功能

cancellationToken
CancellationToken

取消标记。

返回

适用于