/// <summary>
 /// Create/Overwrite Azure Advisor configuration.
 /// </summary>
 /// <remarks>
 /// Create/Overwrite Azure Advisor configuration and also delete all
 /// configurations of contained resource groups.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='configContract'>
 /// The Azure Advisor configuration data structure.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ARMErrorResponseBody> CreateInSubscriptionAsync(this IConfigurationsOperations operations, ConfigData configContract, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateInSubscriptionWithHttpMessagesAsync(configContract, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }