Queries the information about the Deployment of a Kubernetes application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ReadApplication |
get |
*Application
|
None | None |
Request syntax
GET /pop/v5/oam/app_deployment HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. You can call the ListApplication operation to query the application ID. |
93fdd228-*****-ed2ae98de18d |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The message that is returned. |
success |
| Data |
string |
The information about the Deployment of the application. The value is a JSON string. |
{"metadata":{"name":"oambuild-group*","namespace":"default","selfLink":"/apis/apps/v1/namespaces/default/deployments/oambuil*","uid":"*-afc0-436e-9949-fb01994a9b63","resourceVersion":"969614832","generation":2,"creationTimestamp":"2021-04-06T11:38:46Z","labels":{"edas-domain":"edas-admin","edas.aliyun.oam.com/rollout-name":"oambuild-group-1","edas.aliyun.oam.com/rollout-namespace":"default","edas.aliyun.oam.com/rollout-revision":"3","edas.appid":"fc5e0f54-*-4cab-91a0-b7becb1f6174","edas.controlplane":"edas-oam","edas.oam.acname":"oambuild"... |
| RequestId |
string |
The ID of the request. |
03FD1520-0FD6-436A-****-265318D7**** |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"Data": " {\"metadata\":{\"name\":\"oambuild-group*\",\"namespace\":\"default\",\"selfLink\":\"/apis/apps/v1/namespaces/default/deployments/oambuil*\",\"uid\":\"*-afc0-436e-9949-fb01994a9b63\",\"resourceVersion\":\"969614832\",\"generation\":2,\"creationTimestamp\":\"2021-04-06T11:38:46Z\",\"labels\":{\"edas-domain\":\"edas-admin\",\"edas.aliyun.oam.com/rollout-name\":\"oambuild-group-1\",\"edas.aliyun.oam.com/rollout-namespace\":\"default\",\"edas.aliyun.oam.com/rollout-revision\":\"3\",\"edas.appid\":\"fc5e0f54-*-4cab-91a0-b7becb1f6174\",\"edas.controlplane\":\"edas-oam\",\"edas.oam.acname\":\"oambuild\"...",
"RequestId": "03FD1520-0FD6-436A-****-265318D7****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.