共用方式為


BillingProfileResource.ResolveByBillingProfileBillingRoleAssignmentAsync Method

Definition

Lists the role assignments for the caller on an billing profile while fetching user info for each role assignment. 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}/resolveBillingRoleAssignments
  • Operation Id: BillingRoleAssignments_ResolveByBillingProfile
  • Default Api Version: 2024-04-01
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingRoleAssignmentListResult>> ResolveByBillingProfileBillingRoleAssignmentAsync (Azure.WaitUntil waitUntil, bool? resolveScopeDisplayNames = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ResolveByBillingProfileBillingRoleAssignmentAsync : Azure.WaitUntil * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingRoleAssignmentListResult>>
override this.ResolveByBillingProfileBillingRoleAssignmentAsync : Azure.WaitUntil * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingRoleAssignmentListResult>>
Public Overridable Function ResolveByBillingProfileBillingRoleAssignmentAsync (waitUntil As WaitUntil, Optional resolveScopeDisplayNames As Nullable(Of Boolean) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of BillingRoleAssignmentListResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

resolveScopeDisplayNames
Nullable<Boolean>

Resolves the scope display name for each of the role assignments.

filter
String

The filter query option allows clients to filter a collection of resources that are addressed by a request URL.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to