orderable_node_profiles
Creates, updates, deletes, gets or lists an orderable_node_profiles resource.
Overview​
| Name | orderable_node_profiles |
| Type | Resource |
| Id | ovh.cluster_hadoop.orderable_node_profiles |
Fields​
The following fields are returned by SELECT queries:
- list_by_service_name
- list
| Name | Datatype | Description |
|---|---|---|
value | string |
Detailed information on a node billing profile
| Name | Datatype | Description |
|---|---|---|
cpu_frequency | object | Frequency of one CPU core (wire: CPUFrequency) |
disk_capacity | object | Total capacity available for HDFS (wire: diskCapacity) |
nb_cpu_cores | integer | Total number of the CPU cores (wire: nbCPUCores) |
nb_cpu_threads | integer | Total number of the CPU threads (wire: nbCPUThreads) |
network_bandwidth | object | Network speed of the link used for the Hadoop process (wire: networkBandwidth) |
node_profile | string | Name of the Node billing profile (wire: nodeProfile) |
ram_quantity | object | Total amount of RAM (wire: ramQuantity) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_service_name | select | service_name | List of orderable Node profiles | |
list | select | Get the orderable node profiles and their characteristics |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
service_name | string | The internal name of your cluster (wire: serviceName) |
SELECT examples​
- list_by_service_name
- list
List of orderable Node profiles
SELECT
value
FROM ovh.cluster_hadoop.orderable_node_profiles
WHERE service_name = '{{ service_name }}' -- required
;
Get the orderable node profiles and their characteristics
SELECT
cpu_frequency,
disk_capacity,
nb_cpu_cores,
nb_cpu_threads,
network_bandwidth,
node_profile,
ram_quantity
FROM ovh.cluster_hadoop.orderable_node_profiles
;