Resource Functionalities APIs
APIs for managing Resource Functionalities
Table of Contents
1. Get Resource Functionalities
1.1. Prerequisites API
The following data is optional
Resource type - if not provided the API will default to resource type SYSTEM
Functionality type
Resource IDs
Allowed or disallowed resource functionalities
1.2. Steps API
- Invoke the API.
 
cURL Request
$ curl 'https://sfo-vcf01.rainpole.io/v1/resource-functionalities?resourceType=CLUSTER&functionalityType=ADD_HOST&resourceIds=8a8558a6-c200-4026-bb16-18d194e3896d&isAllowed=true&parentResourceType=SYSTEM' -i -X GET \
    -H 'Authorization: Bearer etYWRta....'
HTTP Request
GET /v1/resource-functionalities?resourceType=CLUSTER&functionalityType=ADD_HOST&resourceIds=8a8558a6-c200-4026-bb16-18d194e3896d&isAllowed=true&parentResourceType=SYSTEM HTTP/1.1
Host: sfo-vcf01.rainpole.io
Authorization: Bearer etYWRta....
HTTP Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 272
{
  "elements" : [ {
    "resourceType" : "CLUSTER",
    "resourceId" : "8a8558a6-c200-4026-bb16-18d194e3896d",
    "functionalities" : [ {
      "type" : "ADD_HOST",
      "isAllowed" : true
    }, {
      "type" : "REMOVE_HOST",
      "isAllowed" : false
    } ]
  } ]
}
1.3. Related APIs API
[_getresourcefunctionalities] API [_getresourcesfunctionalitiesallowedglobal] API
2. Get Resource Functionalities Allowed Global Configuration
2.1. Steps API
- Invoke the API.
 
cURL Request
$ curl 'https://sfo-vcf01.rainpole.io/v1/resource-functionalities/global' -i -X GET \
    -H 'Authorization: Bearer etYWRta....'
HTTP Request
GET /v1/resource-functionalities/global HTTP/1.1
Host: sfo-vcf01.rainpole.io
Authorization: Bearer etYWRta....
HTTP Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 24
{
  "isAllowed" : true
}
2.2. Related APIs API
[_getresourcefunctionalities] API
[_getresourcesfunctionalitiesallowedglobal] API
Last updated 2025-07-17 07:18:23 -0700