Dela via


BillingEnrollmentAccountRoleAssignmentCollection Class

Definition

A class representing a collection of BillingEnrollmentAccountRoleAssignmentResource and their operations. Each BillingEnrollmentAccountRoleAssignmentResource in the collection will belong to the same instance of BillingEnrollmentAccountResource. To get a BillingEnrollmentAccountRoleAssignmentCollection instance call the GetBillingEnrollmentAccountRoleAssignments method from an instance of BillingEnrollmentAccountResource.

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

Constructors

BillingEnrollmentAccountRoleAssignmentCollection()

Initializes a new instance of the BillingEnrollmentAccountRoleAssignmentCollection 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, BillingRoleAssignmentData, CancellationToken)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_CreateOrUpdateByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleAssignmentResource
CreateOrUpdateAsync(WaitUntil, String, BillingRoleAssignmentData, CancellationToken)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_CreateOrUpdateByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleAssignmentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleAssignmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleAssignmentResource
Get(String, CancellationToken)

Gets a role assignment for the caller on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleAssignmentResource
GetAll(CancellationToken)

Lists the role assignments for the caller on a enrollment account. The operation is supported for billing accounts of type Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments
  • Operation Id: BillingRoleAssignments_ListByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleAssignmentResource
GetAllAsync(CancellationToken)

Lists the role assignments for the caller on a enrollment account. The operation is supported for billing accounts of type Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments
  • Operation Id: BillingRoleAssignments_ListByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleAssignmentResource
GetAsync(String, CancellationToken)

Gets a role assignment for the caller on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleAssignmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleAssignmentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleAssignmentResource
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<BillingEnrollmentAccountRoleAssignmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingEnrollmentAccountRoleAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to