Exemplo n.º 1
0
 /// <summary>
 /// Moves resources from one resource group to another resource group.
 /// </summary>
 /// <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.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='sourceResourceGroupName'>
 /// The name of the resource group containing the rsources to move.
 /// </param>
 /// <param name='parameters'>
 /// Parameters for moving resources.
 /// </param>
 public static void BeginMoveResources(this IResourcesOperations operations, string sourceResourceGroupName, ResourcesMoveInfo parameters)
 {
     operations.BeginMoveResourcesAsync(sourceResourceGroupName, parameters).GetAwaiter().GetResult();
 }