/// <summary> /// Move resources between resource groups. /// </summary> /// <remarks> /// Move resources between resource groups. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group to which the resource belongs. /// </param> /// <param name='moveResourceEnvelope'> /// Object that represents the resource to move. /// </param> public static void Move(this IWebSiteManagementClient operations, string resourceGroupName, CsmMoveResourceEnvelope moveResourceEnvelope) { operations.MoveAsync(resourceGroupName, moveResourceEnvelope).GetAwaiter().GetResult(); }
/// <summary> /// Move resources between resource groups. /// </summary> /// <remarks> /// Move resources between resource groups. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group to which the resource belongs. /// </param> /// <param name='targetResourceGroup'> /// </param> /// <param name='resources'> /// </param> public static void Move(this IWebSiteManagementClient operations, string resourceGroupName, string targetResourceGroup = default(string), IList <string> resources = default(IList <string>)) { operations.MoveAsync(resourceGroupName, targetResourceGroup, resources).GetAwaiter().GetResult(); }