huawei-cloud-api-definitions-CCI 0.1.20250329

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"","definitions":{},"description":null,"group_id":"60a6902c45794493bde6f3570a30a029","host":"cci.cn-north-4.myhuaweicloud.com","id":"fcec8ffa4f7f4d01af93f28885dcc731","info_version":"v1","method":"post","name":"connectCoreV1PostNamespacedPodExec","parameters":{"Content-Type":{"default":"application/json","description":"消息体的类型(格式),默认取值为“application/json”","in":"header","name":"Content-Type","required":true,"type":"string","uniqueItems":true,"x-example":"application/json"},"X-Auth-Token":{"description":"用户Token。\n\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","name":"X-Auth-Token","required":true,"type":"string","uniqueItems":true,"x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."}},"paths":{"/api/v1/namespaces/{namespace}/pods/{name}/exec":{"parameters":[{"description":"Command is the remote command to execute. argv array. Not executed within a shell.","in":"query","name":"command","type":"string","uniqueItems":true},{"description":"Container in which to execute the command. Defaults to only container if there is only one container in the pod.","in":"query","name":"container","type":"string","uniqueItems":true},{"description":"name of the PodExecOptions","in":"path","name":"name","required":true,"type":"string","uniqueItems":true},{"description":"object name and auth scope, such as for teams and projects","in":"path","name":"namespace","required":true,"type":"string","uniqueItems":true},{"description":"Redirect the standard error stream of the pod for this call. Defaults to true.","in":"query","name":"stderr","type":"boolean","uniqueItems":true},{"description":"Redirect the standard input stream of the pod for this call. Defaults to false.","in":"query","name":"stdin","type":"boolean","uniqueItems":true},{"description":"Redirect the standard output stream of the pod for this call. Defaults to true.","in":"query","name":"stdout","type":"boolean","uniqueItems":true},{"description":"TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.","in":"query","name":"tty","type":"boolean","uniqueItems":true}],"post":{"consumes":["*/*"],"description":"进入容器执行命令。","operationId":"connectCoreV1PostNamespacedPodExec","parameters":[{"$ref":"#/parameters/X-Auth-Token"},{"$ref":"#/parameters/Content-Type"}],"produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"type":"string"}},"400":{"description":"BadRequest"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"405":{"description":"MethodNotAllowed"},"406":{"description":"NotAcceptable"},"409":{"description":"AlreadyExists"},"415":{"description":"UnsupportedMediaType"},"422":{"description":"Invalid"},"429":{"description":"TooManyRequests"},"500":{"description":"InternalError"},"503":{"description":"ServiceUnavailable"},"504":{"description":"ServerTimeout"}},"schemes":["https"],"summary":"进入容器执行命令","tags":["Pod"],"x-hc":"true","x-is-registered":"Y","x-kubernetes-action":"connect","x-kubernetes-group-version-kind":{"group":"","kind":"PodExecOptions","version":"v1"},"x-open-api":"true","x-support-sdk":"N"}}},"product_short":"CCI","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"BearerToken":{"description":"Bearer Token authentication","in":"header","name":"authorization","type":"apiKey"}},"summary":"进入容器执行命令","tags":"Pod","uri":null,"version":"2.0"}