Skip to content

Commit 9b4638b

Browse files
JoyerJinvidai-msft
andauthored
[PS Relay] Add breaking change announcement (Azure#27975)
Co-authored-by: Vincent Dai <23257217+vidai-msft@users.noreply.github.com>
1 parent 0687cf9 commit 9b4638b

14 files changed

+170
-38
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
// Unless required by applicable law or agreed to in writing, software
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
8+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
// See the License for the specific language governing permissions and
10+
// limitations under the License.
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
13+
14+
using System;
15+
using System.Reflection;
16+
using System.Runtime.CompilerServices;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Relay")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.1.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.0")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]
27+

src/Relay/Relay.Autorest/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,25 @@ use-extension:
4444
"@autorest/powershell": "3.x"
4545

4646
directive:
47+
- where:
48+
verb: Get
49+
subject: NameSpace
50+
set:
51+
breaking-change:
52+
change-description: "The type of property 'PrivateEndpointConnection' will be changed to 'List'."
53+
deprecated-by-version: 9.0.0
54+
deprecated-by-azversion: 15.0.0
55+
change-effective-date: 2025/11/03
56+
57+
- where:
58+
subject: NamespaceNetworkRuleSet
59+
set:
60+
breaking-change:
61+
change-description: "The type of property 'IPRule' will be changed to 'List'."
62+
deprecated-by-version: 9.0.0
63+
deprecated-by-azversion: 15.0.0
64+
change-effective-date: 2025/11/03
65+
4766
# Namespace Authorization Rule
4867
- from: swagger-document
4968
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}"].put.operationId

src/Relay/Relay.Autorest/docs/Az.Relay.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Relay
3-
Module Guid: 4bf8fb16-5644-49f6-85ac-c4c6573a2ecd
3+
Module Guid: 8255faf9-3ba7-48f7-a2f5-bce38ad11823
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.relay
55
Help Version: 1.0.0.0
66
Locale: en-US

src/Relay/Relay.Autorest/docs/New-AzRelayHybridConnection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ This cmdlet creates a new Hybrid Connection using an existing Hybrid Connection
9292
### Example 3: Update an existing Hybrid Connection
9393
```powershell
9494
$connection = Get-AzRelayHybridConnection -ResourceGroupName lucas-relay-rg -Namespace namespace-pwsh01 -Name connection-02
95-
$connection.UserMetadata = "TestHybirdConnection2"
95+
$connection.UserMetadata = "TestHybridConnection2"
9696
New-AzRelayHybridConnection -ResourceGroupName lucas-relay-rg -Namespace namespace-pwsh01 -Name connection-02 -InputObject $connection | Format-List
9797
```
9898

@@ -113,7 +113,7 @@ SystemDataLastModifiedBy :
113113
SystemDataLastModifiedByType :
114114
Type : Microsoft.Relay/namespaces/hybridconnections
115115
UpdatedAt : 1/1/0001 12:00:00 AM
116-
UserMetadata : TestHybirdConnection2
116+
UserMetadata : TestHybridConnection2
117117
```
118118

119119
This cmdlet updates an existing Hybrid Connection.

src/Relay/Relay.Autorest/docs/Set-AzRelayAuthorizationRule.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Type : Microsoft.Relay/Namespaces/AuthorizationRules
8282

8383
This cmdlet adds Listen from the access rights of the authorization rule for the Relay namespace.
8484

85-
### Example 2: Adds Send from the access rights of the authorization rule for the Relay namespace with InputeObject parameter
85+
### Example 2: Adds Send from the access rights of the authorization rule for the Relay namespace with InputObject parameter
8686
```powershell
8787
$authRule = Get-AzRelayAuthorizationRule -ResourceGroupName Relay-ServiceBus-EastUS -Namespace namespace-pwsh01 -Name authRule-01
8888
$authRule.Rights += 'Send'
@@ -105,7 +105,7 @@ SystemDataLastModifiedByType :
105105
Type : Microsoft.Relay/Namespaces/AuthorizationRules
106106
```
107107

108-
This cmdlet adds Send from the access rights of the authorization rule for the Relay namespace with InputeObject parameter.
108+
This cmdlet adds Send from the access rights of the authorization rule for the Relay namespace with InputObject parameter.
109109

110110
### Example 3: Set or update Listen from the access rights of the authorization rule for the Hybrid Connection
111111
```powershell
@@ -130,7 +130,7 @@ Type : Microsoft.Relay/namespaces/hybridconnections/auth
130130

131131
This cmdlet set or update Listen from the access rights of the authorization rule for the Hybrid Connection.
132132

133-
### Example 4: Adds Send from the access rights of the authorization rule for the Hybrid Connection with InputeObject parameter
133+
### Example 4: Adds Send from the access rights of the authorization rule for the Hybrid Connection with InputObject parameter
134134
```powershell
135135
$authRule = Get-AzRelayAuthorizationRule -ResourceGroupName lucas-relay-rg -Namespace namespace-pwsh01 -HybridConnection connection-01 -Name authRule-01
136136
$authRule.Rights += 'Send'
@@ -153,7 +153,7 @@ SystemDataLastModifiedByType :
153153
Type : Microsoft.Relay/namespaces/hybridconnections/authorizationrules
154154
```
155155

156-
This cmdlet adds Send from the access rights of the authorization rule for the Hybrid Connection with InputeObject parameter.
156+
This cmdlet adds Send from the access rights of the authorization rule for the Hybrid Connection with InputObject parameter.
157157

158158
### Example 5: Adds Send from the access rights of the authorization rule for the Wcf Relay
159159
```powershell
@@ -178,7 +178,7 @@ Type : Microsoft.Relay/namespaces/wcfrelays/authorizatio
178178

179179
This cmdlet adds Send from the access rights of the authorization rule for the Wcf Relay.
180180

181-
### Example 6: Adds Send from the access rights of the authorization rule for the Wcf Relay with InputeObject parameter
181+
### Example 6: Adds Send from the access rights of the authorization rule for the Wcf Relay with InputObject parameter
182182
```powershell
183183
$authRule = Get-AzRelayAuthorizationRule -ResourceGroupName lucas-relay-rg -Namespace namespace-pwsh01 -WcfRelay wcf-01 -Name authRule-01
184184
$authRule.Rights += 'Send'
@@ -201,7 +201,7 @@ SystemDataLastModifiedByType :
201201
Type : Microsoft.Relay/namespaces/wcfrelays/authorizationrules
202202
```
203203

204-
This cmdlet adds Send from the access rights of the authorization rule for the Wcf Relay with InputeObject parameter.
204+
This cmdlet adds Send from the access rights of the authorization rule for the Wcf Relay with InputObject parameter.
205205

206206
## PARAMETERS
207207

src/Relay/Relay.Autorest/docs/Set-AzRelayHybridConnection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ This example updates the UserMetadata property with new value.
6464
### Example 2: Updates a HybridConnection in the specified Relay namespace
6565
```powershell
6666
$connection = Get-AzRelayHybridConnection -ResourceGroupName Relay-ServiceBus-EastUS -Namespace namespace-pwsh01 -Name connection-01
67-
$connection.UserMetadata = "testHybirdConnection"
67+
$connection.UserMetadata = "testHybridConnection"
6868
Set-AzRelayHybridConnection -ResourceGroupName Relay-ServiceBus-EastUS -Namespace namespace-pwsh01 -Name connection-01 -InputObject $connection | Format-List
6969
```
7070

@@ -85,7 +85,7 @@ SystemDataLastModifiedBy :
8585
SystemDataLastModifiedByType :
8686
Type : Microsoft.Relay/namespaces/hybridconnections
8787
UpdatedAt : 3/30/2023 6:28:37 AM
88-
UserMetadata : testHybirdConnection
88+
UserMetadata : testHybridConnection
8989
```
9090

9191
This command updates a HybridConnection in the specified Relay namespace.

src/Relay/Relay.Autorest/examples/New-AzRelayHybridConnection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This cmdlet creates a new Hybrid Connection using an existing Hybrid Connection
5757
### Example 3: Update an existing Hybrid Connection
5858
```powershell
5959
$connection = Get-AzRelayHybridConnection -ResourceGroupName lucas-relay-rg -Namespace namespace-pwsh01 -Name connection-02
60-
$connection.UserMetadata = "TestHybirdConnection2"
60+
$connection.UserMetadata = "TestHybridConnection2"
6161
New-AzRelayHybridConnection -ResourceGroupName lucas-relay-rg -Namespace namespace-pwsh01 -Name connection-02 -InputObject $connection | Format-List
6262
```
6363

@@ -78,7 +78,7 @@ SystemDataLastModifiedBy :
7878
SystemDataLastModifiedByType :
7979
Type : Microsoft.Relay/namespaces/hybridconnections
8080
UpdatedAt : 1/1/0001 12:00:00 AM
81-
UserMetadata : TestHybirdConnection2
81+
UserMetadata : TestHybridConnection2
8282
```
8383

8484
This cmdlet updates an existing Hybrid Connection.

src/Relay/Relay.Autorest/examples/Set-AzRelayAuthorizationRule.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Type : Microsoft.Relay/Namespaces/AuthorizationRules
2121

2222
This cmdlet adds Listen from the access rights of the authorization rule for the Relay namespace.
2323

24-
### Example 2: Adds Send from the access rights of the authorization rule for the Relay namespace with InputeObject parameter
24+
### Example 2: Adds Send from the access rights of the authorization rule for the Relay namespace with InputObject parameter
2525
```powershell
2626
$authRule = Get-AzRelayAuthorizationRule -ResourceGroupName Relay-ServiceBus-EastUS -Namespace namespace-pwsh01 -Name authRule-01
2727
$authRule.Rights += 'Send'
@@ -44,7 +44,7 @@ SystemDataLastModifiedByType :
4444
Type : Microsoft.Relay/Namespaces/AuthorizationRules
4545
```
4646

47-
This cmdlet adds Send from the access rights of the authorization rule for the Relay namespace with InputeObject parameter.
47+
This cmdlet adds Send from the access rights of the authorization rule for the Relay namespace with InputObject parameter.
4848

4949
### Example 3: Set or update Listen from the access rights of the authorization rule for the Hybrid Connection
5050
```powershell
@@ -69,7 +69,7 @@ Type : Microsoft.Relay/namespaces/hybridconnections/auth
6969

7070
This cmdlet set or update Listen from the access rights of the authorization rule for the Hybrid Connection.
7171

72-
### Example 4: Adds Send from the access rights of the authorization rule for the Hybrid Connection with InputeObject parameter
72+
### Example 4: Adds Send from the access rights of the authorization rule for the Hybrid Connection with InputObject parameter
7373
```powershell
7474
$authRule = Get-AzRelayAuthorizationRule -ResourceGroupName lucas-relay-rg -Namespace namespace-pwsh01 -HybridConnection connection-01 -Name authRule-01
7575
$authRule.Rights += 'Send'
@@ -92,7 +92,7 @@ SystemDataLastModifiedByType :
9292
Type : Microsoft.Relay/namespaces/hybridconnections/authorizationrules
9393
```
9494

95-
This cmdlet adds Send from the access rights of the authorization rule for the Hybrid Connection with InputeObject parameter.
95+
This cmdlet adds Send from the access rights of the authorization rule for the Hybrid Connection with InputObject parameter.
9696

9797
### Example 5: Adds Send from the access rights of the authorization rule for the Wcf Relay
9898
```powershell
@@ -117,7 +117,7 @@ Type : Microsoft.Relay/namespaces/wcfrelays/authorizatio
117117

118118
This cmdlet adds Send from the access rights of the authorization rule for the Wcf Relay.
119119

120-
### Example 6: Adds Send from the access rights of the authorization rule for the Wcf Relay with InputeObject parameter
120+
### Example 6: Adds Send from the access rights of the authorization rule for the Wcf Relay with InputObject parameter
121121
```powershell
122122
$authRule = Get-AzRelayAuthorizationRule -ResourceGroupName lucas-relay-rg -Namespace namespace-pwsh01 -WcfRelay wcf-01 -Name authRule-01
123123
$authRule.Rights += 'Send'
@@ -140,4 +140,4 @@ SystemDataLastModifiedByType :
140140
Type : Microsoft.Relay/namespaces/wcfrelays/authorizationrules
141141
```
142142

143-
This cmdlet adds Send from the access rights of the authorization rule for the Wcf Relay with InputeObject parameter.
143+
This cmdlet adds Send from the access rights of the authorization rule for the Wcf Relay with InputObject parameter.

src/Relay/Relay.Autorest/examples/Set-AzRelayHybridConnection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This example updates the UserMetadata property with new value.
2929
### Example 2: Updates a HybridConnection in the specified Relay namespace
3030
```powershell
3131
$connection = Get-AzRelayHybridConnection -ResourceGroupName Relay-ServiceBus-EastUS -Namespace namespace-pwsh01 -Name connection-01
32-
$connection.UserMetadata = "testHybirdConnection"
32+
$connection.UserMetadata = "testHybridConnection"
3333
Set-AzRelayHybridConnection -ResourceGroupName Relay-ServiceBus-EastUS -Namespace namespace-pwsh01 -Name connection-01 -InputObject $connection | Format-List
3434
```
3535

@@ -50,7 +50,7 @@ SystemDataLastModifiedBy :
5050
SystemDataLastModifiedByType :
5151
Type : Microsoft.Relay/namespaces/hybridconnections
5252
UpdatedAt : 3/30/2023 6:28:37 AM
53-
UserMetadata : testHybirdConnection
53+
UserMetadata : testHybridConnection
5454
```
5555

5656
This command updates a HybridConnection in the specified Relay namespace.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "5852a5c9-5477-4633-9018-0e4cfe80bd0e"
2+
"generate_Id": "b611364a-a616-431f-a83e-8d9485996016"
33
}

0 commit comments

Comments
 (0)