Skip to content

Commit 6b1ebc1

Browse files
committed
Suppress breaking change
1 parent 39f6809 commit 6b1ebc1

File tree

7 files changed

+38
-21
lines changed

7 files changed

+38
-21
lines changed

src/LoadTesting/LoadTesting.Autorest/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]
2727

28+

src/LoadTesting/LoadTesting.Autorest/docs/Update-AzLoad.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This command updates the Azure Load Testing resource named sampleres in resource
4040

4141
### Example 2: Update an Azure Load Testing resource to use System-Assigned identity for CMK encryption
4242
```powershell
43-
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity -EncryptionIdentity "SystemAssigned" -EncryptionKey "https://sample-akv.vault.azure.net/keys/cmk/2d1ccd5c50234ea2a0858fe148b69cde"
43+
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity $true -EncryptionIdentity "SystemAssigned" -EncryptionKey "https://sample-akv.vault.azure.net/keys/cmk/2d1ccd5c50234ea2a0858fe148b69cde"
4444
```
4545

4646
```output
@@ -55,7 +55,7 @@ This command updates the Azure Load Testing resource named sampleres in resource
5555
```powershell
5656
$userAssigned = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1"
5757
58-
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity -UserAssignedIdentity $userAssigned
58+
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity $true -UserAssignedIdentity $userAssigned
5959
```
6060

6161
```output

src/LoadTesting/LoadTesting.Autorest/examples/Update-AzLoad.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This command updates the Azure Load Testing resource named sampleres in resource
1414

1515
### Example 2: Update an Azure Load Testing resource to use System-Assigned identity for CMK encryption
1616
```powershell
17-
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity -EncryptionIdentity "SystemAssigned" -EncryptionKey "https://sample-akv.vault.azure.net/keys/cmk/2d1ccd5c50234ea2a0858fe148b69cde"
17+
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity $true -EncryptionIdentity "SystemAssigned" -EncryptionKey "https://sample-akv.vault.azure.net/keys/cmk/2d1ccd5c50234ea2a0858fe148b69cde"
1818
```
1919

2020
```output
@@ -29,7 +29,7 @@ This command updates the Azure Load Testing resource named sampleres in resource
2929
```powershell
3030
$userAssigned = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1"
3131
32-
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity -UserAssignedIdentity $userAssigned
32+
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity $true -UserAssignedIdentity $userAssigned
3333
```
3434

3535
```output
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "d80cda27-7106-4340-ad90-e64d7eefa67b"
2+
"generate_Id": "1a0c155c-9cf5-4157-b6c7-a00ff5eca2e6"
33
}

src/LoadTesting/LoadTesting.sln

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LoadTesting", "LoadTesting\
2323
EndProject
2424
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "LoadTesting.Autorest", "LoadTesting.Autorest", "{B95622F7-8CCF-3676-EE42-4A741F41DE56}"
2525
EndProject
26-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.LoadTesting", "..\..\generated\LoadTesting\LoadTesting.Autorest\Az.LoadTesting.csproj", "{BD191D22-3EF4-4603-ACC7-4136CFC80491}"
26+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.LoadTesting", "..\..\generated\LoadTesting\LoadTesting.Autorest\Az.LoadTesting.csproj", "{643BF4B8-304B-4D13-99A2-255F7A7EB441}"
2727
EndProject
2828
Global
2929
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -119,18 +119,18 @@ Global
119119
{0A6C6017-0802-4D1A-A23D-269EF81E8B60}.Release|x64.Build.0 = Release|Any CPU
120120
{0A6C6017-0802-4D1A-A23D-269EF81E8B60}.Release|x86.ActiveCfg = Release|Any CPU
121121
{0A6C6017-0802-4D1A-A23D-269EF81E8B60}.Release|x86.Build.0 = Release|Any CPU
122-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
123-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Debug|Any CPU.Build.0 = Debug|Any CPU
124-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Debug|x64.ActiveCfg = Debug|Any CPU
125-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Debug|x64.Build.0 = Debug|Any CPU
126-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Debug|x86.ActiveCfg = Debug|Any CPU
127-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Debug|x86.Build.0 = Debug|Any CPU
128-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Release|Any CPU.ActiveCfg = Release|Any CPU
129-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Release|Any CPU.Build.0 = Release|Any CPU
130-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Release|x64.ActiveCfg = Release|Any CPU
131-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Release|x64.Build.0 = Release|Any CPU
132-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Release|x86.ActiveCfg = Release|Any CPU
133-
{BD191D22-3EF4-4603-ACC7-4136CFC80491}.Release|x86.Build.0 = Release|Any CPU
122+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
123+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Debug|Any CPU.Build.0 = Debug|Any CPU
124+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Debug|x64.ActiveCfg = Debug|Any CPU
125+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Debug|x64.Build.0 = Debug|Any CPU
126+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Debug|x86.ActiveCfg = Debug|Any CPU
127+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Debug|x86.Build.0 = Debug|Any CPU
128+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Release|Any CPU.ActiveCfg = Release|Any CPU
129+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Release|Any CPU.Build.0 = Release|Any CPU
130+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Release|x64.ActiveCfg = Release|Any CPU
131+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Release|x64.Build.0 = Release|Any CPU
132+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Release|x86.ActiveCfg = Release|Any CPU
133+
{643BF4B8-304B-4D13-99A2-255F7A7EB441}.Release|x86.Build.0 = Release|Any CPU
134134
EndGlobalSection
135135
GlobalSection(SolutionProperties) = preSolution
136136
HideSolutionNode = FALSE
@@ -143,6 +143,6 @@ Global
143143
{F99E356D-3135-4444-ABC6-7A5DC4FC5734} = {75FD1C50-BACE-452E-8DF6-A875780E3BA0}
144144
{9C942A00-3CBF-4288-99C5-A96B832DA2AE} = {75FD1C50-BACE-452E-8DF6-A875780E3BA0}
145145
{0A6C6017-0802-4D1A-A23D-269EF81E8B60} = {7837D7A0-A561-47B6-AF6F-7D0487673C43}
146-
{BD191D22-3EF4-4603-ACC7-4136CFC80491} = {B95622F7-8CCF-3676-EE42-4A741F41DE56}
146+
{643BF4B8-304B-4D13-99A2-255F7A7EB441} = {B95622F7-8CCF-3676-EE42-4A741F41DE56}
147147
EndGlobalSection
148148
EndGlobal

src/LoadTesting/LoadTesting/help/Update-AzLoad.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This command updates the Azure Load Testing resource named sampleres in resource
4040

4141
### Example 2: Update an Azure Load Testing resource to use System-Assigned identity for CMK encryption
4242
```powershell
43-
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity -EncryptionIdentity "SystemAssigned" -EncryptionKey "https://sample-akv.vault.azure.net/keys/cmk/2d1ccd5c50234ea2a0858fe148b69cde"
43+
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity $true -EncryptionIdentity "SystemAssigned" -EncryptionKey "https://sample-akv.vault.azure.net/keys/cmk/2d1ccd5c50234ea2a0858fe148b69cde"
4444
```
4545

4646
```output
@@ -55,7 +55,7 @@ This command updates the Azure Load Testing resource named sampleres in resource
5555
```powershell
5656
$userAssigned = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1"
5757
58-
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity -UserAssignedIdentity $userAssigned
58+
Update-AzLoad -Name sampleres -ResourceGroupName sample-rg -EnableSystemAssignedIdentity $true -UserAssignedIdentity $userAssigned
5959
```
6060

6161
```output
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"Module","ClassName","Target","Severity","ProblemId","Description","Remediation"
2+
"Az.LoadTesting","Get-AzLoad","Get-AzLoad","0","3000","The type of property 'IdentityType' of type 'Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.Api20221201.ILoadTestResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ManagedServiceIdentityType]' to 'System.String'.","Change the type of property 'IdentityType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ManagedServiceIdentityType]'."
3+
"Az.LoadTesting","Get-AzLoad","Get-AzLoad","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.Api20221201.ILoadTestResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ResourceState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ResourceState]'."
4+
"Az.LoadTesting","Get-AzLoad","Get-AzLoad","0","3000","The type of property 'EncryptionIdentityType' of type 'Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.Api20221201.ILoadTestResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.Type]' to 'System.String'.","Change the type of property 'EncryptionIdentityType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.Type]'."
5+
"Az.LoadTesting","New-AzLoad","New-AzLoad","0","3000","The type of property 'IdentityType' of type 'Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.Api20221201.ILoadTestResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ManagedServiceIdentityType]' to 'System.String'.","Change the type of property 'IdentityType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ManagedServiceIdentityType]'."
6+
"Az.LoadTesting","New-AzLoad","New-AzLoad","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.Api20221201.ILoadTestResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ResourceState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ResourceState]'."
7+
"Az.LoadTesting","New-AzLoad","New-AzLoad","0","3000","The type of property 'EncryptionIdentityType' of type 'Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.Api20221201.ILoadTestResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.Type]' to 'System.String'.","Change the type of property 'EncryptionIdentityType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.Type]'."
8+
"Az.LoadTesting","New-AzLoad","New-AzLoad","0","2000","The cmdlet 'New-AzLoad' no longer supports the parameter 'IdentityType' and no alias was found for the original parameter name.","Add the parameter 'IdentityType' back to the cmdlet 'New-AzLoad', or add an alias to the original parameter name."
9+
"Az.LoadTesting","New-AzLoad","New-AzLoad","0","2000","The cmdlet 'New-AzLoad' no longer supports the parameter 'IdentityUserAssigned' and no alias was found for the original parameter name.","Add the parameter 'IdentityUserAssigned' back to the cmdlet 'New-AzLoad', or add an alias to the original parameter name."
10+
"Az.LoadTesting","New-AzLoad","New-AzLoad","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzLoad' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzLoad'."
11+
"Az.LoadTesting","Update-AzLoad","Update-AzLoad","0","3000","The type of property 'IdentityType' of type 'Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.Api20221201.ILoadTestResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ManagedServiceIdentityType]' to 'System.String'.","Change the type of property 'IdentityType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ManagedServiceIdentityType]'."
12+
"Az.LoadTesting","Update-AzLoad","Update-AzLoad","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.Api20221201.ILoadTestResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ResourceState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.ResourceState]'."
13+
"Az.LoadTesting","Update-AzLoad","Update-AzLoad","0","3000","The type of property 'EncryptionIdentityType' of type 'Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.Api20221201.ILoadTestResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.Type]' to 'System.String'.","Change the type of property 'EncryptionIdentityType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Support.Type]'."
14+
"Az.LoadTesting","Update-AzLoad","Update-AzLoad","0","2000","The cmdlet 'Update-AzLoad' no longer supports the parameter 'IdentityType' and no alias was found for the original parameter name.","Add the parameter 'IdentityType' back to the cmdlet 'Update-AzLoad', or add an alias to the original parameter name."
15+
"Az.LoadTesting","Update-AzLoad","Update-AzLoad","0","2000","The cmdlet 'Update-AzLoad' no longer supports the parameter 'IdentityUserAssigned' and no alias was found for the original parameter name.","Add the parameter 'IdentityUserAssigned' back to the cmdlet 'Update-AzLoad', or add an alias to the original parameter name."
16+
"Az.LoadTesting","Update-AzLoad","Update-AzLoad","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Update-AzLoad' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Update-AzLoad'."

0 commit comments

Comments
 (0)