Share via


ApplicationInsightsWorkbookTemplateResource.UpdateAsync Method

Definition

Updates a workbook template that has already been added.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Update
  • Default Api Version: 2020-11-20
  • Resource: ApplicationInsightsWorkbookTemplateResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookTemplateResource>> UpdateAsync (Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsWorkbookTemplatePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsWorkbookTemplatePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookTemplateResource>>
override this.UpdateAsync : Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsWorkbookTemplatePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookTemplateResource>>
Public Overridable Function UpdateAsync (patch As ApplicationInsightsWorkbookTemplatePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationInsightsWorkbookTemplateResource))

Parameters

patch
ApplicationInsightsWorkbookTemplatePatch

Properties that need to be specified to patch a workbook template.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to