ResourcesOperationsExtensions.BeginMoveResourcesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves resources from one resource group to another resource group.
public static System.Threading.Tasks.Task BeginMoveResourcesAsync (this Microsoft.Azure.Management.ResourceManager.IResourcesOperations operations, string sourceResourceGroupName, Microsoft.Azure.Management.ResourceManager.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginMoveResourcesAsync : Microsoft.Azure.Management.ResourceManager.IResourcesOperations * string * Microsoft.Azure.Management.ResourceManager.Models.ResourcesMoveInfo * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginMoveResourcesAsync (operations As IResourcesOperations, sourceResourceGroupName As String, parameters As ResourcesMoveInfo, Optional cancellationToken As CancellationToken = Nothing) As Task
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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
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
Azure SDK for .NET