// removed jquery ui css and js

Create Cloud Account

Details

API Details
Name

Create Cloud Account (Asynchronous API)

Description

Provides a HTTP Location URL that you can use to query the system until this call returns a success or failure HTTP Status Codes.

MethodPOST
URIv1/tenants/tenantId/clouds/cloudId/accounts
CloudCenter ReleaseIntroduced in CloudCenter 4.0.
Notes
ESB Headeraction: create.tenants.tenantId.clouds.cloudId.accounts

Example

curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/tenants/1/clouds/3/accounts"

Request Body

  • AWS Cloud

    {
        "displayName": "writercloud",
        "manageCost": true,
        "accessPermission": "USERS_AND_SUBTENANT_USERS",
        "accountDescription": "Writers AWS Cloud Account",
        "userId": 2,
        "cloudId": "1",
        "allowedUsers": [],
        "accountName": "admin@cliqrtech.com",
        "accountPassword": "AKIAJEABJGQ2NIO3MOLQ",
        "accountId": "642111779657",
        "accountProperties": [
            {
                "name": "AccessSecretKey",
                "value": "AKIAJDJBTIYX5ORUUAOA"
            }
        ]
    }
  • OpenStack Cloud

    {
        "displayName": "Doc OpenStack Cloud Account",
        "manageCost": true,
        "accessPermission": "PRIVATE",
        "accountDescription": "",
        "userId": 2,
        "cloudId": "3",
        "allowedUsers": [],
        "accountId": "Doc OpenStack Cloud Account",
        "accountName": "cliqrqa",
        "accountProperties": [
            {
                "name": "Endpoint",
                "value": ""
            },
            {
                "name": "Region",
                "value": ""
            },
            {
                "name": "NovaEndpoint",
                "value": ""
            },
            {
                "name": "TenantName",
                "value": "cliqrqa"
            },
            {
                "name": "PreferredNetwork",
                "value": ""
            },
            {
                "name": "NeutronEndpoint",
                "value": ""
            }
        ],
        "accountPassword": "•••••••••••••"
    }
  • Google Cloud

    {
        "displayName": "DocQA",
        "manageCost": true,
        "accessPermission": "PRIVATE",
        "accountDescription": "",
        "userId": 2,
        "cloudId": "18",
        "allowedUsers": [],
        "accountName": "611428190463-r6tf6ljmqcvvfeqiea4jp4k5o3e465en@developer.gserviceaccount.com",
        "accountProperties": [
            {
                "name": "ServiceAccountEmail",
                "value": "qa@cliqr.com"
            },
            {
                "name": "ServiceAccountPKFilename",
                "value": "gctest2.p12"
            },
            {
                "name": "ProjectID",
                "value": "cliqrimg"
            }
        ],
        "accountPassword": "gctest2.p12",
        "accountId": "DocQA"
    }

Response

A success or failure HTTP Status Code.

See Asynchronous APIs for additional context.

Request Attributes

displayName
  • DescriptionA descriptive name for this CloudCenter resource.
  • Type: String
manageCost
  • Description: Indicates whether the CloudCenter platform tracks your cloud account costs for billing purposes. See Configure Cloud(s) 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
 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.
accountDescription
  • Description:A brief description of this cloud account
  • Type: String
userId
  • Description: Unique, system-generated identifier for a user
  • Type: String
cloudId
  • Description: Unique, system-generated identifier for a cloud representation (see View Deployment Environments for additional details)

  • Type: String
allowedUsers
  • Description: Indicates the IDs of the users who are authorized to access this cloud account
  • Type: Integer (array)
accountName
  • Description:The account name associated with this cloud account
  • Type: String 
accountProperties
  • Description: Property information for this cloud account
  • Type: Name-Value Pair (array)
accountPassword
  • Description:Password for the account of the cloud provider
  • Type: String
accountId
  • Description: Unique, system-generated identifier for the account of the cloud provider
  • Type: String

Response Attributes

None.

© 2017 Cisco Systems