Udostępnij za pośrednictwem


QuotaOperationsExtensions.GetAsync Method

Definition

Get the current quota (service limit) and usage of a resource. You can use the response from the GET operation to submit quota update request.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.CurrentQuotaLimitBase> GetAsync (this Microsoft.Azure.Management.Reservations.IQuotaOperations operations, string subscriptionId, string providerId, string location, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Reservations.IQuotaOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.CurrentQuotaLimitBase>
<Extension()>
Public Function GetAsync (operations As IQuotaOperations, subscriptionId As String, providerId As String, location As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CurrentQuotaLimitBase)

Parameters

operations
IQuotaOperations

The operations group for this extension method.

subscriptionId
String

Azure subscription ID.

providerId
String

Azure resource provider ID.

location
String

Azure region.

resourceName
String

The resource name for a resource provider, such as SKU name for Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to