Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Disable-AzSqlDatabaseSensitivityRecommendation
- Module:
- Az.Sql Module
Disables (dismisses) sensitivity recommendations on columns in the database.
Syntax
InputObjectParameterSet (Default)
Disable-AzSqlDatabaseSensitivityRecommendation
-InputObject <SqlDatabaseSensitivityClassificationModel>
[-PassThru]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ColumnParameterSet
Disable-AzSqlDatabaseSensitivityRecommendation
[-ResourceGroupName] <String>
[-ServerName] <String>
[-DatabaseName] <String>
-SchemaName <String>
-TableName <String>
-ColumnName <String>
[-PassThru]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
DatabaseObjectColumnParameterSet
Disable-AzSqlDatabaseSensitivityRecommendation
-DatabaseObject <AzureSqlDatabaseModel>
-SchemaName <String>
-TableName <String>
-ColumnName <String>
[-PassThru]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Disable-AzSqlDatabaseSensitivityRecommendation cmdlet disables (dismisses) sensitivity recommendations on columns in the database.
Examples
Example 1: Disable sensitivity recommendations on a given column in an Azure SQL Database.
Disable-AzSqlDatabaseSensitivityRecommendation -ResourceGroupName resourceGroup -ServerName server -DatabaseName database -SchemaName schema -TableName table -ColumnName column
Example 2: Disable sensitivity recommendations on columns which have sensitivity recommendations in an Azure SQL database using Piping.
Get-AzSqlDatabaseSensitivityRecommendation -ResourceGroupName resourceGroup -ServerName server -DatabaseName database | Disable-AzSqlDatabaseSensitivityRecommendation
Example 3: Disable sensitivity recommendations on a given column in an Azure SQL database using Piping.
Get-AzSqlDatabase -ResourceGroupName resourceGroup -ServerName server -DatabaseName database | Disable-AzSqlDatabaseSensitivityRecommendation -SchemaName schema -TableName table -ColumnName column
Parameters
-AsJob
Run cmdlet in the background
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-ColumnName
Name of column.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | cf |
Parameter sets
-DatabaseName
The name of the Azure SQL database.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-DatabaseObject
The SQL database object.
Parameter properties
| Type: | AzureSqlDatabaseModel |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
-InputObject
An object representing a SQL Database Sensitivity Classification.
Parameter properties
| Type: | SqlDatabaseSensitivityClassificationModel |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | ClassificationObject |
Parameter sets
-PassThru
Specifies whether to output the sensitivity classification model at end of cmdlet execution
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-ResourceGroupName
The name of the resource group.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-SchemaName
Name of schema.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-ServerName
SQL server name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-TableName
Name of table.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | wi |
Parameter sets
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
SqlDatabaseSensitivityClassificationModel
Outputs
Boolean
Related Links
Azure PowerShell
Feedback
Was this page helpful?
