Skip to content

Commit e88ef21

Browse files
[AppConfiguration] Move AppConfiguration to main (#19325)
* Move AppConfiguration to main * delete BreakingChangeIssues.csv Co-authored-by: azure-powershell-bot <[email protected]>
1 parent f3d280c commit e88ef21

14 files changed

+59
-27
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ param(
133133
[Parameter()]
134134
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Category('Body')]
135135
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IResourceIdentityUserAssignedIdentities]))]
136-
[System.Collections.Hashtable]
136+
[System.String[]]
137137
# The list of user-assigned identities associated with the resource.
138138
# The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
139139
${UserAssignedIdentity},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ param(
142142
[Parameter()]
143143
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Category('Body')]
144144
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IResourceIdentityUserAssignedIdentities]))]
145-
[System.Collections.Hashtable]
145+
[System.String[]]
146146
# The list of user-assigned identities associated with the resource.
147147
# The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
148148
${UserAssignedIdentity},

src/AppConfiguration/AppConfiguration.Autorest/docs/New-AzAppConfigurationStore.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ New-AzAppConfigurationStore -Name <String> -ResourceGroupName <String> -Location
1717
[-SubscriptionId <String>] [-CreateMode <CreateMode>] [-DisableLocalAuth] [-EnablePurgeProtection]
1818
[-EncryptionKeyIdentifier <String>] [-IdentityType <IdentityType>] [-KeyVaultIdentityClientId <String>]
1919
[-PublicNetworkAccess <PublicNetworkAccess>] [-SoftDeleteRetentionInDay <Int32>] [-Tag <Hashtable>]
20-
[-UserAssignedIdentity <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
20+
[-UserAssignedIdentity <String[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
2121
[<CommonParameters>]
2222
```
2323

@@ -322,7 +322,7 @@ The list of user-assigned identities associated with the resource.
322322
The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
323323
324324
```yaml
325-
Type: System.Collections.Hashtable
325+
Type: System.String[]
326326
Parameter Sets: (All)
327327
Aliases:
328328

src/AppConfiguration/AppConfiguration.Autorest/docs/Update-AzAppConfigurationStore.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Update-AzAppConfigurationStore -Name <String> -ResourceGroupName <String> [-Subs
1818
[-DisableLocalAuth] [-EnablePurgeProtection] [-EncryptionKeyIdentifier <String>]
1919
[-IdentityType <IdentityType>] [-KeyVaultIdentityClientId <String>]
2020
[-PublicNetworkAccess <PublicNetworkAccess>] [-Sku <String>] [-Tag <Hashtable>]
21-
[-UserAssignedIdentity <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
21+
[-UserAssignedIdentity <String[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
2222
[<CommonParameters>]
2323
```
2424

@@ -27,7 +27,7 @@ Update-AzAppConfigurationStore -Name <String> -ResourceGroupName <String> [-Subs
2727
Update-AzAppConfigurationStore -InputObject <IAppConfigurationIdentity> [-DisableLocalAuth]
2828
[-EnablePurgeProtection] [-EncryptionKeyIdentifier <String>] [-IdentityType <IdentityType>]
2929
[-KeyVaultIdentityClientId <String>] [-PublicNetworkAccess <PublicNetworkAccess>] [-Sku <String>]
30-
[-Tag <Hashtable>] [-UserAssignedIdentity <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
30+
[-Tag <Hashtable>] [-UserAssignedIdentity <String[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
3131
[-Confirm] [-WhatIf] [<CommonParameters>]
3232
```
3333

@@ -297,7 +297,7 @@ The list of user-assigned identities associated with the resource.
297297
The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
298298
299299
```yaml
300-
Type: System.Collections.Hashtable
300+
Type: System.String[]
301301
Parameter Sets: (All)
302302
Aliases:
303303

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ Creates a configuration store with the specified parameters.
2121
Creates a configuration store with the specified parameters.
2222
.Example
2323
New-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp -Location eastus -Sku Standard
24+
.Example
25+
$storeName = "azpstest-appstore-recover"
26+
$resourceGroupName = "azpstest_gp"
27+
$location = "eastus"
28+
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $location -Sku Standard
29+
Remove-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName
30+
Get-AzAppConfigurationDeletedStore -Location $location -Name $storeName
31+
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $location -Sku Standard -CreateMode 'Recover'
2432
2533
.Outputs
2634
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IConfigurationStore
@@ -125,7 +133,7 @@ param(
125133
[Parameter()]
126134
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Category('Body')]
127135
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IResourceIdentityUserAssignedIdentities]))]
128-
[System.Collections.Hashtable]
136+
[System.String[]]
129137
# The list of user-assigned identities associated with the resource.
130138
# The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
131139
${UserAssignedIdentity},

src/AppConfiguration/AppConfiguration.Autorest/exports/ProxyCmdletDefinitions.ps1

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,6 +1322,14 @@ Creates a configuration store with the specified parameters.
13221322
Creates a configuration store with the specified parameters.
13231323
.Example
13241324
New-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp -Location eastus -Sku Standard
1325+
.Example
1326+
$storeName = "azpstest-appstore-recover"
1327+
$resourceGroupName = "azpstest_gp"
1328+
$location = "eastus"
1329+
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $location -Sku Standard
1330+
Remove-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName
1331+
Get-AzAppConfigurationDeletedStore -Location $location -Name $storeName
1332+
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $location -Sku Standard -CreateMode 'Recover'
13251333
13261334
.Outputs
13271335
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IConfigurationStore
@@ -1426,7 +1434,7 @@ param(
14261434
[Parameter()]
14271435
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Category('Body')]
14281436
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IResourceIdentityUserAssignedIdentities]))]
1429-
[System.Collections.Hashtable]
1437+
[System.String[]]
14301438
# The list of user-assigned identities associated with the resource.
14311439
# The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
14321440
${UserAssignedIdentity},
@@ -1685,7 +1693,7 @@ param(
16851693
[Parameter()]
16861694
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Category('Body')]
16871695
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IResourceIdentityUserAssignedIdentities]))]
1688-
[System.Collections.Hashtable]
1696+
[System.String[]]
16891697
# The list of user-assigned identities associated with the resource.
16901698
# The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
16911699
${UserAssignedIdentity},

src/AppConfiguration/AppConfiguration.Autorest/exports/Update-AzAppConfigurationStore.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ param(
131131
[Parameter()]
132132
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Category('Body')]
133133
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IResourceIdentityUserAssignedIdentities]))]
134-
[System.Collections.Hashtable]
134+
[System.String[]]
135135
# The list of user-assigned identities associated with the resource.
136136
# The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
137137
${UserAssignedIdentity},
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"autorest_core": "3.9.2",
3-
"autorest": "`-- (empty)",
4-
"swagger_commit": "217094c81516ef845bb934304899627ff7c0ee30",
52
"autorest_powershell": "3.0.494",
3+
"swagger_commit": "6635f9f2f77185e6770680bc8cab9efae9c38b2b",
64
"autorest_modelerfour": "4.15.414",
5+
"autorest_core": "3.9.2",
6+
"autorest": "`-- (empty)",
77
"node": "v14.15.5"
88
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ Creates a configuration store with the specified parameters.
2121
Creates a configuration store with the specified parameters.
2222
.Example
2323
New-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp -Location eastus -Sku Standard
24+
.Example
25+
$storeName = "azpstest-appstore-recover"
26+
$resourceGroupName = "azpstest_gp"
27+
$location = "eastus"
28+
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $location -Sku Standard
29+
Remove-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName
30+
Get-AzAppConfigurationDeletedStore -Location $location -Name $storeName
31+
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $location -Sku Standard -CreateMode 'Recover'
2432
2533
.Outputs
2634
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IConfigurationStore

src/AppConfiguration/AppConfiguration.Autorest/internal/ProxyCmdletDefinitions.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,14 @@ Creates a configuration store with the specified parameters.
296296
Creates a configuration store with the specified parameters.
297297
.Example
298298
New-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp -Location eastus -Sku Standard
299+
.Example
300+
$storeName = "azpstest-appstore-recover"
301+
$resourceGroupName = "azpstest_gp"
302+
$location = "eastus"
303+
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $location -Sku Standard
304+
Remove-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName
305+
Get-AzAppConfigurationDeletedStore -Location $location -Name $storeName
306+
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $location -Sku Standard -CreateMode 'Recover'
299307
300308
.Outputs
301309
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IConfigurationStore

src/AppConfiguration/AppConfiguration/Az.AppConfiguration.psd1

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 3/31/2022
6+
# Generated on: 8/26/2022
77
#
88

99
@{
@@ -73,13 +73,15 @@ FunctionsToExport = 'Get-AzAppConfigurationStore', 'Get-AzAppConfigurationStoreK
7373
'New-AzAppConfigurationStore', 'New-AzAppConfigurationStoreKey',
7474
'Remove-AzAppConfigurationStore',
7575
'Test-AzAppConfigurationStoreNameAvailability',
76-
'Update-AzAppConfigurationStore'
76+
'Update-AzAppConfigurationStore',
77+
'Clear-AzAppConfigurationDeletedStore',
78+
'Get-AzAppConfigurationDeletedStore'
7779

7880
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
7981
CmdletsToExport = @()
8082

8183
# Variables to export from this module
82-
# VariablesToExport = @()
84+
VariablesToExport = '*'
8385

8486
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
8587
AliasesToExport = '*'
@@ -99,7 +101,7 @@ PrivateData = @{
99101
PSData = @{
100102

101103
# Tags applied to this module. These help with module discovery in online galleries.
102-
Tags = 'Azure','ResourceManager','ARM','PSModule','AppConfiguration'
104+
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'AppConfiguration'
103105

104106
# A URL to the license for this module.
105107
LicenseUri = 'https://aka.ms/azps-license'
@@ -124,7 +126,7 @@ PrivateData = @{
124126

125127
} # End of PSData hashtable
126128

127-
} # End of PrivateData hashtable
129+
} # End of PrivateData hashtable
128130

129131
# HelpInfo URI of this module
130132
# HelpInfoURI = ''
@@ -133,3 +135,4 @@ PrivateData = @{
133135
# DefaultCommandPrefix = ''
134136

135137
}
138+

src/AppConfiguration/AppConfiguration/help/New-AzAppConfigurationStore.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ New-AzAppConfigurationStore -Name <String> -ResourceGroupName <String> [-Subscri
1717
-Location <String> -Sku <String> [-CreateMode <CreateMode>] [-DisableLocalAuth] [-EnablePurgeProtection]
1818
[-EncryptionKeyIdentifier <String>] [-IdentityType <IdentityType>] [-KeyVaultIdentityClientId <String>]
1919
[-PublicNetworkAccess <PublicNetworkAccess>] [-SoftDeleteRetentionInDay <Int32>] [-Tag <Hashtable>]
20-
[-UserAssignedIdentity <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm]
20+
[-UserAssignedIdentity <String[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm]
2121
[<CommonParameters>]
2222
```
2323

@@ -322,7 +322,7 @@ The list of user-assigned identities associated with the resource.
322322
The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
323323
324324
```yaml
325-
Type: System.Collections.Hashtable
325+
Type: System.String[]
326326
Parameter Sets: (All)
327327
Aliases:
328328

src/AppConfiguration/AppConfiguration/help/Update-AzAppConfigurationStore.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Update-AzAppConfigurationStore -Name <String> -ResourceGroupName <String> [-Subs
1818
[-DisableLocalAuth] [-EnablePurgeProtection] [-EncryptionKeyIdentifier <String>]
1919
[-IdentityType <IdentityType>] [-KeyVaultIdentityClientId <String>]
2020
[-PublicNetworkAccess <PublicNetworkAccess>] [-Sku <String>] [-Tag <Hashtable>]
21-
[-UserAssignedIdentity <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm]
21+
[-UserAssignedIdentity <String[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm]
2222
[<CommonParameters>]
2323
```
2424

@@ -27,7 +27,7 @@ Update-AzAppConfigurationStore -Name <String> -ResourceGroupName <String> [-Subs
2727
Update-AzAppConfigurationStore -InputObject <IAppConfigurationIdentity> [-DisableLocalAuth]
2828
[-EnablePurgeProtection] [-EncryptionKeyIdentifier <String>] [-IdentityType <IdentityType>]
2929
[-KeyVaultIdentityClientId <String>] [-PublicNetworkAccess <PublicNetworkAccess>] [-Sku <String>]
30-
[-Tag <Hashtable>] [-UserAssignedIdentity <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
30+
[-Tag <Hashtable>] [-UserAssignedIdentity <String[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
3131
[-WhatIf] [-Confirm] [<CommonParameters>]
3232
```
3333

@@ -297,7 +297,7 @@ The list of user-assigned identities associated with the resource.
297297
The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
298298
299299
```yaml
300-
Type: System.Collections.Hashtable
300+
Type: System.String[]
301301
Parameter Sets: (All)
302302
Aliases:
303303

tools/StaticAnalysis/Exceptions/Az.AppConfiguration/BreakingChangeIssues.csv

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

0 commit comments

Comments
 (0)