/// <summary> /// Creates 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='parameters'> /// Workspace creation parameters. /// </param> public static Workspace Create(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName, WorkspaceCreateParameters parameters) { return(operations.CreateAsync(resourceGroupName, workspaceName, parameters).GetAwaiter().GetResult()); }