Skip to content
DocsOpenAPI spec

    Instance Types

    Get Instance Type
    client.InstanceTypes.Get(ctx, region, name) (*InstanceType, error)
    GET/v1/instance_types/{region}/{name}
    List Instance Types
    client.InstanceTypes.List(ctx, query) (*Cursor[InstanceType], error)
    GET/v1/instance_types
    ModelsExpand Collapse
    type InstanceType struct{…}

    Instance type.

    Chipset string
    CreatedAt Time

    When the Instance Type was created.

    formatdate-time
    Family string
    MemoryGB int64
    Name string
    NetworkBandwidthGbps float64

    Network bandwidth in Gbps.

    Region RegionName

    Region the resource is in.

    One of the following:
    const RegionNameUsSva2 RegionName = "us-sva-2"
    const RegionNameUsWdc1 RegionName = "us-wdc-1"
    Series string
    UpdatedAt Time

    When the Instance Type was updated.

    formatdate-time
    Vcpu int64
    type InstanceTypeList struct{…}
    Items []InstanceType
    Chipset string
    CreatedAt Time

    When the Instance Type was created.

    formatdate-time
    Family string
    MemoryGB int64
    Name string
    NetworkBandwidthGbps float64

    Network bandwidth in Gbps.

    Region RegionName

    Region the resource is in.

    One of the following:
    const RegionNameUsSva2 RegionName = "us-sva-2"
    const RegionNameUsWdc1 RegionName = "us-wdc-1"
    Series string
    UpdatedAt Time

    When the Instance Type was updated.

    formatdate-time
    Vcpu int64