idx
int64
0
165k
question
stringlengths
73
5.81k
target
stringlengths
5
918
12,900
public OvhTask serviceName_network_POST ( String serviceName , String description , String ipNet , Long vlanTag ) throws IOException { String qPath = "/router/{serviceName}/network" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "ipNet" , ipNet ) ; addBody ( o , "vlanTag" , vlanTag ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Add a network to your router
12,901
public String serviceName_privateLink_peerServiceName_request_manage_POST ( String serviceName , String peerServiceName , OvhPrivLinkReqActionEnum action ) throws IOException { String qPath = "/router/{serviceName}/privateLink/{peerServiceName}/request/manage" ; StringBuilder sb = path ( qPath , serviceName , peerServiceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "action" , action ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , String . class ) ; }
Accept reject or cancel a pending request
12,902
public ArrayList < OvhOsAvailabilitiesEnum > osAvailabilities_GET ( String hardware ) throws IOException { String qPath = "/dedicated/server/osAvailabilities" ; StringBuilder sb = path ( qPath ) ; query ( sb , "hardware" , hardware ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; }
List the os available for a specified hardware reference
12,903
public OvhVirtualNetworkInterface virtualNetworkInterface_uuid_GET ( String uuid ) throws IOException { String qPath = "/dedicated/server/virtualNetworkInterface/{uuid}" ; StringBuilder sb = path ( qPath , uuid ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhVirtualNetworkInterface . class ) ; }
Get VirtualNetworkInterface details
12,904
public ArrayList < String > serviceName_virtualNetworkInterface_GET ( String serviceName , OvhVirtualNetworkInterfaceModeEnum mode , String name , String vrack ) throws IOException { String qPath = "/dedicated/server/{serviceName}/virtualNetworkInterface" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "mode" , mode ) ; query ( sb , "name" , name ) ; query ( sb , "vrack" , vrack ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
List server VirtualNetworkInterfaces
12,905
public Boolean serviceName_orderable_feature_GET ( String serviceName , OvhOrderableSysFeatureEnum feature ) throws IOException { String qPath = "/dedicated/server/{serviceName}/orderable/feature" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "feature" , feature ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , Boolean . class ) ; }
Is this feature orderable with your server
12,906
public ArrayList < String > serviceName_networkInterfaceController_GET ( String serviceName , OvhNetworkInterfaceControllerLinkTypeEnum linkType ) throws IOException { String qPath = "/dedicated/server/{serviceName}/networkInterfaceController" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "linkType" , linkType ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
List server networkInterfaceController
12,907
public ArrayList < OvhMrtgTimestampValue > serviceName_networkInterfaceController_mac_mrtg_GET ( String serviceName , String mac , OvhMrtgPeriodEnum period , OvhMrtgTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/networkInterfaceController/{mac}/mrtg" ; StringBuilder sb = path ( qPath , serviceName , mac ) ; query ( sb , "period" , period ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; }
Retrieve traffic graph values
12,908
public OvhTask serviceName_virtualMac_POST ( String serviceName , String ipAddress , OvhVmacTypeEnum type , String virtualMachineName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/virtualMac" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipAddress" , ipAddress ) ; addBody ( o , "type" , type ) ; addBody ( o , "virtualMachineName" , virtualMachineName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Add a virtual mac to an IP address
12,909
public OvhTask serviceName_virtualMac_macAddress_virtualAddress_ipAddress_DELETE ( String serviceName , String macAddress , String ipAddress ) throws IOException { String qPath = "/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress/{ipAddress}" ; StringBuilder sb = path ( qPath , serviceName , macAddress , ipAddress ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; }
Remove this ip from virtual mac if you remove the last linked Ip virtualmac will be deleted
12,910
public OvhTask serviceName_virtualMac_macAddress_virtualAddress_POST ( String serviceName , String macAddress , String ipAddress , String virtualMachineName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress" ; StringBuilder sb = path ( qPath , serviceName , macAddress ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipAddress" , ipAddress ) ; addBody ( o , "virtualMachineName" , virtualMachineName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Add an IP to this Virtual MAC
12,911
public ArrayList < Long > serviceName_spla_GET ( String serviceName , OvhSplaStatusEnum status , OvhSplaTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/spla" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "status" , status ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; }
Your own SPLA licenses attached to this dedicated server
12,912
public Long serviceName_spla_POST ( String serviceName , String serialNumber , OvhSplaTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/spla" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "serialNumber" , serialNumber ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , Long . class ) ; }
Add a new SPLA license
12,913
public OvhBackupCloud serviceName_features_backupCloud_POST ( String serviceName , String cloudProjectId , String projectDescription ) throws IOException { String qPath = "/dedicated/server/{serviceName}/features/backupCloud" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "cloudProjectId" , cloudProjectId ) ; addBody ( o , "projectDescription" , projectDescription ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhBackupCloud . class ) ; }
Create a new storage backup space associated to server
12,914
public OvhTask serviceName_features_ipmi_access_POST ( String serviceName , String ipToAllow , String sshKey , OvhCacheTTLEnum ttl , OvhIpmiAccessTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/features/ipmi/access" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipToAllow" , ipToAllow ) ; addBody ( o , "sshKey" , sshKey ) ; addBody ( o , "ttl" , ttl ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Request an acces on KVM IPMI interface
12,915
public OvhIpmiAccessValue serviceName_features_ipmi_access_GET ( String serviceName , OvhIpmiAccessTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/features/ipmi/access" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhIpmiAccessValue . class ) ; }
IPMI access method
12,916
public ArrayList < OvhWindowsSqlVersionEnum > serviceName_license_compliantWindowsSqlServer_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/license/compliantWindowsSqlServer" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t6 ) ; }
Get the windows SQL server license compliant with your server .
12,917
public ArrayList < OvhWindowsOsVersionEnum > serviceName_license_compliantWindows_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/license/compliantWindows" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t7 ) ; }
Get the windows license compliant with your server .
12,918
public OvhChartReturn serviceName_statistics_partition_partition_chart_GET ( String serviceName , String partition , OvhRtmChartPeriodEnum period ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/partition/{partition}/chart" ; StringBuilder sb = path ( qPath , serviceName , partition ) ; query ( sb , "period" , period ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhChartReturn . class ) ; }
Retrieve partition charts
12,919
public ArrayList < OvhRtmPci > serviceName_statistics_pci_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/pci" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t8 ) ; }
Get server PCI devices informations
12,920
public ArrayList < OvhRtmMemory > serviceName_statistics_memory_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/memory" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t9 ) ; }
Get server memory informations
12,921
public ArrayList < OvhRtmCommandSize > serviceName_statistics_process_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/process" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t10 ) ; }
Get server process
12,922
public OvhRtmDiskSmart serviceName_statistics_disk_disk_smart_GET ( String serviceName , String disk ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/disk/{disk}/smart" ; StringBuilder sb = path ( qPath , serviceName , disk ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhRtmDiskSmart . class ) ; }
Get disk smart informations
12,923
public ArrayList < OvhRtmConnection > serviceName_statistics_connection_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/connection" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t11 ) ; }
Get server opened connections
12,924
public OvhChartReturn serviceName_statistics_chart_GET ( String serviceName , OvhRtmChartPeriodEnum period , OvhRtmChartTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/chart" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "period" , period ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhChartReturn . class ) ; }
Retrieve RTM graph values
12,925
public OvhTemplateCaps serviceName_install_templateCapabilities_GET ( String serviceName , String templateName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/install/templateCapabilities" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "templateName" , templateName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTemplateCaps . class ) ; }
Gives some capabilities regarding the template for the current dedicated server .
12,926
public OvhTask serviceName_install_start_POST ( String serviceName , OvhInstallCustom details , String partitionSchemeName , String templateName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/install/start" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "details" , details ) ; addBody ( o , "partitionSchemeName" , partitionSchemeName ) ; addBody ( o , "templateName" , templateName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Start an install
12,927
public ArrayList < String > serviceName_install_compatibleTemplatePartitionSchemes_GET ( String serviceName , String templateName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/install/compatibleTemplatePartitionSchemes" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "templateName" , templateName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Retrieve compatible install template partitions scheme
12,928
public OvhHardwareRaidSize serviceName_install_hardwareRaidSize_GET ( String serviceName , String partitionSchemeName , String templateName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/install/hardwareRaidSize" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "partitionSchemeName" , partitionSchemeName ) ; query ( sb , "templateName" , templateName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhHardwareRaidSize . class ) ; }
Get hardware RAID size for a given configuration
12,929
public OvhNetworkSpecifications serviceName_specifications_network_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/specifications/network" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhNetworkSpecifications . class ) ; }
Retrieve network informations about this dedicated server
12,930
public ArrayList < Long > serviceName_boot_GET ( String serviceName , OvhBootTypeEnum bootType ) throws IOException { String qPath = "/dedicated/server/{serviceName}/boot" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "bootType" , bootType ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; }
Server compatibles netboots
12,931
public ArrayList < OvhBootOptionEnum > serviceName_boot_bootId_option_GET ( String serviceName , Long bootId ) throws IOException { String qPath = "/dedicated/server/{serviceName}/boot/{bootId}/option" ; StringBuilder sb = path ( qPath , serviceName , bootId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t13 ) ; }
Option used on this netboot
12,932
public OvhSecondaryDNSCheckField serviceName_secondaryDnsNameDomainToken_GET ( String serviceName , String domain ) throws IOException { String qPath = "/dedicated/server/{serviceName}/secondaryDnsNameDomainToken" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "domain" , domain ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhSecondaryDNSCheckField . class ) ; }
DNS field to temporarily add to your zone so that we can verify you are the owner of this domain
12,933
public ArrayList < OvhIpCountryEnum > serviceName_ipCountryAvailable_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/ipCountryAvailable" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t14 ) ; }
Retrieve available country for IP order
12,934
public OvhBinaryFirewallLink serviceName_firewall_binary_link_GET ( String serviceName , String binaryName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/firewall/binary/link" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "binaryName" , binaryName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhBinaryFirewallLink . class ) ; }
Get url of binary to update firewall asa
12,935
public void serviceName_ipCanBeMovedTo_GET ( String serviceName , String ip ) throws IOException { String qPath = "/dedicated/server/{serviceName}/ipCanBeMovedTo" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "ip" , ip ) ; exec ( qPath , "GET" , sb . toString ( ) , null ) ; }
Check if given IP can be moved to this server
12,936
public void serviceName_secondaryDnsDomains_domain_DELETE ( String serviceName , String domain ) throws IOException { String qPath = "/dedicated/server/{serviceName}/secondaryDnsDomains/{domain}" ; StringBuilder sb = path ( qPath , serviceName , domain ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; }
remove this domain
12,937
public void serviceName_secondaryDnsDomains_POST ( String serviceName , String domain , String ip ) throws IOException { String qPath = "/dedicated/server/{serviceName}/secondaryDnsDomains" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "domain" , domain ) ; addBody ( o , "ip" , ip ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; }
add a domain on secondary dns
12,938
public OvhNewMessageInfo serviceName_support_replace_hardDiskDrive_POST ( String serviceName , String comment , OvhSupportReplaceHddInfo [ ] disks , Boolean inverse ) throws IOException { String qPath = "/dedicated/server/{serviceName}/support/replace/hardDiskDrive" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "comment" , comment ) ; addBody ( o , "disks" , disks ) ; addBody ( o , "inverse" , inverse ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhNewMessageInfo . class ) ; }
Ask for a broken HDD replacement
12,939
public OvhServiceMonitoring serviceName_serviceMonitoring_POST ( String serviceName , String challengeText , Boolean enabled , OvhMonitoringIntervalEnum interval , String ip , Long port , OvhMonitoringProtocolEnum protocol , String url ) throws IOException { String qPath = "/dedicated/server/{serviceName}/serviceMonitoring" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "challengeText" , challengeText ) ; addBody ( o , "enabled" , enabled ) ; addBody ( o , "interval" , interval ) ; addBody ( o , "ip" , ip ) ; addBody ( o , "port" , port ) ; addBody ( o , "protocol" , protocol ) ; addBody ( o , "url" , url ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhServiceMonitoring . class ) ; }
Add a new service monitoring
12,940
public OvhSmsAlert serviceName_serviceMonitoring_monitoringId_alert_sms_POST ( String serviceName , Long monitoringId , Long fromHour , OvhAlertLanguageEnum language , String phoneNumberTo , String smsAccount , Long toHour ) throws IOException { String qPath = "/dedicated/server/{serviceName}/serviceMonitoring/{monitoringId}/alert/sms" ; StringBuilder sb = path ( qPath , serviceName , monitoringId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "fromHour" , fromHour ) ; addBody ( o , "language" , language ) ; addBody ( o , "phoneNumberTo" , phoneNumberTo ) ; addBody ( o , "smsAccount" , smsAccount ) ; addBody ( o , "toHour" , toHour ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhSmsAlert . class ) ; }
Create a SMS alert
12,941
public void serviceName_serviceMonitoring_monitoringId_alert_email_alertId_DELETE ( String serviceName , Long monitoringId , Long alertId ) throws IOException { String qPath = "/dedicated/server/{serviceName}/serviceMonitoring/{monitoringId}/alert/email/{alertId}" ; StringBuilder sb = path ( qPath , serviceName , monitoringId , alertId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; }
Remove this Email alert monitoring
12,942
public OvhEmailAlert serviceName_serviceMonitoring_monitoringId_alert_email_POST ( String serviceName , Long monitoringId , String email , OvhAlertLanguageEnum language ) throws IOException { String qPath = "/dedicated/server/{serviceName}/serviceMonitoring/{monitoringId}/alert/email" ; StringBuilder sb = path ( qPath , serviceName , monitoringId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "email" , email ) ; addBody ( o , "language" , language ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhEmailAlert . class ) ; }
Add a new email alert
12,943
public static void main ( String [ ] args ) throws Exception { if ( args . length != 2 ) { System . out . println ( "usage: ListDoms nic password" ) ; return ; } String nic = args [ 0 ] ; String password = args [ 1 ] ; list2 ( nic , password ) ; }
Login using nic handler
12,944
public OvhDocument document_documentId_GET ( String documentId ) throws IOException { String qPath = "/store/document/{documentId}" ; StringBuilder sb = path ( qPath , documentId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhDocument . class ) ; }
Get document info
12,945
public ArrayList < String > contact_contactId_document_POST ( String contactId , String documentId ) throws IOException { String qPath = "/store/contact/{contactId}/document" ; StringBuilder sb = path ( qPath , contactId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "documentId" , documentId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t2 ) ; }
Add a document to a contact
12,946
public OvhContact contact_POST ( String city , String country , String email , String firstname , String lastname , String phone , String province , String street , String title , String zip ) throws IOException { String qPath = "/store/contact" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "city" , city ) ; addBody ( o , "country" , country ) ; addBody ( o , "email" , email ) ; addBody ( o , "firstname" , firstname ) ; addBody ( o , "lastname" , lastname ) ; addBody ( o , "phone" , phone ) ; addBody ( o , "province" , province ) ; addBody ( o , "street" , street ) ; addBody ( o , "title" , title ) ; addBody ( o , "zip" , zip ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhContact . class ) ; }
Create a marketplace contact for current nic
12,947
public OvhPartner partner_partnerId_PUT ( String partnerId , String category , String city , String companyNationalIdentificationNumber , String contact , String country , String description , String language , String legalForm , String organisationDisplayName , String organisationName , String otherDetails , String province , String street , String url , String vat , String zip ) throws IOException { String qPath = "/store/partner/{partnerId}" ; StringBuilder sb = path ( qPath , partnerId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "category" , category ) ; addBody ( o , "city" , city ) ; addBody ( o , "companyNationalIdentificationNumber" , companyNationalIdentificationNumber ) ; addBody ( o , "contact" , contact ) ; addBody ( o , "country" , country ) ; addBody ( o , "description" , description ) ; addBody ( o , "language" , language ) ; addBody ( o , "legalForm" , legalForm ) ; addBody ( o , "organisationDisplayName" , organisationDisplayName ) ; addBody ( o , "organisationName" , organisationName ) ; addBody ( o , "otherDetails" , otherDetails ) ; addBody ( o , "province" , province ) ; addBody ( o , "street" , street ) ; addBody ( o , "url" , url ) ; addBody ( o , "vat" , vat ) ; addBody ( o , "zip" , zip ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhPartner . class ) ; }
Edit partner info
12,948
public ArrayList < OvhEditResponse > partner_partnerId_product_GET ( String partnerId ) throws IOException { String qPath = "/store/partner/{partnerId}/product" ; StringBuilder sb = path ( qPath , partnerId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; }
List partner s products
12,949
public OvhEditResponse partner_partnerId_product_POST ( String partnerId , String category , String description , String name , String otherDetails ) throws IOException { String qPath = "/store/partner/{partnerId}/product" ; StringBuilder sb = path ( qPath , partnerId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "category" , category ) ; addBody ( o , "description" , description ) ; addBody ( o , "name" , name ) ; addBody ( o , "otherDetails" , otherDetails ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhEditResponse . class ) ; }
Create a new product for partner
12,950
public static Document newDocument ( ) throws AlipayApiException { Document doc = null ; try { doc = DocumentBuilderFactory . newInstance ( ) . newDocumentBuilder ( ) . newDocument ( ) ; } catch ( ParserConfigurationException e ) { throw new AlipayApiException ( e ) ; } return doc ; }
Creates a new document instance .
12,951
public static Document getDocument ( File file ) throws AlipayApiException { InputStream in = getInputStream ( file ) ; return getDocument ( in ) ; }
Parses the content of the given XML file as an XML document .
12,952
public static Document getDocument ( InputStream in ) throws AlipayApiException { Document doc = null ; try { DocumentBuilder builder = DocumentBuilderFactory . newInstance ( ) . newDocumentBuilder ( ) ; doc = builder . parse ( in ) ; } catch ( ParserConfigurationException e ) { throw new AlipayApiException ( e ) ; } catch ( SAXException e ) { throw new AlipayApiException ( "XML_PARSE_ERROR" , e ) ; } catch ( IOException e ) { throw new AlipayApiException ( "XML_READ_ERROR" , e ) ; } finally { if ( in != null ) { try { in . close ( ) ; } catch ( IOException e ) { } } } return doc ; }
Parses the content of the given stream as an XML document .
12,953
public static Element createRootElement ( String tagName ) throws AlipayApiException { Document doc = newDocument ( ) ; Element root = doc . createElement ( tagName ) ; doc . appendChild ( root ) ; return root ; }
Creates a root element as well as a new document with specific tag name .
12,954
private static String getEncoding ( String text ) { String result = "UTF-8" ; String xml = text . trim ( ) ; if ( xml . startsWith ( "<?xml" ) ) { int end = xml . indexOf ( "?>" ) ; String sub = xml . substring ( 0 , end ) ; StringTokenizer tokens = new StringTokenizer ( sub , " =\"\'" ) ; while ( tokens . hasMoreTokens ( ) ) { String token = tokens . nextToken ( ) ; if ( "encoding" . equals ( token ) ) { if ( tokens . hasMoreTokens ( ) ) { result = tokens . nextToken ( ) ; } break ; } } } return result ; }
Gets the encoding pattern from given XML file .
12,955
public static Element getRootElementFromString ( String payload ) throws AlipayApiException { if ( payload == null || payload . trim ( ) . length ( ) < 1 ) { throw new AlipayApiException ( "XML_PAYLOAD_EMPTY" ) ; } byte [ ] bytes = null ; try { payload = StringUtils . stripNonValidXMLCharacters ( payload ) ; String encodeString = getEncoding ( payload ) ; bytes = payload . getBytes ( encodeString ) ; } catch ( UnsupportedEncodingException e ) { throw new AlipayApiException ( "XML_ENCODE_ERROR" , e ) ; } InputStream in = new ByteArrayInputStream ( bytes ) ; return getDocument ( in ) . getDocumentElement ( ) ; }
Gets the root element from the given XML payload .
12,956
public static Element getElement ( Element parent , String tagName ) { List < Element > children = getElements ( parent , tagName ) ; if ( children . isEmpty ( ) ) { return null ; } else { return children . get ( 0 ) ; } }
Gets the immediately descendant element from the parent element .
12,957
public static Element getChildElement ( Element parent , String tagName ) { List < Element > children = getChildElements ( parent , tagName ) ; if ( children . isEmpty ( ) ) { return null ; } else { return children . get ( 0 ) ; } }
Gets the immediately child element from the parent element .
12,958
public static String getElementValue ( Element parent , String tagName ) { Element element = getChildElement ( parent , tagName ) ; if ( element != null ) { NodeList nodes = element . getChildNodes ( ) ; if ( nodes != null && nodes . getLength ( ) > 0 ) { for ( int i = 0 ; i < nodes . getLength ( ) ; i ++ ) { Node node = nodes . item ( i ) ; if ( node instanceof Text ) { return ( ( Text ) node ) . getData ( ) ; } } } } return null ; }
Gets the value of the child element by tag name under the given parent element . If there is more than one child element return the value of the first one .
12,959
public static Element appendElement ( Element parent , String tagName ) { Element child = parent . getOwnerDocument ( ) . createElement ( tagName ) ; parent . appendChild ( child ) ; return child ; }
Appends the child element to the parent element .
12,960
public static Element appendElement ( Element parent , String tagName , String value ) { Element child = appendElement ( parent , tagName ) ; child . appendChild ( child . getOwnerDocument ( ) . createTextNode ( value ) ) ; return child ; }
Appends the child element as well as value to the parent element .
12,961
public static void appendElement ( Element parent , Element child ) { Node tmp = parent . getOwnerDocument ( ) . importNode ( child , true ) ; parent . appendChild ( tmp ) ; }
Appends another element as a child element .
12,962
public static Element appendCDATAElement ( Element parent , String tagName , String value ) { Element child = appendElement ( parent , tagName ) ; if ( value == null ) { value = "" ; } Node cdata = child . getOwnerDocument ( ) . createCDATASection ( value ) ; child . appendChild ( cdata ) ; return child ; }
Appends the CDATA element to the parent element .
12,963
public static String xmlToString ( File file ) throws AlipayApiException { Element root = getRootElementFromFile ( file ) ; return nodeToString ( root ) ; }
Converts the an XML file to XML payload .
12,964
public static String xmlToString ( InputStream in ) throws AlipayApiException { Element root = getRootElementFromStream ( in ) ; return nodeToString ( root ) ; }
Converts the an XML file input stream to XML payload .
12,965
public static void setNamespace ( Element element , String namespace , String schemaLocation ) { element . setAttributeNS ( XMLConstants . XMLNS_ATTRIBUTE_NS_URI , XMLConstants . XMLNS_ATTRIBUTE , namespace ) ; element . setAttributeNS ( XMLConstants . XMLNS_ATTRIBUTE_NS_URI , XMLNS_XSI , XMLConstants . W3C_XML_SCHEMA_INSTANCE_NS_URI ) ; element . setAttributeNS ( XMLConstants . W3C_XML_SCHEMA_INSTANCE_NS_URI , XSI_SCHEMA_LOCATION , schemaLocation ) ; }
Sets the namespace to specific element .
12,966
public static String encodeXml ( String payload ) throws AlipayApiException { Element root = createRootElement ( XMLConstants . XML_NS_PREFIX ) ; root . appendChild ( root . getOwnerDocument ( ) . createTextNode ( payload ) ) ; return childNodeToString ( root . getFirstChild ( ) ) ; }
Encode the XML payload to legality character .
12,967
public OvhTask serviceName_reinstall_POST ( String serviceName , Boolean doNotSendPassword , String language , Long [ ] softwareId , String [ ] sshKey , Long templateId ) throws IOException { String qPath = "/vps/{serviceName}/reinstall" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "doNotSendPassword" , doNotSendPassword ) ; addBody ( o , "language" , language ) ; addBody ( o , "softwareId" , softwareId ) ; addBody ( o , "sshKey" , sshKey ) ; addBody ( o , "templateId" , templateId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Reinstall the virtual server
12,968
public ArrayList < Date > serviceName_automatedBackup_restorePoints_GET ( String serviceName , OvhRestoreStateEnum state ) throws IOException { String qPath = "/vps/{serviceName}/automatedBackup/restorePoints" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "state" , state ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; }
Get available Restore Points
12,969
public OvhVnc serviceName_openConsoleAccess_POST ( String serviceName , OvhVncProtocolEnum protocol ) throws IOException { String qPath = "/vps/{serviceName}/openConsoleAccess" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "protocol" , protocol ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhVnc . class ) ; }
Return the necessary informations to open a VNC connection to your VPS
12,970
public OvhUnitAndValue < Double > serviceName_use_GET ( String serviceName , OvhVpsStatisticTypeEnum type ) throws IOException { String qPath = "/vps/{serviceName}/use" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; }
Return many statistics about the virtual machine at that time
12,971
public ArrayList < Long > serviceName_tasks_GET ( String serviceName , OvhTaskStateEnum state , OvhTaskTypeEnum type ) throws IOException { String qPath = "/vps/{serviceName}/tasks" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "state" , state ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; }
Tasks associated to this virtual server
12,972
public ArrayList < Long > serviceName_distribution_software_GET ( String serviceName ) throws IOException { String qPath = "/vps/{serviceName}/distribution/software" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; }
List available softwares for this template Id
12,973
public ArrayList < Long > serviceName_veeam_restorePoints_GET ( String serviceName , Date creationTime ) throws IOException { String qPath = "/vps/{serviceName}/veeam/restorePoints" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "creationTime" , creationTime ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; }
Veeam restore points for the VPS
12,974
public OvhUnitAndValue < Double > serviceName_disks_id_use_GET ( String serviceName , Long id , OvhStatisticTypeEnum type ) throws IOException { String qPath = "/vps/{serviceName}/disks/{id}/use" ; StringBuilder sb = path ( qPath , serviceName , id ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; }
Return many statistics about the disk at that time
12,975
public OvhUnitAndValues < OvhVpsTimestampValue > serviceName_disks_id_monitoring_GET ( String serviceName , Long id , OvhVpsMonitoringPeriodEnum period , OvhStatisticTypeEnum type ) throws IOException { String qPath = "/vps/{serviceName}/disks/{id}/monitoring" ; StringBuilder sb = path ( qPath , serviceName , id ) ; query ( sb , "period" , period ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t8 ) ; }
Return many statistics about the disk for a given period
12,976
public ArrayList < OvhGeolocationEnum > serviceName_ipCountryAvailable_GET ( String serviceName ) throws IOException { String qPath = "/vps/{serviceName}/ipCountryAvailable" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t9 ) ; }
Get the countries you can select for your IPs geolocation
12,977
public ArrayList < OvhModel > serviceName_models_GET ( String serviceName ) throws IOException { String qPath = "/vps/{serviceName}/models" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t6 ) ; }
Return all models for the range of the virtual server
12,978
public OvhOfficeTask serviceName_user_activationEmail_changePassword_POST ( String serviceName , String activationEmail , String notifyEmail , String password , Boolean shouldSendMail ) throws IOException { String qPath = "/license/office/{serviceName}/user/{activationEmail}/changePassword" ; StringBuilder sb = path ( qPath , serviceName , activationEmail ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "notifyEmail" , notifyEmail ) ; addBody ( o , "password" , password ) ; addBody ( o , "shouldSendMail" , shouldSendMail ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOfficeTask . class ) ; }
Change or reset user s password
12,979
public OvhOfficeTask serviceName_user_activationEmail_DELETE ( String serviceName , String activationEmail ) throws IOException { String qPath = "/license/office/{serviceName}/user/{activationEmail}" ; StringBuilder sb = path ( qPath , serviceName , activationEmail ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhOfficeTask . class ) ; }
Delete existing office user
12,980
public ArrayList < String > serviceName_user_GET ( String serviceName , String activationEmail , String firstName , String lastName , OvhLicenceEnum [ ] licences ) throws IOException { String qPath = "/license/office/{serviceName}/user" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "activationEmail" , activationEmail ) ; query ( sb , "firstName" , firstName ) ; query ( sb , "lastName" , lastName ) ; query ( sb , "licences" , licences ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Accounts associated to this office tenant
12,981
public OvhOfficeTask serviceName_user_POST ( String serviceName , String domain , String firstName , String lastName , OvhLicenceEnum licence , String login ) throws IOException { String qPath = "/license/office/{serviceName}/user" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "domain" , domain ) ; addBody ( o , "firstName" , firstName ) ; addBody ( o , "lastName" , lastName ) ; addBody ( o , "licence" , licence ) ; addBody ( o , "login" , login ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOfficeTask . class ) ; }
Create new office user
12,982
public ArrayList < OvhStatistics > serviceName_usageStatistics_GET ( String serviceName , Date from , Date to ) throws IOException { String qPath = "/license/office/{serviceName}/usageStatistics" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "from" , from ) ; query ( sb , "to" , to ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; }
Shows the subscriptions usage statistics for the given time period
12,983
public ArrayList < OvhStatsDataType > serviceName_statistics_GET ( String serviceName , OvhStatsPeriodEnum period , OvhStatsTypeEnum type ) throws IOException { String qPath = "/cdn/webstorage/{serviceName}/statistics" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "period" , period ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Return stats about bandwidth consumption
12,984
public OvhDomainMlLimits mailingListLimits_GET ( Boolean moderatorMessage ) throws IOException { String qPath = "/email/domain/mailingListLimits" ; StringBuilder sb = path ( qPath ) ; query ( sb , "moderatorMessage" , moderatorMessage ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhDomainMlLimits . class ) ; }
Get limits of mailing list
12,985
public OvhTaskFilter delegatedAccount_email_filter_POST ( String email , OvhDomainFilterActionEnum action , String actionParam , Boolean active , String header , String name , OvhDomainFilterOperandEnum operand , Long priority , String value ) throws IOException { String qPath = "/email/domain/delegatedAccount/{email}/filter" ; StringBuilder sb = path ( qPath , email ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "action" , action ) ; addBody ( o , "actionParam" , actionParam ) ; addBody ( o , "active" , active ) ; addBody ( o , "header" , header ) ; addBody ( o , "name" , name ) ; addBody ( o , "operand" , operand ) ; addBody ( o , "priority" , priority ) ; addBody ( o , "value" , value ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskFilter . class ) ; }
Create new filter for account
12,986
public ArrayList < String > domain_account_accountName_migrate_destinationServiceName_destinationEmailAddress_GET ( String domain , String accountName , String destinationServiceName , Long quota ) throws IOException { String qPath = "/email/domain/{domain}/account/{accountName}/migrate/{destinationServiceName}/destinationEmailAddress" ; StringBuilder sb = path ( qPath , domain , accountName , destinationServiceName ) ; query ( sb , "quota" , quota ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
List of email address available for migration
12,987
public OvhMigrationCheckStruct domain_account_accountName_migrate_destinationServiceName_destinationEmailAddress_destinationEmailAddress_checkMigrate_GET ( String domain , String accountName , String destinationServiceName , String destinationEmailAddress ) throws IOException { String qPath = "/email/domain/{domain}/account/{accountName}/migrate/{destinationServiceName}/destinationEmailAddress/{destinationEmailAddress}/checkMigrate" ; StringBuilder sb = path ( qPath , domain , accountName , destinationServiceName , destinationEmailAddress ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhMigrationCheckStruct . class ) ; }
Check if it s possible to migrate
12,988
public OvhTaskFilter domain_account_accountName_filter_name_rule_POST ( String domain , String accountName , String name , String header , OvhDomainFilterOperandEnum operand , String value ) throws IOException { String qPath = "/email/domain/{domain}/account/{accountName}/filter/{name}/rule" ; StringBuilder sb = path ( qPath , domain , accountName , name ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "header" , header ) ; addBody ( o , "operand" , operand ) ; addBody ( o , "value" , value ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskFilter . class ) ; }
Create new rule for filter
12,989
public OvhTaskPop domain_account_accountName_DELETE ( String domain , String accountName ) throws IOException { String qPath = "/email/domain/{domain}/account/{accountName}" ; StringBuilder sb = path ( qPath , domain , accountName ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTaskPop . class ) ; }
Delete an existing mailbox in server
12,990
public OvhTaskPop domain_account_POST ( String domain , String accountName , String description , String password , Long size ) throws IOException { String qPath = "/email/domain/{domain}/account" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "accountName" , accountName ) ; addBody ( o , "description" , description ) ; addBody ( o , "password" , password ) ; addBody ( o , "size" , size ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskPop . class ) ; }
Create new mailbox in server
12,991
public OvhTaskSpecialAccount domain_responder_POST ( String domain , String account , String content , Boolean copy , String copyTo , Date from , Date to ) throws IOException { String qPath = "/email/domain/{domain}/responder" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "account" , account ) ; addBody ( o , "content" , content ) ; addBody ( o , "copy" , copy ) ; addBody ( o , "copyTo" , copyTo ) ; addBody ( o , "from" , from ) ; addBody ( o , "to" , to ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskSpecialAccount . class ) ; }
Create new responder in server
12,992
public OvhDomainMXFilterEnum domain_dnsMXFilter_GET ( String domain , String subDomain ) throws IOException { String qPath = "/email/domain/{domain}/dnsMXFilter" ; StringBuilder sb = path ( qPath , domain ) ; query ( sb , "subDomain" , subDomain ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhDomainMXFilterEnum . class ) ; }
Domain MX filter
12,993
public OvhTaskSpecialAccount domain_redirection_id_DELETE ( String domain , String id ) throws IOException { String qPath = "/email/domain/{domain}/redirection/{id}" ; StringBuilder sb = path ( qPath , domain , id ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTaskSpecialAccount . class ) ; }
Delete an existing redirection in server
12,994
public OvhTaskSpecialAccount domain_redirection_POST ( String domain , String from , Boolean localCopy , String to ) throws IOException { String qPath = "/email/domain/{domain}/redirection" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "from" , from ) ; addBody ( o , "localCopy" , localCopy ) ; addBody ( o , "to" , to ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskSpecialAccount . class ) ; }
Create new redirection in server
12,995
public OvhDomainSummary domain_summary_GET ( String domain ) throws IOException { String qPath = "/email/domain/{domain}/summary" ; StringBuilder sb = path ( qPath , domain ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhDomainSummary . class ) ; }
Summary for this domain
12,996
public void domain_migrateDelegationV3toV6_POST ( String domain ) throws IOException { String qPath = "/email/domain/{domain}/migrateDelegationV3toV6" ; StringBuilder sb = path ( qPath , domain ) ; exec ( qPath , "POST" , sb . toString ( ) , null ) ; }
Create delegation of domain with same nic than V3
12,997
public ArrayList < Long > domain_task_mailinglist_GET ( String domain , String account ) throws IOException { String qPath = "/email/domain/{domain}/task/mailinglist" ; StringBuilder sb = path ( qPath , domain ) ; query ( sb , "account" , account ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; }
Get Mailing List tasks
12,998
public String domain_confirmTermination_POST ( String domain , String commentary , OvhTerminationReasonEnum reason , String token ) throws IOException { String qPath = "/email/domain/{domain}/confirmTermination" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "commentary" , commentary ) ; addBody ( o , "reason" , reason ) ; addBody ( o , "token" , token ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , String . class ) ; }
Confirm termination of your email service
12,999
public void domain_changeDnsMXFilter_POST ( String domain , String customTarget , OvhDomainMXFilterEnum mxFilter , String subDomain ) throws IOException { String qPath = "/email/domain/{domain}/changeDnsMXFilter" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "customTarget" , customTarget ) ; addBody ( o , "mxFilter" , mxFilter ) ; addBody ( o , "subDomain" , subDomain ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; }
Change MX filter so change MX DNS records