Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BillingPeriods

Package version

Class representing a BillingPeriods.

Hierarchy

  • BillingPeriods

Index

Constructors

Methods

Constructors

constructor

Methods

get

  • get(billingPeriodName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingPeriodsGetResponse>
  • get(billingPeriodName: string, callback: msRest.ServiceCallback<BillingPeriod>): void
  • get(billingPeriodName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<BillingPeriod>): void
  • Gets a named billing period. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.

    Parameters

    • billingPeriodName: string

      The name of a BillingPeriod resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.BillingPeriodsGetResponse>

    Promise<Models.BillingPeriodsGetResponse>

  • Parameters

    • billingPeriodName: string

      The name of a BillingPeriod resource.

    • callback: msRest.ServiceCallback<BillingPeriod>

      The callback

    Returns void

  • Parameters

    • billingPeriodName: string

      The name of a BillingPeriod resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<BillingPeriod>

      The callback

    Returns void

list

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingPeriodsListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<BillingPeriodsListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<BillingPeriodsListResult>): void
  • Lists the available billing periods for a subscription in reverse chronological order. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.BillingPeriodsListNextResponse>

    Promise<Models.BillingPeriodsListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<BillingPeriodsListResult>

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

      The callback

    Returns void

Generated using TypeDoc