Share via


DataExportsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a data export.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.DataExport> CreateOrUpdateAsync (this Microsoft.Azure.Management.OperationalInsights.IDataExportsOperations operations, string resourceGroupName, string workspaceName, string dataExportName, Microsoft.Azure.Management.OperationalInsights.Models.DataExport parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.OperationalInsights.IDataExportsOperations * string * string * string * Microsoft.Azure.Management.OperationalInsights.Models.DataExport * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.DataExport>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDataExportsOperations, resourceGroupName As String, workspaceName As String, dataExportName As String, parameters As DataExport, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataExport)

Parameters

operations
IDataExportsOperations

The operations group for this extension method.

resourceGroupName
String

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

workspaceName
String

The name of the workspace.

dataExportName
String

The data export rule name.

parameters
DataExport

The parameters required to create or update a data export.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to