Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UsagesImpl

Package version

Class containing Usages operations.

Hierarchy

  • UsagesImpl

Implements

Index

Constructors

Methods

Constructors

constructor

Methods

get

  • Get the current usage of a resource.

    Parameters

    • 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.

    • Optional options: UsagesGetOptionalParams

      The options parameters.

    Returns Promise<UsagesGetResponse>

list

  • Get a list of current usage for all resources for the scope specified.

    Parameters

    • 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.

    • Optional options: UsagesListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<CurrentUsagesBase>

Generated using TypeDoc