SqlPoolSensitivityLabels Interface

public interface SqlPoolSensitivityLabels

Resource collection API of SqlPoolSensitivityLabels.

Method Summary

Modifier and Type Method and Description
abstract Blank define()

Begins definition for a new SensitivityLabel resource.

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 void deleteById(String id)

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

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

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 SensitivityLabel 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<SensitivityLabel> 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<SensitivityLabel> listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName)

Gets SQL pool sensitivity labels Gets SQL pool sensitivity labels.

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

Gets SQL pool sensitivity labels Gets SQL pool sensitivity labels.

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

Gets sensitivity labels of a given SQL pool Gets sensitivity labels of a given SQL pool.

abstract PagedIterable<SensitivityLabel> 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.

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

define

public abstract SensitivityLabel.DefinitionStages.Blank define()

Begins definition for a new SensitivityLabel resource.

Returns:

the first stage of the new SensitivityLabel definition.

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.

deleteById

public abstract void deleteById(String id)

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

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

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

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteWithResponse

public 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.

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<Void> 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<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).

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 SensitivityLabel 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<SensitivityLabel> 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<SensitivityLabel> 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<SensitivityLabel> 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<SensitivityLabel> 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<SensitivityLabel> 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 - The parameters parameter.

updateWithResponse

public 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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
parameters - The parameters parameter.
context - The context to associate with this operation.

Returns:

Applies to