Tüm Ürünler
Search
Belge Merkezi

:ListInstancesWithEcsInfo

Son Güncelleme:Oct 03, 2026

Yönetilen ve yönetilmeyen örnekler hakkında ECS bilgileri de dahil olmak üzere bilgileri getirir.

Operation description

Bu işlem tarafından döndürülen örnek listesi yalnızca SysOM tarafından yönetilen makineleri içerir. Bir ECS örneği mevcut ancak SysOM tarafından yönetilmiyorsa, listede görünmez.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

sysom:ListInstancesWithEcsInfo

get

*All Resource

*

None None

Request syntax

GET /api/v1/am/instance/listInstancesWithEcsInfo HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

region

string

Yes

Örnekleri bölgeye göre filtreler.

cn-shenzhen

instance_id

string

No

Belirtilen örneğin aracı kurulum durumunu filtrelemek için örnek kimliğini belirtir.

i-bp118piqcio9tiwgh84b

instance_name

string

No

Bileşen örneğinin adı.

block-load-balancer-hjdm9

instance_id_name

string

No

Örnekleri örnek adı veya örnek kimliğine göre filtreler. Bulanık eşleştirme desteklenir.

84b

is_managed

integer

No

Örnekleri yönetim durumuna göre filtreler.

1

instance_tag

object

No

Örnekleri örnek etiketine göre filtreler.

key

string

No

Etiket anahtarı.

feature_dim_radar_chart

value

string

No

Etiket değeri.

test

public_ip

string

No

Örnekleri genel IP adresine göre filtreler.

1.1.1.1

private_ip

string

No

Örnekleri özel IP adresine göre filtreler.

1.1.1.1

resource_group_name

string

No

Örnekleri kaynak grubu adına göre filtreler.

default resource group

resource_group_id

string

No

Örnekleri kaynak grubu kimliğine göre filtreler.

rg-xxxxxxx

resource_group_id_name

string

No

Örnekleri kaynak grubu adı veya kaynak grubu kimliğine göre filtreler. Bulanık eşleştirme desteklenir.

default

health_status

string

No

Örnekleri sağlık durumuna göre filtreler.

healthy

os_name

string

No

Örnekleri işletim sistemi adına göre filtreler.

Alibaba Cloud Linux 3.2104 LTS 64bit

current

integer

No

Sayfalandırma için sayfa numarası. Bu alan geçerli sayfayı belirtir.

1

pageSize

integer

No

Sayfa başına giriş sayısı. Varsayılan değer: 10.

10

Response elements

Element

Type

Description

Example

object

Yanıt şeması.

code

string

Durum kodu.

Success

data

array<object>

Döndürülen veriler.

array<object>

Döndürülen sonuçlar.

cluster_id

string

Küme kimliği.

cbf7a37bc905d4682a3338b3744810269

instance_id

string

Örnek kimliği.

i-bp118piqcio9tiwgh84b

instance_name

string

Örnek adı.

allowed-repos-r2tzl

instance_tag

array<object>

Örnek etiketleri.

object

tag_key

string

Etiket anahtarı.

test_tag_key

tag_value

string

Etiket değeri.

test_tag_value

kernel_version

string

Çekirdek sürümü.

5.10.134-14.an8.x86_64

os_arch

string

ECS örneğinin mimarisi.

x86

os_health_score

string

Örneğin sağlık puanı.

100

os_name

string

Örneğin işletim sistemi adı.

Alibaba Cloud Linux 3.2104 LTS 64bit

private_ip

string

Örneğin özel IP adresi.

1.1.1.1

public_ip

string

Örneğin genel IP adresi.

1.1.1.1

resource_group_id

string

Kaynak grubu kimliği.

rg-xxxxxx

resource_group_name

string

Kaynak grubu adı.

default resource group

status

string

Örneğin çalışma durumu. Geçerli değerler:\n- Running: Örnek çalışıyor.\n- Offline: Örnek çevrimdışı.\n\n\n\n> Offline durumundaki bir örnek, düğüm ile SysOM sunucusu arasındaki kalp atışının kaybolduğunu gösterir. Bu, ilgili ECS örneğinin çalışmadığı anlamına gelmez.

Running

message

string

Hata mesajı. Boş bir değer, tüm verilerin okunduğunu gösterir.

result: code=1 msg=(Request failed, status_code != 200)

request_id

string

İstek kimliği.

35F91AAB-5FDF-5A22-B211-C7C6B00817D0

total

integer

Toplam kayıt sayısı.

319

Examples

Success response

JSON format

{
  "code": "Success",
  "data": [
    {
      "cluster_id": "cbf7a37bc905d4682a3338b3744810269",
      "instance_id": "i-bp118piqcio9tiwgh84b",
      "instance_name": "allowed-repos-r2tzl",
      "instance_tag": [
        {
          "tag_key": "test_tag_key",
          "tag_value": "test_tag_value"
        }
      ],
      "kernel_version": "5.10.134-14.an8.x86_64",
      "os_arch": "x86",
      "os_health_score": "100",
      "os_name": "Alibaba Cloud Linux  3.2104 LTS 64bit",
      "private_ip": "1.1.1.1",
      "public_ip": "1.1.1.1",
      "resource_group_id": "rg-xxxxxx",
      "resource_group_name": "default resource group",
      "status": "Running"
    }
  ],
  "message": "result: code=1 msg=(Request failed, status_code != 200)",
  "request_id": "35F91AAB-5FDF-5A22-B211-C7C6B00817D0",
  "total": 319
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.