Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Invoices

Package version

Class representing a Invoices.

Hierarchy

  • Invoices

Index

Constructors

Methods

Constructors

constructor

Methods

get

  • get(invoiceName: string, options?: msRest.RequestOptionsBase): Promise<Models.InvoicesGetResponse>
  • get(invoiceName: string, callback: msRest.ServiceCallback<Invoice>): void
  • get(invoiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Invoice>): void
  • Gets a named invoice resource. When getting a single invoice, the downloadUrl property is expanded automatically. 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

    • invoiceName: string

      The name of an invoice resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.InvoicesGetResponse>

    Promise<Models.InvoicesGetResponse>

  • Parameters

    • invoiceName: string

      The name of an invoice resource.

    • callback: msRest.ServiceCallback<Invoice>

      The callback

    Returns void

  • Parameters

    • invoiceName: string

      The name of an invoice resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Invoice>

      The callback

    Returns void

getLatest

  • getLatest(options?: msRest.RequestOptionsBase): Promise<Models.InvoicesGetLatestResponse>
  • getLatest(callback: msRest.ServiceCallback<Invoice>): void
  • getLatest(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Invoice>): void
  • Gets the most recent invoice. When getting a single invoice, the downloadUrl property is expanded automatically. 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

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.InvoicesGetLatestResponse>

    Promise<Models.InvoicesGetLatestResponse>

  • Parameters

    • callback: msRest.ServiceCallback<Invoice>

      The callback

    Returns void

  • Parameters

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Invoice>

      The callback

    Returns void

list

  • Lists the available invoices for a subscription in reverse chronological order beginning with the most recent invoice. In preview, invoices are available via this API only for invoice periods which end December 1, 2016 or later. 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

    • Optional options: Models.InvoicesListOptionalParams

    Returns Promise<Models.InvoicesListResponse>

    Promise<Models.InvoicesListResponse>

  • Parameters

    Returns void

  • Parameters

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.InvoicesListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<InvoicesListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<InvoicesListResult>): void
  • Lists the available invoices for a subscription in reverse chronological order beginning with the most recent invoice. In preview, invoices are available via this API only for invoice periods which end December 1, 2016 or later. 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.InvoicesListNextResponse>

    Promise<Models.InvoicesListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<InvoicesListResult>

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

      The callback

    Returns void

Generated using TypeDoc