| Package | Description |
|---|---|
| net.minidev.ovh.api | |
| net.minidev.ovh.api.cluster.hadoop |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<OvhRoleTypeEnum> |
ApiOvhClusterhadoop.serviceName_node_hostname_role_GET(String serviceName,
String hostname)
Roles (ie set of Hadoop services) of the Node
REST: GET /cluster/hadoop/{serviceName}/node/{hostname}/role
|
| Modifier and Type | Method and Description |
|---|---|
OvhTask |
ApiOvhClusterhadoop.serviceName_node_hostname_role_POST(String serviceName,
String hostname,
OvhRoleTypeEnum type)
Add the Role to the Node
REST: POST /cluster/hadoop/{serviceName}/node/{hostname}/role
|
OvhTask |
ApiOvhClusterhadoop.serviceName_node_hostname_role_type_DELETE(String serviceName,
String hostname,
OvhRoleTypeEnum type)
Remove this Role from the Node
REST: DELETE /cluster/hadoop/{serviceName}/node/{hostname}/role/{type}
|
OvhRole |
ApiOvhClusterhadoop.serviceName_node_hostname_role_type_GET(String serviceName,
String hostname,
OvhRoleTypeEnum type)
Get this object properties
REST: GET /cluster/hadoop/{serviceName}/node/{hostname}/role/{type}
|
OvhTask |
ApiOvhClusterhadoop.serviceName_node_hostname_role_type_restart_POST(String serviceName,
String hostname,
OvhRoleTypeEnum type)
Restart the role on the node (THIS ACTION WILL RESTART OTHER DEPENDANT ROLES)
REST: POST /cluster/hadoop/{serviceName}/node/{hostname}/role/{type}/restart
|
OvhTask |
ApiOvhClusterhadoop.serviceName_node_hostname_role_type_start_POST(String serviceName,
String hostname,
OvhRoleTypeEnum type)
Start the role on the node
REST: POST /cluster/hadoop/{serviceName}/node/{hostname}/role/{type}/start
|
OvhTask |
ApiOvhClusterhadoop.serviceName_node_hostname_role_type_stop_POST(String serviceName,
String hostname,
OvhRoleTypeEnum type)
Stop the role on the node (THIS ACTION WILL STOP OTHER DEPENDANT ROLES)
REST: POST /cluster/hadoop/{serviceName}/node/{hostname}/role/{type}/stop
|
| Modifier and Type | Field and Description |
|---|---|
OvhRoleTypeEnum |
OvhRole.type
Role name
canBeNull && readOnly
|
| Modifier and Type | Method and Description |
|---|---|
static OvhRoleTypeEnum |
OvhRoleTypeEnum.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OvhRoleTypeEnum[] |
OvhRoleTypeEnum.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2017. All rights reserved.