repo stringlengths 7 58 | path stringlengths 12 218 | func_name stringlengths 3 140 | original_string stringlengths 73 34.1k | language stringclasses 1 value | code stringlengths 73 34.1k | code_tokens list | docstring stringlengths 3 16k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 105 339 | partition stringclasses 1 value |
|---|---|---|---|---|---|---|---|---|---|---|---|
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.ipOrganisation_organisationId_DELETE | public void ipOrganisation_organisationId_DELETE(String organisationId) throws IOException {
String qPath = "/me/ipOrganisation/{organisationId}";
StringBuilder sb = path(qPath, organisationId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void ipOrganisation_organisationId_DELETE(String organisationId) throws IOException {
String qPath = "/me/ipOrganisation/{organisationId}";
StringBuilder sb = path(qPath, organisationId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"ipOrganisation_organisationId_DELETE",
"(",
"String",
"organisationId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/ipOrganisation/{organisationId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"organisationId",
... | Delete this organisation
REST: DELETE /me/ipOrganisation/{organisationId}
@param organisationId [required] | [
"Delete",
"this",
"organisation"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2222-L2226 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.ipOrganisation_POST | public void ipOrganisation_POST(String abuse_mailbox, String address, String city, OvhCountryEnum country, String firstname, String lastname, String phone, OvhIpRegistryEnum registry, String state, String zip) throws IOException {
String qPath = "/me/ipOrganisation";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "abuse_mailbox", abuse_mailbox);
addBody(o, "address", address);
addBody(o, "city", city);
addBody(o, "country", country);
addBody(o, "firstname", firstname);
addBody(o, "lastname", lastname);
addBody(o, "phone", phone);
addBody(o, "registry", registry);
addBody(o, "state", state);
addBody(o, "zip", zip);
exec(qPath, "POST", sb.toString(), o);
} | java | public void ipOrganisation_POST(String abuse_mailbox, String address, String city, OvhCountryEnum country, String firstname, String lastname, String phone, OvhIpRegistryEnum registry, String state, String zip) throws IOException {
String qPath = "/me/ipOrganisation";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "abuse_mailbox", abuse_mailbox);
addBody(o, "address", address);
addBody(o, "city", city);
addBody(o, "country", country);
addBody(o, "firstname", firstname);
addBody(o, "lastname", lastname);
addBody(o, "phone", phone);
addBody(o, "registry", registry);
addBody(o, "state", state);
addBody(o, "zip", zip);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"ipOrganisation_POST",
"(",
"String",
"abuse_mailbox",
",",
"String",
"address",
",",
"String",
"city",
",",
"OvhCountryEnum",
"country",
",",
"String",
"firstname",
",",
"String",
"lastname",
",",
"String",
"phone",
",",
"OvhIpRegistryEnum",
"re... | Add an organisation
REST: POST /me/ipOrganisation
@param zip [required]
@param state [required]
@param country [required]
@param city [required]
@param registry [required]
@param address [required]
@param firstname [required]
@param lastname [required]
@param phone [required]
@param abuse_mailbox [required] | [
"Add",
"an",
"organisation"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2255-L2270 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.task_domain_GET | public ArrayList<Long> task_domain_GET(String domain, OvhNicOperationFunctionEnum function, OvhOperationStatusEnum status) throws IOException {
String qPath = "/me/task/domain";
StringBuilder sb = path(qPath);
query(sb, "domain", domain);
query(sb, "function", function);
query(sb, "status", status);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> task_domain_GET(String domain, OvhNicOperationFunctionEnum function, OvhOperationStatusEnum status) throws IOException {
String qPath = "/me/task/domain";
StringBuilder sb = path(qPath);
query(sb, "domain", domain);
query(sb, "function", function);
query(sb, "status", status);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"task_domain_GET",
"(",
"String",
"domain",
",",
"OvhNicOperationFunctionEnum",
"function",
",",
"OvhOperationStatusEnum",
"status",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/task/domain\"",
";",
"String... | List of domain task
REST: GET /me/task/domain
@param status [required] Filter the value of status property (=)
@param function [required] Filter the value of function property (like)
@param domain [required] Filter the value of domain property (like) | [
"List",
"of",
"domain",
"task"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2280-L2288 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.task_domain_id_accelerate_POST | public void task_domain_id_accelerate_POST(Long id) throws IOException {
String qPath = "/me/task/domain/{id}/accelerate";
StringBuilder sb = path(qPath, id);
exec(qPath, "POST", sb.toString(), null);
} | java | public void task_domain_id_accelerate_POST(Long id) throws IOException {
String qPath = "/me/task/domain/{id}/accelerate";
StringBuilder sb = path(qPath, id);
exec(qPath, "POST", sb.toString(), null);
} | [
"public",
"void",
"task_domain_id_accelerate_POST",
"(",
"Long",
"id",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/task/domain/{id}/accelerate\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"id",
")",
";",
"exec",
"(",
"qPa... | Accelerate the task
REST: POST /me/task/domain/{id}/accelerate
@param id [required] Id of the task | [
"Accelerate",
"the",
"task"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2348-L2352 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.task_contactChange_GET | public ArrayList<Long> task_contactChange_GET(String askingAccount, net.minidev.ovh.api.nichandle.changecontact.OvhTaskStateEnum state, String toAccount) throws IOException {
String qPath = "/me/task/contactChange";
StringBuilder sb = path(qPath);
query(sb, "askingAccount", askingAccount);
query(sb, "state", state);
query(sb, "toAccount", toAccount);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> task_contactChange_GET(String askingAccount, net.minidev.ovh.api.nichandle.changecontact.OvhTaskStateEnum state, String toAccount) throws IOException {
String qPath = "/me/task/contactChange";
StringBuilder sb = path(qPath);
query(sb, "askingAccount", askingAccount);
query(sb, "state", state);
query(sb, "toAccount", toAccount);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"task_contactChange_GET",
"(",
"String",
"askingAccount",
",",
"net",
".",
"minidev",
".",
"ovh",
".",
"api",
".",
"nichandle",
".",
"changecontact",
".",
"OvhTaskStateEnum",
"state",
",",
"String",
"toAccount",
")",
"t... | List of service contact change tasks you are involved in
REST: GET /me/task/contactChange
@param toAccount [required] Filter the value of toAccount property (like)
@param state [required] Filter the value of state property (like)
@param askingAccount [required] Filter the value of askingAccount property (like) | [
"List",
"of",
"service",
"contact",
"change",
"tasks",
"you",
"are",
"involved",
"in"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2460-L2468 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.task_contactChange_id_refuse_POST | public void task_contactChange_id_refuse_POST(Long id, String token) throws IOException {
String qPath = "/me/task/contactChange/{id}/refuse";
StringBuilder sb = path(qPath, id);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "token", token);
exec(qPath, "POST", sb.toString(), o);
} | java | public void task_contactChange_id_refuse_POST(Long id, String token) throws IOException {
String qPath = "/me/task/contactChange/{id}/refuse";
StringBuilder sb = path(qPath, id);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "token", token);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"task_contactChange_id_refuse_POST",
"(",
"Long",
"id",
",",
"String",
"token",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/task/contactChange/{id}/refuse\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"id",
... | Refuse this change request
REST: POST /me/task/contactChange/{id}/refuse
@param token [required] The token you received by email for this request
@param id [required] | [
"Refuse",
"this",
"change",
"request"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2477-L2483 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.document_id_DELETE | public void document_id_DELETE(String id) throws IOException {
String qPath = "/me/document/{id}";
StringBuilder sb = path(qPath, id);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void document_id_DELETE(String id) throws IOException {
String qPath = "/me/document/{id}";
StringBuilder sb = path(qPath, id);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"document_id_DELETE",
"(",
"String",
"id",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/document/{id}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"id",
")",
";",
"exec",
"(",
"qPath",
",",
"\"DELETE\... | Delete a document
REST: DELETE /me/document/{id}
@param id [required] Document id | [
"Delete",
"a",
"document"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2571-L2575 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.document_POST | public OvhDocument document_POST(String name, OvhSafeKeyValue<String>[] tags) throws IOException {
String qPath = "/me/document";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "name", name);
addBody(o, "tags", tags);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhDocument.class);
} | java | public OvhDocument document_POST(String name, OvhSafeKeyValue<String>[] tags) throws IOException {
String qPath = "/me/document";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "name", name);
addBody(o, "tags", tags);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhDocument.class);
} | [
"public",
"OvhDocument",
"document_POST",
"(",
"String",
"name",
",",
"OvhSafeKeyValue",
"<",
"String",
">",
"[",
"]",
"tags",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/document\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",... | Create new document
REST: POST /me/document
@param name [required] File name
@param tags [required] File tags | [
"Create",
"new",
"document"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2596-L2604 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.changeEmail_POST | public OvhTask changeEmail_POST(String newEmail) throws IOException {
String qPath = "/me/changeEmail";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "newEmail", newEmail);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask changeEmail_POST(String newEmail) throws IOException {
String qPath = "/me/changeEmail";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "newEmail", newEmail);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"changeEmail_POST",
"(",
"String",
"newEmail",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/changeEmail\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"HashMap",
"<",
"String",
",",
"Object",
">",... | Initiate an email change procedure
REST: POST /me/changeEmail
@param newEmail [required] New email to associate to your account | [
"Initiate",
"an",
"email",
"change",
"procedure"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2674-L2681 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.vipStatus_GET | public OvhVipStatus vipStatus_GET() throws IOException {
String qPath = "/me/vipStatus";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhVipStatus.class);
} | java | public OvhVipStatus vipStatus_GET() throws IOException {
String qPath = "/me/vipStatus";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhVipStatus.class);
} | [
"public",
"OvhVipStatus",
"vipStatus_GET",
"(",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/vipStatus\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"String",
"resp",
"=",
"exec",
"(",
"qPath",
",",
"\"GET\"",
",",... | VIP Status of this account
REST: GET /me/vipStatus | [
"VIP",
"Status",
"of",
"this",
"account"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2793-L2798 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.bill_billId_debt_operation_operationId_associatedObject_GET | public net.minidev.ovh.api.debt.entry.OvhAssociatedObject bill_billId_debt_operation_operationId_associatedObject_GET(String billId, Long operationId) throws IOException {
String qPath = "/me/bill/{billId}/debt/operation/{operationId}/associatedObject";
StringBuilder sb = path(qPath, billId, operationId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, net.minidev.ovh.api.debt.entry.OvhAssociatedObject.class);
} | java | public net.minidev.ovh.api.debt.entry.OvhAssociatedObject bill_billId_debt_operation_operationId_associatedObject_GET(String billId, Long operationId) throws IOException {
String qPath = "/me/bill/{billId}/debt/operation/{operationId}/associatedObject";
StringBuilder sb = path(qPath, billId, operationId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, net.minidev.ovh.api.debt.entry.OvhAssociatedObject.class);
} | [
"public",
"net",
".",
"minidev",
".",
"ovh",
".",
"api",
".",
"debt",
".",
"entry",
".",
"OvhAssociatedObject",
"bill_billId_debt_operation_operationId_associatedObject_GET",
"(",
"String",
"billId",
",",
"Long",
"operationId",
")",
"throws",
"IOException",
"{",
"St... | Return main data about the object related to this debt operation
REST: GET /me/bill/{billId}/debt/operation/{operationId}/associatedObject
@param billId [required]
@param operationId [required] | [
"Return",
"main",
"data",
"about",
"the",
"object",
"related",
"to",
"this",
"debt",
"operation"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L2894-L2899 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.contact_contactId_PUT | public OvhContact contact_contactId_PUT(Long contactId, OvhAddress address, String birthCity, OvhCountryEnum birthCountry, Date birthDay, String birthZip, String cellPhone, String companyNationalIdentificationNumber, String email, String fax, String firstName, OvhGenderEnum gender, OvhLanguageEnum language, String lastName, OvhLegalFormEnum legalForm, String nationalIdentificationNumber, OvhCountryEnum nationality, String organisationName, String organisationType, String phone, String vat) throws IOException {
String qPath = "/me/contact/{contactId}";
StringBuilder sb = path(qPath, contactId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "address", address);
addBody(o, "birthCity", birthCity);
addBody(o, "birthCountry", birthCountry);
addBody(o, "birthDay", birthDay);
addBody(o, "birthZip", birthZip);
addBody(o, "cellPhone", cellPhone);
addBody(o, "companyNationalIdentificationNumber", companyNationalIdentificationNumber);
addBody(o, "email", email);
addBody(o, "fax", fax);
addBody(o, "firstName", firstName);
addBody(o, "gender", gender);
addBody(o, "language", language);
addBody(o, "lastName", lastName);
addBody(o, "legalForm", legalForm);
addBody(o, "nationalIdentificationNumber", nationalIdentificationNumber);
addBody(o, "nationality", nationality);
addBody(o, "organisationName", organisationName);
addBody(o, "organisationType", organisationType);
addBody(o, "phone", phone);
addBody(o, "vat", vat);
String resp = exec(qPath, "PUT", sb.toString(), o);
return convertTo(resp, OvhContact.class);
} | java | public OvhContact contact_contactId_PUT(Long contactId, OvhAddress address, String birthCity, OvhCountryEnum birthCountry, Date birthDay, String birthZip, String cellPhone, String companyNationalIdentificationNumber, String email, String fax, String firstName, OvhGenderEnum gender, OvhLanguageEnum language, String lastName, OvhLegalFormEnum legalForm, String nationalIdentificationNumber, OvhCountryEnum nationality, String organisationName, String organisationType, String phone, String vat) throws IOException {
String qPath = "/me/contact/{contactId}";
StringBuilder sb = path(qPath, contactId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "address", address);
addBody(o, "birthCity", birthCity);
addBody(o, "birthCountry", birthCountry);
addBody(o, "birthDay", birthDay);
addBody(o, "birthZip", birthZip);
addBody(o, "cellPhone", cellPhone);
addBody(o, "companyNationalIdentificationNumber", companyNationalIdentificationNumber);
addBody(o, "email", email);
addBody(o, "fax", fax);
addBody(o, "firstName", firstName);
addBody(o, "gender", gender);
addBody(o, "language", language);
addBody(o, "lastName", lastName);
addBody(o, "legalForm", legalForm);
addBody(o, "nationalIdentificationNumber", nationalIdentificationNumber);
addBody(o, "nationality", nationality);
addBody(o, "organisationName", organisationName);
addBody(o, "organisationType", organisationType);
addBody(o, "phone", phone);
addBody(o, "vat", vat);
String resp = exec(qPath, "PUT", sb.toString(), o);
return convertTo(resp, OvhContact.class);
} | [
"public",
"OvhContact",
"contact_contactId_PUT",
"(",
"Long",
"contactId",
",",
"OvhAddress",
"address",
",",
"String",
"birthCity",
",",
"OvhCountryEnum",
"birthCountry",
",",
"Date",
"birthDay",
",",
"String",
"birthZip",
",",
"String",
"cellPhone",
",",
"String",... | Update an existing contact
REST: PUT /me/contact/{contactId}
@param contactId [required] Contact Identifier
@param address [required] Address of the contact
@param cellPhone [required] Cellphone number
@param phone [required] Landline phone number
@param fax [required] Fax phone number
@param birthDay [required] Birthday date
@param birthCity [required] City of birth
@param birthZip [required] Birth Zipcode
@param birthCountry [required] Birth Country
@param vat [required] VAT number
@param companyNationalIdentificationNumber [required] Company national identification number
@param nationalIdentificationNumber [required] National identification number
@param organisationType [required] Type of your organisation
@param organisationName [required] Name of your organisation
@param email [required] Email address
@param firstName [required] First name
@param gender [required] Gender
@param language [required] Language
@param nationality [required] Nationality
@param lastName [required] Last name
@param legalForm [required] Legal form of the contact | [
"Update",
"an",
"existing",
"contact"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3058-L3084 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.geolocation_POST | public OvhContinentCountryLocation geolocation_POST() throws IOException {
String qPath = "/me/geolocation";
StringBuilder sb = path(qPath);
String resp = execN(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhContinentCountryLocation.class);
} | java | public OvhContinentCountryLocation geolocation_POST() throws IOException {
String qPath = "/me/geolocation";
StringBuilder sb = path(qPath);
String resp = execN(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhContinentCountryLocation.class);
} | [
"public",
"OvhContinentCountryLocation",
"geolocation_POST",
"(",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/geolocation\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"String",
"resp",
"=",
"execN",
"(",
"qPath",
","... | Fetch visitor country & region
REST: POST /me/geolocation | [
"Fetch",
"visitor",
"country",
"&",
"region"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3091-L3096 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.passwordRecover_POST | public void passwordRecover_POST(OvhOvhCompanyEnum ovhCompany, String ovhId) throws IOException {
String qPath = "/me/passwordRecover";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "ovhCompany", ovhCompany);
addBody(o, "ovhId", ovhId);
execN(qPath, "POST", sb.toString(), o);
} | java | public void passwordRecover_POST(OvhOvhCompanyEnum ovhCompany, String ovhId) throws IOException {
String qPath = "/me/passwordRecover";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "ovhCompany", ovhCompany);
addBody(o, "ovhId", ovhId);
execN(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"passwordRecover_POST",
"(",
"OvhOvhCompanyEnum",
"ovhCompany",
",",
"String",
"ovhId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/passwordRecover\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"HashMa... | Request a password recover
REST: POST /me/passwordRecover
@param ovhId [required] Your OVH Account Id
@param ovhCompany [required] Company of your OVH Account Id | [
"Request",
"a",
"password",
"recover"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3105-L3112 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.deposit_depositId_paidBills_billId_debt_operation_GET | public ArrayList<Long> deposit_depositId_paidBills_billId_debt_operation_GET(String depositId, String billId, Long depositOrderId) throws IOException {
String qPath = "/me/deposit/{depositId}/paidBills/{billId}/debt/operation";
StringBuilder sb = path(qPath, depositId, billId);
query(sb, "depositOrderId", depositOrderId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> deposit_depositId_paidBills_billId_debt_operation_GET(String depositId, String billId, Long depositOrderId) throws IOException {
String qPath = "/me/deposit/{depositId}/paidBills/{billId}/debt/operation";
StringBuilder sb = path(qPath, depositId, billId);
query(sb, "depositOrderId", depositOrderId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"deposit_depositId_paidBills_billId_debt_operation_GET",
"(",
"String",
"depositId",
",",
"String",
"billId",
",",
"Long",
"depositOrderId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/deposit/{depositId}/paid... | All operations related to these debts
REST: GET /me/deposit/{depositId}/paidBills/{billId}/debt/operation
@param depositOrderId [required] Filter the value of depositOrderId property (=)
@param depositId [required]
@param billId [required] | [
"All",
"operations",
"related",
"to",
"these",
"debts"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3164-L3170 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.installationTemplate_templateName_DELETE | public void installationTemplate_templateName_DELETE(String templateName) throws IOException {
String qPath = "/me/installationTemplate/{templateName}";
StringBuilder sb = path(qPath, templateName);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void installationTemplate_templateName_DELETE(String templateName) throws IOException {
String qPath = "/me/installationTemplate/{templateName}";
StringBuilder sb = path(qPath, templateName);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"installationTemplate_templateName_DELETE",
"(",
"String",
"templateName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/installationTemplate/{templateName}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"templateName... | remove this template
REST: DELETE /me/installationTemplate/{templateName}
@param templateName [required] This template name | [
"remove",
"this",
"template"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3464-L3468 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.installationTemplate_templateName_partitionScheme_POST | public void installationTemplate_templateName_partitionScheme_POST(String templateName, String name, Long priority) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme";
StringBuilder sb = path(qPath, templateName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "name", name);
addBody(o, "priority", priority);
exec(qPath, "POST", sb.toString(), o);
} | java | public void installationTemplate_templateName_partitionScheme_POST(String templateName, String name, Long priority) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme";
StringBuilder sb = path(qPath, templateName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "name", name);
addBody(o, "priority", priority);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"installationTemplate_templateName_partitionScheme_POST",
"(",
"String",
"templateName",
",",
"String",
"name",
",",
"Long",
"priority",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/installationTemplate/{templateName}/partitionScheme\"",
... | Add a scheme of partition
REST: POST /me/installationTemplate/{templateName}/partitionScheme
@param priority [required] on a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, among all the compatible partitioning schemes (given the underlying hardware specifications)
@param name [required] name of this partitioning scheme
@param templateName [required] This template name | [
"Add",
"a",
"scheme",
"of",
"partition"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3491-L3498 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.installationTemplate_templateName_partitionScheme_schemeName_hardwareRaid_name_DELETE | public void installationTemplate_templateName_partitionScheme_schemeName_hardwareRaid_name_DELETE(String templateName, String schemeName, String name) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}/hardwareRaid/{name}";
StringBuilder sb = path(qPath, templateName, schemeName, name);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void installationTemplate_templateName_partitionScheme_schemeName_hardwareRaid_name_DELETE(String templateName, String schemeName, String name) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}/hardwareRaid/{name}";
StringBuilder sb = path(qPath, templateName, schemeName, name);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"installationTemplate_templateName_partitionScheme_schemeName_hardwareRaid_name_DELETE",
"(",
"String",
"templateName",
",",
"String",
"schemeName",
",",
"String",
"name",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/installationTemplate/{... | Remove this RAID
REST: DELETE /me/installationTemplate/{templateName}/partitionScheme/{schemeName}/hardwareRaid/{name}
@param templateName [required] This template name
@param schemeName [required] name of this partitioning scheme
@param name [required] Hardware RAID name | [
"Remove",
"this",
"RAID"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3538-L3542 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.installationTemplate_templateName_partitionScheme_schemeName_hardwareRaid_POST | public void installationTemplate_templateName_partitionScheme_schemeName_hardwareRaid_POST(String templateName, String schemeName, String[] disks, OvhTemplateOsHardwareRaidEnum mode, String name, Long step) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}/hardwareRaid";
StringBuilder sb = path(qPath, templateName, schemeName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "disks", disks);
addBody(o, "mode", mode);
addBody(o, "name", name);
addBody(o, "step", step);
exec(qPath, "POST", sb.toString(), o);
} | java | public void installationTemplate_templateName_partitionScheme_schemeName_hardwareRaid_POST(String templateName, String schemeName, String[] disks, OvhTemplateOsHardwareRaidEnum mode, String name, Long step) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}/hardwareRaid";
StringBuilder sb = path(qPath, templateName, schemeName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "disks", disks);
addBody(o, "mode", mode);
addBody(o, "name", name);
addBody(o, "step", step);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"installationTemplate_templateName_partitionScheme_schemeName_hardwareRaid_POST",
"(",
"String",
"templateName",
",",
"String",
"schemeName",
",",
"String",
"[",
"]",
"disks",
",",
"OvhTemplateOsHardwareRaidEnum",
"mode",
",",
"String",
"name",
",",
"Long"... | Add an hardware RAID in this partitioning scheme
REST: POST /me/installationTemplate/{templateName}/partitionScheme/{schemeName}/hardwareRaid
@param step [required] Specifies the creation order of the hardware RAID
@param disks [required] Disk list. Syntax is cX:dY for disks and [cX:dY, cX:dY] for groups. With X and Y resp. the controler id and the disk id.
@param mode [required] RAID mode
@param name [required] Hardware RAID name
@param templateName [required] This template name
@param schemeName [required] name of this partitioning scheme | [
"Add",
"an",
"hardware",
"RAID",
"in",
"this",
"partitioning",
"scheme"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3569-L3578 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.installationTemplate_templateName_partitionScheme_schemeName_DELETE | public void installationTemplate_templateName_partitionScheme_schemeName_DELETE(String templateName, String schemeName) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}";
StringBuilder sb = path(qPath, templateName, schemeName);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void installationTemplate_templateName_partitionScheme_schemeName_DELETE(String templateName, String schemeName) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}";
StringBuilder sb = path(qPath, templateName, schemeName);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"installationTemplate_templateName_partitionScheme_schemeName_DELETE",
"(",
"String",
"templateName",
",",
"String",
"schemeName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/installationTemplate/{templateName}/partitionScheme/{schemeName}\"",
... | remove this scheme of partition
REST: DELETE /me/installationTemplate/{templateName}/partitionScheme/{schemeName}
@param templateName [required] This template name
@param schemeName [required] name of this partitioning scheme | [
"remove",
"this",
"scheme",
"of",
"partition"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3615-L3619 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.installationTemplate_templateName_partitionScheme_schemeName_partition_POST | public void installationTemplate_templateName_partitionScheme_schemeName_partition_POST(String templateName, String schemeName, OvhTemplateOsFileSystemEnum filesystem, String mountpoint, Long raid, Long size, Long step, OvhTemplatePartitionTypeEnum type, String volumeName) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}/partition";
StringBuilder sb = path(qPath, templateName, schemeName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "filesystem", filesystem);
addBody(o, "mountpoint", mountpoint);
addBody(o, "raid", raid);
addBody(o, "size", size);
addBody(o, "step", step);
addBody(o, "type", type);
addBody(o, "volumeName", volumeName);
exec(qPath, "POST", sb.toString(), o);
} | java | public void installationTemplate_templateName_partitionScheme_schemeName_partition_POST(String templateName, String schemeName, OvhTemplateOsFileSystemEnum filesystem, String mountpoint, Long raid, Long size, Long step, OvhTemplatePartitionTypeEnum type, String volumeName) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}/partition";
StringBuilder sb = path(qPath, templateName, schemeName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "filesystem", filesystem);
addBody(o, "mountpoint", mountpoint);
addBody(o, "raid", raid);
addBody(o, "size", size);
addBody(o, "step", step);
addBody(o, "type", type);
addBody(o, "volumeName", volumeName);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"installationTemplate_templateName_partitionScheme_schemeName_partition_POST",
"(",
"String",
"templateName",
",",
"String",
"schemeName",
",",
"OvhTemplateOsFileSystemEnum",
"filesystem",
",",
"String",
"mountpoint",
",",
"Long",
"raid",
",",
"Long",
"size"... | Add a partition in this partitioning scheme
REST: POST /me/installationTemplate/{templateName}/partitionScheme/{schemeName}/partition
@param type [required]
@param volumeName [required] The volume name needed for proxmox distribution
@param raid [required]
@param mountpoint [required] partition mount point
@param size [required] size of partition in Mb, 0 => rest of the space
@param step [required]
@param filesystem [required] Partition filesytem
@param templateName [required] This template name
@param schemeName [required] name of this partitioning scheme | [
"Add",
"a",
"partition",
"in",
"this",
"partitioning",
"scheme"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3649-L3661 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.installationTemplate_templateName_partitionScheme_schemeName_partition_mountpoint_DELETE | public void installationTemplate_templateName_partitionScheme_schemeName_partition_mountpoint_DELETE(String templateName, String schemeName, String mountpoint) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}/partition/{mountpoint}";
StringBuilder sb = path(qPath, templateName, schemeName, mountpoint);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void installationTemplate_templateName_partitionScheme_schemeName_partition_mountpoint_DELETE(String templateName, String schemeName, String mountpoint) throws IOException {
String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}/partition/{mountpoint}";
StringBuilder sb = path(qPath, templateName, schemeName, mountpoint);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"installationTemplate_templateName_partitionScheme_schemeName_partition_mountpoint_DELETE",
"(",
"String",
"templateName",
",",
"String",
"schemeName",
",",
"String",
"mountpoint",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/installationT... | remove this partition
REST: DELETE /me/installationTemplate/{templateName}/partitionScheme/{schemeName}/partition/{mountpoint}
@param templateName [required] This template name
@param schemeName [required] name of this partitioning scheme
@param mountpoint [required] partition mount point | [
"remove",
"this",
"partition"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3701-L3705 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.installationTemplate_POST | public void installationTemplate_POST(String baseTemplateName, OvhTemplateOsLanguageEnum defaultLanguage, String name) throws IOException {
String qPath = "/me/installationTemplate";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "baseTemplateName", baseTemplateName);
addBody(o, "defaultLanguage", defaultLanguage);
addBody(o, "name", name);
exec(qPath, "POST", sb.toString(), o);
} | java | public void installationTemplate_POST(String baseTemplateName, OvhTemplateOsLanguageEnum defaultLanguage, String name) throws IOException {
String qPath = "/me/installationTemplate";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "baseTemplateName", baseTemplateName);
addBody(o, "defaultLanguage", defaultLanguage);
addBody(o, "name", name);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"installationTemplate_POST",
"(",
"String",
"baseTemplateName",
",",
"OvhTemplateOsLanguageEnum",
"defaultLanguage",
",",
"String",
"name",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/installationTemplate\"",
";",
"StringBuilder",
"... | Create a template
REST: POST /me/installationTemplate
@param baseTemplateName [required] OVH template name yours will be based on, choose one among the list given by compatibleTemplates function
@param defaultLanguage [required]
@param name [required] Your template name | [
"Create",
"a",
"template"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3739-L3747 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.accessRestriction_sms_POST | public OvhSmsSecret accessRestriction_sms_POST(String phone) throws IOException {
String qPath = "/me/accessRestriction/sms";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "phone", phone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhSmsSecret.class);
} | java | public OvhSmsSecret accessRestriction_sms_POST(String phone) throws IOException {
String qPath = "/me/accessRestriction/sms";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "phone", phone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhSmsSecret.class);
} | [
"public",
"OvhSmsSecret",
"accessRestriction_sms_POST",
"(",
"String",
"phone",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/accessRestriction/sms\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"HashMap",
"<",
"String",
"... | Add a SMS access restriction
REST: POST /me/accessRestriction/sms
@param phone [required] Cell phone number to register | [
"Add",
"a",
"SMS",
"access",
"restriction"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3767-L3774 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.accessRestriction_sms_id_enable_POST | public void accessRestriction_sms_id_enable_POST(Long id, String code) throws IOException {
String qPath = "/me/accessRestriction/sms/{id}/enable";
StringBuilder sb = path(qPath, id);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "code", code);
exec(qPath, "POST", sb.toString(), o);
} | java | public void accessRestriction_sms_id_enable_POST(Long id, String code) throws IOException {
String qPath = "/me/accessRestriction/sms/{id}/enable";
StringBuilder sb = path(qPath, id);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "code", code);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"accessRestriction_sms_id_enable_POST",
"(",
"Long",
"id",
",",
"String",
"code",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/accessRestriction/sms/{id}/enable\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"i... | Enable this SMS account
REST: POST /me/accessRestriction/sms/{id}/enable
@param code [required] SMS code send by a cellphone
@param id [required] The Id of the restriction | [
"Enable",
"this",
"SMS",
"account"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3796-L3802 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.accessRestriction_totp_POST | public OvhTOTPSecret accessRestriction_totp_POST() throws IOException {
String qPath = "/me/accessRestriction/totp";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhTOTPSecret.class);
} | java | public OvhTOTPSecret accessRestriction_totp_POST() throws IOException {
String qPath = "/me/accessRestriction/totp";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhTOTPSecret.class);
} | [
"public",
"OvhTOTPSecret",
"accessRestriction_totp_POST",
"(",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/accessRestriction/totp\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"String",
"resp",
"=",
"exec",
"(",
"qPath"... | Add a TOTP access restriction
REST: POST /me/accessRestriction/totp | [
"Add",
"a",
"TOTP",
"access",
"restriction"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3889-L3894 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.accessRestriction_backupCode_POST | public OvhSOTPSecret accessRestriction_backupCode_POST() throws IOException {
String qPath = "/me/accessRestriction/backupCode";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhSOTPSecret.class);
} | java | public OvhSOTPSecret accessRestriction_backupCode_POST() throws IOException {
String qPath = "/me/accessRestriction/backupCode";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhSOTPSecret.class);
} | [
"public",
"OvhSOTPSecret",
"accessRestriction_backupCode_POST",
"(",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/accessRestriction/backupCode\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"String",
"resp",
"=",
"exec",
"(... | Add a SOTP access restriction
REST: POST /me/accessRestriction/backupCode | [
"Add",
"a",
"SOTP",
"access",
"restriction"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L3996-L4001 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.accessRestriction_backupCode_DELETE | public void accessRestriction_backupCode_DELETE() throws IOException {
String qPath = "/me/accessRestriction/backupCode";
StringBuilder sb = path(qPath);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void accessRestriction_backupCode_DELETE() throws IOException {
String qPath = "/me/accessRestriction/backupCode";
StringBuilder sb = path(qPath);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"accessRestriction_backupCode_DELETE",
"(",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/accessRestriction/backupCode\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"exec",
"(",
"qPath",
",",
"\"DELETE\"",... | Delete this Two-Factor
REST: DELETE /me/accessRestriction/backupCode | [
"Delete",
"this",
"Two",
"-",
"Factor"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L4008-L4012 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.accessRestriction_backupCode_validate_POST | public OvhSOTPValidate accessRestriction_backupCode_validate_POST(String code) throws IOException {
String qPath = "/me/accessRestriction/backupCode/validate";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "code", code);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhSOTPValidate.class);
} | java | public OvhSOTPValidate accessRestriction_backupCode_validate_POST(String code) throws IOException {
String qPath = "/me/accessRestriction/backupCode/validate";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "code", code);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhSOTPValidate.class);
} | [
"public",
"OvhSOTPValidate",
"accessRestriction_backupCode_validate_POST",
"(",
"String",
"code",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/accessRestriction/backupCode/validate\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
... | Validate your SOTP account
REST: POST /me/accessRestriction/backupCode/validate
@param code [required] OTP code given by the application | [
"Validate",
"your",
"SOTP",
"account"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L4034-L4041 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.accessRestriction_ip_POST | public void accessRestriction_ip_POST(String ip, OvhIpRestrictionRuleEnum rule, Boolean warning) throws IOException {
String qPath = "/me/accessRestriction/ip";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "ip", ip);
addBody(o, "rule", rule);
addBody(o, "warning", warning);
exec(qPath, "POST", sb.toString(), o);
} | java | public void accessRestriction_ip_POST(String ip, OvhIpRestrictionRuleEnum rule, Boolean warning) throws IOException {
String qPath = "/me/accessRestriction/ip";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "ip", ip);
addBody(o, "rule", rule);
addBody(o, "warning", warning);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"accessRestriction_ip_POST",
"(",
"String",
"ip",
",",
"OvhIpRestrictionRuleEnum",
"rule",
",",
"Boolean",
"warning",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/accessRestriction/ip\"",
";",
"StringBuilder",
"sb",
"=",
"path",
... | Add an IP access restriction
REST: POST /me/accessRestriction/ip
@param rule [required] Accept or deny IP access
@param warning [required] Send an email if someone try to access with this IP address
@param ip [required] An IP range where we will apply the rule | [
"Add",
"an",
"IP",
"access",
"restriction"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L4077-L4085 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.accessRestriction_u2f_POST | public OvhU2FRegisterChallenge accessRestriction_u2f_POST() throws IOException {
String qPath = "/me/accessRestriction/u2f";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhU2FRegisterChallenge.class);
} | java | public OvhU2FRegisterChallenge accessRestriction_u2f_POST() throws IOException {
String qPath = "/me/accessRestriction/u2f";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhU2FRegisterChallenge.class);
} | [
"public",
"OvhU2FRegisterChallenge",
"accessRestriction_u2f_POST",
"(",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/accessRestriction/u2f\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"String",
"resp",
"=",
"exec",
"(",
... | Add a U2F access restriction
REST: POST /me/accessRestriction/u2f | [
"Add",
"a",
"U2F",
"access",
"restriction"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L4166-L4171 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.accessRestriction_u2f_id_enable_POST | public void accessRestriction_u2f_id_enable_POST(Long id, String clientData, String signatureData) throws IOException {
String qPath = "/me/accessRestriction/u2f/{id}/enable";
StringBuilder sb = path(qPath, id);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "clientData", clientData);
addBody(o, "signatureData", signatureData);
exec(qPath, "POST", sb.toString(), o);
} | java | public void accessRestriction_u2f_id_enable_POST(Long id, String clientData, String signatureData) throws IOException {
String qPath = "/me/accessRestriction/u2f/{id}/enable";
StringBuilder sb = path(qPath, id);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "clientData", clientData);
addBody(o, "signatureData", signatureData);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"accessRestriction_u2f_id_enable_POST",
"(",
"Long",
"id",
",",
"String",
"clientData",
",",
"String",
"signatureData",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/accessRestriction/u2f/{id}/enable\"",
";",
"StringBuilder",
"sb",
... | Enable this U2F account
REST: POST /me/accessRestriction/u2f/{id}/enable
@param signatureData [required]
@param clientData [required]
@param id [required] The Id of the restriction | [
"Enable",
"this",
"U2F",
"account"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L4181-L4188 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java | ApiOvhMe.accessRestriction_u2f_id_validate_POST | public void accessRestriction_u2f_id_validate_POST(Long id, String clientData, String registrationData) throws IOException {
String qPath = "/me/accessRestriction/u2f/{id}/validate";
StringBuilder sb = path(qPath, id);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "clientData", clientData);
addBody(o, "registrationData", registrationData);
exec(qPath, "POST", sb.toString(), o);
} | java | public void accessRestriction_u2f_id_validate_POST(Long id, String clientData, String registrationData) throws IOException {
String qPath = "/me/accessRestriction/u2f/{id}/validate";
StringBuilder sb = path(qPath, id);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "clientData", clientData);
addBody(o, "registrationData", registrationData);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"accessRestriction_u2f_id_validate_POST",
"(",
"Long",
"id",
",",
"String",
"clientData",
",",
"String",
"registrationData",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/me/accessRestriction/u2f/{id}/validate\"",
";",
"StringBuilder",
"... | Validate your U2F account
REST: POST /me/accessRestriction/u2f/{id}/validate
@param registrationData [required]
@param clientData [required]
@param id [required] The Id of the restriction | [
"Validate",
"your",
"U2F",
"account"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/ApiOvhMe.java#L4215-L4222 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-licensesqlserver/src/main/java/net/minidev/ovh/api/ApiOvhLicensesqlserver.java | ApiOvhLicensesqlserver.orderableVersions_GET | public ArrayList<OvhSqlServerOrderConfiguration> orderableVersions_GET(String ip) throws IOException {
String qPath = "/license/sqlserver/orderableVersions";
StringBuilder sb = path(qPath);
query(sb, "ip", ip);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t3);
} | java | public ArrayList<OvhSqlServerOrderConfiguration> orderableVersions_GET(String ip) throws IOException {
String qPath = "/license/sqlserver/orderableVersions";
StringBuilder sb = path(qPath);
query(sb, "ip", ip);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t3);
} | [
"public",
"ArrayList",
"<",
"OvhSqlServerOrderConfiguration",
">",
"orderableVersions_GET",
"(",
"String",
"ip",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/license/sqlserver/orderableVersions\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",... | Get the orderable Sql Server versions
REST: GET /license/sqlserver/orderableVersions
@param ip [required] Your license Ip | [
"Get",
"the",
"orderable",
"Sql",
"Server",
"versions"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-licensesqlserver/src/main/java/net/minidev/ovh/api/ApiOvhLicensesqlserver.java#L153-L159 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java | ApiOvhDbaasqueue.serviceName_key_keyId_GET | public OvhKey serviceName_key_keyId_GET(String serviceName, String keyId) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/key/{keyId}";
StringBuilder sb = path(qPath, serviceName, keyId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhKey.class);
} | java | public OvhKey serviceName_key_keyId_GET(String serviceName, String keyId) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/key/{keyId}";
StringBuilder sb = path(qPath, serviceName, keyId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhKey.class);
} | [
"public",
"OvhKey",
"serviceName_key_keyId_GET",
"(",
"String",
"serviceName",
",",
"String",
"keyId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dbaas/queue/{serviceName}/key/{keyId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
... | Get a key
REST: GET /dbaas/queue/{serviceName}/key/{keyId}
@param serviceName [required] Application ID
@param keyId [required] Key ID
API beta | [
"Get",
"a",
"key"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java#L86-L91 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java | ApiOvhDbaasqueue.serviceName_user_userId_changePassword_POST | public OvhUserWithPassword serviceName_user_userId_changePassword_POST(String serviceName, String userId) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/user/{userId}/changePassword";
StringBuilder sb = path(qPath, serviceName, userId);
String resp = exec(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhUserWithPassword.class);
} | java | public OvhUserWithPassword serviceName_user_userId_changePassword_POST(String serviceName, String userId) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/user/{userId}/changePassword";
StringBuilder sb = path(qPath, serviceName, userId);
String resp = exec(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhUserWithPassword.class);
} | [
"public",
"OvhUserWithPassword",
"serviceName_user_userId_changePassword_POST",
"(",
"String",
"serviceName",
",",
"String",
"userId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dbaas/queue/{serviceName}/user/{userId}/changePassword\"",
";",
"StringBuilder",
... | Generate a new user password
REST: POST /dbaas/queue/{serviceName}/user/{userId}/changePassword
@param serviceName [required] Application ID
@param userId [required] User ID
API beta | [
"Generate",
"a",
"new",
"user",
"password"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java#L163-L168 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java | ApiOvhDbaasqueue.serviceName_role_roleName_GET | public OvhRole serviceName_role_roleName_GET(String serviceName, String roleName) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/role/{roleName}";
StringBuilder sb = path(qPath, serviceName, roleName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhRole.class);
} | java | public OvhRole serviceName_role_roleName_GET(String serviceName, String roleName) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/role/{roleName}";
StringBuilder sb = path(qPath, serviceName, roleName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhRole.class);
} | [
"public",
"OvhRole",
"serviceName_role_roleName_GET",
"(",
"String",
"serviceName",
",",
"String",
"roleName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dbaas/queue/{serviceName}/role/{roleName}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPa... | Get a role
REST: GET /dbaas/queue/{serviceName}/role/{roleName}
@param serviceName [required] Application ID
@param roleName [required] Role name
API beta | [
"Get",
"a",
"role"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java#L211-L216 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java | ApiOvhDbaasqueue.serviceName_topic_topicId_GET | public OvhTopic serviceName_topic_topicId_GET(String serviceName, String topicId) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/topic/{topicId}";
StringBuilder sb = path(qPath, serviceName, topicId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhTopic.class);
} | java | public OvhTopic serviceName_topic_topicId_GET(String serviceName, String topicId) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/topic/{topicId}";
StringBuilder sb = path(qPath, serviceName, topicId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhTopic.class);
} | [
"public",
"OvhTopic",
"serviceName_topic_topicId_GET",
"(",
"String",
"serviceName",
",",
"String",
"topicId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dbaas/queue/{serviceName}/topic/{topicId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPa... | Get a topic
REST: GET /dbaas/queue/{serviceName}/topic/{topicId}
@param serviceName [required] Application ID
@param topicId [required] Topic ID
API beta | [
"Get",
"a",
"topic"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java#L242-L247 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java | ApiOvhDbaasqueue.serviceName_topic_topicId_DELETE | public void serviceName_topic_topicId_DELETE(String serviceName, String topicId) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/topic/{topicId}";
StringBuilder sb = path(qPath, serviceName, topicId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void serviceName_topic_topicId_DELETE(String serviceName, String topicId) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/topic/{topicId}";
StringBuilder sb = path(qPath, serviceName, topicId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"serviceName_topic_topicId_DELETE",
"(",
"String",
"serviceName",
",",
"String",
"topicId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dbaas/queue/{serviceName}/topic/{topicId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPat... | Delete a topic
REST: DELETE /dbaas/queue/{serviceName}/topic/{topicId}
@param serviceName [required] Application ID
@param topicId [required] Topic ID
API beta | [
"Delete",
"a",
"topic"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java#L258-L262 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java | ApiOvhDbaasqueue.serviceName_region_regionId_GET | public OvhRegion serviceName_region_regionId_GET(String serviceName, String regionId) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/region/{regionId}";
StringBuilder sb = path(qPath, serviceName, regionId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhRegion.class);
} | java | public OvhRegion serviceName_region_regionId_GET(String serviceName, String regionId) throws IOException {
String qPath = "/dbaas/queue/{serviceName}/region/{regionId}";
StringBuilder sb = path(qPath, serviceName, regionId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhRegion.class);
} | [
"public",
"OvhRegion",
"serviceName_region_regionId_GET",
"(",
"String",
"serviceName",
",",
"String",
"regionId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dbaas/queue/{serviceName}/region/{regionId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
... | Get one region
REST: GET /dbaas/queue/{serviceName}/region/{regionId}
@param serviceName [required] Application ID
@param regionId [required] Region ID
API beta | [
"Get",
"one",
"region"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dbaasqueue/src/main/java/net/minidev/ovh/api/ApiOvhDbaasqueue.java#L303-L308 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-core/src/main/java/net/minidev/ovh/core/ApiOvhUtils.java | ApiOvhUtils.convertTo | public static <T> T convertTo(String in, TypeReference<T> mapTo) throws IOException {
try {
return mapper.readValue(in, mapTo);
} catch (Exception e) {
log.error("Can not convert:{} to {}", in, mapTo, e);
throw new OvhServiceException("local", "conversion Error to " + mapTo);
}
} | java | public static <T> T convertTo(String in, TypeReference<T> mapTo) throws IOException {
try {
return mapper.readValue(in, mapTo);
} catch (Exception e) {
log.error("Can not convert:{} to {}", in, mapTo, e);
throw new OvhServiceException("local", "conversion Error to " + mapTo);
}
} | [
"public",
"static",
"<",
"T",
">",
"T",
"convertTo",
"(",
"String",
"in",
",",
"TypeReference",
"<",
"T",
">",
"mapTo",
")",
"throws",
"IOException",
"{",
"try",
"{",
"return",
"mapper",
".",
"readValue",
"(",
"in",
",",
"mapTo",
")",
";",
"}",
"catc... | Convert JSON String to a POJO java
@param in
@param mapTo
@return POJO Object
@throws IOException | [
"Convert",
"JSON",
"String",
"to",
"a",
"POJO",
"java"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-core/src/main/java/net/minidev/ovh/core/ApiOvhUtils.java#L41-L48 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-core/src/main/java/net/minidev/ovh/core/ApiOvhUtils.java | ApiOvhUtils.objectJsonBody | public static String objectJsonBody(Object body) {
if (body instanceof String)
return (String) body;
String txt = "";
try {
txt = mapper.writeValueAsString(body);
} catch (JsonProcessingException e) {
log.error("objectJsonBody", e);
}
return txt;
} | java | public static String objectJsonBody(Object body) {
if (body instanceof String)
return (String) body;
String txt = "";
try {
txt = mapper.writeValueAsString(body);
} catch (JsonProcessingException e) {
log.error("objectJsonBody", e);
}
return txt;
} | [
"public",
"static",
"String",
"objectJsonBody",
"(",
"Object",
"body",
")",
"{",
"if",
"(",
"body",
"instanceof",
"String",
")",
"return",
"(",
"String",
")",
"body",
";",
"String",
"txt",
"=",
"\"\"",
";",
"try",
"{",
"txt",
"=",
"mapper",
".",
"write... | Convert Object to JSON String
@param body
@return a String containing the JSON | [
"Convert",
"Object",
"to",
"JSON",
"String"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-core/src/main/java/net/minidev/ovh/core/ApiOvhUtils.java#L71-L81 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.subsidiaryPrice_GET | public OvhPrice subsidiaryPrice_GET(String flavorId, OvhOvhSubsidiaryEnum ovhSubsidiary, String region) throws IOException {
String qPath = "/cloud/subsidiaryPrice";
StringBuilder sb = path(qPath);
query(sb, "flavorId", flavorId);
query(sb, "ovhSubsidiary", ovhSubsidiary);
query(sb, "region", region);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPrice.class);
} | java | public OvhPrice subsidiaryPrice_GET(String flavorId, OvhOvhSubsidiaryEnum ovhSubsidiary, String region) throws IOException {
String qPath = "/cloud/subsidiaryPrice";
StringBuilder sb = path(qPath);
query(sb, "flavorId", flavorId);
query(sb, "ovhSubsidiary", ovhSubsidiary);
query(sb, "region", region);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPrice.class);
} | [
"public",
"OvhPrice",
"subsidiaryPrice_GET",
"(",
"String",
"flavorId",
",",
"OvhOvhSubsidiaryEnum",
"ovhSubsidiary",
",",
"String",
"region",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/subsidiaryPrice\"",
";",
"StringBuilder",
"sb",
"=",
"pa... | Get services prices for a subsidiary
REST: GET /cloud/subsidiaryPrice
@param ovhSubsidiary [required] OVH subsidiary
@param flavorId [required] OVH cloud flavor id
@param region [required] Region | [
"Get",
"services",
"prices",
"for",
"a",
"subsidiary"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L107-L115 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_region_POST | public OvhRegion project_serviceName_region_POST(String serviceName, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/region";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "region", region);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhRegion.class);
} | java | public OvhRegion project_serviceName_region_POST(String serviceName, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/region";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "region", region);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhRegion.class);
} | [
"public",
"OvhRegion",
"project_serviceName_region_POST",
"(",
"String",
"serviceName",
",",
"String",
"region",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/region\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
... | Request access to a region
REST: POST /cloud/project/{serviceName}/region
@param region [required] Region to add on your project
@param serviceName [required] The project id | [
"Request",
"access",
"to",
"a",
"region"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L138-L145 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_region_regionName_GET | public OvhRegion project_serviceName_region_regionName_GET(String serviceName, String regionName) throws IOException {
String qPath = "/cloud/project/{serviceName}/region/{regionName}";
StringBuilder sb = path(qPath, serviceName, regionName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhRegion.class);
} | java | public OvhRegion project_serviceName_region_regionName_GET(String serviceName, String regionName) throws IOException {
String qPath = "/cloud/project/{serviceName}/region/{regionName}";
StringBuilder sb = path(qPath, serviceName, regionName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhRegion.class);
} | [
"public",
"OvhRegion",
"project_serviceName_region_regionName_GET",
"(",
"String",
"serviceName",
",",
"String",
"regionName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/region/{regionName}\"",
";",
"StringBuilder",
"sb",
"=",
... | Get information about your region
REST: GET /cloud/project/{serviceName}/region/{regionName}
@param regionName [required] Public Cloud region
@param serviceName [required] Public Cloud project | [
"Get",
"information",
"about",
"your",
"region"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L154-L159 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_region_regionName_workflow_backup_GET | public ArrayList<OvhBackup> project_serviceName_region_regionName_workflow_backup_GET(String serviceName, String regionName) throws IOException {
String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup";
StringBuilder sb = path(qPath, serviceName, regionName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<OvhBackup> project_serviceName_region_regionName_workflow_backup_GET(String serviceName, String regionName) throws IOException {
String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup";
StringBuilder sb = path(qPath, serviceName, regionName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"OvhBackup",
">",
"project_serviceName_region_regionName_workflow_backup_GET",
"(",
"String",
"serviceName",
",",
"String",
"regionName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/region/{regionName}/w... | List your automated backups
REST: GET /cloud/project/{serviceName}/region/{regionName}/workflow/backup
@param regionName [required] Public Cloud region
@param serviceName [required] Public Cloud project
API beta | [
"List",
"your",
"automated",
"backups"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L170-L175 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_region_regionName_workflow_backup_POST | public OvhBackup project_serviceName_region_regionName_workflow_backup_POST(String serviceName, String regionName, String cron, String instanceId, Long maxExecutionCount, String name, Long rotation) throws IOException {
String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup";
StringBuilder sb = path(qPath, serviceName, regionName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "cron", cron);
addBody(o, "instanceId", instanceId);
addBody(o, "maxExecutionCount", maxExecutionCount);
addBody(o, "name", name);
addBody(o, "rotation", rotation);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackup.class);
} | java | public OvhBackup project_serviceName_region_regionName_workflow_backup_POST(String serviceName, String regionName, String cron, String instanceId, Long maxExecutionCount, String name, Long rotation) throws IOException {
String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup";
StringBuilder sb = path(qPath, serviceName, regionName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "cron", cron);
addBody(o, "instanceId", instanceId);
addBody(o, "maxExecutionCount", maxExecutionCount);
addBody(o, "name", name);
addBody(o, "rotation", rotation);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackup.class);
} | [
"public",
"OvhBackup",
"project_serviceName_region_regionName_workflow_backup_POST",
"(",
"String",
"serviceName",
",",
"String",
"regionName",
",",
"String",
"cron",
",",
"String",
"instanceId",
",",
"Long",
"maxExecutionCount",
",",
"String",
"name",
",",
"Long",
"rot... | Create a new automated backup
REST: POST /cloud/project/{serviceName}/region/{regionName}/workflow/backup
@param cron [required] Unix Cron pattern (eg: '* * * * *')
@param instanceId [required] Instance ID to backup
@param maxExecutionCount [required] Number of execution to process before ending the job. Null value means that the job will never end.
@param name [required] Name of your backup job
@param regionName [required] Public Cloud region
@param rotation [required] Number of backup to keep
@param serviceName [required] Public Cloud project
API beta | [
"Create",
"a",
"new",
"automated",
"backup"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L192-L203 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_region_regionName_workflow_backup_backupWorkflowId_DELETE | public void project_serviceName_region_regionName_workflow_backup_backupWorkflowId_DELETE(String serviceName, String regionName, String backupWorkflowId) throws IOException {
String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup/{backupWorkflowId}";
StringBuilder sb = path(qPath, serviceName, regionName, backupWorkflowId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void project_serviceName_region_regionName_workflow_backup_backupWorkflowId_DELETE(String serviceName, String regionName, String backupWorkflowId) throws IOException {
String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup/{backupWorkflowId}";
StringBuilder sb = path(qPath, serviceName, regionName, backupWorkflowId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"project_serviceName_region_regionName_workflow_backup_backupWorkflowId_DELETE",
"(",
"String",
"serviceName",
",",
"String",
"regionName",
",",
"String",
"backupWorkflowId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{service... | Delete a backup workflow process
REST: DELETE /cloud/project/{serviceName}/region/{regionName}/workflow/backup/{backupWorkflowId}
@param backupWorkflowId [required] ID of your backup workflow
@param regionName [required] Public Cloud region
@param serviceName [required] Public Cloud project
API beta | [
"Delete",
"a",
"backup",
"workflow",
"process"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L215-L219 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_region_regionName_workflow_backup_backupWorkflowId_GET | public OvhBackup project_serviceName_region_regionName_workflow_backup_backupWorkflowId_GET(String serviceName, String regionName, String backupWorkflowId) throws IOException {
String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup/{backupWorkflowId}";
StringBuilder sb = path(qPath, serviceName, regionName, backupWorkflowId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhBackup.class);
} | java | public OvhBackup project_serviceName_region_regionName_workflow_backup_backupWorkflowId_GET(String serviceName, String regionName, String backupWorkflowId) throws IOException {
String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup/{backupWorkflowId}";
StringBuilder sb = path(qPath, serviceName, regionName, backupWorkflowId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhBackup.class);
} | [
"public",
"OvhBackup",
"project_serviceName_region_regionName_workflow_backup_backupWorkflowId_GET",
"(",
"String",
"serviceName",
",",
"String",
"regionName",
",",
"String",
"backupWorkflowId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{servi... | Get details about a backup workflow process
REST: GET /cloud/project/{serviceName}/region/{regionName}/workflow/backup/{backupWorkflowId}
@param backupWorkflowId [required] ID of your backup workflow
@param regionName [required] Public Cloud region
@param serviceName [required] Public Cloud project
API beta | [
"Get",
"details",
"about",
"a",
"backup",
"workflow",
"process"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L231-L236 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_acl_GET | public ArrayList<String> project_serviceName_acl_GET(String serviceName, OvhAclTypeEnum type) throws IOException {
String qPath = "/cloud/project/{serviceName}/acl";
StringBuilder sb = path(qPath, serviceName);
query(sb, "type", type);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | java | public ArrayList<String> project_serviceName_acl_GET(String serviceName, OvhAclTypeEnum type) throws IOException {
String qPath = "/cloud/project/{serviceName}/acl";
StringBuilder sb = path(qPath, serviceName);
query(sb, "type", type);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | [
"public",
"ArrayList",
"<",
"String",
">",
"project_serviceName_acl_GET",
"(",
"String",
"serviceName",
",",
"OvhAclTypeEnum",
"type",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/acl\"",
";",
"StringBuilder",
"sb",
"=",
"... | Get ACL on your cloud project
REST: GET /cloud/project/{serviceName}/acl
@param type [required] Filter the value of type property (=)
@param serviceName [required] The project id | [
"Get",
"ACL",
"on",
"your",
"cloud",
"project"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L347-L353 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_user_userId_rclone_GET | public OvhRclone project_serviceName_user_userId_rclone_GET(String serviceName, Long userId, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/user/{userId}/rclone";
StringBuilder sb = path(qPath, serviceName, userId);
query(sb, "region", region);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhRclone.class);
} | java | public OvhRclone project_serviceName_user_userId_rclone_GET(String serviceName, Long userId, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/user/{userId}/rclone";
StringBuilder sb = path(qPath, serviceName, userId);
query(sb, "region", region);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhRclone.class);
} | [
"public",
"OvhRclone",
"project_serviceName_user_userId_rclone_GET",
"(",
"String",
"serviceName",
",",
"Long",
"userId",
",",
"String",
"region",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/user/{userId}/rclone\"",
";",
"Strin... | Get rclone configuration file
REST: GET /cloud/project/{serviceName}/user/{userId}/rclone
@param region [required] Region
@param serviceName [required] Service name
@param userId [required] User id | [
"Get",
"rclone",
"configuration",
"file"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L403-L409 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_user_userId_regeneratePassword_POST | public OvhUserDetail project_serviceName_user_userId_regeneratePassword_POST(String serviceName, Long userId) throws IOException {
String qPath = "/cloud/project/{serviceName}/user/{userId}/regeneratePassword";
StringBuilder sb = path(qPath, serviceName, userId);
String resp = exec(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhUserDetail.class);
} | java | public OvhUserDetail project_serviceName_user_userId_regeneratePassword_POST(String serviceName, Long userId) throws IOException {
String qPath = "/cloud/project/{serviceName}/user/{userId}/regeneratePassword";
StringBuilder sb = path(qPath, serviceName, userId);
String resp = exec(qPath, "POST", sb.toString(), null);
return convertTo(resp, OvhUserDetail.class);
} | [
"public",
"OvhUserDetail",
"project_serviceName_user_userId_regeneratePassword_POST",
"(",
"String",
"serviceName",
",",
"Long",
"userId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/user/{userId}/regeneratePassword\"",
";",
"StringB... | Regenerate user password
REST: POST /cloud/project/{serviceName}/user/{userId}/regeneratePassword
@param serviceName [required] Service name
@param userId [required] User id | [
"Regenerate",
"user",
"password"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L418-L423 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_user_userId_openrc_GET | public OvhOpenrc project_serviceName_user_userId_openrc_GET(String serviceName, Long userId, String region, OvhOpenrcVersionEnum version) throws IOException {
String qPath = "/cloud/project/{serviceName}/user/{userId}/openrc";
StringBuilder sb = path(qPath, serviceName, userId);
query(sb, "region", region);
query(sb, "version", version);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhOpenrc.class);
} | java | public OvhOpenrc project_serviceName_user_userId_openrc_GET(String serviceName, Long userId, String region, OvhOpenrcVersionEnum version) throws IOException {
String qPath = "/cloud/project/{serviceName}/user/{userId}/openrc";
StringBuilder sb = path(qPath, serviceName, userId);
query(sb, "region", region);
query(sb, "version", version);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhOpenrc.class);
} | [
"public",
"OvhOpenrc",
"project_serviceName_user_userId_openrc_GET",
"(",
"String",
"serviceName",
",",
"Long",
"userId",
",",
"String",
"region",
",",
"OvhOpenrcVersionEnum",
"version",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{service... | Get RC file of OpenStack
REST: GET /cloud/project/{serviceName}/user/{userId}/openrc
@param region [required] Region
@param serviceName [required] Service name
@param userId [required] User id
@param version [required] Identity API version | [
"Get",
"RC",
"file",
"of",
"OpenStack"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L478-L485 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_user_GET | public ArrayList<OvhUser> project_serviceName_user_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/user";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | java | public ArrayList<OvhUser> project_serviceName_user_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/user";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | [
"public",
"ArrayList",
"<",
"OvhUser",
">",
"project_serviceName_user_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/user\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
... | Get all users
REST: GET /cloud/project/{serviceName}/user
@param serviceName [required] Service name | [
"Get",
"all",
"users"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L493-L498 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_storage_GET | public ArrayList<OvhContainer> project_serviceName_storage_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t5);
} | java | public ArrayList<OvhContainer> project_serviceName_storage_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t5);
} | [
"public",
"ArrayList",
"<",
"OvhContainer",
">",
"project_serviceName_storage_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/storage\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath"... | Get storage containers
REST: GET /cloud/project/{serviceName}/storage
@param serviceName [required] Service name | [
"Get",
"storage",
"containers"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L552-L557 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_storage_containerId_publicUrl_POST | public OvhContainerObjectTempURL project_serviceName_storage_containerId_publicUrl_POST(String serviceName, String containerId, Date expirationDate, String objectName) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage/{containerId}/publicUrl";
StringBuilder sb = path(qPath, serviceName, containerId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "expirationDate", expirationDate);
addBody(o, "objectName", objectName);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhContainerObjectTempURL.class);
} | java | public OvhContainerObjectTempURL project_serviceName_storage_containerId_publicUrl_POST(String serviceName, String containerId, Date expirationDate, String objectName) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage/{containerId}/publicUrl";
StringBuilder sb = path(qPath, serviceName, containerId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "expirationDate", expirationDate);
addBody(o, "objectName", objectName);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhContainerObjectTempURL.class);
} | [
"public",
"OvhContainerObjectTempURL",
"project_serviceName_storage_containerId_publicUrl_POST",
"(",
"String",
"serviceName",
",",
"String",
"containerId",
",",
"Date",
"expirationDate",
",",
"String",
"objectName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"="... | Get a public temporary URL to access to one of your object
REST: POST /cloud/project/{serviceName}/storage/{containerId}/publicUrl
@param containerId [required] Container ID
@param expirationDate [required] Temporary URL expiration
@param objectName [required] Object name
@param serviceName [required] Service name | [
"Get",
"a",
"public",
"temporary",
"URL",
"to",
"access",
"to",
"one",
"of",
"your",
"object"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L589-L597 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_storage_containerId_GET | public OvhContainerDetail project_serviceName_storage_containerId_GET(String serviceName, String containerId) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage/{containerId}";
StringBuilder sb = path(qPath, serviceName, containerId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhContainerDetail.class);
} | java | public OvhContainerDetail project_serviceName_storage_containerId_GET(String serviceName, String containerId) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage/{containerId}";
StringBuilder sb = path(qPath, serviceName, containerId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhContainerDetail.class);
} | [
"public",
"OvhContainerDetail",
"project_serviceName_storage_containerId_GET",
"(",
"String",
"serviceName",
",",
"String",
"containerId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/storage/{containerId}\"",
";",
"StringBuilder",
... | Get storage container
REST: GET /cloud/project/{serviceName}/storage/{containerId}
@param containerId [required] Container id
@param serviceName [required] Service name | [
"Get",
"storage",
"container"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L619-L624 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_storage_containerId_PUT | public void project_serviceName_storage_containerId_PUT(String serviceName, String containerId, OvhTypeEnum containerType) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage/{containerId}";
StringBuilder sb = path(qPath, serviceName, containerId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "containerType", containerType);
exec(qPath, "PUT", sb.toString(), o);
} | java | public void project_serviceName_storage_containerId_PUT(String serviceName, String containerId, OvhTypeEnum containerType) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage/{containerId}";
StringBuilder sb = path(qPath, serviceName, containerId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "containerType", containerType);
exec(qPath, "PUT", sb.toString(), o);
} | [
"public",
"void",
"project_serviceName_storage_containerId_PUT",
"(",
"String",
"serviceName",
",",
"String",
"containerId",
",",
"OvhTypeEnum",
"containerType",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/storage/{containerId}\"",... | Update your storage container
REST: PUT /cloud/project/{serviceName}/storage/{containerId}
@param containerId [required] Container id
@param containerType [required] Container type
@param serviceName [required] Service name | [
"Update",
"your",
"storage",
"container"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L634-L640 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_storage_containerId_cors_DELETE | public void project_serviceName_storage_containerId_cors_DELETE(String serviceName, String containerId, String origin) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage/{containerId}/cors";
StringBuilder sb = path(qPath, serviceName, containerId);
query(sb, "origin", origin);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void project_serviceName_storage_containerId_cors_DELETE(String serviceName, String containerId, String origin) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage/{containerId}/cors";
StringBuilder sb = path(qPath, serviceName, containerId);
query(sb, "origin", origin);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"project_serviceName_storage_containerId_cors_DELETE",
"(",
"String",
"serviceName",
",",
"String",
"containerId",
",",
"String",
"origin",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/storage/{containerId}/cors\""... | Delete CORS support on your container
REST: DELETE /cloud/project/{serviceName}/storage/{containerId}/cors
@param containerId [required] Container id
@param origin [required] Delete this origin
@param serviceName [required] Service name | [
"Delete",
"CORS",
"support",
"on",
"your",
"container"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L650-L655 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_storage_containerId_user_POST | public OvhUserDetail project_serviceName_storage_containerId_user_POST(String serviceName, String containerId, String description, OvhRightEnum right) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage/{containerId}/user";
StringBuilder sb = path(qPath, serviceName, containerId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
addBody(o, "right", right);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhUserDetail.class);
} | java | public OvhUserDetail project_serviceName_storage_containerId_user_POST(String serviceName, String containerId, String description, OvhRightEnum right) throws IOException {
String qPath = "/cloud/project/{serviceName}/storage/{containerId}/user";
StringBuilder sb = path(qPath, serviceName, containerId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
addBody(o, "right", right);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhUserDetail.class);
} | [
"public",
"OvhUserDetail",
"project_serviceName_storage_containerId_user_POST",
"(",
"String",
"serviceName",
",",
"String",
"containerId",
",",
"String",
"description",
",",
"OvhRightEnum",
"right",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/pro... | Create openstack user with only access to this container
REST: POST /cloud/project/{serviceName}/storage/{containerId}/user
@param containerId [required] Container ID
@param description [required] User description
@param right [required] User right (all, read, write)
@param serviceName [required] Service name | [
"Create",
"openstack",
"user",
"with",
"only",
"access",
"to",
"this",
"container"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L695-L703 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_network_private_networkId_subnet_subnetId_DELETE | public void project_serviceName_network_private_networkId_subnet_subnetId_DELETE(String serviceName, String networkId, String subnetId) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/subnet/{subnetId}";
StringBuilder sb = path(qPath, serviceName, networkId, subnetId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void project_serviceName_network_private_networkId_subnet_subnetId_DELETE(String serviceName, String networkId, String subnetId) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/subnet/{subnetId}";
StringBuilder sb = path(qPath, serviceName, networkId, subnetId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"project_serviceName_network_private_networkId_subnet_subnetId_DELETE",
"(",
"String",
"serviceName",
",",
"String",
"networkId",
",",
"String",
"subnetId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/network/priv... | Delete a network subnet
REST: DELETE /cloud/project/{serviceName}/network/private/{networkId}/subnet/{subnetId}
@param networkId [required] Network id
@param serviceName [required] Project id
@param subnetId [required] Subnet id | [
"Delete",
"a",
"network",
"subnet"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L713-L717 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_network_private_networkId_subnet_GET | public ArrayList<OvhSubnet> project_serviceName_network_private_networkId_subnet_GET(String serviceName, String networkId) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/subnet";
StringBuilder sb = path(qPath, serviceName, networkId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t6);
} | java | public ArrayList<OvhSubnet> project_serviceName_network_private_networkId_subnet_GET(String serviceName, String networkId) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/subnet";
StringBuilder sb = path(qPath, serviceName, networkId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t6);
} | [
"public",
"ArrayList",
"<",
"OvhSubnet",
">",
"project_serviceName_network_private_networkId_subnet_GET",
"(",
"String",
"serviceName",
",",
"String",
"networkId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/network/private/{networ... | Get network subnets
REST: GET /cloud/project/{serviceName}/network/private/{networkId}/subnet
@param networkId [required] Network id
@param serviceName [required] Service name | [
"Get",
"network",
"subnets"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L726-L731 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_network_private_networkId_subnet_POST | public OvhSubnet project_serviceName_network_private_networkId_subnet_POST(String serviceName, String networkId, Boolean dhcp, String end, String network, Boolean noGateway, String region, String start) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/subnet";
StringBuilder sb = path(qPath, serviceName, networkId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "dhcp", dhcp);
addBody(o, "end", end);
addBody(o, "network", network);
addBody(o, "noGateway", noGateway);
addBody(o, "region", region);
addBody(o, "start", start);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhSubnet.class);
} | java | public OvhSubnet project_serviceName_network_private_networkId_subnet_POST(String serviceName, String networkId, Boolean dhcp, String end, String network, Boolean noGateway, String region, String start) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/subnet";
StringBuilder sb = path(qPath, serviceName, networkId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "dhcp", dhcp);
addBody(o, "end", end);
addBody(o, "network", network);
addBody(o, "noGateway", noGateway);
addBody(o, "region", region);
addBody(o, "start", start);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhSubnet.class);
} | [
"public",
"OvhSubnet",
"project_serviceName_network_private_networkId_subnet_POST",
"(",
"String",
"serviceName",
",",
"String",
"networkId",
",",
"Boolean",
"dhcp",
",",
"String",
"end",
",",
"String",
"network",
",",
"Boolean",
"noGateway",
",",
"String",
"region",
... | Create a new network subnet
REST: POST /cloud/project/{serviceName}/network/private/{networkId}/subnet
@param dhcp [required] Enable DHCP
@param end [required] Last IP for this region (eg: 192.168.1.24)
@param network [required] Global network with cidr (eg: 192.168.1.0/24)
@param networkId [required] Network id
@param noGateway [required] Set to true if you don't want to set a default gateway IP
@param region [required] Region where this subnet will be created
@param serviceName [required] Project name
@param start [required] First IP for this region (eg: 192.168.1.12) | [
"Create",
"a",
"new",
"network",
"subnet"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L747-L759 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_network_private_networkId_DELETE | public void project_serviceName_network_private_networkId_DELETE(String serviceName, String networkId) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}";
StringBuilder sb = path(qPath, serviceName, networkId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void project_serviceName_network_private_networkId_DELETE(String serviceName, String networkId) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}";
StringBuilder sb = path(qPath, serviceName, networkId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"project_serviceName_network_private_networkId_DELETE",
"(",
"String",
"serviceName",
",",
"String",
"networkId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/network/private/{networkId}\"",
";",
"StringBuilder",
"... | Delete private network
REST: DELETE /cloud/project/{serviceName}/network/private/{networkId}
@param networkId [required] Network id
@param serviceName [required] Project name | [
"Delete",
"private",
"network"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L768-L772 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_network_private_networkId_GET | public OvhNetwork project_serviceName_network_private_networkId_GET(String serviceName, String networkId) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}";
StringBuilder sb = path(qPath, serviceName, networkId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhNetwork.class);
} | java | public OvhNetwork project_serviceName_network_private_networkId_GET(String serviceName, String networkId) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}";
StringBuilder sb = path(qPath, serviceName, networkId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhNetwork.class);
} | [
"public",
"OvhNetwork",
"project_serviceName_network_private_networkId_GET",
"(",
"String",
"serviceName",
",",
"String",
"networkId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/network/private/{networkId}\"",
";",
"StringBuilder",
... | Get private network
REST: GET /cloud/project/{serviceName}/network/private/{networkId}
@param networkId [required] Network id
@param serviceName [required] Service name | [
"Get",
"private",
"network"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L781-L786 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_network_private_networkId_region_POST | public OvhNetwork project_serviceName_network_private_networkId_region_POST(String serviceName, String networkId, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/region";
StringBuilder sb = path(qPath, serviceName, networkId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "region", region);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhNetwork.class);
} | java | public OvhNetwork project_serviceName_network_private_networkId_region_POST(String serviceName, String networkId, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/region";
StringBuilder sb = path(qPath, serviceName, networkId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "region", region);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhNetwork.class);
} | [
"public",
"OvhNetwork",
"project_serviceName_network_private_networkId_region_POST",
"(",
"String",
"serviceName",
",",
"String",
"networkId",
",",
"String",
"region",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/network/private/{ne... | Activate private network in a new region
REST: POST /cloud/project/{serviceName}/network/private/{networkId}/region
@param networkId [required] Network id
@param region [required] Region to active on your network
@param serviceName [required] Service name | [
"Activate",
"private",
"network",
"in",
"a",
"new",
"region"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L812-L819 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_network_private_POST | public OvhNetwork project_serviceName_network_private_POST(String serviceName, String name, String[] regions, Long vlanId) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "name", name);
addBody(o, "regions", regions);
addBody(o, "vlanId", vlanId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhNetwork.class);
} | java | public OvhNetwork project_serviceName_network_private_POST(String serviceName, String name, String[] regions, Long vlanId) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/private";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "name", name);
addBody(o, "regions", regions);
addBody(o, "vlanId", vlanId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhNetwork.class);
} | [
"public",
"OvhNetwork",
"project_serviceName_network_private_POST",
"(",
"String",
"serviceName",
",",
"String",
"name",
",",
"String",
"[",
"]",
"regions",
",",
"Long",
"vlanId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceNam... | Create a new network
REST: POST /cloud/project/{serviceName}/network/private
@param name [required] Network name
@param regions [required] Region where to activate private network. No parameters means all region
@param serviceName [required] Project name
@param vlanId [required] Vland id, between 0 and 4000. 0 value means no vlan. | [
"Create",
"a",
"new",
"network"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L844-L853 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_network_public_GET | public ArrayList<OvhNetwork> project_serviceName_network_public_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/public";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t7);
} | java | public ArrayList<OvhNetwork> project_serviceName_network_public_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/network/public";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t7);
} | [
"public",
"ArrayList",
"<",
"OvhNetwork",
">",
"project_serviceName_network_public_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/network/public\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(... | Get public networks
REST: GET /cloud/project/{serviceName}/network/public
@param serviceName [required] Service name | [
"Get",
"public",
"networks"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L861-L866 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_operation_GET | public ArrayList<OvhOperation> project_serviceName_operation_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/operation";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t8);
} | java | public ArrayList<OvhOperation> project_serviceName_operation_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/operation";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t8);
} | [
"public",
"ArrayList",
"<",
"OvhOperation",
">",
"project_serviceName_operation_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/operation\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qP... | List your operations
REST: GET /cloud/project/{serviceName}/operation
@param serviceName [required] Public Cloud project
API beta | [
"List",
"your",
"operations"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L892-L897 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_consumption_GET | public OvhProjectUsage project_serviceName_consumption_GET(String serviceName, Date from, Date to) throws IOException {
String qPath = "/cloud/project/{serviceName}/consumption";
StringBuilder sb = path(qPath, serviceName);
query(sb, "from", from);
query(sb, "to", to);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhProjectUsage.class);
} | java | public OvhProjectUsage project_serviceName_consumption_GET(String serviceName, Date from, Date to) throws IOException {
String qPath = "/cloud/project/{serviceName}/consumption";
StringBuilder sb = path(qPath, serviceName);
query(sb, "from", from);
query(sb, "to", to);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhProjectUsage.class);
} | [
"public",
"OvhProjectUsage",
"project_serviceName_consumption_GET",
"(",
"String",
"serviceName",
",",
"Date",
"from",
",",
"Date",
"to",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/consumption\"",
";",
"StringBuilder",
"sb",... | Get your project consumption
REST: GET /cloud/project/{serviceName}/consumption
@param to [required] Get usage to
@param from [required] Get usage from
@param serviceName [required] The project id | [
"Get",
"your",
"project",
"consumption"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L946-L953 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_credit_POST | public void project_serviceName_credit_POST(String serviceName, String code) throws IOException {
String qPath = "/cloud/project/{serviceName}/credit";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "code", code);
exec(qPath, "POST", sb.toString(), o);
} | java | public void project_serviceName_credit_POST(String serviceName, String code) throws IOException {
String qPath = "/cloud/project/{serviceName}/credit";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "code", code);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"project_serviceName_credit_POST",
"(",
"String",
"serviceName",
",",
"String",
"code",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/credit\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
... | Add credit to your project
REST: POST /cloud/project/{serviceName}/credit
@param code [required] Voucher code
@param serviceName [required] The project id | [
"Add",
"credit",
"to",
"your",
"project"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L975-L981 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_migration_migrationId_GET | public OvhMigration project_serviceName_migration_migrationId_GET(String serviceName, String migrationId) throws IOException {
String qPath = "/cloud/project/{serviceName}/migration/{migrationId}";
StringBuilder sb = path(qPath, serviceName, migrationId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhMigration.class);
} | java | public OvhMigration project_serviceName_migration_migrationId_GET(String serviceName, String migrationId) throws IOException {
String qPath = "/cloud/project/{serviceName}/migration/{migrationId}";
StringBuilder sb = path(qPath, serviceName, migrationId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhMigration.class);
} | [
"public",
"OvhMigration",
"project_serviceName_migration_migrationId_GET",
"(",
"String",
"serviceName",
",",
"String",
"migrationId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/migration/{migrationId}\"",
";",
"StringBuilder",
"s... | Get planned migration
REST: GET /cloud/project/{serviceName}/migration/{migrationId}
@param migrationId [required] Migration id
@param serviceName [required] Service name
API beta | [
"Get",
"planned",
"migration"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1040-L1045 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_migration_migrationId_PUT | public OvhMigration project_serviceName_migration_migrationId_PUT(String serviceName, String migrationId, Date date) throws IOException {
String qPath = "/cloud/project/{serviceName}/migration/{migrationId}";
StringBuilder sb = path(qPath, serviceName, migrationId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "date", date);
String resp = exec(qPath, "PUT", sb.toString(), o);
return convertTo(resp, OvhMigration.class);
} | java | public OvhMigration project_serviceName_migration_migrationId_PUT(String serviceName, String migrationId, Date date) throws IOException {
String qPath = "/cloud/project/{serviceName}/migration/{migrationId}";
StringBuilder sb = path(qPath, serviceName, migrationId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "date", date);
String resp = exec(qPath, "PUT", sb.toString(), o);
return convertTo(resp, OvhMigration.class);
} | [
"public",
"OvhMigration",
"project_serviceName_migration_migrationId_PUT",
"(",
"String",
"serviceName",
",",
"String",
"migrationId",
",",
"Date",
"date",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/migration/{migrationId}\"",
"... | Update planned migration
REST: PUT /cloud/project/{serviceName}/migration/{migrationId}
@param date [required] Migration date (RFC3339)
@param migrationId [required] Migration id
@param serviceName [required] Service name
API beta | [
"Update",
"planned",
"migration"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1057-L1064 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_migration_GET | public ArrayList<OvhMigration> project_serviceName_migration_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/migration";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t10);
} | java | public ArrayList<OvhMigration> project_serviceName_migration_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/migration";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t10);
} | [
"public",
"ArrayList",
"<",
"OvhMigration",
">",
"project_serviceName_migration_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/migration\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qP... | Get planned migrations
REST: GET /cloud/project/{serviceName}/migration
@param serviceName [required] Service name
API beta | [
"Get",
"planned",
"migrations"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1074-L1079 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_volume_volumeId_upsize_POST | public OvhVolume project_serviceName_volume_volumeId_upsize_POST(String serviceName, String volumeId, Long size) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/{volumeId}/upsize";
StringBuilder sb = path(qPath, serviceName, volumeId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "size", size);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVolume.class);
} | java | public OvhVolume project_serviceName_volume_volumeId_upsize_POST(String serviceName, String volumeId, Long size) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/{volumeId}/upsize";
StringBuilder sb = path(qPath, serviceName, volumeId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "size", size);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVolume.class);
} | [
"public",
"OvhVolume",
"project_serviceName_volume_volumeId_upsize_POST",
"(",
"String",
"serviceName",
",",
"String",
"volumeId",
",",
"Long",
"size",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/volume/{volumeId}/upsize\"",
";",... | Extend a volume
REST: POST /cloud/project/{serviceName}/volume/{volumeId}/upsize
@param serviceName [required] Service name
@param size [required] New volume size (in GiB) (must be greater than current one)
@param volumeId [required] Volume id | [
"Extend",
"a",
"volume"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1090-L1097 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_volume_volumeId_DELETE | public void project_serviceName_volume_volumeId_DELETE(String serviceName, String volumeId) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/{volumeId}";
StringBuilder sb = path(qPath, serviceName, volumeId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void project_serviceName_volume_volumeId_DELETE(String serviceName, String volumeId) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/{volumeId}";
StringBuilder sb = path(qPath, serviceName, volumeId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"project_serviceName_volume_volumeId_DELETE",
"(",
"String",
"serviceName",
",",
"String",
"volumeId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/volume/{volumeId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",... | Delete a volume
REST: DELETE /cloud/project/{serviceName}/volume/{volumeId}
@param serviceName [required] Project id
@param volumeId [required] Volume id | [
"Delete",
"a",
"volume"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1106-L1110 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_volume_volumeId_GET | public OvhVolume project_serviceName_volume_volumeId_GET(String serviceName, String volumeId) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/{volumeId}";
StringBuilder sb = path(qPath, serviceName, volumeId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhVolume.class);
} | java | public OvhVolume project_serviceName_volume_volumeId_GET(String serviceName, String volumeId) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/{volumeId}";
StringBuilder sb = path(qPath, serviceName, volumeId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhVolume.class);
} | [
"public",
"OvhVolume",
"project_serviceName_volume_volumeId_GET",
"(",
"String",
"serviceName",
",",
"String",
"volumeId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/volume/{volumeId}\"",
";",
"StringBuilder",
"sb",
"=",
"path... | Get volume details
REST: GET /cloud/project/{serviceName}/volume/{volumeId}
@param serviceName [required] Project id
@param volumeId [required] Volume id | [
"Get",
"volume",
"details"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1119-L1124 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_volume_volumeId_PUT | public OvhVolume project_serviceName_volume_volumeId_PUT(String serviceName, String volumeId, String description, String name) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/{volumeId}";
StringBuilder sb = path(qPath, serviceName, volumeId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
addBody(o, "name", name);
String resp = exec(qPath, "PUT", sb.toString(), o);
return convertTo(resp, OvhVolume.class);
} | java | public OvhVolume project_serviceName_volume_volumeId_PUT(String serviceName, String volumeId, String description, String name) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/{volumeId}";
StringBuilder sb = path(qPath, serviceName, volumeId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
addBody(o, "name", name);
String resp = exec(qPath, "PUT", sb.toString(), o);
return convertTo(resp, OvhVolume.class);
} | [
"public",
"OvhVolume",
"project_serviceName_volume_volumeId_PUT",
"(",
"String",
"serviceName",
",",
"String",
"volumeId",
",",
"String",
"description",
",",
"String",
"name",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/volum... | Update a volume
REST: PUT /cloud/project/{serviceName}/volume/{volumeId}
@param description [required] Volume description
@param name [required] Volume name
@param serviceName [required] Project id
@param volumeId [required] Volume id | [
"Update",
"a",
"volume"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1135-L1143 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_volume_volumeId_attach_POST | public OvhVolume project_serviceName_volume_volumeId_attach_POST(String serviceName, String volumeId, String instanceId) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/{volumeId}/attach";
StringBuilder sb = path(qPath, serviceName, volumeId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "instanceId", instanceId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVolume.class);
} | java | public OvhVolume project_serviceName_volume_volumeId_attach_POST(String serviceName, String volumeId, String instanceId) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/{volumeId}/attach";
StringBuilder sb = path(qPath, serviceName, volumeId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "instanceId", instanceId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVolume.class);
} | [
"public",
"OvhVolume",
"project_serviceName_volume_volumeId_attach_POST",
"(",
"String",
"serviceName",
",",
"String",
"volumeId",
",",
"String",
"instanceId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/volume/{volumeId}/attach\""... | Attach a volume on an instance
REST: POST /cloud/project/{serviceName}/volume/{volumeId}/attach
@param instanceId [required] Instance id
@param serviceName [required] Service name
@param volumeId [required] Volume id | [
"Attach",
"a",
"volume",
"on",
"an",
"instance"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1172-L1179 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_volume_POST | public OvhVolume project_serviceName_volume_POST(String serviceName, String description, String imageId, String name, String region, Long size, String snapshotId, OvhVolumeTypeEnum type) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
addBody(o, "imageId", imageId);
addBody(o, "name", name);
addBody(o, "region", region);
addBody(o, "size", size);
addBody(o, "snapshotId", snapshotId);
addBody(o, "type", type);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVolume.class);
} | java | public OvhVolume project_serviceName_volume_POST(String serviceName, String description, String imageId, String name, String region, Long size, String snapshotId, OvhVolumeTypeEnum type) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
addBody(o, "imageId", imageId);
addBody(o, "name", name);
addBody(o, "region", region);
addBody(o, "size", size);
addBody(o, "snapshotId", snapshotId);
addBody(o, "type", type);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVolume.class);
} | [
"public",
"OvhVolume",
"project_serviceName_volume_POST",
"(",
"String",
"serviceName",
",",
"String",
"description",
",",
"String",
"imageId",
",",
"String",
"name",
",",
"String",
"region",
",",
"Long",
"size",
",",
"String",
"snapshotId",
",",
"OvhVolumeTypeEnum"... | Create a volume
REST: POST /cloud/project/{serviceName}/volume
@param description [required] Volume description
@param imageId [required] Id of image to create a bootable volume
@param name [required] Volume name
@param region [required] Volume region
@param serviceName [required] Project id
@param size [required] Volume size (in GiB)
@param snapshotId [required] Source snapshot id
@param type [required] Volume type | [
"Create",
"a",
"volume"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1227-L1240 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_volume_snapshot_GET | public ArrayList<OvhSnapshot> project_serviceName_volume_snapshot_GET(String serviceName, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/snapshot";
StringBuilder sb = path(qPath, serviceName);
query(sb, "region", region);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t12);
} | java | public ArrayList<OvhSnapshot> project_serviceName_volume_snapshot_GET(String serviceName, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/snapshot";
StringBuilder sb = path(qPath, serviceName);
query(sb, "region", region);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t12);
} | [
"public",
"ArrayList",
"<",
"OvhSnapshot",
">",
"project_serviceName_volume_snapshot_GET",
"(",
"String",
"serviceName",
",",
"String",
"region",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/volume/snapshot\"",
";",
"StringBuild... | Get volume snapshots
REST: GET /cloud/project/{serviceName}/volume/snapshot
@param region [required] Snapshots region
@param serviceName [required] Project id | [
"Get",
"volume",
"snapshots"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1249-L1255 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_volume_snapshot_snapshotId_DELETE | public void project_serviceName_volume_snapshot_snapshotId_DELETE(String serviceName, String snapshotId) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/snapshot/{snapshotId}";
StringBuilder sb = path(qPath, serviceName, snapshotId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void project_serviceName_volume_snapshot_snapshotId_DELETE(String serviceName, String snapshotId) throws IOException {
String qPath = "/cloud/project/{serviceName}/volume/snapshot/{snapshotId}";
StringBuilder sb = path(qPath, serviceName, snapshotId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"project_serviceName_volume_snapshot_snapshotId_DELETE",
"(",
"String",
"serviceName",
",",
"String",
"snapshotId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/volume/snapshot/{snapshotId}\"",
";",
"StringBuilder",
... | Delete a volume snapshot
REST: DELETE /cloud/project/{serviceName}/volume/snapshot/{snapshotId}
@param serviceName [required] Project id
@param snapshotId [required] Snapshot id | [
"Delete",
"a",
"volume",
"snapshot"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1265-L1269 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_ip_failover_id_attach_POST | public OvhFailoverIp project_serviceName_ip_failover_id_attach_POST(String serviceName, String id, String instanceId) throws IOException {
String qPath = "/cloud/project/{serviceName}/ip/failover/{id}/attach";
StringBuilder sb = path(qPath, serviceName, id);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "instanceId", instanceId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhFailoverIp.class);
} | java | public OvhFailoverIp project_serviceName_ip_failover_id_attach_POST(String serviceName, String id, String instanceId) throws IOException {
String qPath = "/cloud/project/{serviceName}/ip/failover/{id}/attach";
StringBuilder sb = path(qPath, serviceName, id);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "instanceId", instanceId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhFailoverIp.class);
} | [
"public",
"OvhFailoverIp",
"project_serviceName_ip_failover_id_attach_POST",
"(",
"String",
"serviceName",
",",
"String",
"id",
",",
"String",
"instanceId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/ip/failover/{id}/attach\"",
... | Attach failover ip to an instance
REST: POST /cloud/project/{serviceName}/ip/failover/{id}/attach
@param id [required] Ip id
@param instanceId [required] Attach failover ip to instance
@param serviceName [required] Project id | [
"Attach",
"failover",
"ip",
"to",
"an",
"instance"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1293-L1300 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_ip_failover_id_GET | public OvhFailoverIp project_serviceName_ip_failover_id_GET(String serviceName, String id) throws IOException {
String qPath = "/cloud/project/{serviceName}/ip/failover/{id}";
StringBuilder sb = path(qPath, serviceName, id);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhFailoverIp.class);
} | java | public OvhFailoverIp project_serviceName_ip_failover_id_GET(String serviceName, String id) throws IOException {
String qPath = "/cloud/project/{serviceName}/ip/failover/{id}";
StringBuilder sb = path(qPath, serviceName, id);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhFailoverIp.class);
} | [
"public",
"OvhFailoverIp",
"project_serviceName_ip_failover_id_GET",
"(",
"String",
"serviceName",
",",
"String",
"id",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/ip/failover/{id}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
... | Get failover ip
REST: GET /cloud/project/{serviceName}/ip/failover/{id}
@param id [required] Ip id
@param serviceName [required] Project id | [
"Get",
"failover",
"ip"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1309-L1314 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_ip_failover_GET | public ArrayList<OvhFailoverIp> project_serviceName_ip_failover_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/ip/failover";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t13);
} | java | public ArrayList<OvhFailoverIp> project_serviceName_ip_failover_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/ip/failover";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t13);
} | [
"public",
"ArrayList",
"<",
"OvhFailoverIp",
">",
"project_serviceName_ip_failover_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/ip/failover\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
... | Get failover ips
REST: GET /cloud/project/{serviceName}/ip/failover
@param serviceName [required] Project id | [
"Get",
"failover",
"ips"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1322-L1327 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_quota_GET | public ArrayList<OvhQuotas> project_serviceName_quota_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/quota";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t16);
} | java | public ArrayList<OvhQuotas> project_serviceName_quota_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/quota";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t16);
} | [
"public",
"ArrayList",
"<",
"OvhQuotas",
">",
"project_serviceName_quota_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/quota\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
","... | Get project quotas
REST: GET /cloud/project/{serviceName}/quota
@param serviceName [required] Project id | [
"Get",
"project",
"quotas"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1411-L1416 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_forecast_GET | public OvhProjectForecast project_serviceName_forecast_GET(String serviceName, Date toDate) throws IOException {
String qPath = "/cloud/project/{serviceName}/forecast";
StringBuilder sb = path(qPath, serviceName);
query(sb, "toDate", toDate);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhProjectForecast.class);
} | java | public OvhProjectForecast project_serviceName_forecast_GET(String serviceName, Date toDate) throws IOException {
String qPath = "/cloud/project/{serviceName}/forecast";
StringBuilder sb = path(qPath, serviceName);
query(sb, "toDate", toDate);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhProjectForecast.class);
} | [
"public",
"OvhProjectForecast",
"project_serviceName_forecast_GET",
"(",
"String",
"serviceName",
",",
"Date",
"toDate",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/forecast\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
... | Get your consumption forecast
REST: GET /cloud/project/{serviceName}/forecast
@param serviceName [required] Service name
@param toDate [required] Forecast until date | [
"Get",
"your",
"consumption",
"forecast"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1426-L1432 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_sshkey_keyId_DELETE | public void project_serviceName_sshkey_keyId_DELETE(String serviceName, String keyId) throws IOException {
String qPath = "/cloud/project/{serviceName}/sshkey/{keyId}";
StringBuilder sb = path(qPath, serviceName, keyId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void project_serviceName_sshkey_keyId_DELETE(String serviceName, String keyId) throws IOException {
String qPath = "/cloud/project/{serviceName}/sshkey/{keyId}";
StringBuilder sb = path(qPath, serviceName, keyId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"project_serviceName_sshkey_keyId_DELETE",
"(",
"String",
"serviceName",
",",
"String",
"keyId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/sshkey/{keyId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
... | Delete SSH key
REST: DELETE /cloud/project/{serviceName}/sshkey/{keyId}
@param keyId [required] SSH key id
@param serviceName [required] Project name | [
"Delete",
"SSH",
"key"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1513-L1517 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_sshkey_keyId_GET | public OvhSshKeyDetail project_serviceName_sshkey_keyId_GET(String serviceName, String keyId) throws IOException {
String qPath = "/cloud/project/{serviceName}/sshkey/{keyId}";
StringBuilder sb = path(qPath, serviceName, keyId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhSshKeyDetail.class);
} | java | public OvhSshKeyDetail project_serviceName_sshkey_keyId_GET(String serviceName, String keyId) throws IOException {
String qPath = "/cloud/project/{serviceName}/sshkey/{keyId}";
StringBuilder sb = path(qPath, serviceName, keyId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhSshKeyDetail.class);
} | [
"public",
"OvhSshKeyDetail",
"project_serviceName_sshkey_keyId_GET",
"(",
"String",
"serviceName",
",",
"String",
"keyId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/sshkey/{keyId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
... | Get SSH key
REST: GET /cloud/project/{serviceName}/sshkey/{keyId}
@param keyId [required] SSH key id
@param serviceName [required] Project name | [
"Get",
"SSH",
"key"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1526-L1531 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_sshkey_GET | public ArrayList<OvhSshKey> project_serviceName_sshkey_GET(String serviceName, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/sshkey";
StringBuilder sb = path(qPath, serviceName);
query(sb, "region", region);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t17);
} | java | public ArrayList<OvhSshKey> project_serviceName_sshkey_GET(String serviceName, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/sshkey";
StringBuilder sb = path(qPath, serviceName);
query(sb, "region", region);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t17);
} | [
"public",
"ArrayList",
"<",
"OvhSshKey",
">",
"project_serviceName_sshkey_GET",
"(",
"String",
"serviceName",
",",
"String",
"region",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/sshkey\"",
";",
"StringBuilder",
"sb",
"=",
... | Get SSH keys
REST: GET /cloud/project/{serviceName}/sshkey
@param region [required] Region
@param serviceName [required] Project name | [
"Get",
"SSH",
"keys"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1540-L1546 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_sshkey_POST | public OvhSshKeyDetail project_serviceName_sshkey_POST(String serviceName, String name, String publicKey, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/sshkey";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "name", name);
addBody(o, "publicKey", publicKey);
addBody(o, "region", region);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhSshKeyDetail.class);
} | java | public OvhSshKeyDetail project_serviceName_sshkey_POST(String serviceName, String name, String publicKey, String region) throws IOException {
String qPath = "/cloud/project/{serviceName}/sshkey";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "name", name);
addBody(o, "publicKey", publicKey);
addBody(o, "region", region);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhSshKeyDetail.class);
} | [
"public",
"OvhSshKeyDetail",
"project_serviceName_sshkey_POST",
"(",
"String",
"serviceName",
",",
"String",
"name",
",",
"String",
"publicKey",
",",
"String",
"region",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/sshkey\"",
... | Create SSH key
REST: POST /cloud/project/{serviceName}/sshkey
@param name [required] SSH key name
@param publicKey [required] SSH public key
@param region [required] Region to create SSH key
@param serviceName [required] Project name | [
"Create",
"SSH",
"key"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1558-L1567 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_regionAvailable_GET | public ArrayList<OvhAvailableRegion> project_serviceName_regionAvailable_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/regionAvailable";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t18);
} | java | public ArrayList<OvhAvailableRegion> project_serviceName_regionAvailable_GET(String serviceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/regionAvailable";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t18);
} | [
"public",
"ArrayList",
"<",
"OvhAvailableRegion",
">",
"project_serviceName_regionAvailable_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/regionAvailable\"",
";",
"StringBuilder",
"sb",
"=",
"p... | List the regions on which you can ask an access to
REST: GET /cloud/project/{serviceName}/regionAvailable
@param serviceName [required] Public Cloud project | [
"List",
"the",
"regions",
"on",
"which",
"you",
"can",
"ask",
"an",
"access",
"to"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1575-L1580 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_ipLoadbalancing_id_validate_POST | public void project_serviceName_ipLoadbalancing_id_validate_POST(String serviceName, String id) throws IOException {
String qPath = "/cloud/project/{serviceName}/ipLoadbalancing/{id}/validate";
StringBuilder sb = path(qPath, serviceName, id);
exec(qPath, "POST", sb.toString(), null);
} | java | public void project_serviceName_ipLoadbalancing_id_validate_POST(String serviceName, String id) throws IOException {
String qPath = "/cloud/project/{serviceName}/ipLoadbalancing/{id}/validate";
StringBuilder sb = path(qPath, serviceName, id);
exec(qPath, "POST", sb.toString(), null);
} | [
"public",
"void",
"project_serviceName_ipLoadbalancing_id_validate_POST",
"(",
"String",
"serviceName",
",",
"String",
"id",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/ipLoadbalancing/{id}/validate\"",
";",
"StringBuilder",
"sb",
... | Validate the import of your load balancing IP into OpenStack
REST: POST /cloud/project/{serviceName}/ipLoadbalancing/{id}/validate
@param serviceName [required] The project id
@param id [required] ID of your load balancing ip import
API beta | [
"Validate",
"the",
"import",
"of",
"your",
"load",
"balancing",
"IP",
"into",
"OpenStack"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1611-L1615 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_ipLoadbalancing_POST | public OvhIPLoadbalancing project_serviceName_ipLoadbalancing_POST(String serviceName, String ipLoadbalancingServiceName, String redirection) throws IOException {
String qPath = "/cloud/project/{serviceName}/ipLoadbalancing";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "ipLoadbalancingServiceName", ipLoadbalancingServiceName);
addBody(o, "redirection", redirection);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhIPLoadbalancing.class);
} | java | public OvhIPLoadbalancing project_serviceName_ipLoadbalancing_POST(String serviceName, String ipLoadbalancingServiceName, String redirection) throws IOException {
String qPath = "/cloud/project/{serviceName}/ipLoadbalancing";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "ipLoadbalancingServiceName", ipLoadbalancingServiceName);
addBody(o, "redirection", redirection);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhIPLoadbalancing.class);
} | [
"public",
"OvhIPLoadbalancing",
"project_serviceName_ipLoadbalancing_POST",
"(",
"String",
"serviceName",
",",
"String",
"ipLoadbalancingServiceName",
",",
"String",
"redirection",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/ipLoad... | Import an existing IP LB into OpenStack
REST: POST /cloud/project/{serviceName}/ipLoadbalancing
@param ipLoadbalancingServiceName [required] Service name of the IP LB to import
@param redirection [required] Where you want to redirect the user after sucessfull authentication. Useful variables admitted: %project <=> project ID, %id <=> ID of load balancing ip, %iplb <=> IPLB service name
@param serviceName [required] The project id
API beta | [
"Import",
"an",
"existing",
"IP",
"LB",
"into",
"OpenStack"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1673-L1681 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_bill_GET | public ArrayList<OvhBill> project_serviceName_bill_GET(String serviceName, Date from, Date to) throws IOException {
String qPath = "/cloud/project/{serviceName}/bill";
StringBuilder sb = path(qPath, serviceName);
query(sb, "from", from);
query(sb, "to", to);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t19);
} | java | public ArrayList<OvhBill> project_serviceName_bill_GET(String serviceName, Date from, Date to) throws IOException {
String qPath = "/cloud/project/{serviceName}/bill";
StringBuilder sb = path(qPath, serviceName);
query(sb, "from", from);
query(sb, "to", to);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t19);
} | [
"public",
"ArrayList",
"<",
"OvhBill",
">",
"project_serviceName_bill_GET",
"(",
"String",
"serviceName",
",",
"Date",
"from",
",",
"Date",
"to",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/bill\"",
";",
"StringBuilder",
... | Get your project bills
REST: GET /cloud/project/{serviceName}/bill
@param to [required] Get bills to
@param from [required] Get bills from
@param serviceName [required] The project id | [
"Get",
"your",
"project",
"bills"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1691-L1698 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_usage_history_GET | public ArrayList<OvhUsageHistory> project_serviceName_usage_history_GET(String serviceName, Date from, Date to) throws IOException {
String qPath = "/cloud/project/{serviceName}/usage/history";
StringBuilder sb = path(qPath, serviceName);
query(sb, "from", from);
query(sb, "to", to);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t20);
} | java | public ArrayList<OvhUsageHistory> project_serviceName_usage_history_GET(String serviceName, Date from, Date to) throws IOException {
String qPath = "/cloud/project/{serviceName}/usage/history";
StringBuilder sb = path(qPath, serviceName);
query(sb, "from", from);
query(sb, "to", to);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t20);
} | [
"public",
"ArrayList",
"<",
"OvhUsageHistory",
">",
"project_serviceName_usage_history_GET",
"(",
"String",
"serviceName",
",",
"Date",
"from",
",",
"Date",
"to",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/usage/history\"",
... | Usage information on your project
REST: GET /cloud/project/{serviceName}/usage/history
@param from [required] Filter results having date superior to from
@param serviceName [required] Service name
@param to [required] Filter results having date inferior to | [
"Usage",
"information",
"on",
"your",
"project"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1709-L1716 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_usage_history_usageId_GET | public OvhUsageHistoryDetail project_serviceName_usage_history_usageId_GET(String serviceName, String usageId) throws IOException {
String qPath = "/cloud/project/{serviceName}/usage/history/{usageId}";
StringBuilder sb = path(qPath, serviceName, usageId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhUsageHistoryDetail.class);
} | java | public OvhUsageHistoryDetail project_serviceName_usage_history_usageId_GET(String serviceName, String usageId) throws IOException {
String qPath = "/cloud/project/{serviceName}/usage/history/{usageId}";
StringBuilder sb = path(qPath, serviceName, usageId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhUsageHistoryDetail.class);
} | [
"public",
"OvhUsageHistoryDetail",
"project_serviceName_usage_history_usageId_GET",
"(",
"String",
"serviceName",
",",
"String",
"usageId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/usage/history/{usageId}\"",
";",
"StringBuilder",... | Usage information details
REST: GET /cloud/project/{serviceName}/usage/history/{usageId}
@param serviceName [required] Service name
@param usageId [required] Usage id | [
"Usage",
"information",
"details"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1726-L1731 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_instance_POST | public OvhInstanceDetail project_serviceName_instance_POST(String serviceName, String flavorId, String groupId, String imageId, Boolean monthlyBilling, String name, OvhNetworkParams[] networks, String region, String sshKeyId, String userData, String volumeId) throws IOException {
String qPath = "/cloud/project/{serviceName}/instance";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "flavorId", flavorId);
addBody(o, "groupId", groupId);
addBody(o, "imageId", imageId);
addBody(o, "monthlyBilling", monthlyBilling);
addBody(o, "name", name);
addBody(o, "networks", networks);
addBody(o, "region", region);
addBody(o, "sshKeyId", sshKeyId);
addBody(o, "userData", userData);
addBody(o, "volumeId", volumeId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhInstanceDetail.class);
} | java | public OvhInstanceDetail project_serviceName_instance_POST(String serviceName, String flavorId, String groupId, String imageId, Boolean monthlyBilling, String name, OvhNetworkParams[] networks, String region, String sshKeyId, String userData, String volumeId) throws IOException {
String qPath = "/cloud/project/{serviceName}/instance";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "flavorId", flavorId);
addBody(o, "groupId", groupId);
addBody(o, "imageId", imageId);
addBody(o, "monthlyBilling", monthlyBilling);
addBody(o, "name", name);
addBody(o, "networks", networks);
addBody(o, "region", region);
addBody(o, "sshKeyId", sshKeyId);
addBody(o, "userData", userData);
addBody(o, "volumeId", volumeId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhInstanceDetail.class);
} | [
"public",
"OvhInstanceDetail",
"project_serviceName_instance_POST",
"(",
"String",
"serviceName",
",",
"String",
"flavorId",
",",
"String",
"groupId",
",",
"String",
"imageId",
",",
"Boolean",
"monthlyBilling",
",",
"String",
"name",
",",
"OvhNetworkParams",
"[",
"]",... | Create a new instance
REST: POST /cloud/project/{serviceName}/instance
@param flavorId [required] Instance flavor id
@param groupId [required] Start instance in group
@param imageId [required] Instance image id
@param monthlyBilling [required] Active monthly billing
@param name [required] Instance name
@param networks [required] Create network interfaces
@param region [required] Instance region
@param serviceName [required] Project name
@param sshKeyId [required] SSH keypair id
@param userData [required] Configuration information or scripts to use upon launch
@param volumeId [required] Specify a volume id to boot from it | [
"Create",
"a",
"new",
"instance"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1791-L1807 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_instance_instanceId_rescueMode_POST | public OvhRescueAdminPassword project_serviceName_instance_instanceId_rescueMode_POST(String serviceName, String instanceId, String imageId, Boolean rescue) throws IOException {
String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/rescueMode";
StringBuilder sb = path(qPath, serviceName, instanceId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "imageId", imageId);
addBody(o, "rescue", rescue);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhRescueAdminPassword.class);
} | java | public OvhRescueAdminPassword project_serviceName_instance_instanceId_rescueMode_POST(String serviceName, String instanceId, String imageId, Boolean rescue) throws IOException {
String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/rescueMode";
StringBuilder sb = path(qPath, serviceName, instanceId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "imageId", imageId);
addBody(o, "rescue", rescue);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhRescueAdminPassword.class);
} | [
"public",
"OvhRescueAdminPassword",
"project_serviceName_instance_instanceId_rescueMode_POST",
"(",
"String",
"serviceName",
",",
"String",
"instanceId",
",",
"String",
"imageId",
",",
"Boolean",
"rescue",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/clo... | Enable or disable rescue mode
REST: POST /cloud/project/{serviceName}/instance/{instanceId}/rescueMode
@param imageId [required] Image to boot on
@param instanceId [required] Instance id
@param rescue [required] Enable rescue mode
@param serviceName [required] Service name | [
"Enable",
"or",
"disable",
"rescue",
"mode"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1818-L1826 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java | ApiOvhCloud.project_serviceName_instance_instanceId_PUT | public void project_serviceName_instance_instanceId_PUT(String serviceName, String instanceId, String instanceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/instance/{instanceId}";
StringBuilder sb = path(qPath, serviceName, instanceId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "instanceName", instanceName);
exec(qPath, "PUT", sb.toString(), o);
} | java | public void project_serviceName_instance_instanceId_PUT(String serviceName, String instanceId, String instanceName) throws IOException {
String qPath = "/cloud/project/{serviceName}/instance/{instanceId}";
StringBuilder sb = path(qPath, serviceName, instanceId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "instanceName", instanceName);
exec(qPath, "PUT", sb.toString(), o);
} | [
"public",
"void",
"project_serviceName_instance_instanceId_PUT",
"(",
"String",
"serviceName",
",",
"String",
"instanceId",
",",
"String",
"instanceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cloud/project/{serviceName}/instance/{instanceId}\"",
";",... | Alter an instance
REST: PUT /cloud/project/{serviceName}/instance/{instanceId}
@param instanceId [required] Instance id
@param instanceName [required] Instance new name
@param serviceName [required] Service name | [
"Alter",
"an",
"instance"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-cloud/src/main/java/net/minidev/ovh/api/ApiOvhCloud.java#L1863-L1869 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.