コード例 #1
0
 /// <summary>
 /// Updates a workspace
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace
 /// </param>
 /// <param name='workspacePatchInfo'>
 /// Workspace patch request properties
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <Workspace> BeginUpdateAsync(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName, WorkspacePatchInfo workspacePatchInfo, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, workspacePatchInfo, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }