Skip to content

Commit be0db2f

Browse files
Migrate EventHub from generation to main (#19678)
* Move EventHub to main * update changelog * update issues * Update BreakingChangeIssues.csv Co-authored-by: wyunchi-ms <[email protected]> Co-authored-by: Yunchi Wang <[email protected]>
1 parent 7c7ffa1 commit be0db2f

File tree

285 files changed

+6102
-5936
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

285 files changed

+6102
-5936
lines changed

src/EventHub/EventHub.Autorest/README.md

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,13 @@ directive:
286286
set:
287287
parameter-name: Name
288288

289+
- where:
290+
subject: SchemaRegistry
291+
parameter-name: Name
292+
set:
293+
alias:
294+
- SchemaGroupName
295+
289296
- where:
290297
subject: SchemaRegistry
291298
set:
@@ -308,33 +315,3 @@ directive:
308315
model-name: (.*)
309316
set:
310317
suppress-format: true
311-
312-
# Parameter aliasing
313-
314-
- where:
315-
parameter-name: NamespaceName
316-
set:
317-
alias: Namespace
318-
319-
- where:
320-
parameter-name: EventHubName
321-
set:
322-
alias: EventHub
323-
324-
- where:
325-
subject: EventHub
326-
parameter-name: Name
327-
set:
328-
alias: EventHubName
329-
330-
- where:
331-
subject: ConsumerGroup
332-
parameter-name: Name
333-
set:
334-
alias: ConsumerGroupName
335-
336-
- where:
337-
subject: SchemaGroup
338-
parameter-name: Name
339-
set:
340-
alias: SchemaGroupName

src/EventHub/EventHub.Autorest/custom/Approve-AzEventHubPrivateEndpointConnection.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ function Approve-AzEventHubPrivateEndpointConnection{
3030
${Name},
3131

3232
[Parameter(ParameterSetName = 'SetExpanded', Mandatory, HelpMessage = "The name of EventHub namespace")]
33-
[Alias('Namespace')]
3433
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
3534
[System.String]
3635
# The name of EventHub namespace

src/EventHub/EventHub.Autorest/custom/Deny-AzEventHubPrivateEndpointConnection.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ function Deny-AzEventHubPrivateEndpointConnection{
3030
${Name},
3131

3232
[Parameter(ParameterSetName = 'SetExpanded', Mandatory, HelpMessage = "The name of EventHub namespace")]
33-
[Alias('Namespace')]
3433
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
3534
[System.String]
3635
# The name of EventHub namespace

src/EventHub/EventHub.Autorest/custom/Get-AzEventHubAuthorizationRule.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ function Get-AzEventHubAuthorizationRule{
3939
${AliasName},
4040

4141
[Parameter(ParameterSetName = 'GetExpandedEntity', Mandatory, HelpMessage = "The name of the EventHub entity.")]
42-
[Alias('EventHub')]
4342
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
4443
[System.String]
4544
# The name of the EventHub entity.
@@ -48,7 +47,6 @@ function Get-AzEventHubAuthorizationRule{
4847
[Parameter(ParameterSetName = 'GetExpandedNamespace', Mandatory, HelpMessage = "The name of EventHub namespace")]
4948
[Parameter(ParameterSetName = 'GetExpandedEntity', Mandatory, HelpMessage = "The name of the EventHub namespace.")]
5049
[Parameter(ParameterSetName = 'GetExpandedAlias', Mandatory, HelpMessage = "The name of the EventHub namespace.")]
51-
[Alias('Namespace')]
5250
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
5351
[System.String]
5452
# The name of EventHub namespace

src/EventHub/EventHub.Autorest/custom/Get-AzEventHubKey.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ function Get-AzEventHubKey{
3939
${AliasName},
4040

4141
[Parameter(ParameterSetName = 'GetExpandedEntity', Mandatory, HelpMessage = "The name of the EventHub entity.")]
42-
[Alias('EventHub')]
4342
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
4443
[System.String]
4544
# The name of the EventHub entity.
@@ -48,7 +47,6 @@ function Get-AzEventHubKey{
4847
[Parameter(ParameterSetName = 'GetExpandedNamespace', Mandatory, HelpMessage = "The name of EventHub namespace")]
4948
[Parameter(ParameterSetName = 'GetExpandedEntity', Mandatory, HelpMessage = "The name of the EventHub namespace.")]
5049
[Parameter(ParameterSetName = 'GetExpandedAlias', Mandatory, HelpMessage = "The name of the EventHub namespace.")]
51-
[Alias('Namespace')]
5250
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
5351
[System.String]
5452
# The name of EventHub namespace

src/EventHub/EventHub.Autorest/custom/New-AzEventHubAuthorizationRule.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ function New-AzEventHubAuthorizationRule{
3232
${Name},
3333

3434
[Parameter(ParameterSetName = 'NewExpandedEntity', Mandatory, HelpMessage = "The name of the EventHub entity.")]
35-
[Alias('EventHub')]
3635
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
3736
[System.String]
3837
# The name of the EventHub entity.
3938
${EventHubName},
4039

4140
[Parameter(ParameterSetName = 'NewExpandedNamespace', Mandatory, HelpMessage = "The name of EventHub namespace")]
4241
[Parameter(ParameterSetName = 'NewExpandedEntity', Mandatory, HelpMessage = "The name of EventHub namespace")]
43-
[Alias('Namespace')]
4442
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
4543
[System.String]
4644
# The name of EventHub namespace

src/EventHub/EventHub.Autorest/custom/New-AzEventHubKey.ps1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ function New-AzEventHubKey{
3232
${Name},
3333

3434
[Parameter(ParameterSetName = 'NewExpandedEntity', Mandatory, HelpMessage = "The name of the EventHub entity.")]
35-
[Alias('EventHub')]
3635
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
3736
[System.String]
3837
# The name of the EventHub entity.
3938
${EventHubName},
4039

4140
[Parameter(ParameterSetName = 'NewExpandedNamespace', Mandatory, HelpMessage = "The name of EventHub namespace")]
4241
[Parameter(ParameterSetName = 'NewExpandedEntity', Mandatory, HelpMessage = "The name of the EventHub namespace.")]
43-
[Alias('Namespace')]
4442
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
4543
[System.String]
4644
# The name of EventHub namespace
@@ -70,7 +68,6 @@ function New-AzEventHubKey{
7068
${KeyType},
7169

7270
[Parameter(HelpMessage = "Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType")]
73-
[Alias("Key")]
7471
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
7572
[System.String]
7673
# Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType

src/EventHub/EventHub.Autorest/custom/Remove-AzEventHubAuthorizationRule.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ function Remove-AzEventHubAuthorizationRule{
3232
${Name},
3333

3434
[Parameter(ParameterSetName = 'RemoveExpandedEntity', Mandatory, HelpMessage = "The name of the EventHub entity.")]
35-
[Alias('EventHub')]
3635
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
3736
[System.String]
3837
# The name of the EventHub entity.
3938
${EventHubName},
4039

4140
[Parameter(ParameterSetName = 'RemoveExpandedNamespace', Mandatory, HelpMessage = "The name of EventHub namespace")]
4241
[Parameter(ParameterSetName = 'RemoveExpandedEntity', Mandatory, HelpMessage = "The name of EventHub namespace")]
43-
[Alias('Namespace')]
4442
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
4543
[System.String]
4644
# The name of EventHub namespace

src/EventHub/EventHub.Autorest/custom/Set-AzEventHub.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ function Set-AzEventHub{
3232
${Name},
3333

3434
[Parameter(ParameterSetName = 'SetExpanded', Mandatory, HelpMessage = "The name of EventHub namespace.")]
35-
[Alias('Namespace')]
3635
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
3736
[System.String]
3837
# The name of EventHub namespace

src/EventHub/EventHub.Autorest/custom/Set-AzEventHubApplicationGroup.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ function Set-AzEventHubApplicationGroup{
3030
${Name},
3131

3232
[Parameter(ParameterSetName = 'SetExpanded', Mandatory, HelpMessage = "The name of EventHub namespace")]
33-
[Alias('Namespace')]
3433
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Path')]
3534
[System.String]
3635
# The name of EventHub namespace

0 commit comments

Comments
 (0)