public class DescribeInstanceHistoryEventsRequest
extends com.aliyun.tea.TeaModel
构造器和说明 |
---|
DescribeInstanceHistoryEventsRequest() |
@NameInMap(value="EventPublishTime") public DescribeInstanceHistoryEventsRequest.DescribeInstanceHistoryEventsRequestEventPublishTime eventPublishTime
@NameInMap(value="NotBefore") public DescribeInstanceHistoryEventsRequest.DescribeInstanceHistoryEventsRequestNotBefore notBefore
@NameInMap(value="EventCycleStatus") public String eventCycleStatus
The lifecycle state of the system event. This parameter takes effect only when InstanceEventCycleStatus.N is not specified. Valid values:
Executed
@NameInMap(value="EventId") public List<String> eventId
The ID of system event N. Valid values of N: 1 to 100. You can repeat this parameter to pass multiple values.
example:e-uf64yvznlao4jl2c****
@NameInMap(value="EventType") public String eventType
The type of the system event. This parameter takes effect only when InstanceEventType.N is not specified. Valid values:
example:For more information, see Overview. The values of this parameter are applicable only to instance system events, but not to disk system events.
SystemMaintenance.Reboot
@NameInMap(value="ImpactLevel") public String impactLevel
example:This parameter is not publicly available.
null
@NameInMap(value="InstanceEventCycleStatus") public List<String> instanceEventCycleStatus
The lifecycle state of system event N. Valid values of N: 1 to 7. You can repeat this parameter to pass multiple values. Valid values:
Executed
@NameInMap(value="InstanceEventType") public List<String> instanceEventType
The type of system event N. Valid values of N: 1 to 30. You can repeat this parameter to pass multiple values. Valid values:
example:For more information, see Overview. The values of this parameter are applicable only to instance system events, but not to disk system events.
SystemMaintenance.Reboot
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance. If this parameter is not specified, the system events of all instances in the specified region are queried.
example:i-uf678mass4zvr9n1****
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Integer pageNumber
The page number. Pages start from page 1.
Default value: 1.
example:1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries per page. Valid values: 1 to 100.
Default value: 10.
example:10
@NameInMap(value="RegionId") public String regionId
The region ID of the resource. You can call DescribeRegions to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the resource belongs.
example:rg-bp67acfmxazb4p****
@NameInMap(value="ResourceId") public List<String> resourceId
The ID of resource N. Valid values of N: 1 to 100. You can repeat this parameter to pass multiple values. Valid values:
ResourceType
is set to instance, ResourceId.N specifies the ID of instance N.ResourceType
is set to ddh, ResourceId.N specifies the ID of dedicated host N.ResourceType
is set to managedhost, ResourceId.N specifies the ID of physical machine N from a smart hosting pool.If this parameter is not specified, the system events of all resources of the type specified by ResourceType
in the region specified by RegionId
are queried.
example:We recommend that you use
ResourceId.N
to specify one or more resource IDs. If you specify bothResourceId.N
andInstanceId
,ResourceId.N
takes precedence by default.
i-uf678mass4zvr9n1****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ResourceType") public String resourceType
The type of the resource. Valid values:
Default value: instance.
example:instance
@NameInMap(value="Tag") public List<DescribeInstanceHistoryEventsRequest.DescribeInstanceHistoryEventsRequestTag> tag
The list of tags.
public static DescribeInstanceHistoryEventsRequest build(Map<String,?> map) throws Exception
Exception
public DescribeInstanceHistoryEventsRequest setEventPublishTime(DescribeInstanceHistoryEventsRequest.DescribeInstanceHistoryEventsRequestEventPublishTime eventPublishTime)
public DescribeInstanceHistoryEventsRequest.DescribeInstanceHistoryEventsRequestEventPublishTime getEventPublishTime()
public DescribeInstanceHistoryEventsRequest setNotBefore(DescribeInstanceHistoryEventsRequest.DescribeInstanceHistoryEventsRequestNotBefore notBefore)
public DescribeInstanceHistoryEventsRequest.DescribeInstanceHistoryEventsRequestNotBefore getNotBefore()
public DescribeInstanceHistoryEventsRequest setEventCycleStatus(String eventCycleStatus)
public String getEventCycleStatus()
public DescribeInstanceHistoryEventsRequest setEventId(List<String> eventId)
public DescribeInstanceHistoryEventsRequest setEventType(String eventType)
public String getEventType()
public DescribeInstanceHistoryEventsRequest setImpactLevel(String impactLevel)
public String getImpactLevel()
public DescribeInstanceHistoryEventsRequest setInstanceEventCycleStatus(List<String> instanceEventCycleStatus)
public DescribeInstanceHistoryEventsRequest setInstanceEventType(List<String> instanceEventType)
public DescribeInstanceHistoryEventsRequest setInstanceId(String instanceId)
public String getInstanceId()
public DescribeInstanceHistoryEventsRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeInstanceHistoryEventsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeInstanceHistoryEventsRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeInstanceHistoryEventsRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeInstanceHistoryEventsRequest setRegionId(String regionId)
public String getRegionId()
public DescribeInstanceHistoryEventsRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeInstanceHistoryEventsRequest setResourceId(List<String> resourceId)
public DescribeInstanceHistoryEventsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeInstanceHistoryEventsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeInstanceHistoryEventsRequest setResourceType(String resourceType)
public String getResourceType()
public DescribeInstanceHistoryEventsRequest setTag(List<DescribeInstanceHistoryEventsRequest.DescribeInstanceHistoryEventsRequestTag> tag)
public List<DescribeInstanceHistoryEventsRequest.DescribeInstanceHistoryEventsRequestTag> getTag()
Copyright © 2024. All rights reserved.