Share via


MyWorkbookResource.UpdateAsync Method

Definition

Updates a private workbook that has already been added.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}
  • Operation Id: MyWorkbooks_Update
  • Default Api Version: 2021-03-08
  • Resource: MyWorkbookResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.MyWorkbookResource>> UpdateAsync (Azure.ResourceManager.ApplicationInsights.MyWorkbookData data, string sourceId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ApplicationInsights.MyWorkbookData * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.MyWorkbookResource>>
override this.UpdateAsync : Azure.ResourceManager.ApplicationInsights.MyWorkbookData * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.MyWorkbookResource>>
Public Overridable Function UpdateAsync (data As MyWorkbookData, Optional sourceId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MyWorkbookResource))

Parameters

data
MyWorkbookData

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

sourceId
String

Azure Resource Id that will fetch all linked workbooks.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to