public class DescribeLogsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeLogsRequest() |
DescribeLogsRequest(DescribeLogsRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getContext()
Get 日志查询上下文,查询下一页的时候需要回传这个字段,该字段来自本接口的返回
|
String |
getEndTime()
Get 日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间
|
Filter[] |
getFilters()
Get 过滤条件
注意:
1.
|
Long |
getLimit()
Get 日志查询条数,默认值100,最大值100
|
String |
getOrder()
Get 排序方向(可选值为ASC, DESC ),默认为DESC
|
String |
getOrderField()
Get 按哪个字段排序(可选值为Timestamp),默认值为Timestamp
|
String |
getPodName()
Get Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:
- Service类型为TRAIN:
调用[DescribeTrainingTaskPods接口](/document/product/851/75088)查询训练任务pod列表,PodName为接口返回值中Response.PodNames
- Service类型为NOTEBOOK:
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName
- Service类型为INFER:
调用[DescribeModelService接口](/document/product/851/82287)查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos
- Service类型为BATCH:
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail.
|
String |
getService()
Get 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
枚举值:
- TRAIN
- NOTEBOOK
- INFER
- BATCH
|
String |
getServiceId()
Get 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:
- Service类型为TRAIN:
调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId
- Service类型为NOTEBOOK:
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName
- Service类型为INFER:
调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId
- Service类型为BATCH:
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
|
String |
getStartTime()
Get 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
|
void |
setContext(String Context)
Set 日志查询上下文,查询下一页的时候需要回传这个字段,该字段来自本接口的返回
|
void |
setEndTime(String EndTime)
Set 日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间
|
void |
setFilters(Filter[] Filters)
Set 过滤条件
注意:
1.
|
void |
setLimit(Long Limit)
Set 日志查询条数,默认值100,最大值100
|
void |
setOrder(String Order)
Set 排序方向(可选值为ASC, DESC ),默认为DESC
|
void |
setOrderField(String OrderField)
Set 按哪个字段排序(可选值为Timestamp),默认值为Timestamp
|
void |
setPodName(String PodName)
Set Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:
- Service类型为TRAIN:
调用[DescribeTrainingTaskPods接口](/document/product/851/75088)查询训练任务pod列表,PodName为接口返回值中Response.PodNames
- Service类型为NOTEBOOK:
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName
- Service类型为INFER:
调用[DescribeModelService接口](/document/product/851/82287)查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos
- Service类型为BATCH:
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail.
|
void |
setService(String Service)
Set 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
枚举值:
- TRAIN
- NOTEBOOK
- INFER
- BATCH
|
void |
setServiceId(String ServiceId)
Set 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:
- Service类型为TRAIN:
调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId
- Service类型为NOTEBOOK:
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName
- Service类型为INFER:
调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId
- Service类型为BATCH:
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
|
void |
setStartTime(String StartTime)
Set 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeLogsRequest()
public DescribeLogsRequest(DescribeLogsRequest source)
public String getService()
public void setService(String Service)
Service
- 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
枚举值:
- TRAIN
- NOTEBOOK
- INFER
- BATCHpublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- 日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间public Long getLimit()
public void setLimit(Long Limit)
Limit
- 日志查询条数,默认值100,最大值100public String getServiceId()
public void setServiceId(String ServiceId)
ServiceId
- 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:
- Service类型为TRAIN:
调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId
- Service类型为NOTEBOOK:
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName
- Service类型为INFER:
调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId
- Service类型为BATCH:
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceIdpublic String getPodName()
public void setPodName(String PodName)
PodName
- Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:
- Service类型为TRAIN:
调用[DescribeTrainingTaskPods接口](/document/product/851/75088)查询训练任务pod列表,PodName为接口返回值中Response.PodNames
- Service类型为NOTEBOOK:
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName
- Service类型为INFER:
调用[DescribeModelService接口](/document/product/851/82287)查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos
- Service类型为BATCH:
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail. PodList
注:支持结尾通配符*public String getOrder()
public void setOrder(String Order)
Order
- 排序方向(可选值为ASC, DESC ),默认为DESCpublic String getOrderField()
public void setOrderField(String OrderField)
OrderField
- 按哪个字段排序(可选值为Timestamp),默认值为Timestamppublic String getContext()
public void setContext(String Context)
Context
- 日志查询上下文,查询下一页的时候需要回传这个字段,该字段来自本接口的返回public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- 过滤条件
注意:
1. Filter.Name:目前只支持Key(也就是按关键字过滤日志)
2. Filter.Values:表示过滤日志的关键字;Values为多个的时候表示同时满足
3. Filter. Negative和Filter. Fuzzy没有使用Copyright © 2024. All rights reserved.