Sync Cloud Instance Types

Details

API DetailsRelease-Specific Information
CloudCenter Platform 4xCloudCenter Suite 5x
NameSync Cloud Instance Types
Description

This API allows administrators to sync information when they see a change in cloud provider instance type definitions and price information. See the Manage Instance Types section for the relevant release for additional context.

Allowed Role(s)

WM_USER, WM_ADMIN

MethodPOST
URI

v1/tenants/tenantId/clouds/cloudId/regions/cloudRegionId/syncInstanceTypes

cloudcenter-cloud-setup/api/v1/tenants/tenantId/clouds/cloudId/regions/cloudRegionId/syncInstanceTypes

Sample Request
curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/tenants/1/clouds/1/regions"/1/syncInstanceTypes
curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/cloudcenter-cloud-setup/api/v1/tenants/1/clouds/1/regions"/1/syncInstanceTypes
Release
  • Introduced in CloudCenter 4.0
  • The supportsCuda and cudaSupport attributes are deprecated in CloudCenter 4.7.2
  • Enhanced in CloudCenter 4.9.0 to include support for Azure Stack
  • Support for AWS is deprecated in CloudCenter 4.9.0

Modified in CloudCenter Suite 5.0.0

Notes
  • 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.
  • A successful response returns a HTTP 200.
Back To LinksCloudCenter Platform 4x APIWorkload Manager API

ESB Header

action: create.tenants.tenantId.clouds.cloudId.regions.cloudRegionId.syncInstanceTypes

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

Not applicable

Sample Response

{
    "resource": "https://<HOST>:<PORT>/v1/tenants/1/clouds/1/regions/1/syncInstanceTypes",
    "size": 9,
    "pageNumber": 0,
    "totalElements": 9,
    "totalPages": 1,
    "cloudInstanceTypes": [
        {
            "id": "1",
            "resource": null,
            "perms": [],
            "name": "csr.2vcpu.4gb",
            "description": null,
            "type": "6e8e5e53-3134-443f-b172-90cc2f2490a8",
            "regionId": "1",
            "costPerHour": 0,
            "memorySize": 4096,
            "numOfCpus": 2,
            "numOfNics": 1,
            "localStorageSize": 0,
            "supportsCuda": false,
            "supportsSsd": false,
            "supports32Bit": true,
            "supports64Bit": true
        },
        {
            "id": "2",
            "resource": null,
            "perms": [],
            "name": "m1.small",
            "description": null,
            "type": "00487266-7ba9-4652-8ad9-f57c78c2b073",
            "regionId": "1",
            "costPerHour": 0.2,
            "memorySize": 2048,
            "numOfCpus": 1,
            "numOfNics": 1,
            "localStorageSize": 20,
            "supportsCuda": false,
            "supportsSsd": false,
            "supports32Bit": true,
            "supports64Bit": true
        },
        {
            "id": "3",
            "resource": null,
            "perms": [],
            "name": "m2.large",
            "description": null,
            "type": "ec80cfdb-336e-4a9d-aa89-57f19ccb537e",
            "regionId": "1",
            "costPerHour": 0.7,
            "memorySize": 8192,
            "numOfCpus": 4,
            "numOfNics": 1,
            "localStorageSize": 50,
            "supportsCuda": false,
            "supportsSsd": false,
            "supports32Bit": true,
            "supports64Bit": true
        },
        {
            "id": "4",
            "resource": null,
            "perms": [],
            "name": "m1.large",
            "description": null,
            "type": "c7a73497-df9b-4a82-b433-88932d325e1a",
            "regionId": "1",
            "costPerHour": 0.6,
            "memorySize": 8192,
            "numOfCpus": 4,
            "numOfNics": 1,
            "localStorageSize": 30,
            "supportsCuda": false,
            "supportsSsd": false,
            "supports32Bit": true,
            "supports64Bit": true
        },
        {
            "id": "5",
            "resource": null,
            "perms": [],
            "name": "m1.tiny",
            "description": null,
            "type": "5a22cd16-c5c4-4fe1-b3e5-9e0e8b720dbd",
            "regionId": "1",
            "costPerHour": 0,
            "memorySize": 1024,
            "numOfCpus": 1,
            "numOfNics": 1,
            "localStorageSize": 10,
            "supportsCuda": false,
            "supportsSsd": false,
            "supports32Bit": true,
            "supports64Bit": true
        },
        {
            "id": "6",
            "resource": null,
            "perms": [],
            "name": "m3.small",
            "description": null,
            "type": "bdfbfd3e-c979-430e-b242-8dd3678d7466",
            "regionId": "1",
            "costPerHour": 0.4,
            "memorySize": 4096,
            "numOfCpus": 1,
            "numOfNics": 1,
            "localStorageSize": 30,
            "supportsCuda": false,
            "supportsSsd": false,
            "supports32Bit": true,
            "supports64Bit": true
        },
        {
            "id": "7",
            "resource": null,
            "perms": [],
            "name": "m1.zero",
            "description": null,
            "type": "0733248e-7d85-4748-86e2-973494683f4d",
            "regionId": "1",
            "costPerHour": 0,
            "memorySize": 2048,
            "numOfCpus": 1,
            "numOfNics": 1,
            "localStorageSize": 0,
            "supportsCuda": false,
            "supportsSsd": false,
            "supports32Bit": true,
            "supports64Bit": true
        },
        {
            "id": "8",
            "resource": null,
            "perms": [],
            "name": "m1.medium",
            "description": null,
            "type": "99ff730c-1161-4d70-92a2-d3dea3a39a88",
            "regionId": "1",
            "costPerHour": 0.5,
            "memorySize": 4096,
            "numOfCpus": 2,
            "numOfNics": 1,
            "localStorageSize": 30,
            "supportsCuda": false,
            "supportsSsd": false,
            "supports32Bit": true,
            "supports64Bit": true
        },
        {
            "id": "9",
            "resource": null,
            "perms": [],
            "name": "m2.small",
            "description": null,
            "type": "5073b9a8-7a8b-4ae7-afdc-71029cef018b",
            "regionId": "1",
            "costPerHour": 0.3,
            "memorySize": 4096,
            "numOfCpus": 1,
            "numOfNics": 1,
            "localStorageSize": 20,
            "supportsCuda": false,
            "supportsSsd": false,
            "supports32Bit": true,
            "supports64Bit": true
        }
    ]
}


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

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

  • Type: String

Required

cloudRegionId
  • Description: Unique, system-generated identifier for a cloud region
  • Type: String

Required

Response Attributes

resource
  • Description: Unique URL to access this resource.
  • Type: String
See pageResource or Pagination for additional context
cloudInstanceTypes
  • Description: Identifies details about each cloud instance type
  • Type: Array of cloudInstanceTypes

    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)
    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
    type
    • DescriptionThe type of resource
    • Type: String
    regionId
    • DescriptionUnique, system-generated identifier for the cloud region 

    • Type: String

    costPerHour
    • Description:  The dollar price per hour to use this service. Only the user who created this service (service owner) can set this value (once) for all users using this service.
    • Type: Float
    memorySize
    • DescriptionThe RAM size in MB for this Instance Type. See the Map Images section for the relevant release for additional context.
    • Type: Integer
    numOfCpus
    • DescriptionThe number of CPUs for this instance type or cloud Image. This attribute is the same as the minNumberOfCpus attribute.
    • Type: Integer
    numOfNics
    • Description: The number of Network Interface Cards (NICs) attached to this instance type or cloud image.

    • Type: Integer
    localStorageSize
    • Description: The local storage size in GB
    • Type: Integer
    supportsCuda (deprecated)
    • Description: Indicates whether CUDA is supported for this instance type. This attribute is the same as the cudaSupport attribute

    • Type: Boolean
      • true = CUDA is supported for this instance type
      • false = CUDA is not supported for this instance type
    supportsSsd
    • Description: Indicates whether SSD is supported for this instance type. This attribute is the same as the ssdSupport attribute.

    • Type: Boolean

      • true = SSD is supported for this instance type
      • false = SSD is not supported for this instance type
    supports32Bit
    • Description: Indicates whether 32-bit architecture is supported for this instance type

      • true = 32-bit architecture is supported for this instance type
      • false = 32-bit architecture is not supported for this instance type
    • Type: Boolean
    supports64Bit
    • Description: Indicates whether 64-bit architecture is supported for this instance type

      • true = 64-bit architecture is supported for this instance type
      • false = 64-bit architecture is not supported for this instance type
    • Type: Boolean
    localStorageCount
    • Description: Enables a user to specify the number of additional instance stores (instance storage) that can attached to the Application VM. AWS use this concept of Instance Storage and CloudCenter enables users to create these additional stores using this attribute:
      • Default = 0
      • Minimum = 1
      • Maximum = 24
    • Type: Integer
    supportsHardwareProvision 
    • Description: Identifies if hardware provisioning is supported. See the Provisioning Bare Metal Hardware Servers section for the relevant release for additional context:
      • true = Supports hardware provisioning
      • false = Does not support hardware provisioning
    • Type: Boolean

     

 

 



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