/// <summary>
 /// Get billing property by subscription Id.
 /// <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='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <BillingProperty> GetAsync(this IBillingPropertyOperations operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Get billing property by subscription Id.
 /// <see href="https://docs.microsoft.com/en-us/rest/api/billing/" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static BillingProperty Get(this IBillingPropertyOperations operations)
 {
     return(operations.GetAsync().GetAwaiter().GetResult());
 }
 /// <summary>
 /// Updates the billing property of a subscription. Currently, cost center can
 /// be updated. The operation is supported only for billing accounts with
 /// agreement type Microsoft Customer Agreement.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='parameters'>
 /// Request parameters that are provided to the update billing property
 /// operation.
 /// </param>
 public static BillingProperty Update(this IBillingPropertyOperations operations, BillingProperty parameters)
 {
     return(operations.UpdateAsync(parameters).GetAwaiter().GetResult());
 }