Share via


WorkspacesOperationsExtensions.UpdateAsync Method

Definition

Updates properties of a Workspace.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BatchAI.Models.Workspace> UpdateAsync (this Microsoft.Azure.Management.BatchAI.IWorkspacesOperations operations, string resourceGroupName, string workspaceName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.BatchAI.IWorkspacesOperations * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BatchAI.Models.Workspace>
<Extension()>
Public Function UpdateAsync (operations As IWorkspacesOperations, resourceGroupName As String, workspaceName As String, Optional tags As IDictionary(Of String, String) = Nothing, 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.

tags
IDictionary<String,String>

Tags. The user specified tags associated with the Workspace.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to