/// <summary> /// Starts a container migration job to migrate containers to the specified /// destination share. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Resource group name. /// </param> /// <param name='farmId'> /// Farm Id. /// </param> /// <param name='shareName'> /// Share name. /// </param> /// <param name='migrationParameters'> /// The parameters of container migration job. /// </param> public static MigrationResult Migrate(this IContainersOperations operations, string resourceGroupName, string farmId, string shareName, MigrationParameters migrationParameters) { return(operations.MigrateAsync(resourceGroupName, farmId, shareName, migrationParameters).GetAwaiter().GetResult()); }