diff --git a/src/EventHub/EventHub.Autorest/README.md b/src/EventHub/EventHub.Autorest/README.md index c8a945226d77..aa2b27032a81 100644 --- a/src/EventHub/EventHub.Autorest/README.md +++ b/src/EventHub/EventHub.Autorest/README.md @@ -3,9 +3,6 @@ This directory contains the PowerShell module for the EventHub service. --- -## Status -[![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/) - ## Info - Modifiable: yes - Generated: all @@ -460,3 +457,64 @@ directive: - model-cmdlet: - KeyVaultProperties + + - where: + parameter-name: IdentityType + set: + breaking-change: + old-parameter-type: CaptureIdentityType + new-parameter-type: String + deprecated-by-version: 5.0.0 + deprecated-by-azversion: 12.0.0 + change-effective-date: 2024/05/21 + + - where: + parameter-name: CleanupPolicy + set: + breaking-change: + old-parameter-type: CleanupPolicyRetentionDescription + new-parameter-type: String + deprecated-by-version: 5.0.0 + deprecated-by-azversion: 12.0.0 + change-effective-date: 2024/05/21 + + - where: + parameter-name: Status + set: + breaking-change: + old-parameter-type: EntityStatus + new-parameter-type: String + deprecated-by-version: 5.0.0 + deprecated-by-azversion: 12.0.0 + change-effective-date: 2024/05/21 + + - where: + parameter-name: Encoding + set: + breaking-change: + old-parameter-type: EncodingCaptureDescription + new-parameter-type: String + deprecated-by-version: 5.0.0 + deprecated-by-azversion: 12.0.0 + change-effective-date: 2024/05/21 + + - where: + parameter-name: SchemaCompatibility + set: + breaking-change: + old-parameter-type: SchemaCompatibility + new-parameter-type: String + deprecated-by-version: 5.0.0 + deprecated-by-azversion: 12.0.0 + change-effective-date: 2024/05/21 + + - where: + parameter-name: SchemaType + set: + breaking-change: + old-parameter-type: SchemaType + new-parameter-type: String + deprecated-by-version: 5.0.0 + deprecated-by-azversion: 12.0.0 + change-effective-date: 2024/05/21 + \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubAuthorizationRule.ps1 index 9fd73f3b6e44..68395cfd8276 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubAuthorizationRule.ps1 @@ -64,6 +64,7 @@ function New-AzEventHubAuthorizationRule{ [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]] # The rights associated with the rule. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("Rights","12.0.0", "5.0.0","2024-05-21" )] ${Rights}, [Parameter(HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubIPRuleConfig.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubIPRuleConfig.ps1 index f5ff20dc1347..29bf256c0946 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubIPRuleConfig.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubIPRuleConfig.ps1 @@ -29,6 +29,7 @@ function New-AzEventHubIPRuleConfig{ [Parameter(HelpMessage = "The IP Filter Action")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkRuleIPAction] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("Action","12.0.0", "5.0.0","2024-05-21" )] # The IP Filter Action ${Action} ) diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubKey.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubKey.ps1 index 08d7cbb9d8c0..51d46d971126 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubKey.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubKey.ps1 @@ -65,6 +65,7 @@ function New-AzEventHubKey{ [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeyType] # The access key to regenerate. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("KeyType","12.0.0", "5.0.0","2024-05-21" )] ${KeyType}, [Parameter(HelpMessage = "Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType")] diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubNamespace.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubNamespace.ps1 index 534210d76598..2080efe1ea9c 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubNamespace.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubNamespace.ps1 @@ -83,6 +83,7 @@ function New-AzEventHubNamespace{ [Parameter(HelpMessage = "Type of managed service identity.")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("IdentityType","12.0.0", "5.0.0","2024-05-21" )] ${IdentityType}, [Parameter(HelpMessage = "Properties for User Assigned Identities")] @@ -109,11 +110,13 @@ function New-AzEventHubNamespace{ [Parameter(HelpMessage = "The minimum TLS version for the cluster to support, e.g. '1.2'")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("SkuName","12.0.0", "5.0.0","2024-05-21" )] ${SkuName}, [Parameter(HelpMessage = "This determines if traffic is allowed over public network. By default it is enabled.")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "5.0.0","2024-05-21" )] ${PublicNetworkAccess}, [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.")] diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubThrottlingPolicyConfig.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubThrottlingPolicyConfig.ps1 index fd9046208d36..41cb7960f2fa 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubThrottlingPolicyConfig.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubThrottlingPolicyConfig.ps1 @@ -35,7 +35,8 @@ function New-AzEventHubThrottlingPolicyConfig{ [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")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId] # 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. - ${MetricId} + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("MetricId","12.0.0", "5.0.0","2024-05-21" )] + ${MetricId} ) process{ diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHub.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHub.ps1 index c3629a38860f..ab07b2b8f4f7 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHub.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHub.ps1 @@ -68,6 +68,7 @@ function Set-AzEventHub{ [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription] #Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("Encoding","12.0.0", "5.0.0","2024-05-21" )] ${Encoding}, [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{ [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus] # Enumerates the possible values for the status of the Event Hub. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("Status","12.0.0", "5.0.0","2024-05-21" )] ${Status}, [Parameter(HelpMessage = "Name for capture destination")] @@ -113,6 +115,7 @@ function Set-AzEventHub{ [Parameter(HelpMessage = "Type of managed service identity.")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("IdentityType","12.0.0", "5.0.0","2024-05-21" )] ${IdentityType}, [Parameter(HelpMessage = "Properties for User Assigned Identities")] diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubAuthorizationRule.ps1 index 346152b82f97..327222e8ec2e 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubAuthorizationRule.ps1 @@ -21,6 +21,7 @@ Sets an EventHub Authorization Rule function Set-AzEventHubAuthorizationRule{ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] + [CmdletBinding(DefaultParameterSetName = 'SetExpandedNamespace', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'SetExpandedEntity', HelpMessage = "The name of the Authorization Rule")] @@ -71,6 +72,7 @@ function Set-AzEventHubAuthorizationRule{ [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]] # The rights associated with the rule. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("Rights","12.0.0", "5.0.0","2024-05-21" )] ${Rights}, [Parameter(HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNamespace.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNamespace.ps1 index fb75f588d448..3ce01b0c66c1 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNamespace.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNamespace.ps1 @@ -75,6 +75,7 @@ function Set-AzEventHubNamespace{ [Parameter(HelpMessage = "Type of managed service identity.")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("IdentityType","12.0.0", "5.0.0","2024-05-21" )] ${IdentityType}, [Parameter(HelpMessage = "Properties for User Assigned Identities")] @@ -103,6 +104,7 @@ function Set-AzEventHubNamespace{ [Parameter(HelpMessage = "This determines if traffic is allowed over public network. By default it is enabled.")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "5.0.0","2024-05-21" )] ${PublicNetworkAccess}, [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.")] diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNetworkRuleSet.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNetworkRuleSet.ps1 index 68579752561d..817bd87d91b4 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNetworkRuleSet.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNetworkRuleSet.ps1 @@ -54,6 +54,7 @@ function Set-AzEventHubNetworkRuleSet{ [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess] #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. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "5.0.0","2024-05-21" )] ${PublicNetworkAccess}, [Parameter(HelpMessage = "Value that indicates whether Trusted Service Access is Enabled or not.")] @@ -66,6 +67,7 @@ function Set-AzEventHubNetworkRuleSet{ [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction] #Default Action for Network Rule Set + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ParameterBreakingChangeAttribute("DefaultAction","12.0.0", "5.0.0","2024-05-21" )] ${DefaultAction}, [Parameter(HelpMessage = "List of IpRules")] diff --git a/src/EventHub/EventHub.Autorest/examples/README.md b/src/EventHub/EventHub.Autorest/examples/README.md new file mode 100644 index 000000000000..a4c7754cdc40 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/examples/README.md @@ -0,0 +1,11 @@ +# Examples +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. + +## Info +- Modifiable: yes +- Generated: partial +- Committed: yes +- Packaged: no + +## Purpose +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. \ No newline at end of file diff --git a/src/ServiceBus/ServiceBus.Autorest/README.md b/src/ServiceBus/ServiceBus.Autorest/README.md index 413e857f47a3..0b987e43914d 100644 --- a/src/ServiceBus/ServiceBus.Autorest/README.md +++ b/src/ServiceBus/ServiceBus.Autorest/README.md @@ -3,9 +3,6 @@ This directory contains the PowerShell module for the ServiceBus service. --- -## Status -[![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/) - ## Info - Modifiable: yes - Generated: all @@ -528,3 +525,13 @@ directive: - model-cmdlet: - KeyVaultProperties + + - where: + parameter-name: Status + set: + breaking-change: + old-parameter-type: EntityStatus + new-parameter-type: String + deprecated-by-version: 4.0.0 + deprecated-by-azversion: 12.0.0 + change-effective-date: 2024/05/21 diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusAuthorizationRule.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusAuthorizationRule.ps1 index c99ed84526ca..852808d5f1b6 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusAuthorizationRule.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusAuthorizationRule.ps1 @@ -68,6 +68,7 @@ function New-AzServiceBusAuthorizationRule{ [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.AccessRights[]] # The rights associated with the rule. + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("Rights","12.0.0", "4.0.0","2024-05-21" )] ${Rights}, [Parameter(HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusIPRuleConfig.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusIPRuleConfig.ps1 index ad14abdbe9e4..d02c16f60ca7 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusIPRuleConfig.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusIPRuleConfig.ps1 @@ -30,6 +30,7 @@ function New-AzServiceBusIPRuleConfig{ [Parameter(HelpMessage = "The IP Filter Action")] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.NetworkRuleIPAction] # The IP Filter Action + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("Action","12.0.0", "4.0.0","2024-05-21" )] ${Action} ) @@ -46,4 +47,4 @@ function New-AzServiceBusIPRuleConfig{ throw } } -} \ No newline at end of file +} diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusKey.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusKey.ps1 index 5df239331ff3..6fc4e594629e 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusKey.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusKey.ps1 @@ -75,6 +75,7 @@ function New-AzServiceBusKey{ [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.KeyType] # The access key to regenerate. + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("KeyType","12.0.0", "4.0.0","2024-05-21" )] ${KeyType}, [Parameter(HelpMessage = "Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType")] diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusNamespace.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusNamespace.ps1 index 607c77f79371..578fa794adf7 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusNamespace.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusNamespace.ps1 @@ -74,6 +74,7 @@ function New-AzServiceBusNamespace{ [Parameter(HelpMessage = "Type of managed service identity.")] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.ManagedServiceIdentityType] + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("IdentityType","12.0.0", "4.0.0","2024-05-21" )] ${IdentityType}, [Parameter(HelpMessage = "Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.")] @@ -95,11 +96,13 @@ function New-AzServiceBusNamespace{ [Parameter(HelpMessage = "This determines if traffic is allowed over public network. By default it is enabled.")] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.PublicNetworkAccess] + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "4.0.0","2024-05-21" )] ${PublicNetworkAccess}, [Parameter(HelpMessage = "Name of this SKU.")] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.SkuName] + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("SkuName","12.0.0", "4.0.0","2024-05-21" )] ${SkuName}, [Parameter(HelpMessage = "The specified messaging units for the tier. For Premium tier, capacity are 1,2 and 4.")] diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusAuthorizationRule.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusAuthorizationRule.ps1 index 5f26fb4d1ffe..af710b7694de 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusAuthorizationRule.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusAuthorizationRule.ps1 @@ -81,6 +81,7 @@ function Set-AzServiceBusAuthorizationRule{ [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.AccessRights[]] # The rights associated with the rule. + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("Rights","12.0.0", "4.0.0","2024-05-21" )] ${Rights}, [Parameter(HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNamespace.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNamespace.ps1 index f0871efc0ff7..2add401e473f 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNamespace.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNamespace.ps1 @@ -71,6 +71,7 @@ function Set-AzServiceBusNamespace{ [Parameter(HelpMessage = "Type of managed service identity.")] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.ManagedServiceIdentityType] + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("IdentityType","12.0.0", "4.0.0","2024-05-21" )] ${IdentityType}, [Parameter(HelpMessage = "Properties for User Assigned Identities")] @@ -87,11 +88,13 @@ function Set-AzServiceBusNamespace{ [Parameter(HelpMessage = "This determines if traffic is allowed over public network. By default it is enabled.")] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.PublicNetworkAccess] + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "4.0.0","2024-05-21" )] ${PublicNetworkAccess}, [Parameter(HelpMessage = "Name of this SKU.")] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.SkuName] + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("SkuName","12.0.0", "4.0.0","2024-05-21" )] ${SkuName}, [Parameter(HelpMessage = "The specified messaging units for the tier. For Premium tier, capacity are 1,2 and 4.")] diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNetworkRuleSet.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNetworkRuleSet.ps1 index 9703283dc067..a5b802f511e2 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNetworkRuleSet.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNetworkRuleSet.ps1 @@ -53,6 +53,7 @@ function Set-AzServiceBusNetworkRuleSet{ [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. ")] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.PublicNetworkAccess] + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("PublicNetworkAccess","12.0.0", "4.0.0","2024-05-21" )] # 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. ${PublicNetworkAccess}, @@ -65,6 +66,7 @@ function Set-AzServiceBusNetworkRuleSet{ [Parameter(HelpMessage = "Default Action for Network Rule Set")] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.DefaultAction] + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("DefaultAction","12.0.0", "4.0.0","2024-05-21" )] #Default Action for Network Rule Set ${DefaultAction}, diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusQueue.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusQueue.ps1 index e6241c348fa0..089a026b1d5a 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusQueue.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusQueue.ps1 @@ -132,6 +132,7 @@ function Set-AzServiceBusQueue{ [Parameter(HelpMessage = "Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024.")] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.EntityStatus] + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("Status","12.0.0", "4.0.0","2024-05-21" )] # Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024. ${Status}, diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusRule.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusRule.ps1 index f047b70744ba..eb9c9dcf013e 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusRule.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusRule.ps1 @@ -145,6 +145,7 @@ function Set-AzServiceBusRule{ [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.FilterType] # Filter type that is evaluated against a BrokeredMessage. + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("FilterType","12.0.0", "4.0.0","2024-05-21" )] ${FilterType}, [Parameter(HelpMessage = "Value that indicates whether the rule action requires preprocessing.")] diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusSubscription.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusSubscription.ps1 index 530a6d820da7..1ad17026db0b 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusSubscription.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusSubscription.ps1 @@ -97,6 +97,7 @@ function Set-AzServiceBusSubscription{ [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.EntityStatus] # Enumerates the possible values for the status of a messaging entity. + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("Status","12.0.0", "4.0.0","2024-05-21" )] ${Status}, [Parameter(HelpMessage = "Queue/Topic name to forward the messages")] diff --git a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusTopic.ps1 b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusTopic.ps1 index 08e73d95aca9..4e326b5afabb 100644 --- a/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusTopic.ps1 +++ b/src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusTopic.ps1 @@ -109,6 +109,7 @@ function Set-AzServiceBusTopic{ [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Support.EntityStatus] # Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024. + [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ParameterBreakingChangeAttribute("Status","12.0.0", "4.0.0","2024-05-21" )] ${Status}, [Parameter(HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")]