共用方式為


VirtualMachineScaleSetExtensionsOperationsExtensions.ListAsync Method

Definition

Gets a list of all extensions in a VM scale set.

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

Parameters

operations
IVirtualMachineScaleSetExtensionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmScaleSetName
String

The name of the VM scale set containing the extension.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to