DatabasesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a database.

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

Parameters

operations
IDatabasesOperations

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.

parameters
Database

The database parameters supplied to the CreateOrUpdate operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Database>

Applies to