Retrieve information about a specific instance size for service
, worker
, and job
components.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
slug |
string | True | The slug of the instance size |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
get_resp = client.apps.get_instance_size(slug="apps-s-1vcpu-0.5gb")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.