Retrieves the details of one or more parameters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:GetParameters |
get |
*parameter
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| Names |
string |
Yes |
The parameter names. You can specify multiple parameter names in a JSON array in the format of ["xxxxxxxxx", "yyyyyyyyy", … "zzzzzzzzz"]. A maximum of 10 parameter names are supported. Separate multiple parameter names with commas (,). |
["parameter1","parameter2"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
2597E94B-5346-42D1-BB58-D3333EDD0975 |
| InvalidParameters |
array |
The list of invalid parameters. |
|
|
string |
The invalid parameter. |
InvalidParameter |
|
| Parameters |
array<object> |
The parameter information. |
|
|
array<object> |
|||
| Type |
string |
The parameter type. |
StringList |
| UpdatedDate |
string |
The time when the parameter was last updated. |
2020-10-22T03:30:45Z |
| UpdatedBy |
string |
The user who last updated the parameter. |
root(130900000) |
| Tags |
object |
The tags. |
{"k1": "v1", "k2": "v2"} |
| Value |
string |
The parameter value. |
parameter,parameter1 |
| Description |
string |
The description of the parameter. |
parameter |
| Constraints |
string |
The constraints of the parameter. |
{\"MaxLength\": 2} |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmxsn4m4****** |
| CreatedBy |
string |
The user who created the parameter. |
root(130900000) |
| CreatedDate |
string |
The time when the parameter was created. |
2020-10-22T03:30:45Z |
| ParameterVersion |
integer |
The version number of the parameter. |
1 |
| Name |
string |
The parameter name. |
MyParameter |
| Id |
string |
The parameter ID. |
p-7cdc0000000000000000 |
| ShareType |
string |
The share type of the parameter. |
Private |
Examples
Success response
JSON format
{
"RequestId": "2597E94B-5346-42D1-BB58-D3333EDD0975",
"InvalidParameters": [
"InvalidParameter"
],
"Parameters": [
{
"Type": "StringList",
"UpdatedDate": "2020-10-22T03:30:45Z",
"UpdatedBy": "root(130900000)",
"Tags": {
"k1": "v1",
"k2": "v2"
},
"Value": "parameter,parameter1",
"Description": "parameter",
"Constraints": "{\\\"MaxLength\\\": 2}",
"ResourceGroupId": "rg-acfmxsn4m4******",
"CreatedBy": "root(130900000)",
"CreatedDate": "2020-10-22T03:30:45Z",
"ParameterVersion": 1,
"Name": "MyParameter",
"Id": "p-7cdc0000000000000000",
"ShareType": "Private"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.