Share via


MachineExtensionsOperationsExtensions.ListAsync Method

Definition

The operation to get all extensions of a non-Azure machine

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

Parameters

operations
IMachineExtensionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

name
String

The name of the machine containing the extension.

expand
String

The expand expression to apply on the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to