List Kubernetes Deployment

List Kubernetes Deployment

Only Solution users, Container developers, Container admins, and System admins can list KubernetesDeployments.

Request
URI
GET
https:///container-service/api/resources/kubernetes-deployments
COPY
Path Parameters
string
x-project
Optional

x-project

Query Parameters
integer
page
Optional

Page Number

integer
limit
Optional

Number of entries per page

string
$orderby
Optional

Multiple comma-separated properties sorted in ascending or descending order

integer
$top
Optional

Sets the number of returned entries from the top of the response (total number per page in relation to skip)

integer
$skip
Optional

Sets how many entries you would like to skip

string
$filter
Optional

Boolean expression for whether a particular entry should be included in the response


Responses
200

successful operation

Returns PageKubernetesDeployment of type(s) */*
{
    "number": "integer",
    "numberOfElements": "integer",
    "last": "boolean",
    "size": "integer",
    "totalPages": "integer",
    "first": "boolean",
    "content": [
        {
            "documentExpirationTimeMicros": "string",
            "parentLink": "string",
            "descriptionLink": "string",
            "kubernetesSelfLink": "string",
            "compositeComponentLink": "string",
            "documentUpdateTimeMicros": "string",
            "regionId": "string",
            "documentSelfLink": "string",
            "tagLinks": [
                "string"
            ],
            "name": "string",
            "groupLinks": [
                "string"
            ],
            "tenantLinks": [
                "string"
            ],
            "id": "string",
            "desc": "string",
            "deployment": {
                "metadata": {
                    "uid": "string",
                    "clusterName": "string",
                    "name": "string",
                    "namespace": "string",
                    "creationTimestamp": "string",
                    "generateName": "string",
                    "selfLink": "string"
                },
                "apiVersion": "string",
                "kind": "string",
                "spec": {
                    "template": {
                        "metadata": {
                            "uid": "string",
                            "clusterName": "string",
                            "name": "string",
                            "namespace": "string",
                            "creationTimestamp": "string",
                            "generateName": "string",
                            "selfLink": "string"
                        },
                        "spec": {
                            "dnsPolicy": "string",
                            "nodeName": "string",
                            "terminationGracePeriodSeconds": "integer",
                            "hostNetwork": "string",
                            "volumes": [
                                {
                                    "gcePersistentDisk": {
                                        "partition": "integer",
                                        "readOnly": "boolean",
                                        "pdName": "string",
                                        "fsType": "string"
                                    },
                                    "photonPersistentDisk": {
                                        "pdID": "string",
                                        "fsType": "string"
                                    },
                                    "quobyte": {
                                        "volume": "string",
                                        "registry": "string",
                                        "readOnly": "boolean",
                                        "user": "string",
                                        "group": "string"
                                    },
                                    "azureDisk": {
                                        "diskName": "string",
                                        "readOnly": "boolean",
                                        "diskURI": "string",
                                        "fsType": "string"
                                    },
                                    "cinder": {
                                        "volumeID": "string",
                                        "readOnly": "boolean",
                                        "fsType": "string"
                                    },
                                    "downwardAPI": {
                                        "defaultMode": "integer",
                                        "items": [
                                            {
                                                "mode": "integer",
                                                "path": "string",
                                                "resourceFieldRef": {
                                                    "divisor": "string",
                                                    "resource": "string",
                                                    "containerName": "string"
                                                },
                                                "fieldRef": {
                                                    "apiVersion": "string",
                                                    "fieldPath": "string"
                                                }
                                            }
                                        ]
                                    },
                                    "azureFile": {
                                        "secretName": "string",
                                        "readOnly": "boolean",
                                        "shareName": "string"
                                    },
                                    "awsElasticBlockStore": {
                                        "partition": "integer",
                                        "volumeID": "string",
                                        "readOnly": "boolean",
                                        "fsType": "string"
                                    },
                                    "flexVolume": {
                                        "driver": "string",
                                        "secretRef": {
                                            "name": "string"
                                        },
                                        "readOnly": "boolean",
                                        "fsType": "string"
                                    },
                                    "secret": {
                                        "secretName": "string",
                                        "defaultMode": "integer",
                                        "items": [
                                            {
                                                "mode": "integer",
                                                "path": "string",
                                                "key": "string"
                                            }
                                        ]
                                    },
                                    "iscsi": {
                                        "iscsiInterface": "string",
                                        "lun": "integer",
                                        "iqn": "string",
                                        "readOnly": "boolean",
                                        "fsType": "string",
                                        "targetPortal": "string"
                                    },
                                    "cephfs": {
                                        "path": "string",
                                        "secretRef": {
                                            "name": "string"
                                        },
                                        "secretFile": "string",
                                        "readOnly": "boolean",
                                        "user": "string",
                                        "monitors": [
                                            "string"
                                        ]
                                    },
                                    "rbd": {
                                        "image": "string",
                                        "pool": "string",
                                        "readOnly": "boolean",
                                        "sourceRef": {
                                            "name": "string"
                                        },
                                        "fsType": "string",
                                        "user": "string",
                                        "keyring": "string",
                                        "monitors": [
                                            "string"
                                        ]
                                    },
                                    "configMap": {
                                        "defaultMode": "integer",
                                        "name": "string",
                                        "items": [
                                            {
                                                "mode": "integer",
                                                "path": "string",
                                                "key": "string"
                                            }
                                        ]
                                    },
                                    "emptyDir": {
                                        "medium": "string"
                                    },
                                    "name": "string",
                                    "nfs": {
                                        "server": "string",
                                        "path": "string",
                                        "readOnly": "boolean"
                                    },
                                    "glusterfs": {
                                        "path": "string",
                                        "endpoints": "string",
                                        "readOnly": "boolean"
                                    },
                                    "persistentVolumeClaim": {
                                        "claimName": "string",
                                        "readOnly": "string"
                                    },
                                    "gitRepo": {
                                        "repository": "string",
                                        "directory": "string",
                                        "revision": "string"
                                    },
                                    "vsphereVolume": {
                                        "volumePath": "string",
                                        "fsType": "string"
                                    },
                                    "fc": {
                                        "targetWWNs": [
                                            "string"
                                        ],
                                        "lun": "integer",
                                        "readOnly": "boolean",
                                        "fsType": "string"
                                    },
                                    "hostPath": {
                                        "path": "string"
                                    }
                                }
                            ],
                            "hostIPC": "boolean",
                            "securityContext": {
                                "runAsUser": "integer",
                                "fsGroup": "integer",
                                "supplementalGroups": [
                                    "integer"
                                ],
                                "runAsNonRoot": "boolean"
                            },
                            "restartPolicy": "string",
                            "hostname": "string",
                            "subdomain": "string",
                            "containers": [
                                {
                                    "image": "string",
                                    "livenessProbe": {
                                        "failureThreshold": "integer",
                                        "tcpSocket": {
                                            "port": "string"
                                        },
                                        "timeoutSeconds": "integer",
                                        "periodSeconds": "integer",
                                        "successThreshold": "integer",
                                        "initialDelaySeconds": "integer",
                                        "exec": {
                                            "command": [
                                                "string"
                                            ]
                                        },
                                        "httpGet": {
                                            "path": "string",
                                            "scheme": "string",
                                            "port": "string",
                                            "host": "string"
                                        }
                                    },
                                    "imagePullPolicy": "string",
                                    "stdin": "boolean",
                                    "terminationMessagePath": "string",
                                    "workingDir": "string",
                                    "resources": {},
                                    "securityContext": {
                                        "privileged": "boolean",
                                        "runAsUser": "integer",
                                        "runAsNonRoot": "boolean",
                                        "readOnlyRootFilesystem": "boolean"
                                    },
                                    "ports": [
                                        {
                                            "protocol": "string",
                                            "hostIP": "string",
                                            "name": "string",
                                            "containerPort": "integer",
                                            "hostPort": "integer"
                                        }
                                    ],
                                    "env": [
                                        {
                                            "name": "string",
                                            "value": "string",
                                            "valueFrom": {
                                                "secretKeyRef": {
                                                    "name": "string",
                                                    "key": "string"
                                                },
                                                "resourceFieldRef": {
                                                    "divisor": "string",
                                                    "resource": "string",
                                                    "containerName": "string"
                                                },
                                                "fieldRef": {
                                                    "apiVersion": "string",
                                                    "fieldPath": "string"
                                                },
                                                "configMapKeyRef": {
                                                    "name": "string",
                                                    "key": "string"
                                                }
                                            }
                                        }
                                    ],
                                    "command": [
                                        "string"
                                    ],
                                    "volumeMounts": [
                                        {
                                            "mountPath": "string",
                                            "name": "string",
                                            "readOnly": "boolean",
                                            "subPath": "string"
                                        }
                                    ],
                                    "args": [
                                        "string"
                                    ],
                                    "lifecycle": {
                                        "preStop": {
                                            "tcpSocket": {
                                                "port": "string"
                                            },
                                            "exec": {
                                                "command": [
                                                    "string"
                                                ]
                                            },
                                            "httpGet": {
                                                "path": "string",
                                                "scheme": "string",
                                                "port": "string",
                                                "host": "string"
                                            }
                                        },
                                        "podStart": {
                                            "tcpSocket": {
                                                "port": "string"
                                            },
                                            "exec": {
                                                "command": [
                                                    "string"
                                                ]
                                            },
                                            "httpGet": {
                                                "path": "string",
                                                "scheme": "string",
                                                "port": "string",
                                                "host": "string"
                                            }
                                        }
                                    },
                                    "name": "string",
                                    "tty": "boolean",
                                    "readinessProbe": {
                                        "failureThreshold": "integer",
                                        "tcpSocket": {
                                            "port": "string"
                                        },
                                        "timeoutSeconds": "integer",
                                        "periodSeconds": "integer",
                                        "successThreshold": "integer",
                                        "initialDelaySeconds": "integer",
                                        "exec": {
                                            "command": [
                                                "string"
                                            ]
                                        },
                                        "httpGet": {
                                            "path": "string",
                                            "scheme": "string",
                                            "port": "string",
                                            "host": "string"
                                        }
                                    },
                                    "stdinOnce": "boolean"
                                }
                            ],
                            "activeDeadlineSeconds": "integer",
                            "hostPID": "boolean"
                        }
                    },
                    "paused": "boolean",
                    "replicas": "integer",
                    "selector": {
                        "matchExpressions": [
                            {
                                "values": [
                                    "string"
                                ],
                                "key": "string",
                                "operator": "string"
                            }
                        ]
                    },
                    "revisionHistoryLimit": "integer",
                    "minReadySeconds": "integer",
                    "strategy": {
                        "type": "string",
                        "rollingUpdate": {}
                    },
                    "progressDeadlineSeconds": "integer",
                    "rollbackTo": {
                        "revision": "integer"
                    }
                },
                "status": {
                    "unavailableReplicas": "integer",
                    "replicas": "integer",
                    "readyReplicas": "integer",
                    "conditions": [
                        {
                            "reason": "string",
                            "type": "string",
                            "lastTransitionTime": "string",
                            "message": "string",
                            "status": "string",
                            "lastUpdateTime": "string"
                        }
                    ],
                    "updatedReplicas": "integer",
                    "observedGeneration": "integer",
                    "availableReplicas": "integer"
                }
            }
        }
    ],
    "totalElements": "integer"
}
integer As int32 As int32
number
Optional

number

integer As int32 As int32
numberOfElements
Optional

numberOfElements

boolean
last
Optional

last

integer As int32 As int32
size
Optional

size

integer As int32 As int32
totalPages
Optional

totalPages

sort
Optional

sort

boolean
first
Optional

first

content
Optional

content

integer As int64 As int64
totalElements
Optional

totalElements