SqlPoolSensitivityLabelsClient Interface

public interface SqlPoolSensitivityLabelsClient

An instance of this class provides access to all the operations defined in SqlPoolSensitivityLabelsClient.

Method Summary

Modifier and Type Method and Description
abstract SensitivityLabelInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters)

Creates or updates the sensitivity label of a given column in a Sql pool.

abstract Response<SensitivityLabelInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters, Context context)

Creates or updates the sensitivity label of a given column in a Sql pool.

abstract void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName)

Deletes the sensitivity label of a given column in a Sql pool.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, Context context)

Deletes the sensitivity label of a given column in a Sql pool.

abstract void disableRecommendation(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName)

Disables sensitivity recommendations on a given column.

abstract Response<Void> disableRecommendationWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, Context context)

Disables sensitivity recommendations on a given column.

abstract void enableRecommendation(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName)

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

abstract Response<Void> enableRecommendationWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, Context context)

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

abstract SensitivityLabelInner get(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource)

Gets the sensitivity label of a given column.

abstract Response<SensitivityLabelInner> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource, Context context)

Gets the sensitivity label of a given column.

abstract PagedIterable<SensitivityLabelInner> listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName)

Gets SQL pool sensitivity labels

abstract PagedIterable<SensitivityLabelInner> listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName, String filter, Context context)

Gets SQL pool sensitivity labels

abstract PagedIterable<SensitivityLabelInner> listRecommended(String resourceGroupName, String workspaceName, String sqlPoolName)

Gets sensitivity labels of a given SQL pool

abstract PagedIterable<SensitivityLabelInner> listRecommended(String resourceGroupName, String workspaceName, String sqlPoolName, Boolean includeDisabledRecommendations, String skipToken, String filter, Context context)

Gets sensitivity labels of a given SQL pool

abstract void update(String resourceGroupName, String workspaceName, String sqlPoolName, SensitivityLabelUpdateList parameters)

Update sensitivity labels of a given SQL Pool using an operations batch.

abstract Response<Void> updateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, SensitivityLabelUpdateList parameters, Context context)

Update sensitivity labels of a given SQL Pool using an operations batch.

Method Details

createOrUpdate

public abstract SensitivityLabelInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters)

Creates or updates the sensitivity label of a given column in a Sql pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
schemaName - The name of the schema.
tableName - The name of the table.
columnName - The name of the column.
parameters - The column sensitivity label resource.

Returns:

a sensitivity label.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters, Context context)

Creates or updates the sensitivity label of a given column in a Sql pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
schemaName - The name of the schema.
tableName - The name of the table.
columnName - The name of the column.
parameters - The column sensitivity label resource.
context - The context to associate with this operation.

Returns:

a sensitivity label along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName)

Deletes the sensitivity label of a given column in a Sql pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
schemaName - The name of the schema.
tableName - The name of the table.
columnName - The name of the column.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, Context context)

Deletes the sensitivity label of a given column in a Sql pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
schemaName - The name of the schema.
tableName - The name of the table.
columnName - The name of the column.
context - The context to associate with this operation.

Returns:

disableRecommendation

public abstract void disableRecommendation(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName)

Disables sensitivity recommendations on a given column.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
schemaName - The name of the schema.
tableName - The name of the table.
columnName - The name of the column.

disableRecommendationWithResponse

public abstract Response disableRecommendationWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, Context context)

Disables sensitivity recommendations on a given column.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
schemaName - The name of the schema.
tableName - The name of the table.
columnName - The name of the column.
context - The context to associate with this operation.

Returns:

enableRecommendation

public abstract void enableRecommendation(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
schemaName - The name of the schema.
tableName - The name of the table.
columnName - The name of the column.

enableRecommendationWithResponse

public abstract Response enableRecommendationWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
schemaName - The name of the schema.
tableName - The name of the table.
columnName - The name of the column.
context - The context to associate with this operation.

Returns:

get

public abstract SensitivityLabelInner get(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource)

Gets the sensitivity label of a given column.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
schemaName - The name of the schema.
tableName - The name of the table.
columnName - The name of the column.
sensitivityLabelSource - The source of the sensitivity label.

Returns:

the sensitivity label of a given column.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource, Context context)

Gets the sensitivity label of a given column.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
schemaName - The name of the schema.
tableName - The name of the table.
columnName - The name of the column.
sensitivityLabelSource - The source of the sensitivity label.
context - The context to associate with this operation.

Returns:

the sensitivity label of a given column along with Response<T>.

listCurrent

public abstract PagedIterable listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName)

Gets SQL pool sensitivity labels

Gets SQL pool sensitivity labels.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.

Returns:

sQL pool sensitivity labels as paginated response with PagedIterable<T>.

listCurrent

public abstract PagedIterable listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName, String filter, Context context)

Gets SQL pool sensitivity labels

Gets SQL pool sensitivity labels.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
filter - An OData filter expression that filters elements in the collection.
context - The context to associate with this operation.

Returns:

sQL pool sensitivity labels as paginated response with PagedIterable<T>.

listRecommended

public abstract PagedIterable listRecommended(String resourceGroupName, String workspaceName, String sqlPoolName)

Gets sensitivity labels of a given SQL pool

Gets sensitivity labels of a given SQL pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.

Returns:

sensitivity labels of a given SQL pool as paginated response with PagedIterable<T>.

listRecommended

public abstract PagedIterable listRecommended(String resourceGroupName, String workspaceName, String sqlPoolName, Boolean includeDisabledRecommendations, String skipToken, String filter, Context context)

Gets sensitivity labels of a given SQL pool

Gets sensitivity labels of a given SQL pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
includeDisabledRecommendations - Specifies whether to include disabled recommendations or not.
skipToken - An OData query option to indicate how many elements to skip in the collection.
filter - An OData filter expression that filters elements in the collection.
context - The context to associate with this operation.

Returns:

sensitivity labels of a given SQL pool as paginated response with PagedIterable<T>.

update

public abstract void update(String resourceGroupName, String workspaceName, String sqlPoolName, SensitivityLabelUpdateList parameters)

Update sensitivity labels of a given SQL Pool using an operations batch.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
parameters - A list of sensitivity label update operations.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, SensitivityLabelUpdateList parameters, Context context)

Update sensitivity labels of a given SQL Pool using an operations batch.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
parameters - A list of sensitivity label update operations.
context - The context to associate with this operation.

Returns:

Applies to