Mengambil informasi tentang produk sebagai administrator.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:GetProductAsAdmin |
get |
*Product
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProductId |
string |
Yes |
ID produk. |
prod-bp18r7q127**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
0FEEF92D-4052-5202-87D0-3D8EC16F81BF |
| ProductDetail |
object |
Informasi tentang produk. |
|
| ProductArn |
string |
Alibaba Cloud Resource Name (ARN) dari produk. |
acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127**** |
| Description |
string |
Deskripsi produk. |
这是一个产品描述 |
| CreateTime |
string |
Waktu pembuatan. Waktu mengikuti standar ISO 8601 dalam format yyyy-MM-ddTHH:mm:ssZ. Waktu ditampilkan dalam UTC. |
2022-04-12T06:10:37Z |
| ProductId |
string |
ID produk. |
prod-bp18r7q127**** |
| ProductName |
string |
Nama produk. |
DEMO-创建ECS |
| ProviderName |
string |
Penyedia produk. |
IT团队 |
| ProductType |
string |
Tipe produk. Nilainya ditetapkan sebagai Ros, yang menunjukkan Resource Orchestration Service (ROS). |
Ros |
| TemplateType |
string |
Tipe templat produk. Nilai yang valid:
|
RosTerraformTemplate |
| TagOptions |
array<object> |
Opsi tag yang terkait dengan produk. |
|
|
object |
Opsi tag yang terkait dengan produk. |
||
| Active |
boolean |
Menunjukkan apakah opsi tag diaktifkan. Nilai yang valid:
|
true |
| TagOptionId |
string |
ID opsi tag. |
tag-bp1q65xd3j**** |
| Key |
string |
Kunci opsi tag. |
k1 |
| Value |
string |
Nilai opsi tag. |
v1 |
| Owner |
string |
ID pemilik opsi tag. |
133413081827**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"ProductDetail": {
"ProductArn": "acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****",
"Description": "这是一个产品描述",
"CreateTime": "2022-04-12T06:10:37Z",
"ProductId": "prod-bp18r7q127****",
"ProductName": "DEMO-创建ECS",
"ProviderName": "IT团队",
"ProductType": "Ros",
"TemplateType": "RosTerraformTemplate"
},
"TagOptions": [
{
"Active": true,
"TagOptionId": "tag-bp1q65xd3j****",
"Key": "k1",
"Value": "v1",
"Owner": "133413081827****\n"
}
]
}
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.