InstanceStateType

The InstanceStateTypedata type.

The following table describes the elements contained in InstanceStateType.

NameDescription

code

A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented:

  • 0: pending

  • 16: running

  • 32: shutting-down

  • 48: terminated

Type: xsd:int

state

The current state of the instance.

  • pending: the instance is in the process of being launched

  • running: the instance launched (although the boot process might not be completed)

  • shutting-down: the instance started shutting down

  • terminated: the instance terminated

Type: xsd:string