public class DescribeServiceLogRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
containerName
The name of the container that runs the service.
|
String |
endTime
The end of the time range to query.
|
String |
instanceName
The name of the instance that runs the service.
|
String |
ip
The IP address of the instance whose logs you want to query.
|
String |
keyword
The keyword that you use to query the logs of the service.
|
Long |
pageNum
The page number.
|
Long |
pageSize
The number of entries per page.
|
Boolean |
previous
Specifies whether to query the logs that are generated before the instance last restarts.
|
String |
startTime
The beginning of the time range to query.
|
| 构造器和说明 |
|---|
DescribeServiceLogRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DescribeServiceLogRequest |
build(Map<String,?> map) |
String |
getContainerName() |
String |
getEndTime() |
String |
getInstanceName() |
String |
getIp() |
String |
getKeyword() |
Long |
getPageNum() |
Long |
getPageSize() |
Boolean |
getPrevious() |
String |
getStartTime() |
DescribeServiceLogRequest |
setContainerName(String containerName) |
DescribeServiceLogRequest |
setEndTime(String endTime) |
DescribeServiceLogRequest |
setInstanceName(String instanceName) |
DescribeServiceLogRequest |
setIp(String ip) |
DescribeServiceLogRequest |
setKeyword(String keyword) |
DescribeServiceLogRequest |
setPageNum(Long pageNum) |
DescribeServiceLogRequest |
setPageSize(Long pageSize) |
DescribeServiceLogRequest |
setPrevious(Boolean previous) |
DescribeServiceLogRequest |
setStartTime(String startTime) |
@NameInMap(value="ContainerName") public String containerName
The name of the container that runs the service.
example:worker0
@NameInMap(value="EndTime") public String endTime
The end of the time range to query. The time must be in UTC.
example:2006-01-02 15:04:05
@NameInMap(value="InstanceName") public String instanceName
The name of the instance that runs the service. For more information about how to query the instance name, see ListServiceInstances.
example:echo-da290ac8-7fckm
@NameInMap(value="Ip") public String ip
The IP address of the instance whose logs you want to query. For more information about how to query the IP address of an instance, see ListServiceInstances.
example:10.0.0.1
@NameInMap(value="Keyword") public String keyword
The keyword that you use to query the logs of the service.
example:key
@NameInMap(value="PageNum") public Long pageNum
The page number. Default value: 1.
example:1
@NameInMap(value="PageSize") public Long pageSize
The number of entries per page. Default value: 500.
example:500
@NameInMap(value="Previous") public Boolean previous
Specifies whether to query the logs that are generated before the instance last restarts. This parameter is available only if the instance restarts.
Valid values:
true
false
true
@NameInMap(value="StartTime") public String startTime
The beginning of the time range to query. The time must be in Coordinated Universal Time (UTC).
example:2006-01-02 15:04:05
public static DescribeServiceLogRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeServiceLogRequest setContainerName(String containerName)
public String getContainerName()
public DescribeServiceLogRequest setEndTime(String endTime)
public String getEndTime()
public DescribeServiceLogRequest setInstanceName(String instanceName)
public String getInstanceName()
public DescribeServiceLogRequest setIp(String ip)
public String getIp()
public DescribeServiceLogRequest setKeyword(String keyword)
public String getKeyword()
public DescribeServiceLogRequest setPageNum(Long pageNum)
public Long getPageNum()
public DescribeServiceLogRequest setPageSize(Long pageSize)
public Long getPageSize()
public DescribeServiceLogRequest setPrevious(Boolean previous)
public Boolean getPrevious()
public DescribeServiceLogRequest setStartTime(String startTime)
public String getStartTime()
Copyright © 2024. All rights reserved.