You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated Export-AzResourceGroup cmdlet to use the SDK. (Azure#13275)
* Export template with SDK #1
* Export template with SDK #2
* Update changelog
* Added back support for -ApiVersion parameter with a deprecation notice
* update changelog to avoid merge issue
* Review fixes
* re-record tests
Co-authored-by: Yeming Liu <[email protected]>
Copy file name to clipboardExpand all lines: src/Resources/ResourceManager/Implementation/CmdletBase/ResourceManagerCmdletBaseWithAPiVersion.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ public abstract class ResourceManagerCmdletBaseWithApiVersion : ResourceManagerC
25
25
/// </summary>
26
26
[Parameter(Mandatory=false,HelpMessage="When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.")]
@@ -93,51 +95,43 @@ public class ExportAzureResourceGroupCmdlet : ResourceManagerCmdletBaseWithApiVe
93
95
[Parameter(Mandatory=false,HelpMessage="Do not ask for confirmation.")]
94
96
publicSwitchParameterForce{get;set;}
95
97
98
+
/// <summary>
99
+
/// Gets or sets the API version.
100
+
/// </summary>
101
+
[CmdletParameterBreakingChange("ApiVersion",ChangeDescription="Parameter is being deprecated without being replaced. Using the lastest possible API version will become the default behavior.")]
102
+
[Parameter(Mandatory=false,HelpMessage="When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.")]
Copy file name to clipboardExpand all lines: src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestExportResourceGroup.json
Copy file name to clipboardExpand all lines: src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestExportResourceGroupAsyncRoute.json
Copy file name to clipboardExpand all lines: src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestExportResourceGroupWithFiltering.json
0 commit comments