Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Subscriptions

Package version

Class representing a Subscriptions.

Hierarchy

  • Subscriptions

Index

Constructors

Methods

Constructors

constructor

Methods

get

  • get(subscriptionId: string, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionsGetResponse>
  • get(subscriptionId: string, callback: msRest.ServiceCallback<Subscription>): void
  • get(subscriptionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Subscription>): void
  • Gets details about a specified subscription.

    Parameters

    • subscriptionId: string

      The ID of the target subscription.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SubscriptionsGetResponse>

    Promise<Models.SubscriptionsGetResponse>

  • Parameters

    • subscriptionId: string

      The ID of the target subscription.

    • callback: msRest.ServiceCallback<Subscription>

      The callback

    Returns void

  • Parameters

    • subscriptionId: string

      The ID of the target subscription.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Subscription>

      The callback

    Returns void

list

  • list(options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionsListResponse>
  • list(callback: msRest.ServiceCallback<SubscriptionListResult>): void
  • list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<SubscriptionListResult>): void

listLocations

  • listLocations(subscriptionId: string, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionsListLocationsResponse>
  • listLocations(subscriptionId: string, callback: msRest.ServiceCallback<LocationListResult>): void
  • listLocations(subscriptionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<LocationListResult>): void
  • This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.

    summary

    Gets all available geo-locations.

    Parameters

    • subscriptionId: string

      The ID of the target subscription.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SubscriptionsListLocationsResponse>

    Promise<Models.SubscriptionsListLocationsResponse>

  • Parameters

    • subscriptionId: string

      The ID of the target subscription.

    • callback: msRest.ServiceCallback<LocationListResult>

      The callback

    Returns void

  • Parameters

    • subscriptionId: string

      The ID of the target subscription.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<LocationListResult>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionsListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<SubscriptionListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<SubscriptionListResult>): void
  • Gets all subscriptions for a tenant.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SubscriptionsListNextResponse>

    Promise<Models.SubscriptionsListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<SubscriptionListResult>

      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<SubscriptionListResult>

      The callback

    Returns void

Generated using TypeDoc