All Products
Search
Document Center

Operation Orchestration Service:ListParameterVersions

Last Updated:Feb 07, 2023

Queries versions of a common parameter.

Authorization information

The following table is the authorization information corresponding to the API, which can be found in the RAM permission policy statement.Action Used in the element to grant the RAM user or RAM role permission to call this API. The specific instructions are as follows:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All resources is used in the Resource type column of the operation.
  • Condition keyword: refers to the condition keyword defined by the cloud product itself.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operateaccess levelResource typeconditional keywordAssociation operation
oos:ListParameterVersionsLIST
  • OOS
    acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}
    without
without

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The ID of the region.

cn-hangzhou
NamestringYes

The name of the common parameter.

MyParameter
MaxResultsintegerNo

The number of entries to return on each page. Valid values: 10 to 100. Default value: 50.

50
NextTokenstringNo

The pagination token.

MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB
ShareTypestringNo

The share type of the common parameter.

Private

Response parameters

ParameterTypeDescriptionExample
object
Typestring

The data type of the common parameter.

String
NextTokenstring

The pagination token.

MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB
RequestIdstring

The ID of the request.

FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA
Descriptionstring

The description of the common parameter.

parameter-description
MaxResultsinteger

The number of entries returned per page.

50
CreatedBystring

The user who created the common parameter.

root(130900000)
CreatedDatestring

The time when the common parameter was created.

2020-09-07T11:37:29Z
Namestring

The name of the common parameter.

MyParameter
TotalCountinteger

The total number of entries returned.

50
Idstring

The ID of the common parameter.

p-a483b520e0axxxxxxxxx
ParameterVersionsarray

The version information of the common parameter.

object
ParameterVersioninteger

The version number of the common parameter.

1
Valuestring

The value of the common parameter.

MyParameter
UpdatedDatestring

The time when the common parameter was updated.

2020-09-07T11:37:29Z
UpdatedBystring

The user who updated the common parameter.

root(130900000)

Example

Normal return example

JSONFormat

{
  "Type": "String",
  "NextToken": "MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB",
  "RequestId": "FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA",
  "Description": "parameter-description",
  "MaxResults": 50,
  "CreatedBy": "root(130900000)",
  "CreatedDate": "2020-09-07T11:37:29Z",
  "Name": "MyParameter",
  "TotalCount": 50,
  "Id": "p-a483b520e0axxxxxxxxx",
  "ParameterVersions": [
    {
      "ParameterVersion": 1,
      "Value": "MyParameter",
      "UpdatedDate": "2020-09-07T11:37:29Z",
      "UpdatedBy": "root(130900000)"
    }
  ]
}

Error codes

For a list of error codes, visit the API error center.