VMware Cloud Foundation API Reference Guide
4. Definitions
4.1. AdvancedOptions
Advanced Options used to add Cluster
| Name | Description | Schema |
|---|---|---|
evcMode |
EVC mode for new cluster, if needed |
string |
highAvailability |
High availability settings for the cluster |
4.2. AuthenticatedResource
Represents the credential resource in the system
| Name | Description | Schema |
|---|---|---|
domainName |
Domain name |
string |
resourceId |
Resource ID |
string |
resourceIp |
Resource IP address |
string |
resourceName |
Resource name |
string |
resourceType |
Resource type |
string |
serviceType |
Service type |
string |
targetType |
Target type |
string |
4.3. BaseCredential
Represents credentials of a resource in the system
| Name | Description | Schema |
|---|---|---|
credentialType |
Credential type |
string |
password |
Password |
string |
username |
Username |
string |
4.4. Cluster
Cluster representation
| Name | Description | Schema |
|---|---|---|
hosts |
List of hosts associated with the cluster |
< HostReference > array |
id |
ID of the cluster |
string |
name |
Name of the cluster |
string |
4.5. ClusterCompactionSpec
This specification contains the parameters required to remove one or more vSphere hosts from existing cluster in a workload domain
| Name | Description | Schema |
|---|---|---|
force |
Force removal of vSphere host |
boolean |
hosts |
List of vSphere hosts to be removed |
< HostReference > array |
4.6. ClusterCreationSpec
This specification contains contains the parameters required to add a cluster to an existing workload Domain
| Name | Description | Schema |
|---|---|---|
computeSpec |
Cluster specification to be added to the domain |
|
domainId |
ID of the domain to which the clusters will be added |
string |
4.7. ClusterExpansionSpec
This specification contains the parameters required to add one or more vSphere hosts to an existing cluster in a workload domain
| Name | Description | Schema |
|---|---|---|
hostSpecs |
List of vSphere host information from the free pool to consume in the workload domain |
< HostSpec > array |
4.8. ClusterReference
Represents a reference to the cluster
| Name | Description | Schema |
|---|---|---|
id |
ID of the cluster |
string |
4.9. ClusterSpec
This specification contains the parameters required to add a cluster to a workload domain
| Name | Description | Schema |
|---|---|---|
advancedOptions |
Advanced options used for cluster creation |
|
datastoreSpec |
Cluster storage configuration; e.g. VSAN, NFS |
|
hostSpecs |
List of vSphere host information from the free pool to consume in the workload domain |
< HostSpec > array |
name |
Name of the new cluster that will be added to the specified workload domain |
string |
networkSpec |
Network configuration for the cluster |
4.10. ClusterUpdateSpec
This specification contains the parameters required to perform update operation on cluster
| Name | Description | Schema |
|---|---|---|
clusterCompactionSpec |
Parameters required to perform cluster compaction, optional otherwise |
|
clusterExpansionSpec |
Parameters required to perform cluster expansion, optional otherwise |
|
markForDeletion |
Prepare the cluster for deletion |
boolean |
4.11. ComputeSpec
This specification contains the parameters required to add each cluster to a workload domain
| Name | Description | Schema |
|---|---|---|
clusterSpecs |
List of clusters to be added to workload domain |
< ClusterSpec > array |
4.12. Cpu
Represents information about CPUs on a host
| Name | Description | Schema |
|---|---|---|
cores |
Number of CPU cores |
integer (int32) |
cpuCores |
Information about each of the CPU cores |
< CpuCore > array |
frequencyMHz |
Total CPU frequency in MHz |
number (double) |
4.13. CpuCore
Represents a CPU core
| Name | Description | Schema |
|---|---|---|
frequencyMHz |
CPU frequency in MHz |
number (double) |
manufacturer |
Hardware manufacturer of the CPU |
string |
model |
Hardware model of the CPU |
string |
4.14. Credential
Represents a credential and the resource to which it is associated with
| Name | Description | Schema |
|---|---|---|
credentialType |
Credential type |
string |
id |
Credential ID |
string |
password |
Password |
string |
resource |
The resource which owns the credential |
|
username |
Username |
string |
4.15. CredentialsSubTask
| Name | Description | Schema |
|---|---|---|
creationTimestamp |
Credential sub-task creation timestamp |
|
dependentSubTasks |
List of dependent sub-tasks of the credential sub-task |
< CredentialsSubTask > array |
description |
Credential sub-task description |
string |
errors |
List of errors in case of a failure |
< Error > array |
name |
Credential sub-task name |
string |
status |
Credential sub-task status |
string |
4.16. CredentialsTask
| Name | Description | Schema |
|---|---|---|
creationTimestamp |
Credential task creation timestamp |
|
errors |
List of errors in case of a failure |
< Error > array |
id |
Credential task ID |
string |
name |
Credential task name |
string |
status |
Credential task status |
string |
subTasks |
List of credential sub-tasks of the credential task |
< CredentialsSubTask > array |
4.17. CredentialsUpdateSpec
This specification contains password operation request details
| Name | Description | Schema |
|---|---|---|
elements |
List of resource credentials to be changed |
< ResourceCredentials > array |
operationType |
Operation type |
string |
4.18. DatastoreSpec
This specification contains cluster storage configuration
| Name | Description | Schema |
|---|---|---|
nfsDatastoreSpecs |
Cluster storage configuration for NFS |
< NfsDatastoreSpec > array |
vsanDatastoreSpec |
Cluster storage configuration for vSAN |
4.19. Disk
Represents a disk
| Name | Description | Schema |
|---|---|---|
capacityMB |
Total capacity of the disk in MB |
number (double) |
diskType |
Type of the disk. |
string |
manufacturer |
Hardware manufacturer of the disk |
string |
model |
Hardware model of the disk |
string |
4.20. Domain
Represents a domain
| Name | Description | Schema |
|---|---|---|
clusters |
List of clusters associated with the workload domain |
< ClusterReference > array |
id |
ID of the workload domain |
string |
name |
Name of the workload domain |
string |
vcenters |
List of vCenters associated with the workload domain |
< Vcenter > array |
4.21. DomainCreationSpec
This specification contains the parameters required to create a new workload domain
| Name | Description | Schema |
|---|---|---|
computeSpec |
Specification representing the clusters to be added to the workload domain |
|
domainName |
Name of the workload domain |
string |
nsxTSpec |
Specification details for NSX-T configuration |
|
nsxVSpec |
Specification details for NSX-V configuration |
|
vcenterSpec |
Specification details for vCenter |
4.22. DomainReference
Represents a domain reference
| Name | Description | Schema |
|---|---|---|
id |
ID of the domain |
string |
4.23. DomainUpdateSpec
Contains the parameters required to perform update operation on domain
| Name | Description | Schema |
|---|---|---|
markForDeletion |
Enable deletion of domain |
boolean |
4.24. Error
Error response containing a minor error code, a localized error message, a localized remediation message and optionally a reference token to correlate the error with the logs
| Name | Description | Schema |
|---|---|---|
arguments |
The arguments used to localize the message, Can be used by scripts to automate the error processing. |
< string > array |
causes |
The underlying cause exceptions. |
< ErrorCause > array |
context |
The error context (e.g. the component where it occurred). |
< string, string > map |
errorCode |
The minor error code |
string |
message |
The localized error message |
string |
nestedErrors |
The nested errors when the error is a composite one |
< Error > array |
referenceToken |
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues. |
string |
remediationMessage |
The localized remediation error message |
string |
4.25. ErrorCause
Describes a single error cause
| Name | Description | Schema |
|---|---|---|
message |
The message describing the reason for the error |
string |
type |
The type of the error cause |
string |
4.26. HighAvailability
This specification contains high availability settings
| Name | Description | Schema |
|---|---|---|
enabled |
Example : |
boolean |
4.27. Host
Represents an Esxi host in the system
| Name | Description | Schema |
|---|---|---|
cluster |
Information about the cluster this host is part of |
|
cpu |
Information about CPUs on the host |
|
domain |
Information about the domain this host is part of |
|
esxiVersion |
ESXi software version of the host |
string |
fqdn |
FQDN of the host |
string |
hardwareModel |
Hardware model of the host |
string |
hardwareVendor |
Hardware vendor of the host |
string |
id |
ID of the host |
string |
ipAddresses |
Information about IP addresses assigned to the host |
< IpAddress > array |
memory |
Information about memory on the host |
|
physicalNics |
Information about physical NICs on the host |
< PhysicalNic > array |
status |
Status of the host |
string |
storage |
Information about storage on the host |
4.28. HostCommissionSpec
This specification contains the input to commission a host to VMware Cloud Foundation
| Name | Description | Schema |
|---|---|---|
fqdn |
FQDN of the host |
string |
networkPoolId |
ID of the network pool to associate the host with |
string |
networkPoolName |
Name of the network pool to associate the host with |
string |
password |
Password of the host |
string |
storageType |
Storage Type |
string |
username |
Username of the host |
string |
4.29. HostDecommissionSpec
This specification contains host details required to decommission a host from VMware Cloud Foundation
| Name | Description | Schema |
|---|---|---|
fqdn |
FQDN of the host |
string |
4.30. HostNetworkSpec
This specification contains network details required when adding a vSphere host to a cluster
| Name | Description | Schema |
|---|---|---|
vmNics |
List of the vSphere host vmNics |
< VmNic > array |
4.31. HostReference
Represents an ESXi host reference
| Name | Description | Schema |
|---|---|---|
id |
ID of the host |
string |
4.32. HostSpec
This specification contains information required to add vSphere host to a cluster
| Name | Description | Schema |
|---|---|---|
hostNetworkSpec |
Network Details of a vSphere host in the free pool |
|
id |
ID of a vSphere host in the free pool |
string |
licenseKey |
License key of a vSphere host in the free pool |
string |
4.33. Instant
| Name | Description | Schema |
|---|---|---|
epochSecond |
Example : |
integer (int64) |
nano |
Example : |
integer (int32) |
4.34. IpAddress
Represents IP address
| Name | Description | Schema |
|---|---|---|
ipAddress |
IP address |
string |
type |
Type of IP addresss |
string |
4.35. IpPool
Represents an IP Pool of a network in a network pool
| Name | Description | Schema |
|---|---|---|
end |
End IP address of the IP pool |
string |
start |
Start IP address of the IP pool |
string |
4.36. LicenseKey
Defines a license key and its attributes
| Name | Description | Schema |
|---|---|---|
description |
Description of the license key |
string |
id |
The ID of the license key |
string |
isUnlimited |
Indicates if the license key has unlimited usage |
boolean |
key |
The 29 alpha numeric character license key with hyphens |
string |
licenseKeyUsage |
License key usage details |
|
licenseKeyValidity |
License key validity details |
|
productType |
The type of the product to which the license key is applicable |
string |
4.37. LicenseKeyUsage
Defines license key usage
| Name | Description | Schema |
|---|---|---|
licenseUnit |
Units of the license key |
string |
remaining |
The remaining/free units of the license key |
integer (int32) |
total |
The total units of the license key |
integer (int32) |
used |
The consumed/used units of the license key |
integer (int32) |
4.38. LicenseKeyValidity
Defines license key validity details
| Name | Description | Schema |
|---|---|---|
expiryDate |
The license key expiry date |
|
licenseKeyStatus |
The validity status of the license key |
string |
4.39. MapOfstringAndstring
Type : < string, string > map
4.40. Memory
Represents information about memory on a host
| Name | Description | Schema |
|---|---|---|
totalCapacityMB |
Total memory in MB |
number (double) |
4.41. NasVolumeSpec
NAS configuration for NFS based cluster
| Name | Description | Schema |
|---|---|---|
path |
Shared directory path used for NFS based cluster creation |
string |
readOnly |
Readonly is used to identify whether to mount the directory as readOnly or not |
boolean |
serverName |
NFS Server name used for cluster creation |
< string > array |
userTag |
User tag used to annotate NFS share |
string |
4.42. Network
Represents a network in a network pool
| Name | Description | Schema |
|---|---|---|
freeIps |
List of free IPs to use |
< string > array |
gateway |
Gateway for the network |
string |
id |
The ID of the network |
string |
ipPools |
List of IP pool ranges to use |
< IpPool > array |
mask |
Subnet mask for the subnet of the network |
string |
mtu |
MTU of the network |
integer (int32) |
subnet |
Subnet associated with the network |
string |
type |
Network Type of the network |
string |
usedIps |
List of used IPs |
< string > array |
vlanId |
VLAN ID associated with the network |
integer (int32) |
4.43. NetworkDetailsSpec
This specification contains network parameters required for new virtual machines being added to a workload domain
| Name | Description | Schema |
|---|---|---|
dnsName |
DNS name of the virtual machine, e.g., vc-1.domain1.vsphere.local |
string |
gateway |
IPv4 gateway the VM can use to connect to the outside world |
string |
ipAddress |
IPv4 address of the virtual machine |
string |
subnetMask |
Subnet mask |
string |
4.44. NetworkPool
Represents a network pool in the system
| Name | Description | Schema |
|---|---|---|
id |
The ID of the network pool |
string |
name |
User specified name of the network pool |
string |
networks |
Representing the networks associated with the network pool |
< Network > array |
4.45. NetworkSpec
This specification contains cluster network configuration
| Name | Description | Schema |
|---|---|---|
nsxClusterSpec |
NSX configuration to add to the cluster |
|
vdsSpecs |
Distributed switches to add to the cluster |
< VdsSpec > array |
4.46. NfsDatastoreSpec
This specification contains cluster storage configuration for NFS
| Name | Description | Schema |
|---|---|---|
datastoreName |
Datastore name used for cluster creation |
string |
nasVolume |
NAS volume configuration for NFS based cluster |
4.47. NiocBandwidthAllocationSpec
This specification contains network traffic per resource type
| Name | Description | Schema |
|---|---|---|
niocTrafficResourceAllocation |
DvsHostInfrastructureTrafficResourceAllocation |
|
type |
DvsHostInfrastructureTrafficResource resource type |
string |
4.48. NiocTrafficResourceAllocation
Specify network traffic for a resource
| Name | Description | Schema |
|---|---|---|
limit |
Example : |
integer (int64) |
reservation |
Example : |
integer (int64) |
4.49. NsxClusterSpec
This specification contains NSX configuration for cluster
| Name | Description | Schema |
|---|---|---|
nsxTClusterSpec |
NSX-T spec for the new cluster, required for NSX-T based workload domains, optional otherwise |
|
nsxVClusterSpec |
NSX-V spec for the new cluster, required for NSX-V based workload domains, optional otherwise |
4.50. NsxManagerSpec
This specification contains the parameters required to install and configure NSX Manager in a workload domain
| Name | Description | Schema |
|---|---|---|
name |
Name of the NSX Manager virtual machine |
string |
networkDetailsSpec |
Network speciication details of the NSX Manager virtual machine |
4.51. NsxTClusterSpec
This specification contains NSX-T configuration for a new cluster.
| Name | Description | Schema |
|---|---|---|
geneveVlanId |
Vlan id of Geneve |
integer (int32) |
4.52. NsxTSpec
This specification contains the parameters required to install and configure NSX-T in a workload domain
| Name | Description | Schema |
|---|---|---|
licenseKey |
NSX license value |
string |
nsxManagerAdminPassword |
NSX manager admin password (basic auth and SSH) |
string |
nsxManagerSpecs |
Specification details of the NSX Manager virtual machine |
< NsxManagerSpec > array |
vip |
Virtual IP address which would act as proxy/alias for NSX-T Managers |
string |
vipFqdn |
FQDN for VIP so that common SSL certificates can be installed across all managers |
string |
4.53. NsxVClusterSpec
This specification contains NSX-V configuration spec for cluster
| Name | Description | Schema |
|---|---|---|
licenseKey |
NSX license key to be applied to the new cluster |
string |
vdsNameForVxlanConfig |
VDS to be used for vxlan traffic/portgroup. This should belong to one of the VDS being created for the cluster |
string |
vlanId |
VLAN ID of the vxlan |
integer (int32) |
4.54. NsxVControllerSpec
This specification contains the parameters required to install and configure NSX-V controllers in a workload domain
| Name | Description | Schema |
|---|---|---|
nsxControllerGateway |
NSX controller gateway |
string |
nsxControllerIps |
List of the IPs of NSX Controller IP Pool associated with the above NSX Manager |
< string > array |
nsxControllerPassword |
NSX controller password (all controllers) |
string |
nsxControllerSubnetMask |
NSX controller subnet mask |
string |
4.55. NsxVSpec
This specification contains the parameters required to install and configure NSX-V in a workload domain
| Name | Description | Schema |
|---|---|---|
licenseKey |
NSX license key |
string |
nsxManagerAdminPassword |
NSX Manager admin password (basic auth and SSH) |
string |
nsxManagerEnablePassword |
NSX manager 'enable' password |
string |
nsxManagerSpec |
Specification details of the NSX Manager virtual machine |
|
nsxVControllerSpec |
NSX controller configuration |
4.56. PageOfCluster
Represents a page of elements of a single type
| Name | Description | Schema |
|---|---|---|
elements |
The list of elements included in this page |
< Cluster > array |
4.57. PageOfCredential
Represents a page of elements of a single type
| Name | Description | Schema |
|---|---|---|
elements |
The list of elements included in this page |
< Credential > array |
4.58. PageOfCredentialsTask
Represents a page of elements of a single type
| Name | Description | Schema |
|---|---|---|
elements |
The list of elements included in this page |
< CredentialsTask > array |
4.59. PageOfDomain
Represents a page of elements of a single type
| Name | Description | Schema |
|---|---|---|
elements |
The list of elements included in this page |
< Domain > array |
4.60. PageOfHost
Represents a page of elements of a single type
| Name | Description | Schema |
|---|---|---|
elements |
The list of elements included in this page |
< Host > array |
4.61. PageOfLicenseKey
Represents a page of elements of a single type
| Name | Description | Schema |
|---|---|---|
elements |
The list of elements included in this page |
< LicenseKey > array |
4.62. PageOfNetwork
Represents a page of elements of a single type
| Name | Description | Schema |
|---|---|---|
elements |
The list of elements included in this page |
< Network > array |
4.63. PageOfNetworkPool
Represents a page of elements of a single type
| Name | Description | Schema |
|---|---|---|
elements |
The list of elements included in this page |
< NetworkPool > array |
4.64. PageOfTask
Represents a page of elements of a single type
| Name | Description | Schema |
|---|---|---|
elements |
The list of elements included in this page |
< Task > array |
4.65. PhysicalNic
Represents a physical NIC
| Name | Description | Schema |
|---|---|---|
deviceName |
Device name of the physical NIC |
string |
macAddress |
Mac address of the physical NIC |
string |
4.66. PortgroupSpec
This specification contains vCenter port group configurations
| Name | Description | Schema |
|---|---|---|
name |
Port group name |
string |
transportType |
Port group transport type |
string |
4.67. Resource
Represents the resource in the system
| Name | Description | Schema |
|---|---|---|
resourceId |
Resource ID |
string |
type |
Resource type |
string |
4.68. ResourceCredentials
Represents a resource along with its list of credentials to be changed.
| Name | Description | Schema |
|---|---|---|
credentials |
Credentials of the resource |
< BaseCredential > array |
resourceId |
Resource ID |
string |
resourceName |
Resource name |
string |
resourceType |
Authenticated Resource Type |
string |
4.69. Storage
Represents information about storage on a host
| Name | Description | Schema |
|---|---|---|
disks |
Information about disks |
< Disk > array |
totalCapacityMB |
Total storage capacity in MB |
number (double) |
4.70. SubTask
Represents a sub-task
| Name | Description | Schema |
|---|---|---|
creationTimestamp |
Sub-task creation timestamp |
|
description |
Sub-task description |
string |
errors |
List of errors in case of a failure |
< Error > array |
name |
Sub-task name |
string |
status |
Sub-task status |
string |
4.71. Task
Represents a task
| Name | Description | Schema |
|---|---|---|
creationTimestamp |
Task creation timestamp |
|
errors |
List of errors in case of a failure |
< Error > array |
id |
Task ID |
string |
name |
Task name |
string |
resources |
List of resources associated with task |
< Resource > array |
status |
Task status |
string |
subTasks |
List of sub-tasks of the task |
< SubTask > array |
4.72. Validation
Represents a validation with a list of one or more validation checks that are performed as part of the validation
| Name | Description | Schema |
|---|---|---|
description |
Description of the validation |
string |
executionStatus |
Execution status of the validation |
string |
id |
ID of the validation |
string |
resultStatus |
Result status of the validation after it has completed its execution |
string |
validationChecks |
List of one or more validation checks that are performed as part of the validation |
< ValidationCheck > array |
4.73. ValidationCheck
Represents a validation check
| Name | Description | Schema |
|---|---|---|
description |
Description of the validation check |
string |
errorResponse |
Error response associated with the validation check |
|
resultStatus |
Result status of the validation check after it has completed its execution |
string |
severity |
Severity of the validation check |
string |
4.74. Vcenter
vCenter representation
| Name | Description | Schema |
|---|---|---|
fqdn |
FQDN of the vCenter |
string |
4.75. VcenterSpec
This specification contains the installation and configuration of vCenter in a workload domain
| Name | Description | Schema |
|---|---|---|
datacenterName |
vCenter datacenter name |
string |
licenseKey |
vCenter license key |
string |
name |
Name of the vCenter virtual machine |
string |
networkDetailsSpec |
Network spec details of the vCenter virtual machine |
|
rootPassword |
vCenter root shell password |
string |
4.76. VdsSpec
This specification contains vSphere distributed switchc configurations
| Name | Description | Schema |
|---|---|---|
name |
vSphere Distributed Switch name |
string |
niocBandwidthAllocationSpecs |
List of Network I/O Control Bandwidth Allocations for System Traffic |
< NiocBandwidthAllocationSpec > array |
portGroupSpecs |
List of portgroups to be associated with the vSphere Distributed Switch |
< PortgroupSpec > array |
4.77. VmNic
This specification contains vmnic configurations for vSphere host
| Name | Description | Schema |
|---|---|---|
id |
VmNic ID of vSphere host to be associated with VDS, once added to cluster |
string |
vdsName |
VDS name to associate with vSphere host |
string |
4.78. VsanDatastoreSpec
This specification contains cluster storage configuration for vSAN
| Name | Description | Schema |
|---|---|---|
datastoreName |
Datastore name used for cluster creation |
string |
dedupAndCompressionEnabled |
Enable vSAN deduplication and compression |
boolean |
failuresToTolerate |
Number of vSphere host failures to tolerate in the vSAN cluster |
integer (int32) |
licenseKey |
License key for the vSAN data store to be applied in vCenter |
string |