WorkbookResource.Update(WorkbookPatch, String, CancellationToken) 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: 2022-04-01
  • Resource: WorkbookResource
public virtual Azure.Response<Azure.ResourceManager.ApplicationInsights.WorkbookResource> Update (Azure.ResourceManager.ApplicationInsights.Models.WorkbookPatch patch, string sourceId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ApplicationInsights.Models.WorkbookPatch * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.WorkbookResource>
override this.Update : Azure.ResourceManager.ApplicationInsights.Models.WorkbookPatch * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.WorkbookResource>
Public Overridable Function Update (patch As WorkbookPatch, Optional sourceId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of WorkbookResource)

Parameters

patch
WorkbookPatch

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