Interface SqlPoolSensitivityLabels
-
public interface SqlPoolSensitivityLabels
Resource collection API of SqlPoolSensitivityLabels.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SensitivityLabel.DefinitionStages.Blank
define()
Begins definition for a new SensitivityLabel resource.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.void
deleteById(String id)
Deletes the sensitivity label of a given column in a Sql pool.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes the sensitivity label of a given column in a Sql pool.com.azure.core.http.rest.Response<Void>
deleteWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, com.azure.core.util.Context context)
Deletes the sensitivity label of a given column in a Sql pool.void
disableRecommendation(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName)
Disables sensitivity recommendations on a given column.com.azure.core.http.rest.Response<Void>
disableRecommendationWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, com.azure.core.util.Context context)
Disables sensitivity recommendations on a given column.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).com.azure.core.http.rest.Response<Void>
enableRecommendationWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, com.azure.core.util.Context context)
Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns).SensitivityLabel
get(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource)
Gets the sensitivity label of a given column.com.azure.core.http.rest.Response<SensitivityLabel>
getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource, com.azure.core.util.Context context)
Gets the sensitivity label of a given column.com.azure.core.http.rest.PagedIterable<SensitivityLabel>
listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName)
Gets SQL pool sensitivity labels.com.azure.core.http.rest.PagedIterable<SensitivityLabel>
listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName, String filter, com.azure.core.util.Context context)
Gets SQL pool sensitivity labels.com.azure.core.http.rest.PagedIterable<SensitivityLabel>
listRecommended(String resourceGroupName, String workspaceName, String sqlPoolName)
Gets sensitivity labels of a given SQL pool.com.azure.core.http.rest.PagedIterable<SensitivityLabel>
listRecommended(String resourceGroupName, String workspaceName, String sqlPoolName, Boolean includeDisabledRecommendations, String skipToken, String filter, com.azure.core.util.Context context)
Gets sensitivity labels of a given SQL pool.void
update(String resourceGroupName, String workspaceName, String sqlPoolName, SensitivityLabelUpdateList parameters)
Update sensitivity labels of a given SQL Pool using an operations batch.com.azure.core.http.rest.Response<Void>
updateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, SensitivityLabelUpdateList parameters, com.azure.core.util.Context context)
Update sensitivity labels of a given SQL Pool using an operations batch.
-
-
-
Method Detail
-
listCurrent
com.azure.core.http.rest.PagedIterable<SensitivityLabel> listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName)
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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listCurrent
com.azure.core.http.rest.PagedIterable<SensitivityLabel> listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName, String filter, com.azure.core.util.Context context)
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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<Void> updateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, SensitivityLabelUpdateList parameters, com.azure.core.util.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:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRecommended
com.azure.core.http.rest.PagedIterable<SensitivityLabel> listRecommended(String resourceGroupName, String workspaceName, String sqlPoolName)
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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRecommended
com.azure.core.http.rest.PagedIterable<SensitivityLabel> listRecommended(String resourceGroupName, String workspaceName, String sqlPoolName, Boolean includeDisabledRecommendations, String skipToken, String filter, com.azure.core.util.Context context)
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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, com.azure.core.util.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:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<SensitivityLabel> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
enableRecommendation
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
enableRecommendationWithResponse
com.azure.core.http.rest.Response<Void> enableRecommendationWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, com.azure.core.util.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:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
disableRecommendation
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
disableRecommendationWithResponse
com.azure.core.http.rest.Response<Void> disableRecommendationWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, com.azure.core.util.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:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
void deleteById(String id)
Deletes the sensitivity label of a given column in a Sql pool.- Parameters:
id
- the resource ID.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.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:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
define
SensitivityLabel.DefinitionStages.Blank define()
Begins definition for a new SensitivityLabel resource.- Returns:
- the first stage of the new SensitivityLabel definition.
-
-