Share via


DefaultBillingInvoiceCollection Class

Definition

A class representing a collection of DefaultBillingInvoiceResource and their operations. Each DefaultBillingInvoiceResource in the collection will belong to the same instance of TenantResource. To get a DefaultBillingInvoiceCollection instance call the GetDefaultBillingInvoices method from an instance of TenantResource.

public class DefaultBillingInvoiceCollection : Azure.ResourceManager.ArmCollection
type DefaultBillingInvoiceCollection = class
    inherit ArmCollection
Public Class DefaultBillingInvoiceCollection
Inherits ArmCollection
Inheritance
DefaultBillingInvoiceCollection

Constructors

DefaultBillingInvoiceCollection()

Initializes a new instance of the DefaultBillingInvoiceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/invoices/{invoiceName}
  • Operation Id: Invoices_Get
  • Default Api Version: 2024-04-01
  • Resource: DefaultBillingInvoiceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/invoices/{invoiceName}
  • Operation Id: Invoices_Get
  • Default Api Version: 2024-04-01
  • Resource: DefaultBillingInvoiceResource
Get(String, CancellationToken)

Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/invoices/{invoiceName}
  • Operation Id: Invoices_Get
  • Default Api Version: 2024-04-01
  • Resource: DefaultBillingInvoiceResource
GetAsync(String, CancellationToken)

Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/invoices/{invoiceName}
  • Operation Id: Invoices_Get
  • Default Api Version: 2024-04-01
  • Resource: DefaultBillingInvoiceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/invoices/{invoiceName}
  • Operation Id: Invoices_Get
  • Default Api Version: 2024-04-01
  • Resource: DefaultBillingInvoiceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/invoices/{invoiceName}
  • Operation Id: Invoices_Get
  • Default Api Version: 2024-04-01
  • Resource: DefaultBillingInvoiceResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to