Interface SensitivityLabelsClient
public interface SensitivityLabelsClient
An instance of this class provides access to all the operations defined in SensitivityLabelsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters) Creates or updates the sensitivity label of a given column.createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters) Creates or updates the sensitivity label of a given column.com.azure.core.http.rest.Response<SensitivityLabelInner>createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters, com.azure.core.util.Context context) Creates or updates the sensitivity label of a given column.Mono<com.azure.core.http.rest.Response<SensitivityLabelInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters) Creates or updates the sensitivity label of a given column.voiddelete(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Deletes the sensitivity label of a given column.deleteAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Deletes the sensitivity label of a given column.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, com.azure.core.util.Context context) Deletes the sensitivity label of a given column.deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Deletes the sensitivity label of a given column.voiddisableRecommendation(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Disables sensitivity recommendations on a given column.disableRecommendationAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Disables sensitivity recommendations on a given column.com.azure.core.http.rest.Response<Void>disableRecommendationWithResponse(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, com.azure.core.util.Context context) Disables sensitivity recommendations on a given column.disableRecommendationWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Disables sensitivity recommendations on a given column.voidenableRecommendation(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns).enableRecommendationAsync(String resourceGroupName, String serverName, String databaseName, 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 serverName, String databaseName, 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).enableRecommendationWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns).get(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource) Gets the sensitivity label of a given column.getAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource) Gets the sensitivity label of a given column.com.azure.core.http.rest.Response<SensitivityLabelInner>getWithResponse(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource, com.azure.core.util.Context context) Gets the sensitivity label of a given column.Mono<com.azure.core.http.rest.Response<SensitivityLabelInner>>getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource) Gets the sensitivity label of a given column.com.azure.core.http.rest.PagedIterable<SensitivityLabelInner>listByDatabase(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedIterable<SensitivityLabelInner>listByDatabase(String resourceGroupName, String serverName, String databaseName, String filter, com.azure.core.util.Context context) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedFlux<SensitivityLabelInner>listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedFlux<SensitivityLabelInner>listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName, String filter) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedIterable<SensitivityLabelInner>listCurrentByDatabase(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedIterable<SensitivityLabelInner>listCurrentByDatabase(String resourceGroupName, String serverName, String databaseName, String skipToken, Boolean count, String filter, com.azure.core.util.Context context) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedFlux<SensitivityLabelInner>listCurrentByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedFlux<SensitivityLabelInner>listCurrentByDatabaseAsync(String resourceGroupName, String serverName, String databaseName, String skipToken, Boolean count, String filter) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedIterable<SensitivityLabelInner>listRecommendedByDatabase(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedIterable<SensitivityLabelInner>listRecommendedByDatabase(String resourceGroupName, String serverName, String databaseName, String skipToken, Boolean includeDisabledRecommendations, String filter, com.azure.core.util.Context context) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedFlux<SensitivityLabelInner>listRecommendedByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.com.azure.core.http.rest.PagedFlux<SensitivityLabelInner>listRecommendedByDatabaseAsync(String resourceGroupName, String serverName, String databaseName, String skipToken, Boolean includeDisabledRecommendations, String filter) Gets the sensitivity labels of a given database.voidupdate(String resourceGroupName, String serverName, String databaseName, SensitivityLabelUpdateList parameters) Update sensitivity labels of a given database using an operations batch.updateAsync(String resourceGroupName, String serverName, String databaseName, SensitivityLabelUpdateList parameters) Update sensitivity labels of a given database using an operations batch.com.azure.core.http.rest.Response<Void>updateWithResponse(String resourceGroupName, String serverName, String databaseName, SensitivityLabelUpdateList parameters, com.azure.core.util.Context context) Update sensitivity labels of a given database using an operations batch.updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, SensitivityLabelUpdateList parameters) Update sensitivity labels of a given database using an operations batch.
-
Method Details
-
listCurrentByDatabaseAsync
com.azure.core.http.rest.PagedFlux<SensitivityLabelInner> listCurrentByDatabaseAsync(String resourceGroupName, String serverName, String databaseName, String skipToken, Boolean count, String filter) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.skipToken- The skipToken parameter.count- The count parameter.filter- An OData filter expression that filters elements in the collection.- Returns:
- the sensitivity labels of a given database as paginated response with
PagedFlux. - 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.
-
listCurrentByDatabaseAsync
com.azure.core.http.rest.PagedFlux<SensitivityLabelInner> listCurrentByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.- Returns:
- the sensitivity labels of a given database as paginated response with
PagedFlux. - 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.
-
listCurrentByDatabase
com.azure.core.http.rest.PagedIterable<SensitivityLabelInner> listCurrentByDatabase(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.- Returns:
- the sensitivity labels of a given database 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.
-
listCurrentByDatabase
com.azure.core.http.rest.PagedIterable<SensitivityLabelInner> listCurrentByDatabase(String resourceGroupName, String serverName, String databaseName, String skipToken, Boolean count, String filter, com.azure.core.util.Context context) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.skipToken- The skipToken parameter.count- The count parameter.filter- An OData filter expression that filters elements in the collection.context- The context to associate with this operation.- Returns:
- the sensitivity labels of a given database 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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, SensitivityLabelUpdateList parameters) Update sensitivity labels of a given database using an operations batch.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.parameters- A list of sensitivity label update operations.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
updateAsync
Mono<Void> updateAsync(String resourceGroupName, String serverName, String databaseName, SensitivityLabelUpdateList parameters) Update sensitivity labels of a given database using an operations batch.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.parameters- A list of sensitivity label update operations.- Returns:
- A
Monothat completes when a successful response is received. - 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 serverName, String databaseName, SensitivityLabelUpdateList parameters, com.azure.core.util.Context context) Update sensitivity labels of a given database using an operations batch.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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.
-
update
void update(String resourceGroupName, String serverName, String databaseName, SensitivityLabelUpdateList parameters) Update sensitivity labels of a given database using an operations batch.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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.
-
listRecommendedByDatabaseAsync
com.azure.core.http.rest.PagedFlux<SensitivityLabelInner> listRecommendedByDatabaseAsync(String resourceGroupName, String serverName, String databaseName, String skipToken, Boolean includeDisabledRecommendations, String filter) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.skipToken- The skipToken parameter.includeDisabledRecommendations- Specifies whether to include disabled recommendations or not.filter- An OData filter expression that filters elements in the collection.- Returns:
- the sensitivity labels of a given database as paginated response with
PagedFlux. - 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.
-
listRecommendedByDatabaseAsync
com.azure.core.http.rest.PagedFlux<SensitivityLabelInner> listRecommendedByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.- Returns:
- the sensitivity labels of a given database as paginated response with
PagedFlux. - 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.
-
listRecommendedByDatabase
com.azure.core.http.rest.PagedIterable<SensitivityLabelInner> listRecommendedByDatabase(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.- Returns:
- the sensitivity labels of a given database 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.
-
listRecommendedByDatabase
com.azure.core.http.rest.PagedIterable<SensitivityLabelInner> listRecommendedByDatabase(String resourceGroupName, String serverName, String databaseName, String skipToken, Boolean includeDisabledRecommendations, String filter, com.azure.core.util.Context context) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.skipToken- The skipToken parameter.includeDisabledRecommendations- Specifies whether to include disabled recommendations or not.filter- An OData filter expression that filters elements in the collection.context- The context to associate with this operation.- Returns:
- the sensitivity labels of a given database 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<SensitivityLabelInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource) Gets the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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 along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<SensitivityLabelInner> getAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource) Gets the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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 on successful completion of
Mono. - 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<SensitivityLabelInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, 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 that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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.
-
get
SensitivityLabelInner get(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelSource sensitivityLabelSource) Gets the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<SensitivityLabelInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters) Creates or updates the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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 along with
Responseon successful completion ofMono. - 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.
-
createOrUpdateAsync
Mono<SensitivityLabelInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters) Creates or updates the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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 on successful completion of
Mono. - 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SensitivityLabelInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters, com.azure.core.util.Context context) Creates or updates the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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. - 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.
-
createOrUpdate
SensitivityLabelInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName, SensitivityLabelInner parameters) Creates or updates the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Deletes the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.schemaName- The name of the schema.tableName- The name of the table.columnName- The name of the column.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Deletes the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.schemaName- The name of the schema.tableName- The name of the table.columnName- The name of the column.- Returns:
- A
Monothat completes when a successful response is received. - 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 serverName, String databaseName, String schemaName, String tableName, String columnName, com.azure.core.util.Context context) Deletes the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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.
-
delete
void delete(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Deletes the sensitivity label of a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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.
-
disableRecommendationWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> disableRecommendationWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Disables sensitivity recommendations on a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.schemaName- The name of the schema.tableName- The name of the table.columnName- The name of the column.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
disableRecommendationAsync
Mono<Void> disableRecommendationAsync(String resourceGroupName, String serverName, String databaseName, String schemaName, String tableName, String columnName) Disables sensitivity recommendations on a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.schemaName- The name of the schema.tableName- The name of the table.columnName- The name of the column.- Returns:
- A
Monothat completes when a successful response is received. - 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 serverName, String databaseName, 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 that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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 serverName, String databaseName, String schemaName, String tableName, String columnName) Disables sensitivity recommendations on a given column.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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.
-
enableRecommendationWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> enableRecommendationWithResponseAsync(String resourceGroupName, String serverName, String databaseName, 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 that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.schemaName- The name of the schema.tableName- The name of the table.columnName- The name of the column.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
enableRecommendationAsync
Mono<Void> enableRecommendationAsync(String resourceGroupName, String serverName, String databaseName, 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 that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.schemaName- The name of the schema.tableName- The name of the table.columnName- The name of the column.- Returns:
- A
Monothat completes when a successful response is received. - 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 serverName, String databaseName, 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 that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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.
-
enableRecommendation
void enableRecommendation(String resourceGroupName, String serverName, String databaseName, 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 that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.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.
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<SensitivityLabelInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName, String filter) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.filter- An OData filter expression that filters elements in the collection.- Returns:
- the sensitivity labels of a given database as paginated response with
PagedFlux. - 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.
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<SensitivityLabelInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.- Returns:
- the sensitivity labels of a given database as paginated response with
PagedFlux. - 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<SensitivityLabelInner> listByDatabase(String resourceGroupName, String serverName, String databaseName) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.- Returns:
- the sensitivity labels of a given database 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<SensitivityLabelInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, String filter, com.azure.core.util.Context context) Gets the sensitivity labels of a given database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.filter- An OData filter expression that filters elements in the collection.context- The context to associate with this operation.- Returns:
- the sensitivity labels of a given database 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.
-