All Products
Search
Document Center

CloudOps Orchestration Service:ListParameterVersions

Last Updated:Oct 14, 2024

Queries the versions of a common parameter.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • 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 Key: the condition key that is defined by the cloud service.
  • 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.
OperationAccess levelResource typeCondition keyAssociated operation
oos:ListParameterVersionslist
  • parameter
    acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID.

cn-hangzhou
NamestringYes

The name of the common parameter.

MyParameter
MaxResultsintegerNo

The number of entries per page. Valid values: 10 to 100. Default value: 50.

50
NextTokenstringNo

A pagination token. It can be used in the next request to retrieve a new page of results.

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 that was used in the next request to retrieve a new page of results.

MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB
RequestIdstring

The request ID.

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

The description of the common parameter.

parameter-description
MaxResultsinteger

The number of entries 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<object>

The information about the version of the common parameter.

ParameterVersionobject
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 last updated.

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

The user who updated the common parameter.

root(130900000)

Examples

Sample success responses

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 Service error codes.

Change history

Change timeSummary of changesOperation
No change history