Share via


WorkbooksOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create a new workbook.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.Workbook> CreateOrUpdateAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IWorkbooksOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.ApplicationInsights.Management.Models.Workbook workbookProperties, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IWorkbooksOperations * string * string * Microsoft.Azure.Management.ApplicationInsights.Management.Models.Workbook * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.Workbook>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IWorkbooksOperations, resourceGroupName As String, resourceName As String, workbookProperties As Workbook, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Workbook)

Parameters

operations
IWorkbooksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the Application Insights component resource.

workbookProperties
Workbook

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to