Share via


NewRelicMonitorResource.Update Method

Definition

Overloads

Update(NewRelicMonitorResourcePatch, CancellationToken)

Update a NewRelicMonitorResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}
  • Operation Id: Monitors_Update
  • Default Api Version: 2022-07-01
  • Resource: NewRelicMonitorResource
Update(WaitUntil, NewRelicMonitorResourcePatch, CancellationToken)

Update a NewRelicMonitorResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}
  • Operation Id: Monitors_Update
  • Default Api Version: 2024-03-01
  • Resource: NewRelicMonitorResource

Update(NewRelicMonitorResourcePatch, CancellationToken)

Source:
NewRelicMonitorResource.cs

Update a NewRelicMonitorResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}
  • Operation Id: Monitors_Update
  • Default Api Version: 2022-07-01
  • Resource: NewRelicMonitorResource
public virtual Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource> Update (Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch patch, System.Threading.CancellationToken cancellationToken);
abstract member Update : Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>
override this.Update : Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>
Public Overridable Function Update (patch As NewRelicMonitorResourcePatch, cancellationToken As CancellationToken) As Response(Of NewRelicMonitorResource)

Parameters

patch
NewRelicMonitorResourcePatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to

Update(WaitUntil, NewRelicMonitorResourcePatch, CancellationToken)

Source:
NewRelicMonitorResource.cs

Update a NewRelicMonitorResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}
  • Operation Id: Monitors_Update
  • Default Api Version: 2024-03-01
  • Resource: NewRelicMonitorResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>
Public Overridable Function Update (waitUntil As WaitUntil, patch As NewRelicMonitorResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of NewRelicMonitorResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

patch
NewRelicMonitorResourcePatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to