public class DescribeResourcesModificationRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Integer |
cores
The number of vCPU cores of the instance type.
|
String |
destinationResource
The type of the resource.
|
String |
instanceType
The instance type.
|
Float |
memory
The memory size of the instance type.
|
Boolean |
migrateAcrossZone
Specifies whether to support cross-cluster instance type upgrades.
|
String |
operationType
The operation of changing resource configurations.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region.
|
String |
resourceId
The ID of the resource.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
zoneId
The ID of the zone to query.
|
构造器和说明 |
---|
DescribeResourcesModificationRequest() |
@NameInMap(value="Cores") public Integer cores
The number of vCPU cores of the instance type. For more information, see [Instance families](~~25378~~). This parameter is valid only when DestinationResource is set to InstanceType.
@NameInMap(value="DestinationResource") public String destinationResource
The type of the resource. Valid values:
* InstanceType
* SystemDisk
@NameInMap(value="InstanceType") public String instanceType
The instance type. For more information, see [Instance families](~~25378~~) or call the [DescribeInstanceTypes](~~25620~~) operation to query the most recent instance type list. This parameter is required when the DestinationResource parameter is set to SystemDisk.
@NameInMap(value="Memory") public Float memory
The memory size of the instance type. Unit: GiB. For more information, see [Instance families](~~25378~~). This parameter is valid only when DestinationResource is set to InstanceType.
@NameInMap(value="MigrateAcrossZone") public Boolean migrateAcrossZone
Specifies whether to support cross-cluster instance type upgrades. Valid values:
* true: supports cross-cluster instance type upgrades.
* false: does not support cross-cluster instance type upgrades.
Default value: false.
When the MigrateAcrossZone parameter is set to true and you upgrade the instance type of the Elastic Compute Service (ECS) instance based on returned information, take note of the following items:
* Instances that reside in the classic network:
* For [retired instance types](~~55263~~), when a non-I/O-optimized instance is upgraded to an I/O-optimized instance, the private IP address, disk device names, and software authorization codes of the instance change. For Linux instances, basic disks (cloud) are identified by the prefix xvd. Ultra disks (cloud_efficiency) and standard SSDs (cloud_ssd) are identified by the prefix vd.
* For [instance families available for purchase](~~25378~~), when the instance type of an instance is changed, the private IP address of the instance changes.
* Instances that reside in virtual private clouds (VPCs): For [retired instance types](~~55263~~), when a non-I/O-optimized instance is upgraded to an I/O-optimized instance, the disk device names and software authorization codes of the instance change. For Linux instances, basic disks (cloud) are identified by the prefix xvd. Ultra disks (cloud_efficiency) and standard SSDs (cloud_ssd) are identified by the prefix vd.
@NameInMap(value="OperationType") public String operationType
The operation of changing resource configurations.
* Valid values for subscription resources:
* Upgrade
* Downgrade
* RenewDowngrade
* RenewModify
* Valid values for pay-as-you-go resources: Upgrade
Default value: Upgrade.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceId") public String resourceId
The ID of the resource. For example, when DestinationResource is set to InstanceType, this parameter can be interpreted as InstanceId.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ZoneId") public String zoneId
The ID of the zone to query.
public static DescribeResourcesModificationRequest build(Map<String,?> map) throws Exception
Exception
public DescribeResourcesModificationRequest setCores(Integer cores)
public Integer getCores()
public DescribeResourcesModificationRequest setDestinationResource(String destinationResource)
public String getDestinationResource()
public DescribeResourcesModificationRequest setInstanceType(String instanceType)
public String getInstanceType()
public DescribeResourcesModificationRequest setMemory(Float memory)
public Float getMemory()
public DescribeResourcesModificationRequest setMigrateAcrossZone(Boolean migrateAcrossZone)
public Boolean getMigrateAcrossZone()
public DescribeResourcesModificationRequest setOperationType(String operationType)
public String getOperationType()
public DescribeResourcesModificationRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeResourcesModificationRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeResourcesModificationRequest setRegionId(String regionId)
public String getRegionId()
public DescribeResourcesModificationRequest setResourceId(String resourceId)
public String getResourceId()
public DescribeResourcesModificationRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeResourcesModificationRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeResourcesModificationRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2023. All rights reserved.