// removed jquery ui css and js

View Non-Managed Cloud Details

Details

API Details
Name

View Non-Managed (nonManaged) Cloud Details

Description
MethodGET
URI

v1/tenants/tenantId/nonManagedClouds

CloudCenter Release
  • Introduced in CloudCenter 4.6.
  • Enhanced in CloudCenter 4.9.0 to include the cloudFamilyType attribute and deprecate the publicCloud attribute.
Notes
  • For additional context on <PORT> usage in the following example(s), see Base URI Format.
  • The CloudCenter GET APIs display up to 20 entities in the listing by default. If you have more than 20 entities in your resource listing, use the pagination query parameters to view them beyond the first 20 entities returned by default. See the CloudCenter API Overview  > Pagination  section for additional context.
  • For all available cloud families, logged-in users see all regions to which each user has access.

  • If the cloud regions status ≠ RUNNING (based on last known status in the CCM database), then this cloud region is not displayed.

  • Displays all cloud accounts owned by the user in that cloud family. Any cloud account that is explicitly shared to this user is not displayed.

  • If a cloud group has no regions or cloud accounts available – if either the size of cloudRegions or cloudAccounts = 0, then the cloud family is not displayed (both attributes are required to retrieve this list from the CCO).

ESB Header
  • action: get.tenants.tenantId.nonManagedClouds

See the Enterprise Service Bus (ESB) section for the relevant release for additional context

Example

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

Response

{
    "resource": "https://<HOST>:<PORT>/v1/tenants/1/nonManagedClouds",
    "size": 0,
    "pageNumber": 0,
    "totalElements": 0,
    "totalPages": 0,
    "clouds": [{
        "id": "6",
        "resource": "https://<HOST>:<PORT>/v1/tenants/1/nonManagedClouds/6",
        "name": "SoftLayer",
        "cloudFamily": "SoftLayer",
        "description": "",
        "publicCloud": true,
        "tenantId": "1",
        "detail": {
            "cloudAccounts": [{
                "id": "6",
                "resource": null,
                "perms": ["administration", "write", "delete", "read"],
                "displayName": "SoftLayer CloudCenter Prod",
                "cloudId": "6",
                "userId": "2",
                "accountDescription": "",
                "manageCost": true,
                "allowedUsers": [],
                "accessPermission": "PRIVATE"
            }],
            "cloudRegions": [{
                "id": "11",
                "resource": null,
                "cloudId": "6",
                "displayName": "Dallas 09 (dal09)",
                "regionName": "SoftLayer-dal09",
                "description": "SoftLayer Dallas 09 (dal09)",
                "importRegion": null,
                "gateway": {
                    "address": "saas-cco-softlayer-dallas9.company.com",
                    "dnsName": null,
                    "status": "RUNNING",
                    "cloudId": "6",
                    "cloudAccountId": null
                },
                "enabled": true,
                "activated": true,
                "numUsers": 40,
                "status": "RUNNING",
                "statusDetail": null,
                "regionProperties": [{
                    "name": "privateVlanNumber",
                    "value": ""
                }, {
                    "name": "publicVlanNumber",
                    "value": ""
                }, {
                    "name": "datacenter",
                    "value": "dal09"
                }],
                "externalBundleLocation": null,
                "externalActions": []
            }],
            "status": "RUNNING",
            "statusDetail": "RUNNING"
        }
    }, {
        "id": "7",
        "resource": "https://<HOST>:<PORT>/v1/tenants/1/nonManagedClouds/7",
        "name": "Openstack",
        "cloudFamily": "Openstack",
        "description": "Openstack",
        "publicCloud": false,
        "tenantId": "1",
        "detail": {
            "cloudAccounts": [{
                "id": "13",
                "resource": null,
                "perms": ["administration", "write", "delete", "read"],
                "displayName": "CloudCenter Private Cloud",
                "cloudId": "7",
                "userId": "2",
                "accountDescription": "",
                "manageCost": true,
                "allowedUsers": [],
                "accessPermission": "PRIVATE"
            }, {
                "id": "150",
                "resource": null,
                "perms": ["administration", "write", "delete", "read"],
                "displayName": "hihu-openstack",
                "cloudId": "7",
                "userId": "2",
                "accountDescription": "",
                "manageCost": true,
                "allowedUsers": [],
                "accessPermission": "PRIVATE"
            }],
            "cloudRegions": [{
                "id": "13",
                "resource": null,
                "cloudId": "7",
                "displayName": "CloudCenter regionOne",
                "regionName": "Openstack-regionOne",
                "description": null,
                "importRegion": null,
                "gateway": {
                    "address": "saas-cco-openstack.company.com",
                    "dnsName": null,
                    "status": "RUNNING",
                    "cloudId": "7",
                    "cloudAccountId": null
                },
                "enabled": true,
                "activated": true,
                "numUsers": 53,
                "status": "RUNNING",
                "statusDetail": null,
                "regionProperties": [{
                    "name": "Endpoint",
                    "value": "http://1<HOST>:<PORT>/v2.0"
                }, {
                    "name": "NodeNameConfig",
                    "value": ""
                }, {
                    "name": "NodesPerBatch",
                    "value": ""
                }, {
                    "name": "AvailabilityZones",
                    "value": ""
                }, {
                    "name": "Region",
                    "value": "regionOne"
                }, {
                    "name": "QuantumEndpoint",
                    "value": ""
                }],
                "externalBundleLocation": null,
                "externalActions": []
            }, {
                "id": "38",
                "resource": null,
                "cloudId": "7",
                "displayName": "hihu-regionOne",
                "regionName": "Openstack-hihu-regionOne",
                "description": null,
                "importRegion": null,
                "gateway": {
                    "address": "<HOST>:<PORT>",
                    "dnsName": null,
                    "status": "RUNNING",
                    "cloudId": "7",
                    "cloudAccountId": "150"
                },
                "enabled": true,
                "activated": true,
                "numUsers": 3,
                "status": "RUNNING",
                "statusDetail": null,
                "regionProperties": [{
                    "name": "Endpoint",
                    "value": "http://<HOST>:<PORT>/v2.0"
                }, {
                    "name": "NodesPerBatch",
                    "value": ""
                }, {
                    "name": "NodeNameConfig",
                    "value": ""
                }, {
                    "name": "AvailabilityZones",
                    "value": ""
                }, {
                    "name": "Region",
                    "value": "regionOne"
                }, {
                    "name": "InstanceNamingStrategy",
                    "value": "Default"
                }, {
                    "name": "InstanceIPAMStrategy",
                    "value": "NoIPAM"
                }],
                "externalBundleLocation": null,
                "externalActions": []
            }],
            "status": "RUNNING",
            "statusDetail": "RUNNING"
        }
    }]
}


Request Attributes

tenantId
  • DescriptionUnique, system-generated identifier for the tenant organization. A tenant admin must belong to this tenant to invoke any APIs for this tenant. See the Tenant ID and Tenant Name Dependency section for the relevant release for additional context.

  • Type: String

Required

Response Attributes

resource
  • Description: Unique URL to access this resource.
  • Type: String
clouds
  • Description: Information about each cloud family.
  • Type: Array of clouds

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

    • Type: String
    resource
    • Description: Unique URL to access this resource.
    • Type: String
    name
    • DescriptionThe name assigned for this CloudCenter ResourceValid characters are letters, numbers, underscores, and spaces.

    • Type: String

    cloudFamily                                                                                                                                                                                
    • Description: The cloud provider name.                     
    • Type: String

    description
    • DescriptionA brief description for this CloudCenter Resource.

    • Type: String

    publicCloud (Deprecated)
    • Description: Indicates if this is a public cloud. This attribute is useful to identify datacenters and private clouds as features like sync storage and add storage type is not applicable to public clouds.
    • Type: Boolean
      • true = This is a public cloud. See the Public Clouds section for the relevant release for a complete list.
      • false = This is not a public cloud. See the Datacenters and Private Clouds section for the relevant release for a complete list.

    cloudFamilyType
    • Description: Indicates if this is a public cloud, a private cloud/datacenter, or a container cloud. This attribute is useful to identify features that are not available in all cloud environments. For example, sync storage and add storage type are not applicable to public clouds.
    • Type: Enumeration

      EnumerationDescription
      PublicAny cloud listed in the Public Clouds section for the applicable release.
      PrivateAny cloud listed in the Datacenters and Private Clouds section for the applicable release.
      ContainerAny cloud listed in the Container Clouds section for the applicable release.

    tenantId
    • DescriptionUnique, system-generated identifier for the tenant organization. A tenant admin must belong to this tenant to invoke any APIs for this tenant. See the Tenant ID and Tenant Name Dependency section for the relevant release for additional context.

    • Type: String

detail
  • Description: Detailed information that relates to this resource.
  • Type: Array of cloud details

    cloudAccounts
    • Description: Identifies information about each cloud account
    • Type: Array of cloud accounts

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

      • Type: String
      resource
      • Description: Unique URL to access this resource.
      • Type: String
      perms (click for additional details)

      displayName
      • DescriptionA descriptive name for this CloudCenter resource.
      • Type: String

      cloudId
      • Description: Unique, system-generated identifier for a cloud representation (see View Deployment Environments for additional details)

      • Type: String

      userId
      • Description: Unique, system-generated identifier for a user
      • Type: String

      accountDescription
      • Description:A brief description of this cloud account
      • Type: String

      manageCost
      • Description: Indicates whether the CloudCenter platform tracks your cloud account costs for billing purposes. See the Configure a Cloud and Cloud Account section for the relevant release for additional context.

        • true = The CloudCenter platform tracks your cloud account costs
        • false = Default. The CloudCenter platform does not track your cloud account costs
      • Type: Boolean
      allowedUsers
      • Description: Indicates the IDs of the users who are authorized to access this cloud account
      • Type: Integer (array)
       accessPermission 
      • Description: Identifies who can access this cloud account. Once set you cannot change this attribute.

      • Type: Enumeration

        EnumerationDescription
        PRIVATEDefault. The cloud account is accessible only by the owner of the cloud account.
        USERSThe cloud account is accessible by all tenant users of the cloud account.
        USERS_AND_SUBTENANT_USERSThe cloud account is accessible by all tenant and sub-tenant users of the cloud account.
    cloudRegions
    • Description: Identifies details about each cloud region
    • Type: Array of cloudRegion

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

      • Type: String
      resource
      • Description: Unique URL to access this resource.
      • Type: String
      cloudId
      • Description: Unique, system-generated identifier for a cloud representation (see View Deployment Environments for additional details)

      • Type: String
      displayName
      • DescriptionA descriptive name for this CloudCenter resource.
      • Type: String
      regionName
      • DescriptionThe name of this cloud region as listed in the Supported Public Clouds section for the relevant release.
      • Type: String
      description
      • DescriptionA brief description for this CloudCenter Resource.

      • Type: String
      importRegion
      • Description: Identified the cloud region details
      • Type: Sequence of attributes

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

        • Type: String

        displayName
        • DescriptionA descriptive name for this CloudCenter resource.
        • Type: String

      gateway (click for additional details)

      enabled
      • Description: Indicates that this resource has been enabled. The default differs based on the resource.

        • true = The resource has been enabled (v2 aging and suspension policies are enabled by default).

        • false = The resource has not been enabled.

      • Type: Boolean

      activated
      • Description: Indicates whether this account has been activated.

        • true = the account has been activated
        • false = the account has not been activated
      • Type: Boolean
      numUsers
      • DescriptionNumber of users that are currently using this resource
      • Type: Long
      status
      • Description: Status of this resource 
      • Type: Enumeration

        EnumerationDescription
        RunningThe cloud account is operational
        StoppedThe cloud account is not operational
        MaintenanceModeThe cloud account is under maintenance
      statusDetail
      • Description: Indicates the status of this cloud
      • Type: Enumeration

        EnumerationDescription
        CLOUD_ACCOUNT_NOT_CONFIGUREDThere are no cloud accounts configured for this cloud.
        NO_REGION_RUNNINGThe cloud does not have a region that is in running state.
        RUNNINGThe cloud has at least one configured cloud account with at least one cloud region in running state
      regionProperties
      • Description: Properties for this region
      • TypeName-Value Pair (array)
      externalActions
      • Description: Defines the actions to be defined for each service for each phase when you create/update the service
      • Type: Array of service lifecycle actions. See the Service Lifecycle Actions section for the relevant release for additional context.

        actionName
        • Type: Enumeration
        actionType
        • Description: The value of this attribute is interpreted based on the value of the actionName attribute for this Service Lifecycle Action. See the Service Lifecycle Action section for the relevant release for additional context.
        • Type: Enumeration

          EnumerationDescription
          SCRIPT

          Indicates the script (baked into the image that is used to launch the VM) name and parameters (if any) to be executed on the VM during the corresponding actionName step.

          The entity to be run for this Service Lifecycle Action is a script located at a path relative to where the service bundle zip file is extracted:
          - Linux VMs = /usr/local/osmosix/service/serviceName
          - Windows VMs = C:\program files\osmosix\service\$SERVICE_NAME

          See the Service Lifecycle Action section for the relevant release for additional context.

           This option is not available for Container Service.

          URLIndicates the location from where the script is to be downloaded and executed on the VM during the corresponding actionName step.

          The entity to be run for this Service Lifecycle Action is a HTTP URL pointing to a script that is downloaded (the HTTP URL must be accessible from this VM). See the Service Lifecycle Action section for the relevant release for additional context.
          CMD

          Indicates the command that is be executed on the VM during actionName step.

          The entity to be run for this Service Lifecycle Action is a command that is accessible in the PATH for the user (built into the image that is used to launch the VMs):

          - Linux VMs = cliqruser

          - WindowsVMs = cliqr

          See the Service Lifecycle Action section for the relevant release for additional context.

          Effective CloudCenter 4.1.1, admins can configure the local user on application VMs. The CCO configuration file (/usr/local/osmosix/etc/gateway_config.properties) has an optional property called agent.username to specify the local user. If no user name is specified then cliqruser is the default user.

        actionValue
        • Description: Identifies the value that you provide for the selected actionType.

        • Type: String

       externalBundleLocation
      • Description: Location of the zip file that contains the external Bundle Store artifacts that are downloaded during deployment orchestration. 
        • The External Actions Bundle zip file contains all scripts required to manage the external lifecycle. You must provide the following information for this zip file depending on the resource being configured:

          • If you are configuring this file at the cloud region level – this file must contain a directory called cloudregion which contains all the scripts.

          • If you are configuring this file for a service – name this file as ServiceID.zip. For example, tomcat6.zip, where tomcat6 is the Service ID.

        • This attribute is available for all service types
        • The bundle is validated against associated repositories.
        • The repositories field should not be empty.
        • The Service Lifecycle Actions definition (if it is a SCRIPT) is used to locate the scripts in this ZIP file.
        • See Manage Services and the "Parameters and Macros" sections for the relevant release or additional context.
      • Type: String
      externalActions (click for additional details)
status
  • Description: Status of the operation. See the Deployment and VM States section for the relevant release to view a list of all job operations.

  • Type: Enumeration

    EnumerationDescription
    SUBMITTEDThe operation has been submitted
    RUNNINGThe operation is currently in progress
    SUCCESSThe operation succeeded
    FAILThe operation failed
statusDetail
  • Description: Indicates the status of this cloud
  • Type: Enumeration

    EnumerationDescription
    CLOUD_ACCOUNT_NOT_CONFIGUREDThere are no cloud accounts configured for this cloud.
    NO_REGION_RUNNINGThe cloud does not have a region that is in running state.
    RUNNINGThe cloud has at least one configured cloud account with at least one cloud region in running state


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