WorkspacesOperationsExtensions.BeginCreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a Workspace.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BatchAI.Models.Workspace> BeginCreateAsync (this Microsoft.Azure.Management.BatchAI.IWorkspacesOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.BatchAI.Models.WorkspaceCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.BatchAI.IWorkspacesOperations * string * string * Microsoft.Azure.Management.BatchAI.Models.WorkspaceCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BatchAI.Models.Workspace>
<Extension()>
Public Function BeginCreateAsync (operations As IWorkspacesOperations, resourceGroupName As String, workspaceName As String, parameters As WorkspaceCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Workspace)
Parameters
- operations
- IWorkspacesOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of the resource group to which the resource belongs.
- workspaceName
- String
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.
- parameters
- WorkspaceCreateParameters
Workspace creation parameters.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET