GetSiteDetailOfContainer
CCS-site-0035 Get site detail of containers
Path Parameters
- site_id integer required
Site ID
Header Parameters
- x-api-host string required
Default value:
k8s-D-twcc
Authentication Required Parameters
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Pod object[]
name stringstatus stringreason stringmessage stringpod_ip stringflavor stringhost_ip stringhostname stringpublic_ip stringcontainer object[]
name stringimage stringports object[]
name stringprotocol stringport integervolumes object[]
type stringpath stringmountPath stringreadOnly booleanannotations object
key stringService object[]
name stringnet_type stringcluster_ip stringpublic_ip stringassociation string[]annotations object
key stringports object[]
name integertarget_port integerprotocol stringport integernode_port integerReplicationController object[]
name stringdesired integercurrent integerreplicas integerannotations object
key stringhistory object[]
revision stringchange-cause stringDeployment object[]
name stringdesired integercurrent integerreplicas integerannotations object
key stringhistory object[]
revision stringchange-cause string
{
"Pod": [
{
"name": "string",
"status": "string",
"reason": "string",
"message": "string",
"pod_ip": "string",
"flavor": "string",
"host_ip": "string",
"hostname": "string",
"public_ip": "string",
"container": [
{
"name": "string",
"image": "string",
"ports": [
{
"name": "string",
"protocol": "string",
"port": 0
}
],
"volumes": [
{
"type": "string",
"path": "string",
"mountPath": "string",
"readOnly": true
}
]
}
],
"annotations": {
"key": "value"
}
}
],
"Service": [
{
"name": "string",
"net_type": "string",
"cluster_ip": "string",
"public_ip": "string",
"association": [
"string"
],
"annotations": {
"key": "value"
},
"ports": [
{
"name": 0,
"target_port": 0,
"protocol": "string",
"port": 0,
"node_port": 0
}
]
}
],
"ReplicationController": [
{
"name": "string",
"desired": 0,
"current": 0,
"replicas": 0,
"annotations": {
"key": "value"
},
"history": [
{
"revision": "string",
"change-cause": "string"
}
]
}
],
"Deployment": [
{
"name": "string",
"desired": 0,
"current": 0,
"replicas": 0,
"annotations": {
"key": "value"
},
"history": [
{
"revision": "string",
"change-cause": "string"
}
]
}
]
}
Loading...