Queries the parameter constraints for a Resource Orchestration Service (ROS) template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:GetServiceTemplateParameterConstraints |
get |
*Service
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ServiceId |
string |
Yes |
The service ID. |
service-1c11f365190c44xxxxxx |
| ServiceVersion |
string |
No |
The service version. |
draft |
| TemplateName |
string |
Yes |
The template name. |
模板1 |
| Parameters |
array<object> |
No |
The parameter information. |
|
|
object |
No |
|||
| ParameterKey |
string |
No |
The parameter name. |
PayType |
| ParameterValue |
string |
No |
The parameter value. |
PostPaid |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Generate a unique value for this parameter from your client. The value of ClientToken can contain only ASCII characters. |
10CM943JP0EN9D51H |
| DeployRegionId |
string |
Yes |
The ID of the deployment region. |
cn-huhehaote |
| ServiceInstanceId |
string |
No |
The service instance ID. |
si-d6ab3a63ccbb4b17**** |
| EnablePrivateVpcConnection |
boolean |
No |
Indicates whether PrivateLink is enabled. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C81C0732-DEBC-559C-B563-7EB2BEB21088 |
| ParameterConstraints |
array<object> |
The parameter information. |
|
|
object |
|||
| Type |
string |
The type of the parameter. |
String |
| AllowedValues |
array |
The valid values of the parameter. |
|
|
string |
A valid value of the parameter. |
"ecs.hfr6.16xlarge" |
|
| AssociationParameterNames |
array |
The list of associated parameters. |
|
|
string |
An associated parameter. |
"ZoneId1", "VSwitchId1" |
|
| ParameterKey |
string |
The name of the parameter. |
PayType |
| Behavior |
string |
The behavior of the parameter. Valid values:
Note
If the query result does not include AllowedValues, Behavior and BehaviorReason are returned to describe the behavior of the parameter and the reason for the behavior. |
NoLimit |
| BehaviorReason |
string |
The reason for the parameter behavior. |
none |
| OriginalConstraints |
array<object> |
The original constraint information. |
|
|
object |
|||
| AllowedValues |
array |
The valid values of the parameter. |
|
|
string |
A valid value of the parameter. |
"ecs.hfr6.16xlarge" |
|
| PropertyName |
string |
The property name. |
lnch_Source |
| ResourceName |
string |
The resource name. |
i-8vb0smn1lf6g77md**** |
| ResourceType |
string |
The resource type. |
serviceinstance |
| FamilyConstraints |
array |
The family constraints. |
|
|
string |
A family constraint. |
[] |
Examples
Success response
JSON format
{
"RequestId": "C81C0732-DEBC-559C-B563-7EB2BEB21088",
"ParameterConstraints": [
{
"Type": "String",
"AllowedValues": [
"\"ecs.hfr6.16xlarge\""
],
"AssociationParameterNames": [
"\"ZoneId1\",\n \"VSwitchId1\""
],
"ParameterKey": "PayType",
"Behavior": "NoLimit",
"BehaviorReason": "none",
"OriginalConstraints": [
{
"AllowedValues": [
"\"ecs.hfr6.16xlarge\""
],
"PropertyName": "lnch_Source",
"ResourceName": "i-8vb0smn1lf6g77md****",
"ResourceType": "serviceinstance"
}
]
}
],
"FamilyConstraints": [
"[]"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.