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

VirtualMachinesOperationsExtensions.BeginDeleteAsync 方法

定义

重载

BeginDeleteAsync(IVirtualMachinesOperations, String, String)

用于删除虚拟机的操作。

BeginDeleteAsync(IVirtualMachinesOperations, String, String, CancellationToken)

用于删除虚拟机的操作。

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

用于删除虚拟机的操作。

BeginDeleteAsync(IVirtualMachinesOperations, String, String)

用于删除虚拟机的操作。

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

参数

operations
IVirtualMachinesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

vmName
String

虚拟机的名称。

返回

适用于

BeginDeleteAsync(IVirtualMachinesOperations, String, String, CancellationToken)

用于删除虚拟机的操作。

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

参数

operations
IVirtualMachinesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

vmName
String

虚拟机的名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于

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

用于删除虚拟机的操作。

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

参数

operations
IVirtualMachinesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

vmName
String

虚拟机的名称。

forceDeletion
Nullable<Boolean>

强制删除虚拟机的可选参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于