Instance

Updated at:

Parameter

Type

Description

Example

object

A short description of struct

HostIP

string

The host IP address of the instance.

11.0.XX.XX

HostName

string

The hostname of the host where the instance resides.

smart-scene-cls-854dbdc99d-****

InnerIP

string

The internal IP address of the instance.

172.17.0.17

InstanceName

string

The name of the instance.

foo-5fc8946767-v****

InstancePort

integer

The network port of the instance.

8080

LastState

array

The last exit state of the instance.

object

The state details.

{}

Namespace

string

The namespace of the instance.

foo

Reason

string

The reason for the current state of the instance.

RUNNING

RestartCount

integer

The number of times the instance has been restarted.

1

Status

string

The instance status.

Running

TotalProcesses

integer

The total number of processes in the instance.

1

ReadyProcesses

integer

The number of processes that have been started in the instance.

1

StartAt

string

The start time of the instance. [Deprecated] Use StartTime instead.

2021-05-27T09:46:05Z

Role

string

The service role to which the instance belongs, such as Queue, DataLoader, and Standard.

Standard

ResourceType

string

The type of the resource group to which the instance belongs, such as PublicResource and PrivateResource.

PublicResource

TenantInstanceIP

string

The IP address of the VPC where the instance resides.

192.168.xx.xx

TenantHostIP

string

The IP address of the VPC where the host resides.

192.168.xx.xx

IsSpot

boolean

Indicates whether the instance is a spot instance.

false

CurrentAmount

number

The current hourly price of the spot instance.

0.444

OriginalAmount

number

The original price of the spot instance before discount.

2.2

Isolated

boolean

Indicates whether the instance receives traffic.

false

Zone

string

The zone to which the instance belongs.

cn-shanghai-a

ExternalIP

string

The IP address of the instance in the user VPC.

192.168.1.100

ExternalInstancePort

integer

The port number of the instance in the user VPC.

8080

StartTime

string

The start time of the instance.

2021-05-27T09:46:05Z

InstanceType

string

The instance type.

ecs.c7.large

IsLatest

boolean

Indicates whether the instance is the latest version.

true

Detached

boolean

Indicates whether the instance is isolated.

false

IsReplica

boolean

Indicates whether the instance is a replica.

false

ReplicaName

string

The name of the replica.

xwq-sglang-dist-7dff0

CreateTime

string

The creation time of the instance.

2021-05-27T09:46:05Z