Dela via


UsagesOperationsExtensions.ListByAutomationAccountAsync Metod

Definition

Hämta användningen för konto-ID:t. http://aka.ms/azureautomationsdk/usageoperations

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Automation.Models.Usage>> ListByAutomationAccountAsync (this Microsoft.Azure.Management.Automation.IUsagesOperations operations, string resourceGroupName, string automationAccountName, System.Threading.CancellationToken cancellationToken = default);
static member ListByAutomationAccountAsync : Microsoft.Azure.Management.Automation.IUsagesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Automation.Models.Usage>>
<Extension()>
Public Function ListByAutomationAccountAsync (operations As IUsagesOperations, resourceGroupName As String, automationAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Usage))

Parametrar

operations
IUsagesOperations

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

resourceGroupName
String

Namnet på en Azure-resursgrupp.

automationAccountName
String

Namnet på Automation-kontot.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för