Beispiel #1
0
 /// <summary>
 /// The policy for a given billingAccountName and billingProfileName.
 /// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='billingAccountName'>
 /// billing Account Id.
 /// </param>
 /// <param name='billingProfileName'>
 /// Billing Profile Id.
 /// </param>
 public static Policy GetByBillingProfile(this IPolicyOperations operations, string billingAccountName, string billingProfileName)
 {
     return(operations.GetByBillingProfileAsync(billingAccountName, billingProfileName).GetAwaiter().GetResult());
 }