ApplicationInsightsWorkbookResource.UpdateAsync Method

Definition

Updates a workbook that has already been added.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}
  • Operation Id: Workbooks_Update
  • Default Api Version: 2023-06-01
  • Resource: ApplicationInsightsWorkbookResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookResource>> UpdateAsync (Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsWorkbookPatch patch, string sourceId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsWorkbookPatch * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookResource>>
override this.UpdateAsync : Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsWorkbookPatch * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookResource>>
Public Overridable Function UpdateAsync (patch As ApplicationInsightsWorkbookPatch, Optional sourceId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationInsightsWorkbookResource))

Parameters

patch
ApplicationInsightsWorkbookPatch

Properties that need to be specified to create a new workbook.

sourceId
String

Azure Resource Id that will fetch all linked workbooks.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to