Udostępnij za pośrednictwem


SubscriptionUsagesOperationsExtensions.GetAsync Method

Definition

Gets a subscription usage metric.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.Models.SubscriptionUsageInner> GetAsync (this Microsoft.Azure.Management.Sql.Fluent.ISubscriptionUsagesOperations operations, string locationName, string usageName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Sql.Fluent.ISubscriptionUsagesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.Models.SubscriptionUsageInner>
<Extension()>
Public Function GetAsync (operations As ISubscriptionUsagesOperations, locationName As String, usageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SubscriptionUsageInner)

Parameters

operations
ISubscriptionUsagesOperations

The operations group for this extension method.

locationName
String

The name of the region where the resource is located.

usageName
String

Name of usage metric to return.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to