Udostępnij za pośrednictwem


BillingInvoiceSectionRoleAssignmentCollection Class

Definition

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

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

Constructors

BillingInvoiceSectionRoleAssignmentCollection()

Initializes a new instance of the BillingInvoiceSectionRoleAssignmentCollection 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}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_GetByInvoiceSection
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionRoleAssignmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Gets a role assignment for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_GetByInvoiceSection
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionRoleAssignmentResource
GetAll(String, Nullable<Int64>, Nullable<Int64>, CancellationToken)

Lists the role assignments for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments
  • Operation Id: BillingRoleAssignments_ListByInvoiceSection
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceSectionRoleAssignmentResource
GetAllAsync(String, Nullable<Int64>, Nullable<Int64>, CancellationToken)

Lists the role assignments for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

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

Gets a role assignment for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingInvoiceSectionRoleAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to