WorkspacesOperationsExtensions.CreateOrUpdateAsync 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 or updates a workspace resource with the specified parameters.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HealthcareApis.Models.Workspace> CreateOrUpdateAsync (this Microsoft.Azure.Management.HealthcareApis.IWorkspacesOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.HealthcareApis.Models.Workspace workspace, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.HealthcareApis.IWorkspacesOperations * string * string * Microsoft.Azure.Management.HealthcareApis.Models.Workspace * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HealthcareApis.Models.Workspace>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IWorkspacesOperations, resourceGroupName As String, workspaceName As String, workspace 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 that contains the service instance.
- workspaceName
- String
The name of workspace resource.
- workspace
- Workspace
The parameters for creating or updating a healthcare workspace.
- cancellationToken
- CancellationToken
The cancellation token.