Udostępnij za pośrednictwem


ClusterPrincipalAssignmentsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create a Kusto cluster principalAssignment.

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

Parameters

operations
IClusterPrincipalAssignmentsOperations

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.

principalAssignmentName
String

The name of the Kusto principalAssignment.

parameters
ClusterPrincipalAssignment

The Kusto cluster principalAssignment's parameters supplied for the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to