/// <summary> /// Lists the role definitions for 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> public static IPage <BillingRoleDefinition> ListByBillingAccount(this IBillingRoleDefinitionsOperations operations, string billingAccountName) { return(operations.ListByBillingAccountAsync(billingAccountName).GetAwaiter().GetResult()); }