/// <summary>
 /// Update or create a Datastore.
 /// </summary>
 /// <remarks>
 /// Update or create a Datastore in the given 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='dto'>
 /// The Datastore details.
 /// </param>
 /// <param name='createIfNotExists'>
 /// If set to true, the call will create an Datastore if it doesn't exist.
 /// </param>
 /// <param name='skipValidation'>
 /// If set to true, the call will skip Datastore validation.
 /// </param>
 public static void Update(this IDataStoresOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string name, DataStore dto = default(DataStore), bool?createIfNotExists = false, bool?skipValidation = false)
 {
     operations.UpdateAsync(subscriptionId, resourceGroupName, workspaceName, name, dto, createIfNotExists, skipValidation).GetAwaiter().GetResult();
 }