public interface SqlPoolSensitivityLabels
Modifier and Type | Method and 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.
|
com.azure.core.http.rest.PagedIterable<SensitivityLabel> listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.com.azure.core.http.rest.PagedIterable<SensitivityLabel> listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName, String filter, com.azure.core.util.Context context)
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.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.void update(String resourceGroupName, String workspaceName, String sqlPoolName, SensitivityLabelUpdateList 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.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.com.azure.core.http.rest.Response<Void> updateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, SensitivityLabelUpdateList parameters, com.azure.core.util.Context context)
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.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.com.azure.core.http.rest.PagedIterable<SensitivityLabel> listRecommended(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.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)
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.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.void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName)
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.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.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)
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.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.SensitivityLabel get(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource)
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.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.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)
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.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.void enableRecommendation(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName)
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.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.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)
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.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.void disableRecommendation(String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName, String columnName)
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.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.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)
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.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.void deleteById(String id)
id
- the resource ID.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.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.SensitivityLabel.DefinitionStages.Blank define()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.