Retrieve the status of an image action
import { DigitalOcean } from 'digitalocean-js';
const client = new DigitalOcean('your-api-key');
const action = await client.imageActions.getExistingImageAction('image-id', 'action-id');
Transfer an image to another region
import { DigitalOcean } from 'digitalocean-js';
const client = new DigitalOcean('your-api-key');
const action = await client.imageActions.transferImage('image-id', 'nyc1');
Generated using TypeDoc
Convert an image (a backup for example) to a snapshot
Example