Skip to content

Commit 27c0fc9

Browse files
authored
[Az.FluidRelay] Update generation tool version: autorest.powershell v3->v4 (#27639)
1 parent 480a4b3 commit 27c0fc9

31 files changed

+1290
-452
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 - FluidRelay")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.2")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.2")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]

src/FluidRelay/FluidRelay.Autorest/README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,19 @@ module-version: 0.1.0
3737
title: FluidRelay
3838
subject-prefix: $(service-name)
3939

40-
resourcegroup-append: true
41-
identity-correction-for-post: true
42-
nested-object-to-string: true
43-
44-
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
45-
use-extension:
46-
"@autorest/powershell": "3.x"
47-
4840
directive:
41+
- from: swagger-document
42+
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.FluidRelay/fluidRelayServers/{fluidRelayServerName}"].delete
43+
transform: >-
44+
$["x-ms-long-running-operation"] = true
45+
4946
- where:
50-
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Regenerate$|^RegenerateViaIdentity$
47+
variant: ^(Create|Update|Regenerate)(?!.*?(Expanded|JsonFilePath|JsonString))
5148
remove: true
49+
- where:
50+
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
51+
remove: true
52+
5253
- where:
5354
subject: FluidRelayServerKey
5455
variant: Get

src/FluidRelay/FluidRelay.Autorest/docs/Az.FluidRelay.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.FluidRelay
3-
Module Guid: 5b50d9cb-6a6c-43c3-9cbf-24c0c7233926
3+
Module Guid: 952b776b-10b6-4b4a-8200-9bf09045177d
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.fluidrelay
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -21,7 +21,7 @@ Get a Fluid Relay server.
2121
Get primary and secondary key for this server.
2222

2323
### [New-AzFluidRelayServer](New-AzFluidRelayServer.md)
24-
Create or Update a Fluid Relay server.
24+
create a Fluid Relay server.
2525

2626
### [New-AzFluidRelayServerKey](New-AzFluidRelayServerKey.md)
2727
Regenerate the primary or secondary key for this server.
@@ -33,5 +33,5 @@ Delete a Fluid Relay container.
3333
Delete a Fluid Relay server.
3434

3535
### [Update-AzFluidRelayServer](Update-AzFluidRelayServer.md)
36-
Update a Fluid Relay server.
36+
update a Fluid Relay server.
3737

src/FluidRelay/FluidRelay.Autorest/docs/Get-AzFluidRelayContainer.md

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ Get-AzFluidRelayContainer -FluidRelayServerName <String> -Name <String> -Resourc
2929
Get-AzFluidRelayContainer -InputObject <IFluidRelayIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>]
3030
```
3131

32+
### GetViaIdentityFluidRelayServer
33+
```
34+
Get-AzFluidRelayContainer -FluidRelayServerInputObject <IFluidRelayIdentity> -Name <String>
35+
[-DefaultProfile <PSObject>] [<CommonParameters>]
36+
```
37+
38+
### GetViaIdentityResourceGroup
39+
```
40+
Get-AzFluidRelayContainer -FluidRelayServerName <String> -Name <String>
41+
-ResourceGroupInputObject <IFluidRelayIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>]
42+
```
43+
3244
## DESCRIPTION
3345
Get a Fluid Relay container.
3446

@@ -81,12 +93,27 @@ Accept pipeline input: False
8193
Accept wildcard characters: False
8294
```
8395
96+
### -FluidRelayServerInputObject
97+
Identity Parameter
98+
99+
```yaml
100+
Type: Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayIdentity
101+
Parameter Sets: GetViaIdentityFluidRelayServer
102+
Aliases:
103+
104+
Required: True
105+
Position: Named
106+
Default value: None
107+
Accept pipeline input: True (ByValue)
108+
Accept wildcard characters: False
109+
```
110+
84111
### -FluidRelayServerName
85112
The Fluid Relay server resource name.
86113
87114
```yaml
88115
Type: System.String
89-
Parameter Sets: Get, List
116+
Parameter Sets: Get, GetViaIdentityResourceGroup, List
90117
Aliases:
91118

92119
Required: True
@@ -98,7 +125,6 @@ Accept wildcard characters: False
98125
99126
### -InputObject
100127
Identity Parameter
101-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
102128
103129
```yaml
104130
Type: Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayIdentity
@@ -117,7 +143,7 @@ The Fluid Relay container resource name.
117143
118144
```yaml
119145
Type: System.String
120-
Parameter Sets: Get
146+
Parameter Sets: Get, GetViaIdentityFluidRelayServer, GetViaIdentityResourceGroup
121147
Aliases: FluidRelayContainerName
122148

123149
Required: True
@@ -142,6 +168,21 @@ Accept pipeline input: False
142168
Accept wildcard characters: False
143169
```
144170
171+
### -ResourceGroupInputObject
172+
Identity Parameter
173+
174+
```yaml
175+
Type: Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayIdentity
176+
Parameter Sets: GetViaIdentityResourceGroup
177+
Aliases:
178+
179+
Required: True
180+
Position: Named
181+
Default value: None
182+
Accept pipeline input: True (ByValue)
183+
Accept wildcard characters: False
184+
```
185+
145186
### -SubscriptionId
146187
The subscription id (GUID) for this resource.
147188
@@ -166,7 +207,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
166207
167208
## OUTPUTS
168209
169-
### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.Api20220601.IFluidRelayContainer
210+
### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayContainer
170211
171212
## NOTES
172213

src/FluidRelay/FluidRelay.Autorest/docs/Get-AzFluidRelayServer.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ Get-AzFluidRelayServer -Name <String> -ResourceGroup <String> [-SubscriptionId <
2828
Get-AzFluidRelayServer -InputObject <IFluidRelayIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>]
2929
```
3030

31+
### GetViaIdentityResourceGroup
32+
```
33+
Get-AzFluidRelayServer -Name <String> -ResourceGroupInputObject <IFluidRelayIdentity>
34+
[-DefaultProfile <PSObject>] [<CommonParameters>]
35+
```
36+
3137
### List1
3238
```
3339
Get-AzFluidRelayServer -ResourceGroup <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
@@ -98,7 +104,6 @@ Accept wildcard characters: False
98104
99105
### -InputObject
100106
Identity Parameter
101-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
102107
103108
```yaml
104109
Type: Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayIdentity
@@ -117,7 +122,7 @@ The Fluid Relay server resource name.
117122
118123
```yaml
119124
Type: System.String
120-
Parameter Sets: Get
125+
Parameter Sets: Get, GetViaIdentityResourceGroup
121126
Aliases: FluidRelayServerName
122127

123128
Required: True
@@ -142,6 +147,21 @@ Accept pipeline input: False
142147
Accept wildcard characters: False
143148
```
144149
150+
### -ResourceGroupInputObject
151+
Identity Parameter
152+
153+
```yaml
154+
Type: Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayIdentity
155+
Parameter Sets: GetViaIdentityResourceGroup
156+
Aliases:
157+
158+
Required: True
159+
Position: Named
160+
Default value: None
161+
Accept pipeline input: True (ByValue)
162+
Accept wildcard characters: False
163+
```
164+
145165
### -SubscriptionId
146166
The subscription id (GUID) for this resource.
147167
@@ -166,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
166186
167187
## OUTPUTS
168188
169-
### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.Api20220601.IFluidRelayServer
189+
### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayServer
170190
171191
## NOTES
172192

src/FluidRelay/FluidRelay.Autorest/docs/Get-AzFluidRelayServerKey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
136136
137137
## OUTPUTS
138138
139-
### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.Api20220601.IFluidRelayServerKeys
139+
### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayServerKeys
140140
141141
## NOTES
142142

0 commit comments

Comments
 (0)