ManagedDatabaseSensitivityLabels interface

Interface representing a ManagedDatabaseSensitivityLabels.

Methods

createOrUpdate(string, string, string, string, string, string, SensitivityLabel, ManagedDatabaseSensitivityLabelsCreateOrUpdateOptionalParams)

Creates or updates the sensitivity label of a given column

delete(string, string, string, string, string, string, ManagedDatabaseSensitivityLabelsDeleteOptionalParams)

Deletes the sensitivity label of a given column

disableRecommendation(string, string, string, string, string, string, ManagedDatabaseSensitivityLabelsDisableRecommendationOptionalParams)

Disables sensitivity recommendations on a given column

enableRecommendation(string, string, string, string, string, string, ManagedDatabaseSensitivityLabelsEnableRecommendationOptionalParams)

Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns)

get(string, string, string, string, string, string, SensitivityLabelSource, ManagedDatabaseSensitivityLabelsGetOptionalParams)

Gets the sensitivity label of a given column

listCurrentByDatabase(string, string, string, ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams)

Gets the sensitivity labels of a given database

listRecommendedByDatabase(string, string, string, ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams)

Gets the sensitivity labels of a given database

update(string, string, string, SensitivityLabelUpdateList, ManagedDatabaseSensitivityLabelsUpdateOptionalParams)

Update sensitivity labels of a given database using an operations batch.

Method Details

createOrUpdate(string, string, string, string, string, string, SensitivityLabel, ManagedDatabaseSensitivityLabelsCreateOrUpdateOptionalParams)

Creates or updates the sensitivity label of a given column

function createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, parameters: SensitivityLabel, options?: ManagedDatabaseSensitivityLabelsCreateOrUpdateOptionalParams): Promise<SensitivityLabel>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the database.

schemaName

string

The name of the schema.

tableName

string

The name of the table.

columnName

string

The name of the column.

parameters
SensitivityLabel

The column sensitivity label resource.

Returns

Promise<SensitivityLabel>

delete(string, string, string, string, string, string, ManagedDatabaseSensitivityLabelsDeleteOptionalParams)

Deletes the sensitivity label of a given column

function delete(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: ManagedDatabaseSensitivityLabelsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the database.

schemaName

string

The name of the schema.

tableName

string

The name of the table.

columnName

string

The name of the column.

Returns

Promise<void>

disableRecommendation(string, string, string, string, string, string, ManagedDatabaseSensitivityLabelsDisableRecommendationOptionalParams)

Disables sensitivity recommendations on a given column

function disableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: ManagedDatabaseSensitivityLabelsDisableRecommendationOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the database.

schemaName

string

The name of the schema.

tableName

string

The name of the table.

columnName

string

The name of the column.

Returns

Promise<void>

enableRecommendation(string, string, string, string, string, string, ManagedDatabaseSensitivityLabelsEnableRecommendationOptionalParams)

Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns)

function enableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: ManagedDatabaseSensitivityLabelsEnableRecommendationOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the database.

schemaName

string

The name of the schema.

tableName

string

The name of the table.

columnName

string

The name of the column.

Returns

Promise<void>

get(string, string, string, string, string, string, SensitivityLabelSource, ManagedDatabaseSensitivityLabelsGetOptionalParams)

Gets the sensitivity label of a given column

function get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, sensitivityLabelSource: SensitivityLabelSource, options?: ManagedDatabaseSensitivityLabelsGetOptionalParams): Promise<SensitivityLabel>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the database.

schemaName

string

The name of the schema.

tableName

string

The name of the table.

columnName

string

The name of the column.

sensitivityLabelSource
SensitivityLabelSource

The source of the sensitivity label.

options
ManagedDatabaseSensitivityLabelsGetOptionalParams

The options parameters.

Returns

Promise<SensitivityLabel>

listCurrentByDatabase(string, string, string, ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams)

Gets the sensitivity labels of a given database

function listCurrentByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams): PagedAsyncIterableIterator<SensitivityLabel, SensitivityLabel[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the database.

Returns

listRecommendedByDatabase(string, string, string, ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams)

Gets the sensitivity labels of a given database

function listRecommendedByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams): PagedAsyncIterableIterator<SensitivityLabel, SensitivityLabel[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the database.

Returns

update(string, string, string, SensitivityLabelUpdateList, ManagedDatabaseSensitivityLabelsUpdateOptionalParams)

Update sensitivity labels of a given database using an operations batch.

function update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: SensitivityLabelUpdateList, options?: ManagedDatabaseSensitivityLabelsUpdateOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the database.

parameters
SensitivityLabelUpdateList

A list of sensitivity label update operations.

Returns

Promise<void>