Skip to main content
Security & Audit/Security

GetAnhengInstance

Get an Anheng instance visible to the caller without exposing owner or AH internal recovery identifiers. Project administrators supply X-ZStack-Session for Project derivation; platform administrators retain the explicit global management read boundary and may omit the session. Owner lifecycle scope remains fixed global.

GET/api/v1/security/anheng/instances/{instanceUuid}

Operation ID

GetAnhengInstance

Since

1.2.8

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

Path Parameters

  • instanceUuid
    StringRequired

    Unique UUID of the instance

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • instanceUuid
    String

    Instance uuid for this resource

    Example: value

  • capabilityCode
    String

    Capability code for this resource

    Example: value

  • capabilityState
    String

    Capability state for this resource

    Example: value

  • taskState
    String

    Task state for this resource

    Example: value

  • enterReady
    Boolean

    Whether this instance can currently launch the AH console.

    Example: true

  • allowedActions
    List

    Allowed actions for this resource

    Example: item1,item2

  • blockedReasons
    List

    Blocked reasons for this resource

    Example: (nested array)

    • code
      String

      Machine-readable reason or status code

      Example: value

    • source
      String

      Source for this resource

      Example: value

    • message
      String

      Message for this resource

      Example: value

    • retryable
      Boolean

      Retryable for this resource

      Example: true

    • severity
      String

      Severity for this resource

      Example: value

    • owner
      String

      Owner for this resource

      Example: value

  • vm
    Object

    Virtual machine details associated with this resource

    • vmUuid
      String

      Vm uuid for this resource

      Example: value

    • state
      String

      State for this resource

      Example: value

    • ip
      String

      IP address assigned to the virtual machine

      Example: value

    • mac
      String

      MAC address assigned to the virtual machine

      Example: value

    • l3NetworkUuid
      String

      L3 network uuid for this resource

      Example: value

    • name
      String

      Human-readable name of this resource

      Example: my-resource

  • imageArtifactId
    String

    Image artifact id for this resource

    Example: value

  • currentSpecCode
    String

    Current spec code for this resource

    Example: value

  • expireTime
    String

    Expire time for this resource

    Example: 2026-01-15T08:00:00Z

  • lastTaskId
    String

    Last task id for this resource

    Example: value

  • currentTaskId
    String

    Current task id for this resource

    Example: value

  • currentTaskType
    String

    Current task type for this resource

    Example: value

  • currentTaskState
    String

    Current task state for this resource

    Example: value

  • currentSpec
    Object

    Current spec for this resource

    • cpuNum
      Integer

      Cpu num for this resource

      Example: 10

    • memoryBytes
      String

      Memory bytes for this resource

      Example: 10

    • rootDiskBytes
      String

      Root disk bytes for this resource

      Example: 10

    • dataDiskBytes
      List

      Data disk bytes for this resource

      Example: item1,item2

  • Change Time

    AddedRequest parameters X-ZStack-Session
    View API