DatabasePrincipalAssignments interface
Interface representing a DatabasePrincipalAssignments.
Methods
Method Details
beginCreateOrUpdate(string, string, string, string, DatabasePrincipalAssignment, DatabasePrincipalAssignmentsCreateOrUpdateOptionalParams)
Creates a Kusto cluster database principalAssignment.
function beginCreateOrUpdate(resourceGroupName: string, clusterName: string, databaseName: string, principalAssignmentName: string, parameters: DatabasePrincipalAssignment, options?: DatabasePrincipalAssignmentsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatabasePrincipalAssignment>, DatabasePrincipalAssignment>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DatabasePrincipalAssignment>, DatabasePrincipalAssignment>>
beginCreateOrUpdateAndWait(string, string, string, string, DatabasePrincipalAssignment, DatabasePrincipalAssignmentsCreateOrUpdateOptionalParams)
Creates a Kusto cluster database principalAssignment.
function beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, principalAssignmentName: string, parameters: DatabasePrincipalAssignment, options?: DatabasePrincipalAssignmentsCreateOrUpdateOptionalParams): Promise<DatabasePrincipalAssignment>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<DatabasePrincipalAssignment>
beginDelete(string, string, string, string, DatabasePrincipalAssignmentsDeleteOptionalParams)
Deletes a Kusto principalAssignment.
function beginDelete(resourceGroupName: string, clusterName: string, databaseName: string, principalAssignmentName: string, options?: DatabasePrincipalAssignmentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, DatabasePrincipalAssignmentsDeleteOptionalParams)
Deletes a Kusto principalAssignment.
function beginDeleteAndWait(resourceGroupName: string, clusterName: string, databaseName: string, principalAssignmentName: string, options?: DatabasePrincipalAssignmentsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<void>
checkNameAvailability(string, string, string, DatabasePrincipalAssignmentCheckNameRequest, DatabasePrincipalAssignmentsCheckNameAvailabilityOptionalParams)
Checks that the database principal assignment is valid and is not already in use.
function checkNameAvailability(resourceGroupName: string, clusterName: string, databaseName: string, principalAssignmentName: DatabasePrincipalAssignmentCheckNameRequest, options?: DatabasePrincipalAssignmentsCheckNameAvailabilityOptionalParams): Promise<CheckNameResult>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- principalAssignmentName
- DatabasePrincipalAssignmentCheckNameRequest
The name of the resource.
The options parameters.
Returns
Promise<CheckNameResult>
get(string, string, string, string, DatabasePrincipalAssignmentsGetOptionalParams)
Gets a Kusto cluster database principalAssignment.
function get(resourceGroupName: string, clusterName: string, databaseName: string, principalAssignmentName: string, options?: DatabasePrincipalAssignmentsGetOptionalParams): Promise<DatabasePrincipalAssignment>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<DatabasePrincipalAssignment>
list(string, string, string, DatabasePrincipalAssignmentsListOptionalParams)
Lists all Kusto cluster database principalAssignments.
function list(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasePrincipalAssignmentsListOptionalParams): PagedAsyncIterableIterator<DatabasePrincipalAssignment, DatabasePrincipalAssignment[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
The options parameters.