public class ApiOvhDbaasqueue extends ApiOvhBase
core| Constructor and Description |
|---|
ApiOvhDbaasqueue(ApiOvhCore core) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<String> |
GET()
List available services
REST: GET /dbaas/queue
API beta
|
ArrayList<Long> |
serviceName_changeContact_POST(String serviceName,
String contactAdmin,
String contactTech,
String contactBilling)
Launch a contact change procedure
REST: POST /dbaas/queue/{serviceName}/changeContact
|
OvhAppConfiguration |
serviceName_configure_POST(String serviceName,
String name,
String regionId)
Configure an application
REST: POST /dbaas/queue/{serviceName}/configure
|
OvhApp |
serviceName_GET(String serviceName)
Get an application
REST: GET /dbaas/queue/{serviceName}
|
ArrayList<String> |
serviceName_key_GET(String serviceName)
List all keys of the application
REST: GET /dbaas/queue/{serviceName}/key
|
OvhKeyWithSecret |
serviceName_key_keyId_changeSecret_POST(String serviceName,
String keyId)
Generate a new key secret
REST: POST /dbaas/queue/{serviceName}/key/{keyId}/changeSecret
|
void |
serviceName_key_keyId_DELETE(String serviceName,
String keyId)
Delete a key
REST: DELETE /dbaas/queue/{serviceName}/key/{keyId}
|
OvhKey |
serviceName_key_keyId_GET(String serviceName,
String keyId)
Get a key
REST: GET /dbaas/queue/{serviceName}/key/{keyId}
|
OvhKey |
serviceName_key_keyId_PUT(String serviceName,
String keyId,
String name)
Update a key name
REST: PUT /dbaas/queue/{serviceName}/key/{keyId}
|
OvhKeyWithSecret |
serviceName_key_POST(String serviceName,
String name)
Create a key
REST: POST /dbaas/queue/{serviceName}/key
|
OvhMetricsAccount |
serviceName_metrics_account_GET(String serviceName)
Get metrics account
REST: GET /dbaas/queue/{serviceName}/metrics/account
|
OvhApp |
serviceName_PUT(String serviceName,
String name)
Update an application
REST: PUT /dbaas/queue/{serviceName}
|
ArrayList<String> |
serviceName_region_GET(String serviceName)
List all regions ID
REST: GET /dbaas/queue/{serviceName}/region
|
OvhRegion |
serviceName_region_regionId_GET(String serviceName,
String regionId)
Get one region
REST: GET /dbaas/queue/{serviceName}/region/{regionId}
|
ArrayList<String> |
serviceName_role_GET(String serviceName)
List all roles of the application
REST: GET /dbaas/queue/{serviceName}/role
|
OvhRole |
serviceName_role_POST(String serviceName,
String name,
String[] readAcl,
String[] writeAcl,
Boolean autoCreateAcl)
Create a role
REST: POST /dbaas/queue/{serviceName}/role
|
void |
serviceName_role_roleName_DELETE(String serviceName,
String roleName)
Delete a role
REST: DELETE /dbaas/queue/{serviceName}/role/{roleName}
|
OvhRole |
serviceName_role_roleName_GET(String serviceName,
String roleName)
Get a role
REST: GET /dbaas/queue/{serviceName}/role/{roleName}
|
OvhRole |
serviceName_role_roleName_PUT(String serviceName,
String roleName,
String name,
String[] readAcl,
String[] writeAcl,
Boolean autoCreateAcl)
Update a role
REST: PUT /dbaas/queue/{serviceName}/role/{roleName}
|
OvhService |
serviceName_serviceInfos_GET(String serviceName)
Get this object properties
REST: GET /dbaas/queue/{serviceName}/serviceInfos
|
void |
serviceName_serviceInfos_PUT(String serviceName,
OvhService body)
Alter this object properties
REST: PUT /dbaas/queue/{serviceName}/serviceInfos
|
ArrayList<String> |
serviceName_topic_GET(String serviceName)
List all topics of the application
REST: GET /dbaas/queue/{serviceName}/topic
|
OvhTopic |
serviceName_topic_POST(String serviceName,
String id,
Long partitions,
Long replicationFactor)
Create a topic
REST: POST /dbaas/queue/{serviceName}/topic
|
void |
serviceName_topic_topicId_DELETE(String serviceName,
String topicId)
Delete a topic
REST: DELETE /dbaas/queue/{serviceName}/topic/{topicId}
|
OvhTopic |
serviceName_topic_topicId_GET(String serviceName,
String topicId)
Get a topic
REST: GET /dbaas/queue/{serviceName}/topic/{topicId}
|
OvhTopic |
serviceName_topic_topicId_PUT(String serviceName,
String topicId,
Long partitions)
Update a topic configuration
REST: PUT /dbaas/queue/{serviceName}/topic/{topicId}
|
ArrayList<String> |
serviceName_user_GET(String serviceName)
List all users of the application
REST: GET /dbaas/queue/{serviceName}/user
|
OvhUserWithPassword |
serviceName_user_POST(String serviceName,
String name,
String[] roles)
Create a user
REST: POST /dbaas/queue/{serviceName}/user
|
OvhUserWithPassword |
serviceName_user_userId_changePassword_POST(String serviceName,
String userId)
Generate a new user password
REST: POST /dbaas/queue/{serviceName}/user/{userId}/changePassword
|
void |
serviceName_user_userId_DELETE(String serviceName,
String userId)
Delete a user
REST: DELETE /dbaas/queue/{serviceName}/user/{userId}
|
OvhUser |
serviceName_user_userId_GET(String serviceName,
String userId)
Get a user
REST: GET /dbaas/queue/{serviceName}/user/{userId}
|
ArrayList<String> |
serviceName_user_userId_roles_GET(String serviceName,
String userId)
Get user roles
REST: GET /dbaas/queue/{serviceName}/user/{userId}/roles
|
ArrayList<String> |
serviceName_user_userId_roles_POST(String serviceName,
String userId,
String roleName)
Add a role to a user
REST: POST /dbaas/queue/{serviceName}/user/{userId}/roles
|
void |
serviceName_user_userId_roles_role_DELETE(String serviceName,
String userId,
String role)
Delete a role from a user's ones
REST: DELETE /dbaas/queue/{serviceName}/user/{userId}/roles/{role}
|
public ApiOvhDbaasqueue(ApiOvhCore core)
public OvhService serviceName_serviceInfos_GET(String serviceName) throws IOException
serviceName - [required] The internal ID of your Queue app
API betaIOExceptionpublic void serviceName_serviceInfos_PUT(String serviceName, OvhService body) throws IOException
body - [required] New object propertiesserviceName - [required] The internal ID of your Queue app
API betaIOExceptionpublic ArrayList<String> serviceName_topic_GET(String serviceName) throws IOException
serviceName - [required] Application ID
API betaIOExceptionpublic OvhTopic serviceName_topic_POST(String serviceName, String id, Long partitions, Long replicationFactor) throws IOException
serviceName - [required] Application IDid - [required] Topic IDpartitions - [required] Number of partitionsreplicationFactor - [required] Replication factor
API betaIOExceptionpublic OvhTopic serviceName_topic_topicId_GET(String serviceName, String topicId) throws IOException
serviceName - [required] Application IDtopicId - [required] Topic ID
API betaIOExceptionpublic OvhTopic serviceName_topic_topicId_PUT(String serviceName, String topicId, Long partitions) throws IOException
serviceName - [required] Application IDtopicId - [required] Topic IDpartitions - [required] Number of partitions
API betaIOExceptionpublic void serviceName_topic_topicId_DELETE(String serviceName, String topicId) throws IOException
serviceName - [required] Application IDtopicId - [required] Topic ID
API betaIOExceptionpublic OvhApp serviceName_GET(String serviceName) throws IOException
serviceName - [required] Application ID
API betaIOExceptionpublic OvhApp serviceName_PUT(String serviceName, String name) throws IOException
serviceName - [required] Application IDname - [required] Application name
API betaIOExceptionpublic ArrayList<String> serviceName_region_GET(String serviceName) throws IOException
serviceName - [required] Application ID
API betaIOExceptionpublic OvhRegion serviceName_region_regionId_GET(String serviceName, String regionId) throws IOException
serviceName - [required] Application IDregionId - [required] Region ID
API betaIOExceptionpublic ArrayList<Long> serviceName_changeContact_POST(String serviceName, String contactAdmin, String contactTech, String contactBilling) throws IOException
contactAdmin - The contact to set as admin contactcontactTech - The contact to set as tech contactcontactBilling - The contact to set as billing contactserviceName - [required] The internal ID of your Queue app
API betaIOExceptionpublic OvhKeyWithSecret serviceName_key_POST(String serviceName, String name) throws IOException
serviceName - [required] Application IDname - [required] Key name
API betaIOExceptionpublic ArrayList<String> serviceName_key_GET(String serviceName) throws IOException
serviceName - [required] Application ID
API betaIOExceptionpublic OvhKey serviceName_key_keyId_GET(String serviceName, String keyId) throws IOException
serviceName - [required] Application IDkeyId - [required] Key ID
API betaIOExceptionpublic OvhKey serviceName_key_keyId_PUT(String serviceName, String keyId, String name) throws IOException
serviceName - [required] Application IDkeyId - [required] Key IDname - [required] Key name
API betaIOExceptionpublic void serviceName_key_keyId_DELETE(String serviceName, String keyId) throws IOException
serviceName - [required] Application IDkeyId - [required] Key ID
API betaIOExceptionpublic OvhKeyWithSecret serviceName_key_keyId_changeSecret_POST(String serviceName, String keyId) throws IOException
serviceName - [required] Application IDkeyId - [required] Key ID
API betaIOExceptionpublic OvhAppConfiguration serviceName_configure_POST(String serviceName, String name, String regionId) throws IOException
serviceName - [required] Application IDname - [required] Application nameregionId - [required] Application region ID
API betaIOExceptionpublic OvhUserWithPassword serviceName_user_POST(String serviceName, String name, String[] roles) throws IOException
serviceName - [required] Application IDname - [required] User nameroles - [required] User roles
API betaIOExceptionpublic ArrayList<String> serviceName_user_GET(String serviceName) throws IOException
serviceName - [required] Application ID
API betaIOExceptionpublic ArrayList<String> serviceName_user_userId_roles_GET(String serviceName, String userId) throws IOException
serviceName - [required] Application IDuserId - [required] User ID
API betaIOExceptionpublic ArrayList<String> serviceName_user_userId_roles_POST(String serviceName, String userId, String roleName) throws IOException
serviceName - [required] Application IDuserId - [required] User IDroleName - [required] Role name
API betaIOExceptionpublic void serviceName_user_userId_roles_role_DELETE(String serviceName, String userId, String role) throws IOException
serviceName - [required] Application IDuserId - [required] User IDrole - [required] Role name
API betaIOExceptionpublic OvhUser serviceName_user_userId_GET(String serviceName, String userId) throws IOException
serviceName - [required] Application IDuserId - [required] User ID
API betaIOExceptionpublic void serviceName_user_userId_DELETE(String serviceName, String userId) throws IOException
serviceName - [required] Application IDuserId - [required] User ID
API betaIOExceptionpublic OvhUserWithPassword serviceName_user_userId_changePassword_POST(String serviceName, String userId) throws IOException
serviceName - [required] Application IDuserId - [required] User ID
API betaIOExceptionpublic OvhMetricsAccount serviceName_metrics_account_GET(String serviceName) throws IOException
serviceName - [required] Application ID
API betaIOExceptionpublic ArrayList<String> serviceName_role_GET(String serviceName) throws IOException
serviceName - [required] Application ID
API betaIOExceptionpublic OvhRole serviceName_role_POST(String serviceName, String name, String[] readAcl, String[] writeAcl, Boolean autoCreateAcl) throws IOException
serviceName - [required] Application IDname - [required] Role namereadAcl - [required] List of topics with read accesswriteAcl - [required] List of topics with write accessautoCreateAcl - [required] Automatically create non-existing topics on read & write operations
API betaIOExceptionpublic OvhRole serviceName_role_roleName_GET(String serviceName, String roleName) throws IOException
serviceName - [required] Application IDroleName - [required] Role name
API betaIOExceptionpublic OvhRole serviceName_role_roleName_PUT(String serviceName, String roleName, String name, String[] readAcl, String[] writeAcl, Boolean autoCreateAcl) throws IOException
serviceName - [required] Application IDroleName - [required] Role namename - [required] New role namereadAcl - [required] List of topics with read accesswriteAcl - [required] List of topics with write accessautoCreateAcl - [required] Automatically create non-existing topics on read & write operations
API betaIOExceptionpublic void serviceName_role_roleName_DELETE(String serviceName, String roleName) throws IOException
serviceName - [required] Application IDroleName - [required] Role name
API betaIOExceptionpublic ArrayList<String> GET() throws IOException
IOExceptionCopyright © 2017. All rights reserved.