Beispiel #1
0
 /// <summary>
 /// Creates or 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='workspaceInfo'>
 /// Workspace create or update request properties
 /// </param>
 public static Workspace CreateOrUpdate(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName, Workspace workspaceInfo)
 {
     return(operations.CreateOrUpdateAsync(resourceGroupName, workspaceName, workspaceInfo).GetAwaiter().GetResult());
 }