查询应用事件列表
查询应用事件列表
Path Parameters
subscription_name string required
订阅
resource_group_name string required
资源组
zone string required
可用区
workspace_name string required
工作空间资源名称
app_name string required
应用名称
Query Parameters
page_size int32
可选,单页结果数,默认10,最大500,需为非负整数,如果不填或填0,则使用默认值。超过最大值则使用最大值,负值将返回错误
page_token string
可选,指定要使用的页码,默认1.如果未指定则使用默认值,非正值返回错误
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
events object[]
事件
type string
类型
reason string
原因
age string
age
source string
source(保留字段)
message string
message
reource string
resource
count int32
事件次数
span string
持续时间
next_page_token string
下一页的token,用户需将该值作为下一次请求的page_token透传回来
total_size int32
符合当前查询条件的后台数据总数
{
"events": [
{
"type": "string",
"reason": "string",
"age": "string",
"source": "string",
"message": "string",
"reource": "string",
"count": 0,
"span": "string"
}
],
"next_page_token": "string",
"total_size": 0
}
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...