Udostępnij za pośrednictwem


BillingInvoiceSectionCollection Class

Definition

A class representing a collection of BillingInvoiceSectionResource and their operations. Each BillingInvoiceSectionResource in the collection will belong to the same instance of BillingProfileResource. To get a BillingInvoiceSectionCollection instance call the GetBillingInvoiceSections method from an instance of BillingProfileResource.

public class BillingInvoiceSectionCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Billing.BillingInvoiceSectionResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.BillingInvoiceSectionResource>
type BillingInvoiceSectionCollection = class
    inherit ArmCollection
    interface seq<BillingInvoiceSectionResource>
    interface IEnumerable
    interface IAsyncEnumerable<BillingInvoiceSectionResource>
Public Class BillingInvoiceSectionCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of BillingInvoiceSectionResource), IEnumerable(Of BillingInvoiceSectionResource)
Inheritance
BillingInvoiceSectionCollection
Implements

Constructors

BillingInvoiceSectionCollection()

Initializes a new instance of the BillingInvoiceSectionCollection 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

CreateOrUpdate(WaitUntil, String, BillingInvoiceSectionData, CancellationToken)

Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
  • Operation Id: InvoiceSections_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionResource
CreateOrUpdateAsync(WaitUntil, String, BillingInvoiceSectionData, CancellationToken)

Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
  • Operation Id: InvoiceSections_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
  • Operation Id: InvoiceSections_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
  • Operation Id: InvoiceSections_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionResource
Get(String, CancellationToken)

Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
  • Operation Id: InvoiceSections_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionResource
GetAll(BillingInvoiceSectionCollectionGetAllOptions, CancellationToken)

Lists the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections
  • Operation Id: InvoiceSections_ListByBillingProfile
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionResource
GetAllAsync(BillingInvoiceSectionCollectionGetAllOptions, CancellationToken)

Lists the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections
  • Operation Id: InvoiceSections_ListByBillingProfile
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionResource
GetAsync(String, CancellationToken)

Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
  • Operation Id: InvoiceSections_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
  • Operation Id: InvoiceSections_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
  • Operation Id: InvoiceSections_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionResource
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<BillingInvoiceSectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingInvoiceSectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to