All Products
Search
Document Center

CloudOps Orchestration Service:ListActions

Last Updated:Oct 14, 2024

Queries the available actions, including atomic actions and cloud product actions.

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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The ID of the region.

cn-hangzhou
OOSActionNamestringNo

The name of the action. All actions whose names contain the specified action name are returned.

MyTemplate
MaxResultsintegerNo

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

50
NextTokenstringNo

The token that is used to retrieve the next page of results.

-

Response parameters

ParameterTypeDescriptionExample
object
NextTokenstring

The token that is used to retrieve the next page of results.

xxx
RequestIdstring

The ID of the request.

F9154C02-F847-4563-BB6A-6DD01A4F0
MaxResultsinteger

The number of entries returned per page.

50
Actionsarray<object>

The details of the actions.

Actionobject
Popularityinteger

The number of times that the action is used.

5
ActionTypestring

The type of the action.

  1. Atomic actions

    • Atomic.API
    • Atomic.Trigger
    • Atomic.Control
    • Atomic.Embedded
  2. Cloud product actions

    • Product.ECS
    • Product.RDS
    • Product.VPC
    • Product.FC
    • ...
ACS::Template
Descriptionstring

The description of the action.

ReplaceSystemDisk
CreatedDatestring

The time when the action was created.

2019-05-16T10:26:14Z
TemplateVersionstring

The version of the template that corresponds to the action.

Note For atomic actions, this parameter is not returned.
v1
OOSActionNamestring

The name of the action.

ACS::ECS::ReplaceSystemDisk
Propertiesstring

The parameters of the action.

{ "ImageId": { "Description": "The mirror ID you will use when resetting the system", "Type": "String" }, "InstanceId": { "Description": "the instance id that you will handle .", "Type": "String" } }

Examples

Sample success responses

JSONformat

{
  "NextToken": "xxx",
  "RequestId": "F9154C02-F847-4563-BB6A-6DD01A4F0",
  "MaxResults": 50,
  "Actions": [
    {
      "Popularity": 5,
      "ActionType": "ACS::Template",
      "Description": "ReplaceSystemDisk",
      "CreatedDate": "2019-05-16T10:26:14Z",
      "TemplateVersion": "v1",
      "OOSActionName": "ACS::ECS::ReplaceSystemDisk",
      "Properties": "{ \"ImageId\": { \"Description\": \"The mirror ID you will use when resetting the system\", \"Type\": \"String\" }, \"InstanceId\": { \"Description\": \"the instance id that you will handle .\", \"Type\": \"String\" } }"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-08-14The internal configuration of the API is changed, but the call is not affectedView Change Details