你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BillingProfileRoleAssignmentCollection Class

Definition

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

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

Constructors

BillingProfileRoleAssignmentCollection()

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

Checks to see if the resource exists in azure.

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

Gets a role assignment for the caller 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}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_GetByBillingProfile
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileRoleAssignmentResource
GetAll(String, Nullable<Int64>, Nullable<Int64>, CancellationToken)

Lists the role assignments for the caller 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}/billingRoleAssignments
  • Operation Id: BillingRoleAssignments_ListByBillingProfile
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileRoleAssignmentResource
GetAllAsync(String, Nullable<Int64>, Nullable<Int64>, CancellationToken)

Lists the role assignments for the caller 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}/billingRoleAssignments
  • Operation Id: BillingRoleAssignments_ListByBillingProfile
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileRoleAssignmentResource
GetAsync(String, CancellationToken)

Gets a role assignment for the caller 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}/billingRoleAssignments/{billingRoleAssignmentName}
  • Operation Id: BillingRoleAssignments_GetByBillingProfile
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileRoleAssignmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingProfileRoleAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to