InvoiceSectionsOperationsExtensions.GetAsync Method

Definition

Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.InvoiceSection> GetAsync (this Microsoft.Azure.Management.Billing.IInvoiceSectionsOperations operations, string billingAccountName, string billingProfileName, string invoiceSectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Billing.IInvoiceSectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.InvoiceSection>
<Extension()>
Public Function GetAsync (operations As IInvoiceSectionsOperations, billingAccountName As String, billingProfileName As String, invoiceSectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of InvoiceSection)

Parameters

operations
IInvoiceSectionsOperations

The operations group for this extension method.

billingAccountName
String

The ID that uniquely identifies a billing account.

billingProfileName
String

The ID that uniquely identifies a billing profile.

invoiceSectionName
String

The ID that uniquely identifies an invoice section.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to