-
-
Save olafloogman/a98681ab59d1c56f2a8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\> Get-AzureResource -ResourceGroupName Default-SQL-AustraliaEast | Move-AzureResource -DestinationResourceGroupName RG-AU-MyApplication | |
Confirm | |
Are you sure you want to move resource(s) into the resource goup named 'RG-AU-MyApplication' - the resource(s): ' | |
/subscriptions/12360114-0ea0-40a5-8b75-293e7bdbd751/resourceGroups/Default-SQL-AustraliaEast/providers/Microsoft.Sql/servers/p4oaa44wq4/databases/myausqldb | |
/subscriptions/12360114-0ea0-40a5-8b75-293e7bdbd751/resourceGroups/Default-SQL-AustraliaEast/providers/Microsoft.Sql/servers/p4oaa44wq4' | |
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y | |
Move-AzureResource : ResourceNotTopLevel: Identifier '/subscriptions/12360114-0ea0-40a5-8b75-293e7bdbd751/resourceGroups/Default-SQL-AustraliaEast/providers/Microsoft.Sql/servers/p4oaa44wq4/databases/myausqldb' is not a top level resource. | |
At line:1 char:66 | |
+ Get-AzureResource -ResourceGroupName Default-SQL-AustraliaEast | Move-AzureResou ... | |
+ ~~~~~~~~~~~~~~~ | |
+ CategoryInfo : CloseError: (:) [Move-AzureResource], CloudException | |
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.MoveAzureResourceCommand |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment