Validate Compute Credentials on a Cluster
- GET /api/v2.2/clusters/<cluster ID>/validate_compute_permissions
Use this API to validate compute credentials on a QDS cluster in a Qubole environment. Ensure to use the correct environment URL where the QDS cluster is created. For more information on the compute credentials that get validated, see Configuring your Access Settings using IAM Keys or Configuring your Access Settings using IAM Roles.
Request API Syntax
curl -X GET -H "X-AUTH-TOKEN:<AUTH-TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json"
"https://<Qubole Environment>/api/v2.2/clusters/<cluster ID>/validate_compute_permissions"
Here <Qubole Environment>
is the Qubole environment in which you have the QDS account. For example, https://api.qubole.com
is a Qubole environment.
Note
Qubole provides other endpoints to access QDS that are described in Supported Qubole Endpoints on Different Cloud Providers.
Sample API Request
Here is the sample request to validate compute credentials on a cluster with 3400 as its ID in the api.qubole.com
environment.
curl -X GET -H "X-AUTH-TOKEN:<AUTH-TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json"
"https://api.qubole.com/api/v2.2/clusters/3400/validate_compute_permissions"
Understanding Different Permission Validation Status
Status |
Description |
---|---|
Error |
It implies that the permission is missing and it is mandatory. The functionality does not work as explained in the Description field. |
Warning |
It implies that the permission is missing and it is optional. You can perform some workaround steps as explained in the Description field. |