BillingInvoiceSectionRoleDefinitionCollection Class

Definition

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

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

Constructors

BillingInvoiceSectionRoleDefinitionCollection()

Initializes a new instance of the BillingInvoiceSectionRoleDefinitionCollection 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/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions/{roleDefinitionName}
  • Operation Id: BillingRoleDefinition_GetByInvoiceSection
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionRoleDefinitionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Gets the definition for a role on 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}/billingRoleDefinitions/{roleDefinitionName}
  • Operation Id: BillingRoleDefinition_GetByInvoiceSection
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionRoleDefinitionResource
GetAll(CancellationToken)

Lists the role definitions for an invoice section. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions
  • Operation Id: BillingRoleDefinition_ListByInvoiceSection
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionRoleDefinitionResource
GetAllAsync(CancellationToken)

Lists the role definitions for an invoice section. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

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

Gets the definition for a role on 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}/billingRoleDefinitions/{roleDefinitionName}
  • Operation Id: BillingRoleDefinition_GetByInvoiceSection
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionRoleDefinitionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions/{roleDefinitionName}
  • Operation Id: BillingRoleDefinition_GetByInvoiceSection
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionRoleDefinitionResource
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<BillingInvoiceSectionRoleDefinitionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingInvoiceSectionRoleDefinitionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to