Sdílet prostřednictvím


BillingProfileRoleDefinitionCollection Class

Definition

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

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

Constructors

BillingProfileRoleDefinitionCollection()

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

Checks to see if the resource exists in azure.

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

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

Lists the role definitions for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

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

Lists the role definitions for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

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

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingProfileRoleDefinitionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to