ResourcesOperationsExtensions.BeginMoveResources Method

Definition

Moves resources from one resource group to another resource group.

public static void BeginMoveResources (this Microsoft.Azure.Management.ResourceManager.IResourcesOperations operations, string sourceResourceGroupName, Microsoft.Azure.Management.ResourceManager.Models.ResourcesMoveInfo parameters);
static member BeginMoveResources : Microsoft.Azure.Management.ResourceManager.IResourcesOperations * string * Microsoft.Azure.Management.ResourceManager.Models.ResourcesMoveInfo -> unit
<Extension()>
Public Sub BeginMoveResources (operations As IResourcesOperations, sourceResourceGroupName As String, parameters As ResourcesMoveInfo)

Parameters

operations
IResourcesOperations

The operations group for this extension method.

sourceResourceGroupName
String

The name of the resource group containing the resources to move.

parameters
ResourcesMoveInfo

Parameters for moving resources.

Remarks

The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.

Applies to