Share via


InvoicesOperationsExtensions.GetById(IInvoicesOperations, String) Method

Definition

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

public static Microsoft.Azure.Management.Billing.Models.Invoice GetById (this Microsoft.Azure.Management.Billing.IInvoicesOperations operations, string invoiceName);
static member GetById : Microsoft.Azure.Management.Billing.IInvoicesOperations * string -> Microsoft.Azure.Management.Billing.Models.Invoice
<Extension()>
Public Function GetById (operations As IInvoicesOperations, invoiceName As String) As Invoice

Parameters

operations
IInvoicesOperations

The operations group for this extension method.

invoiceName
String

The ID that uniquely identifies an invoice.

Returns

Applies to