/// <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 BeginCreateOrUpdate(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName, Workspace workspaceInfo) { return(operations.BeginCreateOrUpdateAsync(resourceGroupName, workspaceName, workspaceInfo).GetAwaiter().GetResult()); }