Share via


ManagedGrafanaResource.UpdateAsync Method

Definition

Update a workspace for Grafana resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}
  • Operation Id: Grafana_Update
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