共用方式為


DatabasesOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a database.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.Database> BeginCreateOrUpdateAsync (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 BeginCreateOrUpdateAsync : 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 BeginCreateOrUpdateAsync (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
String

The name of the resource group containing the Kusto cluster.

clusterName
String

The name of the Kusto cluster.

databaseName
String

The name of the database in the Kusto cluster.

parameters
Database

The database parameters supplied to the CreateOrUpdate operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to