Get Resource Requirements
Get VCF Resource Requirement.
{
"specs": [
{
"componentType": "componentType",
"formFactor": "formFactor",
"useExistingDeployment": true,
"numberOfNodes": 0
}
]
}
specs
OK
{
"totalStorage": 5,
"components": [
{
"minInstances": 2,
"componentType": "componentType",
"memory": 7.061401241503109,
"ipCountLimit": 1,
"numberOfCores": 5,
"storage": 9,
"ipCountRecommended": 1,
"workersCount": 1,
"numberOfInstances": 3,
"deploymentType": "OVA",
"cpuCores": 2.3021358869347655,
"workerNodeRequirement": "workerNodeRequirement",
"ipCount": 7,
"maxInstances": 4
},
{
"minInstances": 2,
"componentType": "componentType",
"memory": 7.061401241503109,
"ipCountLimit": 1,
"numberOfCores": 5,
"storage": 9,
"ipCountRecommended": 1,
"workersCount": 1,
"numberOfInstances": 3,
"deploymentType": "OVA",
"cpuCores": 2.3021358869347655,
"workerNodeRequirement": "workerNodeRequirement",
"ipCount": 7,
"maxInstances": 4
}
],
"totalMemory": 1.4658129805029452,
"totalNumberOfCores": 0,
"totalCpuCores": 6.027456183070403
}
Total number of vCPU cores
Total amount of vCPU cores. Fractional amounts are supported.
totalMemory
totalStorage
components
Bad request.
{
"code": "code",
"detail": "detail",
"message": {
"args": {
"cloudProxyFqdn": "cloudProxy1.vsphere.local"
},
"localizedMessage": "Started upgrade for Cloud Proxy `cloudProxy1.vsphere.local`",
"defaultMessage": "Started upgrade for Cloud Proxy `cloudProxy1.vsphere.local`",
"id": "com.broadcom.lcm.ops.cloudproxy.upgrade.started"
},
"resolution": {
"args": {
"cloudProxyFqdn": "cloudProxy1.vsphere.local"
},
"localizedMessage": "Started upgrade for Cloud Proxy `cloudProxy1.vsphere.local`",
"defaultMessage": "Started upgrade for Cloud Proxy `cloudProxy1.vsphere.local`",
"id": "com.broadcom.lcm.ops.cloudproxy.upgrade.started"
},
"referenceId": "referenceId",
"timestamp": "2000-01-23T04:56:07.000Z"
}
Unique error code for programmatic identification.
message
resolution
An identifier for tracing the error in the logs.
The date and time when the error occurred.
Freeform extra information, such as raw error payloads or additional context.
Unauthorized
{
"code": "code",
"detail": "detail",
"message": {
"args": {
"cloudProxyFqdn": "cloudProxy1.vsphere.local"
},
"localizedMessage": "Started upgrade for Cloud Proxy `cloudProxy1.vsphere.local`",
"defaultMessage": "Started upgrade for Cloud Proxy `cloudProxy1.vsphere.local`",
"id": "com.broadcom.lcm.ops.cloudproxy.upgrade.started"
},
"resolution": {
"args": {
"cloudProxyFqdn": "cloudProxy1.vsphere.local"
},
"localizedMessage": "Started upgrade for Cloud Proxy `cloudProxy1.vsphere.local`",
"defaultMessage": "Started upgrade for Cloud Proxy `cloudProxy1.vsphere.local`",
"id": "com.broadcom.lcm.ops.cloudproxy.upgrade.started"
},
"referenceId": "referenceId",
"timestamp": "2000-01-23T04:56:07.000Z"
}
Unique error code for programmatic identification.
message
resolution
An identifier for tracing the error in the logs.
The date and time when the error occurred.
Freeform extra information, such as raw error payloads or additional context.
Internal server error
"ErrorResponse Object"
Unique error code for programmatic identification.
message
resolution
An identifier for tracing the error in the logs.
The date and time when the error occurred.
Freeform extra information, such as raw error payloads or additional context.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/fleet-lcm/v1/components/resource-requirements