Partilhar via


OperationalInsightsWorkspaceResource.UpdateAsync Método

Definição

Atualizações um workspace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}
  • IdWorkspaces_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource>> UpdateAsync (Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource>>
override this.UpdateAsync : Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource>>
Public Overridable Function UpdateAsync (patch As OperationalInsightsWorkspacePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OperationalInsightsWorkspaceResource))

Parâmetros

patch
OperationalInsightsWorkspacePatch

Os parâmetros necessários para corrigir um workspace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a