Dela via


AutomationAccountOperationsExtensions.ListAsync Metod

Definition

Överlagringar

ListAsync(IAutomationAccountOperations, CancellationToken)

Visar en lista över Automation-konton i en Azure-prenumeration.

ListAsync(IAutomationAccountOperations, String)

ListAsync(IAutomationAccountOperations, CancellationToken)

Visar en lista över Automation-konton i en Azure-prenumeration.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.AutomationAccount>> ListAsync (this Microsoft.Azure.Management.Automation.IAutomationAccountOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Automation.IAutomationAccountOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.AutomationAccount>>
<Extension()>
Public Function ListAsync (operations As IAutomationAccountOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AutomationAccount))

Parametrar

operations
IAutomationAccountOperations

Åtgärdsgruppen för den här tilläggsmetoden.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Kommentarer

Hämta en lista över konton inom en viss prenumeration.

Gäller för

ListAsync(IAutomationAccountOperations, String)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AutomationAccountListResponse> ListAsync (this Microsoft.Azure.Management.Automation.IAutomationAccountOperations operations, string resourceGroupName);
static member ListAsync : Microsoft.Azure.Management.Automation.IAutomationAccountOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AutomationAccountListResponse>
<Extension()>
Public Function ListAsync (operations As IAutomationAccountOperations, resourceGroupName As String) As Task(Of AutomationAccountListResponse)

Parametrar

resourceGroupName
String

Returer

Gäller för