Aracılığıyla paylaş


DatabasePrincipalAssignmentsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates a Kusto cluster database principalAssignment.

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

Parameters

operations
IDatabasePrincipalAssignmentsOperations

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.

principalAssignmentName
String

The name of the Kusto principalAssignment.

parameters
DatabasePrincipalAssignment

The Kusto principalAssignments parameters supplied for the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to