You can call this operation to query details of one or more instances.

Description

  • You can specify multiple request parameters. Specified parameters have logical AND relations. Only the parameters that are specified are included in the filtering conditions. However, if InstanceIds is set to an empty JSON array, it is regarded as an effective filtering condition and an empty result is returned.
  • If you are using a RAM user or RAM role, an empty list is returned when the user or the role does not have the permission to call this operation. You can add the DryRun parameter in your request to determine whether the empty list is caused by the lack of permission.

When you call an API operation through Alibaba Cloud Command Line Interface (CLI), specify request parameter values of different data types in required formats. For more information, see CLI parameter format.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeInstances

The operation that you want to perform. Set the value to DescribeInstances.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list.

VpcId String No v-bp67acfmxazb4p****

The ID of the VPC to which the instance belongs.

VSwitchId String No vsw-bp67acfmxazb4p****

The ID of the VSwitch.

ZoneId String No cn-hangzhou-g

The zone ID of the instance.

InstanceNetworkType String No vpc

The network type of the instance. Valid values:

  • classic: classic network
  • vpc: VPC
SecurityGroupId String No sg-bp67acfmxazb4p****

The ID of the security group to which the instance belongs.

InstanceIds String No ["i-bp67acfmxazb4p****", "i-bp67acfmxazb4p****", ... "i-bp67acfmxazb4p****"]

The IDs of the instances. It can be a JSON array that consists of multiple instance IDs. Separate multiple instance IDs with commas (,). A maximum of 100 instance IDs can be entered.

PageNumber Integer No 1

The number of the page to return.

Pages start from page 1.

Default value: 1.

PageSize Integer No 10

The number of entries to return on each page.

Valid values: 1 to 100.

Default value: 10.

InnerIpAddresses String No ["10.1.1.1", "10.1.2.1", ... "10.1.10.1"]

The internal IP addresses of classic network-type instances. This parameter takes effect when the InstanceNetworkType parameter is set to classic. The value can be a JSON array that consists of multiple IP addresses. Separate multiple IP addresses with commas (,). A maximum of 100 IP addresses can be entered.

PrivateIpAddresses String No ["172.16.1.1", "172.16.2.1", ... "172.16.10.1"]

The private IP addresses of VPC-type instances. This parameter takes effect when the InstanceNetworkType parameter is set to vpc. The value can be a JSON array that consists of multiple IP addresses. Separate multiple IP addresses with commas (,). A maximum of 100 IP addresses can be entered.

PublicIpAddresses String No ["42.1.1. **", "42.1.2. **", ... "42.1.10. **"]

The public IP addresses of the instances. It can be a JSON array that consists of multiple instance IP addresses. Separate multiple instance IP addresses with commas (,). A maximum of 100 instance IP addresses can be entered.

EipAddresses String No ["42.1.1. **", "42.1.2. **", ... "42.1.10. **"]

The Elastic IP addresses (EIPs) of the instances. This parameter takes effect when the InstanceNetworkType parameter is set to vpc. The value can be a JSON array that consists of multiple IP addresses. Separate multiple IP addresses with commas (,). A maximum of 100 IP addresses can be entered.

InstanceChargeType String No PostPaid

The billing method of the instance. Valid values:

  • PostPaid: pay-as-you-go
  • PrePaid: subscription
InternetChargeType String No PayByTraffic

The billing method for public network usage. Valid values:

  • PayByBandwidth: pay-by bandwidth
  • PayByTraffic: pay-by-data-transfer
InstanceName String No Test

The name of the instance. Fuzzy search with the asterisk (*) wildcard is supported.

ImageId String No m-bp67acfmxazb4p****

The ID of the image.

Status String No Running

The status of the instance. Valid values:

  • Running
  • Starting
  • Stopping
  • Stopped
LockReason String No security

The reason why the instance is locked.

IoOptimized Boolean No true

Specifies whether the instance is I/O optimized.

Tag.N.value String No valueTest

The value of tag N.

Note This parameter will be removed in the future. We recommend that you use the Tag.N.Value parameter to ensure future compatibility.
Tag.N.key String No keyTest

The key of tag N.

Note This parameter will be removed in the future. We recommend that you use the Tag.N.Key parameter to ensure future compatibility.
Tag.N.Key String No KeyTest

The key of tag N of the instance. Valid values of N: 1 to 20.

Tag.N.Value String No ValueTest

The value of tag N of the instance. Valid values of N: 1 to 20.

InstanceType String No ecs.g5.large

The type of the instance.

InstanceTypeFamily String No ecs.g5

The instance family of the instance.

KeyPairName String No KeyPairNameTest

The name of the SSH key pair for the instance.

ResourceGroupId String No rg-bp67acfmxazb4p****

The ID of the enterprise resource group to which the instance belongs.

HpcClusterId String No hpc-bp67acfmxazb4p****

The ID of the HPC cluster to which the instance belongs.

RdmaIpAddresses String No 10.10.10.102

The RDMA IP addresses of HPC instances.

DryRun Boolean No false

Specifies whether to check the request only. Default value: false. Valid values:

  • true: The request is checked but instances are not queried. The system checks whether your AccessKey pair is valid, whether RAM users are authorized, and whether required parameters are specified. If the check fails, the corresponding error message is returned. If the check succeeds, the DryRunOperation error code is returned.
  • false: The request is checked. If the check succeeds, a 2XX HTTP status code is returned and available resources are queried.
AdditionalAttributes.N RepeatList No META_OPTIONS

The value of attribute N. Valid values of N: 1 to 20.

HttpEndpoint String No enabled

Specifies whether to enable the access channel for instance metadata. Valid values:

  • enabled
  • disabled

Default value: enabled.

Note For information about instance metadata, see Overview of instance metadata.
HttpTokens String No optional

Specifies whether to forcibly use the security hardening mode (IMDSv2) to access instance metadata. Valid values:

  • optional: The security hardening mode (IMDSv2) is not forcibly used.
  • required: The security hardening mode (IMDSv2) is forcibly used. After you set the parameter to required, you cannot access the instance metadata in the normal mode.

Default value: optional.

Note For information about modes of accessing instance metadata, see Modes of accessing instance metadata.

Response parameters

Parameter Type Example Description
Instances Array

The array of the returned information of instances.

Instance
AutoReleaseTime String 2017-12-10T04:04Z

The automatic release time of the pay-as-you-go instance.

ClusterId String c-bp67acfmxazb4p****

The ID of the cluster to which the instance belongs.

Note This parameter will be removed in the future. We recommend that you use other parameters to ensure future compatibility.
Cpu Integer 8

The number of vCPUs.

CpuOptions Struct

The configuration details of CPU.

CoreCount Integer 2

The number of CPU cores.

Numa String 2

The number of threads allocated. Set the value to 2.

ThreadsPerCore Integer 4

The number of threads per core.

CreationTime String 2017-12-10T04:04Z

The time when the instance was created.

CreditSpecification String Standard

The running mode of a burstable instance. Valid values:

  • Standard: the standard mode. For more information, see the standard mode section of Burstable instances.
  • Unlimited: the unlimited mode. For more information, see the unlimited mode section of Burstable instances.
DedicatedHostAttribute Struct

The host attribute array that consists of the DedicatedHostId and DedicatedHostName values.

DedicatedHostId String dh-bp67acfmxazb4p****

The ID of the dedicated host.

DedicatedHostName String FinanceDept

The name of the dedicated host.

DedicatedInstanceAttribute Struct

The attribute of the instance on a dedicated host.

Affinity String default

Indicates whether the instance on a dedicated host is associated with the dedicated host. Valid values:

  • default: The instance is not associated with the dedicated host. With the No Fees for Stopped Instances (VPC-connected) feature enabled, when the instance is restarted after being stopped, it may be deployed to another dedicated host in the automatic deployment resource pool.
  • host: The instance is associated with the dedicated host. With the No Fees for Stopped Instances (VPC-Connected) feature enabled, when the instance is restarted after being stopped, it still resides on the original dedicated host.
Tenancy String default

Indicates whether the instance is hosted on a dedicated host. Valid values:

  • default: The instance is not hosted on a dedicated host.
  • host: The instance is hosted on a dedicated host.
DeletionProtection Boolean false

The release protection attribute of instances. It indicates whether the instances can be released from the ECS console or through the DeleteInstance operation.

  • true: enables release protection.
  • false: disables release protection.
Note This parameter is applicable only to pay-as-you-go instances. It can protect only against manual releases, not against automatic releases.
DeploymentSetId String ds-bp67acfmxazb4p****

The ID of the deployment set.

Description String description

The description of the instance.

DeviceAvailable Boolean true

Indicates whether data disks can be attached to the instance.

EcsCapacityReservationAttr Struct

The capacity reservation attribute of the ECS instance.

CapacityReservationId String cr-bp67acfmxazb4p****

The ID of the capacity reservation.

CapacityReservationPreference String cr-bp67acfmxazb4p****

The preference of the capacity reservation.

EipAddress Struct

The information of the EIP bound to the instance.

AllocationId String i-bp67acfmxazb4p****

The ID of the instance to which the EIP is bound.

Bandwidth Integer 5

The maximum public bandwidth of the EIP. Unit: Mbit/s.

InternetChargeType String PayByTraffic

The charge type of the EIP Address.

IpAddress String 42.112.17.**

The EIP Address.

IsSupportUnassociate Boolean true

Indicates whether the EIP Address can be unbound.

ExpiredTime String 2017-12-10T04:04Z

The expiration time of the instance. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

GPUAmount Integer 4

The number of GPUs for the instance type.

GPUSpec String NVIDIA V100

The category of GPUs for the instance type.

HostName String Test

The hostname of the instance.

HpcClusterId String hpc-bp67acfmxazb4p****

The ID of the HPC cluster to which the instance belongs.

ImageId String m-bp67acfmxazb4p****

The ID of the image that the instance is running.

InnerIpAddress List 10.170.**. ***

The internal IP address of the instance.

InstanceChargeType String PostPaid

The billing method of the instance. Valid values:

  • PrePaid: subscription
  • PostPaid: pay-as-you-go
InstanceId String i-bp67acfmxazb4p****

The ID of the instance.

InstanceName String InstanceNameTest

The name of the instance.

InstanceNetworkType String vpc

The network type of the instance. Valid values:

  • classic
  • vpc
InstanceType String ecs.g5.large

The type of the ECS instance.

InstanceTypeFamily String ecs.g5

The instance family.

InternetChargeType String PayByTraffic

The billing method for network usage. Valid values:

  • PayByBandwidth: pay-by-bandwidth
  • PayByTraffic: pay-by-data-transfer
InternetMaxBandwidthIn Integer 50

The maximum inbound public bandwidth. Unit: Mbit/s.

InternetMaxBandwidthOut Integer 5

The maximum outbound public bandwidth. Unit: Mbit/s.

IoOptimized Boolean true

Indicates whether the instance is I/O optimized.

KeyPairName String KeyPairNameTest

The name of the key pair.

LocalStorageAmount Integer 2

The number of local disks attached to the instance.

LocalStorageCapacity Long 1000

The capacity of local disks attached to the instance.

Memory Integer 1024

The memory size of the instance. Unit: MiB.

MetadataOptions Struct

The collection of metadata options.

HttpEndpoint String enabled

Indicates whether the access channel for instance metadata was enabled. Valid values:

  • enabled
  • disabled
HttpPutResponseHopLimit Integer 0

This parameter is not available yet.

HttpTokens String optional

Indicates whether the security hardening mode (IMDSv2) was forcibly used to access instance metadata. Valid values:

  • optional: The security hardening mode (IMDSv2) was not forcibly used.
  • required: The security hardening mode (IMDSv2) was forcibly used.
NetworkInterfaces Array

The collection of ENIs of the instance.

NetworkInterface
MacAddress String 00:16:3e:32:b4:**

The MAC address of an ENI.

NetworkInterfaceId String eni-2zeh9atclduxvf1z****

The ID of an ENI.

PrimaryIpAddress String 172.17.**. ***

The private IP address of the primary ENI.

OSName String CentOS 7.4 64-bit

The name of the operating system for the instance.

OSNameEn String CentOS 7.4 64-bit

The English name of the operating system for the instance.

OSType String linux

The operating system type of the instance, including Windows Server and Linux. Valid values:

  • windows
  • linux
OperationLocks Array

The reason why the instance was locked.

LockReason
LockMsg String The specified instance is locked due to financial reason.

The description message returned when the instance is locked.

LockReason String Recycling

The type of the reason why the instance was locked. Valid values:

  • financial: The instance was locked due to overdue payments.
  • security: The instance was locked due to security reasons.
  • recycling: The preemptible instance was locked and is pending for release.
  • dedicatedhostfinancial: The ECS instance was locked due to overdue payments on the dedicated host.
  • refunded: The instance was locked because a refund was made for the instance.
PublicIpAddress List 121.40.61.***

The public IP address of the instance.

RdmaIpAddress List 10.10.10.102

The RDMA IP address of the HPC instance.

Recyclable Boolean false

Indicates whether the instance can be recycled.

RegionId String cn-hangzhou

The region ID of the instance.

ResourceGroupId String rg-bp67acfmxazb4p****

The ID of the enterprise resource group to which the instance belongs.

SaleCycle String month

The billing cycle of the instance.

SecurityGroupIds List sg-bp67acfmxazb4p****

The IDs of the security groups to which the instance belongs.

SerialNumber String 51d1353b-22bf-4567-a176-8b3e12e4****

The serial number of the instance.

SpotPriceLimit Float 0.98

The maximum hourly price for the instance. It can be accurate to three decimal places. This parameter takes effect when the SpotStrategy parameter is set to SpotWithPriceLimit.

SpotStrategy String NoSpot

The preemption policy for the preemptible instance. Valid values:

  • NoSpot: the regular pay-as-you-go instance.
  • SpotWithPriceLimit: the preemptible instance with a maximum hourly price.
  • SpotAsPriceGo: the preemptible instance priced at the market price at the time of purchase.
StartTime String 2017-12-10T04:04Z

The start time of the bidding mode for a preemptible instance.

Status String Running

The status of the instance.

StoppedMode String KeepCharging

Indicates whether the instance continues to be billed after it is stopped. Valid values:

  • KeepCharging: The billing of the instance continues after it is stopped, and resources in stock are reserved for the instance.
  • StopCharging: The billing of the instance stops after it is stopped. After the instance is stopped, its resources such as vCPUs, memory, and public IP address are released. You may be unable to restart the instance if some types of resources are out of stock in the current region.
  • Not-applicable: Only KeepCharging is applicable to the instance.
Tags Array

The tags of the instances.

Tag
TagKey String KeyTest

The tag key of the instance.

TagValue String ValueTest

The tag value of the instance.

VlanId String 10

The VLAN ID of the instance.

Note This parameter will be removed in the future. We recommend that you use other parameters to ensure future compatibility.
VpcAttributes Struct

The VPC attributes of the instance.

NatIpAddress String 172.17.**. ***

The IP address of the instance. It is used by ECS instances in different VPCs for communication.

PrivateIpAddress List 172.17.**. ***

The private IP address of the instance.

VSwitchId String vsw-2zeh0r1pabwtg6wcs****

The ID of the VSwitch.

VpcId String vpc-2zeuphj08tt7q3brd****

The ID of the VPC to which the instance belongs.

ZoneId String cn-hangzhou-g

The zone ID of the instance.

PageNumber Integer 1

The page number of the returned page.

PageSize Integer 1

The number of entries returned per page.

RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The ID of the request.

TotalCount Integer 58

The total number of instances queried.

Examples

Sample requests

https://ecs.aliyuncs.com/?Action=DescribeInstances
&RegionId=cn-hangzhou
&PageSize=1
PageNumber=1
&<Common request parameters>

Sample success responses

XML format

<DescribeInstancesResponse>
      <PageNumber>1</PageNumber>
      <TotalCount>6</TotalCount>
      <PageSize>10</PageSize>
      <RequestId>8EF01A45-FFFA-497B-B5C3-1DE1B74DB32D</RequestId>
      <Instances>
            <Instance>
                  <InnerIpAddress></InnerIpAddress>
                  <ImageId>ubuntu_16_0402_64_20G_alibase_20170818.vhd</ImageId>
                  <InstanceTypeFamily>ecs.g5</InstanceTypeFamily>
                  <VlanId></VlanId>
                  <NetworkInterfaces>
                        <NetworkInterface>
                              <MacAddress>00:16:3e:32:b4:**</MacAddress>
                              <PrimaryIpAddress>172.17.XX.XXX</PrimaryIpAddress>
                              <NetworkInterfaceId>eni-2zeh9atclduxvf1z****</NetworkInterfaceId>
                        </NetworkInterface>
                  </NetworkInterfaces>
                  <InstanceId>XXXXXXXXXXX</InstanceId>
                  <EipAddress>
                        <IpAddress></IpAddress>
                        <AllocationId></AllocationId>
                        <InternetChargeType></InternetChargeType>
                  </EipAddress>
                  <InternetMaxBandwidthIn>50</InternetMaxBandwidthIn>
                  <ZoneId>cn-beijing-e</ZoneId>
                  <InternetChargeType>PayByBandwidth</InternetChargeType>
                  <SpotStrategy>NoSpot</SpotStrategy>
                  <StoppedMode>Not-applicable</StoppedMode>
                  <SerialNumber>d9bd1cdc-624d-4736-9da5-2ba2f741****</SerialNumber>
                  <IoOptimized>true</IoOptimized>
                  <Memory>8192</Memory>
                  <Cpu>2</Cpu>
                  <VpcAttributes>
                        <NatIpAddress></NatIpAddress>
                        <PrivateIpAddress>
                              <IpAddress>172.17.XX.XXX</IpAddress>
                        </PrivateIpAddress>
                        <VSwitchId>vsw-2zeh0r1pabwtg6wcs****</VSwitchId>
                        <VpcId>vpc-2zeuphj08tt7q3brd****</VpcId>
                  </VpcAttributes>
                  <InternetMaxBandwidthOut>1</InternetMaxBandwidthOut>
                  <SecurityGroupIds>
                        <SecurityGroupId>sg-2ze21r9qb638hvtr****</SecurityGroupId>
                  </SecurityGroupIds>
                  <SpotPriceLimit>0.0</SpotPriceLimit>
                  <SaleCycle>Week</SaleCycle>
                  <AutoReleaseTime></AutoReleaseTime>
                  <InstanceName>ECS-BUY-2017-57-10</InstanceName>
                  <Description></Description>
                  <ResourceGroupId></ResourceGroupId>
                  <OSType>linux</OSType>
                  <OSName>Ubuntu 16.04 64</OSName>
                  <InstanceNetworkType>vpc</InstanceNetworkType>
                  <PublicIpAddress>
                        <IpAddress>47.94.XX.XX</IpAddress>
                  </PublicIpAddress>
                  <HostName>iZ2zeh9atclduxvf1zx****</HostName>
                  <InstanceType>ecs.g5.large</InstanceType>
                  <CreationTime>2017-12-10T04:04Z</CreationTime>
                  <Tags>
                        <Tag>
                              <TagValue>fqwfew</TagValue>
                              <TagKey>fefqe</TagKey>
                        </Tag>
                        <Tag>
                              <TagValue>weqfwq</TagValue>
                              <TagKey>fqewfwqewf</TagKey>
                        </Tag>
                        <Tag>
                              <TagValue>ewqffeqw</TagValue>
                              <TagKey>fqfwewfqw</TagKey>
                        </Tag>
                  </Tags>
                  <Status>Running</Status>
                  <MetadataOptions>
                        <HttpTokens></HttpTokens>
                        <HttpEndpoint></HttpEndpoint>
                  </MetadataOptions>
                  <ClusterId></ClusterId>
                  <Recyclable>false</Recyclable>
                  <RegionId>cn-beijing</RegionId>
                  <GPUSpec></GPUSpec>
                  <OperationLocks></OperationLocks>
                  <GPUAmount>0</GPUAmount>
                  <InstanceChargeType>PrePaid</InstanceChargeType>
                  <ExpiredTime>2017-12-17T16:00Z</ExpiredTime>
            </Instance>
      </Instances>
</DescribeInstancesResponse>

JSON format

{
    "PageNumber": 1,
    "TotalCount": 58,
    "PageSize": 1,
    "RequestId": "97935DF1-0289-4AA2-9DD1-72377838B16B",
    "Instances": {
        "Instance": [
            {
                "ImageId": "centos_7_06_64_20G_alibase_20190711.vhd",
                "VlanId": "",
                "EipAddress": {
                    "IpAddress": "",
                    "AllocationId": "",
                    "InternetChargeType": ""
                },
                "ZoneId": "cn-hangzhou-f",
                "IoOptimized": true,
                "SerialNumber": "51d1353b-22bf-4567-a176-8b3e12e43***",
                "Cpu": 2,
                "Memory": 8192,
                "DeviceAvailable": true,
                "SecurityGroupIds": {
                    "SecurityGroupId": [
                        "sg-bp17zljqpohu6j2i****"
                    ]
                },
                "SaleCycle": "",
                "AutoReleaseTime": "",
                "ResourceGroupId": "",
                "OSType": "linux",
                "OSName": "CentOS 7.6 64-bit",
                "InstanceNetworkType": "classic",
                "HostName": "iZbp1j4i2jdf3owlheb****",
                "CreationTime": "2019-11-11T08:35Z",
                "Tags": {
                    "Tag": [
                        {
                            "TagValue": "asg-bp1d8uuut40f4qc4****",
                            "TagKey": "acs:autoscaling:scalingGroupId"
                        },
                        {
                            "TagValue": "ESS",
                            "TagKey": "ESS"
                        }
                    ]
                },
                "EcsCapacityReservationAttr": {
                    "CapacityReservationPreference": "none",
                    "CapacityReservationId": ""
                },
                "RegionId": "cn-hangzhou",
                "DeletionProtection": false,
                "OperationLocks": {
                    "LockReason": []
                },
                "ExpiredTime": "2099-12-31T15:59Z",
                "CpuOptions": {
                    "Numa": "",
                    "ThreadsPerCore": 2,
                    "CoreCount": 1
                },
                "InnerIpAddress": {
                    "IpAddress": [
                        "10.80.61.42"
                    ]
                },
                "InstanceTypeFamily": "ecs.mn4",
                "InstanceId": "i-bp1j4i2jdf3owlhe****",
                "InternetMaxBandwidthIn": 50,
                "CreditSpecification": "",
                "InternetChargeType": "PayByTraffic",
                "SpotStrategy": "NoSpot",
                "StoppedMode": "Not-applicable",
                "InternetMaxBandwidthOut": 1,
                "VpcAttributes": {
                    "NatIpAddress": "",
                    "PrivateIpAddress": {
                        "IpAddress": []
                    },
                    "VSwitchId": "",
                    "VpcId": ""
                },
                "SpotPriceLimit": 0,
                "StartTime": "2019-11-11T08:35Z",
                "InstanceName": "ECS-asg-MyFirstScalingGroup",
                "Description": "ECS",
                "OSNameEn": "CentOS 7.6 64 bit",
                "PublicIpAddress": {
                    "IpAddress": [
                        "121.40.77.XXX"
                    ]
                },
                "InstanceType": "ecs.mn4.large",
                "Status": "Running",
                "MetadataOptions": {
                    "HttpTokens": "",
                    "HttpEndpoint": ""
                },
                "Recyclable": false,
                "ClusterId": "",
                "GPUSpec": "",
                "InstanceChargeType": "PostPaid",
                "GPUAmount": 0,
                "DedicatedHostAttribute": {
                    "DedicatedHostId": "",
                    "DedicatedHostName": ""
                },
                "DedicatedInstanceAttribute": {
                    "Affinity": "",
                    "Tenancy": ""
                },
                "DeploymentSetId": ""
            }
        ]
    }
}

Error codes

HTTP status code Error code Error message Description
404 InvalidInstanceChargeType.NotFound The InstanceChargeType does not exist in our records The error message returned because the specified InstanceChargeType parameter does not exist.
404 InvalidInternetChargeType.ValueNotSupported The specified InternetChargeType is not valid The error message returned because the specified billing method for network usage is invalid.
404 InvalidLockReason.NotFound The specified LockReason is not found The error message returned because the specified type of the reason why the instance was locked does not exist.
404 InvalidFilterKey.NotFound The error message returned because the specified start time or end time is invalid.
404 InvalidNetworkType.NotFound The specified InstanceNetworkType is not found The error message returned because the specified network type of the instance does not exist.
404 InvalidStatus.NotFound The specified Status is not found The error message returned because the specified resource status does not exist.
400 InvalidTag.Mismatch The specified Tag.n.Key and Tag.n.Value are not match. The error message returned because the specified Tag.N.Key and Tag.N.Value parameters do not match.
400 InvalidTagCount The specified tags are beyond the permitted range. The error message returned because the number of specified tags exceeds the upper limit.
400 InvalidHpcClusterId.NotFound The specified HpcClusterId is not found. The error message returned because the specified HPC cluster ID does not exist.
400 InvalidHpcClusterId.Creating The specified HpcClusterId is creating. The error message returned because the specified HPC cluster to which the instance belongs is being created.

For a list of error codes, visit the API Error Center.