Share via


ScriptCmdletsOperationsExtensions.ListAsync Method

Definition

List script cmdlet resources available for a private cloud to create a script execution resource on a private cloud

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

Parameters

operations
IScriptCmdletsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

privateCloudName
String

Name of the private cloud

scriptPackageName
String

Name of the script package in the private cloud

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to