2
2
external help file : Microsoft.Azure.PowerShell.Cmdlets.Sql.dll-Help.xml
3
3
Module Name : Az.Sql
4
4
ms.assetid : 14814BF3-51AF-4E51-A8A6-661825BD88D1
5
- online version : https://docs.microsoft.com/en-us/powershell/module/az.sql/remove-azmanageddatabasesensitivityclassification
5
+ online version : https://docs.microsoft.com/en-us/powershell/module/az.sql/remove-azsqlinstancedatabasesensitivityclassification
6
6
schema : 2.0.0
7
7
---
8
8
9
- # Remove-AzManagedDatabaseSensitivityClassification
9
+ # Remove-AzSqlInstanceDatabaseSensitivityClassification
10
10
11
11
## SYNOPSIS
12
+ Removes the classification of columns in the database.
12
13
13
14
## SYNTAX
14
15
15
16
### ColumnParameterSet
16
17
```
17
- Set-AzSqlDatabaseSensitivityClassification [-ResourceGroupName] <String> [-ServerName] <String>
18
- [-DatabaseName] <String> -SchemaName <String> -TableName <String> -ColumnName <String> [-LabelName <String>]
19
- [-InformationType <String>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
20
- [<CommonParameters>]
18
+ Remove-AzSqlInstanceDatabaseSensitivityClassification [-ResourceGroupName] <String> [-InstanceName] <String>
19
+ [-DatabaseName] <String> -SchemaName <String> -TableName <String> -ColumnName <String> [-AsJob]
20
+ [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
21
21
```
22
22
23
23
### ParentResourceParameterSet
24
24
```
25
- Set-AzSqlDatabaseSensitivityClassification -InputObject <SqlDatabaseSensitivityClassificationModel>
25
+ Remove-AzSqlInstanceDatabaseSensitivityClassification
26
+ -InputObject <ManagedDatabaseSensitivityClassificationModel> [-AsJob]
26
27
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
27
28
```
28
29
29
30
## DESCRIPTION
31
+ The Remove-AzSqlInstanceDatabaseSensitivityClassification cmdlet removes the classification of columns in the database.
30
32
31
33
## EXAMPLES
32
34
35
+ ### Example 1: Remove sensitivity classification of a column in an Azure SQL Managed Instance database.
36
+ ``` powershell
37
+ PS C:\> Remove-AzSqlInstanceDatabaseSensitivityClassification -ResourceGroupName resourceGroup -InstanceName managedInstance -DatabaseName database -SchemaName schema -TableName table -ColumnName column
38
+ ```
39
+
40
+ ### Example 2: Remove current sensitivity classification of columns in an Azure SQL Managed Instance database.
41
+ ``` powershell
42
+ PS C:\> Get-AzSqlInstanceDatabaseSensitivityClassification -ResourceGroupName resourceGroup -InstanceName managedInstance -DatabaseName database | Remove-AzSqlInstanceDatabaseSensitivityClassification
43
+ ```
44
+
33
45
## PARAMETERS
34
46
47
+ ### -AsJob
48
+ Run cmdlet in the background
49
+
50
+ ``` yaml
51
+ Type : System.Management.Automation.SwitchParameter
52
+ Parameter Sets : (All)
53
+ Aliases :
54
+
55
+ Required : False
56
+ Position : Named
57
+ Default value : None
58
+ Accept pipeline input : False
59
+ Accept wildcard characters : False
60
+ ` ` `
61
+
35
62
### -ColumnName
36
63
Name of column.
37
64
@@ -48,7 +75,7 @@ Accept wildcard characters: False
48
75
` ` `
49
76
50
77
### -DatabaseName
51
- SQL Database name .
78
+ The name of the Azure SQL Instance Database .
52
79
53
80
` ` ` yaml
54
81
Type : System.String
@@ -77,26 +104,11 @@ Accept pipeline input: False
77
104
Accept wildcard characters : False
78
105
` ` `
79
106
80
- ### -InformationType
81
- A name that describes the information type of the data stored in the column.
82
-
83
- ` ` ` yaml
84
- Type : System.String
85
- Parameter Sets : ColumnParameterSet
86
- Aliases :
87
-
88
- Required : False
89
- Position : Named
90
- Default value : None
91
- Accept pipeline input : True (ByPropertyName)
92
- Accept wildcard characters : False
93
- ` ` `
94
-
95
107
### -InputObject
96
- An object representing a SQL Database Sensitivity Classification
108
+ The SQL database object.
97
109
98
110
` ` ` yaml
99
- Type : Microsoft.Azure.Commands.Sql.DataClassification.Model.SqlDatabaseSensitivityClassificationModel
111
+ Type : Microsoft.Azure.Commands.Sql.DataClassification.Model.ManagedDatabaseSensitivityClassificationModel
100
112
Parameter Sets : ParentResourceParameterSet
101
113
Aliases :
102
114
@@ -107,16 +119,16 @@ Accept pipeline input: True (ByValue)
107
119
Accept wildcard characters : False
108
120
` ` `
109
121
110
- ### -LabelName
111
- A name that describes the sensitivity of the data stored in the column .
122
+ ### -InstanceName
123
+ SQL Managed Instance name .
112
124
113
125
` ` ` yaml
114
126
Type : System.String
115
127
Parameter Sets : ColumnParameterSet
116
128
Aliases :
117
129
118
- Required : False
119
- Position : Named
130
+ Required : True
131
+ Position : 1
120
132
Default value : None
121
133
Accept pipeline input : True (ByPropertyName)
122
134
Accept wildcard characters : False
@@ -152,21 +164,6 @@ Accept pipeline input: True (ByPropertyName)
152
164
Accept wildcard characters : False
153
165
` ` `
154
166
155
- ### -ServerName
156
- SQL server name.
157
-
158
- ` ` ` yaml
159
- Type : System.String
160
- Parameter Sets : ColumnParameterSet
161
- Aliases :
162
-
163
- Required : True
164
- Position : 1
165
- Default value : None
166
- Accept pipeline input : True (ByPropertyName)
167
- Accept wildcard characters : False
168
- ` ` `
169
-
170
167
### -TableName
171
168
Name of table.
172
169
@@ -217,6 +214,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
217
214
218
215
## INPUTS
219
216
217
+ ### Microsoft.Azure.Commands.Sql.DataClassification.Model.ManagedDatabaseSensitivityClassificationModel
218
+
220
219
## OUTPUTS
221
220
222
221
## NOTES
0 commit comments