All Products
Search
Document Center

Service Catalog:ListProvisionedProducts

Last Updated:Jun 10, 2026

Mengkueri instans produk.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

servicecatalog:ListProvisionedProducts

get

*ProvisionedProduct

acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/*

  • servicecatalog:UserLevel
None

Parameter permintaan

Parameter

Type

Required

Description

Example

Filters

array<object>

No

Kondisi filter.

object

No

Key

string

No

The name of the filter condition. Valid values:

  • ProvisionedProductName: performs exact matches by product instance name. Product instance names are not case-sensitive.

  • FullTextSearch: performs full-text searches by product instance name. Fuzzy match is supported.

ProvisionedProductName

Value

string

No

The value of the filter condition.

DEMO-ECS实例

SortBy

string

No

Bidang yang digunakan untuk mengurutkan data yang dikueri.

Tetapkan nilai ke CreateTime, yang menentukan pengatur waktu pembuatan instans produk.

CreateTime

SortOrder

string

No

Metode pengurutan. Nilai valid:

  • Asc: Pesanan menaik.

  • Desc (default): Pesanan menurun.

Desc

PageNumber

integer

No

Nomor halaman yang akan dikembalikan.

Halaman dimulai dari halaman 1. Nilai default: 1.

1

PageSize

integer

No

Jumlah entri yang akan dikembalikan pada setiap halaman.

Nilai valid: 1 hingga 100. Nilai default: 10.

10

AccessLevelFilter

string

No

Filter akses. Nilai valid:

  • User: mengkueri instans produk yang dibuat oleh pengirim permintaan saat ini. Ini adalah nilai default.

  • Account: mengkueri instans produk yang dimiliki oleh akun Alibaba Cloud saat ini.

User

Elemen respons

Element

Type

Description

Example

object

The response parameters.

ProvisionedProductDetails

array<object>

The product instances.

object

The details of the product instance.

ProvisionedProductName

string

The name of the product instance.

DEMO-ECS实例

ProvisionedProductId

string

The ID of the product instance.

pp-bp1ddg1n2a****

ProvisionedProductArn

string

The Alibaba Cloud Resource Name (ARN) of the product instance.

acs:servicecatalog:cn-hangzhou:146611588617****:provisionedproduct/pp-bp1ddg1n2a****

ProductId

string

The ID of the product.

prod-bp18r7q127****

ProductName

string

The name of the product.

DEMO-创建ECS

ProductVersionId

string

The ID of the product version.

pv-bp15e79d26****

ProductVersionName

string

The name of the product version.

1.0

LastTaskId

string

The ID of the task that was last run.

task-bp1dmg242c****

LastProvisioningTaskId

string

The ID of the task that was last run on the product instance.

The task can be one of the following types:

  • LaunchProduct: a task that launches the product.

  • UpdateProvisionedProduct: a task that updates the information about the product instance.

  • TerminateProvisionedProduct: a task that terminates the product instance.

task-bp1dmg242c****

LastSuccessfulProvisioningTaskId

string

The ID of the last task that was successfully run on the product instance.

The task can be one of the following types:

  • LaunchProduct: a task that launches the product.

  • UpdateProvisionedProduct: a task that updates the information about the product instance.

  • TerminateProvisionedProduct: a task that terminates the product instance.

task-bp1dmg242c****

OwnerPrincipalType

string

The type of the Resource Access Management (RAM) entity to which the product instance belongs. Valid values:

  • RamUser: a RAM user

  • RamRole: a RAM role

RamUser

OwnerPrincipalId

string

The ID of the RAM entity to which the product instance belongs.

24477111603637****

Status

string

The state of the product instance. Valid values:

  • Available: The product instance was available.

  • UnderChange: The information about the product instance was being changed.

  • Error: An exception occurred on the product instance.

Available

StatusMessage

string

The message that is returned for the status of the product instance.

Catatan

This parameter is returned only when Error is returned for the Status parameter.

Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...

CreateTime

string

The time when the product instance was created.

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

2022-05-23T09:46:27Z

PortfolioId

string

The ID of the product portfolio.

port-bp1yt7582g****

StackId

string

The ID of the Resource Orchestration Service (ROS) stack.

137e31df-3754-40b4-be2f-c793ad84****

StackRegionId

string

The ID of the region to which the ROS stack belongs.

cn-hangzhou

ProvisionedProductType

string

The type of the product instance.

The value is fixed as RosStack, which indicates an ROS stack.

RosStack

RequestId

string

The ID of the request.

0FEEF92D-4052-5202-87D0-3D8EC16F81BF

TotalCount

integer

The total number of entries returned.

2

PageNumber

integer

The page number of the returned page.

1

PageSize

integer

The number of entries returned per page.

10

Contoh

Respons sukses

JSONformat

{
  "ProvisionedProductDetails": [
    {
      "ProvisionedProductName": "DEMO-ECS实例",
      "ProvisionedProductId": "pp-bp1ddg1n2a****",
      "ProvisionedProductArn": "acs:servicecatalog:cn-hangzhou:146611588617****:provisionedproduct/pp-bp1ddg1n2a****",
      "ProductId": "prod-bp18r7q127****",
      "ProductName": "DEMO-创建ECS",
      "ProductVersionId": "pv-bp15e79d26****",
      "ProductVersionName": "1.0",
      "LastTaskId": "task-bp1dmg242c****",
      "LastProvisioningTaskId": "task-bp1dmg242c****",
      "LastSuccessfulProvisioningTaskId": "task-bp1dmg242c****",
      "OwnerPrincipalType": "RamUser",
      "OwnerPrincipalId": "24477111603637****",
      "Status": "Available",
      "StatusMessage": "Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...",
      "CreateTime": "2022-05-23T09:46:27Z",
      "PortfolioId": "port-bp1yt7582g****",
      "StackId": "137e31df-3754-40b4-be2f-c793ad84****",
      "StackRegionId": "cn-hangzhou",
      "ProvisionedProductType": "RosStack"
    }
  ],
  "RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
  "TotalCount": 2,
  "PageNumber": 1,
  "PageSize": 10
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

500 InternalError A system error occurred.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.