public class ReportInstancesStatusRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
description
The description of the exception.
|
List<String> |
device
The device names of disks on an instance that have the exception.
|
List<String> |
diskId
The IDs of disks on an instance that have the exception.
|
String |
endTime
The end time of the instance exception.
|
List<String> |
instanceId
The IDs of instances.
|
String |
issueCategory
The category of the exception.
|
String |
ownerAccount |
Long |
ownerId |
String |
reason
The impact of the exception on the instance.
|
String |
regionId
The region ID of the instance.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
startTime
The start time of the instance exception.
|
构造器和说明 |
---|
ReportInstancesStatusRequest() |
@NameInMap(value="Description") public String description
The description of the exception.
This parameter is required.
example:The local disk is unavailable, the mount point is inaccessible, or files cannot be loaded.
@NameInMap(value="Device") public List<String> device
The device names of disks on an instance that have the exception. You can specify to 100 device names in a single request.
If you are using an ECS bare metal instance, enter the slot numbers of disks on the instance.
example:For ECS bare metal instances, this parameter is required when the value of the
Reason
parameter isabnormal-local-disk
orabnormal-cloud-disk
or when the value of theIssueCategory
parameter ishardware-disk-error
.
/dev/xvdb
@NameInMap(value="DiskId") public List<String> diskId
The IDs of disks on an instance that have the exception. You can specify up to 100 disk IDs in a single request. If you are using an ECS bare metal instance, enter the serial numbers of disks on the instance.
example:This parameter is required when the value of the
Reason
parameter isabnormal-local-disk
orabnormal-cloud-disk
or when the value of theIssueCategory
parameter ishardware-disk-error
.
d-bp1aeljlfad7x6u1****
@NameInMap(value="EndTime") public String endTime
The end time of the instance exception. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
example:2017-11-31T06:32:31Z
@NameInMap(value="InstanceId") public List<String> instanceId
The IDs of instances. You can specify up to 100 instance IDs in a single request.
This parameter is required.
example:i-bp165p6xk2tmdhj0****
@NameInMap(value="IssueCategory") public String issueCategory
The category of the exception. This parameter is applicable only to ECS bare metal instances. Valid values:
hardware-cpu-error
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Reason") public String reason
The impact of the exception on the instance. Valid values:
Reason
to others and specify the Description
parameter.abnormal-local-disk
@NameInMap(value="RegionId") public String regionId
The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="StartTime") public String startTime
The start time of the instance exception. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
example:2017-11-30T06:32:31Z
public static ReportInstancesStatusRequest build(Map<String,?> map) throws Exception
Exception
public ReportInstancesStatusRequest setDescription(String description)
public String getDescription()
public ReportInstancesStatusRequest setDevice(List<String> device)
public ReportInstancesStatusRequest setDiskId(List<String> diskId)
public ReportInstancesStatusRequest setEndTime(String endTime)
public String getEndTime()
public ReportInstancesStatusRequest setInstanceId(List<String> instanceId)
public ReportInstancesStatusRequest setIssueCategory(String issueCategory)
public String getIssueCategory()
public ReportInstancesStatusRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ReportInstancesStatusRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ReportInstancesStatusRequest setReason(String reason)
public String getReason()
public ReportInstancesStatusRequest setRegionId(String regionId)
public String getRegionId()
public ReportInstancesStatusRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ReportInstancesStatusRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ReportInstancesStatusRequest setStartTime(String startTime)
public String getStartTime()
Copyright © 2024. All rights reserved.