Skip to main content

Get Instances in a Cluster

GET 

/dashboard/:cluster_type/instances/:cluster_id

Get Instances in a Cluster

Request

Path Parameters

    cluster_id Cluster Idrequired
    cluster_type anyrequired

    Type of the cluster (eks, asg)

Query Parameters

    instance_type string[]

    Optional list of Instance Types to filter

    availability_zone string[]

    Optional list of Availability Zones to filter

    date_start Date Start

    Default value: 2024-09-25

    Start date for effective savings period (YYYY-MM-DD)

    date_end Date End

    Default value: 2024-10-25

    End date for effective savings period (YYYY-MM-DD)

Header Parameters

    X-Nops-Api-Key stringrequired

    API key for authentication

Responses

Successful response with list of instances.

Schema

  • Array [

  • instance_id Instance Id (string)required
    node_name Node Name (string)required
    node_pool_name Node Pool Name (string)required
    launched_by Launched By (string)required

    Possible values: [nops, aws]

    instance_type Instance Type (string)required
    pricing_model Pricing Model (string)required

    Possible values: [spot, on-demand]

    availability_zone Availability Zone (string)required
    state State (string)required
    launch_time date-timerequired
    runtime_duration Runtime Duration (string)required
    runtime_duration_minutes Runtime Duration Minutes (number)required
    effective_savings_rate Effective Savings Rate (number)required
  • ]

Loading...