Пример #1
0
 /// <summary>
 /// Gets the definition for a role on a billing account. The operation is
 /// supported for billing accounts with agreement type Microsoft Partner
 /// Agreement or Microsoft Customer Agreement.
 /// <see href="https://docs.microsoft.com/en-us/rest/api/billing/" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='billingAccountName'>
 /// The ID that uniquely identifies a billing account.
 /// </param>
 /// <param name='billingRoleDefinitionName'>
 /// The ID that uniquely identifies a role definition.
 /// </param>
 public static BillingRoleDefinition GetByBillingAccount(this IBillingRoleDefinitionsOperations operations, string billingAccountName, string billingRoleDefinitionName)
 {
     return(operations.GetByBillingAccountAsync(billingAccountName, billingRoleDefinitionName).GetAwaiter().GetResult());
 }