@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.84 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a Kusto pool principalAssignment.
*
* Uses Azure REST API version 2021-06-01-preview.
*
* Other available API versions: 2021-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native synapse [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getKustoPoolPrincipalAssignment(args: GetKustoPoolPrincipalAssignmentArgs, opts?: pulumi.InvokeOptions): Promise<GetKustoPoolPrincipalAssignmentResult>;
export interface GetKustoPoolPrincipalAssignmentArgs {
/**
* The name of the Kusto pool.
*/
kustoPoolName: string;
/**
* The name of the Kusto principalAssignment.
*/
principalAssignmentName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the workspace.
*/
workspaceName: string;
}
/**
* Class representing a cluster principal assignment.
*/
export interface GetKustoPoolPrincipalAssignmentResult {
/**
* The service principal object id in AAD (Azure active directory)
*/
readonly aadObjectId: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.
*/
readonly principalId: string;
/**
* The principal name
*/
readonly principalName: string;
/**
* Principal type.
*/
readonly principalType: string;
/**
* The provisioned state of the resource.
*/
readonly provisioningState: string;
/**
* Cluster principal role.
*/
readonly role: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.synapse.SystemDataResponse;
/**
* The tenant id of the principal
*/
readonly tenantId?: string;
/**
* The tenant name of the principal
*/
readonly tenantName: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Gets a Kusto pool principalAssignment.
*
* Uses Azure REST API version 2021-06-01-preview.
*
* Other available API versions: 2021-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native synapse [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getKustoPoolPrincipalAssignmentOutput(args: GetKustoPoolPrincipalAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetKustoPoolPrincipalAssignmentResult>;
export interface GetKustoPoolPrincipalAssignmentOutputArgs {
/**
* The name of the Kusto pool.
*/
kustoPoolName: pulumi.Input<string>;
/**
* The name of the Kusto principalAssignment.
*/
principalAssignmentName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the workspace.
*/
workspaceName: pulumi.Input<string>;
}