Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UsageOperations

Package version

Class representing a UsageOperations.

Hierarchy

  • UsageOperations

Index

Constructors

Methods

Constructors

constructor

Methods

list

  • list(location: string, options?: msRest.RequestOptionsBase): Promise<Models.UsageListResponse>
  • list(location: string, callback: msRest.ServiceCallback<ListUsagesResult>): void
  • list(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ListUsagesResult>): void
  • Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

    Parameters

    • location: string

      The location for which resource usage is queried.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.UsageListResponse>

    Promise<Models.UsageListResponse>

  • Parameters

    • location: string

      The location for which resource usage is queried.

    • callback: msRest.ServiceCallback<ListUsagesResult>

      The callback

    Returns void

  • Parameters

    • location: string

      The location for which resource usage is queried.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ListUsagesResult>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.UsageListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<ListUsagesResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ListUsagesResult>): void
  • Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.UsageListNextResponse>

    Promise<Models.UsageListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<ListUsagesResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ListUsagesResult>

      The callback

    Returns void

Generated using TypeDoc