Skip to content

Commit 9eb0af8

Browse files
committed
Update Help Files
1 parent fca7381 commit 9eb0af8

File tree

4 files changed

+243
-149
lines changed

4 files changed

+243
-149
lines changed

src/Sql/Sql/help/Get-AzSqlDatabaseAuditing.md

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,38 @@ Gets the auditing settings of an Azure SQL database.
1515

1616
### BlobStorageSet
1717
```
18-
Get-AzSqlDatabaseAuditing [-BlobStorage] [-ServerName] <String> [-DatabaseName] <String>
19-
[-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
20-
[<CommonParameters>]
18+
Get-AzSqlDatabaseAuditing [-ResourceGroupName] <String> [-ServerName] <String> [-DatabaseName] <String>
19+
[-BlobStorage] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2120
```
2221

2322
### EventHubSet
2423
```
25-
Get-AzSqlDatabaseAuditing [-EventHub] [-ServerName] <String> [-DatabaseName] <String>
26-
[-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
27-
[<CommonParameters>]
24+
Get-AzSqlDatabaseAuditing [-ResourceGroupName] <String> [-ServerName] <String> [-DatabaseName] <String>
25+
[-EventHub] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2826
```
2927

3028
### LogAnalyticsSet
3129
```
32-
Get-AzSqlDatabaseAuditing [-LogAnalytics] [-ServerName] <String> [-DatabaseName] <String>
33-
[-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
34-
[<CommonParameters>]
30+
Get-AzSqlDatabaseAuditing [-ResourceGroupName] <String> [-ServerName] <String> [-DatabaseName] <String>
31+
[-LogAnalytics] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
32+
```
33+
34+
### BlobStorageByParentResourceSet
35+
```
36+
Get-AzSqlDatabaseAuditing -InputObject <AzureSqlDatabaseModel> [-BlobStorage]
37+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
38+
```
39+
40+
### EventHubByParentResourceSet
41+
```
42+
Get-AzSqlDatabaseAuditing -InputObject <AzureSqlDatabaseModel> [-EventHub]
43+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
44+
```
45+
46+
### LogAnalyticsByParentResourceSet
47+
```
48+
Get-AzSqlDatabaseAuditing -InputObject <AzureSqlDatabaseModel> [-LogAnalytics]
49+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
3550
```
3651

3752
## DESCRIPTION
@@ -111,7 +126,7 @@ Specifies that audit logs destination is blob storage
111126

112127
```yaml
113128
Type: System.Management.Automation.SwitchParameter
114-
Parameter Sets: BlobStorageSet
129+
Parameter Sets: BlobStorageSet, BlobStorageByParentResourceSet
115130
Aliases:
116131

117132
Required: False
@@ -126,7 +141,7 @@ SQL Database name.
126141
127142
```yaml
128143
Type: System.String
129-
Parameter Sets: (All)
144+
Parameter Sets: BlobStorageSet, EventHubSet, LogAnalyticsSet
130145
Aliases:
131146

132147
Required: True
@@ -156,7 +171,7 @@ Specifies that audit logs destination is event hub
156171
157172
```yaml
158173
Type: System.Management.Automation.SwitchParameter
159-
Parameter Sets: EventHubSet
174+
Parameter Sets: EventHubSet, EventHubByParentResourceSet
160175
Aliases:
161176

162177
Required: True
@@ -166,12 +181,27 @@ Accept pipeline input: True (ByPropertyName)
166181
Accept wildcard characters: False
167182
```
168183
184+
### -InputObject
185+
The database object
186+
187+
```yaml
188+
Type: Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel
189+
Parameter Sets: BlobStorageByParentResourceSet, EventHubByParentResourceSet, LogAnalyticsByParentResourceSet
190+
Aliases:
191+
192+
Required: True
193+
Position: Named
194+
Default value: None
195+
Accept pipeline input: True (ByValue)
196+
Accept wildcard characters: False
197+
```
198+
169199
### -LogAnalytics
170200
Specifies that audit logs destination is log analytics
171201
172202
```yaml
173203
Type: System.Management.Automation.SwitchParameter
174-
Parameter Sets: LogAnalyticsSet
204+
Parameter Sets: LogAnalyticsSet, LogAnalyticsByParentResourceSet
175205
Aliases:
176206

177207
Required: True
@@ -186,7 +216,7 @@ The name of the resource group.
186216
187217
```yaml
188218
Type: System.String
189-
Parameter Sets: (All)
219+
Parameter Sets: BlobStorageSet, EventHubSet, LogAnalyticsSet
190220
Aliases:
191221

192222
Required: True
@@ -197,11 +227,11 @@ Accept wildcard characters: False
197227
```
198228
199229
### -ServerName
200-
SQL Database server name.
230+
SQL server name.
201231
202232
```yaml
203233
Type: System.String
204-
Parameter Sets: (All)
234+
Parameter Sets: BlobStorageSet, EventHubSet, LogAnalyticsSet
205235
Aliases:
206236

207237
Required: True
@@ -211,36 +241,6 @@ Accept pipeline input: True (ByPropertyName)
211241
Accept wildcard characters: False
212242
```
213243
214-
### -Confirm
215-
Prompts you for confirmation before running the cmdlet.
216-
217-
```yaml
218-
Type: System.Management.Automation.SwitchParameter
219-
Parameter Sets: (All)
220-
Aliases: cf
221-
222-
Required: False
223-
Position: Named
224-
Default value: None
225-
Accept pipeline input: False
226-
Accept wildcard characters: False
227-
```
228-
229-
### -WhatIf
230-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
231-
232-
```yaml
233-
Type: System.Management.Automation.SwitchParameter
234-
Parameter Sets: (All)
235-
Aliases: wi
236-
237-
Required: False
238-
Position: Named
239-
Default value: None
240-
Accept pipeline input: False
241-
Accept wildcard characters: False
242-
```
243-
244244
### CommonParameters
245245
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
246246

src/Sql/Sql/help/Get-AzSqlServerAuditing.md

Lines changed: 44 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,38 @@ Gets the auditing settings of an Azure SQL server.
1515

1616
### BlobStorageSet
1717
```
18-
Get-AzSqlServerAuditing [-ServerName] <String> [-BlobStorage] [-ResourceGroupName] <String>
19-
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
18+
Get-AzSqlServerAuditing [-ResourceGroupName] <String> [-ServerName] <String> [-BlobStorage]
19+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2020
```
2121

2222
### EventHubSet
2323
```
24-
Get-AzSqlServerAuditing [-ServerName] <String> [-EventHub] [-ResourceGroupName] <String>
25-
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
24+
Get-AzSqlServerAuditing [-ResourceGroupName] <String> [-ServerName] <String> [-EventHub]
25+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2626
```
2727

2828
### LogAnalyticsSet
2929
```
30-
Get-AzSqlServerAuditing [-ServerName] <String> [-LogAnalytics] [-ResourceGroupName] <String>
31-
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
30+
Get-AzSqlServerAuditing [-ResourceGroupName] <String> [-ServerName] <String> [-LogAnalytics]
31+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
32+
```
33+
34+
### BlobStorageByParentResourceSet
35+
```
36+
Get-AzSqlServerAuditing [-BlobStorage] -InputObject <AzureSqlServerModel>
37+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
38+
```
39+
40+
### EventHubByParentResourceSet
41+
```
42+
Get-AzSqlServerAuditing [-EventHub] -InputObject <AzureSqlServerModel>
43+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
44+
```
45+
46+
### LogAnalyticsByParentResourceSet
47+
```
48+
Get-AzSqlServerAuditing [-LogAnalytics] -InputObject <AzureSqlServerModel>
49+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
3250
```
3351

3452
## DESCRIPTION
@@ -100,7 +118,7 @@ Specifies that audit logs destination is blob storage
100118

101119
```yaml
102120
Type: System.Management.Automation.SwitchParameter
103-
Parameter Sets: BlobStorageSet
121+
Parameter Sets: BlobStorageSet, BlobStorageByParentResourceSet
104122
Aliases:
105123

106124
Required: False
@@ -130,7 +148,7 @@ Specifies that audit logs destination is event hub
130148
131149
```yaml
132150
Type: System.Management.Automation.SwitchParameter
133-
Parameter Sets: EventHubSet
151+
Parameter Sets: EventHubSet, EventHubByParentResourceSet
134152
Aliases:
135153

136154
Required: True
@@ -140,12 +158,27 @@ Accept pipeline input: True (ByPropertyName)
140158
Accept wildcard characters: False
141159
```
142160
161+
### -InputObject
162+
The server object
163+
164+
```yaml
165+
Type: Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel
166+
Parameter Sets: BlobStorageByParentResourceSet, EventHubByParentResourceSet, LogAnalyticsByParentResourceSet
167+
Aliases:
168+
169+
Required: True
170+
Position: Named
171+
Default value: None
172+
Accept pipeline input: True (ByValue)
173+
Accept wildcard characters: False
174+
```
175+
143176
### -LogAnalytics
144177
Specifies that audit logs destination is log analytics
145178
146179
```yaml
147180
Type: System.Management.Automation.SwitchParameter
148-
Parameter Sets: LogAnalyticsSet
181+
Parameter Sets: LogAnalyticsSet, LogAnalyticsByParentResourceSet
149182
Aliases:
150183

151184
Required: True
@@ -160,7 +193,7 @@ The name of the resource group.
160193
161194
```yaml
162195
Type: System.String
163-
Parameter Sets: (All)
196+
Parameter Sets: BlobStorageSet, EventHubSet, LogAnalyticsSet
164197
Aliases:
165198

166199
Required: True
@@ -175,7 +208,7 @@ SQL server name.
175208
176209
```yaml
177210
Type: System.String
178-
Parameter Sets: (All)
211+
Parameter Sets: BlobStorageSet, EventHubSet, LogAnalyticsSet
179212
Aliases:
180213

181214
Required: True
@@ -185,36 +218,6 @@ Accept pipeline input: True (ByPropertyName)
185218
Accept wildcard characters: False
186219
```
187220
188-
### -Confirm
189-
Prompts you for confirmation before running the cmdlet.
190-
191-
```yaml
192-
Type: System.Management.Automation.SwitchParameter
193-
Parameter Sets: (All)
194-
Aliases: cf
195-
196-
Required: False
197-
Position: Named
198-
Default value: None
199-
Accept pipeline input: False
200-
Accept wildcard characters: False
201-
```
202-
203-
### -WhatIf
204-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
205-
206-
```yaml
207-
Type: System.Management.Automation.SwitchParameter
208-
Parameter Sets: (All)
209-
Aliases: wi
210-
211-
Required: False
212-
Position: Named
213-
Default value: None
214-
Accept pipeline input: False
215-
Accept wildcard characters: False
216-
```
217-
218221
### CommonParameters
219222
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
220223

0 commit comments

Comments
 (0)