[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
Get Host Criterion
DescriptionGet a criterion to query for host
Request
URLURL
https://sfo-vcf01.rainpole.io/v1/clusters/{id}/hosts/criteria/{name}
Path Parameters
Path Parameters
string
id
Required
Cluster ID
string
name
Required
Criteria Name
Response
Response
Response BodyResponse Body
200 OK
Returns
HostCriterion
of type(s) application/json
{
"name": "One among: HOST_COMPATIBLE_WITH_CLUSTER_USING_PNICS, UNMANAGED_HOSTS_IN_VCENTER, UNMANAGED_HOSTS_IN_HCIMGR"
}
map of
string
arguments
Optional
Arguments required for a particular criterion
string
description
Optional
Description of the criterion
string
name
Optional
Name of the criterion
Errors
Error
404
Criterion Not Found
Code Samples
cURL Command
curl https://sfo-vcf01.rainpole.io/v1/clusters/{id}/hosts/criteria/{name}
[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
On This Page
Clusters Operations
post
Add Datastore To Cluster
Introduced
put
Assign Tags To Existing Cluster
Introduced
get
Assignable Tags To Cluster
Introduced
post
delete
get
get
Get Cluster Datastores
Introduced
get
get
Get Datastore Criterion
Introduced
get
Get Datastore Query Response
Introduced
get
Get Datastores Criteria
Introduced
get
Get Tags Assigned To Clusters
Introduced
get
post
Post Datastore Query
Introduced
post
delete
Remove Datastore From Cluster
Introduced
delete
Remove Tags From Existing Cluster
Introduced
patch
post
Validate vSAN Remote Datastore
Introduced