BillingEnrollmentAccountRoleDefinitionCollection Class

Definition

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

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

Constructors

BillingEnrollmentAccountRoleDefinitionCollection()

Initializes a new instance of the BillingEnrollmentAccountRoleDefinitionCollection 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}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions/{roleDefinitionName}
  • Operation Id: BillingRoleDefinition_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleDefinitionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions/{roleDefinitionName}
  • Operation Id: BillingRoleDefinition_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleDefinitionResource
Get(String, CancellationToken)

Gets the definition for a role on an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions/{roleDefinitionName}
  • Operation Id: BillingRoleDefinition_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleDefinitionResource
GetAll(CancellationToken)

List the definition for an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.

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

List the definition for an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.

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

Gets the definition for a role on an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions/{roleDefinitionName}
  • Operation Id: BillingRoleDefinition_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleDefinitionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions/{roleDefinitionName}
  • Operation Id: BillingRoleDefinition_GetByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleDefinitionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingEnrollmentAccountRoleDefinitionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to