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

VirtualMachineRunCommandsOperationsExtensions.BeginDeleteAsync 方法

定义

用于删除 run 命令的操作。

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

参数

operations
IVirtualMachineRunCommandsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

vmName
String

应删除运行命令的虚拟机的名称。

runCommandName
String

虚拟机运行命令的名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于