资源编排服务 RFS-查询堆栈列表:响应消息
时间:2023-11-01 16:25:35
响应消息
- 响应参数
- 查询成功时返回堆栈结构列表。
- 查询失败时返回错误消息结构。
其中,堆栈结构如表2所示, 错误消息结构如表5所示。
- 成功响应示例
此处只写出单一堆栈结构,url返回为JSONArray([{"name": "stack1", ...}, {"name": "stack2", ...}])
{ "force": false, "guid": "6c2dc1bc-66cc-11e7-8a31-0255ac101c16", "namespace": "csc-system", "project_id": "3de3c020647e447fb9c9dbe1f0fc8b85", "cluster_name": "cluster01", "cluster_id": "d019ddfa-61e2-11e7-80ba-0255ac100705", "domain_id": "c952eaaa5bdc43668d31aff2bb74a72d", "name": "b-lss-f98q0", "description": "", "status": "Running", "template_id": "6307541e-11e9-8d57-0682-0a0ab82e8450", "previous_template_id": "", "template_name": "paasconsole", "healthy": true, "healthy_message": "", "inputs_json": "{\"app_path\":\"/\",\"container_port\":18081,\"custom_tag_key0\":\"netype\",\"custom_tag_val0\":\"com.huawei.itpaas.platformservice.ncss\",\"extend_info\":\"{}\",\"image_name\":\"10.101.248.47:20202/aos-team/cam-default/dw_broker_lss_suse11sp3:v600r001c11\",\"pod_name\":\"b-lss-f98q0\",\"role_name\":\"manage\",\"secret_name\":\"default-ingress-ssl\",\"service_guid\":\"beef926a-e170-0419-c220-16d90bce9951\",\"sso_info\":\"{\\\"iam_external_domain\\\":\\\"10.101.248.93\\\",\\\"iam_external_addr\\\":\\\"10.101.248.93\\\",\\\"iam_internal_ip\\\":\\\"iam.kube-system.svc.cluster.local\\\",\\\"iam_port\\\":\\\"31943\\\"}\",\"volume_container_path\":\"/home/agentlib/uniagentconf\",\"volume_host_path\":\"/home/agentlib/uniagentconf\"}", "previous_inputs_json": "", "create_at": "2017-07-12T06:36:23Z", "update_at": "2017-07-12T06:36:39Z", "labels": "", "object": { "metadata": { "name": "b-lss-f98q0", "namespace": "3de3c020647e447fb9c9dbe1f0fc8b85", "selfLink": "/apis/paas/v1alpha1/namespaces/3de3c020647e447fb9c9dbe1f0fc8b85/stacks/b-lss-f98q0", "uid": "6c2dc1bc-66cc-11e7-8a31-0255ac101c16", "resourceVersion": "1442425", "creationTimestamp": "2017-07-12T06:36:23Z", "labels": { "stackname": "b-lss-f98q0" }, "annotations": { "cluster-id": "d019ddfa-61e2-11e7-80ba-0255ac100705", "namespace": "csc-system", "paas-iam.alpha.kubernetes.io/domain-id": "c952eaaa5bdc43668d31aff2bb74a72d", "stack.kubernetes.io/revision": "1" } }, "spec": { "selector": { "matchLabels": { "stackname": "b-lss-f98q0" } }, "template": { "type": "Aos", "data": "******" } }, "status": { "phase": "CreateSucceeded", "elementStatuses": { "paas-console-app": { "runtimeProperties": { "CfeCluster": "{\"clusterID\":\"d019ddfa-61e2-11e7-80ba-0255ac100705\",\"namespace\":\"csc-system\"}", "ConfigMap": "{\"selfLink\":\"/api/v1/namespaces/csc-system/configmaps/b-lss-f98q0\",\"name\":\"b-lss-f98q0\",\"id\":\"7248cfe7-66cc-11e7-9a88-286ed489ceaa\"}", "Deployment": "{\"selfLink\":\"/apis/extensions/v1beta1/namespaces/csc-system/deployments/b-lss-f98q0\",\"name\":\"b-lss-f98q0\",\"id\":\"7253bff2-66cc-11e7-9a88-286ed489ceaa\"}", "Ingress": "{\"selfLink\":\"/apis/extensions/v1beta1/namespaces/csc-system/ingresses/b-lss-f98q0\",\"annotations\":{\"ingress.beta.kubernetes.io/role\":\"manage\",\"ingress.beta.kubernetes.io/type\":\"external\",\"ingress.kubernetes.io/external-address\":\"10.101.204.188:30283\",\"ingress.kubernetes.io/external-ssl-address\":\"10.101.204.188:30282\"},\"rules\":[{\"host\":\"b-lss-f98q0-csc-system.10.101.204.188.xip.io\",\"http\":{\"paths\":[{\"path\":\"/\",\"backend\":{\"serviceName\":\"b-lss-f98q0\",\"servicePort\":32158}}]}}]}", "Service": "{\"selfLink\":\"/api/v1/namespaces/csc-system/services/b-lss-f98q0\",\"type\":\"NodePort\",\"ports\":[{\"name\":\"\",\"protocol\":\"TCP\",\"port\":18081,\"targetPort\":18081,\"nodePort\":32158}],\"selector\":{\"app\":\"b-lss-f98q0\",\"stack-name\":\"b-lss-f98q0\"},\"clusterIP\":\"10.247.248.87\",\"ExternalName\":\"\",\"sessionAffinity\":\"None\"}" } } }, "lastExecutionStatus": { "actionName": "create", "progress": 100, "objectStatus": { "phase": "Succeeded", "updateAt": "2017-07-12T06:36:37Z" }, "subObjectStatuses": { "host-dir": { "phase": "Succeeded", "updateAt": "2017-07-12T06:36:23Z" }, "paas-console": { "phase": "Succeeded", "updateAt": "2017-07-12T06:36:23Z" }, "paas-console-app": { "phase": "Succeeded", "updateAt": "2017-07-12T06:36:36Z" } } } } }, "health": { "message": "", "healthy": true }}
- 错误响应示例
{ "message": "Internal error.please check the error log and handle it.", "code": "02000051", "extend": ""}
support.huaweicloud.com/api-aos/aos_02_0026.html
看了此文的人还看了
CDN加速
GaussDB
文字转换成语音
免费的服务器
如何创建网站
域名网站购买
私有云桌面
云主机哪个好
域名怎么备案
手机云电脑
SSL证书申请
云点播服务器
免费OCR是什么
电脑云桌面
域名备案怎么弄
语音转文字
文字图片识别
云桌面是什么
网址安全检测
网站建设搭建
国外CDN加速
SSL免费证书申请
短信批量发送
图片OCR识别
云数据库MySQL
个人域名购买
录音转文字
扫描图片识别文字
OCR图片识别
行驶证识别
虚拟电话号码
电话呼叫中心软件
怎么制作一个网站
Email注册网站
华为VNC
图像文字识别
企业网站制作
个人网站搭建
华为云计算
免费租用云托管
云桌面云服务器
ocr文字识别免费版
HTTPS证书申请
图片文字识别转换
国外域名注册商
使用免费虚拟主机
云电脑主机多少钱
鲲鹏云手机
短信验证码平台
OCR图片文字识别
SSL证书是什么
申请企业邮箱步骤
免费的企业用邮箱
云免流搭建教程
域名价格
推荐文章