@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.1 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets the sensitivity label of a given column
*
* Uses Azure REST API version 2021-06-01.
*
* Other available API versions: 2021-04-01-preview, 2021-05-01, 2021-06-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 getSqlPoolSensitivityLabel(args: GetSqlPoolSensitivityLabelArgs, opts?: pulumi.InvokeOptions): Promise<GetSqlPoolSensitivityLabelResult>;
export interface GetSqlPoolSensitivityLabelArgs {
/**
* The name of the column.
*/
columnName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the schema.
*/
schemaName: string;
/**
* The source of the sensitivity label.
*/
sensitivityLabelSource: string;
/**
* SQL pool name
*/
sqlPoolName: string;
/**
* The name of the table.
*/
tableName: string;
/**
* The name of the workspace.
*/
workspaceName: string;
}
/**
* A sensitivity label.
*/
export interface GetSqlPoolSensitivityLabelResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The column name.
*/
readonly columnName: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The information type.
*/
readonly informationType?: string;
/**
* The information type ID.
*/
readonly informationTypeId?: string;
/**
* Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
*/
readonly isDisabled: boolean;
/**
* The label ID.
*/
readonly labelId?: string;
/**
* The label name.
*/
readonly labelName?: string;
/**
* managed by
*/
readonly managedBy: string;
/**
* The name of the resource
*/
readonly name: string;
readonly rank?: string;
/**
* The schema name.
*/
readonly schemaName: string;
/**
* The table name.
*/
readonly tableName: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Gets the sensitivity label of a given column
*
* Uses Azure REST API version 2021-06-01.
*
* Other available API versions: 2021-04-01-preview, 2021-05-01, 2021-06-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 getSqlPoolSensitivityLabelOutput(args: GetSqlPoolSensitivityLabelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSqlPoolSensitivityLabelResult>;
export interface GetSqlPoolSensitivityLabelOutputArgs {
/**
* The name of the column.
*/
columnName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the schema.
*/
schemaName: pulumi.Input<string>;
/**
* The source of the sensitivity label.
*/
sensitivityLabelSource: pulumi.Input<string>;
/**
* SQL pool name
*/
sqlPoolName: pulumi.Input<string>;
/**
* The name of the table.
*/
tableName: pulumi.Input<string>;
/**
* The name of the workspace.
*/
workspaceName: pulumi.Input<string>;
}