Example #1
0
 /// <summary>
 /// Resync all the keys associated with this workspace. This includes keys for
 /// the storage account, app insights and password for container registry
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group in which workspace is located.
 /// </param>
 /// <param name='workspaceName'>
 /// Name of Azure Machine Learning workspace.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ResyncKeysAsync(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.ResyncKeysWithHttpMessagesAsync(resourceGroupName, workspaceName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }