// removed jquery ui css and js

Create Action Execution

Details

API Details
Name

Create Action Execution

Description
MethodPOST
URIv1/actions/actionId/executions
CloudCenter ReleaseIntroduced in CloudCenter 4.8.0.
Notes
ESB Headeraction: create.actions.actionId.executions

Example

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

Request Body (Create Snapshot)

{  
   "resourceType":"VIRTUAL_MACHINE",
   "executionSpecs":[  
      {  
         "name":"snapshotName",
         "value":"demodocs"
      }
   ],
   "executionResources":[  
      {  
         "id":"947"
      }
   ]
}

Response

{
   "id":"1637",
   "resource":"https://<HOST>:<PORT>/v1/executions/1637",
   "executionResources":[
      {
         "cloudResourceId":"4221035d-8581-8571-bfb3-fc77d6773a20",
         "id":947,
         "regionId":3,
         "cloudAccountId":35,
         "cloudResourceProperties":[

         ]
      }
   ],
   "resourceType":"VIRTUAL_MACHINE",
   "executionSpecs":[
      {
         "name":"snapshotName",
         "value":"demodocs"
      }
   ],
   "acknowledgedByUser":false,
   "acl":null
}

Request Attributes

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

executionSpecs
  • Description: The custom parameters required to execute the action – only required if you have the required permissions (editable and unlocked).
  • Type: Array of name-value pairs

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

    • Type: String

    value
    • Description: Indicates the set value for this property
    • Type: Float

  • Example:

    "executionSpecs":[  
          {  
             "name":"snapshotName",
             "value":"demodocs"
          }
       ]
 executionResources

executionResources

 

Response Attributes

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

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

executionResources

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
executionSpecs
  • Description: The custom parameters required to execute the action – only required if you have the required permissions (editable and unlocked).
  • Type: Array of name-value pairs

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

    • Type: String

    value
    • Description: Indicates the set value for this property
    • Type: Float

  • Example:

    "executionSpecs":[  
          {  
             "name":"snapshotName",
             "value":"demodocs"
          }
       ]
acknowledgedByUser
  • Description: Identifies if the action is to be acknowledged by the user.
  • Type: Boolean
    • true = The action must be acknowledged.
    • false = Default. The action need not be acknowledged.
 acl

acl
  • Description: The users who are permitted to perform this action
  • Type: Sequence of user-specific details

    users
    • Description: The user that is assigned permission to view, modify, or manage this action. 
    • Type: Admin-defined string
    tenantUsers
    • Description: The tenant that is assigned permission to view, modify, or manage this action. 
    • Type: Admin-defined string
    userGroups
    • Description: The user group that is assigned permission to view, modify, or manage this action. 
    • Type: Admin-defined string
     ownerUserId 
    • DescriptionUnique, system-generated identifier for the owner of the tenant to which this service owner belongs
    • Type: String