// removed jquery ui css and js

View Default Settings for a Cluster

Details

API Details
NameView Default Settings for a Cluster
Description

Displays the default placement settings for a cluster in a VMware region where capacity management is enabled. See the Enable/Disable Capacity Management section for the relevant release for additional context.

MethodGET
URIv1/capacity/placementResources/placementResourceId
CloudCenter ReleaseIntroduced in CloudCenter 4.8.2.
Notes

General:

  • For additional context on <PORT> usage in the following example(s), see Base URI Format.

API:

  • This API is only applicable to VMware cloud environments.
  • To use this API, you must use an admin account or a privileged account with roles to execute Capacity Management APIs on the cloud region. This account should have cloud provider privileges with the capability of handling APIs in the cloud. Choose an account that has the privilege to access the capacity of every cluster or zone in the cloud.

ESB Header

action: get.placementResources.placementResourceId

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

Example

curl -k -X GET -H "Accept: application/json" -H "Content-Type: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/capacity/placementResources/1"

Response

[
  {
    "propertyName": "UserResourcePoolName",
    "propertyValue": "QA"
  },
  {
    "propertyName": "FullClone",
    "propertyValue": "true"
  },
  {
    "propertyName": "UserDatastoreCluster",
    "propertyValue": "QA-DS"
  },
  {
    "propertyName": "UserDatastore",
    "propertyValue": ""
  },
  {
    "propertyName": "RootDiskResizeConfig",
    "propertyValue": "true"
  }
]

Request Attributes

placementResourceId
  • Description: A system-generated resource ID that you must manually specify to identify the placement resource in the currently configured capacity settings. You can retrieve the ID from the View Cloud Metrics for a Region API which lists an exhaustive list of placement resources and their IDs.

  • Type: String

Unable to render {include} The included page could not be found.

propertyValue
  • Description: Cloud-specific property value for the Resource Placement callout script. See the Resource Placement and Validation Callout section for the relevant release for additional context.

  • Type: String (as determined in the script).

Response Attributes

Unable to render {include} The included page could not be found.

propertyValue
  • Description: Cloud-specific property value for the Resource Placement callout script. See the Resource Placement and Validation Callout section for the relevant release for additional context.

  • Type: String (as determined in the script).



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