View Actions

Details

API Details
Name

View Actions

Description
MethodGET
URI
  • v1/actions/actionId
  • v1/actions
  • /v1/actions?includeSystemDefinedActions=true

CloudCenter ReleaseIntroduced in CloudCenter 4.8.0.
Notes
ESB Header
  • action: get.actions  
  • action: get.actions.actionId
  • action: get.actions 
    actionparam: includeSystemDefinedActions=true

Example 1

curl -k -X GET -H "Accept: application/json" -H "Content-Type: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/actions"

Response

{
   "resource":null,
   "size":11,
   "pageNumber":0,
   "totalElements":11,
   "totalPages":1,
   "actionJaxbs":[
      {
         "id":"17",
         "resource":"https://<HOST>:<PORT>/v1/actions/17",
         "perms":[
            "delete",
            "read",
            "write",
            "administration"
         ],
         "name":"Add Tetration Sensor",
         "description":"",
         "actionType":"EXECUTE_COMMAND",
         "lastUpdatedTime":"2017-03-04 00:28:57.023",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":false,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "owner":2,
         "actionParameters":[
            {
               "paramName":"downloadFromBundle",
               "paramValue":"true",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"bundlePath",
               "paramValue":"https://dummy.com/",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"script",
               "paramValue":"https://dummy.com/",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"executeOnContainer",
               "paramValue":"true",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"rebootInstance",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"refreshInstanceInfo",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"refreshInstanceInfo",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            }
         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"IMPORTED_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[
                           "all"
                        ],
                        "cloudAccounts":[
                           "all"
                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[

                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"18",
         "resource":"https://<HOST>:<PORT>/v1/actions/18",
         "perms":[
            "delete",
            "read",
            "write",
            "administration"
         ],
         "name":"custome-action-1",
         "description":"custome-action-1",
         "actionType":"EXECUTE_COMMAND",
         "lastUpdatedTime":"2017-04-27 17:42:58.347",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":false,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "owner":2,
         "actionParameters":[
            {
               "paramName":"downloadFromBundle",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"script",
               "paramValue":"echo \"custome-action-1\"",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"executeOnContainer",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"rebootInstance",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"refreshInstanceInfo",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"refreshInstanceInfo",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            }
         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[
                           "all"
                        ],
                        "cloudRegions":[
                           "all"
                        ],
                        "cloudAccounts":[
                           "all"
                        ],
                        "services":[
                           "all"
                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[

                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"34",
         "resource":"https://<HOST>:<PORT>/v1/actions/34",
         "perms":[
            "delete",
            "read",
            "write",
            "administration"
         ],
         "name":"Execute on UCSD",
         "description":"",
         "actionType":"INVOKE_UCSD_WORKFLOW",
         "lastUpdatedTime":"2017-05-12 21:00:25.005",
         "timeOut":1200,
         "enabled":true,
         "encrypted":true,
         "deleted":false,
         "systemDefined":false,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "owner":2,
         "actionParameters":[
            {
               "paramName":"ucsdServer",
               "paramValue":"192.168.30.222",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"workflowName",
               "paramValue":"CreateSnapShot",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"apiKey",
               "paramValue":"XRbvgIyhdEkfeX0XYJtt+Ucp1jS+hFspfKfNwuRlkNwubLEG8TBpmcJnpvMo65cd",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            }
         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[
                           "all"
                        ],
                        "cloudRegions":[
                           "all"
                        ],
                        "cloudAccounts":[
                           "all"
                        ],
                        "services":[
                           "all"
                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[

                        ]
                     },
                     "isEditable":true
                  },
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"IMPORTED_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[
                           "all"
                        ],
                        "cloudAccounts":[
                           "all"
                        ],
                        "services":[

                        ],
                        "osTypes":[
                           "all"
                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[

                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"36",
         "resource":"https://<HOST>:<PORT>/v1/actions/36",
         "perms":[
            "delete",
            "read",
            "write",
            "administration"
         ],
         "name":"CreateDocDemoWebService",
         "description":"",
         "actionType":"INVOKE_WEB_SERVICE",
         "lastUpdatedTime":"2017-05-19 18:11:11.957",
         "timeOut":1200,
         "enabled":true,
         "encrypted":true,
         "deleted":false,
         "systemDefined":false,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "owner":2,
         "actionParameters":[
            {
               "paramName":"wsRequestType",
               "paramValue":"post",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsUsername",
               "paramValue":"admin@cliqrtech.com",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsUrl",
               "paramValue":"www.docs.cloudcenter.cisco.com/",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsProtocol",
               "paramValue":"http",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsCommandParams",
               "paramValue":"",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsPassword",
               "paramValue":"OHsc+XzCTi3adV8MBPFWxA==",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsContentType",
               "paramValue":"json",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsBody",
               "paramValue":"",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            }
         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[
                           "all"
                        ],
                        "cloudRegions":[
                           "all"
                        ],
                        "cloudAccounts":[
                           "all"
                        ],
                        "services":[
                           "all"
                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[

                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"37",
         "resource":"https://<HOST>:<PORT>/v1/actions/37",
         "perms":[
            "delete",
            "read",
            "write",
            "administration"
         ],
         "name":"DockDemoIWSdep",
         "description":"",
         "actionType":"INVOKE_WEB_SERVICE",
         "lastUpdatedTime":"2017-05-19 18:17:35.362",
         "timeOut":1200,
         "enabled":true,
         "encrypted":true,
         "deleted":false,
         "systemDefined":false,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "owner":2,
         "actionParameters":[
            {
               "paramName":"wsRequestType",
               "paramValue":"post",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsUsername",
               "paramValue":"admin@cliqrtech.com",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsUrl",
               "paramValue":"www.docs.cloudcenter.cisco.com",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsProtocol",
               "paramValue":"http",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsCommandParams",
               "paramValue":"",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsPassword",
               "paramValue":"OHsc+XzCTi3adV8MBPFWxA==",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsContentType",
               "paramValue":"json",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsBody",
               "paramValue":"",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            }
         ],
         "actionResourceMappings":[
            {
               "type":"DEPLOYMENT",
               "actionResourceFilters":[
                  {
                     "deploymentResource":{
                        "deploymentEnvironments":[
                           "all"
                        ],
                        "services":[
                           "all"
                        ]
                     },
                     "vmResource":null,
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"38",
         "resource":"https://<HOST>:<PORT>/v1/actions/38",
         "perms":[
            "delete",
            "read",
            "write",
            "administration"
         ],
         "name":"test111",
         "description":"",
         "actionType":"EXECUTE_COMMAND",
         "lastUpdatedTime":"2017-05-24 00:07:38.219",
         "timeOut":1200,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":false,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "owner":2,
         "actionParameters":[
            {
               "paramName":"downloadFromBundle",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"script",
               "paramValue":"test",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"executeOnContainer",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"rebootInstance",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"refreshInstanceInfo",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            }
         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[
                           "all"
                        ],
                        "cloudRegions":[
                           "all"
                        ],
                        "cloudAccounts":[
                           "all"
                        ],
                        "services":[
                           "all"
                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[

                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      }
   ]
}

Example 2

curl -k -X GET -H "Accept: application/json" -u cloudcenteradmin:40E45DBE57E35ECB  "https://<HOST>:<PORT>/v1/actions/15"

Response

{
   "id":"15",
   "resource":"https://<HOST>:<PORT>/v1/actions/15",
   "perms":[
      "delete",
      "read",
      "write",
      "administration"
   ],
   "name":"Test",
   "description":"",
   "actionType":"EXECUTE_COMMAND",
   "lastUpdatedTime":"2017-05-01 23:24:51.173",
   "timeOut":600,
   "enabled":true,
   "encrypted":false,
   "deleted":false,
   "systemDefined":false,
   "bulkOperationSupported":true,
   "isAvailableToUser":true,
   "owner":2,
   "actionParameters":[
      {
         "paramName":"downloadFromBundle",
         "paramValue":"false",
         "customParam":false,
         "required":true,
         "preference":"NOT_VISIBLE_LOCKED"
      },
      {
         "paramName":"script",
         "paramValue":"hkjhkgkjhk",
         "customParam":false,
         "required":true,
         "preference":"NOT_VISIBLE_LOCKED"
      },
      {
         "paramName":"executeOnContainer",
         "paramValue":"false",
         "customParam":false,
         "required":true,
         "preference":"NOT_VISIBLE_LOCKED"
      },
      {
         "paramName":"rebootInstance",
         "paramValue":"false",
         "customParam":false,
         "required":true,
         "preference":"NOT_VISIBLE_LOCKED"
      },
      {
         "paramName":"refreshInstanceInfo",
         "paramValue":"false",
         "customParam":false,
         "required":true,
         "preference":"NOT_VISIBLE_LOCKED"
      }
   ],
   "actionResourceMappings":[
      {
         "type":"VIRTUAL_MACHINE",
         "actionResourceFilters":[
            {
               "deploymentResource":null,
               "vmResource":{
                  "type":"DEPLOYMENT_VM",
                  "appProfiles":[
                     "all"
                  ],
                  "cloudRegions":[
                     "all"
                  ],
                  "cloudAccounts":[
                     "all"
                  ],
                  "services":[
                     "all"
                  ],
                  "osTypes":[

                  ],
                  "cloudFamilyNames":[

                  ],
                  "nodeStates":[

                  ],
                  "cloudResourceMappings":[

                  ]
               },
               "isEditable":true
            }
         ]
      }
   ],
   "actionResourceMappingAncillaries":[
      {
         "key":"repositories",
         "nvpairTypes":[

         ]
      }
   ],
   "actionCustomParamSpecs":[
      {
         "paramName":"hostname123",
         "displayName":"hostname123",
         "helpText":"",
         "type":"string",
         "valueList":null,
         "defaultValue":"",
         "confirmValue":null,
         "pathSuffixValue":"",
         "userVisible":true,
         "userEditable":true,
         "systemParam":false,
         "exampleValue":null,
         "dataUnit":null,
         "optional":false,
         "multiselectSupported":false,
         "valueConstraint":{
            "minValue":0,
            "maxValue":255,
            "maxLength":255,
            "regex":null,
            "allowSpaces":true,
            "sizeValue":0,
            "step":0,
            "calloutWorkflowName":null
         },
         "scope":null,
         "webserviceListParams":{
            "url":"",
            "protocol":"",
            "username":"",
            "password":"",
            "requestType":null,
            "contentType":null,
            "commandParams":null,
            "requestBody":null,
            "resultString":null
         },
         "collectionList":[

         ],
         "preference":"VISIBLE_UNLOCKED"
      },
      {
         "paramName":"hostname1234",
         "displayName":"hostname",
         "helpText":"",
         "type":"string",
         "valueList":null,
         "defaultValue":"kjhkjhk",
         "confirmValue":null,
         "pathSuffixValue":"",
         "userVisible":true,
         "userEditable":true,
         "systemParam":false,
         "exampleValue":null,
         "dataUnit":null,
         "optional":true,
         "multiselectSupported":false,
         "valueConstraint":{
            "minValue":0,
            "maxValue":255,
            "maxLength":255,
            "regex":null,
            "allowSpaces":true,
            "sizeValue":0,
            "step":0,
            "calloutWorkflowName":null
         },
         "scope":null,
         "webserviceListParams":{
            "url":"",
            "protocol":"",
            "username":"",
            "password":"",
            "requestType":null,
            "contentType":null,
            "commandParams":null,
            "requestBody":null,
            "resultString":null
         },
         "collectionList":[

         ],
         "preference":"VISIBLE_UNLOCKED"
      }
   ]
}

Example 3 – includeSystemDefinedActions=true

curl -k -X GET -H "Accept: application/json" -u cloudcenteradmin:40E45DBE57E35ECB  "https://<HOST>:<PORT>/v1/actions?includeSystemDefinedActions=true"

The response to this API includes an ID as well as the actionType. Specify the actionType in the URL to view a single response. For example, to view the details of an import action, issue the following request:


curl -k -X GET -H "Accept: application/json" -u cloudcenteradmin:40E45DBE57E35ECB  "https://<HOST>:<PORT>/v1/actions?includeSystemDefinedActions=true&actionType=IMPORT_VM"

Response

{
   "resource":null,
   "size":14,
   "pageNumber":0,
   "totalElements":14,
   "totalPages":1,
   "actionJaxbs":[
      {
         "id":"13",
         "resource":"https://<HOST>:<PORT>/v1/actions/13",
         "name":"Install CloudCenter Agent",
         "description":"pushes agent lite on brownfield virtual machines",
         "actionType":"PUSH_AGENT",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"IMPORTED_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[
                           "all"
                        ],
                        "cloudAccounts":[
                           "all"
                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"all",
                              "nodeStates":[
                                 "NodeStarted",
                                 "NodeReady"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[
            {
               "paramName":"osType",
               "displayName":"Os Type",
               "helpText":null,
               "type":"radio",
               "valueList":"[{\"title\":\"Linux\",\"key\":\"linux\"},{\"title\" : \"Windows\",\"key\" : \"Windows\"}]",
               "defaultValue":"linux",
               "confirmValue":null,
               "pathSuffixValue":"",
               "userVisible":true,
               "userEditable":true,
               "systemParam":false,
               "exampleValue":null,
               "dataUnit":null,
               "optional":false,
               "deploymentParam":false,
               "multiselectSupported":false,
               "valueConstraint":{
                  "minValue":0,
                  "maxValue":255,
                  "maxLength":255,
                  "regex":null,
                  "allowSpaces":true,
                  "sizeValue":0,
                  "step":0,
                  "calloutWorkflowName":null
               },
               "scope":null,
               "webserviceListParams":{
                  "url":null,
                  "protocol":null,
                  "username":null,
                  "password":null,
                  "requestType":null,
                  "contentType":null,
                  "commandParams":null,
                  "requestBody":null,
                  "resultString":null
               },
               "collectionList":[

               ],
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"domain",
               "displayName":"Domain",
               "helpText":null,
               "type":"string",
               "valueList":null,
               "defaultValue":"",
               "confirmValue":null,
               "pathSuffixValue":"",
               "userVisible":true,
               "userEditable":true,
               "systemParam":false,
               "exampleValue":null,
               "dataUnit":null,
               "optional":true,
               "deploymentParam":false,
               "multiselectSupported":false,
               "valueConstraint":{
                  "minValue":0,
                  "maxValue":255,
                  "maxLength":255,
                  "regex":null,
                  "allowSpaces":true,
                  "sizeValue":0,
                  "step":0,
                  "calloutWorkflowName":null
               },
               "scope":null,
               "webserviceListParams":{
                  "url":null,
                  "protocol":null,
                  "username":null,
                  "password":null,
                  "requestType":null,
                  "contentType":null,
                  "commandParams":null,
                  "requestBody":null,
                  "resultString":null
               },
               "collectionList":[

               ],
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"authType",
               "displayName":"Authentication Type",
               "helpText":null,
               "type":"radio",
               "valueList":"[{\"title\":\"SSH Key\",\"key\":\"ssh_key\"},{\"title\" : \"Password\",\"key\" : \"password\"}]",
               "defaultValue":"ssh_key",
               "confirmValue":null,
               "pathSuffixValue":"",
               "userVisible":true,
               "userEditable":true,
               "systemParam":false,
               "exampleValue":null,
               "dataUnit":null,
               "optional":false,
               "deploymentParam":false,
               "multiselectSupported":false,
               "valueConstraint":{
                  "minValue":0,
                  "maxValue":255,
                  "maxLength":255,
                  "regex":null,
                  "allowSpaces":true,
                  "sizeValue":0,
                  "step":0,
                  "calloutWorkflowName":null
               },
               "scope":null,
               "webserviceListParams":{
                  "url":null,
                  "protocol":null,
                  "username":null,
                  "password":null,
                  "requestType":null,
                  "contentType":null,
                  "commandParams":null,
                  "requestBody":null,
                  "resultString":null
               },
               "collectionList":[

               ],
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"user",
               "displayName":"User",
               "helpText":"virtual machine user",
               "type":"string",
               "valueList":null,
               "defaultValue":"root",
               "confirmValue":null,
               "pathSuffixValue":"",
               "userVisible":true,
               "userEditable":true,
               "systemParam":false,
               "exampleValue":null,
               "dataUnit":null,
               "optional":false,
               "deploymentParam":false,
               "multiselectSupported":false,
               "valueConstraint":{
                  "minValue":0,
                  "maxValue":255,
                  "maxLength":255,
                  "regex":null,
                  "allowSpaces":true,
                  "sizeValue":0,
                  "step":0,
                  "calloutWorkflowName":null
               },
               "scope":null,
               "webserviceListParams":{
                  "url":null,
                  "protocol":null,
                  "username":null,
                  "password":null,
                  "requestType":null,
                  "contentType":null,
                  "commandParams":null,
                  "requestBody":null,
                  "resultString":null
               },
               "collectionList":[

               ],
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"password",
               "displayName":"Password",
               "helpText":null,
               "type":"string",
               "valueList":null,
               "defaultValue":"",
               "confirmValue":null,
               "pathSuffixValue":"",
               "userVisible":true,
               "userEditable":true,
               "systemParam":false,
               "exampleValue":null,
               "dataUnit":null,
               "optional":true,
               "deploymentParam":false,
               "multiselectSupported":false,
               "valueConstraint":{
                  "minValue":0,
                  "maxValue":255,
                  "maxLength":255,
                  "regex":null,
                  "allowSpaces":true,
                  "sizeValue":0,
                  "step":0,
                  "calloutWorkflowName":null
               },
               "scope":null,
               "webserviceListParams":{
                  "url":null,
                  "protocol":null,
                  "username":null,
                  "password":null,
                  "requestType":null,
                  "contentType":null,
                  "commandParams":null,
                  "requestBody":null,
                  "resultString":null
               },
               "collectionList":[

               ],
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"ssh_key",
               "displayName":"SSH Key",
               "helpText":"key to login to the node",
               "type":"string",
               "valueList":null,
               "defaultValue":"",
               "confirmValue":null,
               "pathSuffixValue":"",
               "userVisible":true,
               "userEditable":true,
               "systemParam":false,
               "exampleValue":null,
               "dataUnit":null,
               "optional":true,
               "deploymentParam":false,
               "multiselectSupported":false,
               "valueConstraint":{
                  "minValue":0,
                  "maxValue":255,
                  "maxLength":255,
                  "regex":null,
                  "allowSpaces":true,
                  "sizeValue":0,
                  "step":0,
                  "calloutWorkflowName":null
               },
               "scope":null,
               "webserviceListParams":{
                  "url":null,
                  "protocol":null,
                  "username":null,
                  "password":null,
                  "requestType":null,
                  "contentType":null,
                  "commandParams":null,
                  "requestBody":null,
                  "resultString":null
               },
               "collectionList":[

               ],
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"executeOnContainer",
               "displayName":"executeOnContainer",
               "helpText":null,
               "type":"string",
               "valueList":null,
               "defaultValue":"true",
               "confirmValue":null,
               "pathSuffixValue":"",
               "userVisible":false,
               "userEditable":true,
               "systemParam":false,
               "exampleValue":null,
               "dataUnit":null,
               "optional":false,
               "deploymentParam":false,
               "multiselectSupported":false,
               "valueConstraint":{
                  "minValue":0,
                  "maxValue":255,
                  "maxLength":255,
                  "regex":null,
                  "allowSpaces":true,
                  "sizeValue":0,
                  "step":0,
                  "calloutWorkflowName":null
               },
               "scope":null,
               "webserviceListParams":{
                  "url":null,
                  "protocol":null,
                  "username":null,
                  "password":null,
                  "requestType":null,
                  "contentType":null,
                  "commandParams":null,
                  "requestBody":null,
                  "resultString":null
               },
               "collectionList":[

               ],
               "preference":"NOT_VISIBLE_LOCKED"
            }
         ]
      },
      {
         "id":"6",
         "resource":"https://<HOST>:<PORT>/v1/actions/6",
         "name":"Detach Volume",
         "description":"detach volume",
         "actionType":"INSTANCE_DETACH_VOLUME",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":false,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[

                        ],
                        "cloudAccounts":[

                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"Amazon",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           },
                           {
                              "cloudFamily":"Openstack",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           },
                           {
                              "cloudFamily":"Vmware",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           },
                           {
                              "cloudFamily":"Google",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           },
                           {
                              "cloudFamily":"Vcd",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"2",
         "resource":"https://<HOST>:<PORT>/v1/actions/2",
         "name":"Start",
         "description":"start the instance",
         "actionType":"INSTANCE_START",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[

                        ],
                        "cloudAccounts":[

                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"all",
                              "nodeStates":[
                                 "NodeSuspended"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"1",
         "resource":"https://<HOST>:<PORT>/v1/actions/1",
         "name":"Stop",
         "description":"stop the instance",
         "actionType":"INSTANCE_STOP",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[

                        ],
                        "cloudAccounts":[

                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"all",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"12",
         "resource":"https://<HOST>:<PORT>/v1/actions/12",
         "perms":[
            "write",
            "administration",
            "read",
            "delete"
         ],
         "name":"EchoHelloWorld",
         "description":"Echoes hello world",
         "actionType":"EXECUTE_COMMAND",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":false,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":2,
         "actionParameters":[
            {
               "paramName":"downloadFromBundle",
               "paramValue":"false",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"script",
               "paramValue":"echo \"hello world\"",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"executeOnContainer",
               "paramValue":"",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"rebootInstance",
               "paramValue":"",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            },
            {
               "paramName":"refreshInstanceInfo",
               "paramValue":"",
               "customParam":false,
               "required":true,
               "preference":"VISIBLE_UNLOCKED"
            }
         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"IMPORTED_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[
                           "2"
                        ],
                        "cloudAccounts":[
                           "2"
                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[

                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"16",
         "resource":"https://<HOST>:<PORT>/v1/actions/16",
         "perms":[
            "write",
            "administration",
            "read",
            "delete"
         ],
         "name":"TestWebservice",
         "description":"",
         "actionType":"INVOKE_WEB_SERVICE",
         "lastUpdatedTime":"2017-04-20 01:27:08.756",
         "timeOut":1200,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":false,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":2,
         "actionParameters":[
            {
               "paramName":"wsRequestType",
               "paramValue":"get",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsUsername",
               "paramValue":"",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsUrl",
               "paramValue":"<HOST>:<PORT>/v1/tenants/1/services",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsProtocol",
               "paramValue":"http",
               "customParam":false,
               "required":true,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsCommandParams",
               "paramValue":"",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsPassword",
               "paramValue":"",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsContentType",
               "paramValue":"json",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            },
            {
               "paramName":"wsBody",
               "paramValue":"",
               "customParam":false,
               "required":false,
               "preference":"NOT_VISIBLE_LOCKED"
            }
         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"IMPORTED_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[
                           "all"
                        ],
                        "cloudAccounts":[
                           "all"
                        ],
                        "services":[

                        ],
                        "osTypes":[
                           "all"
                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[

                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[
            {
               "paramName":"size",
               "displayName":"total records",
               "helpText":"",
               "type":"webservice",
               "valueList":null,
               "defaultValue":"",
               "confirmValue":null,
               "pathSuffixValue":"",
               "userVisible":true,
               "userEditable":true,
               "systemParam":false,
               "exampleValue":null,
               "dataUnit":null,
               "optional":false,
               "deploymentParam":false,
               "multiselectSupported":false,
               "valueConstraint":{
                  "minValue":0,
                  "maxValue":255,
                  "maxLength":255,
                  "regex":null,
                  "allowSpaces":true,
                  "sizeValue":0,
                  "step":0,
                  "calloutWorkflowName":null
               },
               "scope":null,
               "webserviceListParams":{
                  "url":"services.groupkt.com/country/get/all",
                  "protocol":"http",
                  "username":"",
                  "password":"",
                  "requestType":"GET",
                  "contentType":null,
                  "commandParams":null,
                  "requestBody":null,
                  "resultString":null
               },
               "collectionList":[

               ],
               "preference":"VISIBLE_UNLOCKED"
            }
         ]
      },
      {
         "id":"3",
         "resource":"https://<HOST>:<PORT>/v1/actions/3",
         "name":"Reboot",
         "description":"reboot the instance",
         "actionType":"INSTANCE_REBOOT",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[

                        ],
                        "cloudAccounts":[

                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"all",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeNotReachable"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"4",
         "resource":"https://<HOST>:<PORT>/v1/actions/4",
         "name":"Terminate",
         "description":"terminate the instance",
         "actionType":"INSTANCE_TERMINATE",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[

                        ],
                        "cloudAccounts":[

                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"all",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended",
                                 "NodeError",
                                 "NodeNotReachable",
                                 "NodeNotFound"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"5",
         "resource":"https://<HOST>:<PORT>/v1/actions/5",
         "name":"Create And Attach Volume",
         "description":"create and attach volume",
         "actionType":"INSTANCE_CREATE_ATTACH_VOLUME",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":false,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[

                        ],
                        "cloudAccounts":[

                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"Amazon",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           },
                           {
                              "cloudFamily":"Openstack",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           },
                           {
                              "cloudFamily":"Vmware",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           },
                           {
                              "cloudFamily":"Google",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           },
                           {
                              "cloudFamily":"Vcd",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"7",
         "resource":"https://<HOST>:<PORT>/v1/actions/7",
         "name":"Create Snapshot",
         "description":"create snapshot",
         "actionType":"INSTANCE_CREATE_SNAPSHOT",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":false,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[

                        ],
                        "cloudAccounts":[

                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"Vmware",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"8",
         "resource":"https://<HOST>:<PORT>/v1/actions/8",
         "name":"Import to CloudCenter",
         "description":"import brownfield vms",
         "actionType":"IMPORT_VM",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[

         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"11",
         "resource":"https://<HOST>:<PORT>/v1/actions/11",
         "name":"Upgrade CloudCenter Agent",
         "description":"upgrade to latest agent",
         "actionType":"UPGRADE_AGENT",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[

                        ],
                        "cloudAccounts":[

                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"all",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"9",
         "resource":"https://<HOST>:<PORT>/v1/actions/9",
         "name":"Resize Instance Type",
         "description":"reconfig instance",
         "actionType":"INSTANCE_RECONFIG",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":false,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[

                        ],
                        "cloudAccounts":[

                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"Amazon",
                              "nodeStates":[
                                 "NodeSuspended"
                              ]
                           },
                           {
                              "cloudFamily":"Openstack",
                              "nodeStates":[
                                 "NodeReady",
                                 "NodeStarted",
                                 "NodeSuspended"
                              ]
                           },
                           {
                              "cloudFamily":"Vmware",
                              "nodeStates":[
                                 "NodeSuspended"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      },
      {
         "id":"14",
         "resource":"https://<HOST>:<PORT>/v1/actions/14",
         "name":"Sync VM Information",
         "description":"Sync VM Information from the Cloud",
         "actionType":"REFRESH_VM",
         "lastUpdatedTime":"",
         "timeOut":600,
         "enabled":true,
         "encrypted":false,
         "deleted":false,
         "systemDefined":true,
         "bulkOperationSupported":true,
         "isAvailableToUser":true,
         "currentlyExecuting":false,
         "owner":1,
         "actionParameters":[

         ],
         "actionResourceMappings":[
            {
               "type":"VIRTUAL_MACHINE",
               "actionResourceFilters":[
                  {
                     "deploymentResource":null,
                     "vmResource":{
                        "type":"DEPLOYMENT_VM",
                        "appProfiles":[

                        ],
                        "cloudRegions":[

                        ],
                        "cloudAccounts":[

                        ],
                        "services":[

                        ],
                        "osTypes":[

                        ],
                        "cloudFamilyNames":[

                        ],
                        "nodeStates":[

                        ],
                        "cloudResourceMappings":[
                           {
                              "cloudFamily":"Amazon",
                              "nodeStates":[
                                 "NodeStarting",
                                 "NodeStarted",
                                 "NodeReady",
                                 "NodeCleaned",
                                 "NodeError",
                                 "NodeNotReachable",
                                 "NodeReachable",
                                 "NodeSuspended",
                                 "NodeSuspending",
                                 "NodeResuming",
                                 "NodeResumed",
                                 "NodeRebooted"
                              ]
                           },
                           {
                              "cloudFamily":"Openstack",
                              "nodeStates":[
                                 "NodeStarting",
                                 "NodeStarted",
                                 "NodeReady",
                                 "NodeCleaned",
                                 "NodeError",
                                 "NodeNotReachable",
                                 "NodeReachable",
                                 "NodeSuspended",
                                 "NodeSuspending",
                                 "NodeResuming",
                                 "NodeResumed",
                                 "NodeRebooted"
                              ]
                           },
                           {
                              "cloudFamily":"Vmware",
                              "nodeStates":[
                                 "NodeStarting",
                                 "NodeStarted",
                                 "NodeReady",
                                 "NodeCleaned",
                                 "NodeError",
                                 "NodeNotReachable",
                                 "NodeReachable",
                                 "NodeSuspended",
                                 "NodeSuspending",
                                 "NodeResuming",
                                 "NodeResumed",
                                 "NodeRebooted"
                              ]
                           },
                           {
                              "cloudFamily":"Azure",
                              "nodeStates":[
                                 "NodeStarting",
                                 "NodeStarted",
                                 "NodeReady",
                                 "NodeCleaned",
                                 "NodeError",
                                 "NodeNotReachable",
                                 "NodeReachable",
                                 "NodeSuspended",
                                 "NodeSuspending",
                                 "NodeResuming",
                                 "NodeResumed",
                                 "NodeRebooted"
                              ]
                           },
                           {
                              "cloudFamily":"AzureRM",
                              "nodeStates":[
                                 "NodeStarting",
                                 "NodeStarted",
                                 "NodeReady",
                                 "NodeCleaned",
                                 "NodeError",
                                 "NodeNotReachable",
                                 "NodeReachable",
                                 "NodeSuspended",
                                 "NodeSuspending",
                                 "NodeResuming",
                                 "NodeResumed",
                                 "NodeRebooted"
                              ]
                           },
                           {
                              "cloudFamily":"AzurePack",
                              "nodeStates":[
                                 "NodeStarting",
                                 "NodeStarted",
                                 "NodeReady",
                                 "NodeCleaned",
                                 "NodeError",
                                 "NodeNotReachable",
                                 "NodeReachable",
                                 "NodeSuspended",
                                 "NodeSuspending",
                                 "NodeResuming",
                                 "NodeResumed",
                                 "NodeRebooted"
                              ]
                           },
                           {
                              "cloudFamily":"Vcd",
                              "nodeStates":[
                                 "NodeStarting",
                                 "NodeStarted",
                                 "NodeReady",
                                 "NodeCleaned",
                                 "NodeError",
                                 "NodeNotReachable",
                                 "NodeReachable",
                                 "NodeSuspended",
                                 "NodeSuspending",
                                 "NodeResuming",
                                 "NodeResumed",
                                 "NodeRebooted"
                              ]
                           },
                           {
                              "cloudFamily":"Google",
                              "nodeStates":[
                                 "NodeStarting",
                                 "NodeStarted",
                                 "NodeReady",
                                 "NodeCleaned",
                                 "NodeError",
                                 "NodeNotReachable",
                                 "NodeReachable",
                                 "NodeSuspended",
                                 "NodeSuspending",
                                 "NodeResuming",
                                 "NodeResumed",
                                 "NodeRebooted"
                              ]
                           }
                        ]
                     },
                     "isEditable":true
                  }
               ]
            }
         ],
         "actionResourceMappingAncillaries":[

         ],
         "actionCustomParamSpecs":[

         ]
      }
   ]
}

Example 4 – Custom Actions

curl -k -X GET -H "Accept: application/json" -u cloudcenteradmin:40E45DBE57E35ECB  "https://<HOST>:<PORT>/v1/actions"

By default, if you do not pass the includeSystemDefinedActions query attribute, this API returns only custom-defined actions only which are accessible/visible to current user.

Response

{
   "name":"Sleep",
   "description":"",
   "timeOut":1200,
   "actionType":"EXECUTE_COMMAND",
   "actionParameters":[
      {
         "paramName":"downloadFromBundle",
         "paramValue":false,
         "customParam":false,
         "required":true,
         "preference":"VISIBLE_UNLOCKED"
      },
      {
         "paramName":"script",
         "paramValue":"sleep $time",
         "customParam":false,
         "required":true,
         "preference":"VISIBLE_UNLOCKED"
      },
      {
         "paramName":"executeOnContainer",
         "paramValue":false,
         "customParam":false,
         "required":true,
         "preference":"VISIBLE_UNLOCKED"
      },
      {
         "paramName":"rebootInstance",
         "paramValue":false,
         "customParam":false,
         "required":true,
         "preference":"VISIBLE_UNLOCKED"
      },
      {
         "paramName":"refreshInstanceInfo",
         "paramValue":false,
         "customParam":false,
         "required":true,
         "preference":"VISIBLE_UNLOCKED"
      }
   ],
   "actionResourceMappings":[
      {
         "type":"VIRTUAL_MACHINE",
         "actionResourceFilters":[
            {
               "deploymentResource":null,
               "vmResource":{
                  "type":"DEPLOYMENT_VM",
                  "appProfiles":[

                  ],
                  "services":[

                  ],
                  "cloudRegions":[

                  ],
                  "cloudAccounts":[

                  ]
               }
            }
         ]
      }
   ],
   "actionCustomParamSpecs":[
      {
         "paramName":"time",
         "displayName":"time for sleep",
         "helpText":"Sleep time",
         "type":"number",
         "valueList":null,
         "defaultValue":"10",
         "confirmValue":"",
         "userVisible":true,
         "userEditable":true,
         "optional":false,
         "preference":"VISIBLE_UNLOCKED",
         "valueConstraint":{
            "minValue":0,
            "maxValue":255,
            "maxLength":255
         },
         "webserviceListParams":{
            "url":"",
            "protocol":"http",
            "username":"",
            "password":""
         }
      }
   ]
}

Request Attributes

actionId
  • Description: The Managed VM ID or jobId or Application Profile ID
  • Type: Long

Optional query parameter

includeSystemDefinedActions
  • Description: Identifies if system-defined parameters must be included in the response.
  • Type: Boolean
    • true = The system defined parameters are included.
    • false = Default. The system defined parameters are not included.

Response Attributes

id
  • DescriptionUnique, system-generated identifier for this CloudCenter Resource.

  • Type: String
resource
  • Description: Unique URL to access this resource.
  • Type: String
 perms

perms
  • Description: The permissions for a CloudCenter Resource managed by ACLs.

  • Type: Array of strings

    resourceName Permissions →

    Enumeration ↓

    read
    write
    create
    delete
    administration
    executemove_in
    move_out
    access
    approve
    authorize
    managenotify

    POLICY

    YesYes   

    ACTION_POLICY

    Yes    

    PUBLISHED_APP

    Yes    

    DEPLOYMENT_ENVIRONMENT 

    YesYesYesYes 

    APPLICATION

    Yes

    Yes

       

    REPOSITORY

    Yes    

    CLOUD_ACCOUNT 

    Yes    

    SYSTEM_TAG

    Yes    

    SECURITY_PROFILE

    Yes    

    SERVICE

    Yes    

    CUSTOM_ACTION

    Yes  Yes 
    PROJECTYes   Yes
    IMAGEYes    
    MANAGE_EXPORTYesYes   
    MANAGE_IMPORTYesYes   

name
  • DescriptionThe name assigned for this CloudCenter ResourceValid characters are letters, numbers, underscores, and spaces.

  • Type: String

description
  • DescriptionA brief description for this CloudCenter Resource.

  • Type: String
actionType
  • Description: The value of this attribute is interpreted based on the action type. For more information on VM states, see Deployment and VM States.
  • Type: Enumeration

    EnumerationDescription
    INVOKE_WEB_SERVICE 
    Executes the designated web service request. For example, you can use this action type if you publish an application profile in your ServiceNow catalog.

    EXECUTE_COMMAND

    Executes the designated command or script on the VM (see Deployment Lifecycle Scripts or Callout Scripts).

    This type additionally allows you to specify the following options:

    • Where to run this type of action: 
      • On Virtual Machine OS – On a VM with an agent installed. 
      • Externally – On a Docker container that runs on the CCO (not dependent on the worker image in any way). For example, if you need to configure external CLIs on a Docker container for a specific cloud, you can determine a Custom Field with the CLI items in a list format. See the Custom Field section below for additional details.
    • Reboot the VM after action execution – If the action owner determines that a reboot is required after the action execution, then end users using this action do not need to manually perform this extra step! An action owner refers to a user who creates (the New Action link) a custom action.
    • Sync VM information after action execution – This option allows you to update VM information from the CloudCenter platform so the latest VM metadata information like IP addresses are visible.

    The possible execution modes for this option are based on your Execute from Bundle setting that is explained in the Action Definition Section later in this page:

    • Download From Bundle is True
      1. The content in Script From Bundle is presumed to be a script inside the bundle specified. 
      2. The bundle is presumed to be an archive (zip/tar/tgz/tar.gz) that is extracted and the file is searched and executed along with any other command line parameters.
    • Download From Bundle is False
      1. The content in the Executable Command field is presumed to be a series of commands separated by semicolons.
      2. A special case is that the first command in this series of commands can be a Script URL. Thus the first command, if a script URL, is processed by first downloading the script and then it is executed along with the rest of the following commands.

    If you provide scripts that need to be executed as part of Action Library, be aware that a script is considered to be successful based on OS exit codes for script execution. This behavior is consistent with scripts that are run directly on a Windows or Linux server using their respective shells. Once a script is executed on Linux or Windows, the output shown on running echo $?, is the status code.
    For example:

    • On Linux, script execution will be marked as Failed only if the script's last line failed to execute. In all other cases it will be marked as successful.
    • On Windows, scripts will be marked as Failed only if an explicit Exception is thrown.

    For user-provided scripts, the onus is on the user to ensure that the script exits successfully.

    INVOKE_UCSD_WORKFLOW 

    Only applicable for VMs that invoke the workflow in a UCSD server (see Configure a Cisco UCSD Cloud for additional context).

    PUPPET_SCRIPT

    Applicable for both CloudCenter deployed VMs and Imported VMs.  See Puppet for additional context.

    To run Puppet actions on CloudCenter instance, you must first disable the requiretty setting for that instance in the /etc/sudoers file.

    CHEF_SCRIPT

    Applicable for both CloudCenter deployed VMs and Imported VMs. See Chef for additional context.

    ANSIBLE_SCRIPTApplicable for both CloudCenter deployed VMs and Imported VMs.
    UPGRADE_AGENT

    You can only upgrade agent for a CloudCenter VM if the agent was previously installed and if the VM is using CloudCenter 4.5 or later versions.

    If one CloudCenter component uses a particular version of the CloudCenter software, you must use the same version for all other CloudCenter components.

    If the latest version of the agent is already installed on a VM, then the Upgrade CloudCenter Agent action will no longer be available for this VM.

    INSTANCE_STOPStop and power off a managed VM. See Actions Library for additional details.
    INSTANCE_STARTPower on and start a managed VM. See Actions Library for additional details.
    INSTANCE_REBOOTAttempts a graceful shut down and restart of a managed VM. See Actions Library for additional details.
    INSTANCE_TERMINATEStops and Remove managed/unmanaged VMs. See Actions Library for additional details.
    INSTANCE_RECONFIG

    Resize a stopped VM's (AWS and VMware) instance type or change the CPU and memory size. For OpenStack, it is both running and stopped states.

    Select the instance type configured in the CCM for the required cloud.

    See Actions Library for additional details.
    INSTANCE_CREATE_ATTACH_VOLUME

    Attaches volumes to running or stopped VMs on AWS, OpenStack or VMware clouds.

    Cisco does not support attaching existing volumes available in the cloud. If storage types are configured in the CCM, you can opt to input volume parameters.

    Cisco does not support attaching existing volumes that are already available in the cloud.

    Cisco enables you to select if the storage types are configured in the CCM and input the volume parameters using this option

    See Actions Library for additional details.

    INSTANCE_DETACH_VOLUMEDetaches volumes from running or stopped VMs on AWS, OpenStack or VMware clouds.
    See Actions Library for additional details.
    INSTANCE_CREATE_SNAPSHOTCreates the image snapshot for a running or stopped VMware VM
    See Actions Library for additional details.
    IMPORT_VMImport a VM so the CloudCenter platform can manage this VM. See VM Management for additional context.
    PUSH_AGENT

    Upgrade the agent on a managed VM to the latest released CloudCenter agent version from the CCM UI. See VM Management > Upgrade Agent for additional details.

    You can only upgrade a VM running CloudCenter 4.5 or later versions.

    You must manually install the agent on a VM running CloudCenter 4.4 or earlier versions. See VM Management > Install Agent for additional details.

     

    If the latest version of the agent is already installed on a VM, then then this action will no longer be available for this VM.

    a managed VM. See Actions Library for additional details.
lastUpdatedTime
  • Description: Date that this resource was last updated. This attribute is the same as the lastUpdated attribute.

  • Type: Long

timeout
  • Description: To program the action to timeout within a specified limit and defaults to 20 minutes. This field is available for all custom actions.
  • Type: Long
enabled
  • Description: Indicates that this resource has been enabled.

    • true = resource has been enabled
    • false = resource has not been enabled (default)
  • Type: Boolean
encrypted 
  • Description: Identifies if the parameter value should be encrypted
  • Type: Boolean
    • true = Default. The parameter value is encrypted.
    • false = The parameter value is not encrypted.
deleted
  • Description: Identifies if this resource is deleted in the CloudCenter platform.
  • Type: Boolean
    • true = The resource is deleted.
    • false = The resource is not deleted.
 systemDefined 
  • Description: Refers to an out-of-box action. Use this attribute to fetch system-defined actions. If an action is identified as systemDefined, it cannot be edited by the user.
  • Type: Boolean
    • true = This is a system defined action.
    • false = Default. This is not a system defined action.
bulkOperationSupported 
  • Description: Identifies if a bulk operation is allowed for this type of action.
  • Type: Boolean
    • true = This action supports a bulk operation.
    • false = Default. This action does not allow a bulk operation.
 isAvailableToUser 
  • Description: Displays false if another action is currently being executed on the resource.
  • Type: Boolean
    • true = Default. This action is available to users.
    • false = This action is not available to users. The end user can try this action after sometime.
owner
  • Description: Indicates whether this user is the job/deployment owner. This attribute is the same as the isOwner attribute.
  • Type: Boolean
    • true = This user is the job/deployment owner
    • false = Default. This user is not the job/deployment owner
actionParameters
  • Description: Identifies the parameter details for a parameter that is defined as part of a new or existing action. See  Actions Library > Custom Field for additional context.
  • Type: Sequence of parameter details

    paramName
    • Description: Identifies the name for this parameter.
    • Type: String
    paramValue
    • Description: Identifies the values for this service parameter.
    • Type: String
    customParam
    • Description: Identifies if this parameter is a custom field for use in a user-defined action. See the Actions Library > Custom Fields section for additional context.
    • Type: Boolean
      • true = This is a custom parameter for a user-defined action.
      • false = This is not a custom parameter.
    required
    • Description: Identifies if this resource is required.

      • true = Resource is required
      • false = Resource is not required
    • Type: Boolean
    preference
    • Description: Identifies if this parameter is a custom field for use in a user-defined action. See the Actions Library > Custom Fields section for additional context.

    • Type: Enumeration

      EnumerationDescription
       VISIBLE_UNLOCKEDThe parameter defined for this action is visible to and editable by permitted users.
      VISIBLE_LOCKEDThe parameter defined for this action is visible to permitted users but not editable by any user.
       NOT_VISIBLE_LOCKEDThe parameter defined for this action is not visible or editable by any user other than the action owner.
 actionResourceMappings

actionResourceMappings
  • Description: The resource mapping element that determines if the action is valid for a resource. Specify strings based on the identify of a resource that is used to filter actions:
  • Type: Sequence of action filter details

    type (resourceType or VmResourceType)

    resourceType
    • Description: The data type for a CloudCenter Resource.

    • Type: String
      StringCategory
      CLOUD_FAMILYIdentifies this resource to be the cloud family
      CLOUD_TYPEIdentifies this resource to be the cloud region
      APP_NAMEIdentifies this resource to be the application

    VmResourceType
    • Description: The type of Virtual Machine (VM) from the context of the CloudCenter platform.

    • Type: String

      StringCategory
      DEPLOYMENT_VMIdentifies this as a VM that was deployed by the CloudCenter platform. See VM Management > Managed VMs.
      IMPORTED_VMIdentifies this as a VM that was discovered by the CloudCenter platform. See VM Management > Unmanaged VMs.

     actionResourceFilters 
    • Description: Specify strings to filter a search request based on strings that identify one or more of the following strings

    • Type: Choice of strings

       isEditable 
      • Description: Identifies if the parameter is editable by the end user who is executing the action.
      • Type: Boolean
        • true = Default. This parameter is editable.
        • false = This parameter is not editable.
       vmResource 
      • Description: Lists VMs based on the specified filters.
      • Type: Sequence of VM details

        type
        VmResourceType
        • Description: The type of Virtual Machine (VM) from the context of the CloudCenter platform.

        • Type: String

          StringCategory
          DEPLOYMENT_VMIdentifies this as a VM that was deployed by the CloudCenter platform. See VM Management > Managed VMs.
          IMPORTED_VMIdentifies this as a VM that was discovered by the CloudCenter platform. See VM Management > Unmanaged VMs.
         appProfiles 
        •  Description: Identifies the application profiles to be included for this action filter. If you do not specify any profile (using the required appId) for the filter mapping, then all application profiles are displayed.
        • Type: String
         cloudRegions 
        •  Description: Identifies the cloud regions to be included for this action filter. If you do not specify any profile (using the required cloudRegionId) for the filter mapping, then all cloud regions are displayed.
        • Type: String
        cloudAccounts 
        •  Description: Identifies the cloud accounts to be included for this action filter. If you do not specify any profile (using the required cloudAccountId) for the filter mapping, then all cloud accounts are displayed.
        • Type: String
        services  
        •  Description: Identifies the services to be included for this action filter. If you do not specify any profile (using the required serviceId) for the filter mapping, then all services are displayed.
        • Type: String
         osTypes   
        •  Description: Identifies the OS types to be included for this action filter. If you do not specify any OS type (using the required osName) for the filter mapping, then all OS types are displayed.
        • Type: String
         cloudFamilyNames    
        • Type: String
         nodeStates     
        • Type: String
         cloudResourceMapping 
        • Description: Identifies the cloud mapping to be included for this action filter.
        • Type: Sequence of cloud resource mapping details

          cloudFamily                                                                                                                                                                                
          • Description: The cloud provider name.                     
          • Type: String
           nodeStates     
          • Type: String
       deploymentResource 
      •  Description: Lists deployments based on the specified filters.
      • Type: Sequence of deployment details

         deploymentEnvironments 
        • Type: String
        services  
        •  Description: Identifies the services to be included for this action filter. If you do not specify any profile (using the required serviceId) for the filter mapping, then all services are displayed.
        • Type: String

 actionCustomParamSpecs

actionCustomParamSpecs
  • Description: Identifies the specifications for custom parameters that are included as part of the custom action.
  • Type: Sequence of custom action parameters

    paramName
    • Description: Identifies the name for this parameter.
    • Type: String
    displayName
    • DescriptionA descriptive name for this CloudCenter resource.
    • Type: String
    helpText
    • Description: The additional information provided for this parameter.
    • Type: String
    type
    • Description: The type of parameter used for this specification. See Using Parameters > Parameter Type for additional details.
    • Type: Enumeration

      API EnumerationCCM UI Listing
      stringstring
      numbernumber
      listlist
      webservicewebservice
      password_input password with confirmation
      passwordpassword
      pathpath
      textareatextarea
    valueList
    • Description: A list of comma separated values (limited to 255 characters). See Using Parameters > Parameter Types for additional context.  
    • Type: String
    defaultValue
    • Description: The default value for this service parameter
    • Type: String
     confirmValue 
    • Description: In case you provide a password input type parameter, this attribute confirms the password value.
    • Type: String
     pathSuffixValue 
    • Description: The value for the path (text that encodes a URL) type parameter.
    • Type: String
    userVisible
    • Description: Identifies if a service parameter is visible all users in the tenant
      • true = Parameter is visible to all users
      • false = Parameter is not visible to all users (just the admin)
    • Type: Boolean
    userEditable
    • Description: Identifies if a user is allowed to edit this service parameter:
      • true = Can change the preset values for this parameter
      • false = Cannot change the preset values for this parameter
    • Type: Boolean
    systemParam
    • Description: Identifies if this parameter is provided by the CloudCenter platform:
      • true = Provided by the CloudCenter platform
      • false = Added by the user or derived through another source
    • Type: Boolean
    exampleValue
    • Description: Identifies an example for this service parameter value
    • Type: String
    dataUnit
    • Description: Not Used... 
    • Type: String
    optional
    • Description: Identifies if this parameter is required for this service:
      • true = This parameter is required for this service
      • false = This parameter is optional for this service
    • Type: Boolean
     multiselectSupported  
    • Description: Identifies if a list for a custom parameter allows the end user to select multiple items in the list.
    • Type: String
    valueConstraint
    • Description: Identifies the  value restrictions for parameters created using the CloudCenter platform  
    • Type: Array of mapped attributes

      minValue
      • Description: The minimum required parameter value
      • Type: Integer
      maxValue
      • Description: The maximum allowed parameter value
      • Type: Integer
      regex
      • Description: Identifies if this parameter should be a regular expression
      • Type: String
      allowSpaces
      • Description: Identifies if spaces are allowed in the parameter name:
        • true = Spaces are allowed in the parameter name
        • false = Spaces are not allowed in the parameter name
      • Type: Boolean
      maxLength
      • Description: The maximum allowed length for this parameter name
      • Type: Integer
      sizeValue
      • Description: Identifies the size of this parameter
      • Type: Integer
      step
      • Description: Identifies the step for this parameter in the service execution process
      • Type: Integer
    scope
    • Description: Indicates the level at which you need to configure this value:

    • Type: Enumeration

      EnumerationDescription
      REGION

      Configure this value at the cloud region level

      USERConfigure this value at the user level
    webserviceListParams
    • Description: Provide a list of dynamic webservice parameters while deploying a job. From this list, users can select one parameter. The webservice parameter type is available in custom parameters, global parameters, and services. The output should be in the following format:
      [{"name":"p1",
      "displayName":"Param 1"},
       {"name":"p2",
        "displayName":"Param 2"}]

      If you configure this parameter type, you must provide the Protocol (HTTP or HTTPS), Web Service URL, and the credentials (Username and Password) for this webservice.

    • Type: Array of mapped attributes

      url
      • Description: The URL that is associated with the tenant's marketing website. See  Add Sub-TenantsTenant ID and Tenant Name Dependency for additional details.

        This is not the URL to access the CloudCenter platform

      • Type: String
      protocol
      • Description: Defines the protocol to be used by VMs running this service.
      • Type: Enumeration:

        ProtocolDescription
        TCPTransmission Control Protocol
        UDPUser Datagram Protocol
      username
      • Description: Unique, CloudCenter-generated name reference for this user.
      • Type: String
      password
      • Description: Password for the user's account. Effective Cloud Center 4.6.1, the CloudCenter platform enforces a minimum password length of 5 characters for all settings.
      • Type: String
       requestType 
       contentType 
       commandParams 
      • DescriptionIdentifies the query parameters for this call. See Using Parameters > Parameter Type for additional context.
      • Type: String
       requestBody 
      • Description: Identifies the additional information sent in the request body for each request call.
      • Type: String
       resultString 
      • Type: String

     

actionResourceMappingAncillaries
  • Description: This attribute is only used for internal UI rendering purposes.

  • Type: Mapping object

  • No labels