Skip to content

Files

Latest commit

fb20719 · Jul 26, 2025

History

History
27176 lines (17799 loc) · 727 KB

ExoscaleApi.md

File metadata and controls

27176 lines (17799 loc) · 727 KB

ExoscaleApi

All URIs are relative to https://api-ch-gva-2.exoscale.com/v2

Method HTTP request Description
addExternalSourceToSecurityGroup PUT /security-group/{id}:add-source Add an external source as a member of a Security Group
addInstanceProtection PUT /instance/{id}:add-protection Set instance destruction protection
addRuleToSecurityGroup POST /security-group/{id}/rules Create a Security Group rule
addServiceToLoadBalancer POST /load-balancer/{id}/service Add a Load Balancer Service
attachBlockStorageVolumeToInstance PUT /block-storage/{id}:attach Attach block storage volume to an instance
attachDbaasServiceToEndpoint PUT /dbaas-external-endpoint/{source-service-name}/attach
attachInstanceToElasticIp PUT /elastic-ip/{id}:attach Attach a Compute instance to an Elastic IP
attachInstanceToPrivateNetwork PUT /private-network/{id}:attach Attach a Compute instance to a Private Network
attachInstanceToSecurityGroup PUT /security-group/{id}:attach Attach a Compute instance to a Security Group
copyTemplate POST /template/{id} Copy a Template from a zone to another
createAntiAffinityGroup POST /anti-affinity-group Create an Anti-affinity Group
createApiKey POST /api-key Create a new API key
createBlockStorageSnapshot POST /block-storage/{id}:create-snapshot Create a block storage snapshot
createBlockStorageVolume POST /block-storage Create a block storage volume
createDbaasExternalEndpointDatadog POST /dbaas-external-endpoint-datadog/{name}
createDbaasExternalEndpointElasticsearch POST /dbaas-external-endpoint-elasticsearch/{name}
createDbaasExternalEndpointOpensearch POST /dbaas-external-endpoint-opensearch/{name}
createDbaasExternalEndpointPrometheus POST /dbaas-external-endpoint-prometheus/{name}
createDbaasExternalEndpointRsyslog POST /dbaas-external-endpoint-rsyslog/{name}
createDbaasIntegration POST /dbaas-integration
createDbaasKafkaSchemaRegistryAclConfig POST /dbaas-kafka/{name}/schema-registry/acl-config Add a Kafka Schema Registry ACL entry
createDbaasKafkaTopicAclConfig POST /dbaas-kafka/{name}/topic/acl-config Add a Kafka topic ACL entry
createDbaasKafkaUser POST /dbaas-kafka/{service-name}/user Create a DBaaS Kafka user
createDbaasMysqlDatabase POST /dbaas-mysql/{service-name}/database Create a DBaaS MySQL database
createDbaasMysqlUser POST /dbaas-mysql/{service-name}/user Create a DBaaS MySQL user
createDbaasOpensearchUser POST /dbaas-opensearch/{service-name}/user Create a DBaaS OpenSearch user
createDbaasPgConnectionPool POST /dbaas-postgres/{service-name}/connection-pool Create a DBaaS PostgreSQL connection pool
createDbaasPgDatabase POST /dbaas-postgres/{service-name}/database Create a DBaaS Postgres database
createDbaasPgUpgradeCheck POST /dbaas-postgres/{service}/upgrade-check
createDbaasPostgresUser POST /dbaas-postgres/{service-name}/user Create a DBaaS Postgres user
createDbaasServiceGrafana POST /dbaas-grafana/{name}
createDbaasServiceKafka POST /dbaas-kafka/{name} Create a DBaaS Kafka service
createDbaasServiceMysql POST /dbaas-mysql/{name} Create a DBaaS MySQL service
createDbaasServiceOpensearch POST /dbaas-opensearch/{name} Create a DBaaS OpenSearch service
createDbaasServicePg POST /dbaas-postgres/{name} Create a DBaaS PostgreSQL service
createDbaasServiceValkey POST /dbaas-valkey/{name} Create a DBaaS Valkey service
createDbaasTaskMigrationCheck POST /dbaas-task-migration-check/{service}
createDbaasValkeyUser POST /dbaas-valkey/{service-name}/user Create a DBaaS Valkey user
createDnsDomain POST /dns-domain Create DNS domain
createDnsDomainRecord POST /dns-domain/{domain-id}/record Create DNS domain record
createElasticIp POST /elastic-ip Create an Elastic IP
createIamRole POST /iam-role Create IAM Role
createInstance POST /instance Create a Compute instance
createInstancePool POST /instance-pool Create an Instance Pool
createLoadBalancer POST /load-balancer Create a Load Balancer
createPrivateNetwork POST /private-network Create a Private Network
createSecurityGroup POST /security-group Create a Security Group
createSksCluster POST /sks-cluster Create an SKS cluster
createSksNodepool POST /sks-cluster/{id}/nodepool Create a new SKS Nodepool
createSnapshot POST /instance/{id}:create-snapshot Create a Snapshot of a Compute instance
createUser POST /user Create a User
deleteAntiAffinityGroup DELETE /anti-affinity-group/{id} Delete an Anti-affinity Group
deleteApiKey DELETE /api-key/{id} Delete an API key
deleteBlockStorageSnapshot DELETE /block-storage-snapshot/{id} Delete a block storage snapshot, data will be unrecoverable
deleteBlockStorageVolume DELETE /block-storage/{id} Delete a block storage volume, data will be unrecoverable
deleteDbaasExternalEndpointDatadog DELETE /dbaas-external-endpoint-datadog/{endpoint-id}
deleteDbaasExternalEndpointElasticsearch DELETE /dbaas-external-endpoint-elasticsearch/{endpoint-id}
deleteDbaasExternalEndpointOpensearch DELETE /dbaas-external-endpoint-opensearch/{endpoint-id}
deleteDbaasExternalEndpointPrometheus DELETE /dbaas-external-endpoint-prometheus/{endpoint-id}
deleteDbaasExternalEndpointRsyslog DELETE /dbaas-external-endpoint-rsyslog/{endpoint-id}
deleteDbaasIntegration DELETE /dbaas-integration/{id}
deleteDbaasKafkaSchemaRegistryAclConfig DELETE /dbaas-kafka/{name}/schema-registry/acl-config/{acl-id} Delete a Kafka ACL entry
deleteDbaasKafkaTopicAclConfig DELETE /dbaas-kafka/{name}/topic/acl-config/{acl-id} Delete a Kafka ACL entry
deleteDbaasKafkaUser DELETE /dbaas-kafka/{service-name}/user/{username} Delete a DBaaS kafka user
deleteDbaasMysqlDatabase DELETE /dbaas-mysql/{service-name}/database/{database-name} Delete a DBaaS MySQL database
deleteDbaasMysqlUser DELETE /dbaas-mysql/{service-name}/user/{username} Delete a DBaaS MySQL user
deleteDbaasOpensearchUser DELETE /dbaas-opensearch/{service-name}/user/{username} Delete a DBaaS OpenSearch user
deleteDbaasPgConnectionPool DELETE /dbaas-postgres/{service-name}/connection-pool/{connection-pool-name} Delete a DBaaS PostgreSQL connection pool
deleteDbaasPgDatabase DELETE /dbaas-postgres/{service-name}/database/{database-name} Delete a DBaaS Postgres database
deleteDbaasPostgresUser DELETE /dbaas-postgres/{service-name}/user/{username} Delete a DBaaS Postgres user
deleteDbaasService DELETE /dbaas-service/{name} Delete a DBaaS service
deleteDbaasServiceGrafana DELETE /dbaas-grafana/{name} Delete a Grafana service
deleteDbaasServiceKafka DELETE /dbaas-kafka/{name} Delete a Kafka service
deleteDbaasServiceMysql DELETE /dbaas-mysql/{name} Delete a MySQL service
deleteDbaasServiceOpensearch DELETE /dbaas-opensearch/{name} Delete a OpenSearch service
deleteDbaasServicePg DELETE /dbaas-postgres/{name} Delete a Postgres service
deleteDbaasServiceValkey DELETE /dbaas-valkey/{name} Delete a Valkey service
deleteDbaasValkeyUser DELETE /dbaas-valkey/{service-name}/user/{username} Delete a DBaaS Valkey user
deleteDnsDomain DELETE /dns-domain/{id} Delete DNS Domain
deleteDnsDomainRecord DELETE /dns-domain/{domain-id}/record/{record-id} Delete DNS domain record
deleteElasticIp DELETE /elastic-ip/{id} Delete an Elastic IP
deleteIamRole DELETE /iam-role/{id} Delete IAM Role
deleteInstance DELETE /instance/{id} Delete a Compute instance
deleteInstancePool DELETE /instance-pool/{id} Delete an Instance Pool
deleteLoadBalancer DELETE /load-balancer/{id} Delete a Load Balancer
deleteLoadBalancerService DELETE /load-balancer/{id}/service/{service-id} Delete a Load Balancer Service
deletePrivateNetwork DELETE /private-network/{id} Delete a Private Network
deleteReverseDnsElasticIp DELETE /reverse-dns/elastic-ip/{id} Delete the PTR DNS record for an elastic IP
deleteReverseDnsInstance DELETE /reverse-dns/instance/{id} Delete the PTR DNS record for an instance
deleteRuleFromSecurityGroup DELETE /security-group/{id}/rules/{rule-id} Delete a Security Group rule
deleteSecurityGroup DELETE /security-group/{id} Delete a Security Group
deleteSksCluster DELETE /sks-cluster/{id} Delete an SKS cluster
deleteSksNodepool DELETE /sks-cluster/{id}/nodepool/{sks-nodepool-id} Delete an SKS Nodepool
deleteSnapshot DELETE /snapshot/{id} Delete a Snapshot
deleteSshKey DELETE /ssh-key/{name} Delete a SSH key
deleteTemplate DELETE /template/{id} Delete a Template
deleteUser DELETE /user/{id} Delete User
detachBlockStorageVolume PUT /block-storage/{id}:detach Detach block storage volume
detachDbaasServiceFromEndpoint PUT /dbaas-external-endpoint/{source-service-name}/detach
detachInstanceFromElasticIp PUT /elastic-ip/{id}:detach Detach a Compute instance from an Elastic IP
detachInstanceFromPrivateNetwork PUT /private-network/{id}:detach Detach a Compute instance from a Private Network
detachInstanceFromSecurityGroup PUT /security-group/{id}:detach Detach a Compute instance from a Security Group
enableDbaasMysqlWrites PUT /dbaas-mysql/{name}/enable/writes Temporarily enable writes for MySQL services in read-only mode due to filled up storage
enableTpm POST /instance/{id}:enable-tpm Enable tpm for the instance.
evictInstancePoolMembers PUT /instance-pool/{id}:evict Evict Instance Pool members
evictSksNodepoolMembers PUT /sks-cluster/{id}/nodepool/{sks-nodepool-id}:evict Evict Nodepool members
exportSnapshot POST /snapshot/{id}:export Export a Snapshot
generateSksClusterKubeconfig POST /sks-cluster-kubeconfig/{id} Generate a new Kubeconfig file for a SKS cluster
getAntiAffinityGroup GET /anti-affinity-group/{id} Retrieve Anti-affinity Group details
getApiKey GET /api-key/{id} Get API key
getBlockStorageSnapshot GET /block-storage-snapshot/{id} Retrieve block storage snapshot details
getBlockStorageVolume GET /block-storage/{id} Retrieve block storage volume details
getConsoleProxyUrl GET /console/{id} Retrieve signed url valid for 60 seconds to connect via console-proxy websocket to VM VNC console.
getDbaasCaCertificate GET /dbaas-ca-certificate Get DBaaS CA Certificate
getDbaasExternalEndpointDatadog GET /dbaas-external-endpoint-datadog/{endpoint-id}
getDbaasExternalEndpointElasticsearch GET /dbaas-external-endpoint-elasticsearch/{endpoint-id}
getDbaasExternalEndpointOpensearch GET /dbaas-external-endpoint-opensearch/{endpoint-id}
getDbaasExternalEndpointPrometheus GET /dbaas-external-endpoint-prometheus/{endpoint-id}
getDbaasExternalEndpointRsyslog GET /dbaas-external-endpoint-rsyslog/{endpoint-id}
getDbaasExternalIntegration GET /dbaas-external-integration/{integration-id}
getDbaasExternalIntegrationSettingsDatadog GET /dbaas-external-integration-settings-datadog/{integration-id}
getDbaasIntegration GET /dbaas-integration/{id}
getDbaasKafkaAclConfig GET /dbaas-kafka/{name}/acl-config Get DBaaS kafka ACL configuration
getDbaasMigrationStatus GET /dbaas-migration-status/{name} Get a DBaaS migration status
getDbaasOpensearchAclConfig GET /dbaas-opensearch/{name}/acl-config Get DBaaS OpenSearch ACL configuration
getDbaasServiceGrafana GET /dbaas-grafana/{name} Get a DBaaS Grafana service
getDbaasServiceKafka GET /dbaas-kafka/{name} Get a DBaaS Kafka service
getDbaasServiceLogs POST /dbaas-service-logs/{service-name} Get logs of DBaaS service
getDbaasServiceMetrics POST /dbaas-service-metrics/{service-name} Get metrics of DBaaS service
getDbaasServiceMysql GET /dbaas-mysql/{name} Get a DBaaS MySQL service
getDbaasServiceOpensearch GET /dbaas-opensearch/{name} Get a DBaaS OpenSearch service
getDbaasServicePg GET /dbaas-postgres/{name} Get a DBaaS PostgreSQL service
getDbaasServiceType GET /dbaas-service-type/{service-type-name} Get a DBaaS service type
getDbaasServiceValkey GET /dbaas-valkey/{name}
getDbaasSettingsGrafana GET /dbaas-settings-grafana Get DBaaS Grafana settings
getDbaasSettingsKafka GET /dbaas-settings-kafka Get DBaaS Kafka settings
getDbaasSettingsMysql GET /dbaas-settings-mysql Get DBaaS MySQL settings
getDbaasSettingsOpensearch GET /dbaas-settings-opensearch Get DBaaS OpenSearch settings
getDbaasSettingsPg GET /dbaas-settings-pg Get DBaaS PostgreSQL settings
getDbaasSettingsValkey GET /dbaas-settings-valkey Get DBaaS Valkey settings
getDbaasTask GET /dbaas-task/{service}/{id} Get a DBaaS task
getDeployTarget GET /deploy-target/{id} Retrieve Deploy Target details
getDnsDomain GET /dns-domain/{id} Retrieve DNS domain details
getDnsDomainRecord GET /dns-domain/{domain-id}/record/{record-id} Retrieve DNS domain record details
getDnsDomainZoneFile GET /dns-domain/{id}/zone Retrieve DNS domain zone file
getElasticIp GET /elastic-ip/{id} Retrieve Elastic IP details
getEnvImpact GET /env-impact [BETA] Retrieve organization environmental impact reports
getIamOrganizationPolicy GET /iam-organization-policy Retrieve IAM Organization Policy
getIamRole GET /iam-role/{id} Retrieve IAM Role
getInstance GET /instance/{id} Retrieve Compute instance details
getInstancePool GET /instance-pool/{id} Retrieve Instance Pool details
getInstanceType GET /instance-type/{id} Retrieve Instance Type details
getLoadBalancer GET /load-balancer/{id} Retrieve Load Balancer details
getLoadBalancerService GET /load-balancer/{id}/service/{service-id} Retrieve Load Balancer Service details
getOperation GET /operation/{id} Retrieve Operation details
getOrganization GET /organization Retrieve an organization
getPrivateNetwork GET /private-network/{id} Retrieve Private Network details
getQuota GET /quota/{entity} Retrieve Resource Quota
getReverseDnsElasticIp GET /reverse-dns/elastic-ip/{id} Query the PTR DNS records for an elastic IP
getReverseDnsInstance GET /reverse-dns/instance/{id} Query the PTR DNS records for an instance
getSecurityGroup GET /security-group/{id} Retrieve Security Group details
getSksCluster GET /sks-cluster/{id} Retrieve SKS cluster details
getSksClusterAuthorityCert GET /sks-cluster/{id}/authority/{authority}/cert Get the certificate for a SKS cluster authority
getSksClusterInspection GET /sks-cluster/{id}/inspection Get the latest inspection result
getSksNodepool GET /sks-cluster/{id}/nodepool/{sks-nodepool-id} Retrieve SKS Nodepool details
getSnapshot GET /snapshot/{id} Retrieve Snapshot details
getSosPresignedUrl GET /sos/{bucket}/presigned-url Retrieve Presigned Download URL for SOS object
getSshKey GET /ssh-key/{name} Retrieve SSH key details
getTemplate GET /template/{id} Retrieve Template details
getUsageReport GET /usage-report Retrieve organization usage reports
listAntiAffinityGroups GET /anti-affinity-group List Anti-affinity Groups
listApiKeys GET /api-key List API keys
listBlockStorageSnapshots GET /block-storage-snapshot List block storage snapshots
listBlockStorageVolumes GET /block-storage List block storage volumes
listDbaasExternalEndpointTypes GET /dbaas-external-endpoint-types
listDbaasExternalEndpoints GET /dbaas-external-endpoints
listDbaasExternalIntegrations GET /dbaas-external-integrations/{service-name}
listDbaasIntegrationSettings GET /dbaas-integration-settings/{integration-type}/{source-type}/{dest-type}
listDbaasIntegrationTypes GET /dbaas-integration-types
listDbaasServiceTypes GET /dbaas-service-type DBaaS Service Types
listDbaasServices GET /dbaas-service List DBaaS services
listDeployTargets GET /deploy-target List Deploy Targets
listDnsDomainRecords GET /dns-domain/{domain-id}/record List DNS domain records
listDnsDomains GET /dns-domain List DNS domains
listElasticIps GET /elastic-ip List Elastic IPs
listEvents GET /event List Events
listIamRoles GET /iam-role List IAM Roles
listInstancePools GET /instance-pool List Instance Pools
listInstanceTypes GET /instance-type List Compute instance Types
listInstances GET /instance List Compute instances
listLoadBalancers GET /load-balancer List Load Balancers
listPrivateNetworks GET /private-network List Private Networks
listQuotas GET /quota List Organization Quotas
listSecurityGroups GET /security-group List Security Groups.
listSksClusterDeprecatedResources GET /sks-cluster-deprecated-resources/{id} Resources that are scheduled to be removed in future kubernetes releases
listSksClusterVersions GET /sks-cluster-version List available versions for SKS clusters
listSksClusters GET /sks-cluster List SKS clusters
listSnapshots GET /snapshot List Snapshots
listSosBucketsUsage GET /sos-buckets-usage List SOS Buckets Usage
listSshKeys GET /ssh-key List SSH keys
listTemplates GET /template List Templates
listUsers GET /user List Users
listZones GET /zone List Zones
promoteSnapshotToTemplate POST /snapshot/{id}:promote Promote a Snapshot to a Template
rebootInstance PUT /instance/{id}:reboot Reboot a Compute instance
registerSshKey POST /ssh-key Import SSH key
registerTemplate POST /template Register a Template
removeExternalSourceFromSecurityGroup PUT /security-group/{id}:remove-source Remove an external source from a Security Group
removeInstanceProtection PUT /instance/{id}:remove-protection Remove instance destruction protection
resetDbaasGrafanaUserPassword PUT /dbaas-grafana/{service-name}/user/{username}/password/reset Reset the credentials of a DBaaS Grafana user
resetDbaasKafkaUserPassword PUT /dbaas-kafka/{service-name}/user/{username}/password/reset Reset the credentials of a DBaaS Kafka user
resetDbaasMysqlUserPassword PUT /dbaas-mysql/{service-name}/user/{username}/password/reset Reset the credentials of a DBaaS mysql user
resetDbaasOpensearchUserPassword PUT /dbaas-opensearch/{service-name}/user/{username}/password/reset Reset the credentials of a DBaaS OpenSearch user
resetDbaasPostgresUserPassword PUT /dbaas-postgres/{service-name}/user/{username}/password/reset Reset the credentials of a DBaaS Postgres user
resetDbaasValkeyUserPassword PUT /dbaas-valkey/{service-name}/user/{username}/password/reset Reset the credentials of a DBaaS Valkey user
resetElasticIpField DELETE /elastic-ip/{id}/{field} Reset an Elastic IP field to its default value
resetIamOrganizationPolicy POST /iam-organization-policy:reset Reset IAM Organization Policy
resetInstance PUT /instance/{id}:reset Reset a Compute instance to a base/target template
resetInstanceField DELETE /instance/{id}/{field} Reset Instance field
resetInstancePassword PUT /instance/{id}:reset-password Reset a compute instance password
resetInstancePoolField DELETE /instance-pool/{id}/{field} Reset an Instance Pool field to its default value
resetLoadBalancerField DELETE /load-balancer/{id}/{field} Reset a Load Balancer field to its default value
resetLoadBalancerServiceField DELETE /load-balancer/{id}/service/{service-id}/{field} Reset a Load Balancer Service field to its default value
resetPrivateNetworkField DELETE /private-network/{id}/{field} Reset Private Network field
resetSksClusterField DELETE /sks-cluster/{id}/{field} Reset an SKS cluster field to its default value
resetSksNodepoolField DELETE /sks-cluster/{id}/nodepool/{sks-nodepool-id}/{field} Reset an SKS Nodepool field to its default value
resizeBlockStorageVolume PUT /block-storage/{id}:resize-volume Resize a block storage volume
resizeInstanceDisk PUT /instance/{id}:resize-disk Resize a Compute instance disk
revealDbaasGrafanaUserPassword GET /dbaas-grafana/{service-name}/user/{username}/password/reveal Reveal the secrets of a DBaaS Grafana user
revealDbaasKafkaConnectPassword GET /dbaas-kafka/{service-name}/connect/password/reveal Reveal the secrets for DBaaS Kafka Connect
revealDbaasKafkaUserPassword GET /dbaas-kafka/{service-name}/user/{username}/password/reveal Reveal the secrets of a DBaaS Kafka user
revealDbaasMysqlUserPassword GET /dbaas-mysql/{service-name}/user/{username}/password/reveal Reveal the secrets of a DBaaS MySQL user
revealDbaasOpensearchUserPassword GET /dbaas-opensearch/{service-name}/user/{username}/password/reveal Reveal the secrets of a DBaaS OpenSearch user
revealDbaasPostgresUserPassword GET /dbaas-postgres/{service-name}/user/{username}/password/reveal Reveal the secrets of a DBaaS Postgres user
revealDbaasValkeyUserPassword GET /dbaas-valkey/{service-name}/user/{username}/password/reveal Reveal the secrets of a DBaaS Valkey user
revealInstancePassword GET /instance/{id}:password Reveal the password used during instance creation or the latest password reset.
revertInstanceToSnapshot POST /instance/{instance-id}:revert-snapshot Revert a snapshot for an instance
rotateSksCcmCredentials PUT /sks-cluster/{id}/rotate-ccm-credentials Rotate Exoscale CCM credentials
rotateSksCsiCredentials PUT /sks-cluster/{id}/rotate-csi-credentials Rotate Exoscale CSI credentials
rotateSksOperatorsCa PUT /sks-cluster/{id}/rotate-operators-ca Rotate operators certificate authority
scaleInstance PUT /instance/{id}:scale Scale a Compute instance to a new Instance Type
scaleInstancePool PUT /instance-pool/{id}:scale Scale an Instance Pool
scaleSksNodepool PUT /sks-cluster/{id}/nodepool/{sks-nodepool-id}:scale Scale a SKS Nodepool
startDbaasGrafanaMaintenance PUT /dbaas-grafana/{name}/maintenance/start Initiate Grafana maintenance update
startDbaasKafkaMaintenance PUT /dbaas-kafka/{name}/maintenance/start Initiate Kafka maintenance update
startDbaasMysqlMaintenance PUT /dbaas-mysql/{name}/maintenance/start Initiate MySQL maintenance update
startDbaasOpensearchMaintenance PUT /dbaas-opensearch/{name}/maintenance/start Initiate OpenSearch maintenance update
startDbaasPgMaintenance PUT /dbaas-postgres/{name}/maintenance/start Initiate PostgreSQL maintenance update
startDbaasValkeyMaintenance PUT /dbaas-valkey/{name}/maintenance/start Initiate Valkey maintenance update
startInstance PUT /instance/{id}:start Start a Compute instance
stopDbaasMysqlMigration POST /dbaas-mysql/{name}/migration/stop Stop a DBaaS MySQL migration
stopDbaasPgMigration POST /dbaas-postgres/{name}/migration/stop Stop a DBaaS PostgreSQL migration
stopDbaasValkeyMigration POST /dbaas-valkey/{name}/migration/stop Stop a DBaaS Valkey migration
stopInstance PUT /instance/{id}:stop Stop a Compute instance
updateBlockStorageSnapshot PUT /block-storage-snapshot/{id} Update block storage volume snapshot
updateBlockStorageVolume PUT /block-storage/{id} Update block storage volume
updateDbaasExternalEndpointDatadog PUT /dbaas-external-endpoint-datadog/{endpoint-id}
updateDbaasExternalEndpointElasticsearch PUT /dbaas-external-endpoint-elasticsearch/{endpoint-id}
updateDbaasExternalEndpointOpensearch PUT /dbaas-external-endpoint-opensearch/{endpoint-id}
updateDbaasExternalEndpointPrometheus PUT /dbaas-external-endpoint-prometheus/{endpoint-id}
updateDbaasExternalEndpointRsyslog PUT /dbaas-external-endpoint-rsyslog/{endpoint-id}
updateDbaasExternalIntegrationSettingsDatadog POST /dbaas-external-integration-settings-datadog/{integration-id}
updateDbaasIntegration PUT /dbaas-integration/{id}
updateDbaasOpensearchAclConfig PUT /dbaas-opensearch/{name}/acl-config Create a DBaaS OpenSearch ACL configuration
updateDbaasPgConnectionPool PUT /dbaas-postgres/{service-name}/connection-pool/{connection-pool-name} Update a DBaaS PostgreSQL connection pool
updateDbaasPostgresAllowReplication PUT /dbaas-postgres/{service-name}/user/{username}/allow-replication Update access control for one service user
updateDbaasServiceGrafana PUT /dbaas-grafana/{name} Update a DBaaS Grafana service
updateDbaasServiceKafka PUT /dbaas-kafka/{name} Update a DBaaS Kafka service
updateDbaasServiceMysql PUT /dbaas-mysql/{name} Update a DBaaS MySQL service
updateDbaasServiceOpensearch PUT /dbaas-opensearch/{name} Update a DBaaS OpenSearch service
updateDbaasServicePg PUT /dbaas-postgres/{name} Update a DBaaS PostgreSQL service
updateDbaasServiceValkey PUT /dbaas-valkey/{name}
updateDnsDomainRecord PUT /dns-domain/{domain-id}/record/{record-id} Update DNS domain record
updateElasticIp PUT /elastic-ip/{id} Update an Elastic IP
updateIamOrganizationPolicy PUT /iam-organization-policy Update IAM Organization Policy
updateIamRole PUT /iam-role/{id} Update IAM Role
updateIamRolePolicy PUT /iam-role/{id}:policy Update IAM Role Policy
updateInstance PUT /instance/{id} Update a Compute instance
updateInstancePool PUT /instance-pool/{id} Update an Instance Pool
updateLoadBalancer PUT /load-balancer/{id} Update a Load Balancer
updateLoadBalancerService PUT /load-balancer/{id}/service/{service-id} Update a Load Balancer Service
updatePrivateNetwork PUT /private-network/{id} Update a Private Network
updatePrivateNetworkInstanceIp PUT /private-network/{id}:update-ip Update the IP address of an instance attached to a managed private network
updateReverseDnsElasticIp POST /reverse-dns/elastic-ip/{id} Update/Create the PTR DNS record for an elastic IP
updateReverseDnsInstance POST /reverse-dns/instance/{id} Update/Create the PTR DNS record for an instance
updateSksCluster PUT /sks-cluster/{id} Update an SKS cluster
updateSksNodepool PUT /sks-cluster/{id}/nodepool/{sks-nodepool-id} Update an SKS Nodepool
updateTemplate PUT /template/{id} Update template attributes
updateUserRole PUT /user/{id} Update a User's IAM role
upgradeSksCluster PUT /sks-cluster/{id}/upgrade Upgrade an SKS cluster
upgradeSksClusterServiceLevel PUT /sks-cluster/{id}/upgrade-service-level Upgrade a SKS cluster to pro

addExternalSourceToSecurityGroup

Operation addExternalSourceToSecurityGroup(id, addExternalSourceToSecurityGroupRequest)

Add an external source as a member of a Security Group

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        AddExternalSourceToSecurityGroupRequest addExternalSourceToSecurityGroupRequest = new AddExternalSourceToSecurityGroupRequest(); // AddExternalSourceToSecurityGroupRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.addExternalSourceToSecurityGroup(id, addExternalSourceToSecurityGroupRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#addExternalSourceToSecurityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
addExternalSourceToSecurityGroupRequest AddExternalSourceToSecurityGroupRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
addExternalSourceToSecurityGroupRequest AddExternalSourceToSecurityGroupRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

addInstanceProtection

Operation addInstanceProtection(id)

Set instance destruction protection

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.addInstanceProtection(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#addInstanceProtection");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

addRuleToSecurityGroup

Operation addRuleToSecurityGroup(id, addRuleToSecurityGroupRequest)

Create a Security Group rule

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        AddRuleToSecurityGroupRequest addRuleToSecurityGroupRequest = new AddRuleToSecurityGroupRequest(); // AddRuleToSecurityGroupRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.addRuleToSecurityGroup(id, addRuleToSecurityGroupRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#addRuleToSecurityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
addRuleToSecurityGroupRequest AddRuleToSecurityGroupRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
addRuleToSecurityGroupRequest AddRuleToSecurityGroupRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

addServiceToLoadBalancer

Operation addServiceToLoadBalancer(id, addServiceToLoadBalancerRequest)

Add a Load Balancer Service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        AddServiceToLoadBalancerRequest addServiceToLoadBalancerRequest = new AddServiceToLoadBalancerRequest(); // AddServiceToLoadBalancerRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.addServiceToLoadBalancer(id, addServiceToLoadBalancerRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#addServiceToLoadBalancer");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
addServiceToLoadBalancerRequest AddServiceToLoadBalancerRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
addServiceToLoadBalancerRequest AddServiceToLoadBalancerRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

attachBlockStorageVolumeToInstance

Operation attachBlockStorageVolumeToInstance(id, attachBlockStorageVolumeToInstanceRequest)

Attach block storage volume to an instance

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        AttachBlockStorageVolumeToInstanceRequest attachBlockStorageVolumeToInstanceRequest = new AttachBlockStorageVolumeToInstanceRequest(); // AttachBlockStorageVolumeToInstanceRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.attachBlockStorageVolumeToInstance(id, attachBlockStorageVolumeToInstanceRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#attachBlockStorageVolumeToInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
attachBlockStorageVolumeToInstanceRequest AttachBlockStorageVolumeToInstanceRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
attachBlockStorageVolumeToInstanceRequest AttachBlockStorageVolumeToInstanceRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

attachDbaasServiceToEndpoint

Operation attachDbaasServiceToEndpoint(sourceServiceName, attachDbaasServiceToEndpointRequest)

[BETA] Create a new DBaaS connection between a DBaaS service and an external service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String sourceServiceName = "sourceServiceName_example"; // String | 
        AttachDbaasServiceToEndpointRequest attachDbaasServiceToEndpointRequest = new AttachDbaasServiceToEndpointRequest(); // AttachDbaasServiceToEndpointRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.attachDbaasServiceToEndpoint(sourceServiceName, attachDbaasServiceToEndpointRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#attachDbaasServiceToEndpoint");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
sourceServiceName String
attachDbaasServiceToEndpointRequest AttachDbaasServiceToEndpointRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
sourceServiceName String
attachDbaasServiceToEndpointRequest AttachDbaasServiceToEndpointRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

attachInstanceToElasticIp

Operation attachInstanceToElasticIp(id, attachBlockStorageVolumeToInstanceRequest)

Attach a Compute instance to an Elastic IP

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        AttachBlockStorageVolumeToInstanceRequest attachBlockStorageVolumeToInstanceRequest = new AttachBlockStorageVolumeToInstanceRequest(); // AttachBlockStorageVolumeToInstanceRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.attachInstanceToElasticIp(id, attachBlockStorageVolumeToInstanceRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#attachInstanceToElasticIp");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
attachBlockStorageVolumeToInstanceRequest AttachBlockStorageVolumeToInstanceRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
attachBlockStorageVolumeToInstanceRequest AttachBlockStorageVolumeToInstanceRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

attachInstanceToPrivateNetwork

Operation attachInstanceToPrivateNetwork(id, attachInstanceToPrivateNetworkRequest)

Attach a Compute instance to a Private Network

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        AttachInstanceToPrivateNetworkRequest attachInstanceToPrivateNetworkRequest = new AttachInstanceToPrivateNetworkRequest(); // AttachInstanceToPrivateNetworkRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.attachInstanceToPrivateNetwork(id, attachInstanceToPrivateNetworkRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#attachInstanceToPrivateNetwork");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
attachInstanceToPrivateNetworkRequest AttachInstanceToPrivateNetworkRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
attachInstanceToPrivateNetworkRequest AttachInstanceToPrivateNetworkRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

attachInstanceToSecurityGroup

Operation attachInstanceToSecurityGroup(id, detachInstanceFromPrivateNetworkRequest)

Attach a Compute instance to a Security Group

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        DetachInstanceFromPrivateNetworkRequest detachInstanceFromPrivateNetworkRequest = new DetachInstanceFromPrivateNetworkRequest(); // DetachInstanceFromPrivateNetworkRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.attachInstanceToSecurityGroup(id, detachInstanceFromPrivateNetworkRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#attachInstanceToSecurityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
detachInstanceFromPrivateNetworkRequest DetachInstanceFromPrivateNetworkRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
detachInstanceFromPrivateNetworkRequest DetachInstanceFromPrivateNetworkRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

copyTemplate

Operation copyTemplate(id, copyTemplateRequest)

Copy a Template from a zone to another

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        CopyTemplateRequest copyTemplateRequest = new CopyTemplateRequest(); // CopyTemplateRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.copyTemplate(id, copyTemplateRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#copyTemplate");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
copyTemplateRequest CopyTemplateRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
copyTemplateRequest CopyTemplateRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createAntiAffinityGroup

Operation createAntiAffinityGroup(createAntiAffinityGroupRequest)

Create an Anti-affinity Group

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateAntiAffinityGroupRequest createAntiAffinityGroupRequest = new CreateAntiAffinityGroupRequest(); // CreateAntiAffinityGroupRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createAntiAffinityGroup(createAntiAffinityGroupRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createAntiAffinityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createAntiAffinityGroupRequest CreateAntiAffinityGroupRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createAntiAffinityGroupRequest CreateAntiAffinityGroupRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createApiKey

IamApiKeyCreated createApiKey(createApiKeyRequest)

Create a new API key

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateApiKeyRequest createApiKeyRequest = new CreateApiKeyRequest(); // CreateApiKeyRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            IamApiKeyCreated result = client.createApiKey(createApiKeyRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createApiKey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createApiKeyRequest CreateApiKeyRequest

Return type

IamApiKeyCreated

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createApiKeyRequest CreateApiKeyRequest

Return type

ApiResponse<IamApiKeyCreated>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createBlockStorageSnapshot

Operation createBlockStorageSnapshot(id, createBlockStorageSnapshotRequest)

Create a block storage snapshot

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        CreateBlockStorageSnapshotRequest createBlockStorageSnapshotRequest = new CreateBlockStorageSnapshotRequest(); // CreateBlockStorageSnapshotRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createBlockStorageSnapshot(id, createBlockStorageSnapshotRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createBlockStorageSnapshot");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
createBlockStorageSnapshotRequest CreateBlockStorageSnapshotRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
createBlockStorageSnapshotRequest CreateBlockStorageSnapshotRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createBlockStorageVolume

Operation createBlockStorageVolume(createBlockStorageVolumeRequest)

Create a block storage volume

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateBlockStorageVolumeRequest createBlockStorageVolumeRequest = new CreateBlockStorageVolumeRequest(); // CreateBlockStorageVolumeRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createBlockStorageVolume(createBlockStorageVolumeRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createBlockStorageVolume");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createBlockStorageVolumeRequest CreateBlockStorageVolumeRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createBlockStorageVolumeRequest CreateBlockStorageVolumeRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasExternalEndpointDatadog

Operation createDbaasExternalEndpointDatadog(name, dbaasEndpointDatadogInputCreate)

[BETA] Create DataDog external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        DbaasEndpointDatadogInputCreate dbaasEndpointDatadogInputCreate = new DbaasEndpointDatadogInputCreate(); // DbaasEndpointDatadogInputCreate |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasExternalEndpointDatadog(name, dbaasEndpointDatadogInputCreate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasExternalEndpointDatadog");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
dbaasEndpointDatadogInputCreate DbaasEndpointDatadogInputCreate

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
dbaasEndpointDatadogInputCreate DbaasEndpointDatadogInputCreate

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasExternalEndpointElasticsearch

Operation createDbaasExternalEndpointElasticsearch(name, dbaasEndpointElasticsearchInputCreate)

[BETA] Create ElasticSearch Logs external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        DbaasEndpointElasticsearchInputCreate dbaasEndpointElasticsearchInputCreate = new DbaasEndpointElasticsearchInputCreate(); // DbaasEndpointElasticsearchInputCreate |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasExternalEndpointElasticsearch(name, dbaasEndpointElasticsearchInputCreate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasExternalEndpointElasticsearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
dbaasEndpointElasticsearchInputCreate DbaasEndpointElasticsearchInputCreate

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
dbaasEndpointElasticsearchInputCreate DbaasEndpointElasticsearchInputCreate

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasExternalEndpointOpensearch

Operation createDbaasExternalEndpointOpensearch(name, dbaasEndpointOpensearchInputCreate)

[BETA] Create OpenSearch Logs external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        DbaasEndpointOpensearchInputCreate dbaasEndpointOpensearchInputCreate = new DbaasEndpointOpensearchInputCreate(); // DbaasEndpointOpensearchInputCreate |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasExternalEndpointOpensearch(name, dbaasEndpointOpensearchInputCreate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasExternalEndpointOpensearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
dbaasEndpointOpensearchInputCreate DbaasEndpointOpensearchInputCreate

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
dbaasEndpointOpensearchInputCreate DbaasEndpointOpensearchInputCreate

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasExternalEndpointPrometheus

Operation createDbaasExternalEndpointPrometheus(name, dbaasEndpointPrometheusPayload)

[BETA] Create Prometheus external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        DbaasEndpointPrometheusPayload dbaasEndpointPrometheusPayload = new DbaasEndpointPrometheusPayload(); // DbaasEndpointPrometheusPayload |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasExternalEndpointPrometheus(name, dbaasEndpointPrometheusPayload);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasExternalEndpointPrometheus");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
dbaasEndpointPrometheusPayload DbaasEndpointPrometheusPayload

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
dbaasEndpointPrometheusPayload DbaasEndpointPrometheusPayload

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasExternalEndpointRsyslog

Operation createDbaasExternalEndpointRsyslog(name, dbaasEndpointRsyslogInputCreate)

[BETA] Create RSyslog external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        DbaasEndpointRsyslogInputCreate dbaasEndpointRsyslogInputCreate = new DbaasEndpointRsyslogInputCreate(); // DbaasEndpointRsyslogInputCreate |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasExternalEndpointRsyslog(name, dbaasEndpointRsyslogInputCreate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasExternalEndpointRsyslog");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
dbaasEndpointRsyslogInputCreate DbaasEndpointRsyslogInputCreate

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
dbaasEndpointRsyslogInputCreate DbaasEndpointRsyslogInputCreate

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasIntegration

Operation createDbaasIntegration(createDbaasIntegrationRequest)

[BETA] Create a new DBaaS integration between two services

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateDbaasIntegrationRequest createDbaasIntegrationRequest = new CreateDbaasIntegrationRequest(); // CreateDbaasIntegrationRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasIntegration(createDbaasIntegrationRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasIntegration");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createDbaasIntegrationRequest CreateDbaasIntegrationRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createDbaasIntegrationRequest CreateDbaasIntegrationRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasKafkaSchemaRegistryAclConfig

Operation createDbaasKafkaSchemaRegistryAclConfig(name, dbaasKafkaSchemaRegistryAclEntry)

Add a Kafka Schema Registry ACL entry

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        DbaasKafkaSchemaRegistryAclEntry dbaasKafkaSchemaRegistryAclEntry = new DbaasKafkaSchemaRegistryAclEntry(); // DbaasKafkaSchemaRegistryAclEntry |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasKafkaSchemaRegistryAclConfig(name, dbaasKafkaSchemaRegistryAclEntry);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasKafkaSchemaRegistryAclConfig");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
dbaasKafkaSchemaRegistryAclEntry DbaasKafkaSchemaRegistryAclEntry

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
dbaasKafkaSchemaRegistryAclEntry DbaasKafkaSchemaRegistryAclEntry

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasKafkaTopicAclConfig

Operation createDbaasKafkaTopicAclConfig(name, dbaasKafkaTopicAclEntry)

Add a Kafka topic ACL entry

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        DbaasKafkaTopicAclEntry dbaasKafkaTopicAclEntry = new DbaasKafkaTopicAclEntry(); // DbaasKafkaTopicAclEntry |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasKafkaTopicAclConfig(name, dbaasKafkaTopicAclEntry);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasKafkaTopicAclConfig");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
dbaasKafkaTopicAclEntry DbaasKafkaTopicAclEntry

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
dbaasKafkaTopicAclEntry DbaasKafkaTopicAclEntry

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasKafkaUser

Operation createDbaasKafkaUser(serviceName, createDbaasKafkaUserRequest)

Create a DBaaS Kafka user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        CreateDbaasKafkaUserRequest createDbaasKafkaUserRequest = new CreateDbaasKafkaUserRequest(); // CreateDbaasKafkaUserRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasKafkaUser(serviceName, createDbaasKafkaUserRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasKafkaUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
createDbaasKafkaUserRequest CreateDbaasKafkaUserRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
createDbaasKafkaUserRequest CreateDbaasKafkaUserRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasMysqlDatabase

Operation createDbaasMysqlDatabase(serviceName, createDbaasMysqlDatabaseRequest)

Create a DBaaS MySQL database

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        CreateDbaasMysqlDatabaseRequest createDbaasMysqlDatabaseRequest = new CreateDbaasMysqlDatabaseRequest(); // CreateDbaasMysqlDatabaseRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasMysqlDatabase(serviceName, createDbaasMysqlDatabaseRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasMysqlDatabase");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
createDbaasMysqlDatabaseRequest CreateDbaasMysqlDatabaseRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
createDbaasMysqlDatabaseRequest CreateDbaasMysqlDatabaseRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasMysqlUser

Operation createDbaasMysqlUser(serviceName, createDbaasMysqlUserRequest)

Create a DBaaS MySQL user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        CreateDbaasMysqlUserRequest createDbaasMysqlUserRequest = new CreateDbaasMysqlUserRequest(); // CreateDbaasMysqlUserRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasMysqlUser(serviceName, createDbaasMysqlUserRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasMysqlUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
createDbaasMysqlUserRequest CreateDbaasMysqlUserRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
createDbaasMysqlUserRequest CreateDbaasMysqlUserRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasOpensearchUser

Operation createDbaasOpensearchUser(serviceName, createDbaasKafkaUserRequest)

Create a DBaaS OpenSearch user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        CreateDbaasKafkaUserRequest createDbaasKafkaUserRequest = new CreateDbaasKafkaUserRequest(); // CreateDbaasKafkaUserRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasOpensearchUser(serviceName, createDbaasKafkaUserRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasOpensearchUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
createDbaasKafkaUserRequest CreateDbaasKafkaUserRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
createDbaasKafkaUserRequest CreateDbaasKafkaUserRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasPgConnectionPool

Operation createDbaasPgConnectionPool(serviceName, createDbaasPgConnectionPoolRequest)

Create a DBaaS PostgreSQL connection pool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        CreateDbaasPgConnectionPoolRequest createDbaasPgConnectionPoolRequest = new CreateDbaasPgConnectionPoolRequest(); // CreateDbaasPgConnectionPoolRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasPgConnectionPool(serviceName, createDbaasPgConnectionPoolRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasPgConnectionPool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
createDbaasPgConnectionPoolRequest CreateDbaasPgConnectionPoolRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
createDbaasPgConnectionPoolRequest CreateDbaasPgConnectionPoolRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasPgDatabase

Operation createDbaasPgDatabase(serviceName, createDbaasPgDatabaseRequest)

Create a DBaaS Postgres database

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        CreateDbaasPgDatabaseRequest createDbaasPgDatabaseRequest = new CreateDbaasPgDatabaseRequest(); // CreateDbaasPgDatabaseRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasPgDatabase(serviceName, createDbaasPgDatabaseRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasPgDatabase");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
createDbaasPgDatabaseRequest CreateDbaasPgDatabaseRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
createDbaasPgDatabaseRequest CreateDbaasPgDatabaseRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasPgUpgradeCheck

DbaasTask createDbaasPgUpgradeCheck(service, createDbaasPgUpgradeCheckRequest)

Check whether you can upgrade Postgres service to a newer version

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String service = "service_example"; // String | 
        CreateDbaasPgUpgradeCheckRequest createDbaasPgUpgradeCheckRequest = new CreateDbaasPgUpgradeCheckRequest(); // CreateDbaasPgUpgradeCheckRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            DbaasTask result = client.createDbaasPgUpgradeCheck(service, createDbaasPgUpgradeCheckRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasPgUpgradeCheck");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
service String
createDbaasPgUpgradeCheckRequest CreateDbaasPgUpgradeCheckRequest

Return type

DbaasTask

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
service String
createDbaasPgUpgradeCheckRequest CreateDbaasPgUpgradeCheckRequest

Return type

ApiResponse<DbaasTask>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasPostgresUser

Operation createDbaasPostgresUser(serviceName, createDbaasPostgresUserRequest)

Create a DBaaS Postgres user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        CreateDbaasPostgresUserRequest createDbaasPostgresUserRequest = new CreateDbaasPostgresUserRequest(); // CreateDbaasPostgresUserRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasPostgresUser(serviceName, createDbaasPostgresUserRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasPostgresUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
createDbaasPostgresUserRequest CreateDbaasPostgresUserRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
createDbaasPostgresUserRequest CreateDbaasPostgresUserRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasServiceGrafana

Operation createDbaasServiceGrafana(name, createDbaasServiceGrafanaRequest)

Create a DBaaS Grafana service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        CreateDbaasServiceGrafanaRequest createDbaasServiceGrafanaRequest = new CreateDbaasServiceGrafanaRequest(); // CreateDbaasServiceGrafanaRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasServiceGrafana(name, createDbaasServiceGrafanaRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasServiceGrafana");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
createDbaasServiceGrafanaRequest CreateDbaasServiceGrafanaRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
createDbaasServiceGrafanaRequest CreateDbaasServiceGrafanaRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasServiceKafka

Operation createDbaasServiceKafka(name, createDbaasServiceKafkaRequest)

Create a DBaaS Kafka service

Create a DBaaS Kafka service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        CreateDbaasServiceKafkaRequest createDbaasServiceKafkaRequest = new CreateDbaasServiceKafkaRequest(); // CreateDbaasServiceKafkaRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasServiceKafka(name, createDbaasServiceKafkaRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasServiceKafka");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
createDbaasServiceKafkaRequest CreateDbaasServiceKafkaRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
createDbaasServiceKafkaRequest CreateDbaasServiceKafkaRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasServiceMysql

Operation createDbaasServiceMysql(name, createDbaasServiceMysqlRequest)

Create a DBaaS MySQL service

Create a DBaaS MySQL service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        CreateDbaasServiceMysqlRequest createDbaasServiceMysqlRequest = new CreateDbaasServiceMysqlRequest(); // CreateDbaasServiceMysqlRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasServiceMysql(name, createDbaasServiceMysqlRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasServiceMysql");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
createDbaasServiceMysqlRequest CreateDbaasServiceMysqlRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
createDbaasServiceMysqlRequest CreateDbaasServiceMysqlRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasServiceOpensearch

Operation createDbaasServiceOpensearch(name, createDbaasServiceOpensearchRequest)

Create a DBaaS OpenSearch service

Create a DBaaS OpenSearch service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        CreateDbaasServiceOpensearchRequest createDbaasServiceOpensearchRequest = new CreateDbaasServiceOpensearchRequest(); // CreateDbaasServiceOpensearchRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasServiceOpensearch(name, createDbaasServiceOpensearchRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasServiceOpensearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
createDbaasServiceOpensearchRequest CreateDbaasServiceOpensearchRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
createDbaasServiceOpensearchRequest CreateDbaasServiceOpensearchRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasServicePg

Operation createDbaasServicePg(name, createDbaasServicePgRequest)

Create a DBaaS PostgreSQL service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        CreateDbaasServicePgRequest createDbaasServicePgRequest = new CreateDbaasServicePgRequest(); // CreateDbaasServicePgRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasServicePg(name, createDbaasServicePgRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasServicePg");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
createDbaasServicePgRequest CreateDbaasServicePgRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
createDbaasServicePgRequest CreateDbaasServicePgRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasServiceValkey

Operation createDbaasServiceValkey(name, createDbaasServiceValkeyRequest)

Create a DBaaS Valkey service

Create a DBaaS Valkey service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        CreateDbaasServiceValkeyRequest createDbaasServiceValkeyRequest = new CreateDbaasServiceValkeyRequest(); // CreateDbaasServiceValkeyRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasServiceValkey(name, createDbaasServiceValkeyRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasServiceValkey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
createDbaasServiceValkeyRequest CreateDbaasServiceValkeyRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
createDbaasServiceValkeyRequest CreateDbaasServiceValkeyRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasTaskMigrationCheck

Operation createDbaasTaskMigrationCheck(service, createDbaasTaskMigrationCheckRequest)

Create a DBaaS task to check migration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String service = "service_example"; // String | 
        CreateDbaasTaskMigrationCheckRequest createDbaasTaskMigrationCheckRequest = new CreateDbaasTaskMigrationCheckRequest(); // CreateDbaasTaskMigrationCheckRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasTaskMigrationCheck(service, createDbaasTaskMigrationCheckRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasTaskMigrationCheck");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
service String
createDbaasTaskMigrationCheckRequest CreateDbaasTaskMigrationCheckRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
service String
createDbaasTaskMigrationCheckRequest CreateDbaasTaskMigrationCheckRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDbaasValkeyUser

Operation createDbaasValkeyUser(serviceName, createDbaasKafkaUserRequest)

Create a DBaaS Valkey user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        CreateDbaasKafkaUserRequest createDbaasKafkaUserRequest = new CreateDbaasKafkaUserRequest(); // CreateDbaasKafkaUserRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDbaasValkeyUser(serviceName, createDbaasKafkaUserRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDbaasValkeyUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
createDbaasKafkaUserRequest CreateDbaasKafkaUserRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
createDbaasKafkaUserRequest CreateDbaasKafkaUserRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDnsDomain

Operation createDnsDomain(createDnsDomainRequest)

Create DNS domain

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateDnsDomainRequest createDnsDomainRequest = new CreateDnsDomainRequest(); // CreateDnsDomainRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDnsDomain(createDnsDomainRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDnsDomain");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createDnsDomainRequest CreateDnsDomainRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createDnsDomainRequest CreateDnsDomainRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createDnsDomainRecord

Operation createDnsDomainRecord(domainId, createDnsDomainRecordRequest)

Create DNS domain record

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID domainId = UUID.randomUUID(); // UUID | 
        CreateDnsDomainRecordRequest createDnsDomainRecordRequest = new CreateDnsDomainRecordRequest(); // CreateDnsDomainRecordRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createDnsDomainRecord(domainId, createDnsDomainRecordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createDnsDomainRecord");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
domainId UUID
createDnsDomainRecordRequest CreateDnsDomainRecordRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
domainId UUID
createDnsDomainRecordRequest CreateDnsDomainRecordRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createElasticIp

Operation createElasticIp(createElasticIpRequest)

Create an Elastic IP

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateElasticIpRequest createElasticIpRequest = new CreateElasticIpRequest(); // CreateElasticIpRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createElasticIp(createElasticIpRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createElasticIp");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createElasticIpRequest CreateElasticIpRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createElasticIpRequest CreateElasticIpRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createIamRole

Operation createIamRole(createIamRoleRequest)

Create IAM Role

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateIamRoleRequest createIamRoleRequest = new CreateIamRoleRequest(); // CreateIamRoleRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createIamRole(createIamRoleRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createIamRole");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createIamRoleRequest CreateIamRoleRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createIamRoleRequest CreateIamRoleRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createInstance

Operation createInstance(createInstanceRequest)

Create a Compute instance

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateInstanceRequest createInstanceRequest = new CreateInstanceRequest(); // CreateInstanceRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createInstance(createInstanceRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createInstanceRequest CreateInstanceRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createInstanceRequest CreateInstanceRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createInstancePool

Operation createInstancePool(createInstancePoolRequest)

Create an Instance Pool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateInstancePoolRequest createInstancePoolRequest = new CreateInstancePoolRequest(); // CreateInstancePoolRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createInstancePool(createInstancePoolRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createInstancePool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createInstancePoolRequest CreateInstancePoolRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createInstancePoolRequest CreateInstancePoolRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createLoadBalancer

Operation createLoadBalancer(createLoadBalancerRequest)

Create a Load Balancer

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateLoadBalancerRequest createLoadBalancerRequest = new CreateLoadBalancerRequest(); // CreateLoadBalancerRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createLoadBalancer(createLoadBalancerRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createLoadBalancer");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createLoadBalancerRequest CreateLoadBalancerRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createLoadBalancerRequest CreateLoadBalancerRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createPrivateNetwork

Operation createPrivateNetwork(createPrivateNetworkRequest)

Create a Private Network

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreatePrivateNetworkRequest createPrivateNetworkRequest = new CreatePrivateNetworkRequest(); // CreatePrivateNetworkRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createPrivateNetwork(createPrivateNetworkRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createPrivateNetwork");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createPrivateNetworkRequest CreatePrivateNetworkRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createPrivateNetworkRequest CreatePrivateNetworkRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createSecurityGroup

Operation createSecurityGroup(createSecurityGroupRequest)

Create a Security Group

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateSecurityGroupRequest createSecurityGroupRequest = new CreateSecurityGroupRequest(); // CreateSecurityGroupRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createSecurityGroup(createSecurityGroupRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createSecurityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createSecurityGroupRequest CreateSecurityGroupRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createSecurityGroupRequest CreateSecurityGroupRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createSksCluster

Operation createSksCluster(createSksClusterRequest)

Create an SKS cluster

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateSksClusterRequest createSksClusterRequest = new CreateSksClusterRequest(); // CreateSksClusterRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createSksCluster(createSksClusterRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createSksCluster");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createSksClusterRequest CreateSksClusterRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createSksClusterRequest CreateSksClusterRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createSksNodepool

Operation createSksNodepool(id, createSksNodepoolRequest)

Create a new SKS Nodepool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        CreateSksNodepoolRequest createSksNodepoolRequest = new CreateSksNodepoolRequest(); // CreateSksNodepoolRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createSksNodepool(id, createSksNodepoolRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createSksNodepool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
createSksNodepoolRequest CreateSksNodepoolRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
createSksNodepoolRequest CreateSksNodepoolRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createSnapshot

Operation createSnapshot(id)

Create a Snapshot of a Compute instance

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.createSnapshot(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createSnapshot");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

createUser

Operation createUser(createUserRequest)

Create a User

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        CreateUserRequest createUserRequest = new CreateUserRequest(); // CreateUserRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.createUser(createUserRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#createUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createUserRequest CreateUserRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
createUserRequest CreateUserRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteAntiAffinityGroup

Operation deleteAntiAffinityGroup(id)

Delete an Anti-affinity Group

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteAntiAffinityGroup(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteAntiAffinityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteApiKey

Operation deleteApiKey(id)

Delete an API key

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String id = "id_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteApiKey(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteApiKey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteBlockStorageSnapshot

Operation deleteBlockStorageSnapshot(id)

Delete a block storage snapshot, data will be unrecoverable

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteBlockStorageSnapshot(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteBlockStorageSnapshot");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteBlockStorageVolume

Operation deleteBlockStorageVolume(id)

Delete a block storage volume, data will be unrecoverable

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteBlockStorageVolume(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteBlockStorageVolume");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasExternalEndpointDatadog

Operation deleteDbaasExternalEndpointDatadog(endpointId)

[BETA] Delete DataDog external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasExternalEndpointDatadog(endpointId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasExternalEndpointDatadog");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasExternalEndpointElasticsearch

Operation deleteDbaasExternalEndpointElasticsearch(endpointId)

[BETA] Delete ElasticSearch logs external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasExternalEndpointElasticsearch(endpointId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasExternalEndpointElasticsearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasExternalEndpointOpensearch

Operation deleteDbaasExternalEndpointOpensearch(endpointId)

[BETA] Delete OpenSearch logs external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasExternalEndpointOpensearch(endpointId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasExternalEndpointOpensearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasExternalEndpointPrometheus

Operation deleteDbaasExternalEndpointPrometheus(endpointId)

[BETA] Delete Prometheus external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasExternalEndpointPrometheus(endpointId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasExternalEndpointPrometheus");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasExternalEndpointRsyslog

Operation deleteDbaasExternalEndpointRsyslog(endpointId)

[BETA] Delete RSyslog external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasExternalEndpointRsyslog(endpointId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasExternalEndpointRsyslog");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasIntegration

Operation deleteDbaasIntegration(id)

[BETA] Delete a DBaaS Integration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasIntegration(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasIntegration");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasKafkaSchemaRegistryAclConfig

Operation deleteDbaasKafkaSchemaRegistryAclConfig(name, aclId)

Delete a Kafka ACL entry

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        String aclId = "aclId_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasKafkaSchemaRegistryAclConfig(name, aclId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasKafkaSchemaRegistryAclConfig");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
aclId String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
aclId String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasKafkaTopicAclConfig

Operation deleteDbaasKafkaTopicAclConfig(name, aclId)

Delete a Kafka ACL entry

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        String aclId = "aclId_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasKafkaTopicAclConfig(name, aclId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasKafkaTopicAclConfig");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
aclId String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
aclId String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasKafkaUser

Operation deleteDbaasKafkaUser(serviceName, username)

Delete a DBaaS kafka user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasKafkaUser(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasKafkaUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasMysqlDatabase

Operation deleteDbaasMysqlDatabase(serviceName, databaseName)

Delete a DBaaS MySQL database

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String databaseName = "databaseName_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasMysqlDatabase(serviceName, databaseName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasMysqlDatabase");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
databaseName String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
databaseName String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasMysqlUser

Operation deleteDbaasMysqlUser(serviceName, username)

Delete a DBaaS MySQL user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasMysqlUser(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasMysqlUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasOpensearchUser

Operation deleteDbaasOpensearchUser(serviceName, username)

Delete a DBaaS OpenSearch user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasOpensearchUser(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasOpensearchUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasPgConnectionPool

Operation deleteDbaasPgConnectionPool(serviceName, connectionPoolName)

Delete a DBaaS PostgreSQL connection pool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String connectionPoolName = "connectionPoolName_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasPgConnectionPool(serviceName, connectionPoolName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasPgConnectionPool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
connectionPoolName String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
connectionPoolName String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasPgDatabase

Operation deleteDbaasPgDatabase(serviceName, databaseName)

Delete a DBaaS Postgres database

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String databaseName = "databaseName_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasPgDatabase(serviceName, databaseName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasPgDatabase");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
databaseName String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
databaseName String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasPostgresUser

Operation deleteDbaasPostgresUser(serviceName, username)

Delete a DBaaS Postgres user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasPostgresUser(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasPostgresUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasService

Operation deleteDbaasService(name)

Delete a DBaaS service

Delete a DBaaS service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasService(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasService");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasServiceGrafana

Operation deleteDbaasServiceGrafana(name)

Delete a Grafana service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasServiceGrafana(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasServiceGrafana");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasServiceKafka

Operation deleteDbaasServiceKafka(name)

Delete a Kafka service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasServiceKafka(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasServiceKafka");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasServiceMysql

Operation deleteDbaasServiceMysql(name)

Delete a MySQL service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasServiceMysql(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasServiceMysql");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasServiceOpensearch

Operation deleteDbaasServiceOpensearch(name)

Delete a OpenSearch service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasServiceOpensearch(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasServiceOpensearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasServicePg

Operation deleteDbaasServicePg(name)

Delete a Postgres service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasServicePg(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasServicePg");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasServiceValkey

Operation deleteDbaasServiceValkey(name)

Delete a Valkey service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasServiceValkey(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasServiceValkey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDbaasValkeyUser

Operation deleteDbaasValkeyUser(serviceName, username)

Delete a DBaaS Valkey user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteDbaasValkeyUser(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDbaasValkeyUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDnsDomain

Operation deleteDnsDomain(id)

Delete DNS Domain

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteDnsDomain(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDnsDomain");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteDnsDomainRecord

Operation deleteDnsDomainRecord(domainId, recordId)

Delete DNS domain record

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID domainId = UUID.randomUUID(); // UUID | 
        UUID recordId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteDnsDomainRecord(domainId, recordId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteDnsDomainRecord");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
domainId UUID
recordId UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
domainId UUID
recordId UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteElasticIp

Operation deleteElasticIp(id)

Delete an Elastic IP

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteElasticIp(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteElasticIp");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteIamRole

Operation deleteIamRole(id)

Delete IAM Role

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteIamRole(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteIamRole");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteInstance

Operation deleteInstance(id)

Delete a Compute instance

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteInstance(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteInstancePool

Operation deleteInstancePool(id)

Delete an Instance Pool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteInstancePool(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteInstancePool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteLoadBalancer

Operation deleteLoadBalancer(id)

Delete a Load Balancer

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteLoadBalancer(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteLoadBalancer");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteLoadBalancerService

Operation deleteLoadBalancerService(id, serviceId)

Delete a Load Balancer Service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID serviceId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteLoadBalancerService(id, serviceId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteLoadBalancerService");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
serviceId UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
serviceId UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deletePrivateNetwork

Operation deletePrivateNetwork(id)

Delete a Private Network

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deletePrivateNetwork(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deletePrivateNetwork");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteReverseDnsElasticIp

Operation deleteReverseDnsElasticIp(id)

Delete the PTR DNS record for an elastic IP

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteReverseDnsElasticIp(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteReverseDnsElasticIp");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteReverseDnsInstance

Operation deleteReverseDnsInstance(id)

Delete the PTR DNS record for an instance

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteReverseDnsInstance(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteReverseDnsInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteRuleFromSecurityGroup

Operation deleteRuleFromSecurityGroup(id, ruleId)

Delete a Security Group rule

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID ruleId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteRuleFromSecurityGroup(id, ruleId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteRuleFromSecurityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
ruleId UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
ruleId UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteSecurityGroup

Operation deleteSecurityGroup(id)

Delete a Security Group

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteSecurityGroup(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteSecurityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteSksCluster

Operation deleteSksCluster(id)

Delete an SKS cluster

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteSksCluster(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteSksCluster");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteSksNodepool

Operation deleteSksNodepool(id, sksNodepoolId)

Delete an SKS Nodepool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID sksNodepoolId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteSksNodepool(id, sksNodepoolId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteSksNodepool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteSnapshot

Operation deleteSnapshot(id)

Delete a Snapshot

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteSnapshot(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteSnapshot");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteSshKey

Operation deleteSshKey(name)

Delete a SSH key

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.deleteSshKey(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteSshKey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteTemplate

Operation deleteTemplate(id)

Delete a Template

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteTemplate(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteTemplate");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

deleteUser

Operation deleteUser(id)

Delete User

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.deleteUser(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#deleteUser");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

detachBlockStorageVolume

Operation detachBlockStorageVolume(id)

Detach block storage volume

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.detachBlockStorageVolume(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#detachBlockStorageVolume");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

detachDbaasServiceFromEndpoint

Operation detachDbaasServiceFromEndpoint(sourceServiceName, detachDbaasServiceFromEndpointRequest)

[BETA] Detach a DBaaS external integration from a service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String sourceServiceName = "sourceServiceName_example"; // String | 
        DetachDbaasServiceFromEndpointRequest detachDbaasServiceFromEndpointRequest = new DetachDbaasServiceFromEndpointRequest(); // DetachDbaasServiceFromEndpointRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.detachDbaasServiceFromEndpoint(sourceServiceName, detachDbaasServiceFromEndpointRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#detachDbaasServiceFromEndpoint");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
sourceServiceName String
detachDbaasServiceFromEndpointRequest DetachDbaasServiceFromEndpointRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
sourceServiceName String
detachDbaasServiceFromEndpointRequest DetachDbaasServiceFromEndpointRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

detachInstanceFromElasticIp

Operation detachInstanceFromElasticIp(id, attachBlockStorageVolumeToInstanceRequest)

Detach a Compute instance from an Elastic IP

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        AttachBlockStorageVolumeToInstanceRequest attachBlockStorageVolumeToInstanceRequest = new AttachBlockStorageVolumeToInstanceRequest(); // AttachBlockStorageVolumeToInstanceRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.detachInstanceFromElasticIp(id, attachBlockStorageVolumeToInstanceRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#detachInstanceFromElasticIp");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
attachBlockStorageVolumeToInstanceRequest AttachBlockStorageVolumeToInstanceRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
attachBlockStorageVolumeToInstanceRequest AttachBlockStorageVolumeToInstanceRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

detachInstanceFromPrivateNetwork

Operation detachInstanceFromPrivateNetwork(id, detachInstanceFromPrivateNetworkRequest)

Detach a Compute instance from a Private Network

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        DetachInstanceFromPrivateNetworkRequest detachInstanceFromPrivateNetworkRequest = new DetachInstanceFromPrivateNetworkRequest(); // DetachInstanceFromPrivateNetworkRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.detachInstanceFromPrivateNetwork(id, detachInstanceFromPrivateNetworkRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#detachInstanceFromPrivateNetwork");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
detachInstanceFromPrivateNetworkRequest DetachInstanceFromPrivateNetworkRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
detachInstanceFromPrivateNetworkRequest DetachInstanceFromPrivateNetworkRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

detachInstanceFromSecurityGroup

Operation detachInstanceFromSecurityGroup(id, detachInstanceFromPrivateNetworkRequest)

Detach a Compute instance from a Security Group

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        DetachInstanceFromPrivateNetworkRequest detachInstanceFromPrivateNetworkRequest = new DetachInstanceFromPrivateNetworkRequest(); // DetachInstanceFromPrivateNetworkRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.detachInstanceFromSecurityGroup(id, detachInstanceFromPrivateNetworkRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#detachInstanceFromSecurityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
detachInstanceFromPrivateNetworkRequest DetachInstanceFromPrivateNetworkRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
detachInstanceFromPrivateNetworkRequest DetachInstanceFromPrivateNetworkRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

enableDbaasMysqlWrites

Operation enableDbaasMysqlWrites(name)

Temporarily enable writes for MySQL services in read-only mode due to filled up storage

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.enableDbaasMysqlWrites(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#enableDbaasMysqlWrites");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

enableTpm

Operation enableTpm(id)

Enable tpm for the instance.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.enableTpm(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#enableTpm");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

evictInstancePoolMembers

Operation evictInstancePoolMembers(id, evictInstancePoolMembersRequest)

Evict Instance Pool members

This operation evicts the specified Compute instances member from the Instance Pool, shrinking it to `&lt;current pool size&gt; - &lt;# evicted members&gt;`.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        EvictInstancePoolMembersRequest evictInstancePoolMembersRequest = new EvictInstancePoolMembersRequest(); // EvictInstancePoolMembersRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.evictInstancePoolMembers(id, evictInstancePoolMembersRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#evictInstancePoolMembers");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
evictInstancePoolMembersRequest EvictInstancePoolMembersRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
evictInstancePoolMembersRequest EvictInstancePoolMembersRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

evictSksNodepoolMembers

Operation evictSksNodepoolMembers(id, sksNodepoolId, evictSksNodepoolMembersRequest)

Evict Nodepool members

This operation evicts the specified Compute instances member from the Nodepool, shrinking it to `&lt;current nodepool size&gt; - &lt;# evicted members&gt;`.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID sksNodepoolId = UUID.randomUUID(); // UUID | 
        EvictSksNodepoolMembersRequest evictSksNodepoolMembersRequest = new EvictSksNodepoolMembersRequest(); // EvictSksNodepoolMembersRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.evictSksNodepoolMembers(id, sksNodepoolId, evictSksNodepoolMembersRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#evictSksNodepoolMembers");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID
evictSksNodepoolMembersRequest EvictSksNodepoolMembersRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID
evictSksNodepoolMembersRequest EvictSksNodepoolMembersRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

exportSnapshot

Operation exportSnapshot(id)

Export a Snapshot

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.exportSnapshot(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#exportSnapshot");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

generateSksClusterKubeconfig

GenerateSksClusterKubeconfig200Response generateSksClusterKubeconfig(id, sksKubeconfigRequest)

Generate a new Kubeconfig file for a SKS cluster

This operation returns a Kubeconfig file encoded in base64.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        SksKubeconfigRequest sksKubeconfigRequest = new SksKubeconfigRequest(); // SksKubeconfigRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            GenerateSksClusterKubeconfig200Response result = client.generateSksClusterKubeconfig(id, sksKubeconfigRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#generateSksClusterKubeconfig");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
sksKubeconfigRequest SksKubeconfigRequest

Return type

GenerateSksClusterKubeconfig200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
sksKubeconfigRequest SksKubeconfigRequest

Return type

ApiResponse<GenerateSksClusterKubeconfig200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getAntiAffinityGroup

AntiAffinityGroup getAntiAffinityGroup(id)

Retrieve Anti-affinity Group details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            AntiAffinityGroup result = client.getAntiAffinityGroup(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getAntiAffinityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

AntiAffinityGroup

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<AntiAffinityGroup>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getApiKey

IamApiKey getApiKey(id)

Get API key

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String id = "id_example"; // String | 

        try {
            // Invoke the API method
            IamApiKey result = client.getApiKey(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getApiKey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id String

Return type

IamApiKey

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id String

Return type

ApiResponse<IamApiKey>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getBlockStorageSnapshot

BlockStorageSnapshot getBlockStorageSnapshot(id)

Retrieve block storage snapshot details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            BlockStorageSnapshot result = client.getBlockStorageSnapshot(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getBlockStorageSnapshot");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

BlockStorageSnapshot

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<BlockStorageSnapshot>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getBlockStorageVolume

BlockStorageVolume getBlockStorageVolume(id)

Retrieve block storage volume details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            BlockStorageVolume result = client.getBlockStorageVolume(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getBlockStorageVolume");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

BlockStorageVolume

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<BlockStorageVolume>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getConsoleProxyUrl

GetConsoleProxyUrl200Response getConsoleProxyUrl(id)

Retrieve signed url valid for 60 seconds to connect via console-proxy websocket to VM VNC console.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            GetConsoleProxyUrl200Response result = client.getConsoleProxyUrl(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getConsoleProxyUrl");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

GetConsoleProxyUrl200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<GetConsoleProxyUrl200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasCaCertificate

GetDbaasCaCertificate200Response getDbaasCaCertificate()

Get DBaaS CA Certificate

Returns a CA Certificate required to reach a DBaaS service through a TLS-protected connection.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            GetDbaasCaCertificate200Response result = client.getDbaasCaCertificate();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasCaCertificate");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

GetDbaasCaCertificate200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<GetDbaasCaCertificate200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasExternalEndpointDatadog

DbaasExternalEndpointDatadogOutput getDbaasExternalEndpointDatadog(endpointId)

[BETA] Get DataDog external endpoint settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DbaasExternalEndpointDatadogOutput result = client.getDbaasExternalEndpointDatadog(endpointId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasExternalEndpointDatadog");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID

Return type

DbaasExternalEndpointDatadogOutput

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID

Return type

ApiResponse<DbaasExternalEndpointDatadogOutput>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasExternalEndpointElasticsearch

DbaasEndpointElasticsearchOutput getDbaasExternalEndpointElasticsearch(endpointId)

[BETA] Get ElasticSearch Logs external integration endpoint settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DbaasEndpointElasticsearchOutput result = client.getDbaasExternalEndpointElasticsearch(endpointId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasExternalEndpointElasticsearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID

Return type

DbaasEndpointElasticsearchOutput

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID

Return type

ApiResponse<DbaasEndpointElasticsearchOutput>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasExternalEndpointOpensearch

DbaasEndpointOpensearchOutput getDbaasExternalEndpointOpensearch(endpointId)

[BETA] Get OpenSearch Logs external integration endpoint settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DbaasEndpointOpensearchOutput result = client.getDbaasExternalEndpointOpensearch(endpointId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasExternalEndpointOpensearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID

Return type

DbaasEndpointOpensearchOutput

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID

Return type

ApiResponse<DbaasEndpointOpensearchOutput>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasExternalEndpointPrometheus

DbaasEndpointExternalPrometheusOutput getDbaasExternalEndpointPrometheus(endpointId)

[BETA] Get Prometheus external integration endpoint settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DbaasEndpointExternalPrometheusOutput result = client.getDbaasExternalEndpointPrometheus(endpointId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasExternalEndpointPrometheus");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID

Return type

DbaasEndpointExternalPrometheusOutput

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID

Return type

ApiResponse<DbaasEndpointExternalPrometheusOutput>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasExternalEndpointRsyslog

DbaasExternalEndpointRsyslogOutput getDbaasExternalEndpointRsyslog(endpointId)

[BETA] Get RSyslog external integration endpoint settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DbaasExternalEndpointRsyslogOutput result = client.getDbaasExternalEndpointRsyslog(endpointId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasExternalEndpointRsyslog");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID

Return type

DbaasExternalEndpointRsyslogOutput

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID

Return type

ApiResponse<DbaasExternalEndpointRsyslogOutput>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasExternalIntegration

DbaasExternalIntegration getDbaasExternalIntegration(integrationId)

[BETA] Get a DBaaS external integration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID integrationId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DbaasExternalIntegration result = client.getDbaasExternalIntegration(integrationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasExternalIntegration");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
integrationId UUID

Return type

DbaasExternalIntegration

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
integrationId UUID

Return type

ApiResponse<DbaasExternalIntegration>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasExternalIntegrationSettingsDatadog

GetDbaasExternalIntegrationSettingsDatadog200Response getDbaasExternalIntegrationSettingsDatadog(integrationId)

[BETA] Get Datadog integration settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID integrationId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            GetDbaasExternalIntegrationSettingsDatadog200Response result = client.getDbaasExternalIntegrationSettingsDatadog(integrationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasExternalIntegrationSettingsDatadog");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
integrationId UUID

Return type

GetDbaasExternalIntegrationSettingsDatadog200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
integrationId UUID

Return type

ApiResponse<GetDbaasExternalIntegrationSettingsDatadog200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasIntegration

DbaasIntegration getDbaasIntegration(id)

[BETA] Get a DBaaS Integration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DbaasIntegration result = client.getDbaasIntegration(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasIntegration");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

DbaasIntegration

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<DbaasIntegration>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasKafkaAclConfig

DbaasKafkaAcls getDbaasKafkaAclConfig(name)

Get DBaaS kafka ACL configuration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            DbaasKafkaAcls result = client.getDbaasKafkaAclConfig(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasKafkaAclConfig");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

DbaasKafkaAcls

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<DbaasKafkaAcls>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasMigrationStatus

DbaasMigrationStatus getDbaasMigrationStatus(name)

Get a DBaaS migration status

Get a DBaaS migration status

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            DbaasMigrationStatus result = client.getDbaasMigrationStatus(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasMigrationStatus");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

DbaasMigrationStatus

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<DbaasMigrationStatus>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasOpensearchAclConfig

DbaasOpensearchAclConfig getDbaasOpensearchAclConfig(name)

Get DBaaS OpenSearch ACL configuration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            DbaasOpensearchAclConfig result = client.getDbaasOpensearchAclConfig(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasOpensearchAclConfig");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

DbaasOpensearchAclConfig

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<DbaasOpensearchAclConfig>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasServiceGrafana

DbaasServiceGrafana getDbaasServiceGrafana(name)

Get a DBaaS Grafana service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            DbaasServiceGrafana result = client.getDbaasServiceGrafana(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasServiceGrafana");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

DbaasServiceGrafana

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<DbaasServiceGrafana>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasServiceKafka

DbaasServiceKafka getDbaasServiceKafka(name)

Get a DBaaS Kafka service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            DbaasServiceKafka result = client.getDbaasServiceKafka(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasServiceKafka");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

DbaasServiceKafka

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<DbaasServiceKafka>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasServiceLogs

DbaasServiceLogs getDbaasServiceLogs(serviceName, getDbaasServiceLogsRequest)

Get logs of DBaaS service

Get logs of DBaaS service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        GetDbaasServiceLogsRequest getDbaasServiceLogsRequest = new GetDbaasServiceLogsRequest(); // GetDbaasServiceLogsRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            DbaasServiceLogs result = client.getDbaasServiceLogs(serviceName, getDbaasServiceLogsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasServiceLogs");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
getDbaasServiceLogsRequest GetDbaasServiceLogsRequest

Return type

DbaasServiceLogs

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
getDbaasServiceLogsRequest GetDbaasServiceLogsRequest

Return type

ApiResponse<DbaasServiceLogs>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasServiceMetrics

GetDbaasServiceMetrics200Response getDbaasServiceMetrics(serviceName, getDbaasServiceMetricsRequest)

Get metrics of DBaaS service

Get metrics of DBaaS service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        GetDbaasServiceMetricsRequest getDbaasServiceMetricsRequest = new GetDbaasServiceMetricsRequest(); // GetDbaasServiceMetricsRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            GetDbaasServiceMetrics200Response result = client.getDbaasServiceMetrics(serviceName, getDbaasServiceMetricsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasServiceMetrics");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
getDbaasServiceMetricsRequest GetDbaasServiceMetricsRequest

Return type

GetDbaasServiceMetrics200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
getDbaasServiceMetricsRequest GetDbaasServiceMetricsRequest

Return type

ApiResponse<GetDbaasServiceMetrics200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasServiceMysql

DbaasServiceMysql getDbaasServiceMysql(name)

Get a DBaaS MySQL service

Get a DBaaS MySQL service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            DbaasServiceMysql result = client.getDbaasServiceMysql(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasServiceMysql");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

DbaasServiceMysql

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<DbaasServiceMysql>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasServiceOpensearch

DbaasServiceOpensearch getDbaasServiceOpensearch(name)

Get a DBaaS OpenSearch service

Get a DBaaS OpenSearch service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            DbaasServiceOpensearch result = client.getDbaasServiceOpensearch(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasServiceOpensearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

DbaasServiceOpensearch

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<DbaasServiceOpensearch>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasServicePg

DbaasServicePg getDbaasServicePg(name)

Get a DBaaS PostgreSQL service

Get a DBaaS PostgreSQL service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            DbaasServicePg result = client.getDbaasServicePg(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasServicePg");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

DbaasServicePg

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<DbaasServicePg>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasServiceType

DbaasServiceType getDbaasServiceType(serviceTypeName)

Get a DBaaS service type

Get a DBaaS service type

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceTypeName = "serviceTypeName_example"; // String | 

        try {
            // Invoke the API method
            DbaasServiceType result = client.getDbaasServiceType(serviceTypeName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasServiceType");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceTypeName String

Return type

DbaasServiceType

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceTypeName String

Return type

ApiResponse<DbaasServiceType>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasServiceValkey

DbaasServiceValkey getDbaasServiceValkey(name)

Get a DBaaS Valkey service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            DbaasServiceValkey result = client.getDbaasServiceValkey(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasServiceValkey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

DbaasServiceValkey

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<DbaasServiceValkey>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasSettingsGrafana

GetDbaasSettingsGrafana200Response getDbaasSettingsGrafana()

Get DBaaS Grafana settings

Get DBaaS Grafana settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            GetDbaasSettingsGrafana200Response result = client.getDbaasSettingsGrafana();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasSettingsGrafana");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

GetDbaasSettingsGrafana200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<GetDbaasSettingsGrafana200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasSettingsKafka

GetDbaasSettingsKafka200Response getDbaasSettingsKafka()

Get DBaaS Kafka settings

Get DBaaS Kafka settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            GetDbaasSettingsKafka200Response result = client.getDbaasSettingsKafka();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasSettingsKafka");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

GetDbaasSettingsKafka200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<GetDbaasSettingsKafka200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasSettingsMysql

GetDbaasSettingsMysql200Response getDbaasSettingsMysql()

Get DBaaS MySQL settings

Get DBaaS MySQL settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            GetDbaasSettingsMysql200Response result = client.getDbaasSettingsMysql();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasSettingsMysql");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

GetDbaasSettingsMysql200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<GetDbaasSettingsMysql200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasSettingsOpensearch

GetDbaasSettingsOpensearch200Response getDbaasSettingsOpensearch()

Get DBaaS OpenSearch settings

Get DBaaS OpenSearch settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            GetDbaasSettingsOpensearch200Response result = client.getDbaasSettingsOpensearch();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasSettingsOpensearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

GetDbaasSettingsOpensearch200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<GetDbaasSettingsOpensearch200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasSettingsPg

GetDbaasSettingsPg200Response getDbaasSettingsPg()

Get DBaaS PostgreSQL settings

Get DBaaS PostgreSQL settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            GetDbaasSettingsPg200Response result = client.getDbaasSettingsPg();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasSettingsPg");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

GetDbaasSettingsPg200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<GetDbaasSettingsPg200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasSettingsValkey

GetDbaasSettingsValkey200Response getDbaasSettingsValkey()

Get DBaaS Valkey settings

Returns the default settings for Valkey.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            GetDbaasSettingsValkey200Response result = client.getDbaasSettingsValkey();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasSettingsValkey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

GetDbaasSettingsValkey200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<GetDbaasSettingsValkey200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDbaasTask

DbaasTask getDbaasTask(service, id)

Get a DBaaS task

Get a DBaaS task

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String service = "service_example"; // String | 
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DbaasTask result = client.getDbaasTask(service, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDbaasTask");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
service String
id UUID

Return type

DbaasTask

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
service String
id UUID

Return type

ApiResponse<DbaasTask>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDeployTarget

DeployTarget getDeployTarget(id)

Retrieve Deploy Target details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DeployTarget result = client.getDeployTarget(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDeployTarget");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

DeployTarget

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<DeployTarget>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDnsDomain

DnsDomain getDnsDomain(id)

Retrieve DNS domain details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DnsDomain result = client.getDnsDomain(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDnsDomain");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

DnsDomain

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<DnsDomain>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDnsDomainRecord

DnsDomainRecord getDnsDomainRecord(domainId, recordId)

Retrieve DNS domain record details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID domainId = UUID.randomUUID(); // UUID | 
        UUID recordId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            DnsDomainRecord result = client.getDnsDomainRecord(domainId, recordId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDnsDomainRecord");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
domainId UUID
recordId UUID

Return type

DnsDomainRecord

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
domainId UUID
recordId UUID

Return type

ApiResponse<DnsDomainRecord>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getDnsDomainZoneFile

GetDnsDomainZoneFile200Response getDnsDomainZoneFile(id)

Retrieve DNS domain zone file

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            GetDnsDomainZoneFile200Response result = client.getDnsDomainZoneFile(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getDnsDomainZoneFile");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

GetDnsDomainZoneFile200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<GetDnsDomainZoneFile200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getElasticIp

ElasticIp getElasticIp(id)

Retrieve Elastic IP details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            ElasticIp result = client.getElasticIp(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getElasticIp");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

ElasticIp

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<ElasticIp>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getEnvImpact

GetEnvImpact200Response getEnvImpact(period)

[BETA] Retrieve organization environmental impact reports

[BETA] Returns environmental impact reports for an organization

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String period = "period_example"; // String | 

        try {
            // Invoke the API method
            GetEnvImpact200Response result = client.getEnvImpact(period);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getEnvImpact");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
period String [optional]

Return type

GetEnvImpact200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
period String [optional]

Return type

ApiResponse<GetEnvImpact200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getIamOrganizationPolicy

IamPolicy getIamOrganizationPolicy()

Retrieve IAM Organization Policy

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            IamPolicy result = client.getIamOrganizationPolicy();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getIamOrganizationPolicy");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

IamPolicy

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<IamPolicy>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getIamRole

IamRole getIamRole(id)

Retrieve IAM Role

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            IamRole result = client.getIamRole(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getIamRole");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

IamRole

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<IamRole>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getInstance

Instance getInstance(id)

Retrieve Compute instance details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Instance result = client.getInstance(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Instance

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Instance>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getInstancePool

InstancePool getInstancePool(id)

Retrieve Instance Pool details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            InstancePool result = client.getInstancePool(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getInstancePool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

InstancePool

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<InstancePool>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getInstanceType

InstanceType getInstanceType(id)

Retrieve Instance Type details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            InstanceType result = client.getInstanceType(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getInstanceType");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

InstanceType

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<InstanceType>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getLoadBalancer

LoadBalancer getLoadBalancer(id)

Retrieve Load Balancer details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            LoadBalancer result = client.getLoadBalancer(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getLoadBalancer");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

LoadBalancer

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<LoadBalancer>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getLoadBalancerService

LoadBalancerService getLoadBalancerService(id, serviceId)

Retrieve Load Balancer Service details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID serviceId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            LoadBalancerService result = client.getLoadBalancerService(id, serviceId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getLoadBalancerService");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
serviceId UUID

Return type

LoadBalancerService

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
serviceId UUID

Return type

ApiResponse<LoadBalancerService>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getOperation

Operation getOperation(id)

Retrieve Operation details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.getOperation(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getOperation");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getOrganization

Organization getOrganization()

Retrieve an organization

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            Organization result = client.getOrganization();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getOrganization");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

Organization

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<Organization>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getPrivateNetwork

PrivateNetwork getPrivateNetwork(id)

Retrieve Private Network details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            PrivateNetwork result = client.getPrivateNetwork(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getPrivateNetwork");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

PrivateNetwork

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<PrivateNetwork>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getQuota

Quota getQuota(entity)

Retrieve Resource Quota

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String entity = "entity_example"; // String | 

        try {
            // Invoke the API method
            Quota result = client.getQuota(entity);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getQuota");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
entity String

Return type

Quota

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
entity String

Return type

ApiResponse<Quota>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getReverseDnsElasticIp

ReverseDnsRecord getReverseDnsElasticIp(id)

Query the PTR DNS records for an elastic IP

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            ReverseDnsRecord result = client.getReverseDnsElasticIp(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getReverseDnsElasticIp");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

ReverseDnsRecord

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<ReverseDnsRecord>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getReverseDnsInstance

ReverseDnsRecord getReverseDnsInstance(id)

Query the PTR DNS records for an instance

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            ReverseDnsRecord result = client.getReverseDnsInstance(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getReverseDnsInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

ReverseDnsRecord

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<ReverseDnsRecord>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getSecurityGroup

SecurityGroup getSecurityGroup(id)

Retrieve Security Group details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            SecurityGroup result = client.getSecurityGroup(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getSecurityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

SecurityGroup

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<SecurityGroup>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getSksCluster

SksCluster getSksCluster(id)

Retrieve SKS cluster details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            SksCluster result = client.getSksCluster(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getSksCluster");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

SksCluster

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<SksCluster>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getSksClusterAuthorityCert

GetSksClusterAuthorityCert200Response getSksClusterAuthorityCert(id, authority)

Get the certificate for a SKS cluster authority

This operation returns the certificate for the given SKS cluster authority encoded in base64.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        String authority = "control-plane"; // String | 

        try {
            // Invoke the API method
            GetSksClusterAuthorityCert200Response result = client.getSksClusterAuthorityCert(id, authority);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getSksClusterAuthorityCert");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
authority String [enum: control-plane, aggregation, kubelet]

Return type

GetSksClusterAuthorityCert200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
authority String [enum: control-plane, aggregation, kubelet]

Return type

ApiResponse<GetSksClusterAuthorityCert200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getSksClusterInspection

Map<String, Object> getSksClusterInspection(id)

Get the latest inspection result

Helps troubleshoot common problems when deploying a kubernetes cluster. Inspections run every couple of minutes.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Map<String, Object> result = client.getSksClusterInspection(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getSksClusterInspection");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Map<String, Object>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Map<String, Object>>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getSksNodepool

SksNodepool getSksNodepool(id, sksNodepoolId)

Retrieve SKS Nodepool details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID sksNodepoolId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            SksNodepool result = client.getSksNodepool(id, sksNodepoolId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getSksNodepool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID

Return type

SksNodepool

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID

Return type

ApiResponse<SksNodepool>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getSnapshot

Snapshot getSnapshot(id)

Retrieve Snapshot details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Snapshot result = client.getSnapshot(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getSnapshot");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Snapshot

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Snapshot>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getSosPresignedUrl

GetSosPresignedUrl200Response getSosPresignedUrl(bucket, key)

Retrieve Presigned Download URL for SOS object

Generates Presigned Download URL for SOS object

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String bucket = "bucket_example"; // String | 
        String key = "key_example"; // String | 

        try {
            // Invoke the API method
            GetSosPresignedUrl200Response result = client.getSosPresignedUrl(bucket, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getSosPresignedUrl");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bucket String
key String [optional]

Return type

GetSosPresignedUrl200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
bucket String
key String [optional]

Return type

ApiResponse<GetSosPresignedUrl200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getSshKey

SshKey getSshKey(name)

Retrieve SSH key details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            SshKey result = client.getSshKey(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getSshKey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

SshKey

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<SshKey>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getTemplate

Template getTemplate(id)

Retrieve Template details

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Template result = client.getTemplate(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getTemplate");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Template

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Template>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

getUsageReport

GetUsageReport200Response getUsageReport(period)

Retrieve organization usage reports

Returns aggregated usage reports for an organization

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String period = "period_example"; // String | 

        try {
            // Invoke the API method
            GetUsageReport200Response result = client.getUsageReport(period);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#getUsageReport");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
period String [optional]

Return type

GetUsageReport200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
period String [optional]

Return type

ApiResponse<GetUsageReport200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listAntiAffinityGroups

ListAntiAffinityGroups200Response listAntiAffinityGroups()

List Anti-affinity Groups

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListAntiAffinityGroups200Response result = client.listAntiAffinityGroups();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listAntiAffinityGroups");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListAntiAffinityGroups200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListAntiAffinityGroups200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listApiKeys

ListApiKeys200Response listApiKeys()

List API keys

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListApiKeys200Response result = client.listApiKeys();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listApiKeys");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListApiKeys200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListApiKeys200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listBlockStorageSnapshots

ListBlockStorageSnapshots200Response listBlockStorageSnapshots()

List block storage snapshots

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListBlockStorageSnapshots200Response result = client.listBlockStorageSnapshots();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listBlockStorageSnapshots");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListBlockStorageSnapshots200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListBlockStorageSnapshots200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listBlockStorageVolumes

ListBlockStorageVolumes200Response listBlockStorageVolumes(instanceId)

List block storage volumes

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID instanceId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            ListBlockStorageVolumes200Response result = client.listBlockStorageVolumes(instanceId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listBlockStorageVolumes");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
instanceId UUID [optional]

Return type

ListBlockStorageVolumes200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
instanceId UUID [optional]

Return type

ApiResponse<ListBlockStorageVolumes200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listDbaasExternalEndpointTypes

ListDbaasExternalEndpointTypes200Response listDbaasExternalEndpointTypes()

[BETA] List available external endpoint types and their schemas for DBaaS external integrations

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListDbaasExternalEndpointTypes200Response result = client.listDbaasExternalEndpointTypes();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listDbaasExternalEndpointTypes");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListDbaasExternalEndpointTypes200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListDbaasExternalEndpointTypes200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listDbaasExternalEndpoints

ListDbaasExternalEndpoints200Response listDbaasExternalEndpoints()

[BETA] List available external endpoints for integrations

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListDbaasExternalEndpoints200Response result = client.listDbaasExternalEndpoints();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listDbaasExternalEndpoints");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListDbaasExternalEndpoints200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListDbaasExternalEndpoints200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listDbaasExternalIntegrations

ListDbaasExternalIntegrations200Response listDbaasExternalIntegrations(serviceName)

[BETA] List all DBaaS connections between services and external endpoints

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 

        try {
            // Invoke the API method
            ListDbaasExternalIntegrations200Response result = client.listDbaasExternalIntegrations(serviceName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listDbaasExternalIntegrations");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String

Return type

ListDbaasExternalIntegrations200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String

Return type

ApiResponse<ListDbaasExternalIntegrations200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listDbaasIntegrationSettings

ListDbaasIntegrationSettings200Response listDbaasIntegrationSettings(integrationType, sourceType, destType)

[BETA] Get DBaaS integration settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String integrationType = "integrationType_example"; // String | 
        String sourceType = "sourceType_example"; // String | 
        String destType = "destType_example"; // String | 

        try {
            // Invoke the API method
            ListDbaasIntegrationSettings200Response result = client.listDbaasIntegrationSettings(integrationType, sourceType, destType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listDbaasIntegrationSettings");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
integrationType String
sourceType String
destType String

Return type

ListDbaasIntegrationSettings200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
integrationType String
sourceType String
destType String

Return type

ApiResponse<ListDbaasIntegrationSettings200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listDbaasIntegrationTypes

ListDbaasIntegrationTypes200Response listDbaasIntegrationTypes()

[BETA] Get DBaaS integration types

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListDbaasIntegrationTypes200Response result = client.listDbaasIntegrationTypes();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listDbaasIntegrationTypes");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListDbaasIntegrationTypes200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListDbaasIntegrationTypes200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listDbaasServiceTypes

ListDbaasServiceTypes200Response listDbaasServiceTypes()

DBaaS Service Types

List available service types for DBaaS

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListDbaasServiceTypes200Response result = client.listDbaasServiceTypes();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listDbaasServiceTypes");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListDbaasServiceTypes200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListDbaasServiceTypes200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listDbaasServices

ListDbaasServices200Response listDbaasServices()

List DBaaS services

List DBaaS services

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListDbaasServices200Response result = client.listDbaasServices();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listDbaasServices");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListDbaasServices200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListDbaasServices200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listDeployTargets

ListDeployTargets200Response listDeployTargets()

List Deploy Targets

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListDeployTargets200Response result = client.listDeployTargets();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listDeployTargets");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListDeployTargets200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListDeployTargets200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listDnsDomainRecords

ListDnsDomainRecords200Response listDnsDomainRecords(domainId)

List DNS domain records

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID domainId = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            ListDnsDomainRecords200Response result = client.listDnsDomainRecords(domainId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listDnsDomainRecords");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
domainId UUID

Return type

ListDnsDomainRecords200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
domainId UUID

Return type

ApiResponse<ListDnsDomainRecords200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listDnsDomains

ListDnsDomains200Response listDnsDomains()

List DNS domains

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListDnsDomains200Response result = client.listDnsDomains();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listDnsDomains");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListDnsDomains200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListDnsDomains200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listElasticIps

ListElasticIps200Response listElasticIps()

List Elastic IPs

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListElasticIps200Response result = client.listElasticIps();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listElasticIps");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListElasticIps200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListElasticIps200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listEvents

List listEvents(from, to)

List Events

Retrieve Mutation Events for a given date range. Defaults to retrieving Events for the past 24 hours. Both a `from` and `to` arguments can be specified to filter Events over a specific period. Events will be the the most descriptive possible but not all fields are mandatory

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        OffsetDateTime from = OffsetDateTime.now(); // OffsetDateTime |  please add at least all the required fields
        OffsetDateTime to = OffsetDateTime.now(); // OffsetDateTime |  please add at least all the required fields

        try {
            // Invoke the API method
            List<Event> result = client.listEvents(from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listEvents");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
from OffsetDateTime [optional]
to OffsetDateTime [optional]

Return type

List<Event>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
from OffsetDateTime [optional]
to OffsetDateTime [optional]

Return type

ApiResponse<List<Event>>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listIamRoles

ListIamRoles200Response listIamRoles()

List IAM Roles

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListIamRoles200Response result = client.listIamRoles();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listIamRoles");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListIamRoles200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListIamRoles200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listInstancePools

ListInstancePools200Response listInstancePools()

List Instance Pools

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListInstancePools200Response result = client.listInstancePools();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listInstancePools");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListInstancePools200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListInstancePools200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listInstanceTypes

ListInstanceTypes200Response listInstanceTypes()

List Compute instance Types

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListInstanceTypes200Response result = client.listInstanceTypes();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listInstanceTypes");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListInstanceTypes200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListInstanceTypes200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listInstances

ListInstances200Response listInstances(managerId, managerType, ipAddress)

List Compute instances

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID managerId = UUID.randomUUID(); // UUID | 
        String managerType = "instance-pool"; // String | 
        String ipAddress = "ipAddress_example"; // String | 

        try {
            // Invoke the API method
            ListInstances200Response result = client.listInstances(managerId, managerType, ipAddress);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listInstances");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
managerId UUID [optional]
managerType String [optional] [enum: instance-pool]
ipAddress String [optional]

Return type

ListInstances200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
managerId UUID [optional]
managerType String [optional] [enum: instance-pool]
ipAddress String [optional]

Return type

ApiResponse<ListInstances200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listLoadBalancers

ListLoadBalancers200Response listLoadBalancers()

List Load Balancers

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListLoadBalancers200Response result = client.listLoadBalancers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listLoadBalancers");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListLoadBalancers200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListLoadBalancers200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listPrivateNetworks

ListPrivateNetworks200Response listPrivateNetworks()

List Private Networks

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListPrivateNetworks200Response result = client.listPrivateNetworks();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listPrivateNetworks");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListPrivateNetworks200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListPrivateNetworks200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listQuotas

ListQuotas200Response listQuotas()

List Organization Quotas

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListQuotas200Response result = client.listQuotas();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listQuotas");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListQuotas200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListQuotas200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listSecurityGroups

ListSecurityGroups200Response listSecurityGroups(visibility)

List Security Groups.

Lists security groups. When visibility is set to public, lists public security groups. Public security groups are objects maintained by Exoscale which contain source addresses for relevant services hosted by Exoscale. They can be used a source in ingress rules and as a destination in egress rules.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String visibility = "private"; // String | 

        try {
            // Invoke the API method
            ListSecurityGroups200Response result = client.listSecurityGroups(visibility);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listSecurityGroups");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
visibility String [optional] [enum: private, public]

Return type

ListSecurityGroups200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
visibility String [optional] [enum: private, public]

Return type

ApiResponse<ListSecurityGroups200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listSksClusterDeprecatedResources

List listSksClusterDeprecatedResources(id)

Resources that are scheduled to be removed in future kubernetes releases

This operation returns the deprecated resources for a given cluster

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            List<SksClusterDeprecatedResource> result = client.listSksClusterDeprecatedResources(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listSksClusterDeprecatedResources");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

List<SksClusterDeprecatedResource>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<List<SksClusterDeprecatedResource>>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listSksClusterVersions

ListSksClusterVersions200Response listSksClusterVersions(includeDeprecated)

List available versions for SKS clusters

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String includeDeprecated = "includeDeprecated_example"; // String | 

        try {
            // Invoke the API method
            ListSksClusterVersions200Response result = client.listSksClusterVersions(includeDeprecated);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listSksClusterVersions");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
includeDeprecated String [optional]

Return type

ListSksClusterVersions200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
includeDeprecated String [optional]

Return type

ApiResponse<ListSksClusterVersions200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listSksClusters

ListSksClusters200Response listSksClusters()

List SKS clusters

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListSksClusters200Response result = client.listSksClusters();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listSksClusters");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListSksClusters200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListSksClusters200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listSnapshots

ListSnapshots200Response listSnapshots()

List Snapshots

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListSnapshots200Response result = client.listSnapshots();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listSnapshots");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListSnapshots200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListSnapshots200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listSosBucketsUsage

ListSosBucketsUsage200Response listSosBucketsUsage()

List SOS Buckets Usage

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListSosBucketsUsage200Response result = client.listSosBucketsUsage();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listSosBucketsUsage");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListSosBucketsUsage200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListSosBucketsUsage200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listSshKeys

ListSshKeys200Response listSshKeys()

List SSH keys

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListSshKeys200Response result = client.listSshKeys();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listSshKeys");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListSshKeys200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListSshKeys200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listTemplates

ListTemplates200Response listTemplates(visibility, family)

List Templates

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String visibility = "private"; // String | 
        String family = "family_example"; // String | 

        try {
            // Invoke the API method
            ListTemplates200Response result = client.listTemplates(visibility, family);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listTemplates");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
visibility String [optional] [enum: private, public]
family String [optional]

Return type

ListTemplates200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
visibility String [optional] [enum: private, public]
family String [optional]

Return type

ApiResponse<ListTemplates200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listUsers

ListUsers200Response listUsers()

List Users

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListUsers200Response result = client.listUsers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listUsers");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListUsers200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListUsers200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

listZones

ListZones200Response listZones()

List Zones

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            ListZones200Response result = client.listZones();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#listZones");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListZones200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<ListZones200Response>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

promoteSnapshotToTemplate

Operation promoteSnapshotToTemplate(id, promoteSnapshotToTemplateRequest)

Promote a Snapshot to a Template

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        PromoteSnapshotToTemplateRequest promoteSnapshotToTemplateRequest = new PromoteSnapshotToTemplateRequest(); // PromoteSnapshotToTemplateRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.promoteSnapshotToTemplate(id, promoteSnapshotToTemplateRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#promoteSnapshotToTemplate");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
promoteSnapshotToTemplateRequest PromoteSnapshotToTemplateRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
promoteSnapshotToTemplateRequest PromoteSnapshotToTemplateRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

rebootInstance

Operation rebootInstance(id)

Reboot a Compute instance

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.rebootInstance(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#rebootInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

registerSshKey

Operation registerSshKey(registerSshKeyRequest)

Import SSH key

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        RegisterSshKeyRequest registerSshKeyRequest = new RegisterSshKeyRequest(); // RegisterSshKeyRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.registerSshKey(registerSshKeyRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#registerSshKey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
registerSshKeyRequest RegisterSshKeyRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
registerSshKeyRequest RegisterSshKeyRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

registerTemplate

Operation registerTemplate(registerTemplateRequest)

Register a Template

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        RegisterTemplateRequest registerTemplateRequest = new RegisterTemplateRequest(); // RegisterTemplateRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.registerTemplate(registerTemplateRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#registerTemplate");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
registerTemplateRequest RegisterTemplateRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
registerTemplateRequest RegisterTemplateRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

removeExternalSourceFromSecurityGroup

Operation removeExternalSourceFromSecurityGroup(id, removeExternalSourceFromSecurityGroupRequest)

Remove an external source from a Security Group

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        RemoveExternalSourceFromSecurityGroupRequest removeExternalSourceFromSecurityGroupRequest = new RemoveExternalSourceFromSecurityGroupRequest(); // RemoveExternalSourceFromSecurityGroupRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.removeExternalSourceFromSecurityGroup(id, removeExternalSourceFromSecurityGroupRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#removeExternalSourceFromSecurityGroup");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
removeExternalSourceFromSecurityGroupRequest RemoveExternalSourceFromSecurityGroupRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
removeExternalSourceFromSecurityGroupRequest RemoveExternalSourceFromSecurityGroupRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

removeInstanceProtection

Operation removeInstanceProtection(id)

Remove instance destruction protection

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.removeInstanceProtection(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#removeInstanceProtection");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetDbaasGrafanaUserPassword

Operation resetDbaasGrafanaUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest)

Reset the credentials of a DBaaS Grafana user

If no password is provided one will be generated automatically.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 
        ResetDbaasValkeyUserPasswordRequest resetDbaasValkeyUserPasswordRequest = new ResetDbaasValkeyUserPasswordRequest(); // ResetDbaasValkeyUserPasswordRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.resetDbaasGrafanaUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetDbaasGrafanaUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasValkeyUserPasswordRequest ResetDbaasValkeyUserPasswordRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasValkeyUserPasswordRequest ResetDbaasValkeyUserPasswordRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetDbaasKafkaUserPassword

Operation resetDbaasKafkaUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest)

Reset the credentials of a DBaaS Kafka user

If no password is provided one will be generated automatically.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 
        ResetDbaasValkeyUserPasswordRequest resetDbaasValkeyUserPasswordRequest = new ResetDbaasValkeyUserPasswordRequest(); // ResetDbaasValkeyUserPasswordRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.resetDbaasKafkaUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetDbaasKafkaUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasValkeyUserPasswordRequest ResetDbaasValkeyUserPasswordRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasValkeyUserPasswordRequest ResetDbaasValkeyUserPasswordRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetDbaasMysqlUserPassword

Operation resetDbaasMysqlUserPassword(serviceName, username, resetDbaasMysqlUserPasswordRequest)

Reset the credentials of a DBaaS mysql user

If no password is provided one will be generated automatically.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 
        ResetDbaasMysqlUserPasswordRequest resetDbaasMysqlUserPasswordRequest = new ResetDbaasMysqlUserPasswordRequest(); // ResetDbaasMysqlUserPasswordRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.resetDbaasMysqlUserPassword(serviceName, username, resetDbaasMysqlUserPasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetDbaasMysqlUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasMysqlUserPasswordRequest ResetDbaasMysqlUserPasswordRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasMysqlUserPasswordRequest ResetDbaasMysqlUserPasswordRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetDbaasOpensearchUserPassword

Operation resetDbaasOpensearchUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest)

Reset the credentials of a DBaaS OpenSearch user

If no password is provided one will be generated automatically.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 
        ResetDbaasValkeyUserPasswordRequest resetDbaasValkeyUserPasswordRequest = new ResetDbaasValkeyUserPasswordRequest(); // ResetDbaasValkeyUserPasswordRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.resetDbaasOpensearchUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetDbaasOpensearchUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasValkeyUserPasswordRequest ResetDbaasValkeyUserPasswordRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasValkeyUserPasswordRequest ResetDbaasValkeyUserPasswordRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetDbaasPostgresUserPassword

Operation resetDbaasPostgresUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest)

Reset the credentials of a DBaaS Postgres user

If no password is provided one will be generated automatically.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 
        ResetDbaasValkeyUserPasswordRequest resetDbaasValkeyUserPasswordRequest = new ResetDbaasValkeyUserPasswordRequest(); // ResetDbaasValkeyUserPasswordRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.resetDbaasPostgresUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetDbaasPostgresUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasValkeyUserPasswordRequest ResetDbaasValkeyUserPasswordRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasValkeyUserPasswordRequest ResetDbaasValkeyUserPasswordRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetDbaasValkeyUserPassword

Operation resetDbaasValkeyUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest)

Reset the credentials of a DBaaS Valkey user

If no password is provided one will be generated automatically.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 
        ResetDbaasValkeyUserPasswordRequest resetDbaasValkeyUserPasswordRequest = new ResetDbaasValkeyUserPasswordRequest(); // ResetDbaasValkeyUserPasswordRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.resetDbaasValkeyUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetDbaasValkeyUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasValkeyUserPasswordRequest ResetDbaasValkeyUserPasswordRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String
resetDbaasValkeyUserPasswordRequest ResetDbaasValkeyUserPasswordRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetElasticIpField

Operation resetElasticIpField(id, field)

Reset an Elastic IP field to its default value

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        String field = "description"; // String | 

        try {
            // Invoke the API method
            Operation result = client.resetElasticIpField(id, field);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetElasticIpField");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
field String [enum: description]

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
field String [enum: description]

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetIamOrganizationPolicy

Operation resetIamOrganizationPolicy()

Reset IAM Organization Policy

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));

        try {
            // Invoke the API method
            Operation result = client.resetIamOrganizationPolicy();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetIamOrganizationPolicy");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetInstance

Operation resetInstance(id, resetInstanceRequest)

Reset a Compute instance to a base/target template

This operation re-installs a Compute instance to a base template. If target template is provided it will be used to recreated instance from. Warning: the operation wipes all data stored on the disk.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        ResetInstanceRequest resetInstanceRequest = new ResetInstanceRequest(); // ResetInstanceRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.resetInstance(id, resetInstanceRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
resetInstanceRequest ResetInstanceRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
resetInstanceRequest ResetInstanceRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetInstanceField

Operation resetInstanceField(id, field)

Reset Instance field

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        String field = "labels"; // String | 

        try {
            // Invoke the API method
            Operation result = client.resetInstanceField(id, field);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetInstanceField");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
field String [enum: labels]

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
field String [enum: labels]

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetInstancePassword

Operation resetInstancePassword(id)

Reset a compute instance password

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.resetInstancePassword(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetInstancePassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetInstancePoolField

Operation resetInstancePoolField(id, field)

Reset an Instance Pool field to its default value

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        String field = "anti-affinity-groups"; // String | 

        try {
            // Invoke the API method
            Operation result = client.resetInstancePoolField(id, field);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetInstancePoolField");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
field String [enum: anti-affinity-groups, description, labels, security-groups, elastic-ips, private-networks, ssh-key, user-data, deploy-target, ipv6-enabled]

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
field String [enum: anti-affinity-groups, description, labels, security-groups, elastic-ips, private-networks, ssh-key, user-data, deploy-target, ipv6-enabled]

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetLoadBalancerField

Operation resetLoadBalancerField(id, field)

Reset a Load Balancer field to its default value

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        String field = "description"; // String | 

        try {
            // Invoke the API method
            Operation result = client.resetLoadBalancerField(id, field);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetLoadBalancerField");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
field String [enum: description, labels]

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
field String [enum: description, labels]

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetLoadBalancerServiceField

Operation resetLoadBalancerServiceField(id, serviceId, field)

Reset a Load Balancer Service field to its default value

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID serviceId = UUID.randomUUID(); // UUID | 
        String field = "description"; // String | 

        try {
            // Invoke the API method
            Operation result = client.resetLoadBalancerServiceField(id, serviceId, field);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetLoadBalancerServiceField");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
serviceId UUID
field String [enum: description]

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
serviceId UUID
field String [enum: description]

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetPrivateNetworkField

Operation resetPrivateNetworkField(id, field)

Reset Private Network field

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        String field = "labels"; // String | 

        try {
            // Invoke the API method
            Operation result = client.resetPrivateNetworkField(id, field);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetPrivateNetworkField");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
field String [enum: labels]

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
field String [enum: labels]

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetSksClusterField

Operation resetSksClusterField(id, field)

Reset an SKS cluster field to its default value

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        String field = "description"; // String | 

        try {
            // Invoke the API method
            Operation result = client.resetSksClusterField(id, field);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetSksClusterField");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
field String [enum: description, labels]

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
field String [enum: description, labels]

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resetSksNodepoolField

Operation resetSksNodepoolField(id, sksNodepoolId, field)

Reset an SKS Nodepool field to its default value

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID sksNodepoolId = UUID.randomUUID(); // UUID | 
        String field = "anti-affinity-groups"; // String | 

        try {
            // Invoke the API method
            Operation result = client.resetSksNodepoolField(id, sksNodepoolId, field);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resetSksNodepoolField");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID
field String [enum: anti-affinity-groups, description, labels, security-groups, private-networks, deploy-target]

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID
field String [enum: anti-affinity-groups, description, labels, security-groups, private-networks, deploy-target]

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resizeBlockStorageVolume

BlockStorageVolume resizeBlockStorageVolume(id, resizeBlockStorageVolumeRequest)

Resize a block storage volume

This operation resizes a Block storage volume. Note: the volume can only grow, cannot be shrunk. Only detached volumes or volumes attached to stopped instances can be resized.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        ResizeBlockStorageVolumeRequest resizeBlockStorageVolumeRequest = new ResizeBlockStorageVolumeRequest(); // ResizeBlockStorageVolumeRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            BlockStorageVolume result = client.resizeBlockStorageVolume(id, resizeBlockStorageVolumeRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resizeBlockStorageVolume");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
resizeBlockStorageVolumeRequest ResizeBlockStorageVolumeRequest

Return type

BlockStorageVolume

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
resizeBlockStorageVolumeRequest ResizeBlockStorageVolumeRequest

Return type

ApiResponse<BlockStorageVolume>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

resizeInstanceDisk

Operation resizeInstanceDisk(id, resizeInstanceDiskRequest)

Resize a Compute instance disk

This operation resizes a Compute instance's disk volume. Note: the disk can only grow, cannot be shrunk.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        ResizeInstanceDiskRequest resizeInstanceDiskRequest = new ResizeInstanceDiskRequest(); // ResizeInstanceDiskRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.resizeInstanceDisk(id, resizeInstanceDiskRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#resizeInstanceDisk");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
resizeInstanceDiskRequest ResizeInstanceDiskRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
resizeInstanceDiskRequest ResizeInstanceDiskRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

revealDbaasGrafanaUserPassword

DbaasUserGrafanaSecrets revealDbaasGrafanaUserPassword(serviceName, username)

Reveal the secrets of a DBaaS Grafana user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            DbaasUserGrafanaSecrets result = client.revealDbaasGrafanaUserPassword(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#revealDbaasGrafanaUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

DbaasUserGrafanaSecrets

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<DbaasUserGrafanaSecrets>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

revealDbaasKafkaConnectPassword

DbaasUserKafkaConnectSecrets revealDbaasKafkaConnectPassword(serviceName)

Reveal the secrets for DBaaS Kafka Connect

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 

        try {
            // Invoke the API method
            DbaasUserKafkaConnectSecrets result = client.revealDbaasKafkaConnectPassword(serviceName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#revealDbaasKafkaConnectPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String

Return type

DbaasUserKafkaConnectSecrets

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String

Return type

ApiResponse<DbaasUserKafkaConnectSecrets>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

revealDbaasKafkaUserPassword

DbaasUserKafkaSecrets revealDbaasKafkaUserPassword(serviceName, username)

Reveal the secrets of a DBaaS Kafka user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            DbaasUserKafkaSecrets result = client.revealDbaasKafkaUserPassword(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#revealDbaasKafkaUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

DbaasUserKafkaSecrets

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<DbaasUserKafkaSecrets>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

revealDbaasMysqlUserPassword

DbaasUserMysqlSecrets revealDbaasMysqlUserPassword(serviceName, username)

Reveal the secrets of a DBaaS MySQL user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            DbaasUserMysqlSecrets result = client.revealDbaasMysqlUserPassword(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#revealDbaasMysqlUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

DbaasUserMysqlSecrets

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<DbaasUserMysqlSecrets>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

revealDbaasOpensearchUserPassword

DbaasUserOpensearchSecrets revealDbaasOpensearchUserPassword(serviceName, username)

Reveal the secrets of a DBaaS OpenSearch user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            DbaasUserOpensearchSecrets result = client.revealDbaasOpensearchUserPassword(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#revealDbaasOpensearchUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

DbaasUserOpensearchSecrets

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<DbaasUserOpensearchSecrets>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

revealDbaasPostgresUserPassword

DbaasUserPostgresSecrets revealDbaasPostgresUserPassword(serviceName, username)

Reveal the secrets of a DBaaS Postgres user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            DbaasUserPostgresSecrets result = client.revealDbaasPostgresUserPassword(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#revealDbaasPostgresUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

DbaasUserPostgresSecrets

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<DbaasUserPostgresSecrets>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

revealDbaasValkeyUserPassword

DbaasUserValkeySecrets revealDbaasValkeyUserPassword(serviceName, username)

Reveal the secrets of a DBaaS Valkey user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 

        try {
            // Invoke the API method
            DbaasUserValkeySecrets result = client.revealDbaasValkeyUserPassword(serviceName, username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#revealDbaasValkeyUserPassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String

Return type

DbaasUserValkeySecrets

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String

Return type

ApiResponse<DbaasUserValkeySecrets>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

revealInstancePassword

InstancePassword revealInstancePassword(id)

Reveal the password used during instance creation or the latest password reset.

Reveal the password used during instance creation or the latest password reset. This is only available for VMs created against templates having the `password-enabled` property set to `true`. Passwords are transiently stored for at most 24 hours and intended to be retrieved shortly after creation or resets.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            InstancePassword result = client.revealInstancePassword(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#revealInstancePassword");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

InstancePassword

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<InstancePassword>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

revertInstanceToSnapshot

Operation revertInstanceToSnapshot(instanceId, revertInstanceToSnapshotRequest)

Revert a snapshot for an instance

This operation reverts the snapshot to the Compute instance volume, restoring stored data as it was at the time of the snapshot. The Compute instance must be previously stopped.

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID instanceId = UUID.randomUUID(); // UUID | 
        RevertInstanceToSnapshotRequest revertInstanceToSnapshotRequest = new RevertInstanceToSnapshotRequest(); // RevertInstanceToSnapshotRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.revertInstanceToSnapshot(instanceId, revertInstanceToSnapshotRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#revertInstanceToSnapshot");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
instanceId UUID
revertInstanceToSnapshotRequest RevertInstanceToSnapshotRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
instanceId UUID
revertInstanceToSnapshotRequest RevertInstanceToSnapshotRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

rotateSksCcmCredentials

Operation rotateSksCcmCredentials(id)

Rotate Exoscale CCM credentials

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.rotateSksCcmCredentials(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#rotateSksCcmCredentials");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

rotateSksCsiCredentials

Operation rotateSksCsiCredentials(id)

Rotate Exoscale CSI credentials

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.rotateSksCsiCredentials(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#rotateSksCsiCredentials");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

rotateSksOperatorsCa

Operation rotateSksOperatorsCa(id)

Rotate operators certificate authority

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.rotateSksOperatorsCa(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#rotateSksOperatorsCa");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

scaleInstance

Operation scaleInstance(id, scaleInstanceRequest)

Scale a Compute instance to a new Instance Type

This operation changes the Compute instance's type. Note: the new Instance Type must be within the same family (e.g. a standard instance cannot be scaled to gpu2 or storage).

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        ScaleInstanceRequest scaleInstanceRequest = new ScaleInstanceRequest(); // ScaleInstanceRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.scaleInstance(id, scaleInstanceRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#scaleInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
scaleInstanceRequest ScaleInstanceRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
scaleInstanceRequest ScaleInstanceRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

scaleInstancePool

Operation scaleInstancePool(id, scaleInstancePoolRequest)

Scale an Instance Pool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        ScaleInstancePoolRequest scaleInstancePoolRequest = new ScaleInstancePoolRequest(); // ScaleInstancePoolRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.scaleInstancePool(id, scaleInstancePoolRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#scaleInstancePool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
scaleInstancePoolRequest ScaleInstancePoolRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
scaleInstancePoolRequest ScaleInstancePoolRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

scaleSksNodepool

Operation scaleSksNodepool(id, sksNodepoolId, scaleSksNodepoolRequest)

Scale a SKS Nodepool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID sksNodepoolId = UUID.randomUUID(); // UUID | 
        ScaleSksNodepoolRequest scaleSksNodepoolRequest = new ScaleSksNodepoolRequest(); // ScaleSksNodepoolRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.scaleSksNodepool(id, sksNodepoolId, scaleSksNodepoolRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#scaleSksNodepool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID
scaleSksNodepoolRequest ScaleSksNodepoolRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID
scaleSksNodepoolRequest ScaleSksNodepoolRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

startDbaasGrafanaMaintenance

Operation startDbaasGrafanaMaintenance(name)

Initiate Grafana maintenance update

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.startDbaasGrafanaMaintenance(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#startDbaasGrafanaMaintenance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

startDbaasKafkaMaintenance

Operation startDbaasKafkaMaintenance(name)

Initiate Kafka maintenance update

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.startDbaasKafkaMaintenance(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#startDbaasKafkaMaintenance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

startDbaasMysqlMaintenance

Operation startDbaasMysqlMaintenance(name)

Initiate MySQL maintenance update

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.startDbaasMysqlMaintenance(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#startDbaasMysqlMaintenance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

startDbaasOpensearchMaintenance

Operation startDbaasOpensearchMaintenance(name)

Initiate OpenSearch maintenance update

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.startDbaasOpensearchMaintenance(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#startDbaasOpensearchMaintenance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

startDbaasPgMaintenance

Operation startDbaasPgMaintenance(name)

Initiate PostgreSQL maintenance update

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.startDbaasPgMaintenance(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#startDbaasPgMaintenance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

startDbaasValkeyMaintenance

Operation startDbaasValkeyMaintenance(name)

Initiate Valkey maintenance update

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.startDbaasValkeyMaintenance(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#startDbaasValkeyMaintenance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

startInstance

Operation startInstance(id, startInstanceRequest)

Start a Compute instance

This operation starts a virtual machine, potentially using a rescue profile if specified

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        StartInstanceRequest startInstanceRequest = new StartInstanceRequest(); // StartInstanceRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.startInstance(id, startInstanceRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#startInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
startInstanceRequest StartInstanceRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
startInstanceRequest StartInstanceRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

stopDbaasMysqlMigration

Operation stopDbaasMysqlMigration(name)

Stop a DBaaS MySQL migration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.stopDbaasMysqlMigration(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#stopDbaasMysqlMigration");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

stopDbaasPgMigration

Operation stopDbaasPgMigration(name)

Stop a DBaaS PostgreSQL migration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.stopDbaasPgMigration(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#stopDbaasPgMigration");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

stopDbaasValkeyMigration

Operation stopDbaasValkeyMigration(name)

Stop a DBaaS Valkey migration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 

        try {
            // Invoke the API method
            Operation result = client.stopDbaasValkeyMigration(name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#stopDbaasValkeyMigration");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

stopInstance

Operation stopInstance(id)

Stop a Compute instance

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.stopInstance(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#stopInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateBlockStorageSnapshot

Operation updateBlockStorageSnapshot(id, updateBlockStorageSnapshotRequest)

Update block storage volume snapshot

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateBlockStorageSnapshotRequest updateBlockStorageSnapshotRequest = new UpdateBlockStorageSnapshotRequest(); // UpdateBlockStorageSnapshotRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateBlockStorageSnapshot(id, updateBlockStorageSnapshotRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateBlockStorageSnapshot");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateBlockStorageSnapshotRequest UpdateBlockStorageSnapshotRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateBlockStorageSnapshotRequest UpdateBlockStorageSnapshotRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateBlockStorageVolume

Operation updateBlockStorageVolume(id, updateBlockStorageVolumeRequest)

Update block storage volume

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateBlockStorageVolumeRequest updateBlockStorageVolumeRequest = new UpdateBlockStorageVolumeRequest(); // UpdateBlockStorageVolumeRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateBlockStorageVolume(id, updateBlockStorageVolumeRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateBlockStorageVolume");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateBlockStorageVolumeRequest UpdateBlockStorageVolumeRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateBlockStorageVolumeRequest UpdateBlockStorageVolumeRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasExternalEndpointDatadog

Operation updateDbaasExternalEndpointDatadog(endpointId, dbaasEndpointDatadogInputUpdate)

[BETA] Update DataDog external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 
        DbaasEndpointDatadogInputUpdate dbaasEndpointDatadogInputUpdate = new DbaasEndpointDatadogInputUpdate(); // DbaasEndpointDatadogInputUpdate |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasExternalEndpointDatadog(endpointId, dbaasEndpointDatadogInputUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasExternalEndpointDatadog");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID
dbaasEndpointDatadogInputUpdate DbaasEndpointDatadogInputUpdate

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID
dbaasEndpointDatadogInputUpdate DbaasEndpointDatadogInputUpdate

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasExternalEndpointElasticsearch

Operation updateDbaasExternalEndpointElasticsearch(endpointId, dbaasEndpointElasticsearchInputUpdate)

[BETA] Update ElasticSearch Logs external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 
        DbaasEndpointElasticsearchInputUpdate dbaasEndpointElasticsearchInputUpdate = new DbaasEndpointElasticsearchInputUpdate(); // DbaasEndpointElasticsearchInputUpdate |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasExternalEndpointElasticsearch(endpointId, dbaasEndpointElasticsearchInputUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasExternalEndpointElasticsearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID
dbaasEndpointElasticsearchInputUpdate DbaasEndpointElasticsearchInputUpdate

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID
dbaasEndpointElasticsearchInputUpdate DbaasEndpointElasticsearchInputUpdate

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasExternalEndpointOpensearch

Operation updateDbaasExternalEndpointOpensearch(endpointId, dbaasEndpointOpensearchInputUpdate)

[BETA] Update OpenSearch Logs external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 
        DbaasEndpointOpensearchInputUpdate dbaasEndpointOpensearchInputUpdate = new DbaasEndpointOpensearchInputUpdate(); // DbaasEndpointOpensearchInputUpdate |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasExternalEndpointOpensearch(endpointId, dbaasEndpointOpensearchInputUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasExternalEndpointOpensearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID
dbaasEndpointOpensearchInputUpdate DbaasEndpointOpensearchInputUpdate

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID
dbaasEndpointOpensearchInputUpdate DbaasEndpointOpensearchInputUpdate

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasExternalEndpointPrometheus

Operation updateDbaasExternalEndpointPrometheus(endpointId, dbaasEndpointPrometheusPayload)

[BETA] Update Prometheus external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 
        DbaasEndpointPrometheusPayload dbaasEndpointPrometheusPayload = new DbaasEndpointPrometheusPayload(); // DbaasEndpointPrometheusPayload |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasExternalEndpointPrometheus(endpointId, dbaasEndpointPrometheusPayload);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasExternalEndpointPrometheus");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID
dbaasEndpointPrometheusPayload DbaasEndpointPrometheusPayload

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID
dbaasEndpointPrometheusPayload DbaasEndpointPrometheusPayload

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasExternalEndpointRsyslog

Operation updateDbaasExternalEndpointRsyslog(endpointId, dbaasEndpointRsyslogInputUpdate)

[BETA] Update RSyslog external integration endpoint

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID endpointId = UUID.randomUUID(); // UUID | 
        DbaasEndpointRsyslogInputUpdate dbaasEndpointRsyslogInputUpdate = new DbaasEndpointRsyslogInputUpdate(); // DbaasEndpointRsyslogInputUpdate |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasExternalEndpointRsyslog(endpointId, dbaasEndpointRsyslogInputUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasExternalEndpointRsyslog");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
endpointId UUID
dbaasEndpointRsyslogInputUpdate DbaasEndpointRsyslogInputUpdate

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
endpointId UUID
dbaasEndpointRsyslogInputUpdate DbaasEndpointRsyslogInputUpdate

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasExternalIntegrationSettingsDatadog

Operation updateDbaasExternalIntegrationSettingsDatadog(integrationId, getDbaasExternalIntegrationSettingsDatadog200Response)

[BETA] Manage Datadog integration settings

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID integrationId = UUID.randomUUID(); // UUID | 
        GetDbaasExternalIntegrationSettingsDatadog200Response getDbaasExternalIntegrationSettingsDatadog200Response = new GetDbaasExternalIntegrationSettingsDatadog200Response(); // GetDbaasExternalIntegrationSettingsDatadog200Response |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasExternalIntegrationSettingsDatadog(integrationId, getDbaasExternalIntegrationSettingsDatadog200Response);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasExternalIntegrationSettingsDatadog");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
integrationId UUID
getDbaasExternalIntegrationSettingsDatadog200Response GetDbaasExternalIntegrationSettingsDatadog200Response

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
integrationId UUID
getDbaasExternalIntegrationSettingsDatadog200Response GetDbaasExternalIntegrationSettingsDatadog200Response

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasIntegration

Operation updateDbaasIntegration(id, updateDbaasIntegrationRequest)

[BETA] Update a existing DBaaS integration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateDbaasIntegrationRequest updateDbaasIntegrationRequest = new UpdateDbaasIntegrationRequest(); // UpdateDbaasIntegrationRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasIntegration(id, updateDbaasIntegrationRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasIntegration");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateDbaasIntegrationRequest UpdateDbaasIntegrationRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateDbaasIntegrationRequest UpdateDbaasIntegrationRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasOpensearchAclConfig

Operation updateDbaasOpensearchAclConfig(name, dbaasOpensearchAclConfig)

Create a DBaaS OpenSearch ACL configuration

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        DbaasOpensearchAclConfig dbaasOpensearchAclConfig = new DbaasOpensearchAclConfig(); // DbaasOpensearchAclConfig |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasOpensearchAclConfig(name, dbaasOpensearchAclConfig);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasOpensearchAclConfig");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
dbaasOpensearchAclConfig DbaasOpensearchAclConfig

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
dbaasOpensearchAclConfig DbaasOpensearchAclConfig

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasPgConnectionPool

Operation updateDbaasPgConnectionPool(serviceName, connectionPoolName, updateDbaasPgConnectionPoolRequest)

Update a DBaaS PostgreSQL connection pool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String connectionPoolName = "connectionPoolName_example"; // String | 
        UpdateDbaasPgConnectionPoolRequest updateDbaasPgConnectionPoolRequest = new UpdateDbaasPgConnectionPoolRequest(); // UpdateDbaasPgConnectionPoolRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasPgConnectionPool(serviceName, connectionPoolName, updateDbaasPgConnectionPoolRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasPgConnectionPool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
connectionPoolName String
updateDbaasPgConnectionPoolRequest UpdateDbaasPgConnectionPoolRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
connectionPoolName String
updateDbaasPgConnectionPoolRequest UpdateDbaasPgConnectionPoolRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasPostgresAllowReplication

DbaasPostgresUsers updateDbaasPostgresAllowReplication(serviceName, username, updateDbaasPostgresAllowReplicationRequest)

Update access control for one service user

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String serviceName = "serviceName_example"; // String | 
        String username = "username_example"; // String | 
        UpdateDbaasPostgresAllowReplicationRequest updateDbaasPostgresAllowReplicationRequest = new UpdateDbaasPostgresAllowReplicationRequest(); // UpdateDbaasPostgresAllowReplicationRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            DbaasPostgresUsers result = client.updateDbaasPostgresAllowReplication(serviceName, username, updateDbaasPostgresAllowReplicationRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasPostgresAllowReplication");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
serviceName String
username String
updateDbaasPostgresAllowReplicationRequest UpdateDbaasPostgresAllowReplicationRequest

Return type

DbaasPostgresUsers

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
serviceName String
username String
updateDbaasPostgresAllowReplicationRequest UpdateDbaasPostgresAllowReplicationRequest

Return type

ApiResponse<DbaasPostgresUsers>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasServiceGrafana

Operation updateDbaasServiceGrafana(name, updateDbaasServiceGrafanaRequest)

Update a DBaaS Grafana service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        UpdateDbaasServiceGrafanaRequest updateDbaasServiceGrafanaRequest = new UpdateDbaasServiceGrafanaRequest(); // UpdateDbaasServiceGrafanaRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasServiceGrafana(name, updateDbaasServiceGrafanaRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasServiceGrafana");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
updateDbaasServiceGrafanaRequest UpdateDbaasServiceGrafanaRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
updateDbaasServiceGrafanaRequest UpdateDbaasServiceGrafanaRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasServiceKafka

Operation updateDbaasServiceKafka(name, updateDbaasServiceKafkaRequest)

Update a DBaaS Kafka service

Update a DBaaS Kafka service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        UpdateDbaasServiceKafkaRequest updateDbaasServiceKafkaRequest = new UpdateDbaasServiceKafkaRequest(); // UpdateDbaasServiceKafkaRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasServiceKafka(name, updateDbaasServiceKafkaRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasServiceKafka");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
updateDbaasServiceKafkaRequest UpdateDbaasServiceKafkaRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
updateDbaasServiceKafkaRequest UpdateDbaasServiceKafkaRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasServiceMysql

Operation updateDbaasServiceMysql(name, updateDbaasServiceMysqlRequest)

Update a DBaaS MySQL service

Update a DBaaS MySQL service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        UpdateDbaasServiceMysqlRequest updateDbaasServiceMysqlRequest = new UpdateDbaasServiceMysqlRequest(); // UpdateDbaasServiceMysqlRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasServiceMysql(name, updateDbaasServiceMysqlRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasServiceMysql");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
updateDbaasServiceMysqlRequest UpdateDbaasServiceMysqlRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
updateDbaasServiceMysqlRequest UpdateDbaasServiceMysqlRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasServiceOpensearch

Operation updateDbaasServiceOpensearch(name, updateDbaasServiceOpensearchRequest)

Update a DBaaS OpenSearch service

Update a DBaaS OpenSearch service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        UpdateDbaasServiceOpensearchRequest updateDbaasServiceOpensearchRequest = new UpdateDbaasServiceOpensearchRequest(); // UpdateDbaasServiceOpensearchRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasServiceOpensearch(name, updateDbaasServiceOpensearchRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasServiceOpensearch");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
updateDbaasServiceOpensearchRequest UpdateDbaasServiceOpensearchRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
updateDbaasServiceOpensearchRequest UpdateDbaasServiceOpensearchRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasServicePg

Operation updateDbaasServicePg(name, updateDbaasServicePgRequest)

Update a DBaaS PostgreSQL service

Update a DBaaS PostgreSQL service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        UpdateDbaasServicePgRequest updateDbaasServicePgRequest = new UpdateDbaasServicePgRequest(); // UpdateDbaasServicePgRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasServicePg(name, updateDbaasServicePgRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasServicePg");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
updateDbaasServicePgRequest UpdateDbaasServicePgRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
updateDbaasServicePgRequest UpdateDbaasServicePgRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDbaasServiceValkey

Operation updateDbaasServiceValkey(name, updateDbaasServiceValkeyRequest)

Update a DBaaS Valkey service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        String name = "name_example"; // String | 
        UpdateDbaasServiceValkeyRequest updateDbaasServiceValkeyRequest = new UpdateDbaasServiceValkeyRequest(); // UpdateDbaasServiceValkeyRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDbaasServiceValkey(name, updateDbaasServiceValkeyRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDbaasServiceValkey");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
name String
updateDbaasServiceValkeyRequest UpdateDbaasServiceValkeyRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
name String
updateDbaasServiceValkeyRequest UpdateDbaasServiceValkeyRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateDnsDomainRecord

Operation updateDnsDomainRecord(domainId, recordId, updateDnsDomainRecordRequest)

Update DNS domain record

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID domainId = UUID.randomUUID(); // UUID | 
        UUID recordId = UUID.randomUUID(); // UUID | 
        UpdateDnsDomainRecordRequest updateDnsDomainRecordRequest = new UpdateDnsDomainRecordRequest(); // UpdateDnsDomainRecordRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateDnsDomainRecord(domainId, recordId, updateDnsDomainRecordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateDnsDomainRecord");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
domainId UUID
recordId UUID
updateDnsDomainRecordRequest UpdateDnsDomainRecordRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
domainId UUID
recordId UUID
updateDnsDomainRecordRequest UpdateDnsDomainRecordRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateElasticIp

Operation updateElasticIp(id, updateElasticIpRequest)

Update an Elastic IP

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateElasticIpRequest updateElasticIpRequest = new UpdateElasticIpRequest(); // UpdateElasticIpRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateElasticIp(id, updateElasticIpRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateElasticIp");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateElasticIpRequest UpdateElasticIpRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateElasticIpRequest UpdateElasticIpRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateIamOrganizationPolicy

Operation updateIamOrganizationPolicy(iamPolicy)

Update IAM Organization Policy

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        IamPolicy iamPolicy = new IamPolicy(); // IamPolicy |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateIamOrganizationPolicy(iamPolicy);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateIamOrganizationPolicy");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
iamPolicy IamPolicy

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
iamPolicy IamPolicy

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateIamRole

Operation updateIamRole(id, updateIamRoleRequest)

Update IAM Role

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateIamRoleRequest updateIamRoleRequest = new UpdateIamRoleRequest(); // UpdateIamRoleRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateIamRole(id, updateIamRoleRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateIamRole");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateIamRoleRequest UpdateIamRoleRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateIamRoleRequest UpdateIamRoleRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateIamRolePolicy

Operation updateIamRolePolicy(id, iamPolicy)

Update IAM Role Policy

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        IamPolicy iamPolicy = new IamPolicy(); // IamPolicy |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateIamRolePolicy(id, iamPolicy);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateIamRolePolicy");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
iamPolicy IamPolicy

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
iamPolicy IamPolicy

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateInstance

Operation updateInstance(id, updateInstanceRequest)

Update a Compute instance

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateInstanceRequest updateInstanceRequest = new UpdateInstanceRequest(); // UpdateInstanceRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateInstance(id, updateInstanceRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateInstanceRequest UpdateInstanceRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateInstanceRequest UpdateInstanceRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateInstancePool

Operation updateInstancePool(id, updateInstancePoolRequest)

Update an Instance Pool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateInstancePoolRequest updateInstancePoolRequest = new UpdateInstancePoolRequest(); // UpdateInstancePoolRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateInstancePool(id, updateInstancePoolRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateInstancePool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateInstancePoolRequest UpdateInstancePoolRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateInstancePoolRequest UpdateInstancePoolRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateLoadBalancer

Operation updateLoadBalancer(id, updateLoadBalancerRequest)

Update a Load Balancer

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateLoadBalancerRequest updateLoadBalancerRequest = new UpdateLoadBalancerRequest(); // UpdateLoadBalancerRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateLoadBalancer(id, updateLoadBalancerRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateLoadBalancer");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateLoadBalancerRequest UpdateLoadBalancerRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateLoadBalancerRequest UpdateLoadBalancerRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateLoadBalancerService

Operation updateLoadBalancerService(id, serviceId, updateLoadBalancerServiceRequest)

Update a Load Balancer Service

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID serviceId = UUID.randomUUID(); // UUID | 
        UpdateLoadBalancerServiceRequest updateLoadBalancerServiceRequest = new UpdateLoadBalancerServiceRequest(); // UpdateLoadBalancerServiceRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateLoadBalancerService(id, serviceId, updateLoadBalancerServiceRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateLoadBalancerService");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
serviceId UUID
updateLoadBalancerServiceRequest UpdateLoadBalancerServiceRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
serviceId UUID
updateLoadBalancerServiceRequest UpdateLoadBalancerServiceRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updatePrivateNetwork

Operation updatePrivateNetwork(id, updatePrivateNetworkRequest)

Update a Private Network

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdatePrivateNetworkRequest updatePrivateNetworkRequest = new UpdatePrivateNetworkRequest(); // UpdatePrivateNetworkRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updatePrivateNetwork(id, updatePrivateNetworkRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updatePrivateNetwork");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updatePrivateNetworkRequest UpdatePrivateNetworkRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updatePrivateNetworkRequest UpdatePrivateNetworkRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updatePrivateNetworkInstanceIp

Operation updatePrivateNetworkInstanceIp(id, updatePrivateNetworkInstanceIpRequest)

Update the IP address of an instance attached to a managed private network

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdatePrivateNetworkInstanceIpRequest updatePrivateNetworkInstanceIpRequest = new UpdatePrivateNetworkInstanceIpRequest(); // UpdatePrivateNetworkInstanceIpRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updatePrivateNetworkInstanceIp(id, updatePrivateNetworkInstanceIpRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updatePrivateNetworkInstanceIp");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updatePrivateNetworkInstanceIpRequest UpdatePrivateNetworkInstanceIpRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updatePrivateNetworkInstanceIpRequest UpdatePrivateNetworkInstanceIpRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateReverseDnsElasticIp

Operation updateReverseDnsElasticIp(id, updateReverseDnsElasticIpRequest)

Update/Create the PTR DNS record for an elastic IP

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateReverseDnsElasticIpRequest updateReverseDnsElasticIpRequest = new UpdateReverseDnsElasticIpRequest(); // UpdateReverseDnsElasticIpRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateReverseDnsElasticIp(id, updateReverseDnsElasticIpRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateReverseDnsElasticIp");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateReverseDnsElasticIpRequest UpdateReverseDnsElasticIpRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateReverseDnsElasticIpRequest UpdateReverseDnsElasticIpRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateReverseDnsInstance

Operation updateReverseDnsInstance(id, updateReverseDnsElasticIpRequest)

Update/Create the PTR DNS record for an instance

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateReverseDnsElasticIpRequest updateReverseDnsElasticIpRequest = new UpdateReverseDnsElasticIpRequest(); // UpdateReverseDnsElasticIpRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateReverseDnsInstance(id, updateReverseDnsElasticIpRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateReverseDnsInstance");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateReverseDnsElasticIpRequest UpdateReverseDnsElasticIpRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateReverseDnsElasticIpRequest UpdateReverseDnsElasticIpRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateSksCluster

Operation updateSksCluster(id, updateSksClusterRequest)

Update an SKS cluster

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateSksClusterRequest updateSksClusterRequest = new UpdateSksClusterRequest(); // UpdateSksClusterRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateSksCluster(id, updateSksClusterRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateSksCluster");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateSksClusterRequest UpdateSksClusterRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateSksClusterRequest UpdateSksClusterRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateSksNodepool

Operation updateSksNodepool(id, sksNodepoolId, updateSksNodepoolRequest)

Update an SKS Nodepool

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UUID sksNodepoolId = UUID.randomUUID(); // UUID | 
        UpdateSksNodepoolRequest updateSksNodepoolRequest = new UpdateSksNodepoolRequest(); // UpdateSksNodepoolRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateSksNodepool(id, sksNodepoolId, updateSksNodepoolRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateSksNodepool");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID
updateSksNodepoolRequest UpdateSksNodepoolRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
sksNodepoolId UUID
updateSksNodepoolRequest UpdateSksNodepoolRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateTemplate

Operation updateTemplate(id, updateTemplateRequest)

Update template attributes

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateTemplateRequest updateTemplateRequest = new UpdateTemplateRequest(); // UpdateTemplateRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateTemplate(id, updateTemplateRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateTemplate");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateTemplateRequest UpdateTemplateRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateTemplateRequest UpdateTemplateRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

updateUserRole

Operation updateUserRole(id, updateUserRoleRequest)

Update a User's IAM role

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpdateUserRoleRequest updateUserRoleRequest = new UpdateUserRoleRequest(); // UpdateUserRoleRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.updateUserRole(id, updateUserRoleRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#updateUserRole");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
updateUserRoleRequest UpdateUserRoleRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
updateUserRoleRequest UpdateUserRoleRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

upgradeSksCluster

Operation upgradeSksCluster(id, upgradeSksClusterRequest)

Upgrade an SKS cluster

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 
        UpgradeSksClusterRequest upgradeSksClusterRequest = new UpgradeSksClusterRequest(); // UpgradeSksClusterRequest |  please add at least all the required fields

        try {
            // Invoke the API method
            Operation result = client.upgradeSksCluster(id, upgradeSksClusterRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#upgradeSksCluster");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID
upgradeSksClusterRequest UpgradeSksClusterRequest

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID
upgradeSksClusterRequest UpgradeSksClusterRequest

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

upgradeSksClusterServiceLevel

Operation upgradeSksClusterServiceLevel(id)

Upgrade a SKS cluster to pro

Example

// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;

public class Example {
    public static void main(String[] args) throws ApiException, InterruptedException{
        // Initialize the client with credentials
        Client client = new Client(new Credentials(System.getenv("EXOSCALE_API_KEY"), System.getenv("EXOSCALE_API_SECRET")));
        UUID id = UUID.randomUUID(); // UUID | 

        try {
            // Invoke the API method
            Operation result = client.upgradeSksClusterServiceLevel(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExoscaleApi#upgradeSksClusterServiceLevel");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
id UUID

Return type

Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -

Parameters

Name Type Description Notes
id UUID

Return type

ApiResponse<Operation>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 -