tencent cloud

Tencent Cloud Lighthouse

Data Types

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-11-20 10:28:12

AttachDetail

Attachment information

Used by actions: DescribeInstancesDiskNum.

Name Type Description
InstanceId String Instance ID
AttachedDiskCount Integer Number of elastic cloud disks attached to the instance
MaxAttachCount Integer Upper limit of attached elastic cloud disks

AutoMountConfiguration

Automatically attach and initialize the data disk.

Used by actions: CreateDisks.

Name Type Required Description
InstanceId String Yes ID of the instance to be mounted to. The instance must be Running.
MountPoint String No The mount point within the instance. Only Linux instances are supported. If it's not specified, the default mount point is "/data/disk".
FileSystemType String No The file system type. Values: ext4 (default) and xfs. Only Linux instances are supported.

Blueprint

Image information.

Used by actions: DescribeBlueprintInstances, DescribeBlueprints, DescribeResetInstanceBlueprints.

Name Type Description
BlueprintId String Image ID, which is the unique identifier of Blueprint.
DisplayTitle String Image title to be displayed.
DisplayVersion String Image version to be displayed.
Description String Image description information.
Note: This field may return null, indicating that no valid values can be obtained.
OsName String OS name.
Platform String OS type.
PlatformType String OS type, such as LINUX_UNIX and WINDOWS.
BlueprintType String Image type, such as APP_OS, PURE_OS, and PRIVATE.
ImageUrl String Image picture URL.
RequiredSystemDiskSize Integer System disk size required by image in GB.
BlueprintState String Image status.
CreatedTime Timestamp ISO8601 Creation time according to ISO 8601 standard. UTC time is used.
Format: YYYY-MM-DDThh:mm:ssZ.
Note: this field may return null, indicating that no valid values can be obtained.
BlueprintName String Image name.
SupportAutomationTools Boolean Whether the image supports automation tools.
RequiredMemorySize Integer Memory size required by image in GB.
ImageId String ID of the Lighthouse image shared from a CVM image
Note: this field may return null, indicating that no valid values can be obtained.
CommunityUrl String URL of official website of the open-source project
GuideUrl String Guide documentation URL
SceneIdSet Array of String Array of IDs of scenes associated with an image
Note: This field may return null, indicating that no valid values can be obtained.
DockerVersion String Docker version.
Note: This field may return null, indicating that no valid values can be obtained.

BlueprintInstance

Image instance information.

Used by actions: DescribeBlueprintInstances.

Name Type Description
Blueprint Blueprint Image information.
SoftwareSet Array of Software Software list.
InstanceId String Instance ID.

BlueprintPrice

BlueprintPrice Custom image price parameter.

Used by actions: InquirePriceCreateBlueprint.

Name Type Description
OriginalBlueprintPrice Float Original image unit price in USD.
OriginalPrice Float Original image total price in USD.
Discount Float Discount.
DiscountPrice Float Discounted image total price in USD.

Bundle

Package information.

Used by actions: DescribeBundles, DescribeModifyInstanceBundles.

Name Type Description
BundleId String Package ID.
Memory Integer Memory size in GB.
SystemDiskType String System disk type.
Values:
  • CLOUD_SSD: SSD cloud disks
  • CLOUD_PREMIUM: Premium cloud disks
  • SystemDiskSize Integer System disk size in GB.
    MonthlyTraffic Integer Monthly network traffic in GB.
    SupportLinuxUnixPlatform Boolean Whether Linux/Unix is supported.
    SupportWindowsPlatform Boolean Whether Windows is supported.
    Price Price Current package unit price information.
    CPU Integer Number of CPU cores.
    InternetMaxBandwidthOut Integer Peak bandwidth in Mbps.
    InternetChargeType String Network billing mode.
    BundleSalesState String Package sale status. Valid values: AVAILABLE, SOLD_OUT
    BundleType String Package type.
    Value range:.
    <Li>GENERAL_BUNDLE: general..
    <Li>STORAGE_BUNDLE: storage type.
    <Li>ENTERPRISE_BUNDLE: enterprise type.
    <Li>EXCLUSIVE_BUNDLE: exclusive.
    <Li>BEFAST_BUNDLE: beefast bundle.
    <Li>STARTER_BUNDLE: entry-level..
    <Li>CAREFREE_BUNDLE: carefree.
    <Li>RAZOR_SPEED_BUNDLE: razor speed bundle.
    BundleTypeDescription String Package type description.
    BundleDisplayLabel String Package tag.
    Valid values:
    "ACTIVITY": promotional package
    "NORMAL": regular package
    "CAREFREE": carefree package
    TrafficUnlimited Boolean Whether the traffic volume is unlimited.

    CcnAttachedInstance

    List of instances associated with the CCN instance.

    Used by actions: DescribeCcnAttachedInstances.

    Name Type Description
    CcnId String CCN instance ID.
    CidrBlock Array of String CIDR block of associated instance.
    State String Associated instance status:

    • PENDING: applying
    • ACTIVE: connected
    • EXPIRED: expired
    • REJECTED: rejected
    • DELETED: deleted
    • FAILED: failed (it will be asynchronously unassociated after 2 hours)
    • ATTACHING: associating
    • DETACHING: unassociating
    • DETACHFAILED: failed to unassociate (it will be asynchronously unassociated after 2 hours)
    AttachedTime Timestamp Association time.
    Note: this field may return null, indicating that no valid values can be obtained.
    Description String Remarks

    Command

    Used by actions: CreateInstances.

    Name Type Required Description
    Content String Yes
    Timeout Integer No
    WorkingDirectory String No
    Username String No

    ContainerEnv

    Container environment variable

    Used by actions: CreateInstances, ResetInstance.

    Name Type Required Description
    Key String Yes Environment variable key
    Value String Yes Environment variable value

    DataDiskPrice

    Data disk price

    Used by actions: InquirePriceRenewInstances.

    Name Type Description
    DiskId String

    Cloud disk ID.

    .
    OriginalDiskPrice Float <P>Cloud block storage (cbs) unit price.

    unit: usd

    .
    OriginalPrice Float <P>Total CBS price.

    unit: usd

    .
    Discount Float

    Discount.

    .
    DiscountPrice Float <P>Discounted total price.

    unit: usd

    .
    InstanceId String

    Instance ID for data disk mounting.

    .

    DeniedAction

    Restricted operation.

    Used by actions: DescribeDisksDeniedActions, DescribeInstancesDeniedActions, DescribeSnapshotsDeniedActions.

    Name Type Description
    Action String Restricted operation name.
    Code String Restricted operation message code.
    Message String Restricted operation message.

    DestinationRegionBlueprint

    Image information of the target region.

    Used by actions: SyncBlueprint.

    Name Type Description
    Region String Target region.
    BlueprintId String Target region image ID.

    DetailPrice

    Billable items

    Used by actions: InquirePriceCreateDisks, InquirePriceCreateInstances, InquirePriceRenewDisks, InquirePriceRenewInstances.

    Name Type Description
    PriceName String

    Name of a billable item, current parameter.

  • "DiskSpace" represents the CBS space charge item.
  • "DiskBackupQuota" represents the data disk backup point quota charge item.
  • "Instance" represents the Instance charge item.
  • "SystemDiskBackupQuota" represents the system disk backup point quota charge item.
  • .
    OriginUnitPrice Float <P>Unit price per billing item dimension.

    unit: usd

    .
    OriginalPrice Float <P>Total price of billing item dimension.

    unit: usd

    .
    Discount Float <P>Dimensional discount for billing items.

    .
    DiscountPrice Float <P>Discounted total price by billing item dimension.

    unit: usd

    .

    DiscountDetail

    Package discount details (only returned for price query APIs called in the console).

    Used by actions: DescribeBundleDiscount, DescribeDiskDiscount, InquirePriceRenewInstances.

    Name Type Description
    TimeSpan Integer <P>Billing duration.

    .
    TimeUnit String <P>Time unit.
    value is:

    • m - month
    • d - day
    .
    TotalCost Float <P>Total price.

    unit: usd

    .
    RealTotalCost Float <P>Discounted total price.

    unit: usd

    .
    Discount Float

    Discount.

    .
    PolicyDetail PolicyDetail <P>Specific discount details.

    .

    Disk

    Disk information

    Used by actions: DescribeDisks.

    Name Type Description
    DiskId String Disk ID
    InstanceId String Instance ID
    Zone String Availability zone
    DiskName String Disk name
    DiskUsage String Disk type
    DiskType String Disk media type
    DiskChargeType String Disk payment type
    DiskSize Integer Disk size
    RenewFlag String Renewal flag
    DiskState String Disk status. Values:
  • PENDING: Creating
  • UNATTACHED: Not attached
  • ATTACHING: Attaching
  • ATTACHED: Attached
  • DETACHING: Detaching
  • SHUTDOWN: Isolated
  • CREATED_FAILED: Failed to create
  • TERMINATING: Terminating
  • DELETING: Deleting
  • FREEZING: Freezing
  • Attached Boolean Whether the disk is attached to an instance
    DeleteWithInstance Boolean Whether to release the disk along with the instance
    LatestOperation String Last operation
    LatestOperationState String Last operation status
    LatestOperationRequestId String Last request ID
    CreatedTime Timestamp ISO8601 Creation time according to ISO 8601 standard. UTC time is used.
    Format: YYYY-MM-DDThh:mm:ssZ.
    Note: This field may return null, indicating that no valid values can be obtained.
    ExpiredTime Timestamp ISO8601 Expiration time according to ISO 8601 standard. UTC time is used.
    Format: YYYY-MM-DDThh:mm:ssZ.
    Note: This field may return null, indicating that no valid values can be obtained.
    IsolatedTime Timestamp ISO8601 Isolation time according to ISO 8601 standard. UTC time is used.
    Format: YYYY-MM-DDThh:mm:ssZ.
    Note: This field may return null, indicating that no valid values can be obtained.
    DiskBackupCount Integer Total disk backups
    DiskBackupQuota Integer Disk backup quota

    DiskChargePrepaid

    Parameter settings for the yearly/monthly subscribed cloud disk

    Used by actions: CreateDisks, InquirePriceCreateDisks.

    Name Type Required Description
    Period Integer Yes Purchase duration.
    RenewFlag String No Auto-Renewal flag. Valid values:

    NOTIFY_AND_AUTO_RENEW: Trigger expiration notification and renew automatically
    NOTIFY_AND_MANUAL_RENEW: Trigger expiration notification but do not renew
    u200cDISABLE_NOTIFY_AND_AUTO_RENEW: Neither trigger expiration notification nor renew

    Default: NOTIFY_AND_MANUAL_RENEW. If NOTIFY_AND_AUTO_RENEW is specified, the instance is automatically renewed on a monthly basis when the account balance is sufficient.
    TimeUnit String No Purchase duration unit. Default value: "m" (month)

    DiskConfig

    Cloud disk configuration

    Used by actions: DescribeDiskConfigs.

    Name Type Description
    Zone String <P>Availability zone.

    .
    DiskType String

    CLOUD disk type. valid values as follows:

  • CLOUD_BASIC: ordinary CLOUD disk
  • CLOUD_PREMIUM: high-performance CLOUD block storage
  • CLOUD_SSD: SSD CLOUD disk
  • .
    DiskSalesState String <P>Cloud block storage (cbs) saleable state.

    .
    MaxDiskSize Integer

    Maximum CBS size.

    unit: GB

    .
    MinDiskSize Integer

    Minimum CBS disk size.

    unit: GB

    .
    DiskStepSize Integer

    Cloud block storage (cbs) step length.

    unit: GB

    .

    DiskDeniedActions

    List of operation limits of disks.

    Used by actions: DescribeDisksDeniedActions.

    Name Type Description
    DiskId String Cloud disk ID.
    DeniedActions Array of DeniedAction List of operation limits.

    DiskPrice

    Cloud disk price

    Used by actions: InquirePriceCreateDisks, InquirePriceRenewDisks.

    Name Type Description
    OriginalDiskPrice Float Cloud disk unit price.
    OriginalPrice Float Total cloud disk price.
    Discount Float Discount.
    DiscountPrice Float Discounted total price.
    DetailPrices Array of DetailPrice Detailed billing items

    DiskReturnable

    Details of the returnable cloud disk

    Used by actions: DescribeDisksReturnable.

    Name Type Description
    DiskId String Cloud disk ID.
    IsReturnable Boolean Whether the cloud disk can be returned.
    ReturnFailCode Integer Error code of cloud disk return failure.
    ReturnFailMessage String Error message of cloud disk return failure.

    DockerContainerConfiguration

    Configuration used to create Docker containers

    Used by actions: CreateInstances, ResetInstance.

    Name Type Required Description
    ContainerImage String Yes Container image address
    ContainerName String No Container name
    Envs Array of ContainerEnv No List of environment variables
    PublishPorts Array of DockerContainerPublishPort No List of mappings of container ports and host ports
    Volumes Array of DockerContainerVolume No List of container mount volumes
    Command String No The command to run

    DockerContainerPublishPort

    Port mapping of the Docker container

    Used by actions: CreateInstances, ResetInstance.

    Name Type Required Description
    HostPort Integer Yes Host port
    ContainerPort Integer Yes Container port
    Ip String No External IP. It defaults to 0.0.0.0.
    Note: This field may return null, indicating that no valid values can be obtained.
    Protocol String No The protocol defaults to tcp. Valid values: tcp, udp and sctp.
    Note: This field may return null, indicating that no valid values can be obtained.

    DockerContainerVolume

    Docker container mount volume

    Used by actions: CreateInstances, ResetInstance.

    Name Type Required Description
    ContainerPath String Yes Container path
    HostPath String No Host path

    Filter

    Describes key-value pair filters used for conditional filtering queries. For example, filter by name.

    • If there are multiple Filter parameters, the relationship between them is logical AND (AND).
    • If the same Filter has multiple Values, the relationship between the Values under the same Filter is logical OR (OR).

    Take the Filter of the DescribeInstances API as an example. If you need to query instances whose instance name (instance-name) is test and private IP (private-ip-address) is 10.10.10.10, you can implement it as follows:

    Filters.0.Name=instance-name
    &Filters.0.Values.0=test
    &Filters.1.Name=private-ip-address
    &Filters.1.Values.0=10.10.10.10

    Used by actions: DescribeBlueprints, DescribeBundles, DescribeDiskConfigs, DescribeDisks, DescribeImagesToShare, DescribeInstances, DescribeKeyPairs, DescribeModifyInstanceBundles, DescribeResetInstanceBlueprints, DescribeSnapshots.

    Name Type Required Description
    Name String Yes Fields to be filtered.
    Values Array of String Yes Filter value of the field.

    FirewallRule

    Firewall rule information.

    Used by actions: CreateFirewallRules, DeleteFirewallRules, ModifyFirewallRuleDescription, ModifyFirewallRules.

    Name Type Required Description
    Protocol String Yes Protocol. Valid values: TCP, UDP, ICMP, ALL.
    Port String No Port. Valid values: ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign
    CidrBlock String No IP range or IP (mutually exclusive). Default value: 0.0.0.0/0, which indicates all sources.
    Action String No Valid values: ACCEPT, DROP. Default value: ACCEPT.
    FirewallRuleDescription String No Firewall rule description.

    FirewallRuleInfo

    Firewall rule details.

    Used by actions: DescribeFirewallRules, DescribeFirewallRulesTemplate.

    Name Type Description
    AppType String Application type. Valid values: custom, HTTP (80), HTTPS (443), Linux login (22), Windows login (3389), MySQL (3306), SQL Server (1433), all TCP ports, all UDP ports, Ping-ICMP, ALL.
    Protocol String Protocol. Valid values: TCP, UDP, ICMP, ALL.
    Port String Port. Valid values: ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign
    CidrBlock String IP range or IP (mutually exclusive). Default value: 0.0.0.0/0, which indicates all sources.
    Action String Valid values: ACCEPT, DROP. Default value: ACCEPT.
    FirewallRuleDescription String Firewall rule description.

    GeneralResourceQuota

    General resource quota information.

    Used by actions: DescribeGeneralResourceQuotas.

    Name Type Description
    ResourceName String Resource name.
    ResourceQuotaAvailable Integer Number of available resources.
    ResourceQuotaTotal Integer Total number of resources.

    Image

    CVM image information.

    Used by actions: DescribeImagesToShare.

    Name Type Description
    ImageId String CVM Image ID, which is the unique identifier of the image.
    ImageName String Image name.
    ImageDescription String Image description.
    ImageSize Integer Image size, in GB.
    ImageSource String Image source.
  • CREATE_IMAGE: custom image.
  • EXTERNAL_IMPORT: externally imported image.
  • ImageClass String Image classification.
  • SystemImage: system disk image.
  • InstanceImage: full-instance image.
  • ImageState String Image status.
    CREATING: creating.
    NORMAL: normal.
    CREATEFAILED: creation failed.
    USING: in use.
    SYNCING: synchronizing.
    IMPORTING: importing.
    IMPORTFAILED: import failed.
    IsSupportCloudinit Boolean Whether the image supports Cloudinit.
    Architecture String Image architecture.
    OsName String Image operating system.
    Platform String Image source platform.
    CreatedTime Timestamp ISO8601 Image creation time.
    IsShareable Boolean Whether the image can be shared to Lighthouse.
    UnshareableReason String Reason for not being shared.

    Instance

    Describes the instance information.

    Used by actions: DescribeInstances.

    Name Type Description
    InstanceId String Instance ID.
    BundleId String Bundle ID.
    BlueprintId String Image ID.
    CPU Integer Number of CPU cores for the instance, in cores.
    Memory Integer Instance memory capacity, in GB.
    InstanceName String Instance name.
    InstanceChargeType String Instance billing mode. Valid values:
    PREPAID: prepaid, that is, monthly or yearly subscription.
    SystemDisk SystemDisk Instance system disk information.
    PrivateAddresses Array of String Private IP of the instance's primary NIC.
    Note: This field may return null, indicating that no valid value can be obtained.
    PublicAddresses Array of String Public IP of the instance's primary NIC.
    Note: This field may return null, indicating that no valid value can be obtained.
    InternetAccessible InternetAccessible Instance bandwidth information.
    RenewFlag String Auto-renewal flag. Valid values:
    NOTIFY_AND_MANUAL_RENEW: Notify when the subscription is about to expire, but do not renew automatically.
    NOTIFY_AND_AUTO_RENEW: Notify when the subscription is about to expire and renew automatically. DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not renew automatically or send notifications.
    LoginSettings LoginSettings Instance login setting.
    InstanceState String Instance status. Valid values:
  • PENDING: Creating
  • LAUNCH_FAILED: Failed to create
  • RUNNING: Running
  • STOPPED: Shut down
  • STARTING: Starting up
  • STOPPING: Shutting down
  • REBOOTING: Restarting
  • SHUTDOWN: Shutdown and to be terminated
  • TERMINATING: Terminating
  • DELETING: Deleting
  • FREEZING: Frozen
  • ENTER_RESCUE_MODE: Entering the rescue mode
  • RESCUE_MODE: Rescue mode
  • EXIT_RESCUE_MODE: Exiting the rescue mode
  • Uuid String Globally unique ID of the instance.
    LatestOperation String Latest operation on the instance, such as StopInstances and ResetInstance. Note: This field may return null, indicating that no valid values can be obtained.
    LatestOperationState String Status of the latest operation on the instance. Valid values:
    SUCCESS: The operation succeeded.
    OPERATING: The operation is in progress.
    FAILED: The operation failed.
    Note: This field may return null, indicating that no valid values can be obtained.
    LatestOperationRequestId String Unique request ID of the latest operation on the instance.
    Note: This field may return null, indicating that no valid values can be obtained.
    LatestOperationStartedTime Timestamp ISO8601 Start time of the latest operation on the instance.
    IsolatedTime Timestamp ISO8601 Isolation time in UTC, formatted according to the ISO 8601 standard.
    Format: YYYY-MM-DDThh:mm:ssZ.
    CreatedTime Timestamp ISO8601 Creation time in UTC, formatted according to the ISO 8601 standard.
    Format: YYYY-MM-DDThh:mm:ssZ.
    ExpiredTime Timestamp ISO8601 Expiration time in UTC, formatted according to the ISO 8601 standard.
    Format: YYYY-MM-DDThh:mm:ssZ.
    PlatformType String Operating system platform type, such as LINUX_UNIX and WINDOWS.
    Platform String Operating system platform.
    OsName String Operating system name.
    Zone String AZ.
    Tags Array of Tag List of tags bound to the instance.
    InstanceRestrictState String Instance ban status. Valid values:
  • NORMAL: The instance is normal.
  • NETWORK_RESTRICT: The instance is banned from network access.
  • InitInvocationId String Invocation ID of the TAT command to be automatically executed after the instance is created.
    InstanceViolationDetail InstanceViolationDetail Instance violation details.

    InstanceChargePrepaid

    Instance billing mode

    Used by actions: CreateInstances, InquirePriceCreateInstances, InquirePriceRenewInstances, RenewInstances.

    Name Type Required Description
    Period Integer Yes Duration of instance purchase. measurement unit: month.
    -Valid values when creating an instance: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
    -When renewing an instance, valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    RenewFlag String No AUTO-Renewal flag. valid values:
  • NOTIFY_AND_AUTO_RENEW: NOTIFY AND AUTO-RENEW on expiration

  • NOTIFY_AND_MANUAL_RENEW: NOTIFY expiration without AUTO-RENEW. users need to manually RENEW.

  • DISABLE_NOTIFY_AND_MANUAL_RENEW: no AUTO-renewal AND no notification


  • default value: NOTIFY_AND_MANUAL_RENEW. if this parameter is set to NOTIFY_AND_AUTO_RENEW, the instance will automatically RENEW on a monthly basis after expiration when the account balance is sufficient.

    InstanceDeniedActions

    List of instance operation limits.

    Used by actions: DescribeInstancesDeniedActions.

    Name Type Description
    InstanceId String Instance ID.
    Note: this field may return null, indicating that no valid values can be obtained.
    DeniedActions Array of DeniedAction List of operation limits.

    InstancePrice

    About Lighthouse Instance price.

    Used by actions: InquirePriceCreateInstances, InquirePriceRenewInstances.

    Name Type Description
    OriginalBundlePrice Float <P>Unit price of the package.

    unit: usd

    .
    OriginalPrice Float <P>Original price.

    unit: usd

    .
    Discount Float

    Discount.

    .
    DiscountPrice Float <P>Discounted price.

    unit: usd

    .
    Currency String

    Price currency unit. valid values: USD.

    .
    DetailPrices Array of DetailPrice <P>Billing item detail.

    .

    InstancePriceDetail

    Instance price details

    Used by actions: InquirePriceRenewInstances.

    Name Type Description
    InstanceId String Instance ID.
    InstancePrice InstancePrice Price inquiry information.
    DiscountDetail Array of DiscountDetail Discount gradient details. each gradient includes duration, discount percentage, total price, discount price, and discount details (user discount, official website discount, final discount).

    InstanceReturnable

    Whether the instance can be returned.

    Used by actions: DescribeInstancesReturnable.

    Name Type Description
    InstanceId String Instance ID.
    IsReturnable Boolean Whether the instance can be returned.
    ReturnFailCode Integer Error code of instance return failure.
    ReturnFailMessage String Error message of instance return failure.

    InstanceTrafficPackage

    Instance traffic package details

    Used by actions: DescribeInstancesTrafficPackages.

    Name Type Description
    InstanceId String Instance ID.
    TrafficPackageSet Array of TrafficPackage List of traffic package details.

    InstanceViolationDetail

    Instance violation details.

    Used by actions: DescribeInstances.

    Name Type Description
    Source String Source: RESTRICT: Banned; FREEZW: Frozen.
    State String Whether self-service unblocking is allowed. 1: Yes; 2: No.
    Reason String Violation type.
    Content String Violation content (URL and associated domain name).

    InternetAccessible

    Describes the public network accessibility of instances created with the launch configuration, and declares the public network billing mode and maximum bandwidth of the instance.

    Used by actions: DescribeInstances.

    Name Type Description
    InternetChargeType String Network billing type. Valid values:
  • Pay-as-you-go by traffic: TRAFFIC_POSTPAID_BY_HOUR
  • Pay-as-you-go by bandwidth: BANDWIDTH_POSTPAID_BY_HOUR
  • InternetMaxBandwidthOut Integer Maximum outbound public bandwidth, in the unit of Mbps.
    PublicIpAssigned Boolean Indicates whether a public IP is assigned.

    KeyPair

    Key pair information.

    Used by actions: CreateKeyPair, DescribeKeyPairs.

    Name Type Description
    KeyId String Key pair ID, which is the unique identifier of a key pair.
    KeyName String Key pair name.
    PublicKey String Public key (in plain text) of key pair.
    AssociatedInstanceIds Array of String List of IDs of instances associated with the key pair.
    Note: this field may return null, indicating that no valid values can be obtained.
    CreatedTime Timestamp ISO8601 Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used
    Note: this field may return null, indicating that no valid values can be obtained.
    PrivateKey String Private key of key pair.
    Note: this field may return null, indicating that no valid values can be obtained.

    LoginConfiguration

    Login password information

    Used by actions: CreateInstances.

    Name Type Required Description
    AutoGeneratePassword String No
  • YES: Random password. In this case, Password cannot be specified.
  • No: Custom. Password must be specified.
  • Password String No Instance login password.
    For Windows instances, the password must contain 12 to 30 characters of the following types. It cannot start with “/” and cannot include the username.
  • Lowercase letters: [a–z]
  • Uppercase letters: [A–Z]
  • Digits: 0-9
  • Symbols: ()`~!@#$%^&*-+=_|{}[]:;'<>,.?/
  • KeyIds Array of String No

    LoginSettings

    Describe the instance login related configuration and information.

    Used by actions: DescribeInstances.

    Name Type Description
    KeyIds Array of String List of key IDs. After a key is associated, you can access the instance by using the corresponding private key. Note: This field may return [], indicating that no valid value can be obtained.

    ModifyBundle

    Changeable packages for the instance.

    Used by actions: DescribeModifyInstanceBundles.

    Name Type Description
    ModifyPrice Price Price difference that you need to pay for the new instance package after change.
    ModifyBundleState String Package change status. Valid values:
  • SOLD_OUT: packages are sold out
  • AVAILABLE: packages can be changed
  • UNAVAILABLE: packages cannot be changed currently
  • Bundle Bundle Package information.
    NotSupportModifyMessage String The reason of package changing failure. It’s empty if the package change status is AVAILABLE.
    Note: This field may return null, indicating that no valid values can be obtained.

    PolicyDetail

    Discount details.

    Used by actions: DescribeBundleDiscount, DescribeDiskDiscount, InquirePriceRenewInstances.

    Name Type Description
    UserDiscount Float User discount.
    CommonDiscount Float Public discount.
    FinalDiscount Float Final discount.
    ActivityDiscount Float Activity discount. The value null indicates no discount.
    Note: This field may return null, indicating that no valid values can be obtained.
    DiscountType String Discount type.
    Valid values: user (user discount), common (discount displayed on the official website), activity (activity discount), null (no discount).
    Note: This field may return null, indicating that no valid values can be obtained.

    Price

    Price information

    Used by actions: DescribeBundles, DescribeModifyInstanceBundles, InquirePriceCreateInstances, InquirePriceRenewInstances.

    Name Type Description
    InstancePrice InstancePrice Instance price.

    RegionInfo

    Region information.

    Used by actions: DescribeRegions.

    Name Type Description
    Region String Region name, such as ap-guangzhou.
    RegionName String Region description, such as South China (Guangzhou).
    RegionState String Region availability status. Its value can only be AVAILABLE.
    IsChinaMainland Boolean Whether the region is in the Chinese mainland

    RenewDiskChargePrepaid

    Parameter settings for renewing the yearly/monthly subscribed cloud disk

    Used by actions: InquirePriceRenewDisks, RenewDisks.

    Name Type Required Description
    Period Integer No Renewal period
    RenewFlag String No Whether to renew the disk automatically. Values:

    NOTIFY_AND_AUTO_RENEW: Trigger expiration notification and renew automatically; NOTIFY_AND_MANUAL_RENEW: Trigger expiration notification but do not renew; DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not trigger the notification and do not renew.

    Default: NOTIFY_AND_MANUAL_RENEW. If NOTIFY_AND_AUTO_RENEW is specified, the instance is automatically renewed on a monthly basis when the account balance is sufficient.
    TimeUnit String No Unit of the period. Values: m (month).
    CurInstanceDeadline String No Expiration time of the current instance, such as "2018-01-01 00:00:00". Specify this parameter to align the expiration time of the instance and attached cloud disks. CurInstanceDeadline and Period cannot be both specified.

    ResetInstanceBlueprint

    Image reset information

    Used by actions: DescribeResetInstanceBlueprints.

    Name Type Description
    BlueprintInfo Blueprint Image details
    IsResettable Boolean Whether the image can be reset as the target image
    NonResettableMessage String Non-Resettable flag. If the image is resettable, it will be ""

    Scene

    Scene information

    Used by actions: DescribeScenes.

    Name Type Description
    SceneId String Scene ID
    DisplayName String Display name of the scene
    Description String Scene description

    SceneInfo

    Scene information

    Used by actions: DescribeAllScenes.

    Name Type Description
    SceneId String Scene ID
    DisplayName String Display name of the scene
    Description String Scene description

    Snapshot

    Snapshot information.

    Used by actions: DescribeSnapshots.

    Name Type Description
    SnapshotId String Snapshot ID.
    DiskUsage String Type of the disk for which the snapshot is created. Valid values:
  • SYSTEM_DISK: system disk
  • DiskId String ID of the disk for which the snapshot is created.
    DiskSize Integer Size of the disk in GB for which the snapshot is created.
    SnapshotName String Snapshot name, which is a custom snapshot alias.
    SnapshotState String Snapshot status. Valid values:
  • NORMAL: normal
  • CREATING: creating
  • ROLLBACKING: rolling back
  • Percent Integer Snapshot creation or rollback progress in percentage. After success, the value of this field will become 100.
    LatestOperation String Last snapshot operation. It is recorded only during snapshot creation and rollback.
    Example values: CreateInstanceSnapshot, RollbackInstanceSnapshot.
    Note: this field may return null, indicating that no valid values can be obtained.
    LatestOperationState String Last snapshot operation status. It is recorded only during snapshot creation and rollback.
    Valid values:
  • SUCCESS: operation succeeded
  • OPERATING: the operation is being executed
  • FAILED: operation failed

  • Note: this field may return null, indicating that no valid values can be obtained.
    LatestOperationRequestId String Unique request ID for the last snapshot operation. It is recorded only during snapshot creation and rollback.
    Note: this field may return null, indicating that no valid values can be obtained.
    CreatedTime Timestamp ISO8601 Snapshot creation time.
    Note: This field may return null, indicating that no valid values can be obtained.

    SnapshotDeniedActions

    List of snapshot operation limits.

    Used by actions: DescribeSnapshotsDeniedActions.

    Name Type Description
    SnapshotId String Snapshot ID.
    DeniedActions Array of DeniedAction List of operation limits.

    Software

    Image software information.

    Used by actions: DescribeBlueprintInstances.

    Name Type Description
    Name String Software name.
    Version String Software version.
    ImageUrl String Software picture URL.
    InstallDir String Software installation directory.
    DetailSet Array of SoftwareDetail List of software details.

    SoftwareDetail

    Image software details.

    Used by actions: DescribeBlueprintInstances.

    Name Type Description
    Key String Unique detail key
    Title String Detail title.
    Value String Detail value.

    SystemDisk

    Describes the information of the block device where the operating system resides, i.e., the system disk.

    Used by actions: DescribeInstances.

    Name Type Description
    DiskType String System disk type.
    Valid values:
  • LOCAL_BASIC: local disk
  • LOCAL_SSD: local SSD disk
  • CLOUD_BASIC: basic cloud disk
  • CLOUD_SSD: SSD cloud disk
  • CLOUD_PREMIUM: premium cloud disk
  • DiskSize Integer System disk size, in the unit of GB.
    DiskId String System disk ID.

    Tag

    Tag.

    Used by actions: CreateDisks, CreateInstances, DescribeInstances.

    Name Type Required Description
    Key String Yes Tag key.
    Value String Yes Tag value.

    TotalPrice

    Total price information

    Used by actions: InquirePriceRenewInstances.

    Name Type Description
    OriginalPrice Float <P>Original total price.

    unit: usd

    .
    DiscountPrice Float <P>Total price after discount.

    unit: usd

    .

    TrafficPackage

    Traffic package details.

    Used by actions: DescribeInstancesTrafficPackages.

    Name Type Description
    TrafficPackageId String Traffic package ID.
    TrafficUsed Integer Used traffic in bytes during traffic package validity period.
    TrafficPackageTotal Integer Total traffic in bytes during traffic package validity period.
    TrafficPackageRemaining Integer Remaining traffic in bytes during traffic package validity period.
    TrafficOverflow Integer Traffic exceeding package amount in bytes during traffic package validity period.
    StartTime Timestamp ISO8601 Start time of traffic package validity period according to ISO 8601 standard. UTC time is used.
    Format: YYYY-MM-DDThh:mm:ssZ.
    Note: this field may return null, indicating that no valid values can be obtained.
    EndTime Timestamp ISO8601 End time of traffic package validity period according to ISO 8601 standard. UTC time is used.
    Format: YYYY-MM-DDThh:mm:ssZ.
    Note: this field may return null, indicating that no valid values can be obtained.
    Deadline Timestamp ISO8601 Traffic package expiration time according to ISO 8601 standard. UTC time is used.
    Format: YYYY-MM-DDThh:mm:ssZ.
    Note: this field may return null, indicating that no valid values can be obtained.
    Status String Traffic package status:
  • NETWORK_NORMAL: normal
  • OVERDUE_NETWORK_DISABLED: the network is disconnected due to overdue payments
  • ZoneInfo

    AZ details

    Used by actions: DescribeZones.

    Name Type Description
    Zone String AZ
    ZoneName String Chinese name of AZ
    InstanceDisplayLabel String AZ tags on instance purchase page

    Bantuan dan Dukungan

    Apakah halaman ini membantu?

    masukan