Skip to content

Commit d5220e9

Browse files
authored
[Az.AppConfiguration] Update generation tool version: autorest.powershell v3->v4 (Azure#27524)
1 parent ff9ff5c commit d5220e9

34 files changed

+1369
-1030
lines changed

src/AppConfiguration/AppConfiguration.Autorest/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ generated
55
internal
66
exports
77
tools
8-
custom/autogen-model-cmdlets
98
test/*-TestResults.xml
109
license.txt
1110
/*.ps1

src/AppConfiguration/AppConfiguration.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - AppConfiguration")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.4.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("1.4.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.4.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("1.4.1")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

src/AppConfiguration/AppConfiguration.Autorest/README.md

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -54,42 +54,24 @@ module-version: 1.0.0
5454
title: AppConfiguration
5555
subject-prefix: $(service-name)
5656

57-
# If there are post APIs for some kinds of actions in the RP, you may need to
58-
# uncomment following line to support viaIdentity for these post APIs
59-
identity-correction-for-post: true
60-
resourcegroup-append: true
61-
nested-object-to-string: true
62-
63-
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
64-
use-extension:
65-
"@autorest/powershell": "3.x"
66-
6757
directive:
68-
# Remove the unexpanded parameter set
6958
- where:
70-
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^CheckViaIdentityExpanded$
59+
variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))
60+
remove: true
61+
- where:
62+
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^CheckViaIdentityExpanded$|^PurgeViaIdentityLocation$|^GetViaIdentityLocation$
7163
remove: true
7264

7365
- where:
7466
parameter-name: ConfigStoreCreationParameter|RegenerateKeyParameter|CheckNameAvailabilityParameter
7567
select: command
7668
hide: true
7769

78-
# Hide New & Update for customization
79-
- where:
80-
verb: Update|New
81-
subject: ConfigurationStore
82-
hide: true
83-
8470
# Rename parameters to follow design guideline
8571
- where:
8672
subject: OperationNameAvailability
8773
set:
8874
subject: StoreNameAvailability
89-
- where:
90-
parameter-name: IdentityUserAssignedIdentity
91-
set:
92-
parameter-name: UserAssignedIdentity
9375
- where:
9476
parameter-name: KeyVaultPropertyIdentityClientId
9577
set:
@@ -120,15 +102,6 @@ directive:
120102
subject: PrivateEndpointConnection|PrivateLinkResource
121103
remove: true
122104

123-
# rename enum
124-
- where:
125-
parameter-name: IdentityType
126-
set:
127-
completer:
128-
name: Managed Identity Type Completer
129-
description: Gets the list of type of managed identities available for creating/updating app configuration store.
130-
script: "'None', 'SystemAssigned', 'UserAssigned', 'SystemAssignedAndUserAssigned'"
131-
132105
# Remove `[-SkipToken <String>]` because we hide pageable implementation.
133106
- from: swagger-document
134107
where: $.paths.*.*
@@ -152,22 +125,4 @@ directive:
152125
subject: ^ConfigurationStoreDeleted$
153126
set:
154127
subject: ConfigurationDeletedStore
155-
156-
#breaking change message
157-
- where:
158-
verb: Get
159-
subject: ConfigurationStore
160-
set:
161-
breaking-change:
162-
deprecated-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IConfigurationStore
163-
replacement-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStore
164-
deprecated-output-properties:
165-
- PrivateEndpointConnection Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference
166-
new-output-properties:
167-
- PrivateEndpointConnection System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference]
168-
change-description:
169-
- The type of property 'PrivateEndpointConnection' of type 'Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IConfigurationStore' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference]'
170-
deprecated-by-version: 2.0.0
171-
deprecated-by-azversion: 14.0.0
172-
change-effective-date: 2025/05/19
173128
```

src/AppConfiguration/AppConfiguration.Autorest/custom/KeyVaultProperties.json.cs

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/AppConfiguration/AppConfiguration.Autorest/custom/New-AzAppConfigurationStore.ps1

Lines changed: 0 additions & 222 deletions
This file was deleted.

0 commit comments

Comments
 (0)