Get Core Cluster By Id

Get Core Cluster By Id
Get a specific core cluster

Get details for a specific core cluster

Request
URI
GET
https://{api_host}/api/inventory/{org_id}/core/clusters/{cluster_id}
COPY
Path Parameters
string
org_id
Required

organization identifier

string
cluster_id
Required

cluster identifier

Query Parameters
boolean
include_deleted_resources
Optional
Constraints: default: false

should the deleted resources be included in the results?


Responses
200

OK

Returns Cluster of type(s) application/json
{
    "id": "string",
    "name": "string",
    "deployment_id": "string",
    "org_id": "string",
    "primary_cluster": false,
    "state": {
        "phase": "string",
        "sub_phase": "string",
        "display_name": "string",
        "error_msg": "string",
        "error_code": "string",
        "provider": "string",
        "internal_error_msg": "string",
        "internal_error_code": "string"
    },
    "creator": {
        "user_name": "string",
        "user_id": "string",
        "client_id": "string",
        "timestamp": "string"
    },
    "updater": {
        "user_name": "string",
        "user_id": "string",
        "client_id": "string",
        "timestamp": "string"
    },
    "internal_creator": {
        "user_name": "string",
        "user_id": "string",
        "client_id": "string",
        "timestamp": "string"
    },
    "deleted": false,
    "resource_version": 0
}
string
id
Optional

Identifier of the cluster

string
name
Required

Name of the cluster

string
deployment_id
Required

Identifier of the parent deployment

string
org_id
Optional

Identifier of the organization

boolean
primary_cluster
Optional

Checks if the current cluster is a primary cluster of the Deployment

object
state
Optional

state

object
creator
Optional

creator

object
updater
Optional

updater

object
internal_creator
Optional

internal_creator

boolean
deleted
Optional

Indicates if the current cluster is deleted

integer As int64 As int64
resource_version
Optional

Version of the record content to handle optimistic control verification


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/inventory/{org_id}/core/clusters/{cluster_id}