Interface ManagedDatabaseSensitivityLabelsClient


public interface ManagedDatabaseSensitivityLabelsClient
An instance of this class provides access to all the operations defined in ManagedDatabaseSensitivityLabelsClient.
  • Method Details

    • listCurrentByDatabaseAsync

      com.azure.core.http.rest.PagedFlux<SensitivityLabelInner> listCurrentByDatabaseAsync(String resourceGroupName, String managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      databaseName - The name of the database.
      parameters - The parameters parameter.
      Returns:
      the Response 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.
    • updateAsync

      Mono<Void> updateAsync(String resourceGroupName, String managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      databaseName - The name of the database.
      parameters - The parameters parameter.
      Returns:
      A Mono that 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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      databaseName - The name of the database.
      parameters - The parameters parameter.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      databaseName - The name of the database.
      parameters - The parameters parameter.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 Response 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.
    • getAsync

      Mono<SensitivityLabelInner> getAsync(String resourceGroupName, String managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 Response 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.
    • createOrUpdateAsync

      Mono<SensitivityLabelInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 Response 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 Mono that 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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 Response 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.
    • disableRecommendationAsync

      Mono<Void> disableRecommendationAsync(String resourceGroupName, String managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 Mono that 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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 Response 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.
    • enableRecommendationAsync

      Mono<Void> enableRecommendationAsync(String resourceGroupName, String managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 Mono that 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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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 managedInstanceName, 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.
      managedInstanceName - The name of the managed instance.
      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.