Skip to content

Commit a9bd00b

Browse files
[EventHub/ServiceBus] Breaking change Alert for EventHub ServiceBus (#24354)
* Updates * Updates * Updates * Updates * Updates * Updates * Updates * updates * updates * updates * updates * Updates * Updates * updates version number * Update New-AzServiceBusIPRuleConfig.ps1
1 parent 87e6ad8 commit a9bd00b

23 files changed

+116
-8
lines changed

src/EventHub/EventHub.Autorest/README.md

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
This directory contains the PowerShell module for the EventHub service.
44

55
---
6-
## Status
7-
[![Az.EventHub](https://img.shields.io/powershellgallery/v/Az.EventHub.svg?style=flat-square&label=Az.EventHub "Az.EventHub")](https://www.powershellgallery.com/packages/Az.EventHub/)
8-
96
## Info
107
- Modifiable: yes
118
- Generated: all
@@ -460,3 +457,64 @@ directive:
460457

461458
- model-cmdlet:
462459
- KeyVaultProperties
460+
461+
- where:
462+
parameter-name: IdentityType
463+
set:
464+
breaking-change:
465+
old-parameter-type: CaptureIdentityType
466+
new-parameter-type: String
467+
deprecated-by-version: 5.0.0
468+
deprecated-by-azversion: 12.0.0
469+
change-effective-date: 2024/05/21
470+
471+
- where:
472+
parameter-name: CleanupPolicy
473+
set:
474+
breaking-change:
475+
old-parameter-type: CleanupPolicyRetentionDescription
476+
new-parameter-type: String
477+
deprecated-by-version: 5.0.0
478+
deprecated-by-azversion: 12.0.0
479+
change-effective-date: 2024/05/21
480+
481+
- where:
482+
parameter-name: Status
483+
set:
484+
breaking-change:
485+
old-parameter-type: EntityStatus
486+
new-parameter-type: String
487+
deprecated-by-version: 5.0.0
488+
deprecated-by-azversion: 12.0.0
489+
change-effective-date: 2024/05/21
490+
491+
- where:
492+
parameter-name: Encoding
493+
set:
494+
breaking-change:
495+
old-parameter-type: EncodingCaptureDescription
496+
new-parameter-type: String
497+
deprecated-by-version: 5.0.0
498+
deprecated-by-azversion: 12.0.0
499+
change-effective-date: 2024/05/21
500+
501+
- where:
502+
parameter-name: SchemaCompatibility
503+
set:
504+
breaking-change:
505+
old-parameter-type: SchemaCompatibility
506+
new-parameter-type: String
507+
deprecated-by-version: 5.0.0
508+
deprecated-by-azversion: 12.0.0
509+
change-effective-date: 2024/05/21
510+
511+
- where:
512+
parameter-name: SchemaType
513+
set:
514+
breaking-change:
515+
old-parameter-type: SchemaType
516+
new-parameter-type: String
517+
deprecated-by-version: 5.0.0
518+
deprecated-by-azversion: 12.0.0
519+
change-effective-date: 2024/05/21
520+

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ function New-AzEventHubAuthorizationRule{
6464
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
6565
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]]
6666
# The rights associated with the rule.
67+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("Rights","12.0.0", "5.0.0","2024-05-21" )]
6768
${Rights},
6869

6970
[Parameter(HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")]

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function New-AzEventHubIPRuleConfig{
2929

3030
[Parameter(HelpMessage = "The IP Filter Action")]
3131
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkRuleIPAction]
32+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("Action","12.0.0", "5.0.0","2024-05-21" )]
3233
# The IP Filter Action
3334
${Action}
3435
)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ function New-AzEventHubKey{
6565
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
6666
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeyType]
6767
# The access key to regenerate.
68+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("KeyType","12.0.0", "5.0.0","2024-05-21" )]
6869
${KeyType},
6970

7071
[Parameter(HelpMessage = "Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType")]

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ function New-AzEventHubNamespace{
8383
[Parameter(HelpMessage = "Type of managed service identity.")]
8484
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
8585
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType]
86+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("IdentityType","12.0.0", "5.0.0","2024-05-21" )]
8687
${IdentityType},
8788

8889
[Parameter(HelpMessage = "Properties for User Assigned Identities")]
@@ -109,11 +110,13 @@ function New-AzEventHubNamespace{
109110
[Parameter(HelpMessage = "The minimum TLS version for the cluster to support, e.g. '1.2'")]
110111
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
111112
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName]
113+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("SkuName","12.0.0", "5.0.0","2024-05-21" )]
112114
${SkuName},
113115

114116
[Parameter(HelpMessage = "This determines if traffic is allowed over public network. By default it is enabled.")]
115117
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
116118
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess]
119+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "5.0.0","2024-05-21" )]
117120
${PublicNetworkAccess},
118121

119122
[Parameter(HelpMessage = "The Event Hubs throughput units for Basic or Standard tiers, where value should be 0 to 20 throughput units. The Event Hubs premium units for Premium tier, where value should be 0 to 10 premium units.")]

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ function New-AzEventHubThrottlingPolicyConfig{
3535
[Parameter(Mandatory, HelpMessage = "Metric Id on which the throttle limit should be set, MetricId can be discovered by hovering over Metric in the Metrics section of Event Hub Namespace inside Azure Portal")]
3636
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId]
3737
# Metric Id on which the throttle limit should be set, MetricId can be discovered by hovering over Metric in the Metrics section of Event Hub Namespace inside Azure Portal.
38-
${MetricId}
38+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("MetricId","12.0.0", "5.0.0","2024-05-21" )]
39+
${MetricId}
3940
)
4041

4142
process{

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ function Set-AzEventHub{
6868
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
6969
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription]
7070
#Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version
71+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("Encoding","12.0.0", "5.0.0","2024-05-21" )]
7172
${Encoding},
7273

7374
[Parameter(HelpMessage = "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")]
@@ -103,6 +104,7 @@ function Set-AzEventHub{
103104
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
104105
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus]
105106
# Enumerates the possible values for the status of the Event Hub.
107+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("Status","12.0.0", "5.0.0","2024-05-21" )]
106108
${Status},
107109

108110
[Parameter(HelpMessage = "Name for capture destination")]
@@ -113,6 +115,7 @@ function Set-AzEventHub{
113115
[Parameter(HelpMessage = "Type of managed service identity.")]
114116
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
115117
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType]
118+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("IdentityType","12.0.0", "5.0.0","2024-05-21" )]
116119
${IdentityType},
117120

118121
[Parameter(HelpMessage = "Properties for User Assigned Identities")]

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Sets an EventHub Authorization Rule
2121

2222
function Set-AzEventHubAuthorizationRule{
2323
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])]
24+
2425
[CmdletBinding(DefaultParameterSetName = 'SetExpandedNamespace', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2526
param(
2627
[Parameter(ParameterSetName = 'SetExpandedEntity', HelpMessage = "The name of the Authorization Rule")]
@@ -71,6 +72,7 @@ function Set-AzEventHubAuthorizationRule{
7172
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
7273
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]]
7374
# The rights associated with the rule.
75+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("Rights","12.0.0", "5.0.0","2024-05-21" )]
7476
${Rights},
7577

7678
[Parameter(HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")]

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ function Set-AzEventHubNamespace{
7575
[Parameter(HelpMessage = "Type of managed service identity.")]
7676
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
7777
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType]
78+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("IdentityType","12.0.0", "5.0.0","2024-05-21" )]
7879
${IdentityType},
7980

8081
[Parameter(HelpMessage = "Properties for User Assigned Identities")]
@@ -103,6 +104,7 @@ function Set-AzEventHubNamespace{
103104
[Parameter(HelpMessage = "This determines if traffic is allowed over public network. By default it is enabled.")]
104105
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
105106
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess]
107+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "5.0.0","2024-05-21" )]
106108
${PublicNetworkAccess},
107109

108110
[Parameter(HelpMessage = "The Event Hubs throughput units for Basic or Standard tiers, where value should be 0 to 20 throughput units. The Event Hubs premium units for Premium tier, where value should be 0 to 10 premium units.")]

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ function Set-AzEventHubNetworkRuleSet{
5454
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
5555
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess]
5656
#This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
57+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "5.0.0","2024-05-21" )]
5758
${PublicNetworkAccess},
5859

5960
[Parameter(HelpMessage = "Value that indicates whether Trusted Service Access is Enabled or not.")]
@@ -66,6 +67,7 @@ function Set-AzEventHubNetworkRuleSet{
6667
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')]
6768
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction]
6869
#Default Action for Network Rule Set
70+
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("DefaultAction","12.0.0", "5.0.0","2024-05-21" )]
6971
${DefaultAction},
7072

7173
[Parameter(HelpMessage = "List of IpRules")]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Examples
2+
This directory contains examples from the exported cmdlets of the module. When `build-module.ps1` is ran, example stub files will be generated here. If your module support Azure Profiles, the example stubs will be in individual profile folders. These example stubs should be updated to show how the cmdlet is used. The examples are imported into the documentation when `generate-help.ps1` is ran.
3+
4+
## Info
5+
- Modifiable: yes
6+
- Generated: partial
7+
- Committed: yes
8+
- Packaged: no
9+
10+
## Purpose
11+
This separates the example documentation details from the generated documentation information provided directly from the generated cmdlets. Since the cmdlets don't have examples from the REST spec, this provides a means to add examples easily. The example stubs provide the markdown format that is required. The 3 core elements are: the name of the example, the code information of the example, and the description of the example. That information, if the markdown format is followed, will be available to documentation generation and be part of the documents in the `../docs` folder.

src/ServiceBus/ServiceBus.Autorest/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
This directory contains the PowerShell module for the ServiceBus service.
44

55
---
6-
## Status
7-
[![Az.ServiceBus](https://img.shields.io/powershellgallery/v/Az.ServiceBus.svg?style=flat-square&label=Az.ServiceBus "Az.ServiceBus")](https://www.powershellgallery.com/packages/Az.ServiceBus/)
8-
96
## Info
107
- Modifiable: yes
118
- Generated: all
@@ -528,3 +525,13 @@ directive:
528525

529526
- model-cmdlet:
530527
- KeyVaultProperties
528+
529+
- where:
530+
parameter-name: Status
531+
set:
532+
breaking-change:
533+
old-parameter-type: EntityStatus
534+
new-parameter-type: String
535+
deprecated-by-version: 4.0.0
536+
deprecated-by-azversion: 12.0.0
537+
change-effective-date: 2024/05/21

src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusAuthorizationRule.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ function New-AzServiceBusAuthorizationRule{
6868
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
6969
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.AccessRights[]]
7070
# The rights associated with the rule.
71+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("Rights","12.0.0", "4.0.0","2024-05-21" )]
7172
${Rights},
7273

7374
[Parameter(HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")]

src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusIPRuleConfig.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ function New-AzServiceBusIPRuleConfig{
3030
[Parameter(HelpMessage = "The IP Filter Action")]
3131
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.NetworkRuleIPAction]
3232
# The IP Filter Action
33+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("Action","12.0.0", "4.0.0","2024-05-21" )]
3334
${Action}
3435
)
3536

@@ -46,4 +47,4 @@ function New-AzServiceBusIPRuleConfig{
4647
throw
4748
}
4849
}
49-
}
50+
}

src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusKey.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ function New-AzServiceBusKey{
7575
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
7676
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.KeyType]
7777
# The access key to regenerate.
78+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("KeyType","12.0.0", "4.0.0","2024-05-21" )]
7879
${KeyType},
7980

8081
[Parameter(HelpMessage = "Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType")]

src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusNamespace.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ function New-AzServiceBusNamespace{
7474
[Parameter(HelpMessage = "Type of managed service identity.")]
7575
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
7676
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.ManagedServiceIdentityType]
77+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("IdentityType","12.0.0", "4.0.0","2024-05-21" )]
7778
${IdentityType},
7879

7980
[Parameter(HelpMessage = "Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.")]
@@ -95,11 +96,13 @@ function New-AzServiceBusNamespace{
9596
[Parameter(HelpMessage = "This determines if traffic is allowed over public network. By default it is enabled.")]
9697
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
9798
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.PublicNetworkAccess]
99+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "4.0.0","2024-05-21" )]
98100
${PublicNetworkAccess},
99101

100102
[Parameter(HelpMessage = "Name of this SKU.")]
101103
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
102104
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.SkuName]
105+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("SkuName","12.0.0", "4.0.0","2024-05-21" )]
103106
${SkuName},
104107

105108
[Parameter(HelpMessage = "The specified messaging units for the tier. For Premium tier, capacity are 1,2 and 4.")]

src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusAuthorizationRule.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function Set-AzServiceBusAuthorizationRule{
8181
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
8282
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.AccessRights[]]
8383
# The rights associated with the rule.
84+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("Rights","12.0.0", "4.0.0","2024-05-21" )]
8485
${Rights},
8586

8687
[Parameter(HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")]

src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNamespace.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function Set-AzServiceBusNamespace{
7171
[Parameter(HelpMessage = "Type of managed service identity.")]
7272
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
7373
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.ManagedServiceIdentityType]
74+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("IdentityType","12.0.0", "4.0.0","2024-05-21" )]
7475
${IdentityType},
7576

7677
[Parameter(HelpMessage = "Properties for User Assigned Identities")]
@@ -87,11 +88,13 @@ function Set-AzServiceBusNamespace{
8788
[Parameter(HelpMessage = "This determines if traffic is allowed over public network. By default it is enabled.")]
8889
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
8990
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.PublicNetworkAccess]
91+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "4.0.0","2024-05-21" )]
9092
${PublicNetworkAccess},
9193

9294
[Parameter(HelpMessage = "Name of this SKU.")]
9395
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
9496
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.SkuName]
97+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("SkuName","12.0.0", "4.0.0","2024-05-21" )]
9598
${SkuName},
9699

97100
[Parameter(HelpMessage = "The specified messaging units for the tier. For Premium tier, capacity are 1,2 and 4.")]

src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNetworkRuleSet.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ function Set-AzServiceBusNetworkRuleSet{
5353
[Parameter(HelpMessage = "This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules. ")]
5454
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
5555
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.PublicNetworkAccess]
56+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "4.0.0","2024-05-21" )]
5657
# This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
5758
${PublicNetworkAccess},
5859

@@ -65,6 +66,7 @@ function Set-AzServiceBusNetworkRuleSet{
6566
[Parameter(HelpMessage = "Default Action for Network Rule Set")]
6667
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')]
6768
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.DefaultAction]
69+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("DefaultAction","12.0.0", "4.0.0","2024-05-21" )]
6870
#Default Action for Network Rule Set
6971
${DefaultAction},
7072

0 commit comments

Comments
 (0)