diff --git a/src/ResourceMover/ResourceMover.Autorest/Properties/AssemblyInfo.cs b/src/ResourceMover/ResourceMover.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..98c7e9827d41 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[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.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 5c96079e7499..865fba4d7d05 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 000f17864dc7..0706dc440e21 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 31c6e128b0ae..767c1f6d32b4 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 fc8ac42be08b..ab27f9fb558e 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 f3ebaf8bcf43..af875342654b 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 70a8a4f94392..9683ff3d2d91 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 9680f6538ce3..207be70c003e 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 d8339ced9b56..bde4ded50b96 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 04a4c8df85f6..64d49869cd1c 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 8f31e7881288..1af727c96fdf 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 8e80d5015faf..3add78e32e32 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 88aa616ac5be..da3e6ade7134 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 f59f01322f02..be8213403218 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 16230376c9c0..6406c89aab91 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 a487df8c5b91..34477f67d8ad 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 c6442360e7d2..d0afc7ef86d7 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 eb49ebc62491..2490e21c7e71 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: 97d87543-8eef-4574-a70d-7317ec4abe54 +Module Guid: 1cace6d9-20aa-4eea-aa4c-3c6f10b496e6 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 268351076d7d..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 @@ -31,7 +46,7 @@ To aid the user to prerequisite the operation the client can call operation with ## EXAMPLES -### Example 1: Validate the dependenciesss before remove of the Move Resources from Move Collection +### Example 1: Validate the dependecies before remove of the Move Resources from Move Collection ```powershell Invoke-AzResourceMoverBulkRemove -ResourceGroupName "RG-MoveCollection-demoRMS" -MoveCollectionName "PS-centralus-westcentralus-demoRMS" -MoveResource $('PSDemoVM') -MoveResourceInputType "MoveResourceId" -ValidateOnly ``` @@ -51,7 +66,7 @@ Status : Succeeded ``` -Validate the dependencies before remove of the move resources from Move Collection. +Validate the dependecies before remove of the move resources from Move Collection. ### Example 2: Remove the Move Resource from Move Collection using "MoveResource Name" as input ```powershell @@ -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 d25d3c5cad66..c809cc9a073a 100644 --- a/src/ResourceMover/ResourceMover.Autorest/generate-info.json +++ b/src/ResourceMover/ResourceMover.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "07cb2b15-feee-4391-a45e-8314458515b9" + "generate_Id": "72c2ba9b-01c5-4013-ac2f-1732d2410c88" } diff --git a/src/ResourceMover/ResourceMover.Autorest/resources/README.md b/src/ResourceMover/ResourceMover.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/ResourceMover/ResourceMover.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file 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 d43775948934..9a350eec2dfb 100644 --- a/src/ResourceMover/ResourceMover.sln +++ b/src/ResourceMover/ResourceMover.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -19,49 +19,119 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ResourceMover", "ResourceMover\ResourceMover.csproj", "{26991967-CCE2-4F52-94F1-A85E3723BE2D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ResourceMover", "..\..\generated\ResourceMover\ResourceMover.Autorest\Az.ResourceMover.csproj", "{1F006A8D-0567-4F77-970A-35D2301074EC}" +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", "{6B8A3765-382B-4191-912E-99605ABF1A81}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Debug|x64.ActiveCfg = Debug|Any CPU + {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Debug|x64.Build.0 = Debug|Any CPU + {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Debug|x86.ActiveCfg = Debug|Any CPU + {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Debug|x86.Build.0 = Debug|Any CPU {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Release|Any CPU.ActiveCfg = Release|Any CPU {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Release|Any CPU.Build.0 = Release|Any CPU + {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Release|x64.ActiveCfg = Release|Any CPU + {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Release|x64.Build.0 = Release|Any CPU + {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Release|x86.ActiveCfg = Release|Any CPU + {65E03409-AA84-40FE-8A3D-826C5542DA0E}.Release|x86.Build.0 = Release|Any CPU {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Debug|x64.ActiveCfg = Debug|Any CPU + {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Debug|x64.Build.0 = Debug|Any CPU + {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Debug|x86.ActiveCfg = Debug|Any CPU + {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Debug|x86.Build.0 = Debug|Any CPU {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Release|Any CPU.ActiveCfg = Release|Any CPU {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Release|Any CPU.Build.0 = Release|Any CPU + {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Release|x64.ActiveCfg = Release|Any CPU + {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Release|x64.Build.0 = Release|Any CPU + {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Release|x86.ActiveCfg = Release|Any CPU + {327404DC-F503-4DD6-90B8-3058A42FA4FB}.Release|x86.Build.0 = Release|Any CPU {C0285CAB-0196-43E5-9235-916058515F6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C0285CAB-0196-43E5-9235-916058515F6F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C0285CAB-0196-43E5-9235-916058515F6F}.Debug|x64.ActiveCfg = Debug|Any CPU + {C0285CAB-0196-43E5-9235-916058515F6F}.Debug|x64.Build.0 = Debug|Any CPU + {C0285CAB-0196-43E5-9235-916058515F6F}.Debug|x86.ActiveCfg = Debug|Any CPU + {C0285CAB-0196-43E5-9235-916058515F6F}.Debug|x86.Build.0 = Debug|Any CPU {C0285CAB-0196-43E5-9235-916058515F6F}.Release|Any CPU.ActiveCfg = Release|Any CPU {C0285CAB-0196-43E5-9235-916058515F6F}.Release|Any CPU.Build.0 = Release|Any CPU + {C0285CAB-0196-43E5-9235-916058515F6F}.Release|x64.ActiveCfg = Release|Any CPU + {C0285CAB-0196-43E5-9235-916058515F6F}.Release|x64.Build.0 = Release|Any CPU + {C0285CAB-0196-43E5-9235-916058515F6F}.Release|x86.ActiveCfg = Release|Any CPU + {C0285CAB-0196-43E5-9235-916058515F6F}.Release|x86.Build.0 = Release|Any CPU {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Debug|x64.ActiveCfg = Debug|Any CPU + {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Debug|x64.Build.0 = Debug|Any CPU + {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Debug|x86.ActiveCfg = Debug|Any CPU + {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Debug|x86.Build.0 = Debug|Any CPU {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Release|Any CPU.ActiveCfg = Release|Any CPU {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Release|Any CPU.Build.0 = Release|Any CPU + {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Release|x64.ActiveCfg = Release|Any CPU + {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Release|x64.Build.0 = Release|Any CPU + {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Release|x86.ActiveCfg = Release|Any CPU + {08DA3867-5ECF-48A9-9DDD-B81F9D2DFF0D}.Release|x86.Build.0 = Release|Any CPU {257E080F-878F-4247-9C63-27D636AF9E3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {257E080F-878F-4247-9C63-27D636AF9E3A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {257E080F-878F-4247-9C63-27D636AF9E3A}.Debug|x64.ActiveCfg = Debug|Any CPU + {257E080F-878F-4247-9C63-27D636AF9E3A}.Debug|x64.Build.0 = Debug|Any CPU + {257E080F-878F-4247-9C63-27D636AF9E3A}.Debug|x86.ActiveCfg = Debug|Any CPU + {257E080F-878F-4247-9C63-27D636AF9E3A}.Debug|x86.Build.0 = Debug|Any CPU {257E080F-878F-4247-9C63-27D636AF9E3A}.Release|Any CPU.ActiveCfg = Release|Any CPU {257E080F-878F-4247-9C63-27D636AF9E3A}.Release|Any CPU.Build.0 = Release|Any CPU + {257E080F-878F-4247-9C63-27D636AF9E3A}.Release|x64.ActiveCfg = Release|Any CPU + {257E080F-878F-4247-9C63-27D636AF9E3A}.Release|x64.Build.0 = Release|Any CPU + {257E080F-878F-4247-9C63-27D636AF9E3A}.Release|x86.ActiveCfg = Release|Any CPU + {257E080F-878F-4247-9C63-27D636AF9E3A}.Release|x86.Build.0 = Release|Any CPU {42263E13-6DA9-4608-9140-78D24858E049}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {42263E13-6DA9-4608-9140-78D24858E049}.Debug|Any CPU.Build.0 = Debug|Any CPU + {42263E13-6DA9-4608-9140-78D24858E049}.Debug|x64.ActiveCfg = Debug|Any CPU + {42263E13-6DA9-4608-9140-78D24858E049}.Debug|x64.Build.0 = Debug|Any CPU + {42263E13-6DA9-4608-9140-78D24858E049}.Debug|x86.ActiveCfg = Debug|Any CPU + {42263E13-6DA9-4608-9140-78D24858E049}.Debug|x86.Build.0 = Debug|Any CPU {42263E13-6DA9-4608-9140-78D24858E049}.Release|Any CPU.ActiveCfg = Release|Any CPU {42263E13-6DA9-4608-9140-78D24858E049}.Release|Any CPU.Build.0 = Release|Any CPU + {42263E13-6DA9-4608-9140-78D24858E049}.Release|x64.ActiveCfg = Release|Any CPU + {42263E13-6DA9-4608-9140-78D24858E049}.Release|x64.Build.0 = Release|Any CPU + {42263E13-6DA9-4608-9140-78D24858E049}.Release|x86.ActiveCfg = Release|Any CPU + {42263E13-6DA9-4608-9140-78D24858E049}.Release|x86.Build.0 = Release|Any CPU {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Debug|x64.ActiveCfg = Debug|Any CPU + {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Debug|x64.Build.0 = Debug|Any CPU + {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Debug|x86.ActiveCfg = Debug|Any CPU + {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Debug|x86.Build.0 = Debug|Any CPU {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Release|Any CPU.ActiveCfg = Release|Any CPU {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Release|Any CPU.Build.0 = Release|Any CPU - {1F006A8D-0567-4F77-970A-35D2301074EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1F006A8D-0567-4F77-970A-35D2301074EC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1F006A8D-0567-4F77-970A-35D2301074EC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1F006A8D-0567-4F77-970A-35D2301074EC}.Release|Any CPU.Build.0 = Release|Any CPU + {26991967-CCE2-4F52-94F1-A85E3723BE2D}.Release|x64.ActiveCfg = Release|Any CPU + {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 + {6B8A3765-382B-4191-912E-99605ABF1A81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Debug|x64.ActiveCfg = Debug|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Debug|x64.Build.0 = Debug|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Debug|x86.ActiveCfg = Debug|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Debug|x86.Build.0 = Debug|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Release|Any CPU.Build.0 = Release|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Release|x64.ActiveCfg = Release|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Release|x64.Build.0 = Release|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Release|x86.ActiveCfg = Release|Any CPU + {6B8A3765-382B-4191-912E-99605ABF1A81}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {65E03409-AA84-40FE-8A3D-826C5542DA0E} = {2597EDD5-4E16-4746-BD2E-7BE7358494FB} @@ -70,5 +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} + {6B8A3765-382B-4191-912E-99605ABF1A81} = {FBF8B4F0-CF4C-3D0F-3CA1-AFF09D158825} EndGlobalSection EndGlobal diff --git a/src/ResourceMover/ResourceMover/Az.ResourceMover.psd1 b/src/ResourceMover/ResourceMover/Az.ResourceMover.psd1 index b853d0805578..06cf688abb3f 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: 1/9/2025 +# Generated on: 8/6/2025 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.1.1'; }) # 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' +FormatsToProcess = 'ResourceMover.Autorest/Az.ResourceMover.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('ResourceMover.Autorest/Az.ResourceMover.psm1') @@ -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 a44c7232b185..e2328f91e712 100644 --- a/src/ResourceMover/ResourceMover/ChangeLog.md +++ b/src/ResourceMover/ResourceMover/ChangeLog.md @@ -18,6 +18,11 @@ - Additional information about change #1 --> ## Upcoming Release +* Introduced various new features by upgrading code generator. Please see details [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md). +* The parameters of the `New-AzResourceMoverMoveCollection` and `New-AzResourceMoverMoveCollection` cmdlets will be changed by new Managed Identity settings. + - Removed `-IdentityType` and `-IdentityUserAssignedIdentity` parameters. + - Added `-UserAssignedIdentity` parameter. The type of `UserAssignedIdentity` is simplified to a list of strings that is used to specify the user's assigned identity. + - Added `EnableSystemAssignedIdentity` to enable/disable system-assigned identities. ## Version 1.3.0 * Upgraded nuget package to signed package. 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 c2677decef3a..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 @@ -32,7 +47,7 @@ To aid the user to prerequisite the operation the client can call operation with ## EXAMPLES -### Example 1: Validate the dependencies before remove of the Move Resources from Move Collection +### Example 1: Validate the dependecies before remove of the Move Resources from Move Collection ```powershell Invoke-AzResourceMoverBulkRemove -ResourceGroupName "RG-MoveCollection-demoRMS" -MoveCollectionName "PS-centralus-westcentralus-demoRMS" -MoveResource $('PSDemoVM') -MoveResourceInputType "MoveResourceId" -ValidateOnly ``` @@ -51,7 +66,7 @@ StartTime : 2/10/2021 12:52:28 PM Status : Succeeded ``` -Validate the dependencies before remove of the move resources from Move Collection. +Validate the dependecies before remove of the move resources from Move Collection. ### Example 2: Remove the Move Resource from Move Collection using "MoveResource Name" as input ```powershell @@ -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'."