다음을 통해 공유


SapMonitorResource.Update(SapMonitorPatch, CancellationToken) Method

Definition

Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}
  • Operation Id: monitors_Update
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
public virtual Azure.Response<Azure.ResourceManager.Workloads.SapMonitorResource> Update (Azure.ResourceManager.Workloads.Models.SapMonitorPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Workloads.Models.SapMonitorPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Workloads.SapMonitorResource>
override this.Update : Azure.ResourceManager.Workloads.Models.SapMonitorPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Workloads.SapMonitorResource>
Public Overridable Function Update (patch As SapMonitorPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SapMonitorResource)

Parameters

patch
SapMonitorPatch

The Update SAP workload monitor request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to