Skip to content

[Az.FluidRelay] Update generation tool version: autorest.powershell v3->v4 #27639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/FluidRelay/FluidRelay.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the ""License"");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an ""AS IS"" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
// is regenerated.

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - FluidRelay")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.2")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.2")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
19 changes: 10 additions & 9 deletions src/FluidRelay/FluidRelay.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,19 @@ module-version: 0.1.0
title: FluidRelay
subject-prefix: $(service-name)

resourcegroup-append: true
identity-correction-for-post: true
nested-object-to-string: true

# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
use-extension:
"@autorest/powershell": "3.x"

directive:
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.FluidRelay/fluidRelayServers/{fluidRelayServerName}"].delete
transform: >-
$["x-ms-long-running-operation"] = true

- where:
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Regenerate$|^RegenerateViaIdentity$
variant: ^(Create|Update|Regenerate)(?!.*?(Expanded|JsonFilePath|JsonString))
remove: true
- where:
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
remove: true

- where:
subject: FluidRelayServerKey
variant: Get
Expand Down
6 changes: 3 additions & 3 deletions src/FluidRelay/FluidRelay.Autorest/docs/Az.FluidRelay.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.FluidRelay
Module Guid: 5b50d9cb-6a6c-43c3-9cbf-24c0c7233926
Module Guid: 952b776b-10b6-4b4a-8200-9bf09045177d
Download Help Link: https://learn.microsoft.com/powershell/module/az.fluidrelay
Help Version: 1.0.0.0
Locale: en-US
Expand All @@ -21,7 +21,7 @@ Get a Fluid Relay server.
Get primary and secondary key for this server.

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

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

### [Update-AzFluidRelayServer](Update-AzFluidRelayServer.md)
Update a Fluid Relay server.
update a Fluid Relay server.

Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ Get-AzFluidRelayContainer -FluidRelayServerName <String> -Name <String> -Resourc
Get-AzFluidRelayContainer -InputObject <IFluidRelayIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>]
```

### GetViaIdentityFluidRelayServer
```
Get-AzFluidRelayContainer -FluidRelayServerInputObject <IFluidRelayIdentity> -Name <String>
[-DefaultProfile <PSObject>] [<CommonParameters>]
```

### GetViaIdentityResourceGroup
```
Get-AzFluidRelayContainer -FluidRelayServerName <String> -Name <String>
-ResourceGroupInputObject <IFluidRelayIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>]
```

## DESCRIPTION
Get a Fluid Relay container.

Expand Down Expand Up @@ -81,12 +93,27 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -FluidRelayServerInputObject
Identity Parameter

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayIdentity
Parameter Sets: GetViaIdentityFluidRelayServer
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```

### -FluidRelayServerName
The Fluid Relay server resource name.

```yaml
Type: System.String
Parameter Sets: Get, List
Parameter Sets: Get, GetViaIdentityResourceGroup, List
Aliases:

Required: True
Expand All @@ -98,7 +125,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayIdentity
Expand All @@ -117,7 +143,7 @@ The Fluid Relay container resource name.

```yaml
Type: System.String
Parameter Sets: Get
Parameter Sets: Get, GetViaIdentityFluidRelayServer, GetViaIdentityResourceGroup
Aliases: FluidRelayContainerName

Required: True
Expand All @@ -142,6 +168,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ResourceGroupInputObject
Identity Parameter

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayIdentity
Parameter Sets: GetViaIdentityResourceGroup
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```

### -SubscriptionId
The subscription id (GUID) for this resource.

Expand All @@ -166,7 +207,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.Api20220601.IFluidRelayContainer
### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayContainer

## NOTES

Expand Down
26 changes: 23 additions & 3 deletions src/FluidRelay/FluidRelay.Autorest/docs/Get-AzFluidRelayServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ Get-AzFluidRelayServer -Name <String> -ResourceGroup <String> [-SubscriptionId <
Get-AzFluidRelayServer -InputObject <IFluidRelayIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>]
```

### GetViaIdentityResourceGroup
```
Get-AzFluidRelayServer -Name <String> -ResourceGroupInputObject <IFluidRelayIdentity>
[-DefaultProfile <PSObject>] [<CommonParameters>]
```

### List1
```
Get-AzFluidRelayServer -ResourceGroup <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
Expand Down Expand Up @@ -98,7 +104,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayIdentity
Expand All @@ -117,7 +122,7 @@ The Fluid Relay server resource name.

```yaml
Type: System.String
Parameter Sets: Get
Parameter Sets: Get, GetViaIdentityResourceGroup
Aliases: FluidRelayServerName

Required: True
Expand All @@ -142,6 +147,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ResourceGroupInputObject
Identity Parameter

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayIdentity
Parameter Sets: GetViaIdentityResourceGroup
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```

### -SubscriptionId
The subscription id (GUID) for this resource.

Expand All @@ -166,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.Api20220601.IFluidRelayServer
### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayServer

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.Api20220601.IFluidRelayServerKeys
### Microsoft.Azure.PowerShell.Cmdlets.FluidRelay.Models.IFluidRelayServerKeys

## NOTES

Expand Down
Loading
Loading