Dela via


WorkspacesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a workspace

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.Workspace> CreateOrUpdateAsync (this Microsoft.Azure.Management.Synapse.IWorkspacesOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.Synapse.Models.Workspace workspaceInfo, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Synapse.IWorkspacesOperations * string * string * Microsoft.Azure.Management.Synapse.Models.Workspace * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.Workspace>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IWorkspacesOperations, resourceGroupName As String, workspaceName As String, workspaceInfo As Workspace, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Workspace)

Parameters

operations
IWorkspacesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

workspaceInfo
Workspace

Workspace create or update request properties

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to