Partager via


OperationalInsightsWorkspaceResource.UpdateAsync Méthode

Définition

Mises à jour un espace de travail.

  • Chemin/abonnements de la demande/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}
  • IdWorkspaces_Update d’opération
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))

Paramètres

patch
OperationalInsightsWorkspacePatch

Paramètres requis pour corriger un espace de travail.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à