Appendix
Last Updated:2020-10-09
Model Object Definition
InstanceModel
Parameter Name | Type | Description |
---|---|---|
id | String | Instance ID, which conforms to BCE specification, must be a string with fixed length, and can contain uppercase and lowercase letters, numbers, hyphen (-) and underline (_) only. |
name | String | Instance name, Supports uppercase and lowercase letters, numbers, Chinese, -, ,_, /and.. Special characters with length 1-65, it must begin with the letter |
status | String | Instance status |
desc | String | Description information of instances |
paymentTiming | String | Payment methods, including the postpaid and prepaid. |
createTime | String | Create Time |
expireTime | String | Expiration time |
internalIp | String | Private IP |
publicIp | String | Public Network IP |
imageId | String | Image ID |
flavorId | String | Package ID |
zone | String | The available region name |
region | String | Region Name |
networkCapacityInMbps | int | Cloud network bandwidth, Unit: Mb |
tags | tag | Tag information is a collection of tags |
FlavorModel
Parameter Name | Type | Description |
---|---|---|
flavorId | String | Package ID |
cpuCount | int | CPU cores |
cpuType | String | cpu Type |
memoryCapacityInGB | int | Memory Capacity, Unit: GB |
disk | String | Disk information, including SSD and SATA disks |
networkCard | String | Information for network device |
others | String | Additional information included in the package |
RaidModel
Parameter Name | Type | Description |
---|---|---|
raidId | String | RAID ID |
raid | String | ACL name |
sysSwapSize | int | The default size of the system disk swap partition, the unit is GIB |
sysRootSize | int | The default size of the system disk root partition, the unit is GIB |
sysHomeSize | int | The default size of the system disk/home partition, the unit is GIB |
sysDiskSize | int | The total size of the system disk, the unit is GIB |
dataDiskSize | int | The total size of the data disk, the unit is GIB |
ImageModel
Parameter Name | Type | Description |
---|---|---|
id | String | Image ID |
name | String | Image name |
type | ImageType | Image type |
osType | String | Operating system type |
osVersion | String | Operating system version |
osArch | String | Operating system bits |
osName | String | Operating system name |
osBuild | String | Build time of image operating system |
createTime | String | Image creation time, which conforms to the BCE date format |
status | ImageStatus | Image status |
desc | String | Image description information |
ImageType
Coding | Description |
---|---|
System | System image/public image |
Custom | Custom Image |
Integration | Service Integration Image |
OperationLogModel
Parameter Name | Type | Description |
---|---|---|
operationStatus | boolean | Operation status, including true and false |
operationTime | String | Operation time |
operationDesc | String | Operation Description |
operationIp | String | Operation Source Ip |
BbcNetworkModel
Parameter Name | Type | Description |
---|---|---|
bbcId | String | bbc instance uuid |
vpc | VpcModel | Vpc Information |
subnet | SubnetModel | subnet Information |
VpcModel
Parameter Name | Type | Description |
---|---|---|
vpcId | String | Network id |
cidr | String | cidr |
name | String | Network Name |
isDefault | Boolean | Whether the default network |
description | String | Information description |
SubnetModel
Parameter Name | Type | Description |
---|---|---|
vpcId | String | Network id |
name | String | Subnet name |
subnetType | String | Subnet type |
subnetId | String | Subnet cidr |
cidr | String | cidr |
zoneName | String | Availability zone |
Status Code Definition
ProductType
Coding | Description |
---|---|
Prepaid | Prepaid |
Postpaid | Postpaid |
InstanceStatus
Coding | Description |
---|---|
Starting | During startup |
Running | Running |
Stopping | Stopping |
Stopped | Stopped |
Deleted | Released, which is an internal status and can not be queried by API |
Expired | Expired or in arrears |
Error | An error |
ImageProcessing | Image processing |
ImageStatus
Coding | Description |
---|---|
Creating | Creating |
CreatedFailed | Creation failed |
Available | Available |
NotAvailable | Not available |
Error | An error |
TagModel
Parameter Name | Type | Description |
---|---|---|
tagKey | String | Tag key |
tagValue | String | Tag value |