ManagedGrafanaResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- patch
- ManagedGrafanaPatch
The ManagedGrafanaPatch to use.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.