DataConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a data connection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.DataConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.Kusto.IDataConnectionsOperations operations, string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, Microsoft.Azure.Management.Kusto.Models.DataConnection parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Kusto.IDataConnectionsOperations * string * string * string * string * Microsoft.Azure.Management.Kusto.Models.DataConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.DataConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDataConnectionsOperations, resourceGroupName As String, clusterName As String, databaseName As String, dataConnectionName As String, parameters As DataConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataConnection)

Parameters

operations
IDataConnectionsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group containing the Kusto cluster.

clusterName
System.String

The name of the Kusto cluster.

databaseName
System.String

The name of the database in the Kusto cluster.

dataConnectionName
System.String

The name of the data connection.

parameters
DataConnection

The data connection parameters supplied to the CreateOrUpdate operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<DataConnection>

Applies to