Sdílet prostřednictvím


BillingCustomerRoleAssignmentCollection Class

Definition

A class representing a collection of BillingCustomerRoleAssignmentResource and their operations. Each BillingCustomerRoleAssignmentResource in the collection will belong to the same instance of BillingProfileCustomerResource. To get a BillingCustomerRoleAssignmentCollection instance call the GetBillingCustomerRoleAssignments method from an instance of BillingProfileCustomerResource.

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

Constructors

BillingCustomerRoleAssignmentCollection()

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

Checks to see if the resource exists in azure.

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

Gets a role assignment for the caller on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

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

Lists the role assignments for the caller on customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

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

Lists the role assignments for the caller on customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

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

Gets a role assignment for the caller on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingCustomerRoleAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to