Share via


ManagedGrafanaResource.UpdateAsync Method

Definition

Overloads

Name Description
UpdateAsync(ManagedGrafanaPatch, CancellationToken)

Update a workspace for Grafana resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}
  • Operation Id: ManagedGrafana_Update
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedGrafanaResource
UpdateAsync(WaitUntil, ManagedGrafanaPatch, CancellationToken)

Update a workspace for Grafana resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}
  • Operation Id: ManagedGrafana_Update
  • Default Api Version: 2025-08-01
  • Resource: ManagedGrafanaResource

UpdateAsync(ManagedGrafanaPatch, CancellationToken)

Source:
ManagedGrafanaResource.cs

Update a workspace for Grafana resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}
  • Operation Id: ManagedGrafana_Update
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedGrafanaResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Grafana.ManagedGrafanaResource>> UpdateAsync(Azure.ResourceManager.Grafana.Models.ManagedGrafanaPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Grafana.Models.ManagedGrafanaPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Grafana.ManagedGrafanaResource>>
override this.UpdateAsync : Azure.ResourceManager.Grafana.Models.ManagedGrafanaPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Grafana.ManagedGrafanaResource>>
Public Overridable Function UpdateAsync (patch As ManagedGrafanaPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedGrafanaResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to

UpdateAsync(WaitUntil, ManagedGrafanaPatch, CancellationToken)

Source:
ManagedGrafanaResource.cs

Update a workspace for Grafana resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}
  • Operation Id: ManagedGrafana_Update
  • Default Api Version: 2025-08-01
  • Resource: ManagedGrafanaResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Grafana.ManagedGrafanaResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.Grafana.Models.ManagedGrafanaPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Grafana.Models.ManagedGrafanaPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Grafana.ManagedGrafanaResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Grafana.Models.ManagedGrafanaPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Grafana.ManagedGrafanaResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As ManagedGrafanaPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ManagedGrafanaResource))

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.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to