public class DescribeEventsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeEventsRequest() |
DescribeEventsRequest(DescribeEventsRequest 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 |
getEndTime()
Get 查询事件最晚发生的时间(RFC3339格式的时间字符串),默认值为当前时间
|
Filter[] |
getFilters()
Get 过滤条件
注意:
1.
|
Long |
getLimit()
Get 分页Limit,默认值为100,最大值为100
|
Long |
getOffset()
Get 分页Offset,默认值为0
|
String |
getOrder()
Get 排列顺序(可选值为ASC, DESC ),默认为DESC
|
String |
getOrderField()
Get 排序的依据字段(可选值为FirstTimestamp, LastTimestamp),默认值为LastTimestamp
|
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 |
setEndTime(String EndTime)
Set 查询事件最晚发生的时间(RFC3339格式的时间字符串),默认值为当前时间
|
void |
setFilters(Filter[] Filters)
Set 过滤条件
注意:
1.
|
void |
setLimit(Long Limit)
Set 分页Limit,默认值为100,最大值为100
|
void |
setOffset(Long Offset)
Set 分页Offset,默认值为0
|
void |
setOrder(String Order)
Set 排列顺序(可选值为ASC, DESC ),默认为DESC
|
void |
setOrderField(String OrderField)
Set 排序的依据字段(可选值为FirstTimestamp, LastTimestamp),默认值为LastTimestamp
|
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 DescribeEventsRequest()
public DescribeEventsRequest(DescribeEventsRequest source)
public String getService()
public void setService(String Service)
Service
- 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
枚举值:
- TRAIN
- NOTEBOOK
- INFER
- BATCHpublic 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 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
- 分页Limit,默认值为100,最大值为100public Long getOffset()
public void setOffset(Long Offset)
Offset
- 分页Offset,默认值为0public String getOrder()
public void setOrder(String Order)
Order
- 排列顺序(可选值为ASC, DESC ),默认为DESCpublic String getOrderField()
public void setOrderField(String OrderField)
OrderField
- 排序的依据字段(可选值为FirstTimestamp, LastTimestamp),默认值为LastTimestamppublic Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- 过滤条件
注意:
1. Filter.Name:目前支持ResourceKind(按事件关联的资源类型过滤);Type(按事件类型过滤)
2. Filter.Values:
对于Name为ResourceKind,Values的可选取值为Deployment, Replicaset, Pod等K8S资源类型;
对于Name为Type,Values的可选取值仅为Normal或者Warning;
Values为多个的时候表示同时满足
3. Filter. Negative和Filter. Fuzzy没有使用Copyright © 2024. All rights reserved.