@@ -22,14 +22,10 @@ New-AzEventHub -Name <String> -NamespaceName <String> -ResourceGroupName <String
22
22
[-UserAssignedIdentityId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
23
23
```
24
24
25
- ### CreateViaIdentityExpanded
25
+ ### CreateViaIdentityNamespace
26
26
```
27
- New-AzEventHub -InputObject <IEventHubIdentity> [-ArchiveNameFormat <String>] [-BlobContainer <String>]
28
- [-CaptureEnabled] [-CleanupPolicy <String>] [-DestinationName <String>] [-Encoding <String>]
29
- [-IdentityType <String>] [-IntervalInSeconds <Int32>] [-PartitionCount <Int64>]
30
- [-RetentionTimeInHour <Int64>] [-SizeLimitInBytes <Int32>] [-SkipEmptyArchive] [-Status <String>]
31
- [-StorageAccountResourceId <String>] [-TombstoneRetentionTimeInHour <Int32>]
32
- [-UserAssignedIdentityId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
27
+ New-AzEventHub -Name <String> -NamespaceInputObject <IEventHubIdentity> -Parameter <IEventhub>
28
+ [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
33
29
```
34
30
35
31
### CreateViaIdentityNamespaceExpanded
@@ -172,7 +168,7 @@ etc) are mandatory irrespective of order
172
168
173
169
``` yaml
174
170
Type : System.String
175
- Parameter Sets : (All)
171
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
176
172
Aliases :
177
173
178
174
Required : False
@@ -187,7 +183,7 @@ Blob container Name
187
183
188
184
` ` ` yaml
189
185
Type : System.String
190
- Parameter Sets : (All)
186
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
191
187
Aliases :
192
188
193
189
Required : False
@@ -202,7 +198,7 @@ A value that indicates whether capture description is enabled.
202
198
203
199
` ` ` yaml
204
200
Type : System.Management.Automation.SwitchParameter
205
- Parameter Sets : (All)
201
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
206
202
Aliases :
207
203
208
204
Required : False
@@ -217,7 +213,7 @@ Enumerates the possible values for cleanup policy
217
213
218
214
` ` ` yaml
219
215
Type : System.String
220
- Parameter Sets : (All)
216
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
221
217
Aliases :
222
218
223
219
Required : False
@@ -248,7 +244,7 @@ Name for capture destination
248
244
249
245
` ` ` yaml
250
246
Type : System.String
251
- Parameter Sets : (All)
247
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
252
248
Aliases :
253
249
254
250
Required : False
@@ -264,7 +260,7 @@ Note: 'AvroDeflate' will be deprecated in New API Version
264
260
265
261
` ` ` yaml
266
262
Type : System.String
267
- Parameter Sets : (All)
263
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
268
264
Aliases :
269
265
270
266
Required : False
@@ -279,7 +275,7 @@ Type of Azure Active Directory Managed Identity.
279
275
280
276
` ` ` yaml
281
277
Type : System.String
282
- Parameter Sets : (All)
278
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
283
279
Aliases :
284
280
285
281
Required : False
@@ -289,28 +285,12 @@ Accept pipeline input: False
289
285
Accept wildcard characters : False
290
286
` ` `
291
287
292
- ### -InputObject
293
- Identity Parameter
294
- To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
295
-
296
- ` ` ` yaml
297
- Type : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity
298
- Parameter Sets : CreateViaIdentityExpanded
299
- Aliases :
300
-
301
- Required : True
302
- Position : Named
303
- Default value : None
304
- Accept pipeline input : True (ByValue)
305
- Accept wildcard characters : False
306
- ` ` `
307
-
308
288
### -IntervalInSeconds
309
289
The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
310
290
311
291
` ` ` yaml
312
292
Type : System.Int32
313
- Parameter Sets : (All)
293
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
314
294
Aliases :
315
295
316
296
Required : False
@@ -325,7 +305,7 @@ The Event Hub name
325
305
326
306
` ` ` yaml
327
307
Type : System.String
328
- Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
308
+ Parameter Sets : (All)
329
309
Aliases : EventHubName
330
310
331
311
Required : True
@@ -341,7 +321,7 @@ To construct, see NOTES section for NAMESPACEINPUTOBJECT properties and create a
341
321
342
322
` ` ` yaml
343
323
Type : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity
344
- Parameter Sets : CreateViaIdentityNamespaceExpanded
324
+ Parameter Sets : CreateViaIdentityNamespace, CreateViaIdentityNamespaceExpanded
345
325
Aliases :
346
326
347
327
Required : True
@@ -366,12 +346,28 @@ Accept pipeline input: False
366
346
Accept wildcard characters : False
367
347
` ` `
368
348
349
+ ### -Parameter
350
+ Single item in List or Get Event Hub operation
351
+ To construct, see NOTES section for PARAMETER properties and create a hash table.
352
+
353
+ ` ` ` yaml
354
+ Type : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventhub
355
+ Parameter Sets : CreateViaIdentityNamespace
356
+ Aliases :
357
+
358
+ Required : True
359
+ Position : Named
360
+ Default value : None
361
+ Accept pipeline input : True (ByValue)
362
+ Accept wildcard characters : False
363
+ ` ` `
364
+
369
365
### -PartitionCount
370
366
Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
371
367
372
368
` ` ` yaml
373
369
Type : System.Int64
374
- Parameter Sets : (All)
370
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
375
371
Aliases :
376
372
377
373
Required : False
@@ -403,7 +399,7 @@ If cleanupPolicy is Compact the returned value of this property is Long.MaxValue
403
399
404
400
` ` ` yaml
405
401
Type : System.Int64
406
- Parameter Sets : (All)
402
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
407
403
Aliases :
408
404
409
405
Required : False
@@ -418,7 +414,7 @@ The size window defines the amount of data built up in your Event Hub before an
418
414
419
415
` ` ` yaml
420
416
Type : System.Int32
421
- Parameter Sets : (All)
417
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
422
418
Aliases :
423
419
424
420
Required : False
@@ -433,7 +429,7 @@ A value that indicates whether to Skip Empty Archives
433
429
434
430
` ` ` yaml
435
431
Type : System.Management.Automation.SwitchParameter
436
- Parameter Sets : (All)
432
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
437
433
Aliases :
438
434
439
435
Required : False
@@ -448,7 +444,7 @@ Enumerates the possible values for the status of the Event Hub.
448
444
449
445
` ` ` yaml
450
446
Type : System.String
451
- Parameter Sets : (All)
447
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
452
448
Aliases :
453
449
454
450
Required : False
@@ -463,7 +459,7 @@ Resource id of the storage account to be used to create the blobs
463
459
464
460
` ` ` yaml
465
461
Type : System.String
466
- Parameter Sets : (All)
462
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
467
463
Aliases :
468
464
469
465
Required : False
@@ -496,7 +492,7 @@ Consumer must complete reading the tombstone marker within this specified amount
496
492
497
493
` ` ` yaml
498
494
Type : System.Int32
499
- Parameter Sets : (All)
495
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
500
496
Aliases :
501
497
502
498
Required : False
@@ -513,7 +509,7 @@ If type is SystemAssigned, then the System Assigned Identity Associated with the
513
509
514
510
` ` ` yaml
515
511
Type : System.String
516
- Parameter Sets : (All)
512
+ Parameter Sets : CreateExpanded, CreateViaIdentityNamespaceExpanded
517
513
Aliases :
518
514
519
515
Required : False
@@ -559,6 +555,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
559
555
560
556
## INPUTS
561
557
558
+ ### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventhub
559
+
562
560
### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity
563
561
564
562
## OUTPUTS
0 commit comments