# Data Types

## CapacityValue

Describing inventory capacity information.

Referenced by：DescribeVmInventoryCapacity

| Value      | Description                                                        |
| ---------- | ------------------------------------------------------------------ |
| LIMITED    | Limited inventory, with available vCPU cores < 1000.               |
| STANDARD   | Normal inventory, with available vCPU cores from 1000 to 2000.     |
| SUFFICIENT | Sufficient inventory, with available vCPU cores from 2000 to 5000. |
| ABUNDANT   | Abundant inventory, with available vCPU cores ≥ 5000.              |

## ChargePostpaid

Postpaid mode, parameter settings related to pay-as-you-go.

Referenced by：CreateInstances, InquiryPriceCreateInstance

| Parameter Name | Type    | Required | Description                                                                                      |
| -------------- | ------- | -------- | ------------------------------------------------------------------------------------------------ |
| period         | Integer | Yes      | <p>Postpaid duration.</p><p>Unit: Month.</p><p>Value range: \[1.0, +)</p><p>Default value: 0</p> |

## ChargePrepaid

Details of the monthly subscription, including the purchase period, auto-renewal, etc.

Referenced by：InquiryPriceCreateDisks, CreateDisks, CreateInstances, InquiryPriceCreateInstance

| Parameter Name | Type    | Required | Description                                                                  |
| -------------- | ------- | -------- | ---------------------------------------------------------------------------- |
| period         | Integer | Yes      | <p>Period of subscription.</p><p>Unit: month.</p><p>Value range: \[1, +)</p> |

## ChargeType

Pricing model.

Referenced by：InquiryPriceCreateDisks, CreateDisks, CreateInstances, DescribeInstances, DescribeZoneInstanceConfigInfos, DescribeDiskCategory, InquiryPriceCreateInstance, DescribeDisks

| Value    | Description    |
| -------- | -------------- |
| PREPAID  | Subscription.  |
| POSTPAID | Pay-as-you-go. |

## DataDisk

Information on data disk.

Referenced by：CreateInstances, DescribeInstances, InquiryPriceCreateInstance

| Parameter Name | Type                    | Required | Description                                                                                                                                                                                                                                                                                                                                                                                |
| -------------- | ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| diskSize       | Integer                 | Yes      | <p>Size of data disk.</p><p>Unit: GiB.</p><p>Value range: \[1, +)</p>                                                                                                                                                                                                                                                                                                                      |
| diskId         | String                  | No       | <p>Data disk ID.</p><p>This is an output parameter returned in the data query APIs like DescribeInstances. Can't be used as an input parameter in data writer interfaces like</p><p>CreateInstances.</p>                                                                                                                                                                                   |
| diskName       | String                  | No       | <p>Data disk name.</p><p>This is an output parameter returned in the data query APIs like DescribeInstances.</p>                                                                                                                                                                                                                                                                           |
| diskAmount     | Integer                 | No       | <p>Quantity of data disks.</p><p>This parameter is used only as the input parameter in interfaces such as CreateInstances and InquiryPriceCreateInstance.</p><p>Value range: \[1, +)</p><p>Default value: 1</p>                                                                                                                                                                            |
| portable       | Boolean                 | No       | <p>Whether the data disk is detachable or not.</p><p>This parameter is only used to query the output parameter, while not the input parameter.</p><p>true: the data disk is detachable, and thus will not be deleted while deleting its attached instance.</p><p>false: the data disk is undetachable, and thus will be deleted at the same time while deleting its attached instance.</p> |
| diskCategory   | String                  | No       | <p>Disk type.STANDARD: Standard DiskSSD: Solid State DriveThe default value is STANDARD.</p><p>Default value: SSD</p>                                                                                                                                                                                                                                                                      |
| diskPrice      | [PriceItem](#priceitem) | No       | <p>Price of data disks.</p><p>This parameter is used only as the output parameter in interfaces such as</p><p>InquiryPriceCreateInstance.</p>                                                                                                                                                                                                                                              |

## DescribeInstanceCpuMonitorData

Information about CPU monitor data

Referenced by：DescribeInstanceCpuMonitor

| Parameter Name | Type   | Description                             |
| -------------- | ------ | --------------------------------------- |
| cpu            | String | <p>CPU utilization.</p><p>Unit: % .</p> |
| time           | String | Data time                               |

## DiskCategory

Information on disk type.

Referenced by：DescribeDiskCategory

| Parameter Name | Type            | Description          |
| -------------- | --------------- | -------------------- |
| zoneId         | String          | Zone ID.             |
| categorySet    | Array of String | Available disk type. |

## DiskInfo

Information on disks, including size, type and etc. of both system disks and data disks.

Referenced by：DescribeDisks

| Parameter Name | Type                      | Description                                                                                                     |
| -------------- | ------------------------- | --------------------------------------------------------------------------------------------------------------- |
| diskId         | String                    | Disk ID.                                                                                                        |
| diskName       | String                    | Disk name.                                                                                                      |
| zoneId         | String                    | Zone ID to which the disks belong.                                                                              |
| diskType       | [DiskType](#disktype)     | Disk type.SYSTEM: System Disk;DATA: Data Disk.                                                                  |
| portable       | Boolean                   | <p>Whether the disk is detachable or not.</p><p>Default value: false</p>                                        |
| diskCategory   | String                    | Disk category.cloud efficiency: Ultra Disk.                                                                     |
| diskSize       | Integer                   | Disk size. Unit: GB.                                                                                            |
| diskStatus     | [DiskStatus](#diskstatus) | <p>Disk status.</p><p>See DiskStatus for more details.</p>                                                      |
| instanceId     | String                    | Attached instance ID.                                                                                           |
| instanceName   | String                    | Attached instance name.                                                                                         |
| chargeType     | [ChargeType](#chargetype) | <p>Disk pricing model.</p><p>PREPAID: monthly subscription.</p><p>POSTPAID: pay-as-you-go.</p>                  |
| createTime     | String                    | <p>Creation time.</p><p>Format: YYYY-MM-DDThh:mm:ssZ.</p>                                                       |
| expiredTime    | String                    | <p>Expiration time.</p><p>Format: YYYY-MM-DDThh:mm:ssZ.</p>                                                     |
| period         | Integer                   | <p>Subscription term.</p><p>Unit: Month.</p><p>The value is empty for POSTPAID pricing model.</p>               |
| autoRenew      | Boolean                   | Whether to enable auto-renewal.For subscription instances, if you cancel subscription, the field returns false. |
| tags           | [Tags](#tags)             | Tags bound to resources.                                                                                        |

## DiskStatus

Information on disk status.

Referenced by：DescribeDisks

| Value     | Description               |
| --------- | ------------------------- |
| CREATING  | Creating.                 |
| IN\_USE   | In use.                   |
| AVAILABLE | Available to be attached. |
| CHANGING  | Changing                  |
| ATTACHING | Attaching.                |
| DETACHING | Detaching.                |
| DELETING  | Releasing.                |
| RECYCLED  | Recycled.                 |
| RECYCLING | Recycling.                |

## DiskType

Describe the value of cloud disk type.

Referenced by：DescribeDisks

| Value  | Description  |
| ------ | ------------ |
| SYSTEM | System Disk. |
| DATA   | Data Disk.   |

## DiskWithInstance

Information on data disks created along with the instance.

Referenced by：CreateInstances

| Parameter Name | Type            | Description                                   |
| -------------- | --------------- | --------------------------------------------- |
| instanceId     | String          | Instance ID.                                  |
| diskIdSet      | Array of String | Data disk ID created along with the instance. |

## ImageCategory

Image Type.

Referenced by：DescribeImages

| Value         | Description    |
| ------------- | -------------- |
| Windows       | Windows        |
| Ubuntu        | Ubuntu         |
| CentOS        | CentOS         |
| Debian        | Debian         |
| ARCH\_LINUX   | Arch Linux     |
| COREOS        | CoreOS         |
| FEDORA        | Fedora         |
| FreeBSD       | FreeBSD        |
| KYLIN         | Kylin          |
| ORACLE\_LINUX | ‌Oracle Linux‌ |
| REDHAT        | Red Hat        |
| SUSE          | SUSE           |
| TencentOS     | TencentOS      |
| OTHERS        | Others         |

## ImageInfo

Information on images.

Referenced by：DescribeImages

| Parameter Name   | Type                        | Description                                                                                     |
| ---------------- | --------------------------- | ----------------------------------------------------------------------------------------------- |
| imageId          | String                      | Image ID.                                                                                       |
| imageName        | String                      | Image name.                                                                                     |
| imageType        | String                      | Image type.PUBLIC IMAGE: the default images.CUSTOM IMAGE: the newly created images by yourself. |
| imageSize        | String                      | Image size.Unit: GB.                                                                            |
| imageDescription | String                      | Image description.                                                                              |
| imageVersion     | String                      | Image version.                                                                                  |
| imageStatus      | [ImageStatus](#imagestatus) | Image status.CREATING: creating.AVAILABLE: able to use.UNAVAILABLE: unable to use.              |
| category         | String                      | <p>Image category.</p><p>Available values:CentOSWindowsUbuntuDebian</p>                         |
| osType           | String                      | <p>Operating system type.</p><p>Available values:WindowsLinux</p>                               |

## ImageQuotaInfo

Quotas of images.

Referenced by：DescribeImageQuota

| Parameter Name | Type    | Description                                 |
| -------------- | ------- | ------------------------------------------- |
| zoneId         | String  | Zone supported for images.                  |
| count          | Integer | Quantity of current images.                 |
| maxCount       | Integer | Maximum quantity of images in current zone. |

## ImageSourceType

The image source.

Referenced by：DescribeImages

| Value         | Description   |
| ------------- | ------------- |
| PUBLIC\_IMAGE | System image. |
| CUSTOM\_IMAGE | Custom image. |

## ImageStatus

Values of image states.

Referenced by：DescribeImages

| Value       | Description               |
| ----------- | ------------------------- |
| CREATING    | Creating.                 |
| AVAILABLE   | Image creation succeeded. |
| UNAVAILABLE | Not available.            |

## ImageType

Information about image type.

Referenced by：DescribeImages

| Value   | Description |
| ------- | ----------- |
| linux   | Linux       |
| windows | Windows     |

## InstanceAvailableSecurityGroup

Available security groups for instances.

Referenced by：DescribeInstanceAvailableSecurityGroupResources

| Parameter Name    | Type    | Description                                   |
| ----------------- | ------- | --------------------------------------------- |
| securityGroupId   | String  | Security group ID.                            |
| securityGroupName | String  | Security group name.                          |
| isDefault         | Boolean | Whether the security group is default or not. |

## InstanceInfo

Information on instances.

Referenced by：DescribeInstances

| Parameter Name          | Type                                        | Description                                                                                                                                                                                     |
| ----------------------- | ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| instanceId              | String                                      | Instance ID.                                                                                                                                                                                    |
| zoneId                  | String                                      | Zone ID to which the instances belong.                                                                                                                                                          |
| instanceName            | String                                      | Instance name to be displayed.                                                                                                                                                                  |
| instanceType            | String                                      | Instance model ID.                                                                                                                                                                              |
| cpuCount                | Integer                                     | <p>Quantity of CPU cores.</p><p>Unit: cores.</p>                                                                                                                                                |
| memory                  | Integer                                     | <p>Memory size.</p><p>Unit: GiB.</p>                                                                                                                                                            |
| imageId                 | String                                      | Image ID.                                                                                                                                                                                       |
| imageName               | String                                      | Image name.                                                                                                                                                                                     |
| instanceChargeType      | [ChargeType](#chargetype)                   | <p>Instance pricing model.</p><p>PREPAID: monthly subscription.</p><p>POSTPAID: pay-as-you-go.</p>                                                                                              |
| internetMaxBandwidthOut | Integer                                     | <p>Public outbound bandwidth.</p><p>Unit: Mbps.</p><p>Value 0 means no limit, but not exceeds the upper limit of the instance model supported.</p>                                              |
| internetChargeType      | [InternetChargeType](#internetchargetype)   | <p>Network pricing model.</p><p>See InternetChargeType for details.</p>                                                                                                                         |
| period                  | Integer                                     | <p>Period of instance subscription.</p><p>Unit: month.</p><p>For postpaid instances, the value is empty.</p>                                                                                    |
| publicIpAddresses       | Array of String                             | <p>List of public IPv4 addresses.</p><p>If the instance primary IP is not added to the public network interface, the primary IP will not be available., and its value will not be returned.</p> |
| publicIpv6Addresses     | Array of String                             | List of public IPv6 addresses.                                                                                                                                                                  |
| privateIpAddresses      | Array of String                             | List of private IP addresses.                                                                                                                                                                   |
| subnetId                | String                                      | Subnet ID to which the instances belong..                                                                                                                                                       |
| createTime              | String                                      | <p>Creation time.</p><p>Use UTC time according to the ISO8601 standard. Format: YYYY-MM-DDThh:mm:ssZ.</p>                                                                                       |
| expiredTime             | String                                      | <p>Expiration time.</p><p>Use UTC time according to the ISO8601 standard. Format: YYYY-MM-DDThh:mm:ssZ.</p>                                                                                     |
| resourceGroupId         | String                                      | Resource group ID to which instances belong.                                                                                                                                                    |
| resourceGroupName       | String                                      | Resource group name to which instances belong.                                                                                                                                                  |
| instanceStatus          | [InstanceStatusValue](#instancestatusvalue) | <p>Status of instances.</p><p>See InstanceStatus for details.</p>                                                                                                                               |
| trafficPackageSize      | Float                                       | <p>Traffic package size purchased.</p><p>Unit: TB.</p>                                                                                                                                          |
| securityGroupIds        | Array of String                             | ID List of security groups to which the instances are added.                                                                                                                                    |
| systemDisk              | [SystemDisk](#systemdisk)                   | Information of system disk.                                                                                                                                                                     |
| dataDisks               | Array of [DataDisk](#datadisk)              | Information of data disk.                                                                                                                                                                       |
| autoRenew               | Boolean                                     | <p>Whether to enable auto-renewal.</p><p>For subscription instances, if you cancel subscription, the field returns false.</p>                                                                   |
| keyId                   | String                                      | <p>SSH key pair ID.</p><p>The value may be null, indicating that there is no valid value.</p>                                                                                                   |
| nic                     | [Nic](#nic)                                 | NIC configuration.                                                                                                                                                                              |
| tags                    | [Tags](#tags)                               | Tags bound to resources.                                                                                                                                                                        |

## InstancePlanStatus

Describe the status of the instance plan change.

Referenced by：DescribeInstanceTypeStatus

| Value        | Description                                  |
| ------------ | -------------------------------------------- |
| Processing   | Processing.                                  |
| WaitToEnable | Waiting for the plan changes to take effect. |
| Disable      | Disabled.                                    |

## InstanceStatus

Status of instances. See [InstanceStatusValue](#instancestatusvalue) for more detailed information.

Referenced by：DescribeInstancesStatus

| Parameter Name | Type                                        | Description      |
| -------------- | ------------------------------------------- | ---------------- |
| instanceId     | String                                      | Instance ID.     |
| instanceStatus | [InstanceStatusValue](#instancestatusvalue) | Instance status. |

## InstanceStatusValue

Status of instances.

Referenced by：DescribeInstancesStatus, DescribeInstances

| Value          | Description      |
| -------------- | ---------------- |
| PENDING        | Pending          |
| DEPLOYING      | Deploying        |
| REBUILDING     | Rebuilding.      |
| REBOOT         | Rebooting.       |
| RUNNING        | Running.         |
| STOPPED        | Powered off.     |
| BOOTING        | Powered on.      |
| RELEASING      | Releasing.       |
| STOPPING       | Powering off.    |
| RECYCLE        | Recycled.        |
| RECYCLING      | Recycling.       |
| CREATE\_FAILED | Creating failed. |
| IMAGING        | Image creating.  |

## InstanceTrafficData

Instance bandwidth data.

Referenced by：DescribeInstanceTraffic

| Parameter Name | Type    | Description                                           |
| -------------- | ------- | ----------------------------------------------------- |
| internetRX     | Integer | Inbound bandwidth. Unit: bps.                         |
| internetTX     | Integer | Outbound bandwidth. Unit: bps.                        |
| time           | String  | <p>Data time.</p><p>Format: YYYY-MM-DDThh:mm:ssZ.</p> |

## InstanceTypeQuotaItem

Quotas of instance models.

Referenced by：DescribeZoneInstanceConfigInfos

| Parameter Name               | Type                                               | Description                                                                                         |
| ---------------------------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| zoneId                       | String                                             | Zone ID.                                                                                            |
| instanceType                 | String                                             | Instance model.                                                                                     |
| instanceTypeName             | String                                             | Instance model name.                                                                                |
| cpuCount                     | Integer                                            | <p>Quantity of CPU cores.</p><p>Unit: cores.</p>                                                    |
| memory                       | Integer                                            | <p>Memory size.</p><p>Unit: GiB.</p>                                                                |
| internetMaxBandwidthOutLimit | Integer                                            | <p>Outbound bandwidth cap.</p><p>Value -1 means speed limit is not supported.</p><p>Unit: Mbps.</p> |
| frequency                    | String                                             | CPU frequency.                                                                                      |
| internetChargeTypes          | Array of [InternetChargeType](#internetchargetype) | <p>Network billing model. See</p><p>InternetChargeType for more details.</p>                        |

## InternetChargeType

Network pricing model.

Referenced by：CreateInstances, DescribeInstances, DescribeZoneInstanceConfigInfos, InquiryPriceCreateInstance

| Value                | Description                                                                                                                             |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| ByBandwidth          | Billed by the flat rate bandwidth.                                                                                                      |
| ByTrafficPackage     | Billed by the traffic package size purchased.                                                                                           |
| ByClusterBandwidth95 | Billed by the burstable 95th bandwidth of instances in a city-based bandwidth cluster                                                   |
| BandwidthCluster     | Billed by the burstable 95th bandwidth of all compute resources in a city-based or regional bandwidth cluster with a shared commitment. |

## MarketingInfo

Information on marketing campaigns.

Referenced by：CreateDisks, CreateInstances

| Parameter Name | Type    | Required | Description                                                                                        |
| -------------- | ------- | -------- | -------------------------------------------------------------------------------------------------- |
| discountCode   | String  | No       | <p>Promo Code.</p><p>If no Promo Code exists, the final discount will not apply.</p>               |
| usePocVoucher  | Boolean | No       | <p>Whether to use POC voucher.</p><p>If no POC voucher exists, the related creation will fail.</p> |

## NetworkLineType

Network line information.

Referenced by：DescribeZones

| Value  | Description                                          |
| ------ | ---------------------------------------------------- |
| BGP    | Premium BGP for optimized network performance.       |
| CN2    | China Telecom Next Carrier Network.                  |
| Cogent | Standard BGP for general use with cost optimization. |

## NetworkMode

Describe the values of the network card mode.

Referenced by：CreateInstances

| Value  | Description      |
| ------ | ---------------- |
| Virtio | Virtio-net mode. |
| Vf     | VFIO mode.       |

## Nic

NIC configuration, including public and private NIC names settings.

Referenced by：CreateInstances, DescribeInstances

| Parameter Name | Type   | Required | Description                                                                                                                                                                                  |
| -------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| wanName        | String | No       | <p>Public NIC name.</p><p>Only numbers and lowercase letters are allowed, starting with a letter with a length limit of 4 to 15 characters.</p><p>The default public NIC name is eth0.</p>   |
| lanName        | String | No       | <p>Private NIC name.</p><p>Only numbers and lowercase letters are allowed, starting with a letter with a length limit of 4 to 15 characters.</p><p>The default private NIC name is eth1.</p> |

## PriceCategory

Information on the pricing category.

Referenced by：InquiryPriceCreateInstance

| Value      | Description     |
| ---------- | --------------- |
| STANDARD   | Standard price. |
| CUSTOMIZED | Fixed price.    |

## PriceItem

Information on the price.

Referenced by：InquiryPriceInstanceTrafficPackage, InquiryPriceInstanceBandwidth, InquiryPriceCreateDisks, InquiryPriceCreateInstance

| Parameter Name          | Type                             | Required | Description                                                                                                                                                                                                                                                           |
| ----------------------- | -------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| discount                | Float                            | No       | <p>Discount.</p><p>For example, 80.0 means 20% off.</p>                                                                                                                                                                                                               |
| discountPrice           | Float                            | No       | <p>Discount price of postpaid resources.</p><p>Only used in pay-as-you-go model. For tiered billing, the value is empty.</p>                                                                                                                                          |
| originalPrice           | Float                            | No       | <p>Original price of prepaid resources.</p><p>Only used in subscription model. For pay-as-you-go model, the value is empty.</p>                                                                                                                                       |
| unitPrice               | Float                            | No       | <p>Original unit price of postpaid resources.</p><p>Only used in pay-as-you-go model. For tiered billing, the value is empty.</p>                                                                                                                                     |
| discountUnitPrice       | Float                            | No       | <p>Discount unit price of postpaid resources.</p><p>Only used in pay-as-you-go model. For tiered billing, the value is empty.</p>                                                                                                                                     |
| chargeUnit              | String                           | No       | <p>Unit of postpaid billing.</p><p>Only used in pay-as-you-go model.</p><p>Value range:</p><p>HOUR : you will be billed by hour.</p><p>DAY : you will be billed by day.</p><p>MONTH : you will be billed by month. For example, the burstable 95th pricing model.</p> |
| stepPrices              | Array of [StepPrice](#stepprice) | No       | <p>Tiered price of postpaid billing.</p><p>Only used in pay-as-you-go model. If it is not tiered price, the value is empty.</p>                                                                                                                                       |
| amountUnit              | String                           | No       | <p>Unit of overage usage.</p><p>If the value is empty, it means there is no unit.</p>                                                                                                                                                                                 |
| excessUnitPrice         | Float                            | No       | Original unit price of overages.                                                                                                                                                                                                                                      |
| excessDiscountUnitPrice | Float                            | No       | Discount unit price of overages.                                                                                                                                                                                                                                      |
| excessAmountUnit        | String                           | No       | <p>Unit of overage usage.</p><p>If the value is empty, it means there is no unit.</p>                                                                                                                                                                                 |
| category                | [PriceCategory](#pricecategory)  | No       | Information on the price.                                                                                                                                                                                                                                             |

## RuleInfo

Information on security group rules, including inbound/outbound rules, port range, IP protocol, etc.

Referenced by：CreateSecurityGroup, RevokeSecurityGroupRules, AuthorizeSecurityGroupRules, DescribeSecurityGroups, ConfigureSecurityGroupRules

| Parameter Name | Type    | Required | Description                                                                                                                                                                                                                                                                                |
| -------------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| direction      | String  | Yes      | <p>Traffic directions.</p><p>ingress: inbound rules.</p><p>egress: outbound rules.</p>                                                                                                                                                                                                     |
| ipProtocol     | String  | Yes      | <p>Transport protocol. The value is case sensitive.</p><p>Available value:tcp: TCP protocol.udp: UDP protocol.icmp: ICMP protocol.all: all protocols supported.</p>                                                                                                                        |
| portRange      | String  | Yes      | <p>Destination port range.</p><p>Available values:For TCP and UDP protocols: The value ranges from 1 to 65535. Use a slash (/) to separate the start port number and the end port number. Examples: 1/200; incorrect example: 200/1.For ICMP protocol: -1/-1.For all protocols: -1/-1.</p> |
| cidrIp         | String  | Yes      | <p>Source IP address range.</p><p>Default value: 0.0.XX.XX/0.</p>                                                                                                                                                                                                                          |
| policy         | String  | No       | <p>Access strategy.</p><p>Available values:</p><p>accept: allows access by default.</p><p>Only accept strategy is supported for now.</p><p>Default value: accept</p>                                                                                                                       |
| priority       | Integer | No       | <p>Rule priority.</p><p>Default value: 1</p>                                                                                                                                                                                                                                               |
| description    | String  | No       | Rule description.                                                                                                                                                                                                                                                                          |

## SecurityGroupInfo

Information on security group, including security group creation.

Referenced by：DescribeSecurityGroups

| Parameter Name      | Type                           | Description                                               |
| ------------------- | ------------------------------ | --------------------------------------------------------- |
| securityGroupId     | String                         | Security group ID.                                        |
| securityGroupName   | String                         | Security group name.                                      |
| securityGroupStatus | String                         | [Status of security group](#securitygroupstatus).         |
| createTime          | String                         | <p>Creation time.</p><p>Format: YYYY-MM-DDThh:mm:ssZ.</p> |
| description         | String                         | Security group description.                               |
| instanceIds         | Array of String                | ID list of applied instances.                             |
| ruleInfos           | Array of [RuleInfo](#ruleinfo) | Security group rules.                                     |
| isDefault           | Boolean                        | Whether the security group is default or not.             |

## StepPrice

Tiered price of postpaid billing. Describe a tier of the price.

Referenced by：InquiryPriceCreateInstance

| Parameter Name    | Type  | Required | Description                                                                                |
| ----------------- | ----- | -------- | ------------------------------------------------------------------------------------------ |
| stepStart         | Float | No       | First price range of a tiered price.                                                       |
| stepEnd           | Float | No       | Last price range of a tiered price.                                                        |
| unitPrice         | Float | No       | <p>Original unit price of current price range.</p><p>Only used in pay-as-you-go model.</p> |
| discountUnitPrice | Float | No       | <p>Discount unit price of current price range.</p><p>Only used in pay-as-you-go model.</p> |

## SubnetInfo

Information on subnet of private network, including subnet name, CIDR block, instance ID, etc.

Referenced by：DescribeSubnets

| Parameter Name    | Type            | Description                                      |
| ----------------- | --------------- | ------------------------------------------------ |
| subnetId          | String          | Subnet ID.                                       |
| zoneId            | String          | Zone ID of subnet.                               |
| subnetName        | String          | Subnet name.                                     |
| subnetStatus      | String          | Subnet status.See SubnetStatus for more details. |
| cidrBlockList     | Array of String | ID list of subnet CIDR block.                    |
| usageIpCount      | Integer         | Quantity of used IP addresses in subnet.         |
| totalIpCount      | Integer         | Quantity of total IP addresses in subnet.        |
| createTime        | String          | Creation time.                                   |
| instanceIdList    | Array of String | ID list of instances under a subnet.             |
| subnetDescription | String          | Subnet description.                              |
| cidrBlock         | String          | Subnet CIDR block.                               |
| isDefault         | Boolean         | Whether the subnet is default or not.            |

## SystemDisk

Information on system disk that stores operating system.

Referenced by：CreateInstances, DescribeInstances, InquiryPriceCreateInstance

| Parameter Name | Type    | Required | Description                                                                                                                                                                                         |
| -------------- | ------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| diskSize       | Integer | Yes      | <p>Size of system disk.Unit: GiB.</p><p>Value range: \[1, +)</p>                                                                                                                                    |
| diskId         | String  | No       | <p>System disk ID.This is an output parameter returned in the data query APIs like DescribeInstances. Can't be used as an input parameter in data writer interfaces like</p><p>CreateInstances.</p> |
| diskCategory   | String  | No       | <p>Disk type.STANDARD: Standard DiskSSD: Solid State DriveThe default value is Standard Disk.</p><p>Default value: SSD</p>                                                                          |

## Tag

Information on a tag, including its key and value.

Referenced by：CreateInstances, DescribeInstances, DescribeDisks

| Parameter Name | Type   | Required | Description                                               |
| -------------- | ------ | -------- | --------------------------------------------------------- |
| key            | String | Yes      | <p>Tag key.</p><p>Length limit: 1 to 64 characters.</p>   |
| value          | String | No       | <p>Tag value.</p><p>Length limit: 1 to 64 characters.</p> |

## TagAssociation

Information on tags bound to resources, including their keys and values.

Referenced by：CreateDisks, CreateInstances

| Parameter Name | Type                 | Required | Description   |
| -------------- | -------------------- | -------- | ------------- |
| tags           | Array of [Tag](#tag) | Yes      | List of tags. |

## Tags

Information on tags bound to resources, including their keys and values.

Referenced by：DescribeInstances, DescribeDisks

| Parameter Name | Type                 | Description   |
| -------------- | -------------------- | ------------- |
| tags           | Array of [Tag](#tag) | List of tags. |

## VmInventoryCapacityInfo

Availability zone inventory information

Referenced by：DescribeVmInventoryCapacity

| Parameter Name | Type                            | Description                                                                                                        |
| -------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| zoneId         | String                          | Availability Zone ID                                                                                               |
| capacity       | [CapacityValue](#capacityvalue) | <p>Gearshift.</p><p>Inventory capacity is defined based on the total number of available units for all models.</p> |

## ZoneInfo

Zone information, including city, etc.

Referenced by：DescribeZones

| Parameter Name        | Type                                | Description                                                       |
| --------------------- | ----------------------------------- | ----------------------------------------------------------------- |
| zoneId                | String                              | Zone ID. For example, SEL-A.                                      |
| zoneName              | String                              | Zone name.                                                        |
| supportSecurityGroup  | Boolean                             | Support security groups or not.                                   |
| supportNetworkType    | String                              | Supported network types.CLASSICS: Classic networkVPC: VPC network |
| supportIpv6           | Boolean                             | Whether support public IPv6 or not                                |
| supportCpuPassThrough | Boolean                             | Whether CPU passthrough is enabled.                               |
| networkLineType       | [NetworkLineType](#networklinetype) | <p>Network line information.</p><p>NetworkLineType</p>            |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/api-reference/compute/vm/datastructure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
