获取服务详情
获取服务详情
Path Parameters
service string required
The service id.
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
name string
名称
spec object required
服务规格
resource_id string required
资源id
subscription string required
订阅
resource_group string required
资源组
zone string required
可用区
status object
服务状态
health object
健康状态
instances object[]
实例简报
health object
健康状态
{
"name": "string",
"spec": {
"resource_id": "string",
"subscription": "string",
"resource_group": "string",
"zone": "string"
},
"status": {
"uri": "string",
"health": {
"message": "string",
"status": "HEALTH_STATE_CODE_UNKNOWN_UNSPECIFIED"
},
"instances": [
{
"name": "string",
"health": {
"message": "string",
"status": "HEALTH_STATE_CODE_UNKNOWN_UNSPECIFIED"
},
"running_replicas": 0,
"current_replicas": 0
}
],
"creator_name": "string"
},
"create_time": "2024-12-05T02:41:58.554Z"
}
Default error response
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
@type string
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...