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 is valid only when the InstanceEventCycleStatus.N parameter is not specified. Valid values:
* Scheduled
* Avoided
* Executing
* Executed
* Canceled
* Failed
* Inquiring
@NameInMap(value="EventId") public List<String> eventId
The ID of system event N. Valid values of N: 1 to 100. Specify multiple event IDs in the repeated list form.
@NameInMap(value="EventType") public String eventType
The type of the system event. This parameter is valid only when the InstanceEventType.N parameter is not specified. Valid values:
* SystemMaintenance.Reboot: The instance is restarted due to system maintenance.
* SystemMaintenance.Redeploy: The instance is redeployed due to system maintenance.
* SystemFailure.Reboot: The instance is restarted due to a system failure.
* SystemFailure.Redeploy: The instance is redeployed due to a system failure.
* SystemFailure.Delete: The instance is released due to an instance creation failure.
* InstanceFailure.Reboot: The instance is restarted due to an instance failure.
* InstanceExpiration.Stop: The instance is stopped due to subscription expiration.
* InstanceExpiration.Delete: The instance is released due to subscription expiration.
* AccountUnbalanced.Stop: The pay-as-you-go instance is stopped due to an overdue payment.
* AccountUnbalanced.Delete: The pay-as-you-go instance is released due to an overdue payment.
> For more information, see [Overview](~~66574~~). The values of this parameter are applicable only to instance system events, but not to disk system events.
@NameInMap(value="ImpactLevel") public String impactLevel
> This parameter is unavailable.
@NameInMap(value="InstanceEventCycleStatus") public List<String> instanceEventCycleStatus
The lifecycle state of system event N. Valid values of N: 1 to 7. Specify multiple states in the repeated list form. Valid values:
* Scheduled
* Avoided
* Executing
* Executed
* Canceled
* Failed
* Inquiring
@NameInMap(value="InstanceEventType") public List<String> instanceEventType
The type of system event N. Valid values of N: 1 to 30. Specify multiple types in the repeated list form. Valid values:
* SystemMaintenance.Reboot: The instance is restarted due to system maintenance.
* SystemMaintenance.Redeploy: The instance is redeployed due to system maintenance.
* SystemFailure.Reboot: The instance is restarted due to a system failure.
* SystemFailure.Redeploy: The instance is redeployed due to a system failure.
* SystemFailure.Delete: The instance is released due to an instance creation failure.
* InstanceFailure.Reboot: The instance is restarted due to an instance failure.
* InstanceExpiration.Stop: The instance is stopped due to subscription expiration.
* InstanceExpiration.Delete: The instance is released due to subscription expiration.
* AccountUnbalanced.Stop: The pay-as-you-go instance is stopped due to an overdue payment.
* AccountUnbalanced.Delete: The pay-as-you-go instance is released due to an overdue payment.
> For more information, see [Overview](~~66574~~). The values of this parameter are applicable only to instance system events, but not to disk system events.
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance. If this parameter is not specified, the system events of all instances within the specified region are queried.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Integer pageNumber
The number of the page to return. The value must be a positive integer.
Default value: 1.
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page. Valid values: 1 to 100.
Default value: 10.
@NameInMap(value="RegionId") public String regionId
The region ID of the resource. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the resource belongs.
@NameInMap(value="ResourceId") public List<String> resourceId
The ID of resource N. Valid values of N: 1 to 100. Specify multiple resource IDs in the repeated list form. Valid values:
* When the `ResourceType` parameter is set to instance, the ResourceId.N parameter specifies the ID of instance N.
* When the `ResourceType` parameter is set to ddh, the ResourceId.N parameter specifies the ID of dedicated host N.
* When the `ResourceType` parameter is set to managedhost, the ResourceId.N parameter specifies the ID of physical machine N in a smart hosting pool.
If this parameter is not specified, the system events of all resources of the resource type specified by `ResourceType` within the region specified by `RegionId` are queried.
> We recommend that you use the `ResourceId.N` parameter to specify one or more resource IDs. If you specify both the ` ResourceId.N `and `InstanceId` parameters, the `ResourceId.N` parameter takes precedence by default.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ResourceType") public String resourceType
The type of resource. Valid values:
* instance: Elastic Compute Service (ECS) instance
* ddh: dedicated host
* managehost: physical machine in a smart hosting pool
Default value: instance.
@NameInMap(value="Tag") public List<DescribeInstanceHistoryEventsRequest.DescribeInstanceHistoryEventsRequestTag> tag
The tags that are supported by system events.
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 © 2023. All rights reserved.