Share via


WorkspacesOperationsExtensions.UpdateAsync Method

Definition

Updates a workspace.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.Workspace> UpdateAsync (this Microsoft.Azure.Management.OperationalInsights.IWorkspacesOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.OperationalInsights.Models.WorkspacePatch parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.OperationalInsights.IWorkspacesOperations * string * string * Microsoft.Azure.Management.OperationalInsights.Models.WorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.Workspace>
<Extension()>
Public Function UpdateAsync (operations As IWorkspacesOperations, resourceGroupName As String, workspaceName As String, parameters As WorkspacePatch, 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.

parameters
WorkspacePatch

The parameters required to patch a workspace.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to