Exemplo n.º 1
0
 /// <summary>
 /// This method deletes the given data store/repository.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dataStoreName'>
 /// The data store/repository name to be deleted.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The Resource Group Name
 /// </param>
 /// <param name='dataManagerName'>
 /// The name of the DataManager Resource within the specified resource group.
 /// DataManager names must be between 3 and 24 characters in length and use any
 /// alphanumeric and underscore only
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginDeleteAsync(this IDataStoresOperations operations, string dataStoreName, string resourceGroupName, string dataManagerName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BeginDeleteWithHttpMessagesAsync(dataStoreName, resourceGroupName, dataManagerName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }