Partager via


BillingRoleDefinitionsOperationsExtensions.GetByBillingProfileAsync Méthode

Définition

Obtient la définition d’un rôle sur un profil de facturation. L’opération est prise en charge pour les comptes de facturation avec le type de contrat Contrat Partenaire Microsoft ou Contrat client Microsoft. https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingRoleDefinition> GetByBillingProfileAsync (this Microsoft.Azure.Management.Billing.IBillingRoleDefinitionsOperations operations, string billingAccountName, string billingProfileName, string billingRoleDefinitionName, System.Threading.CancellationToken cancellationToken = default);
static member GetByBillingProfileAsync : Microsoft.Azure.Management.Billing.IBillingRoleDefinitionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingRoleDefinition>
<Extension()>
Public Function GetByBillingProfileAsync (operations As IBillingRoleDefinitionsOperations, billingAccountName As String, billingProfileName As String, billingRoleDefinitionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BillingRoleDefinition)

Paramètres

operations
IBillingRoleDefinitionsOperations

Groupe d’opérations pour cette méthode d’extension.

billingAccountName
String

ID qui identifie de manière unique un compte de facturation.

billingProfileName
String

ID qui identifie de manière unique un profil de facturation.

billingRoleDefinitionName
String

ID qui identifie de manière unique une définition de rôle.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à