/// <summary>
 /// Set a default Datastore.
 /// </summary>
 /// <remarks>
 /// Set a default Datastore in the workspace.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='subscriptionId'>
 /// The Azure Subscription ID.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The Name of the resource group in which the workspace is located.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace.
 /// </param>
 /// <param name='name'>
 /// The Datastore name.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task SetDefaultAsync(this IDataStoresOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string name, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.SetDefaultWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, name, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }