예제 #1
0
 /// <summary>
 /// Lists the subscriptions that are billed to a billing profile. The operation
 /// is supported for billing accounts with agreement type Microsoft Customer
 /// Agreement or Microsoft Partner 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='billingProfileName'>
 /// The ID that uniquely identifies a billing profile.
 /// </param>
 public static IPage <BillingSubscription> ListByBillingProfile(this IBillingSubscriptionsOperations operations, string billingAccountName, string billingProfileName)
 {
     return(operations.ListByBillingProfileAsync(billingAccountName, billingProfileName).GetAwaiter().GetResult());
 }