Udostępnij za pośrednictwem


ManagedGrafanaResource.Update(ManagedGrafanaPatch, CancellationToken) 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 Azure.Response<Azure.ResourceManager.Grafana.ManagedGrafanaResource> Update (Azure.ResourceManager.Grafana.Models.ManagedGrafanaPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Grafana.Models.ManagedGrafanaPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Grafana.ManagedGrafanaResource>
override this.Update : Azure.ResourceManager.Grafana.Models.ManagedGrafanaPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Grafana.ManagedGrafanaResource>
Public Overridable Function Update (patch As ManagedGrafanaPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedGrafanaResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to