public class ApiOvhClusterhadoop extends ApiOvhBase
core| Constructor and Description |
|---|
ApiOvhClusterhadoop(ApiOvhCore core) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<String> |
GET()
List available services
REST: GET /cluster/hadoop
|
ArrayList<OvhNodeBillingProfile> |
orderableNodeProfiles_GET()
Get the orderable node profiles and their characteristics
REST: GET /cluster/hadoop/orderableNodeProfiles
|
OvhOrderInformations |
orderInformations_GET()
Get informations about the order of one cluster
REST: GET /cluster/hadoop/orderInformations
|
OvhClusterConsumption |
serviceName_consumptions_GET(String serviceName)
Get the current consumptions that you will billed for on the next bill
REST: GET /cluster/hadoop/{serviceName}/consumptions
|
OvhHadoop |
serviceName_GET(String serviceName)
Get this object properties
REST: GET /cluster/hadoop/{serviceName}
|
OvhTask |
serviceName_networkAcl_block_DELETE(String serviceName,
String block)
Remove this ACL
REST: DELETE /cluster/hadoop/{serviceName}/networkAcl/{block}
|
OvhNetworkAcl |
serviceName_networkAcl_block_GET(String serviceName,
String block)
Get this object properties
REST: GET /cluster/hadoop/{serviceName}/networkAcl/{block}
|
void |
serviceName_networkAcl_block_PUT(String serviceName,
String block,
OvhNetworkAcl body)
Alter this object properties
REST: PUT /cluster/hadoop/{serviceName}/networkAcl/{block}
|
ArrayList<String> |
serviceName_networkAcl_GET(String serviceName)
Network ACL associated with this Hadoop Cluster
REST: GET /cluster/hadoop/{serviceName}/networkAcl
|
OvhTask |
serviceName_networkAcl_POST(String serviceName,
String block,
String description)
Add an ACL to your cluster
REST: POST /cluster/hadoop/{serviceName}/networkAcl
|
ArrayList<String> |
serviceName_node_GET(String serviceName,
OvhNodeProfileEnum softwareProfile)
Nodes of the Cluster
REST: GET /cluster/hadoop/{serviceName}/node
|
OvhTask |
serviceName_node_hostname_decommission_POST(String serviceName,
String hostname)
Decommission the node and all the services on it
REST: POST /cluster/hadoop/{serviceName}/node/{hostname}/decommission
|
OvhTask |
serviceName_node_hostname_DELETE(String serviceName,
String hostname)
Remove this Node from the Cluster
REST: DELETE /cluster/hadoop/{serviceName}/node/{hostname}
|
OvhNode |
serviceName_node_hostname_GET(String serviceName,
String hostname)
Get this object properties
REST: GET /cluster/hadoop/{serviceName}/node/{hostname}
|
OvhTask |
serviceName_node_hostname_recommission_POST(String serviceName,
String hostname)
Recommission the node and all the services on it
REST: POST /cluster/hadoop/{serviceName}/node/{hostname}/recommission
|
ArrayList<OvhRoleTypeEnum> |
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
|
OvhTask |
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 |
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 |
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 |
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 |
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 |
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
|
ArrayList<OvhNodeBillingProfile> |
serviceName_nodeBillingProfiles_GET(String serviceName)
Detailed description for each Node profile
REST: GET /cluster/hadoop/{serviceName}/nodeBillingProfiles
|
ArrayList<OvhNodeConsumption> |
serviceName_nodeConsumptions_GET(String serviceName)
Get the current node consumptions that you will billed for on the next bill
REST: GET /cluster/hadoop/{serviceName}/nodeConsumptions
|
ArrayList<String> |
serviceName_orderableNodeProfiles_GET(String serviceName)
List of orderable Node profiles
REST: GET /cluster/hadoop/{serviceName}/orderableNodeProfiles
|
OvhTask |
serviceName_orderNewNodeHourly_POST(String serviceName,
String nodeProfile)
Order a new node in the cluster
REST: POST /cluster/hadoop/{serviceName}/orderNewNodeHourly
|
OvhTask |
serviceName_restart_POST(String serviceName)
Restart the Cloudera Manager Hadoop Cluster (THIS ACTION WILL RESTART EVERY SERVICE)
REST: POST /cluster/hadoop/{serviceName}/restart
|
OvhTask |
serviceName_service_restart_POST(String serviceName,
OvhClusterServiceNameEnum service)
Restart a Cloudera Manager service (THIS ACTION WILL RESTART OTHER DEPENDANT SERVICES)
REST: POST /cluster/hadoop/{serviceName}/service/restart
|
OvhTask |
serviceName_service_start_POST(String serviceName,
OvhClusterServiceNameEnum service)
Start a Cloudera Manager service
REST: POST /cluster/hadoop/{serviceName}/service/start
|
OvhTask |
serviceName_service_stop_POST(String serviceName,
OvhClusterServiceNameEnum service)
Stop a Cloudera Manager service (THIS ACTION WILL STOP OTHER DEPENDANT SERVICES)
REST: POST /cluster/hadoop/{serviceName}/service/stop
|
OvhService |
serviceName_serviceInfos_GET(String serviceName)
Get this object properties
REST: GET /cluster/hadoop/{serviceName}/serviceInfos
|
void |
serviceName_serviceInfos_PUT(String serviceName,
OvhService body)
Alter this object properties
REST: PUT /cluster/hadoop/{serviceName}/serviceInfos
|
OvhTask |
serviceName_start_POST(String serviceName)
Start the Cloudera Manager Hadoop Cluster
REST: POST /cluster/hadoop/{serviceName}/start
|
OvhTask |
serviceName_stop_POST(String serviceName)
Stop a Cloudera Manager Hadoop Cluster (THIS ACTION WILL STOP EVERY SERVICE)
REST: POST /cluster/hadoop/{serviceName}/stop
|
ArrayList<Long> |
serviceName_task_GET(String serviceName,
OvhOperationStateEnum status)
Tasks associated with this Hadoop Cluster
REST: GET /cluster/hadoop/{serviceName}/task
|
OvhTask |
serviceName_task_taskId_GET(String serviceName,
Long taskId)
Get this object properties
REST: GET /cluster/hadoop/{serviceName}/task/{taskId}
|
OvhTask |
serviceName_terminate_POST(String serviceName)
Terminate your service.
|
ArrayList<String> |
serviceName_user_GET(String serviceName)
Users associated with this Hadoop Cluster
REST: GET /cluster/hadoop/{serviceName}/user
|
OvhTask |
serviceName_user_POST(String serviceName,
Boolean hue,
Boolean clouderaManager,
String password,
Boolean httpFrontend,
String username)
Add an User to your cluster
REST: POST /cluster/hadoop/{serviceName}/user
|
OvhTask |
serviceName_user_username_DELETE(String serviceName,
String username)
Remove this User
REST: DELETE /cluster/hadoop/{serviceName}/user/{username}
|
OvhUser |
serviceName_user_username_GET(String serviceName,
String username)
Get this object properties
REST: GET /cluster/hadoop/{serviceName}/user/{username}
|
void |
serviceName_user_username_PUT(String serviceName,
String username,
OvhUser body)
Alter this object properties
REST: PUT /cluster/hadoop/{serviceName}/user/{username}
|
OvhTask |
serviceName_user_username_resetPassword_POST(String serviceName,
String username,
String password)
Reset the password for a given Hadoop Cluster User
REST: POST /cluster/hadoop/{serviceName}/user/{username}/resetPassword
|
public ApiOvhClusterhadoop(ApiOvhCore core)
public OvhOrderInformations orderInformations_GET() throws IOException
IOExceptionpublic OvhService serviceName_serviceInfos_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic void serviceName_serviceInfos_PUT(String serviceName, OvhService body) throws IOException
body - [required] New object propertiesserviceName - [required] The internal name of your clusterIOExceptionpublic OvhHadoop serviceName_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic OvhTask serviceName_terminate_POST(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic ArrayList<OvhNodeConsumption> serviceName_nodeConsumptions_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic ArrayList<String> serviceName_node_GET(String serviceName, OvhNodeProfileEnum softwareProfile) throws IOException
softwareProfile - [required] Filter the value of softwareProfile property (=)serviceName - [required] The internal name of your clusterIOExceptionpublic OvhNode serviceName_node_hostname_GET(String serviceName, String hostname) throws IOException
serviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodeIOExceptionpublic OvhTask serviceName_node_hostname_DELETE(String serviceName, String hostname) throws IOException
serviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodeIOExceptionpublic OvhTask serviceName_node_hostname_decommission_POST(String serviceName, String hostname) throws IOException
serviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodeIOExceptionpublic ArrayList<OvhRoleTypeEnum> serviceName_node_hostname_role_GET(String serviceName, String hostname) throws IOException
serviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodeIOExceptionpublic OvhTask serviceName_node_hostname_role_POST(String serviceName, String hostname, OvhRoleTypeEnum type) throws IOException
type - [required] Role nameserviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodeIOExceptionpublic OvhTask serviceName_node_hostname_role_type_restart_POST(String serviceName, String hostname, OvhRoleTypeEnum type) throws IOException
serviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodetype - [required] Role nameIOExceptionpublic OvhRole serviceName_node_hostname_role_type_GET(String serviceName, String hostname, OvhRoleTypeEnum type) throws IOException
serviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodetype - [required] Role nameIOExceptionpublic OvhTask serviceName_node_hostname_role_type_DELETE(String serviceName, String hostname, OvhRoleTypeEnum type) throws IOException
serviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodetype - [required] Role nameIOExceptionpublic OvhTask serviceName_node_hostname_role_type_stop_POST(String serviceName, String hostname, OvhRoleTypeEnum type) throws IOException
serviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodetype - [required] Role nameIOExceptionpublic OvhTask serviceName_node_hostname_role_type_start_POST(String serviceName, String hostname, OvhRoleTypeEnum type) throws IOException
serviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodetype - [required] Role nameIOExceptionpublic OvhTask serviceName_node_hostname_recommission_POST(String serviceName, String hostname) throws IOException
serviceName - [required] The internal name of your clusterhostname - [required] Hostname of the nodeIOExceptionpublic ArrayList<String> serviceName_user_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic OvhTask serviceName_user_POST(String serviceName, Boolean hue, Boolean clouderaManager, String password, Boolean httpFrontend, String username) throws IOException
hue - [required] Whether or not the User is allowed to access to the Hue interfaceclouderaManager - [required] Whether or not the User is allowed to access to the Cloudera Manager interfacepassword - [required] Password of the UserhttpFrontend - [required] Whether or not the User is allowed to access to the WebUI interfacesusername - [required] Username of the UserserviceName - [required] The internal name of your clusterIOExceptionpublic OvhUser serviceName_user_username_GET(String serviceName, String username) throws IOException
serviceName - [required] The internal name of your clusterusername - [required] The username of the UserIOExceptionpublic void serviceName_user_username_PUT(String serviceName, String username, OvhUser body) throws IOException
body - [required] New object propertiesserviceName - [required] The internal name of your clusterusername - [required] The username of the UserIOExceptionpublic OvhTask serviceName_user_username_DELETE(String serviceName, String username) throws IOException
serviceName - [required] The internal name of your clusterusername - [required] The username of the UserIOExceptionpublic OvhTask serviceName_user_username_resetPassword_POST(String serviceName, String username, String password) throws IOException
password - [required] Password of the UserserviceName - [required] The internal name of your clusterusername - [required] The username of the UserIOExceptionpublic ArrayList<String> serviceName_orderableNodeProfiles_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic OvhTask serviceName_restart_POST(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic ArrayList<String> serviceName_networkAcl_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic OvhTask serviceName_networkAcl_POST(String serviceName, String block, String description) throws IOException
block - [required] IP block to allowdescription - [required] Free descriptionserviceName - [required] The internal name of your clusterIOExceptionpublic OvhNetworkAcl serviceName_networkAcl_block_GET(String serviceName, String block) throws IOException
serviceName - [required] The internal name of your clusterblock - [required] IP Block to allowIOExceptionpublic void serviceName_networkAcl_block_PUT(String serviceName, String block, OvhNetworkAcl body) throws IOException
body - [required] New object propertiesserviceName - [required] The internal name of your clusterblock - [required] IP Block to allowIOExceptionpublic OvhTask serviceName_networkAcl_block_DELETE(String serviceName, String block) throws IOException
serviceName - [required] The internal name of your clusterblock - [required] IP Block to allowIOExceptionpublic ArrayList<OvhNodeBillingProfile> serviceName_nodeBillingProfiles_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic OvhTask serviceName_stop_POST(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic ArrayList<Long> serviceName_task_GET(String serviceName, OvhOperationStateEnum status) throws IOException
status - [required] Filter the value of status property (=)serviceName - [required] The internal name of your clusterIOExceptionpublic OvhTask serviceName_task_taskId_GET(String serviceName, Long taskId) throws IOException
serviceName - [required] The internal name of your clustertaskId - [required]IOExceptionpublic OvhTask serviceName_service_restart_POST(String serviceName, OvhClusterServiceNameEnum service) throws IOException
service - [required] Name of the service to be restartedserviceName - [required] The internal name of your clusterIOExceptionpublic OvhTask serviceName_service_stop_POST(String serviceName, OvhClusterServiceNameEnum service) throws IOException
service - [required] Name of the service to be stoppedserviceName - [required] The internal name of your clusterIOExceptionpublic OvhTask serviceName_service_start_POST(String serviceName, OvhClusterServiceNameEnum service) throws IOException
service - [required] Name of the service to be startedserviceName - [required] The internal name of your clusterIOExceptionpublic OvhClusterConsumption serviceName_consumptions_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic OvhTask serviceName_orderNewNodeHourly_POST(String serviceName, String nodeProfile) throws IOException
nodeProfile - [required] Node profile you want to orderserviceName - [required] The internal name of your clusterIOExceptionpublic OvhTask serviceName_start_POST(String serviceName) throws IOException
serviceName - [required] The internal name of your clusterIOExceptionpublic ArrayList<String> GET() throws IOException
IOExceptionpublic ArrayList<OvhNodeBillingProfile> orderableNodeProfiles_GET() throws IOException
IOExceptionCopyright © 2017. All rights reserved.