Udostępnij za pośrednictwem


QuotaOperationsExtensions.Get(IQuotaOperations, String, String) Method

Definition

Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.

public static Microsoft.Azure.Management.Quota.Models.CurrentQuotaLimitBase Get (this Microsoft.Azure.Management.Quota.IQuotaOperations operations, string resourceName, string scope);
static member Get : Microsoft.Azure.Management.Quota.IQuotaOperations * string * string -> Microsoft.Azure.Management.Quota.Models.CurrentQuotaLimitBase
<Extension()>
Public Function Get (operations As IQuotaOperations, resourceName As String, scope As String) As CurrentQuotaLimitBase

Parameters

operations
IQuotaOperations

The operations group for this extension method.

resourceName
String

Resource name for a given resource provider. For example:

  • SKU name for Microsoft.Compute
  • SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices For Microsoft.Network PublicIPAddresses.
scope
String

The target Azure resource URI. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/. This is the target Azure resource URI for the List GET operation. If a {resourceName} is added after /quotas, then it's the target Azure resource URI in the GET operation for the specific resource.

Returns

Applies to