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

VirtualMachineScaleSetVMRunCommandsOperationsExtensions.ListAsync 方法

定义

获取虚拟机规模集中实例的所有运行命令的操作。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommand>> ListAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMRunCommandsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMRunCommandsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommand>>
<Extension()>
Public Function ListAsync (operations As IVirtualMachineScaleSetVMRunCommandsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of VirtualMachineRunCommand))

参数

operations
IVirtualMachineScaleSetVMRunCommandsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

vmScaleSetName
String

VM 规模集的名称。

instanceId
String

虚拟机的实例 ID。

expand
String

要应用于操作的 expand 表达式。

cancellationToken
CancellationToken

取消标记。

返回

适用于