Example #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>
 public static Workspace Update(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName, WorkspacePatchInfo workspacePatchInfo)
 {
     return(operations.UpdateAsync(resourceGroupName, workspaceName, workspacePatchInfo).GetAwaiter().GetResult());
 }
Example #2
0
 /// <summary>
 /// Updates properties of a Workspace.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group to which the resource belongs.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace. Workspace names can only contain a combination
 /// of alphanumeric characters along with dash (-) and underscore (_). The name
 /// must be from 1 through 64 characters long.
 /// </param>
 /// <param name='tags'>
 /// Tags. The user specified tags associated with the Workspace.
 /// </param>
 public static Workspace Update(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName, IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     return(operations.UpdateAsync(resourceGroupName, workspaceName, tags).GetAwaiter().GetResult());
 }