public class DescribeInstanceEventsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeInstanceEventsRequest() |
DescribeInstanceEventsRequest(DescribeInstanceEventsRequest 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[] |
getEventTypes()
Get Event type.
|
String |
getExecutionEndDate()
Get End date for querying the event execution plan, with a maximum query span of 30 days.
|
String |
getExecutionStartDate()
Get Start date for querying the event execution plan, with a maximum query span of 30 days.
|
String[] |
getGrades()
Get Configures the level of the queried event.
|
String |
getInstanceId()
Get Specifies the instance ID.
|
Long |
getPageNo()
Get Configures the page number for querying events.
|
Long |
getPageSize()
Get Number of events displayed per page.
|
String[] |
getStatus()
Get Current status of the event.- Waiting: The event is waiting for execution on the execution date or during the operations period.- Running: The event is being executed during the operations period.- Finished: Execution of the event is completed.- Canceled: Execution of the event is canceled.
|
void |
setEventTypes(String[] EventTypes)
Set Event type.
|
void |
setExecutionEndDate(String ExecutionEndDate)
Set End date for querying the event execution plan, with a maximum query span of 30 days.
|
void |
setExecutionStartDate(String ExecutionStartDate)
Set Start date for querying the event execution plan, with a maximum query span of 30 days.
|
void |
setGrades(String[] Grades)
Set Configures the level of the queried event.
|
void |
setInstanceId(String InstanceId)
Set Specifies the instance ID.
|
void |
setPageNo(Long PageNo)
Set Configures the page number for querying events.
|
void |
setPageSize(Long PageSize)
Set Number of events displayed per page.
|
void |
setStatus(String[] Status)
Set Current status of the event.- Waiting: The event is waiting for execution on the execution date or during the operations period.- Running: The event is being executed during the operations period.- Finished: Execution of the event is completed.- Canceled: Execution of the event is canceled.
|
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 DescribeInstanceEventsRequest()
public DescribeInstanceEventsRequest(DescribeInstanceEventsRequest source)
public String getExecutionStartDate()
public void setExecutionStartDate(String ExecutionStartDate)
ExecutionStartDate
- Start date for querying the event execution plan, with a maximum query span of 30 days.public String getExecutionEndDate()
public void setExecutionEndDate(String ExecutionEndDate)
ExecutionEndDate
- End date for querying the event execution plan, with a maximum query span of 30 days.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.public Long getPageSize()
public void setPageSize(Long PageSize)
PageSize
- Number of events displayed per page. Default value: 10. Maximum value: 100.public Long getPageNo()
public void setPageNo(Long PageNo)
PageNo
- Configures the page number for querying events. You can query events on a certain page by specifying PageNo and PageSize. Default value: 1.public String[] getStatus()
public void setStatus(String[] Status)
Status
- Current status of the event.- Waiting: The event is waiting for execution on the execution date or during the operations period.- Running: The event is being executed during the operations period.- Finished: Execution of the event is completed.- Canceled: Execution of the event is canceled.public String[] getEventTypes()
public void setEventTypes(String[] EventTypes)
EventTypes
- Event type. Currently, the type can only be related to instance migration, resource movement, and IDC deletion. This parameter can be set only to **InstanceMigration**.public String[] getGrades()
public void setGrades(String[] Grades)
Grades
- Configures the level of the queried event. Events are divided into Critical, High, Medium, and Low events according to the severity and urgency.- Critical- High- Medium- LowCopyright © 2025. All rights reserved.