dots.v2.microvms.optionsPath.get()

Generated on 13 Nov 2026 from DoTs version v1.24.0

Usage

client.v2.microvms.optionsPath.get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Microvm_options>

Description

To list the default region, sizes, prices, account limits, and features available to your team, send a GET request to /v2/microvms/options.

Request Sample

Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

const response = await client.v2.microvms.optionsPath.get();

Response Example

Show Response Example
{
  "default_region": "mkc1",
  "sizes": [
    {
      "cpu": 1,
      "memory": 2048,
      "disk": 50,
      "available": true,
      "regions": [
        "mkc1"
      ],
      "pricing": {
        "price_per_hour": 0.039,
        "price_per_month": 28.47
      }
    },
    {
      "cpu": 2,
      "memory": 4096,
      "disk": 80,
      "available": true,
      "regions": [
        "mkc1"
      ],
      "pricing": {
        "price_per_hour": 0.078,
        "price_per_month": 56.94
      }
    },
    {
      "cpu": 8,
      "memory": 16384,
      "disk": 320,
      "available": true,
      "regions": [
        "mkc1"
      ],
      "pricing": {
        "price_per_hour": 0.312,
        "price_per_month": 227.76
      }
    },
    {
      "cpu": 16,
      "memory": 32768,
      "disk": 400,
      "available": true,
      "regions": [
        "mkc1"
      ],
      "pricing": {
        "price_per_hour": 0.624,
        "price_per_month": 455.52
      }
    }
  ],
  "resource_pricing": {
    "price_per_vcpu_hour": 0.022,
    "price_per_gib_memory_hour": 0.0085,
    "price_per_gib_storage_month": 0.05,
    "price_per_gib_bandwidth": 0.01
  },
  "account_limits": {
    "max_total_count": 1000,
    "max_memory_bytes": 34359738368,
    "max_disk_bytes": 429496729600,
    "max_idle_timeout_seconds": 14400
  },
  "features": [
    {
      "name": "microvm",
      "enabled": true
    },
    {
      "name": "exec_pty",
      "enabled": true
    }
  ]
}

More Information

See /v2/microvms/options in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.