Skip to content

Commit e88ef21

Browse files
[AppConfiguration] Move AppConfiguration to main (Azure#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

0 commit comments

Comments
 (0)