UsagesOperationsExtensions.Get(IUsagesOperations, String, String) Method

Definition

Get the current usage of a resource.

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

Parameters

operations
IUsagesOperations

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