Skip to content

Commit 9888ac2

Browse files
committed
Update Help Files
1 parent d188022 commit 9888ac2

File tree

2 files changed

+78
-81
lines changed

2 files changed

+78
-81
lines changed

src/Sql/Sql/help/Remove-AzSqlDatabaseSensitivityClassification.md

Lines changed: 35 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,55 @@ schema: 2.0.0
99
# Remove-AzSqlDatabaseSensitivityClassification
1010

1111
## SYNOPSIS
12+
Removes the classification of columns in the database.
1213

1314
## SYNTAX
1415

1516
### ColumnParameterSet
1617
```
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-AzSqlDatabaseSensitivityClassification [-ResourceGroupName] <String> [-ServerName] <String>
19+
[-DatabaseName] <String> -SchemaName <String> -TableName <String> -ColumnName <String> [-AsJob]
20+
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2121
```
2222

2323
### ParentResourceParameterSet
2424
```
25-
Set-AzSqlDatabaseSensitivityClassification -InputObject <SqlDatabaseSensitivityClassificationModel>
25+
Remove-AzSqlDatabaseSensitivityClassification -InputObject <SqlDatabaseSensitivityClassificationModel> [-AsJob]
2626
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2727
```
2828

2929
## DESCRIPTION
30+
The Remove-AzSqlDatabaseSensitivityClassification cmdlet removes the classification of columns in the database.
3031

3132
## EXAMPLES
3233

34+
### Example 1: Remove sensitivity classification of a column in an Azure SQL database.
35+
```powershell
36+
PS C:\> Remove-AzSqlDatabaseSensitivityClassification -ResourceGroupName resourceGroup -ServerName server -DatabaseName database -SchemaName schema -TableName table -ColumnName column
37+
```
38+
39+
### Example 2: Remove current sensitivity classification of columns in an Azure SQL database.
40+
```powershell
41+
PS C:\> Get-AzSqlDatabaseSensitivityClassification -ResourceGroupName resourceGroup -ServerName server -DatabaseName database | Remove-AzSqlDatabaseSensitivityClassification
42+
```
43+
3344
## PARAMETERS
3445

46+
### -AsJob
47+
Run cmdlet in the background
48+
49+
```yaml
50+
Type: System.Management.Automation.SwitchParameter
51+
Parameter Sets: (All)
52+
Aliases:
53+
54+
Required: False
55+
Position: Named
56+
Default value: None
57+
Accept pipeline input: False
58+
Accept wildcard characters: False
59+
```
60+
3561
### -ColumnName
3662
Name of column.
3763
@@ -48,7 +74,7 @@ Accept wildcard characters: False
4874
```
4975
5076
### -DatabaseName
51-
SQL Database name.
77+
The name of the Azure SQL Database.
5278
5379
```yaml
5480
Type: System.String
@@ -77,23 +103,8 @@ Accept pipeline input: False
77103
Accept wildcard characters: False
78104
```
79105
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-
95106
### -InputObject
96-
An object representing a SQL Database Sensitivity Classification
107+
The SQL database object.
97108
98109
```yaml
99110
Type: Microsoft.Azure.Commands.Sql.DataClassification.Model.SqlDatabaseSensitivityClassificationModel
@@ -107,21 +118,6 @@ Accept pipeline input: True (ByValue)
107118
Accept wildcard characters: False
108119
```
109120
110-
### -LabelName
111-
A name that describes the sensitivity of the data stored in the column.
112-
113-
```yaml
114-
Type: System.String
115-
Parameter Sets: ColumnParameterSet
116-
Aliases:
117-
118-
Required: False
119-
Position: Named
120-
Default value: None
121-
Accept pipeline input: True (ByPropertyName)
122-
Accept wildcard characters: False
123-
```
124-
125121
### -ResourceGroupName
126122
The name of the resource group.
127123
@@ -217,6 +213,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
217213
218214
## INPUTS
219215
216+
### Microsoft.Azure.Commands.Sql.DataClassification.Model.SqlDatabaseSensitivityClassificationModel
217+
220218
## OUTPUTS
221219
222220
## NOTES

src/Sql/Sql/help/Remove-AzSqlInstanceDatabaseSensitivityClassification.md

Lines changed: 43 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,63 @@
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.Sql.dll-Help.xml
33
Module Name: Az.Sql
44
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
66
schema: 2.0.0
77
---
88

9-
# Remove-AzManagedDatabaseSensitivityClassification
9+
# Remove-AzSqlInstanceDatabaseSensitivityClassification
1010

1111
## SYNOPSIS
12+
Removes the classification of columns in the database.
1213

1314
## SYNTAX
1415

1516
### ColumnParameterSet
1617
```
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>]
2121
```
2222

2323
### ParentResourceParameterSet
2424
```
25-
Set-AzSqlDatabaseSensitivityClassification -InputObject <SqlDatabaseSensitivityClassificationModel>
25+
Remove-AzSqlInstanceDatabaseSensitivityClassification
26+
-InputObject <ManagedDatabaseSensitivityClassificationModel> [-AsJob]
2627
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2728
```
2829

2930
## DESCRIPTION
31+
The Remove-AzSqlInstanceDatabaseSensitivityClassification cmdlet removes the classification of columns in the database.
3032

3133
## EXAMPLES
3234

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+
3345
## PARAMETERS
3446

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+
3562
### -ColumnName
3663
Name of column.
3764
@@ -48,7 +75,7 @@ Accept wildcard characters: False
4875
```
4976
5077
### -DatabaseName
51-
SQL Database name.
78+
The name of the Azure SQL Instance Database.
5279
5380
```yaml
5481
Type: System.String
@@ -77,26 +104,11 @@ Accept pipeline input: False
77104
Accept wildcard characters: False
78105
```
79106
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-
95107
### -InputObject
96-
An object representing a SQL Database Sensitivity Classification
108+
The SQL database object.
97109
98110
```yaml
99-
Type: Microsoft.Azure.Commands.Sql.DataClassification.Model.SqlDatabaseSensitivityClassificationModel
111+
Type: Microsoft.Azure.Commands.Sql.DataClassification.Model.ManagedDatabaseSensitivityClassificationModel
100112
Parameter Sets: ParentResourceParameterSet
101113
Aliases:
102114

@@ -107,16 +119,16 @@ Accept pipeline input: True (ByValue)
107119
Accept wildcard characters: False
108120
```
109121
110-
### -LabelName
111-
A name that describes the sensitivity of the data stored in the column.
122+
### -InstanceName
123+
SQL Managed Instance name.
112124
113125
```yaml
114126
Type: System.String
115127
Parameter Sets: ColumnParameterSet
116128
Aliases:
117129

118-
Required: False
119-
Position: Named
130+
Required: True
131+
Position: 1
120132
Default value: None
121133
Accept pipeline input: True (ByPropertyName)
122134
Accept wildcard characters: False
@@ -152,21 +164,6 @@ Accept pipeline input: True (ByPropertyName)
152164
Accept wildcard characters: False
153165
```
154166
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-
170167
### -TableName
171168
Name of table.
172169
@@ -217,6 +214,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
217214
218215
## INPUTS
219216
217+
### Microsoft.Azure.Commands.Sql.DataClassification.Model.ManagedDatabaseSensitivityClassificationModel
218+
220219
## OUTPUTS
221220
222221
## NOTES

0 commit comments

Comments
 (0)