diff --git a/src/ResourceMover/ResourceMover.Autorest/Properties/AssemblyInfo.cs b/src/ResourceMover/ResourceMover.Autorest/Properties/AssemblyInfo.cs index 98c7e9827d41..5a8c0d1d9782 100644 --- a/src/ResourceMover/ResourceMover.Autorest/Properties/AssemblyInfo.cs +++ b/src/ResourceMover/ResourceMover.Autorest/Properties/AssemblyInfo.cs @@ -20,7 +20,8 @@ [assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] [assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] [assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ResourceMover")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.3.0")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.3.0")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.3.1")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.3.1")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] + diff --git a/src/ResourceMover/ResourceMover.Autorest/README.md b/src/ResourceMover/ResourceMover.Autorest/README.md index 41284bbcc528..96e31be56ee5 100644 --- a/src/ResourceMover/ResourceMover.Autorest/README.md +++ b/src/ResourceMover/ResourceMover.Autorest/README.md @@ -62,80 +62,206 @@ input-file: - $(aks)/resourcemovercollection.json module-version: 1.0.0 -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" - directive: # Remove the unexpanded parameter set - where: - variant: ^Initiate$|^InitiateViaIdentity$|^InitiateViaIdentityExpanded$|^Commit$|^CommitViaIdentity$|^CommitViaIdentityExpanded$|^Discard$|^DiscardViaIdentity$|^DiscardViaIdentityExpanded$|^Prepare$|^PrepareViaIdentity$|^PrepareViaIdentityExpanded$|^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateExpanded$|^UpdateViaIdentityExpanded$|^UpdateViaIdentity$|^ResolveViaIdentity$|^GetViaIdentity$|^DeleteViaIdentity$|^Bulk$|^BulkViaIdentity$|^BulkViaIdentityExpanded$ + variant: ^(Create|Update|Discard)(?!.*?(Expanded|JsonFilePath|JsonString)) remove: true + + - where: + variant: ^CreateViaIdentityExpanded$|^UpdateExpanded$|^UpdateViaIdentityExpanded$|^UpdateViaIdentityMoveCollectionExpanded$|^DiscardViaIdentityExpanded$ + remove: true + + - where: + variant: ^(Bulk|Commit|Initiate|Prepare)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + + - where: + variant: ^BulkViaIdentityExpanded$|^CommitViaIdentityExpanded$|^InitiateViaIdentityExpanded$|^PrepareViaIdentityExpanded$ + remove: true + + - where: + variant: ^ResolveViaIdentity$|^GetViaIdentity$|^DeleteViaIdentity$ + remove: true + - where: subject: OperationsDiscovery remove: true + - where: - variant: DiscardExpanded + variant: ^Discard subject: MoveCollection verb: Remove set: verb: Invoke + - where: - variant: DiscardExpanded + variant: ^Discard subject: MoveCollection verb: Invoke set: subject: Discard + - where: - variant: CreateExpanded subject: MoveResource verb: New set: verb: Add + - where: - variant: PrepareExpanded + variant: ^Prepare set: subject: Prepare + - where: - variant: InitiateExpanded + variant: ^Initiate set: subject: InitiateMove + - where: - variant: CommitExpanded + variant: ^Commit set: subject: Commit + - where: - variant: BulkExpanded + variant: ^Bulk set: subject: BulkRemove + - where: verb: Add subject: MoveResource set: alias: - Update-AzResourceMoverMoveResource + - where: verb: Get subject: MoveCollectionRequired set: subject: RequiredForResources + - where: model-name: MoveResource set: suppress-format: true + - where: model-name: OperationStatus set: suppress-format: true + - where: model-name: UnresolvedDependency set: suppress-format: true + - no-inline: - ResourceSettings - - from: ResourceMover.cs - where: $ - transform: $ = $.replace(/throw new Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.UndeclaredResponseException\(_response\);/g,"await onDefault\(_response,_response.Content.ReadAsStringAsync\(\).ContinueWith\( body => Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.CloudError.FromJson\(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.Json.JsonNode.Parse\(body.Result\)\) \)\);"); + + - from: swagger-document + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/discard"].post.parameters + transform: >- + return [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/moveCollectionName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DiscardRequest" + } + } + ] + + - from: swagger-document + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/commit"].post.parameters + transform: >- + return [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/moveCollectionName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CommitRequest" + } + } + ] + + - from: swagger-document + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/initiateMove"].post.parameters + transform: >- + return [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/moveCollectionName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceMoveRequest" + } + } + ] + + - from: swagger-document + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/prepare"].post.parameters + transform: >- + return [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/moveCollectionName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrepareRequest" + } + } + ] - from: swagger-document where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}"].put diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateExpanded.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateExpanded.cs index 8f00b84effe8..c8ec511ca9ae 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateExpanded.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateExpanded.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateViaIdentityMoveCollectionExpanded.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateViaIdentityMoveCollectionExpanded.cs new file mode 100644 index 000000000000..02fa92d72e29 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateViaIdentityMoveCollectionExpanded.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class AddAzResourceMoverMoveResource_CreateViaIdentityMoveCollectionExpanded + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateViaJsonFilePath.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateViaJsonFilePath.cs new file mode 100644 index 000000000000..10c2abcbd058 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateViaJsonFilePath.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class AddAzResourceMoverMoveResource_CreateViaJsonFilePath + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateViaJsonString.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateViaJsonString.cs new file mode 100644 index 000000000000..6fc8d81f0cbd --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/AddAzResourceMoverMoveResource_CreateViaJsonString.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class AddAzResourceMoverMoveResource_CreateViaJsonString + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_Get.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_Get.cs index a5014be331e2..71aa80d6b9cb 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_Get.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_Get.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_List.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_List.cs index cb625647bca3..5af3e4823715 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_List.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_List.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_List1.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_List1.cs index 91e284397897..364af9ca7f1b 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_List1.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveCollection_List1.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_Get.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_Get.cs index 60257a917585..68158b85bb27 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_Get.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_Get.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_GetViaIdentityMoveCollection.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_GetViaIdentityMoveCollection.cs new file mode 100644 index 000000000000..7f14c3735b9e --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_GetViaIdentityMoveCollection.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class GetAzResourceMoverMoveResource_GetViaIdentityMoveCollection + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_List.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_List.cs index bd6b169b2751..aef0ea362038 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_List.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverMoveResource_List.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverRequiredForResources_List.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverRequiredForResources_List.cs index cfcdea248e31..d1f0e3410e47 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverRequiredForResources_List.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverRequiredForResources_List.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverUnresolvedDependency_Get.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverUnresolvedDependency_Get.cs index 01b78d77c8bb..1e4c046a2e87 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverUnresolvedDependency_Get.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/GetAzResourceMoverUnresolvedDependency_Get.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverBulkRemove_BulkExpanded.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverBulkRemove_BulkExpanded.cs index 0918cbf85b96..0f1590008ac4 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverBulkRemove_BulkExpanded.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverBulkRemove_BulkExpanded.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverBulkRemove_BulkViaJsonFilePath.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverBulkRemove_BulkViaJsonFilePath.cs new file mode 100644 index 000000000000..42ea71fbc993 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverBulkRemove_BulkViaJsonFilePath.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class InvokeAzResourceMoverBulkRemove_BulkViaJsonFilePath + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverBulkRemove_BulkViaJsonString.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverBulkRemove_BulkViaJsonString.cs new file mode 100644 index 000000000000..ebdbf86096be --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverBulkRemove_BulkViaJsonString.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class InvokeAzResourceMoverBulkRemove_BulkViaJsonString + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverCommit_CommitExpanded.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverCommit_CommitExpanded.cs index d0987d185556..c1199d59133a 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverCommit_CommitExpanded.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverCommit_CommitExpanded.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverCommit_CommitViaJsonFilePath.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverCommit_CommitViaJsonFilePath.cs new file mode 100644 index 000000000000..67d2c48750af --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverCommit_CommitViaJsonFilePath.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class InvokeAzResourceMoverCommit_CommitViaJsonFilePath + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverCommit_CommitViaJsonString.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverCommit_CommitViaJsonString.cs new file mode 100644 index 000000000000..7401591b276b --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverCommit_CommitViaJsonString.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class InvokeAzResourceMoverCommit_CommitViaJsonString + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverDiscard_DiscardExpanded.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverDiscard_DiscardExpanded.cs index 8f5a6b23db48..5c443305da61 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverDiscard_DiscardExpanded.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverDiscard_DiscardExpanded.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverDiscard_DiscardViaJsonFilePath.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverDiscard_DiscardViaJsonFilePath.cs new file mode 100644 index 000000000000..f3a41e461a77 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverDiscard_DiscardViaJsonFilePath.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class InvokeAzResourceMoverDiscard_DiscardViaJsonFilePath + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverDiscard_DiscardViaJsonString.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverDiscard_DiscardViaJsonString.cs new file mode 100644 index 000000000000..78eda80d53bc --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverDiscard_DiscardViaJsonString.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class InvokeAzResourceMoverDiscard_DiscardViaJsonString + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverInitiateMove_InitiateExpanded.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverInitiateMove_InitiateExpanded.cs index 5ca7a0a1988c..98db4cab3d05 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverInitiateMove_InitiateExpanded.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverInitiateMove_InitiateExpanded.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverInitiateMove_InitiateViaJsonFilePath.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverInitiateMove_InitiateViaJsonFilePath.cs new file mode 100644 index 000000000000..a2c43a4a8f11 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverInitiateMove_InitiateViaJsonFilePath.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class InvokeAzResourceMoverInitiateMove_InitiateViaJsonFilePath + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverInitiateMove_InitiateViaJsonString.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverInitiateMove_InitiateViaJsonString.cs new file mode 100644 index 000000000000..91c0416bd174 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverInitiateMove_InitiateViaJsonString.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class InvokeAzResourceMoverInitiateMove_InitiateViaJsonString + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverPrepare_PrepareExpanded.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverPrepare_PrepareExpanded.cs index 0812ed7a6738..be67ffcef703 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverPrepare_PrepareExpanded.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverPrepare_PrepareExpanded.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverPrepare_PrepareViaJsonFilePath.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverPrepare_PrepareViaJsonFilePath.cs new file mode 100644 index 000000000000..670f446f973b --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverPrepare_PrepareViaJsonFilePath.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class InvokeAzResourceMoverPrepare_PrepareViaJsonFilePath + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverPrepare_PrepareViaJsonString.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverPrepare_PrepareViaJsonString.cs new file mode 100644 index 000000000000..7cc0f6c5141d --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/InvokeAzResourceMoverPrepare_PrepareViaJsonString.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class InvokeAzResourceMoverPrepare_PrepareViaJsonString + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/NewAzResourceMoverMoveCollection_CreateExpanded.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/NewAzResourceMoverMoveCollection_CreateExpanded.cs index e2b30cb58f91..0487a779804a 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/NewAzResourceMoverMoveCollection_CreateExpanded.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/NewAzResourceMoverMoveCollection_CreateExpanded.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/NewAzResourceMoverMoveCollection_CreateViaJsonFilePath.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/NewAzResourceMoverMoveCollection_CreateViaJsonFilePath.cs new file mode 100644 index 000000000000..bb93609ed1a6 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/NewAzResourceMoverMoveCollection_CreateViaJsonFilePath.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class NewAzResourceMoverMoveCollection_CreateViaJsonFilePath + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/NewAzResourceMoverMoveCollection_CreateViaJsonString.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/NewAzResourceMoverMoveCollection_CreateViaJsonString.cs new file mode 100644 index 000000000000..874893f3ea64 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/NewAzResourceMoverMoveCollection_CreateViaJsonString.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class NewAzResourceMoverMoveCollection_CreateViaJsonString + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveCollection_Delete.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveCollection_Delete.cs index 1570a9d79a1a..ee6269f78d1d 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveCollection_Delete.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveCollection_Delete.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveResource_Delete.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveResource_Delete.cs index e466fcbfbf91..c33e4335100c 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveResource_Delete.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveResource_Delete.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveResource_DeleteViaIdentityMoveCollection.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveResource_DeleteViaIdentityMoveCollection.cs new file mode 100644 index 000000000000..83bb4421da27 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RemoveAzResourceMoverMoveResource_DeleteViaIdentityMoveCollection.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; + +namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets +{ + public partial class RemoveAzResourceMoverMoveResource_DeleteViaIdentityMoveCollection + { + partial void overrideOnDefault(HttpResponseMessage responseMessage, Task errorResponseTask, ref Task returnNow) + { + this.WriteError(responseMessage, errorResponseTask, ref returnNow); + } + } +} diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/ResolveAzResourceMoverMoveCollectionDependency_Resolve.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/ResolveAzResourceMoverMoveCollectionDependency_Resolve.cs index 9a9f11e02775..d5fec94e4a9a 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/ResolveAzResourceMoverMoveCollectionDependency_Resolve.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/ResolveAzResourceMoverMoveCollectionDependency_Resolve.cs @@ -3,7 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { diff --git a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RestErrorHandler.cs b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RestErrorHandler.cs index 4c409e102d19..6da6d2f7ace2 100644 --- a/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RestErrorHandler.cs +++ b/src/ResourceMover/ResourceMover.Autorest/custom/csharp/RestErrorHandler.cs @@ -4,7 +4,7 @@ using System.Management.Automation; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801; +using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models; namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Cmdlets { @@ -16,7 +16,7 @@ public static void WriteError(this Cmdlet cmdlet, HttpResponseMessage responseMe var errorString = string.Format("ErrorCode: {0}, Message: {1}", response.Code, response.Message); errorString+= System.Environment.NewLine; - if (response?.Detail != null && response?.Detail?.Length != 0) + if (response?.Detail != null && response?.Detail?.Count != 0) { var errors = response.Detail; diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Add-AzResourceMoverMoveResource.md b/src/ResourceMover/ResourceMover.Autorest/docs/Add-AzResourceMoverMoveResource.md index 8e84e4a1b5a8..492162e0a46c 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Add-AzResourceMoverMoveResource.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Add-AzResourceMoverMoveResource.md @@ -8,12 +8,13 @@ schema: 2.0.0 # Add-AzResourceMoverMoveResource ## SYNOPSIS -Creates or updates a Move Resource in the move collection. +Create a Move Resource in the move collection. **The 'Add-AzResourceMoverMoveResource' command remains same for both 'RegionToRegion' and 'RegionToZone' type move collections.** ## SYNTAX +### CreateExpanded (Default) ``` Add-AzResourceMoverMoveResource -MoveCollectionName -Name -ResourceGroupName [-SubscriptionId ] [-DependsOnOverride ] @@ -21,8 +22,30 @@ Add-AzResourceMoverMoveResource -MoveCollectionName -Name -Res [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentityMoveCollectionExpanded +``` +Add-AzResourceMoverMoveResource -MoveCollectionInputObject -Name + [-DependsOnOverride ] [-ExistingTargetId ] + [-ResourceSetting ] [-SourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +Add-AzResourceMoverMoveResource -MoveCollectionName -Name -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +Add-AzResourceMoverMoveResource -MoveCollectionName -Name -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + ## DESCRIPTION -Creates or updates a Move Resource in the move collection. +Create a Move Resource in the move collection. **The 'Add-AzResourceMoverMoveResource' command remains same for both 'RegionToRegion' and 'RegionToZone' type move collections.** @@ -30,7 +53,7 @@ Creates or updates a Move Resource in the move collection. ### Example 1: Add a resource to the Move Collection. (RegionToRegion) ```powershell -$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings $targetResourceSettingsObj.ResourceType = "Microsoft.Compute/virtualMachines" $targetResourceSettingsObj.TargetResourceName = "PSDemoVM" @@ -56,9 +79,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -73,7 +96,7 @@ Add a resource to 'RegionToRegion' type Move Collection. ### Example 2: Add a resource to the Move Collection. (RegionToZone) ```powershell -$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings $targetResourceSettingsObj.ResourceType = "Microsoft.Compute/virtualMachines" $targetResourceSettingsObj.TargetResourceName = "demo-RegionToZone-VM-Target" $targetResourceSettingsObj.TargetAvailabilityZone = "1" @@ -95,8 +118,8 @@ IsResolveRequired : False JobStatusJobName : JobStatusJobProgress : MoveStatusErrorsPropertiesCode : DependencyComputationPending -MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody, - Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody} +MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody, + Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody} MoveStatusErrorsPropertiesMessage : The dependency computation is not completed for resource - /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-R egionToZone-RG/providers/Microsoft.Compute/virtualMachines/demo-RegionToZone-VM'. Possible Causes: Dependency computation is pending for resource. @@ -106,10 +129,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : MovePending Name : PSDemoVM-RegionToZone ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-RegionToZone-RG/providers/Microsoft.Compute/virtualMachines/ demo-RegionToZone-VM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : 9/5/2023 11:13:46 AM SystemDataCreatedBy : xxxxxxx SystemDataCreatedByType : User @@ -146,9 +169,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : CommitPending Name : psdemorm ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -185,9 +208,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : CommitPending Name : PSDemoNIC-RegionToZone ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/PS-demo-RegionToZone-RG/providers/Microsoft.Network/networkinterfaces/nic_demo-RegionToZone-VM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -229,9 +252,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -266,8 +289,8 @@ IsResolveRequired : False JobStatusJobName : JobStatusJobProgress : MoveStatusErrorsPropertiesCode : DependencyComputationPending -MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody, - Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody} +MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody, + Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody} MoveStatusErrorsPropertiesMessage : The dependency computation is not completed for resource - /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-RegionToZone-RG/providers/Microsoft.Compute/virtualMachines/demo-RegionToZone-VM'. Possible Causes: Dependency computation is pending for resource. Recommended Action: Validate dependencies to compute the dependencies. @@ -276,10 +299,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : MovePending Name : PSDemoVM-RegionToZone ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-RegionToZone-RG/providers/Microsoft.Compute/virtualMachines/ demo-RegionToZone-VM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : 9/5/2023 11:13:46 AM SystemDataCreatedBy : xxxxxxx SystemDataCreatedByType : User @@ -327,11 +350,10 @@ Accept wildcard characters: False ### -DependsOnOverride Gets or sets the move resource dependencies overrides. -To construct, see NOTES section for DEPENDSONOVERRIDE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResourceDependencyOverride[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependencyOverride[] +Parameter Sets: CreateExpanded, CreateViaIdentityMoveCollectionExpanded Aliases: Required: False @@ -346,7 +368,7 @@ Gets or sets the existing target ARM Id of the resource. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMoveCollectionExpanded Aliases: Required: False @@ -356,12 +378,57 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MoveCollectionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity +Parameter Sets: CreateViaIdentityMoveCollectionExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -406,7 +473,7 @@ The Resource Group Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -418,11 +485,10 @@ Accept wildcard characters: False ### -ResourceSetting Gets or sets the resource settings. -To construct, see NOTES section for RESOURCESETTING properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IResourceSettings -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceSettings +Parameter Sets: CreateExpanded, CreateViaIdentityMoveCollectionExpanded Aliases: Required: False @@ -437,7 +503,7 @@ Gets or sets the Source ARM Id of the resource. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMoveCollectionExpanded Aliases: Required: False @@ -452,7 +518,7 @@ The Subscription ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -498,9 +564,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResource ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Az.ResourceMover.md b/src/ResourceMover/ResourceMover.Autorest/docs/Az.ResourceMover.md index eab9d9fe47fa..f08149cb0f11 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Az.ResourceMover.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Az.ResourceMover.md @@ -1,6 +1,6 @@ --- Module Name: Az.ResourceMover -Module Guid: 1cace6d9-20aa-4eea-aa4c-3c6f10b496e6 +Module Guid: 408082ab-b750-4164-a7d4-e541c047376e Download Help Link: https://learn.microsoft.com/powershell/module/az.resourcemover Help Version: 1.0.0.0 Locale: en-US @@ -12,7 +12,7 @@ Microsoft Azure PowerShell: ResourceMover cmdlets ## Az.ResourceMover Cmdlets ### [Add-AzResourceMoverMoveResource](Add-AzResourceMoverMoveResource.md) -Creates or updates a Move Resource in the move collection. +Create a Move Resource in the move collection. **The 'Add-AzResourceMoverMoveResource' command remains same for both 'RegionToRegion' and 'RegionToZone' type move collections.** @@ -76,7 +76,7 @@ To aid the user to prerequisite the operation the client can call operation with **The 'Invoke-AzResourceMoverPrepare' command is not applicable on move collections with moveType 'RegionToZone' since prepare is not a valid operation for region to zone move scenario.** ### [New-AzResourceMoverMoveCollection](New-AzResourceMoverMoveCollection.md) -Creates or updates a move collection. +Create a move collection. The following types of move collections based on the move scenario are supported currently: **1. diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverMoveCollection.md b/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverMoveCollection.md index d6dffe172186..17b276fd84a0 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverMoveCollection.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverMoveCollection.md @@ -158,7 +158,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveCollection ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverMoveResource.md b/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverMoveResource.md index cf5ad668fa88..d2aafabbf716 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverMoveResource.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverMoveResource.md @@ -26,6 +26,12 @@ Get-AzResourceMoverMoveResource -MoveCollectionName -Name -Res [-SubscriptionId ] [-DefaultProfile ] [] ``` +### GetViaIdentityMoveCollection +``` +Get-AzResourceMoverMoveResource -MoveCollectionInputObject -Name + [-DefaultProfile ] [] +``` + ## DESCRIPTION Gets the Move Resource. @@ -59,9 +65,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -92,10 +98,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemovm111 ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm/providers/microsoft.network/networkinterfaces/psdemovm 111 -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -124,10 +130,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemorm-vnet ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualNetworkResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualNetworkResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/psdemorm/providers/Microsoft.Network/virtualNetworks/psdemorm-v net -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualNetworkResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualNetworkResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -156,10 +162,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemovm-nsg ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkSecurityGroupResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkSecurityGroupResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm/providers/microsoft.network/networksecuritygroups/psde movm-nsg -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkSecurityGroupResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkSecurityGroupResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -188,9 +194,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : DeleteSourcePending Name : psdemorm ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -230,9 +236,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -273,10 +279,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemovm111 ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm/providers/microsoft.network/networkinterfaces/psdemovm 111 -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -324,12 +330,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MoveCollectionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity +Parameter Sets: GetViaIdentityMoveCollection +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get, List Aliases: Required: True @@ -344,7 +365,7 @@ The Move Resource Name. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityMoveCollection Aliases: MoveResourceName Required: True @@ -359,7 +380,7 @@ The Resource Group Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get, List Aliases: Required: True @@ -374,7 +395,7 @@ The Subscription ID. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: Get, List Aliases: Required: False @@ -389,9 +410,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResource ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverRequiredForResources.md b/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverRequiredForResources.md index ee9528867777..e73115f78e60 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverRequiredForResources.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverRequiredForResources.md @@ -131,7 +131,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### System.String +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IRequiredForResourcesCollection ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverUnresolvedDependency.md b/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverUnresolvedDependency.md index 35fb389698b2..98d921bdd48f 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverUnresolvedDependency.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Get-AzResourceMoverUnresolvedDependency.md @@ -19,7 +19,7 @@ Please refer to 'Resolve-AzResourceMoverMoveCollectionDependency' command docume ``` Get-AzResourceMoverUnresolvedDependency -MoveCollectionName -ResourceGroupName - [-SubscriptionId ] [-DependencyLevel ] [-Filter ] [-Orderby ] + [-SubscriptionId ] [-DependencyLevel ] [-Filter ] [-Orderby ] [-DefaultProfile ] [] ``` @@ -71,7 +71,7 @@ Accept wildcard characters: False Defines the dependency level. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.DependencyLevel +Type: System.String Parameter Sets: (All) Aliases: @@ -166,7 +166,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IUnresolvedDependency +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IUnresolvedDependency ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverBulkRemove.md b/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverBulkRemove.md index 0fc3d6ffb2e2..fa125a554906 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverBulkRemove.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverBulkRemove.md @@ -16,10 +16,25 @@ To aid the user to prerequisite the operation the client can call operation with ## SYNTAX +### BulkExpanded (Default) ``` Invoke-AzResourceMoverBulkRemove -MoveCollectionName -ResourceGroupName - [-SubscriptionId ] [-MoveResource ] [-MoveResourceInputType ] - [-ValidateOnly] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-SubscriptionId ] [-MoveResource ] [-MoveResourceInputType ] [-ValidateOnly] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### BulkViaJsonFilePath +``` +Invoke-AzResourceMoverBulkRemove -MoveCollectionName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### BulkViaJsonString +``` +Invoke-AzResourceMoverBulkRemove -MoveCollectionName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -128,6 +143,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Bulk operation + +```yaml +Type: System.String +Parameter Sets: BulkViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Bulk operation + +```yaml +Type: System.String +Parameter Sets: BulkViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MoveCollectionName . @@ -148,7 +193,7 @@ Gets or sets the list of resource Id's, by default it accepts move resource id's ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: BulkExpanded Aliases: Required: False @@ -162,8 +207,8 @@ Accept wildcard characters: False Defines the move resource input type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType -Parameter Sets: (All) +Type: System.String +Parameter Sets: BulkExpanded Aliases: Required: False @@ -223,7 +268,7 @@ Gets or sets a value indicating whether the operation needs to only run pre-requ ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: BulkExpanded Aliases: Required: False @@ -271,7 +316,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverCommit.md b/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverCommit.md index 6eddb13f3446..2110bce8f2b9 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverCommit.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverCommit.md @@ -16,10 +16,25 @@ To aid the user to prerequisite the operation the client can call operation with ## SYNTAX +### CommitExpanded (Default) ``` Invoke-AzResourceMoverCommit -MoveCollectionName -ResourceGroupName -MoveResource - [-SubscriptionId ] [-MoveResourceInputType ] [-ValidateOnly] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-SubscriptionId ] [-MoveResourceInputType ] [-ValidateOnly] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CommitViaJsonFilePath +``` +Invoke-AzResourceMoverCommit -MoveCollectionName -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CommitViaJsonString +``` +Invoke-AzResourceMoverCommit -MoveCollectionName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -174,6 +189,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Commit operation + +```yaml +Type: System.String +Parameter Sets: CommitViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Commit operation + +```yaml +Type: System.String +Parameter Sets: CommitViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. @@ -194,7 +239,7 @@ Gets or sets the list of resource Id's, by default it accepts move resource id's ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: CommitExpanded Aliases: Required: True @@ -208,8 +253,8 @@ Accept wildcard characters: False Defines the move resource input type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CommitExpanded Aliases: Required: False @@ -269,7 +314,7 @@ Gets or sets a value indicating whether the operation needs to only run pre-requ ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CommitExpanded Aliases: Required: False @@ -317,7 +362,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverDiscard.md b/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverDiscard.md index 927512739d10..bc33fd71fa80 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverDiscard.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverDiscard.md @@ -16,10 +16,25 @@ To aid the user to prerequisite the operation the client can call operation with ## SYNTAX +### DiscardExpanded (Default) ``` Invoke-AzResourceMoverDiscard -Name -ResourceGroupName -MoveResource - [-SubscriptionId ] [-MoveResourceInputType ] [-ValidateOnly] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-SubscriptionId ] [-MoveResourceInputType ] [-ValidateOnly] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### DiscardViaJsonFilePath +``` +Invoke-AzResourceMoverDiscard -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### DiscardViaJsonString +``` +Invoke-AzResourceMoverDiscard -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -131,12 +146,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Discard operation + +```yaml +Type: System.String +Parameter Sets: DiscardViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Discard operation + +```yaml +Type: System.String +Parameter Sets: DiscardViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MoveResource Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: DiscardExpanded Aliases: Required: True @@ -150,8 +195,8 @@ Accept wildcard characters: False Defines the move resource input type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType -Parameter Sets: (All) +Type: System.String +Parameter Sets: DiscardExpanded Aliases: Required: False @@ -226,7 +271,7 @@ Gets or sets a value indicating whether the operation needs to only run pre-requ ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: DiscardExpanded Aliases: Required: False @@ -274,7 +319,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverInitiateMove.md b/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverInitiateMove.md index f136dba8f780..e90f441ef49c 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverInitiateMove.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverInitiateMove.md @@ -14,10 +14,25 @@ Moves the set of resources included in the request body.The move operation is tr ## SYNTAX +### InitiateExpanded (Default) ``` Invoke-AzResourceMoverInitiateMove -MoveCollectionName -ResourceGroupName - -MoveResource [-SubscriptionId ] [-MoveResourceInputType ] - [-ValidateOnly] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + -MoveResource [-SubscriptionId ] [-MoveResourceInputType ] [-ValidateOnly] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### InitiateViaJsonFilePath +``` +Invoke-AzResourceMoverInitiateMove -MoveCollectionName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### InitiateViaJsonString +``` +Invoke-AzResourceMoverInitiateMove -MoveCollectionName -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -168,6 +183,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Initiate operation + +```yaml +Type: System.String +Parameter Sets: InitiateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Initiate operation + +```yaml +Type: System.String +Parameter Sets: InitiateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. @@ -188,7 +233,7 @@ Gets or sets the list of resource Id's, by default it accepts move resource id's ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: InitiateExpanded Aliases: Required: True @@ -202,8 +247,8 @@ Accept wildcard characters: False Defines the move resource input type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType -Parameter Sets: (All) +Type: System.String +Parameter Sets: InitiateExpanded Aliases: Required: False @@ -263,7 +308,7 @@ Gets or sets a value indicating whether the operation needs to only run pre-requ ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: InitiateExpanded Aliases: Required: False @@ -311,7 +356,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverPrepare.md b/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverPrepare.md index dda6d534966e..d79a2ae06425 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverPrepare.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Invoke-AzResourceMoverPrepare.md @@ -16,10 +16,25 @@ To aid the user to prerequisite the operation the client can call operation with ## SYNTAX +### PrepareExpanded (Default) ``` Invoke-AzResourceMoverPrepare -MoveCollectionName -ResourceGroupName - -MoveResource [-SubscriptionId ] [-MoveResourceInputType ] - [-ValidateOnly] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + -MoveResource [-SubscriptionId ] [-MoveResourceInputType ] [-ValidateOnly] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### PrepareViaJsonFilePath +``` +Invoke-AzResourceMoverPrepare -MoveCollectionName -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### PrepareViaJsonString +``` +Invoke-AzResourceMoverPrepare -MoveCollectionName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -37,7 +52,7 @@ $resp = Invoke-AzResourceMoverPrepare -ResourceGroupName "RG-MoveCollection-demo ``` ```output -AdditionalInfo : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20191001Preview.OperationErrorAdditionalInfo} +AdditionalInfo : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.OperationErrorAdditionalInfo} Code : MoveCollectionMissingRequiredDependentResources Detail : {} EndTime : 2/9/2021 9:04:15 AM @@ -143,6 +158,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Prepare operation + +```yaml +Type: System.String +Parameter Sets: PrepareViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Prepare operation + +```yaml +Type: System.String +Parameter Sets: PrepareViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. @@ -163,7 +208,7 @@ Gets or sets the list of resource Id's, by default it accepts move resource id's ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: PrepareExpanded Aliases: Required: True @@ -177,8 +222,8 @@ Accept wildcard characters: False Defines the move resource input type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType -Parameter Sets: (All) +Type: System.String +Parameter Sets: PrepareExpanded Aliases: Required: False @@ -238,7 +283,7 @@ Gets or sets a value indicating whether the operation needs to only run pre-requ ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: PrepareExpanded Aliases: Required: False @@ -286,7 +331,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/New-AzResourceMoverMoveCollection.md b/src/ResourceMover/ResourceMover.Autorest/docs/New-AzResourceMoverMoveCollection.md index f0adc156139f..fccc79563fdb 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/New-AzResourceMoverMoveCollection.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/New-AzResourceMoverMoveCollection.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzResourceMoverMoveCollection ## SYNOPSIS -Creates or updates a move collection. +Create a move collection. The following types of move collections based on the move scenario are supported currently: **1. @@ -19,16 +19,29 @@ RegionToZone** (Moving virtual machines into a zone within the same region) ## SYNTAX +### CreateExpanded (Default) ``` New-AzResourceMoverMoveCollection -Name -ResourceGroupName [-SubscriptionId ] - [-IdentityPrincipalId ] [-IdentityTenantId ] [-IdentityType ] - [-Location ] [-MoveRegion ] [-MoveType ] [-SourceRegion ] - [-Tag ] [-TargetRegion ] [-Version ] [-DefaultProfile ] [-Confirm] - [-WhatIf] [] + [-EnableSystemAssignedIdentity] [-IdentityPrincipalId ] [-IdentityTenantId ] + [-Location ] [-MoveRegion ] [-MoveType ] [-SourceRegion ] [-Tag ] + [-TargetRegion ] [-Version ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonFilePath +``` +New-AzResourceMoverMoveCollection -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzResourceMoverMoveCollection -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Creates or updates a move collection. +Create a move collection. The following types of move collections based on the move scenario are supported currently: **1. @@ -41,7 +54,7 @@ RegionToZone** (Moving virtual machines into a zone within the same region) ### Example 1: Create a new Move collection. (RegionToRegion) ```powershell -New-AzResourceMoverMoveCollection -Name "PS-centralus-westcentralus-demoRMS" -ResourceGroupName "RG-MoveCollection-demoRMS" -SourceRegion "centralus" -TargetRegion "westcentralus" -Location "centraluseuap" -IdentityType "SystemAssigned" +New-AzResourceMoverMoveCollection -Name "PS-centralus-westcentralus-demoRMS" -ResourceGroupName "RG-MoveCollection-demoRMS" -SourceRegion "centralus" -TargetRegion "westcentralus" -Location "centraluseuap" -EnableSystemAssignedIdentity ``` ```output @@ -56,7 +69,7 @@ Please ensure 'MoveRegion' parameter is not required and should be set to null, ### Example 2: Create a new Move collection. (RegionToZone) ```powershell -New-AzResourceMoverMoveCollection -Name "PS-demo-RegionToZone" -ResourceGroupName "RG-MoveCollection-demoRMS" -MoveRegion "eastus" -Location "eastus2euap" -IdentityType "SystemAssigned" -MoveType "RegionToZone" +New-AzResourceMoverMoveCollection -Name "PS-demo-RegionToZone" -ResourceGroupName "RG-MoveCollection-demoRMS" -MoveRegion "eastus" -Location "eastus2euap" -EnableSystemAssignedIdentity -MoveType "RegionToZone" ``` ```output @@ -87,12 +100,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IdentityPrincipalId Gets or sets the principal id. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -107,7 +135,7 @@ Gets or sets the tenant id. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -117,15 +145,30 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -The type of identity used for the resource mover service. +### -JsonFilePath +Path of Json file supplied to the Create operation ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ResourceIdentityType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateViaJsonFilePath Aliases: -Required: False +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True Position: Named Default value: None Accept pipeline input: False @@ -137,7 +180,7 @@ The geo-location where the resource lives. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -152,7 +195,7 @@ Gets or sets the move region which indicates the region where the VM Regional to ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -166,8 +209,8 @@ Accept wildcard characters: False Defines the MoveType. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -212,7 +255,7 @@ Gets or sets the source region. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -242,7 +285,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -257,7 +300,7 @@ Gets or sets the target region. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -272,7 +315,7 @@ Gets or sets the version of move collection. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -320,7 +363,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveCollection ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Remove-AzResourceMoverMoveCollection.md b/src/ResourceMover/ResourceMover.Autorest/docs/Remove-AzResourceMoverMoveCollection.md index 4ab650b71eb4..f4cc016285dd 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Remove-AzResourceMoverMoveCollection.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Remove-AzResourceMoverMoveCollection.md @@ -193,7 +193,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Remove-AzResourceMoverMoveResource.md b/src/ResourceMover/ResourceMover.Autorest/docs/Remove-AzResourceMoverMoveResource.md index 992b07a9a70f..697c1e9c26f3 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Remove-AzResourceMoverMoveResource.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Remove-AzResourceMoverMoveResource.md @@ -14,12 +14,19 @@ Deletes a Move Resource from the move collection. ## SYNTAX +### Delete (Default) ``` Remove-AzResourceMoverMoveResource -MoveCollectionName -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### DeleteViaIdentityMoveCollection +``` +Remove-AzResourceMoverMoveResource -MoveCollectionInputObject -Name + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Deletes a Move Resource from the move collection. @@ -81,12 +88,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MoveCollectionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity +Parameter Sets: DeleteViaIdentityMoveCollection +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Delete Aliases: Required: True @@ -146,7 +168,7 @@ The Resource Group Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Delete Aliases: Required: True @@ -161,7 +183,7 @@ The Subscription ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Delete Aliases: Required: False @@ -207,9 +229,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/docs/Resolve-AzResourceMoverMoveCollectionDependency.md b/src/ResourceMover/ResourceMover.Autorest/docs/Resolve-AzResourceMoverMoveCollectionDependency.md index 912b77504940..1556e0623bca 100644 --- a/src/ResourceMover/ResourceMover.Autorest/docs/Resolve-AzResourceMoverMoveCollectionDependency.md +++ b/src/ResourceMover/ResourceMover.Autorest/docs/Resolve-AzResourceMoverMoveCollectionDependency.md @@ -204,7 +204,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover.Autorest/examples/Add-AzResourceMoverMoveResource.md b/src/ResourceMover/ResourceMover.Autorest/examples/Add-AzResourceMoverMoveResource.md index 83ebdd5c5711..30e7139d043f 100644 --- a/src/ResourceMover/ResourceMover.Autorest/examples/Add-AzResourceMoverMoveResource.md +++ b/src/ResourceMover/ResourceMover.Autorest/examples/Add-AzResourceMoverMoveResource.md @@ -1,6 +1,6 @@ ### Example 1: Add a resource to the Move Collection. (RegionToRegion) ```powershell -$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings $targetResourceSettingsObj.ResourceType = "Microsoft.Compute/virtualMachines" $targetResourceSettingsObj.TargetResourceName = "PSDemoVM" @@ -26,9 +26,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -43,7 +43,7 @@ Add a resource to 'RegionToRegion' type Move Collection. ### Example 2: Add a resource to the Move Collection. (RegionToZone) ```powershell -$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings $targetResourceSettingsObj.ResourceType = "Microsoft.Compute/virtualMachines" $targetResourceSettingsObj.TargetResourceName = "demo-RegionToZone-VM-Target" $targetResourceSettingsObj.TargetAvailabilityZone = "1" @@ -65,8 +65,8 @@ IsResolveRequired : False JobStatusJobName : JobStatusJobProgress : MoveStatusErrorsPropertiesCode : DependencyComputationPending -MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody, - Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody} +MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody, + Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody} MoveStatusErrorsPropertiesMessage : The dependency computation is not completed for resource - /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-R egionToZone-RG/providers/Microsoft.Compute/virtualMachines/demo-RegionToZone-VM'. Possible Causes: Dependency computation is pending for resource. @@ -76,10 +76,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : MovePending Name : PSDemoVM-RegionToZone ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-RegionToZone-RG/providers/Microsoft.Compute/virtualMachines/ demo-RegionToZone-VM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : 9/5/2023 11:13:46 AM SystemDataCreatedBy : xxxxxxx SystemDataCreatedByType : User @@ -116,9 +116,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : CommitPending Name : psdemorm ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -154,9 +154,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : CommitPending Name : PSDemoNIC-RegionToZone ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/PS-demo-RegionToZone-RG/providers/Microsoft.Network/networkinterfaces/nic_demo-RegionToZone-VM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -198,9 +198,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -235,8 +235,8 @@ IsResolveRequired : False JobStatusJobName : JobStatusJobProgress : MoveStatusErrorsPropertiesCode : DependencyComputationPending -MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody, - Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody} +MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody, + Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody} MoveStatusErrorsPropertiesMessage : The dependency computation is not completed for resource - /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-RegionToZone-RG/providers/Microsoft.Compute/virtualMachines/demo-RegionToZone-VM'. Possible Causes: Dependency computation is pending for resource. Recommended Action: Validate dependencies to compute the dependencies. @@ -245,10 +245,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : MovePending Name : PSDemoVM-RegionToZone ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-RegionToZone-RG/providers/Microsoft.Compute/virtualMachines/ demo-RegionToZone-VM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : 9/5/2023 11:13:46 AM SystemDataCreatedBy : xxxxxxx SystemDataCreatedByType : User diff --git a/src/ResourceMover/ResourceMover.Autorest/examples/Get-AzResourceMoverMoveResource.md b/src/ResourceMover/ResourceMover.Autorest/examples/Get-AzResourceMoverMoveResource.md index d651aa58c170..05d030a12595 100644 --- a/src/ResourceMover/ResourceMover.Autorest/examples/Get-AzResourceMoverMoveResource.md +++ b/src/ResourceMover/ResourceMover.Autorest/examples/Get-AzResourceMoverMoveResource.md @@ -24,9 +24,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -57,10 +57,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemovm111 ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm/providers/microsoft.network/networkinterfaces/psdemovm 111 -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -89,10 +89,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemorm-vnet ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualNetworkResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualNetworkResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/psdemorm/providers/Microsoft.Network/virtualNetworks/psdemorm-v net -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualNetworkResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualNetworkResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -121,10 +121,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemovm-nsg ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkSecurityGroupResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkSecurityGroupResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm/providers/microsoft.network/networksecuritygroups/psde movm-nsg -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkSecurityGroupResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkSecurityGroupResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -153,9 +153,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : DeleteSourcePending Name : psdemorm ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -195,9 +195,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -238,10 +238,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemovm111 ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm/providers/microsoft.network/networkinterfaces/psdemovm 111 -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : diff --git a/src/ResourceMover/ResourceMover.Autorest/examples/Invoke-AzResourceMoverPrepare.md b/src/ResourceMover/ResourceMover.Autorest/examples/Invoke-AzResourceMoverPrepare.md index 101e45ade5f4..68c135f9f5bb 100644 --- a/src/ResourceMover/ResourceMover.Autorest/examples/Invoke-AzResourceMoverPrepare.md +++ b/src/ResourceMover/ResourceMover.Autorest/examples/Invoke-AzResourceMoverPrepare.md @@ -4,7 +4,7 @@ $resp = Invoke-AzResourceMoverPrepare -ResourceGroupName "RG-MoveCollection-demo ``` ```output -AdditionalInfo : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20191001Preview.OperationErrorAdditionalInfo} +AdditionalInfo : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.OperationErrorAdditionalInfo} Code : MoveCollectionMissingRequiredDependentResources Detail : {} EndTime : 2/9/2021 9:04:15 AM diff --git a/src/ResourceMover/ResourceMover.Autorest/examples/New-AzResourceMoverMoveCollection.md b/src/ResourceMover/ResourceMover.Autorest/examples/New-AzResourceMoverMoveCollection.md index c0bb8cbb4f05..71e3eca03e58 100644 --- a/src/ResourceMover/ResourceMover.Autorest/examples/New-AzResourceMoverMoveCollection.md +++ b/src/ResourceMover/ResourceMover.Autorest/examples/New-AzResourceMoverMoveCollection.md @@ -1,6 +1,6 @@ ### Example 1: Create a new Move collection. (RegionToRegion) ```powershell -New-AzResourceMoverMoveCollection -Name "PS-centralus-westcentralus-demoRMS" -ResourceGroupName "RG-MoveCollection-demoRMS" -SourceRegion "centralus" -TargetRegion "westcentralus" -Location "centraluseuap" -IdentityType "SystemAssigned" +New-AzResourceMoverMoveCollection -Name "PS-centralus-westcentralus-demoRMS" -ResourceGroupName "RG-MoveCollection-demoRMS" -SourceRegion "centralus" -TargetRegion "westcentralus" -Location "centraluseuap" -EnableSystemAssignedIdentity ``` ```output @@ -13,7 +13,7 @@ Create a new Move Collection for moving resources across regions. **Please note ### Example 2: Create a new Move collection. (RegionToZone) ```powershell -New-AzResourceMoverMoveCollection -Name "PS-demo-RegionToZone" -ResourceGroupName "RG-MoveCollection-demoRMS" -MoveRegion "eastus" -Location "eastus2euap" -IdentityType "SystemAssigned" -MoveType "RegionToZone" +New-AzResourceMoverMoveCollection -Name "PS-demo-RegionToZone" -ResourceGroupName "RG-MoveCollection-demoRMS" -MoveRegion "eastus" -Location "eastus2euap" -EnableSystemAssignedIdentity -MoveType "RegionToZone" ``` ```output diff --git a/src/ResourceMover/ResourceMover.Autorest/generate-info.json b/src/ResourceMover/ResourceMover.Autorest/generate-info.json index 1acd7e090183..379109798b87 100644 --- a/src/ResourceMover/ResourceMover.Autorest/generate-info.json +++ b/src/ResourceMover/ResourceMover.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "e5b52387-7e7d-427e-887f-563707db4fed" + "generate_Id": "c20178c8-8eb2-439b-8363-1cc5d3ffd8a2" } diff --git a/src/ResourceMover/ResourceMover.Autorest/test/Add-AzResourceMoverMoveResource.Tests.ps1 b/src/ResourceMover/ResourceMover.Autorest/test/Add-AzResourceMoverMoveResource.Tests.ps1 index 87f41c9dd257..312e00ef4b7c 100644 --- a/src/ResourceMover/ResourceMover.Autorest/test/Add-AzResourceMoverMoveResource.Tests.ps1 +++ b/src/ResourceMover/ResourceMover.Autorest/test/Add-AzResourceMoverMoveResource.Tests.ps1 @@ -14,7 +14,7 @@ while (-not $mockingPath) { Describe 'Add-AzResourceMoverMoveResource' { It 'AddExpanded' { Remove-AzResourceMoverMoveResource -SubscriptionId $env.SubscriptionId -ResourceGroupName $env.moveCollectionMetadataRG -MoveCollectionName $env.moveCollectionName -Name "mr-nsg" - $trs = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkSecurityGroupResourceSettings + $trs = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkSecurityGroupResourceSettings $trs.ResourceType = "Microsoft.Network/networkSecurityGroups" $trs.TargetResourceName = "demo-NSG-rms-centralus" $moveResource = Add-AzResourceMoverMoveResource -SubscriptionId $env.SubscriptionId -ResourceGroupName $env.moveCollectionMetadataRG -MoveCollectionName $env.moveCollectionName -SourceId "/subscriptions/e80eb9fa-c996-4435-aa32-5af6f3d3077c/resourcegroups/demo-RG-rms/providers/Microsoft.Network/networkSecurityGroups/demo-NSG-rms" -Name "mr-nsg" -ResourceSetting $trs diff --git a/src/ResourceMover/ResourceMover.Autorest/test/New-AzResourceMoverMoveCollection.Tests.ps1 b/src/ResourceMover/ResourceMover.Autorest/test/New-AzResourceMoverMoveCollection.Tests.ps1 index 9e291b842ff7..309f760670f2 100644 --- a/src/ResourceMover/ResourceMover.Autorest/test/New-AzResourceMoverMoveCollection.Tests.ps1 +++ b/src/ResourceMover/ResourceMover.Autorest/test/New-AzResourceMoverMoveCollection.Tests.ps1 @@ -13,7 +13,7 @@ while(-not $mockingPath) { Describe 'New-AzResourceMoverMoveCollection' { It 'CreateExpanded' { - $moveCollection = New-AzResourceMoverMoveCollection -Name $env.moveCollectionName -ResourceGroupName $env.moveCollectionMetadataRG -SubscriptionId $env.SubscriptionId -SourceRegion "eastus" -TargetRegion "centralus" -Location "eastus2euap" -IdentityType "SystemAssigned" + $moveCollection = New-AzResourceMoverMoveCollection -Name $env.moveCollectionName -ResourceGroupName $env.moveCollectionMetadataRG -SubscriptionId $env.SubscriptionId -SourceRegion "eastus" -TargetRegion "centralus" -Location "eastus2euap" -EnableSystemAssignedIdentity $moveCollection.Name | Should -Be $env.moveCollectionName } } \ No newline at end of file diff --git a/src/ResourceMover/ResourceMover.Autorest/test/Remove-AzResourceMoverMoveCollection.Tests.ps1 b/src/ResourceMover/ResourceMover.Autorest/test/Remove-AzResourceMoverMoveCollection.Tests.ps1 index 9e1d5e7f6d5d..1dc7437ecea5 100644 --- a/src/ResourceMover/ResourceMover.Autorest/test/Remove-AzResourceMoverMoveCollection.Tests.ps1 +++ b/src/ResourceMover/ResourceMover.Autorest/test/Remove-AzResourceMoverMoveCollection.Tests.ps1 @@ -14,7 +14,7 @@ while(-not $mockingPath) { Describe 'Remove-AzResourceMoverMoveCollection' { It 'Delete' { $moveCollectionName = "MoveColRemoveTest" - $moveCollection = New-AzResourceMoverMoveCollection -Name $moveCollectionName -ResourceGroupName $env.moveCollectionMetadataRG -SubscriptionId $env.SubscriptionId -SourceRegion "eastus" -TargetRegion "westus2" -Location "eastus2euap" -IdentityType "SystemAssigned" + $moveCollection = New-AzResourceMoverMoveCollection -Name $moveCollectionName -ResourceGroupName $env.moveCollectionMetadataRG -SubscriptionId $env.SubscriptionId -SourceRegion "eastus" -TargetRegion "westus2" -Location "eastus2euap" -EnableSystemAssignedIdentity $moveCollection.Name | Should -Be $moveCollectionName $removeResp = Remove-AzResourceMoverMoveCollection -SubscriptionId $env.SubscriptionId -ResourceGroupName $env.moveCollectionMetadataRG -MoveCollectionName $moveCollectionName $removeResp.Status | Should -Be "Succeeded" diff --git a/src/ResourceMover/ResourceMover.sln b/src/ResourceMover/ResourceMover.sln index e1148832fa28..2fa7e99eb31a 100644 --- a/src/ResourceMover/ResourceMover.sln +++ b/src/ResourceMover/ResourceMover.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ResourceMover", "ResourceMo EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ResourceMover.Autorest", "ResourceMover.Autorest", "{FBF8B4F0-CF4C-3D0F-3CA1-AFF09D158825}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ResourceMover", "..\..\generated\ResourceMover\ResourceMover.Autorest\Az.ResourceMover.csproj", "{19B26C27-E753-4AEB-93CA-234B0E0E40C5}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ResourceMover", "..\..\generated\ResourceMover\ResourceMover.Autorest\Az.ResourceMover.csproj", "{A84C735F-873E-40AB-9C58-BCC67D13F235}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Release|x64.Build.0 = Release|Any CPU {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Release|x86.ActiveCfg = Release|Any CPU {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Release|x86.Build.0 = Release|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Debug|x64.ActiveCfg = Debug|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Debug|x64.Build.0 = Debug|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Debug|x86.ActiveCfg = Debug|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Debug|x86.Build.0 = Debug|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Release|Any CPU.Build.0 = Release|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Release|x64.ActiveCfg = Release|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Release|x64.Build.0 = Release|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Release|x86.ActiveCfg = Release|Any CPU - {19B26C27-E753-4AEB-93CA-234B0E0E40C5}.Release|x86.Build.0 = Release|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Debug|x64.ActiveCfg = Debug|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Debug|x64.Build.0 = Debug|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Debug|x86.ActiveCfg = Debug|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Debug|x86.Build.0 = Debug|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Release|Any CPU.Build.0 = Release|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Release|x64.ActiveCfg = Release|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Release|x64.Build.0 = Release|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Release|x86.ActiveCfg = Release|Any CPU + {A84C735F-873E-40AB-9C58-BCC67D13F235}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D} = {2597EDD5-4E16-4746-BD2E-7BE7358494FB} {257E080F-878F-4247-9C63-27D636AF9E3A} = {2597EDD5-4E16-4746-BD2E-7BE7358494FB} {42263E13-6DA9-4608-9140-78D24858E049} = {2597EDD5-4E16-4746-BD2E-7BE7358494FB} - {19B26C27-E753-4AEB-93CA-234B0E0E40C5} = {FBF8B4F0-CF4C-3D0F-3CA1-AFF09D158825} + {A84C735F-873E-40AB-9C58-BCC67D13F235} = {FBF8B4F0-CF4C-3D0F-3CA1-AFF09D158825} EndGlobalSection EndGlobal diff --git a/src/ResourceMover/ResourceMover/Az.ResourceMover.psd1 b/src/ResourceMover/ResourceMover/Az.ResourceMover.psd1 index b1665542a217..bf8879c43c35 100644 --- a/src/ResourceMover/ResourceMover/Az.ResourceMover.psd1 +++ b/src/ResourceMover/ResourceMover/Az.ResourceMover.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 10/9/2025 +# Generated on: 20-Jan-26 # @{ @@ -51,16 +51,16 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.3.0'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.3.2'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'ResourceMover.Autorest/bin/Az.ResourceMover.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = 'ResourceMover.Autorest/Az.ResourceMover.format.ps1xml' @@ -107,7 +107,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','ResourceMover' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ResourceMover' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -132,7 +132,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/ResourceMover/ResourceMover/ChangeLog.md b/src/ResourceMover/ResourceMover/ChangeLog.md index ec3e6c9e236c..9f388ab72195 100644 --- a/src/ResourceMover/ResourceMover/ChangeLog.md +++ b/src/ResourceMover/ResourceMover/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Improved user experience and consistency. This may introduce breaking changes. Please refer to [here](https://go.microsoft.com/fwlink/?linkid=2340249). ## Version 1.3.1 * Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229 diff --git a/src/ResourceMover/ResourceMover/help/Add-AzResourceMoverMoveResource.md b/src/ResourceMover/ResourceMover/help/Add-AzResourceMoverMoveResource.md index b18d66e658d9..28b69c4d539d 100644 --- a/src/ResourceMover/ResourceMover/help/Add-AzResourceMoverMoveResource.md +++ b/src/ResourceMover/ResourceMover/help/Add-AzResourceMoverMoveResource.md @@ -8,22 +8,45 @@ schema: 2.0.0 # Add-AzResourceMoverMoveResource ## SYNOPSIS -Creates or updates a Move Resource in the move collection. +Create a Move Resource in the move collection. **The 'Add-AzResourceMoverMoveResource' command remains same for both 'RegionToRegion' and 'RegionToZone' type move collections.** ## SYNTAX +### CreateExpanded (Default) ``` -Add-AzResourceMoverMoveResource -MoveCollectionName -Name -ResourceGroupName +Add-AzResourceMoverMoveResource -Name -MoveCollectionName -ResourceGroupName [-SubscriptionId ] [-DependsOnOverride ] [-ExistingTargetId ] [-ResourceSetting ] [-SourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonString +``` +Add-AzResourceMoverMoveResource -Name -MoveCollectionName -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +Add-AzResourceMoverMoveResource -Name -MoveCollectionName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityMoveCollectionExpanded +``` +Add-AzResourceMoverMoveResource -Name -MoveCollectionInputObject + [-DependsOnOverride ] [-ExistingTargetId ] + [-ResourceSetting ] [-SourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates or updates a Move Resource in the move collection. +Create a Move Resource in the move collection. **The 'Add-AzResourceMoverMoveResource' command remains same for both 'RegionToRegion' and 'RegionToZone' type move collections.** @@ -31,7 +54,7 @@ Creates or updates a Move Resource in the move collection. ### Example 1: Add a resource to the Move Collection. (RegionToRegion) ```powershell -$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings $targetResourceSettingsObj.ResourceType = "Microsoft.Compute/virtualMachines" $targetResourceSettingsObj.TargetResourceName = "PSDemoVM" @@ -57,9 +80,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -74,7 +97,7 @@ Add a resource to 'RegionToRegion' type Move Collection. ### Example 2: Add a resource to the Move Collection. (RegionToZone) ```powershell -$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +$targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings $targetResourceSettingsObj.ResourceType = "Microsoft.Compute/virtualMachines" $targetResourceSettingsObj.TargetResourceName = "demo-RegionToZone-VM-Target" $targetResourceSettingsObj.TargetAvailabilityZone = "1" @@ -96,8 +119,8 @@ IsResolveRequired : False JobStatusJobName : JobStatusJobProgress : MoveStatusErrorsPropertiesCode : DependencyComputationPending -MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody, - Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody} +MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody, + Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody} MoveStatusErrorsPropertiesMessage : The dependency computation is not completed for resource - /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-R egionToZone-RG/providers/Microsoft.Compute/virtualMachines/demo-RegionToZone-VM'. Possible Causes: Dependency computation is pending for resource. @@ -107,10 +130,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : MovePending Name : PSDemoVM-RegionToZone ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-RegionToZone-RG/providers/Microsoft.Compute/virtualMachines/ demo-RegionToZone-VM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : 9/5/2023 11:13:46 AM SystemDataCreatedBy : xxxxxxx SystemDataCreatedByType : User @@ -147,9 +170,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : CommitPending Name : psdemorm ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -186,9 +209,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : CommitPending Name : PSDemoNIC-RegionToZone ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/PS-demo-RegionToZone-RG/providers/Microsoft.Network/networkinterfaces/nic_demo-RegionToZone-VM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -230,9 +253,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -267,8 +290,8 @@ IsResolveRequired : False JobStatusJobName : JobStatusJobProgress : MoveStatusErrorsPropertiesCode : DependencyComputationPending -MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody, - Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.MoveResourceErrorBody} +MoveStatusErrorsPropertiesDetail : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody, + Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.MoveResourceErrorBody} MoveStatusErrorsPropertiesMessage : The dependency computation is not completed for resource - /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-RegionToZone-RG/providers/Microsoft.Compute/virtualMachines/demo-RegionToZone-VM'. Possible Causes: Dependency computation is pending for resource. Recommended Action: Validate dependencies to compute the dependencies. @@ -277,10 +300,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : MovePending Name : PSDemoVM-RegionToZone ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PS-demo-RegionToZone-RG/providers/Microsoft.Compute/virtualMachines/ demo-RegionToZone-VM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : 9/5/2023 11:13:46 AM SystemDataCreatedBy : xxxxxxx SystemDataCreatedByType : User @@ -328,11 +351,10 @@ Accept wildcard characters: False ### -DependsOnOverride Gets or sets the move resource dependencies overrides. -To construct, see NOTES section for DEPENDSONOVERRIDE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResourceDependencyOverride[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependencyOverride[] +Parameter Sets: CreateExpanded, CreateViaIdentityMoveCollectionExpanded Aliases: Required: False @@ -347,7 +369,7 @@ Gets or sets the existing target ARM Id of the resource. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMoveCollectionExpanded Aliases: Required: False @@ -357,12 +379,57 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MoveCollectionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity +Parameter Sets: CreateViaIdentityMoveCollectionExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -407,7 +474,7 @@ The Resource Group Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -419,11 +486,10 @@ Accept wildcard characters: False ### -ResourceSetting Gets or sets the resource settings. -To construct, see NOTES section for RESOURCESETTING properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IResourceSettings -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceSettings +Parameter Sets: CreateExpanded, CreateViaIdentityMoveCollectionExpanded Aliases: Required: False @@ -438,7 +504,7 @@ Gets or sets the Source ARM Id of the resource. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMoveCollectionExpanded Aliases: Required: False @@ -453,7 +519,7 @@ The Subscription ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: False @@ -499,9 +565,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResource ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Az.ResourceMover.md b/src/ResourceMover/ResourceMover/help/Az.ResourceMover.md index eb49ebc62491..a7eb685a3888 100644 --- a/src/ResourceMover/ResourceMover/help/Az.ResourceMover.md +++ b/src/ResourceMover/ResourceMover/help/Az.ResourceMover.md @@ -12,7 +12,7 @@ Microsoft Azure PowerShell: ResourceMover cmdlets ## Az.ResourceMover Cmdlets ### [Add-AzResourceMoverMoveResource](Add-AzResourceMoverMoveResource.md) -Creates or updates a Move Resource in the move collection. +Create a Move Resource in the move collection. **The 'Add-AzResourceMoverMoveResource' command remains same for both 'RegionToRegion' and 'RegionToZone' type move collections.** @@ -76,7 +76,7 @@ To aid the user to prerequisite the operation the client can call operation with **The 'Invoke-AzResourceMoverPrepare' command is not applicable on move collections with moveType 'RegionToZone' since prepare is not a valid operation for region to zone move scenario.** ### [New-AzResourceMoverMoveCollection](New-AzResourceMoverMoveCollection.md) -Creates or updates a move collection. +Create a move collection. The following types of move collections based on the move scenario are supported currently: **1. diff --git a/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverMoveCollection.md b/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverMoveCollection.md index 58880b126ff4..f1f436366e80 100644 --- a/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverMoveCollection.md +++ b/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverMoveCollection.md @@ -154,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveCollection ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverMoveResource.md b/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverMoveResource.md index c8e9f18bf9db..7f2f1dbe0cb7 100644 --- a/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverMoveResource.md +++ b/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverMoveResource.md @@ -23,11 +23,17 @@ Get-AzResourceMoverMoveResource -MoveCollectionName -ResourceGroupName ### Get ``` -Get-AzResourceMoverMoveResource -MoveCollectionName -ResourceGroupName -Name +Get-AzResourceMoverMoveResource -MoveCollectionName -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] ``` +### GetViaIdentityMoveCollection +``` +Get-AzResourceMoverMoveResource -Name -MoveCollectionInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Gets the Move Resource. @@ -61,9 +67,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -94,10 +100,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemovm111 ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm/providers/microsoft.network/networkinterfaces/psdemovm 111 -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -126,10 +132,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemorm-vnet ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualNetworkResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualNetworkResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/psdemorm/providers/Microsoft.Network/virtualNetworks/psdemorm-v net -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualNetworkResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualNetworkResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -158,10 +164,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemovm-nsg ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkSecurityGroupResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkSecurityGroupResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm/providers/microsoft.network/networksecuritygroups/psde movm-nsg -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkSecurityGroupResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkSecurityGroupResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -190,9 +196,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : DeleteSourcePending Name : psdemorm ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.ResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -231,9 +237,9 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : PSDemoVM ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.VirtualMachineResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -273,10 +279,10 @@ MoveStatusErrorsPropertiesTarget : MoveStatusMoveState : PreparePending Name : psdemovm111 ProvisioningState : Succeeded -ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +ResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/psdemorm/providers/microsoft.network/networkinterfaces/psdemovm 111 -SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkInterfaceResourceSettings +SourceResourceSetting : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.NetworkInterfaceResourceSettings SystemDataCreatedAt : SystemDataCreatedBy : SystemDataCreatedByType : @@ -323,12 +329,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MoveCollectionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity +Parameter Sets: GetViaIdentityMoveCollection +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: List, Get Aliases: Required: True @@ -343,7 +364,7 @@ The Move Resource Name. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityMoveCollection Aliases: MoveResourceName Required: True @@ -358,7 +379,7 @@ The Resource Group Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: List, Get Aliases: Required: True @@ -373,7 +394,7 @@ The Subscription ID. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: List, Get Aliases: Required: False @@ -388,9 +409,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResource ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverRequiredForResources.md b/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverRequiredForResources.md index 47611b36a5bd..50a5568424a1 100644 --- a/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverRequiredForResources.md +++ b/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverRequiredForResources.md @@ -132,7 +132,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### System.String +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IRequiredForResourcesCollection ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverUnresolvedDependency.md b/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverUnresolvedDependency.md index 9a090f959132..474c82248036 100644 --- a/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverUnresolvedDependency.md +++ b/src/ResourceMover/ResourceMover/help/Get-AzResourceMoverUnresolvedDependency.md @@ -19,7 +19,7 @@ Please refer to 'Resolve-AzResourceMoverMoveCollectionDependency' command docume ``` Get-AzResourceMoverUnresolvedDependency -MoveCollectionName -ResourceGroupName - [-SubscriptionId ] [-DependencyLevel ] [-Filter ] [-Orderby ] + [-SubscriptionId ] [-DependencyLevel ] [-Filter ] [-Orderby ] [-DefaultProfile ] [] ``` @@ -71,7 +71,7 @@ Accept wildcard characters: False Defines the dependency level. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.DependencyLevel +Type: System.String Parameter Sets: (All) Aliases: @@ -166,7 +166,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IUnresolvedDependency +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IUnresolvedDependency ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverBulkRemove.md b/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverBulkRemove.md index 70b1c2161255..da2a56065694 100644 --- a/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverBulkRemove.md +++ b/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverBulkRemove.md @@ -16,11 +16,26 @@ To aid the user to prerequisite the operation the client can call operation with ## SYNTAX +### BulkExpanded (Default) ``` Invoke-AzResourceMoverBulkRemove -MoveCollectionName -ResourceGroupName - [-SubscriptionId ] [-MoveResource ] [-MoveResourceInputType ] - [-ValidateOnly] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] - [-Confirm] [] + [-SubscriptionId ] [-MoveResource ] [-MoveResourceInputType ] [-ValidateOnly] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### BulkViaJsonFilePath +``` +Invoke-AzResourceMoverBulkRemove -MoveCollectionName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### BulkViaJsonString +``` +Invoke-AzResourceMoverBulkRemove -MoveCollectionName -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -128,6 +143,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Bulk operation + +```yaml +Type: System.String +Parameter Sets: BulkViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Bulk operation + +```yaml +Type: System.String +Parameter Sets: BulkViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MoveCollectionName . @@ -148,7 +193,7 @@ Gets or sets the list of resource Id's, by default it accepts move resource id's ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: BulkExpanded Aliases: Required: False @@ -162,8 +207,8 @@ Accept wildcard characters: False Defines the move resource input type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType -Parameter Sets: (All) +Type: System.String +Parameter Sets: BulkExpanded Aliases: Required: False @@ -223,7 +268,7 @@ Gets or sets a value indicating whether the operation needs to only run pre-requ ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: BulkExpanded Aliases: Required: False @@ -271,7 +316,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverCommit.md b/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverCommit.md index 44752a78d61b..4b0d9254d297 100644 --- a/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverCommit.md +++ b/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverCommit.md @@ -16,11 +16,26 @@ To aid the user to prerequisite the operation the client can call operation with ## SYNTAX +### CommitExpanded (Default) ``` Invoke-AzResourceMoverCommit -MoveCollectionName -ResourceGroupName - [-SubscriptionId ] -MoveResource [-MoveResourceInputType ] - [-ValidateOnly] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] - [-Confirm] [] + [-SubscriptionId ] -MoveResource [-MoveResourceInputType ] [-ValidateOnly] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### CommitViaJsonFilePath +``` +Invoke-AzResourceMoverCommit -MoveCollectionName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CommitViaJsonString +``` +Invoke-AzResourceMoverCommit -MoveCollectionName -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -169,6 +184,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Commit operation + +```yaml +Type: System.String +Parameter Sets: CommitViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Commit operation + +```yaml +Type: System.String +Parameter Sets: CommitViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. @@ -189,7 +234,7 @@ Gets or sets the list of resource Id's, by default it accepts move resource id's ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: CommitExpanded Aliases: Required: True @@ -203,8 +248,8 @@ Accept wildcard characters: False Defines the move resource input type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CommitExpanded Aliases: Required: False @@ -264,7 +309,7 @@ Gets or sets a value indicating whether the operation needs to only run pre-requ ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CommitExpanded Aliases: Required: False @@ -312,7 +357,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverDiscard.md b/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverDiscard.md index 2150f06299eb..d0c312c4c3a2 100644 --- a/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverDiscard.md +++ b/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverDiscard.md @@ -16,11 +16,25 @@ To aid the user to prerequisite the operation the client can call operation with ## SYNTAX +### DiscardExpanded (Default) ``` Invoke-AzResourceMoverDiscard -Name -ResourceGroupName [-SubscriptionId ] - -MoveResource [-MoveResourceInputType ] [-ValidateOnly] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] - [] + -MoveResource [-MoveResourceInputType ] [-ValidateOnly] [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### DiscardViaJsonFilePath +``` +Invoke-AzResourceMoverDiscard -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### DiscardViaJsonString +``` +Invoke-AzResourceMoverDiscard -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -128,12 +142,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Discard operation + +```yaml +Type: System.String +Parameter Sets: DiscardViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Discard operation + +```yaml +Type: System.String +Parameter Sets: DiscardViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MoveResource Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: DiscardExpanded Aliases: Required: True @@ -147,8 +191,8 @@ Accept wildcard characters: False Defines the move resource input type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType -Parameter Sets: (All) +Type: System.String +Parameter Sets: DiscardExpanded Aliases: Required: False @@ -223,7 +267,7 @@ Gets or sets a value indicating whether the operation needs to only run pre-requ ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: DiscardExpanded Aliases: Required: False @@ -271,7 +315,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverInitiateMove.md b/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverInitiateMove.md index f1de32c08dac..564bdc18bb34 100644 --- a/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverInitiateMove.md +++ b/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverInitiateMove.md @@ -14,11 +14,26 @@ Moves the set of resources included in the request body.The move operation is tr ## SYNTAX +### InitiateExpanded (Default) ``` Invoke-AzResourceMoverInitiateMove -MoveCollectionName -ResourceGroupName - [-SubscriptionId ] -MoveResource [-MoveResourceInputType ] - [-ValidateOnly] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] - [-Confirm] [] + [-SubscriptionId ] -MoveResource [-MoveResourceInputType ] [-ValidateOnly] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### InitiateViaJsonFilePath +``` +Invoke-AzResourceMoverInitiateMove -MoveCollectionName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### InitiateViaJsonString +``` +Invoke-AzResourceMoverInitiateMove -MoveCollectionName -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -164,6 +179,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Initiate operation + +```yaml +Type: System.String +Parameter Sets: InitiateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Initiate operation + +```yaml +Type: System.String +Parameter Sets: InitiateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. @@ -184,7 +229,7 @@ Gets or sets the list of resource Id's, by default it accepts move resource id's ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: InitiateExpanded Aliases: Required: True @@ -198,8 +243,8 @@ Accept wildcard characters: False Defines the move resource input type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType -Parameter Sets: (All) +Type: System.String +Parameter Sets: InitiateExpanded Aliases: Required: False @@ -259,7 +304,7 @@ Gets or sets a value indicating whether the operation needs to only run pre-requ ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: InitiateExpanded Aliases: Required: False @@ -307,7 +352,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverPrepare.md b/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverPrepare.md index 84ea9d03e9f7..76c48b037895 100644 --- a/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverPrepare.md +++ b/src/ResourceMover/ResourceMover/help/Invoke-AzResourceMoverPrepare.md @@ -16,11 +16,26 @@ To aid the user to prerequisite the operation the client can call operation with ## SYNTAX +### PrepareExpanded (Default) ``` Invoke-AzResourceMoverPrepare -MoveCollectionName -ResourceGroupName - [-SubscriptionId ] -MoveResource [-MoveResourceInputType ] - [-ValidateOnly] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] - [-Confirm] [] + [-SubscriptionId ] -MoveResource [-MoveResourceInputType ] [-ValidateOnly] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### PrepareViaJsonFilePath +``` +Invoke-AzResourceMoverPrepare -MoveCollectionName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### PrepareViaJsonString +``` +Invoke-AzResourceMoverPrepare -MoveCollectionName -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -38,7 +53,7 @@ $resp = Invoke-AzResourceMoverPrepare -ResourceGroupName "RG-MoveCollection-demo ``` ```output -AdditionalInfo : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20191001Preview.OperationErrorAdditionalInfo} +AdditionalInfo : {Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.OperationErrorAdditionalInfo} Code : MoveCollectionMissingRequiredDependentResources Detail : {} EndTime : 2/9/2021 9:04:15 AM @@ -143,6 +158,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Prepare operation + +```yaml +Type: System.String +Parameter Sets: PrepareViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Prepare operation + +```yaml +Type: System.String +Parameter Sets: PrepareViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. @@ -163,7 +208,7 @@ Gets or sets the list of resource Id's, by default it accepts move resource id's ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: PrepareExpanded Aliases: Required: True @@ -177,8 +222,8 @@ Accept wildcard characters: False Defines the move resource input type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType -Parameter Sets: (All) +Type: System.String +Parameter Sets: PrepareExpanded Aliases: Required: False @@ -238,7 +283,7 @@ Gets or sets a value indicating whether the operation needs to only run pre-requ ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: PrepareExpanded Aliases: Required: False @@ -286,7 +331,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/New-AzResourceMoverMoveCollection.md b/src/ResourceMover/ResourceMover/help/New-AzResourceMoverMoveCollection.md index bd77a4f865e3..e69e4d4fd65c 100644 --- a/src/ResourceMover/ResourceMover/help/New-AzResourceMoverMoveCollection.md +++ b/src/ResourceMover/ResourceMover/help/New-AzResourceMoverMoveCollection.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzResourceMoverMoveCollection ## SYNOPSIS -Creates or updates a move collection. +Create a move collection. The following types of move collections based on the move scenario are supported currently: **1. @@ -19,16 +19,31 @@ RegionToZone** (Moving virtual machines into a zone within the same region) ## SYNTAX +### CreateExpanded (Default) ``` New-AzResourceMoverMoveCollection -Name -ResourceGroupName [-SubscriptionId ] - [-IdentityPrincipalId ] [-IdentityTenantId ] [-IdentityType ] - [-Location ] [-MoveRegion ] [-MoveType ] [-SourceRegion ] [-Tag ] + [-EnableSystemAssignedIdentity] [-IdentityPrincipalId ] [-IdentityTenantId ] + [-Location ] [-MoveRegion ] [-MoveType ] [-SourceRegion ] [-Tag ] [-TargetRegion ] [-Version ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzResourceMoverMoveCollection -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonString +``` +New-AzResourceMoverMoveCollection -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION -Creates or updates a move collection. +Create a move collection. The following types of move collections based on the move scenario are supported currently: **1. @@ -41,7 +56,7 @@ RegionToZone** (Moving virtual machines into a zone within the same region) ### Example 1: Create a new Move collection. (RegionToRegion) ```powershell -New-AzResourceMoverMoveCollection -Name "PS-centralus-westcentralus-demoRMS" -ResourceGroupName "RG-MoveCollection-demoRMS" -SourceRegion "centralus" -TargetRegion "westcentralus" -Location "centraluseuap" -IdentityType "SystemAssigned" +New-AzResourceMoverMoveCollection -Name "PS-centralus-westcentralus-demoRMS" -ResourceGroupName "RG-MoveCollection-demoRMS" -SourceRegion "centralus" -TargetRegion "westcentralus" -Location "centraluseuap" -EnableSystemAssignedIdentity ``` ```output @@ -56,7 +71,7 @@ Please ensure 'MoveRegion' parameter is not required and should be set to null, ### Example 2: Create a new Move collection. (RegionToZone) ```powershell -New-AzResourceMoverMoveCollection -Name "PS-demo-RegionToZone" -ResourceGroupName "RG-MoveCollection-demoRMS" -MoveRegion "eastus" -Location "eastus2euap" -IdentityType "SystemAssigned" -MoveType "RegionToZone" +New-AzResourceMoverMoveCollection -Name "PS-demo-RegionToZone" -ResourceGroupName "RG-MoveCollection-demoRMS" -MoveRegion "eastus" -Location "eastus2euap" -EnableSystemAssignedIdentity -MoveType "RegionToZone" ``` ```output @@ -87,12 +102,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IdentityPrincipalId Gets or sets the principal id. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -107,7 +137,7 @@ Gets or sets the tenant id. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -117,15 +147,30 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -The type of identity used for the resource mover service. +### -JsonFilePath +Path of Json file supplied to the Create operation ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ResourceIdentityType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateViaJsonFilePath Aliases: -Required: False +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True Position: Named Default value: None Accept pipeline input: False @@ -137,7 +182,7 @@ The geo-location where the resource lives. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -152,7 +197,7 @@ Gets or sets the move region which indicates the region where the VM Regional to ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -166,8 +211,8 @@ Accept wildcard characters: False Defines the MoveType. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -212,7 +257,7 @@ Gets or sets the source region. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -242,7 +287,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -257,7 +302,7 @@ Gets or sets the target region. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -272,7 +317,7 @@ Gets or sets the version of move collection. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -320,7 +365,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveCollection ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Remove-AzResourceMoverMoveCollection.md b/src/ResourceMover/ResourceMover/help/Remove-AzResourceMoverMoveCollection.md index c27297144deb..8fad5af71c02 100644 --- a/src/ResourceMover/ResourceMover/help/Remove-AzResourceMoverMoveCollection.md +++ b/src/ResourceMover/ResourceMover/help/Remove-AzResourceMoverMoveCollection.md @@ -194,7 +194,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Remove-AzResourceMoverMoveResource.md b/src/ResourceMover/ResourceMover/help/Remove-AzResourceMoverMoveResource.md index 08df4def599c..accb26e73052 100644 --- a/src/ResourceMover/ResourceMover/help/Remove-AzResourceMoverMoveResource.md +++ b/src/ResourceMover/ResourceMover/help/Remove-AzResourceMoverMoveResource.md @@ -14,12 +14,20 @@ Deletes a Move Resource from the move collection. ## SYNTAX +### Delete (Default) ``` -Remove-AzResourceMoverMoveResource -MoveCollectionName -Name -ResourceGroupName +Remove-AzResourceMoverMoveResource -Name -MoveCollectionName -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` +### DeleteViaIdentityMoveCollection +``` +Remove-AzResourceMoverMoveResource -Name -MoveCollectionInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-Confirm] [] +``` + ## DESCRIPTION Deletes a Move Resource from the move collection. @@ -80,12 +88,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MoveCollectionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity +Parameter Sets: DeleteViaIdentityMoveCollection +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MoveCollectionName The Move Collection Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Delete Aliases: Required: True @@ -145,7 +168,7 @@ The Resource Group Name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Delete Aliases: Required: True @@ -160,7 +183,7 @@ The Subscription ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Delete Aliases: Required: False @@ -206,9 +229,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IResourceMoverIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/src/ResourceMover/ResourceMover/help/Resolve-AzResourceMoverMoveCollectionDependency.md b/src/ResourceMover/ResourceMover/help/Resolve-AzResourceMoverMoveCollectionDependency.md index 027d3eab2561..cc44335f72ca 100644 --- a/src/ResourceMover/ResourceMover/help/Resolve-AzResourceMoverMoveCollectionDependency.md +++ b/src/ResourceMover/ResourceMover/help/Resolve-AzResourceMoverMoveCollectionDependency.md @@ -204,7 +204,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus +### Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatus ## NOTES diff --git a/tools/StaticAnalysis/Exceptions/Az.ResourceMover/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.ResourceMover/BreakingChangeIssues.csv new file mode 100644 index 000000000000..2e9e0ec00ebc --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.ResourceMover/BreakingChangeIssues.csv @@ -0,0 +1,76 @@ +"Module","ClassName","Target","Severity","ProblemId","Description","Remediation" +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3000","The type of property 'DependsOn' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependency' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependency]'.","Change the type of property 'DependsOn' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependency'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3000","The type of property 'DependsOnOverride' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependencyOverride' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependencyOverride]'.","Change the type of property 'DependsOnOverride' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependencyOverride'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3010","The property 'ErrorsPropertiesDetail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'ErrorsPropertiesDetail' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3010","The property 'MoveStatusErrorsPropertiesDetail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'MoveStatusErrorsPropertiesDetail' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3010","The property 'JobStatusJobName' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'JobStatusJobName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3000","The type of property 'MoveStatusMoveState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveState]' to 'System.String'.","Change the type of property 'MoveStatusMoveState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveState]'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ProvisioningState]'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3010","The property 'MoveStatusErrorsPropertiesTarget' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'MoveStatusErrorsPropertiesTarget' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3010","The property 'MoveStatusErrorsPropertiesMessage' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'MoveStatusErrorsPropertiesMessage' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3010","The property 'MoveStatusErrorsPropertiesCode' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'MoveStatusErrorsPropertiesCode' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3010","The property 'JobStatusJobProgress' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'JobStatusJobProgress' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3010","The property 'ErrorsPropertiesTarget' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'ErrorsPropertiesTarget' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3010","The property 'ErrorsPropertiesMessage' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'ErrorsPropertiesMessage' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Add-AzResourceMoverMoveResource","Add-AzResourceMoverMoveResource","0","3010","The property 'ErrorsPropertiesCode' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'ErrorsPropertiesCode' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverMoveCollection","Get-AzResourceMoverMoveCollection","0","3010","The property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has been removed.","Add the property 'Detail' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection'." +"Az.ResourceMover","Get-AzResourceMoverMoveCollection","Get-AzResourceMoverMoveCollection","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]'." +"Az.ResourceMover","Get-AzResourceMoverMoveCollection","Get-AzResourceMoverMoveCollection","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]'." +"Az.ResourceMover","Get-AzResourceMoverMoveCollection","Get-AzResourceMoverMoveCollection","0","3000","The type of property 'MoveType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveType]' to 'System.String'.","Change the type of property 'MoveType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveType]'." +"Az.ResourceMover","Get-AzResourceMoverMoveCollection","Get-AzResourceMoverMoveCollection","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ProvisioningState]'." +"Az.ResourceMover","Get-AzResourceMoverMoveCollection","Get-AzResourceMoverMoveCollection","0","3000","The type of property 'IdentityType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ResourceIdentityType]' to 'System.String'.","Change the type of property 'IdentityType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ResourceIdentityType]'." +"Az.ResourceMover","Get-AzResourceMoverMoveCollection","Get-AzResourceMoverMoveCollection","0","3010","The property 'Target' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has been removed.","Add the property 'Target' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection'." +"Az.ResourceMover","Get-AzResourceMoverMoveCollection","Get-AzResourceMoverMoveCollection","0","3010","The property 'Code' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has been removed.","Add the property 'Code' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection'." +"Az.ResourceMover","Get-AzResourceMoverMoveCollection","Get-AzResourceMoverMoveCollection","0","3010","The property 'Message' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has been removed.","Add the property 'Message' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3000","The type of property 'DependsOn' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependency' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependency]'.","Change the type of property 'DependsOn' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependency'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3000","The type of property 'DependsOnOverride' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependencyOverride' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependencyOverride]'.","Change the type of property 'DependsOnOverride' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IMoveResourceDependencyOverride'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3010","The property 'ErrorsPropertiesDetail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'ErrorsPropertiesDetail' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3010","The property 'MoveStatusErrorsPropertiesDetail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'MoveStatusErrorsPropertiesDetail' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3010","The property 'JobStatusJobName' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'JobStatusJobName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3000","The type of property 'MoveStatusMoveState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveState]' to 'System.String'.","Change the type of property 'MoveStatusMoveState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveState]'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ProvisioningState]'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3010","The property 'MoveStatusErrorsPropertiesTarget' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'MoveStatusErrorsPropertiesTarget' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3010","The property 'MoveStatusErrorsPropertiesMessage' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'MoveStatusErrorsPropertiesMessage' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3010","The property 'MoveStatusErrorsPropertiesCode' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'MoveStatusErrorsPropertiesCode' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3010","The property 'JobStatusJobProgress' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'JobStatusJobProgress' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3010","The property 'ErrorsPropertiesTarget' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'ErrorsPropertiesTarget' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3010","The property 'ErrorsPropertiesMessage' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'ErrorsPropertiesMessage' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverMoveResource","Get-AzResourceMoverMoveResource","0","3010","The property 'ErrorsPropertiesCode' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource' has been removed.","Add the property 'ErrorsPropertiesCode' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveResource'." +"Az.ResourceMover","Get-AzResourceMoverUnresolvedDependency","Get-AzResourceMoverUnresolvedDependency","0","2020","The cmdlet 'Get-AzResourceMoverUnresolvedDependency' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.DependencyLevel' for parameter 'DependencyLevel'.","Change the type for parameter 'DependencyLevel' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.DependencyLevel'." +"Az.ResourceMover","Invoke-AzResourceMoverBulkRemove","Invoke-AzResourceMoverBulkRemove","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo'." +"Az.ResourceMover","Invoke-AzResourceMoverBulkRemove","Invoke-AzResourceMoverBulkRemove","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError'." +"Az.ResourceMover","Invoke-AzResourceMoverBulkRemove","Invoke-AzResourceMoverBulkRemove","0","2020","The cmdlet 'Invoke-AzResourceMoverBulkRemove' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType' for parameter 'MoveResourceInputType'.","Change the type for parameter 'MoveResourceInputType' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType'." +"Az.ResourceMover","Invoke-AzResourceMoverCommit","Invoke-AzResourceMoverCommit","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo'." +"Az.ResourceMover","Invoke-AzResourceMoverCommit","Invoke-AzResourceMoverCommit","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError'." +"Az.ResourceMover","Invoke-AzResourceMoverCommit","Invoke-AzResourceMoverCommit","0","2020","The cmdlet 'Invoke-AzResourceMoverCommit' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType' for parameter 'MoveResourceInputType'.","Change the type for parameter 'MoveResourceInputType' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType'." +"Az.ResourceMover","Invoke-AzResourceMoverDiscard","Invoke-AzResourceMoverDiscard","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo'." +"Az.ResourceMover","Invoke-AzResourceMoverDiscard","Invoke-AzResourceMoverDiscard","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError'." +"Az.ResourceMover","Invoke-AzResourceMoverDiscard","Invoke-AzResourceMoverDiscard","0","2020","The cmdlet 'Invoke-AzResourceMoverDiscard' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType' for parameter 'MoveResourceInputType'.","Change the type for parameter 'MoveResourceInputType' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType'." +"Az.ResourceMover","Invoke-AzResourceMoverInitiateMove","Invoke-AzResourceMoverInitiateMove","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo'." +"Az.ResourceMover","Invoke-AzResourceMoverInitiateMove","Invoke-AzResourceMoverInitiateMove","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError'." +"Az.ResourceMover","Invoke-AzResourceMoverInitiateMove","Invoke-AzResourceMoverInitiateMove","0","2020","The cmdlet 'Invoke-AzResourceMoverInitiateMove' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType' for parameter 'MoveResourceInputType'.","Change the type for parameter 'MoveResourceInputType' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType'." +"Az.ResourceMover","Invoke-AzResourceMoverPrepare","Invoke-AzResourceMoverPrepare","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo'." +"Az.ResourceMover","Invoke-AzResourceMoverPrepare","Invoke-AzResourceMoverPrepare","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError'." +"Az.ResourceMover","Invoke-AzResourceMoverPrepare","Invoke-AzResourceMoverPrepare","0","2020","The cmdlet 'Invoke-AzResourceMoverPrepare' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType' for parameter 'MoveResourceInputType'.","Change the type for parameter 'MoveResourceInputType' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveResourceInputType'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","3010","The property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has been removed.","Add the property 'Detail' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.CreatedByType]'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","3000","The type of property 'MoveType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveType]' to 'System.String'.","Change the type of property 'MoveType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveType]'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ProvisioningState]'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","3000","The type of property 'IdentityType' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ResourceIdentityType]' to 'System.String'.","Change the type of property 'IdentityType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.ResourceIdentityType]'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","3010","The property 'Target' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has been removed.","Add the property 'Target' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","3010","The property 'Code' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has been removed.","Add the property 'Code' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","3010","The property 'Message' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection' has been removed.","Add the property 'Message' back to type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IMoveCollection'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","2000","The cmdlet 'New-AzResourceMoverMoveCollection' 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-AzResourceMoverMoveCollection', or add an alias to the original parameter name." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","2020","The cmdlet 'New-AzResourceMoverMoveCollection' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveType' for parameter 'MoveType'.","Change the type for parameter 'MoveType' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Support.MoveType'." +"Az.ResourceMover","New-AzResourceMoverMoveCollection","New-AzResourceMoverMoveCollection","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzResourceMoverMoveCollection' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzResourceMoverMoveCollection'." +"Az.ResourceMover","Remove-AzResourceMoverMoveCollection","Remove-AzResourceMoverMoveCollection","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo'." +"Az.ResourceMover","Remove-AzResourceMoverMoveCollection","Remove-AzResourceMoverMoveCollection","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError'." +"Az.ResourceMover","Remove-AzResourceMoverMoveResource","Remove-AzResourceMoverMoveResource","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo'." +"Az.ResourceMover","Remove-AzResourceMoverMoveResource","Remove-AzResourceMoverMoveResource","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError'." +"Az.ResourceMover","Resolve-AzResourceMoverMoveCollectionDependency","Resolve-AzResourceMoverMoveCollectionDependency","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationErrorAdditionalInfo'." +"Az.ResourceMover","Resolve-AzResourceMoverMoveCollectionDependency","Resolve-AzResourceMoverMoveCollectionDependency","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.IOperationStatusError'."