// removed jquery ui css and js

View Deployments and VMs

Details

API Details
NameView Deployments and VMs
DescriptionDisplays a a complete list of deployments and virtual machines as explained in the Transferring Ownership use case.
MethodGET
URI

v1/acls/transfer/sourceUserId/resources

CloudCenter ReleaseIntroduced in CloudCenter 4.8.1.
Notes
  • For additional context on <PORT> usage in the following example(s), see Base URI Format.
  • The resources attribute is mandatory in the request URI.
  • Only resource owners and users with WRITE perms can view all the fields for this resource. Other users can only view common fields like name, description, and so forth.
  • See Permission Control for additional context.
ESB Header

action: create.acls.transfer.sourceUserId.resources

Example

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

Response

{
   "deployments":[
      {
         "id":"82",
         "resource":"https://<HOST>:<PORT>/v2/jobs/82",
         "properties":[
            {
               "key":"name",
               "value":"TestAgentUpgrade1"
            }
         ]
      },
      {
         "id":"96",
         "resource":"https://<HOST>:<PORT>/v2/jobs/96",
         "properties":[
            {
               "key":"name",
               "value":"VenTest1"
            }
         ]
      }
   ],
   "virtualMachines":[
      {
         "id":"9",
         "resource":"https://<HOST>:<PORT>/v1/virtualMachines/9",
         "properties":[
            {
               "key":"node_id",
               "value":"i-0b14b8538db22a2f9"
            }
         ]
      }
   ]
}

Request Attributes

sourceUserId
  • DescriptionUnique, system-generated identifier for a user whose resource ownership needs to be transferred as specified in the Transferring Ownership user case.

  • Type: String

Required

Response Attributes

deployments
  • Description: List of deployments attached to the phase.

  • Type: Array of deployments

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

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


    properties
    • Description: Information about the resource property
    • 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

virtualMachines
  • Description: List of VMs attached to the phase.

  • Type: Array of VMs

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

    • Type: String
    resource
    • Description: Unique URL to access this resource.
    • Type: String
    properties
    • Description: Information about the resource property
    • 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



  • No labels
© 2017-2019 Cisco Systems, Inc. All rights reserved