Mengkueri informasi format.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:GetConstraint |
get |
*Portfolio
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ConstraintId |
string |
Yes |
ID constraint. |
cons-bp1yx7x42v**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
0FEEF92D-4052-5202-87D0-3D8EC16F81BF |
| ConstraintDetail |
object |
The details of the constraint. |
|
| Config |
string |
The configuration of the constraint. Format: { "LocalRoleName": "<role_name>" }. |
{ "LocalRoleName": "TestRole" } |
| Description |
string |
The description of the constraint. |
Launch as local role TestRole |
| CreateTime |
string |
The time when the constraint was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2022-04-12T06:11:26Z |
| ConstraintId |
string |
The ID of the constraint. |
cons-bp1yx7x42v**** |
| PortfolioId |
string |
The ID of the product portfolio to which the constraint belongs. |
port-bp1yt7582g**** |
| ProductId |
string |
The ID of the product for which the constraint is created. |
prod-bp18r7q127**** |
| ConstraintType |
string |
The type of the constraint. The value is fixed as Launch, which indicates the launch constraint. |
Launch |
| ProductName |
string |
The name of the product. |
DEMO-创建ECS |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"ConstraintDetail": {
"Config": "{ \"LocalRoleName\": \"TestRole\" }",
"Description": "Launch as local role TestRole",
"CreateTime": "2022-04-12T06:11:26Z",
"ConstraintId": "cons-bp1yx7x42v****",
"PortfolioId": "port-bp1yt7582g****",
"ProductId": "prod-bp18r7q127****",
"ConstraintType": "Launch",
"ProductName": "DEMO-创建ECS"
}
}
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.