Freigeben über


OperationalInsightsWorkspaceResource.Update Methode

Definition

Updates einen Arbeitsbereich.

  • Request Path/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}
  • Vorgang IdWorkspaces_Update
public virtual Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource> Update (Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspacePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource>
override this.Update : Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspacePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource>
Public Overridable Function Update (patch As OperationalInsightsWorkspacePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of OperationalInsightsWorkspaceResource)

Parameter

patch
OperationalInsightsWorkspacePatch

Die Parameter, die zum Patchen eines Arbeitsbereichs erforderlich sind.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: