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 |
Operation addExternalSourceToSecurityGroup(id, addExternalSourceToSecurityGroupRequest)
Add an external source as a member of a Security Group
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
addExternalSourceToSecurityGroupRequest | AddExternalSourceToSecurityGroupRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
addExternalSourceToSecurityGroupRequest | AddExternalSourceToSecurityGroupRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation addInstanceProtection(id)
Set instance destruction protection
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation addRuleToSecurityGroup(id, addRuleToSecurityGroupRequest)
Create a Security Group rule
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
addRuleToSecurityGroupRequest | AddRuleToSecurityGroupRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
addRuleToSecurityGroupRequest | AddRuleToSecurityGroupRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation addServiceToLoadBalancer(id, addServiceToLoadBalancerRequest)
Add a Load Balancer Service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
addServiceToLoadBalancerRequest | AddServiceToLoadBalancerRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
addServiceToLoadBalancerRequest | AddServiceToLoadBalancerRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation attachBlockStorageVolumeToInstance(id, attachBlockStorageVolumeToInstanceRequest)
Attach block storage volume to an instance
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
attachBlockStorageVolumeToInstanceRequest | AttachBlockStorageVolumeToInstanceRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
attachBlockStorageVolumeToInstanceRequest | AttachBlockStorageVolumeToInstanceRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation attachDbaasServiceToEndpoint(sourceServiceName, attachDbaasServiceToEndpointRequest)
[BETA] Create a new DBaaS connection between a DBaaS service and an external service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
sourceServiceName | String | ||
attachDbaasServiceToEndpointRequest | AttachDbaasServiceToEndpointRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
sourceServiceName | String | ||
attachDbaasServiceToEndpointRequest | AttachDbaasServiceToEndpointRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation attachInstanceToElasticIp(id, attachBlockStorageVolumeToInstanceRequest)
Attach a Compute instance to an Elastic IP
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
attachBlockStorageVolumeToInstanceRequest | AttachBlockStorageVolumeToInstanceRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
attachBlockStorageVolumeToInstanceRequest | AttachBlockStorageVolumeToInstanceRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation attachInstanceToPrivateNetwork(id, attachInstanceToPrivateNetworkRequest)
Attach a Compute instance to a Private Network
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
attachInstanceToPrivateNetworkRequest | AttachInstanceToPrivateNetworkRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
attachInstanceToPrivateNetworkRequest | AttachInstanceToPrivateNetworkRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation attachInstanceToSecurityGroup(id, detachInstanceFromPrivateNetworkRequest)
Attach a Compute instance to a Security Group
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
detachInstanceFromPrivateNetworkRequest | DetachInstanceFromPrivateNetworkRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
detachInstanceFromPrivateNetworkRequest | DetachInstanceFromPrivateNetworkRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation copyTemplate(id, copyTemplateRequest)
Copy a Template from a zone to another
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
copyTemplateRequest | CopyTemplateRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
copyTemplateRequest | CopyTemplateRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createAntiAffinityGroup(createAntiAffinityGroupRequest)
Create an Anti-affinity Group
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createAntiAffinityGroupRequest | CreateAntiAffinityGroupRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createAntiAffinityGroupRequest | CreateAntiAffinityGroupRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
IamApiKeyCreated createApiKey(createApiKeyRequest)
Create a new API key
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createApiKeyRequest | CreateApiKeyRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createApiKeyRequest | CreateApiKeyRequest |
ApiResponse<IamApiKeyCreated>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createBlockStorageSnapshot(id, createBlockStorageSnapshotRequest)
Create a block storage snapshot
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
createBlockStorageSnapshotRequest | CreateBlockStorageSnapshotRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
createBlockStorageSnapshotRequest | CreateBlockStorageSnapshotRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createBlockStorageVolume(createBlockStorageVolumeRequest)
Create a block storage volume
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createBlockStorageVolumeRequest | CreateBlockStorageVolumeRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createBlockStorageVolumeRequest | CreateBlockStorageVolumeRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasExternalEndpointDatadog(name, dbaasEndpointDatadogInputCreate)
[BETA] Create DataDog external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasEndpointDatadogInputCreate | DbaasEndpointDatadogInputCreate |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasEndpointDatadogInputCreate | DbaasEndpointDatadogInputCreate |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasExternalEndpointElasticsearch(name, dbaasEndpointElasticsearchInputCreate)
[BETA] Create ElasticSearch Logs external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasEndpointElasticsearchInputCreate | DbaasEndpointElasticsearchInputCreate |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasEndpointElasticsearchInputCreate | DbaasEndpointElasticsearchInputCreate |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasExternalEndpointOpensearch(name, dbaasEndpointOpensearchInputCreate)
[BETA] Create OpenSearch Logs external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasEndpointOpensearchInputCreate | DbaasEndpointOpensearchInputCreate |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasEndpointOpensearchInputCreate | DbaasEndpointOpensearchInputCreate |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasExternalEndpointPrometheus(name, dbaasEndpointPrometheusPayload)
[BETA] Create Prometheus external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasEndpointPrometheusPayload | DbaasEndpointPrometheusPayload |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasEndpointPrometheusPayload | DbaasEndpointPrometheusPayload |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasExternalEndpointRsyslog(name, dbaasEndpointRsyslogInputCreate)
[BETA] Create RSyslog external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasEndpointRsyslogInputCreate | DbaasEndpointRsyslogInputCreate |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasEndpointRsyslogInputCreate | DbaasEndpointRsyslogInputCreate |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasIntegration(createDbaasIntegrationRequest)
[BETA] Create a new DBaaS integration between two services
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createDbaasIntegrationRequest | CreateDbaasIntegrationRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createDbaasIntegrationRequest | CreateDbaasIntegrationRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasKafkaSchemaRegistryAclConfig(name, dbaasKafkaSchemaRegistryAclEntry)
Add a Kafka Schema Registry ACL entry
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasKafkaSchemaRegistryAclEntry | DbaasKafkaSchemaRegistryAclEntry |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasKafkaSchemaRegistryAclEntry | DbaasKafkaSchemaRegistryAclEntry |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasKafkaTopicAclConfig(name, dbaasKafkaTopicAclEntry)
Add a Kafka topic ACL entry
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasKafkaTopicAclEntry | DbaasKafkaTopicAclEntry |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasKafkaTopicAclEntry | DbaasKafkaTopicAclEntry |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasKafkaUser(serviceName, createDbaasKafkaUserRequest)
Create a DBaaS Kafka user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasKafkaUserRequest | CreateDbaasKafkaUserRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasKafkaUserRequest | CreateDbaasKafkaUserRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasMysqlDatabase(serviceName, createDbaasMysqlDatabaseRequest)
Create a DBaaS MySQL database
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasMysqlDatabaseRequest | CreateDbaasMysqlDatabaseRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasMysqlDatabaseRequest | CreateDbaasMysqlDatabaseRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasMysqlUser(serviceName, createDbaasMysqlUserRequest)
Create a DBaaS MySQL user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasMysqlUserRequest | CreateDbaasMysqlUserRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasMysqlUserRequest | CreateDbaasMysqlUserRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasOpensearchUser(serviceName, createDbaasKafkaUserRequest)
Create a DBaaS OpenSearch user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasKafkaUserRequest | CreateDbaasKafkaUserRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasKafkaUserRequest | CreateDbaasKafkaUserRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasPgConnectionPool(serviceName, createDbaasPgConnectionPoolRequest)
Create a DBaaS PostgreSQL connection pool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasPgConnectionPoolRequest | CreateDbaasPgConnectionPoolRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasPgConnectionPoolRequest | CreateDbaasPgConnectionPoolRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasPgDatabase(serviceName, createDbaasPgDatabaseRequest)
Create a DBaaS Postgres database
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasPgDatabaseRequest | CreateDbaasPgDatabaseRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasPgDatabaseRequest | CreateDbaasPgDatabaseRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasTask createDbaasPgUpgradeCheck(service, createDbaasPgUpgradeCheckRequest)
Check whether you can upgrade Postgres service to a newer version
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
service | String | ||
createDbaasPgUpgradeCheckRequest | CreateDbaasPgUpgradeCheckRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
service | String | ||
createDbaasPgUpgradeCheckRequest | CreateDbaasPgUpgradeCheckRequest |
ApiResponse<DbaasTask>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasPostgresUser(serviceName, createDbaasPostgresUserRequest)
Create a DBaaS Postgres user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasPostgresUserRequest | CreateDbaasPostgresUserRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasPostgresUserRequest | CreateDbaasPostgresUserRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasServiceGrafana(name, createDbaasServiceGrafanaRequest)
Create a DBaaS Grafana service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServiceGrafanaRequest | CreateDbaasServiceGrafanaRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServiceGrafanaRequest | CreateDbaasServiceGrafanaRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasServiceKafka(name, createDbaasServiceKafkaRequest)
Create a DBaaS Kafka service
Create a DBaaS Kafka service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServiceKafkaRequest | CreateDbaasServiceKafkaRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServiceKafkaRequest | CreateDbaasServiceKafkaRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasServiceMysql(name, createDbaasServiceMysqlRequest)
Create a DBaaS MySQL service
Create a DBaaS MySQL service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServiceMysqlRequest | CreateDbaasServiceMysqlRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServiceMysqlRequest | CreateDbaasServiceMysqlRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasServiceOpensearch(name, createDbaasServiceOpensearchRequest)
Create a DBaaS OpenSearch service
Create a DBaaS OpenSearch service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServiceOpensearchRequest | CreateDbaasServiceOpensearchRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServiceOpensearchRequest | CreateDbaasServiceOpensearchRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasServicePg(name, createDbaasServicePgRequest)
Create a DBaaS PostgreSQL service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServicePgRequest | CreateDbaasServicePgRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServicePgRequest | CreateDbaasServicePgRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasServiceValkey(name, createDbaasServiceValkeyRequest)
Create a DBaaS Valkey service
Create a DBaaS Valkey service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServiceValkeyRequest | CreateDbaasServiceValkeyRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
createDbaasServiceValkeyRequest | CreateDbaasServiceValkeyRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasTaskMigrationCheck(service, createDbaasTaskMigrationCheckRequest)
Create a DBaaS task to check migration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
service | String | ||
createDbaasTaskMigrationCheckRequest | CreateDbaasTaskMigrationCheckRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
service | String | ||
createDbaasTaskMigrationCheckRequest | CreateDbaasTaskMigrationCheckRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDbaasValkeyUser(serviceName, createDbaasKafkaUserRequest)
Create a DBaaS Valkey user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasKafkaUserRequest | CreateDbaasKafkaUserRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
createDbaasKafkaUserRequest | CreateDbaasKafkaUserRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDnsDomain(createDnsDomainRequest)
Create DNS domain
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createDnsDomainRequest | CreateDnsDomainRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createDnsDomainRequest | CreateDnsDomainRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createDnsDomainRecord(domainId, createDnsDomainRecordRequest)
Create DNS domain record
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
domainId | UUID | ||
createDnsDomainRecordRequest | CreateDnsDomainRecordRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
domainId | UUID | ||
createDnsDomainRecordRequest | CreateDnsDomainRecordRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createElasticIp(createElasticIpRequest)
Create an Elastic IP
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createElasticIpRequest | CreateElasticIpRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createElasticIpRequest | CreateElasticIpRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createIamRole(createIamRoleRequest)
Create IAM Role
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createIamRoleRequest | CreateIamRoleRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createIamRoleRequest | CreateIamRoleRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createInstance(createInstanceRequest)
Create a Compute instance
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createInstanceRequest | CreateInstanceRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createInstanceRequest | CreateInstanceRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createInstancePool(createInstancePoolRequest)
Create an Instance Pool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createInstancePoolRequest | CreateInstancePoolRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createInstancePoolRequest | CreateInstancePoolRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createLoadBalancer(createLoadBalancerRequest)
Create a Load Balancer
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createLoadBalancerRequest | CreateLoadBalancerRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createLoadBalancerRequest | CreateLoadBalancerRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createPrivateNetwork(createPrivateNetworkRequest)
Create a Private Network
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createPrivateNetworkRequest | CreatePrivateNetworkRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createPrivateNetworkRequest | CreatePrivateNetworkRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createSecurityGroup(createSecurityGroupRequest)
Create a Security Group
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createSecurityGroupRequest | CreateSecurityGroupRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createSecurityGroupRequest | CreateSecurityGroupRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createSksCluster(createSksClusterRequest)
Create an SKS cluster
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createSksClusterRequest | CreateSksClusterRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createSksClusterRequest | CreateSksClusterRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createSksNodepool(id, createSksNodepoolRequest)
Create a new SKS Nodepool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
createSksNodepoolRequest | CreateSksNodepoolRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
createSksNodepoolRequest | CreateSksNodepoolRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createSnapshot(id)
Create a Snapshot of a Compute instance
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation createUser(createUserRequest)
Create a User
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createUserRequest | CreateUserRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
createUserRequest | CreateUserRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteAntiAffinityGroup(id)
Delete an Anti-affinity Group
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteApiKey(id)
Delete an API key
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteBlockStorageSnapshot(id)
Delete a block storage snapshot, data will be unrecoverable
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteBlockStorageVolume(id)
Delete a block storage volume, data will be unrecoverable
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasExternalEndpointDatadog(endpointId)
[BETA] Delete DataDog external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasExternalEndpointElasticsearch(endpointId)
[BETA] Delete ElasticSearch logs external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasExternalEndpointOpensearch(endpointId)
[BETA] Delete OpenSearch logs external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasExternalEndpointPrometheus(endpointId)
[BETA] Delete Prometheus external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasExternalEndpointRsyslog(endpointId)
[BETA] Delete RSyslog external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasIntegration(id)
[BETA] Delete a DBaaS Integration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasKafkaSchemaRegistryAclConfig(name, aclId)
Delete a Kafka ACL entry
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
aclId | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
aclId | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasKafkaTopicAclConfig(name, aclId)
Delete a Kafka ACL entry
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
aclId | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
aclId | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasKafkaUser(serviceName, username)
Delete a DBaaS kafka user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasMysqlDatabase(serviceName, databaseName)
Delete a DBaaS MySQL database
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
databaseName | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
databaseName | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasMysqlUser(serviceName, username)
Delete a DBaaS MySQL user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasOpensearchUser(serviceName, username)
Delete a DBaaS OpenSearch user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasPgConnectionPool(serviceName, connectionPoolName)
Delete a DBaaS PostgreSQL connection pool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
connectionPoolName | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
connectionPoolName | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasPgDatabase(serviceName, databaseName)
Delete a DBaaS Postgres database
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
databaseName | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
databaseName | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasPostgresUser(serviceName, username)
Delete a DBaaS Postgres user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasService(name)
Delete a DBaaS service
Delete a DBaaS service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasServiceGrafana(name)
Delete a Grafana service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasServiceKafka(name)
Delete a Kafka service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasServiceMysql(name)
Delete a MySQL service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasServiceOpensearch(name)
Delete a OpenSearch service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasServicePg(name)
Delete a Postgres service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasServiceValkey(name)
Delete a Valkey service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDbaasValkeyUser(serviceName, username)
Delete a DBaaS Valkey user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDnsDomain(id)
Delete DNS Domain
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteDnsDomainRecord(domainId, recordId)
Delete DNS domain record
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
domainId | UUID | ||
recordId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
domainId | UUID | ||
recordId | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteElasticIp(id)
Delete an Elastic IP
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteIamRole(id)
Delete IAM Role
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteInstance(id)
Delete a Compute instance
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteInstancePool(id)
Delete an Instance Pool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteLoadBalancer(id)
Delete a Load Balancer
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteLoadBalancerService(id, serviceId)
Delete a Load Balancer Service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
serviceId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
serviceId | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deletePrivateNetwork(id)
Delete a Private Network
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteReverseDnsElasticIp(id)
Delete the PTR DNS record for an elastic IP
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteReverseDnsInstance(id)
Delete the PTR DNS record for an instance
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteRuleFromSecurityGroup(id, ruleId)
Delete a Security Group rule
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
ruleId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
ruleId | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteSecurityGroup(id)
Delete a Security Group
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteSksCluster(id)
Delete an SKS cluster
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteSksNodepool(id, sksNodepoolId)
Delete an SKS Nodepool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteSnapshot(id)
Delete a Snapshot
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteSshKey(name)
Delete a SSH key
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteTemplate(id)
Delete a Template
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation deleteUser(id)
Delete User
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation detachBlockStorageVolume(id)
Detach block storage volume
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation detachDbaasServiceFromEndpoint(sourceServiceName, detachDbaasServiceFromEndpointRequest)
[BETA] Detach a DBaaS external integration from a service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
sourceServiceName | String | ||
detachDbaasServiceFromEndpointRequest | DetachDbaasServiceFromEndpointRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
sourceServiceName | String | ||
detachDbaasServiceFromEndpointRequest | DetachDbaasServiceFromEndpointRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation detachInstanceFromElasticIp(id, attachBlockStorageVolumeToInstanceRequest)
Detach a Compute instance from an Elastic IP
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
attachBlockStorageVolumeToInstanceRequest | AttachBlockStorageVolumeToInstanceRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
attachBlockStorageVolumeToInstanceRequest | AttachBlockStorageVolumeToInstanceRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation detachInstanceFromPrivateNetwork(id, detachInstanceFromPrivateNetworkRequest)
Detach a Compute instance from a Private Network
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
detachInstanceFromPrivateNetworkRequest | DetachInstanceFromPrivateNetworkRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
detachInstanceFromPrivateNetworkRequest | DetachInstanceFromPrivateNetworkRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation detachInstanceFromSecurityGroup(id, detachInstanceFromPrivateNetworkRequest)
Detach a Compute instance from a Security Group
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
detachInstanceFromPrivateNetworkRequest | DetachInstanceFromPrivateNetworkRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
detachInstanceFromPrivateNetworkRequest | DetachInstanceFromPrivateNetworkRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation enableDbaasMysqlWrites(name)
Temporarily enable writes for MySQL services in read-only mode due to filled up storage
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation enableTpm(id)
Enable tpm for the instance.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation evictInstancePoolMembers(id, evictInstancePoolMembersRequest)
Evict Instance Pool members
This operation evicts the specified Compute instances member from the Instance Pool, shrinking it to `<current pool size> - <# evicted members>`.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
evictInstancePoolMembersRequest | EvictInstancePoolMembersRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
evictInstancePoolMembersRequest | EvictInstancePoolMembersRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation evictSksNodepoolMembers(id, sksNodepoolId, evictSksNodepoolMembersRequest)
Evict Nodepool members
This operation evicts the specified Compute instances member from the Nodepool, shrinking it to `<current nodepool size> - <# evicted members>`.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID | ||
evictSksNodepoolMembersRequest | EvictSksNodepoolMembersRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID | ||
evictSksNodepoolMembersRequest | EvictSksNodepoolMembersRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation exportSnapshot(id)
Export a Snapshot
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GenerateSksClusterKubeconfig200Response generateSksClusterKubeconfig(id, sksKubeconfigRequest)
Generate a new Kubeconfig file for a SKS cluster
This operation returns a Kubeconfig file encoded in base64.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksKubeconfigRequest | SksKubeconfigRequest |
GenerateSksClusterKubeconfig200Response
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksKubeconfigRequest | SksKubeconfigRequest |
ApiResponse<GenerateSksClusterKubeconfig200Response>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
AntiAffinityGroup getAntiAffinityGroup(id)
Retrieve Anti-affinity Group details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<AntiAffinityGroup>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
IamApiKey getApiKey(id)
Get API key
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | String |
ApiResponse<IamApiKey>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
BlockStorageSnapshot getBlockStorageSnapshot(id)
Retrieve block storage snapshot details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<BlockStorageSnapshot>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
BlockStorageVolume getBlockStorageVolume(id)
Retrieve block storage volume details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<BlockStorageVolume>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetConsoleProxyUrl200Response getConsoleProxyUrl(id)
Retrieve signed url valid for 60 seconds to connect via console-proxy websocket to VM VNC console.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<GetConsoleProxyUrl200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetDbaasCaCertificate200Response getDbaasCaCertificate()
Get DBaaS CA Certificate
Returns a CA Certificate required to reach a DBaaS service through a TLS-protected connection.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
GetDbaasCaCertificate200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<GetDbaasCaCertificate200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasExternalEndpointDatadogOutput getDbaasExternalEndpointDatadog(endpointId)
[BETA] Get DataDog external endpoint settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
DbaasExternalEndpointDatadogOutput
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
ApiResponse<DbaasExternalEndpointDatadogOutput>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasEndpointElasticsearchOutput getDbaasExternalEndpointElasticsearch(endpointId)
[BETA] Get ElasticSearch Logs external integration endpoint settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
DbaasEndpointElasticsearchOutput
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
ApiResponse<DbaasEndpointElasticsearchOutput>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasEndpointOpensearchOutput getDbaasExternalEndpointOpensearch(endpointId)
[BETA] Get OpenSearch Logs external integration endpoint settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
ApiResponse<DbaasEndpointOpensearchOutput>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasEndpointExternalPrometheusOutput getDbaasExternalEndpointPrometheus(endpointId)
[BETA] Get Prometheus external integration endpoint settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
DbaasEndpointExternalPrometheusOutput
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
ApiResponse<DbaasEndpointExternalPrometheusOutput>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasExternalEndpointRsyslogOutput getDbaasExternalEndpointRsyslog(endpointId)
[BETA] Get RSyslog external integration endpoint settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
DbaasExternalEndpointRsyslogOutput
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID |
ApiResponse<DbaasExternalEndpointRsyslogOutput>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasExternalIntegration getDbaasExternalIntegration(integrationId)
[BETA] Get a DBaaS external integration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
integrationId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
integrationId | UUID |
ApiResponse<DbaasExternalIntegration>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetDbaasExternalIntegrationSettingsDatadog200Response getDbaasExternalIntegrationSettingsDatadog(integrationId)
[BETA] Get Datadog integration settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
integrationId | UUID |
GetDbaasExternalIntegrationSettingsDatadog200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
integrationId | UUID |
ApiResponse<GetDbaasExternalIntegrationSettingsDatadog200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasIntegration getDbaasIntegration(id)
[BETA] Get a DBaaS Integration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<DbaasIntegration>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasKafkaAcls getDbaasKafkaAclConfig(name)
Get DBaaS kafka ACL configuration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<DbaasKafkaAcls>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasMigrationStatus getDbaasMigrationStatus(name)
Get a DBaaS migration status
Get a DBaaS migration status
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<DbaasMigrationStatus>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasOpensearchAclConfig getDbaasOpensearchAclConfig(name)
Get DBaaS OpenSearch ACL configuration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<DbaasOpensearchAclConfig>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasServiceGrafana getDbaasServiceGrafana(name)
Get a DBaaS Grafana service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<DbaasServiceGrafana>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasServiceKafka getDbaasServiceKafka(name)
Get a DBaaS Kafka service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<DbaasServiceKafka>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasServiceLogs getDbaasServiceLogs(serviceName, getDbaasServiceLogsRequest)
Get logs of DBaaS service
Get logs of DBaaS service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
getDbaasServiceLogsRequest | GetDbaasServiceLogsRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
getDbaasServiceLogsRequest | GetDbaasServiceLogsRequest |
ApiResponse<DbaasServiceLogs>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetDbaasServiceMetrics200Response getDbaasServiceMetrics(serviceName, getDbaasServiceMetricsRequest)
Get metrics of DBaaS service
Get metrics of DBaaS service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
getDbaasServiceMetricsRequest | GetDbaasServiceMetricsRequest |
GetDbaasServiceMetrics200Response
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
getDbaasServiceMetricsRequest | GetDbaasServiceMetricsRequest |
ApiResponse<GetDbaasServiceMetrics200Response>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasServiceMysql getDbaasServiceMysql(name)
Get a DBaaS MySQL service
Get a DBaaS MySQL service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<DbaasServiceMysql>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasServiceOpensearch getDbaasServiceOpensearch(name)
Get a DBaaS OpenSearch service
Get a DBaaS OpenSearch service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<DbaasServiceOpensearch>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasServicePg getDbaasServicePg(name)
Get a DBaaS PostgreSQL service
Get a DBaaS PostgreSQL service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<DbaasServicePg>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasServiceType getDbaasServiceType(serviceTypeName)
Get a DBaaS service type
Get a DBaaS service type
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceTypeName | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceTypeName | String |
ApiResponse<DbaasServiceType>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasServiceValkey getDbaasServiceValkey(name)
Get a DBaaS Valkey service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<DbaasServiceValkey>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetDbaasSettingsGrafana200Response getDbaasSettingsGrafana()
Get DBaaS Grafana settings
Get DBaaS Grafana settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
GetDbaasSettingsGrafana200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<GetDbaasSettingsGrafana200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetDbaasSettingsKafka200Response getDbaasSettingsKafka()
Get DBaaS Kafka settings
Get DBaaS Kafka settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
GetDbaasSettingsKafka200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<GetDbaasSettingsKafka200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetDbaasSettingsMysql200Response getDbaasSettingsMysql()
Get DBaaS MySQL settings
Get DBaaS MySQL settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
GetDbaasSettingsMysql200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<GetDbaasSettingsMysql200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetDbaasSettingsOpensearch200Response getDbaasSettingsOpensearch()
Get DBaaS OpenSearch settings
Get DBaaS OpenSearch settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
GetDbaasSettingsOpensearch200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<GetDbaasSettingsOpensearch200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetDbaasSettingsPg200Response getDbaasSettingsPg()
Get DBaaS PostgreSQL settings
Get DBaaS PostgreSQL settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<GetDbaasSettingsPg200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetDbaasSettingsValkey200Response getDbaasSettingsValkey()
Get DBaaS Valkey settings
Returns the default settings for Valkey.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
GetDbaasSettingsValkey200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<GetDbaasSettingsValkey200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasTask getDbaasTask(service, id)
Get a DBaaS task
Get a DBaaS task
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
service | String | ||
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
service | String | ||
id | UUID |
ApiResponse<DbaasTask>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DeployTarget getDeployTarget(id)
Retrieve Deploy Target details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<DeployTarget>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DnsDomain getDnsDomain(id)
Retrieve DNS domain details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<DnsDomain>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DnsDomainRecord getDnsDomainRecord(domainId, recordId)
Retrieve DNS domain record details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
domainId | UUID | ||
recordId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
domainId | UUID | ||
recordId | UUID |
ApiResponse<DnsDomainRecord>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetDnsDomainZoneFile200Response getDnsDomainZoneFile(id)
Retrieve DNS domain zone file
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
GetDnsDomainZoneFile200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<GetDnsDomainZoneFile200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ElasticIp getElasticIp(id)
Retrieve Elastic IP details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<ElasticIp>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetEnvImpact200Response getEnvImpact(period)
[BETA] Retrieve organization environmental impact reports
[BETA] Returns environmental impact reports for an organization
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
period | String | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
period | String | [optional] |
ApiResponse<GetEnvImpact200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
IamPolicy getIamOrganizationPolicy()
Retrieve IAM Organization Policy
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<IamPolicy>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
IamRole getIamRole(id)
Retrieve IAM Role
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<IamRole>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Instance getInstance(id)
Retrieve Compute instance details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Instance>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
InstancePool getInstancePool(id)
Retrieve Instance Pool details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<InstancePool>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
InstanceType getInstanceType(id)
Retrieve Instance Type details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<InstanceType>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
LoadBalancer getLoadBalancer(id)
Retrieve Load Balancer details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<LoadBalancer>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
LoadBalancerService getLoadBalancerService(id, serviceId)
Retrieve Load Balancer Service details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
serviceId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
serviceId | UUID |
ApiResponse<LoadBalancerService>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation getOperation(id)
Retrieve Operation details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Organization getOrganization()
Retrieve an organization
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<Organization>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
PrivateNetwork getPrivateNetwork(id)
Retrieve Private Network details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<PrivateNetwork>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Quota getQuota(entity)
Retrieve Resource Quota
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
entity | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
entity | String |
ApiResponse<Quota>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ReverseDnsRecord getReverseDnsElasticIp(id)
Query the PTR DNS records for an elastic IP
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<ReverseDnsRecord>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ReverseDnsRecord getReverseDnsInstance(id)
Query the PTR DNS records for an instance
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<ReverseDnsRecord>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
SecurityGroup getSecurityGroup(id)
Retrieve Security Group details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<SecurityGroup>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
SksCluster getSksCluster(id)
Retrieve SKS cluster details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<SksCluster>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
authority | String | [enum: control-plane, aggregation, kubelet] |
GetSksClusterAuthorityCert200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
authority | String | [enum: control-plane, aggregation, kubelet] |
ApiResponse<GetSksClusterAuthorityCert200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
Map<String, Object>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Map<String, Object>>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
SksNodepool getSksNodepool(id, sksNodepoolId)
Retrieve SKS Nodepool details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID |
ApiResponse<SksNodepool>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Snapshot getSnapshot(id)
Retrieve Snapshot details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Snapshot>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetSosPresignedUrl200Response getSosPresignedUrl(bucket, key)
Retrieve Presigned Download URL for SOS object
Generates Presigned Download URL for SOS object
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
bucket | String | ||
key | String | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
bucket | String | ||
key | String | [optional] |
ApiResponse<GetSosPresignedUrl200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
SshKey getSshKey(name)
Retrieve SSH key details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<SshKey>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Template getTemplate(id)
Retrieve Template details
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Template>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
GetUsageReport200Response getUsageReport(period)
Retrieve organization usage reports
Returns aggregated usage reports for an organization
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
period | String | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
period | String | [optional] |
ApiResponse<GetUsageReport200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListAntiAffinityGroups200Response listAntiAffinityGroups()
List Anti-affinity Groups
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
ListAntiAffinityGroups200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListAntiAffinityGroups200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListApiKeys200Response listApiKeys()
List API keys
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListApiKeys200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListBlockStorageSnapshots200Response listBlockStorageSnapshots()
List block storage snapshots
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
ListBlockStorageSnapshots200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListBlockStorageSnapshots200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListBlockStorageVolumes200Response listBlockStorageVolumes(instanceId)
List block storage volumes
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
instanceId | UUID | [optional] |
ListBlockStorageVolumes200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
instanceId | UUID | [optional] |
ApiResponse<ListBlockStorageVolumes200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListDbaasExternalEndpointTypes200Response listDbaasExternalEndpointTypes()
[BETA] List available external endpoint types and their schemas for DBaaS external integrations
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
ListDbaasExternalEndpointTypes200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListDbaasExternalEndpointTypes200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListDbaasExternalEndpoints200Response listDbaasExternalEndpoints()
[BETA] List available external endpoints for integrations
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
ListDbaasExternalEndpoints200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListDbaasExternalEndpoints200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListDbaasExternalIntegrations200Response listDbaasExternalIntegrations(serviceName)
[BETA] List all DBaaS connections between services and external endpoints
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String |
ListDbaasExternalIntegrations200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String |
ApiResponse<ListDbaasExternalIntegrations200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListDbaasIntegrationSettings200Response listDbaasIntegrationSettings(integrationType, sourceType, destType)
[BETA] Get DBaaS integration settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
integrationType | String | ||
sourceType | String | ||
destType | String |
ListDbaasIntegrationSettings200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
integrationType | String | ||
sourceType | String | ||
destType | String |
ApiResponse<ListDbaasIntegrationSettings200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListDbaasIntegrationTypes200Response listDbaasIntegrationTypes()
[BETA] Get DBaaS integration types
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
ListDbaasIntegrationTypes200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListDbaasIntegrationTypes200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListDbaasServiceTypes200Response listDbaasServiceTypes()
DBaaS Service Types
List available service types for DBaaS
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
ListDbaasServiceTypes200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListDbaasServiceTypes200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListDbaasServices200Response listDbaasServices()
List DBaaS services
List DBaaS services
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListDbaasServices200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListDeployTargets200Response listDeployTargets()
List Deploy Targets
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListDeployTargets200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListDnsDomainRecords200Response listDnsDomainRecords(domainId)
List DNS domain records
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
domainId | UUID |
ListDnsDomainRecords200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
domainId | UUID |
ApiResponse<ListDnsDomainRecords200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListDnsDomains200Response listDnsDomains()
List DNS domains
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListDnsDomains200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListElasticIps200Response listElasticIps()
List Elastic IPs
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListElasticIps200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
from | OffsetDateTime | [optional] | |
to | OffsetDateTime | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
from | OffsetDateTime | [optional] | |
to | OffsetDateTime | [optional] |
ApiResponse<List<Event>>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListIamRoles200Response listIamRoles()
List IAM Roles
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListIamRoles200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListInstancePools200Response listInstancePools()
List Instance Pools
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListInstancePools200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListInstanceTypes200Response listInstanceTypes()
List Compute instance Types
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListInstanceTypes200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListInstances200Response listInstances(managerId, managerType, ipAddress)
List Compute instances
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
managerId | UUID | [optional] | |
managerType | String | [optional] [enum: instance-pool] | |
ipAddress | String | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
managerId | UUID | [optional] | |
managerType | String | [optional] [enum: instance-pool] | |
ipAddress | String | [optional] |
ApiResponse<ListInstances200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListLoadBalancers200Response listLoadBalancers()
List Load Balancers
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListLoadBalancers200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListPrivateNetworks200Response listPrivateNetworks()
List Private Networks
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
ListPrivateNetworks200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListPrivateNetworks200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListQuotas200Response listQuotas()
List Organization Quotas
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListQuotas200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
visibility | String | [optional] [enum: private, public] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
visibility | String | [optional] [enum: private, public] |
ApiResponse<ListSecurityGroups200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
List listSksClusterDeprecatedResources(id)
Resources that are scheduled to be removed in future kubernetes releases
This operation returns the deprecated resources for a given cluster
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
List<SksClusterDeprecatedResource>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<List<SksClusterDeprecatedResource>>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListSksClusterVersions200Response listSksClusterVersions(includeDeprecated)
List available versions for SKS clusters
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
includeDeprecated | String | [optional] |
ListSksClusterVersions200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
includeDeprecated | String | [optional] |
ApiResponse<ListSksClusterVersions200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListSksClusters200Response listSksClusters()
List SKS clusters
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListSksClusters200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListSnapshots200Response listSnapshots()
List Snapshots
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListSnapshots200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListSosBucketsUsage200Response listSosBucketsUsage()
List SOS Buckets Usage
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
ListSosBucketsUsage200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListSosBucketsUsage200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListSshKeys200Response listSshKeys()
List SSH keys
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListSshKeys200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListTemplates200Response listTemplates(visibility, family)
List Templates
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
visibility | String | [optional] [enum: private, public] | |
family | String | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
visibility | String | [optional] [enum: private, public] | |
family | String | [optional] |
ApiResponse<ListTemplates200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListUsers200Response listUsers()
List Users
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListUsers200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
ListZones200Response listZones()
List Zones
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<ListZones200Response>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation promoteSnapshotToTemplate(id, promoteSnapshotToTemplateRequest)
Promote a Snapshot to a Template
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
promoteSnapshotToTemplateRequest | PromoteSnapshotToTemplateRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
promoteSnapshotToTemplateRequest | PromoteSnapshotToTemplateRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation rebootInstance(id)
Reboot a Compute instance
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation registerSshKey(registerSshKeyRequest)
Import SSH key
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
registerSshKeyRequest | RegisterSshKeyRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
registerSshKeyRequest | RegisterSshKeyRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation registerTemplate(registerTemplateRequest)
Register a Template
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
registerTemplateRequest | RegisterTemplateRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
registerTemplateRequest | RegisterTemplateRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation removeExternalSourceFromSecurityGroup(id, removeExternalSourceFromSecurityGroupRequest)
Remove an external source from a Security Group
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
removeExternalSourceFromSecurityGroupRequest | RemoveExternalSourceFromSecurityGroupRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
removeExternalSourceFromSecurityGroupRequest | RemoveExternalSourceFromSecurityGroupRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation removeInstanceProtection(id)
Remove instance destruction protection
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetDbaasGrafanaUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest)
Reset the credentials of a DBaaS Grafana user
If no password is provided one will be generated automatically.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasValkeyUserPasswordRequest | ResetDbaasValkeyUserPasswordRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasValkeyUserPasswordRequest | ResetDbaasValkeyUserPasswordRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetDbaasKafkaUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest)
Reset the credentials of a DBaaS Kafka user
If no password is provided one will be generated automatically.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasValkeyUserPasswordRequest | ResetDbaasValkeyUserPasswordRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasValkeyUserPasswordRequest | ResetDbaasValkeyUserPasswordRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetDbaasMysqlUserPassword(serviceName, username, resetDbaasMysqlUserPasswordRequest)
Reset the credentials of a DBaaS mysql user
If no password is provided one will be generated automatically.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasMysqlUserPasswordRequest | ResetDbaasMysqlUserPasswordRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasMysqlUserPasswordRequest | ResetDbaasMysqlUserPasswordRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetDbaasOpensearchUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest)
Reset the credentials of a DBaaS OpenSearch user
If no password is provided one will be generated automatically.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasValkeyUserPasswordRequest | ResetDbaasValkeyUserPasswordRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasValkeyUserPasswordRequest | ResetDbaasValkeyUserPasswordRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetDbaasPostgresUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest)
Reset the credentials of a DBaaS Postgres user
If no password is provided one will be generated automatically.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasValkeyUserPasswordRequest | ResetDbaasValkeyUserPasswordRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasValkeyUserPasswordRequest | ResetDbaasValkeyUserPasswordRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetDbaasValkeyUserPassword(serviceName, username, resetDbaasValkeyUserPasswordRequest)
Reset the credentials of a DBaaS Valkey user
If no password is provided one will be generated automatically.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasValkeyUserPasswordRequest | ResetDbaasValkeyUserPasswordRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
resetDbaasValkeyUserPasswordRequest | ResetDbaasValkeyUserPasswordRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetElasticIpField(id, field)
Reset an Elastic IP field to its default value
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
field | String | [enum: description] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
field | String | [enum: description] |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetIamOrganizationPolicy()
Reset IAM Organization Policy
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
This endpoint does not need any parameter.
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
resetInstanceRequest | ResetInstanceRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
resetInstanceRequest | ResetInstanceRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetInstanceField(id, field)
Reset Instance field
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
field | String | [enum: labels] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
field | String | [enum: labels] |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetInstancePassword(id)
Reset a compute instance password
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetInstancePoolField(id, field)
Reset an Instance Pool field to its default value
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
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] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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] |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetLoadBalancerField(id, field)
Reset a Load Balancer field to its default value
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
field | String | [enum: description, labels] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
field | String | [enum: description, labels] |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetLoadBalancerServiceField(id, serviceId, field)
Reset a Load Balancer Service field to its default value
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
serviceId | UUID | ||
field | String | [enum: description] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
serviceId | UUID | ||
field | String | [enum: description] |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetPrivateNetworkField(id, field)
Reset Private Network field
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
field | String | [enum: labels] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
field | String | [enum: labels] |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetSksClusterField(id, field)
Reset an SKS cluster field to its default value
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
field | String | [enum: description, labels] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
field | String | [enum: description, labels] |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation resetSksNodepoolField(id, sksNodepoolId, field)
Reset an SKS Nodepool field to its default value
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID | ||
field | String | [enum: anti-affinity-groups, description, labels, security-groups, private-networks, deploy-target] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID | ||
field | String | [enum: anti-affinity-groups, description, labels, security-groups, private-networks, deploy-target] |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
resizeBlockStorageVolumeRequest | ResizeBlockStorageVolumeRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
resizeBlockStorageVolumeRequest | ResizeBlockStorageVolumeRequest |
ApiResponse<BlockStorageVolume>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
resizeInstanceDiskRequest | ResizeInstanceDiskRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
resizeInstanceDiskRequest | ResizeInstanceDiskRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasUserGrafanaSecrets revealDbaasGrafanaUserPassword(serviceName, username)
Reveal the secrets of a DBaaS Grafana user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<DbaasUserGrafanaSecrets>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasUserKafkaConnectSecrets revealDbaasKafkaConnectPassword(serviceName)
Reveal the secrets for DBaaS Kafka Connect
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String |
ApiResponse<DbaasUserKafkaConnectSecrets>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasUserKafkaSecrets revealDbaasKafkaUserPassword(serviceName, username)
Reveal the secrets of a DBaaS Kafka user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<DbaasUserKafkaSecrets>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasUserMysqlSecrets revealDbaasMysqlUserPassword(serviceName, username)
Reveal the secrets of a DBaaS MySQL user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<DbaasUserMysqlSecrets>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasUserOpensearchSecrets revealDbaasOpensearchUserPassword(serviceName, username)
Reveal the secrets of a DBaaS OpenSearch user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<DbaasUserOpensearchSecrets>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasUserPostgresSecrets revealDbaasPostgresUserPassword(serviceName, username)
Reveal the secrets of a DBaaS Postgres user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<DbaasUserPostgresSecrets>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasUserValkeySecrets revealDbaasValkeyUserPassword(serviceName, username)
Reveal the secrets of a DBaaS Valkey user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String |
ApiResponse<DbaasUserValkeySecrets>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<InstancePassword>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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.
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
instanceId | UUID | ||
revertInstanceToSnapshotRequest | RevertInstanceToSnapshotRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
instanceId | UUID | ||
revertInstanceToSnapshotRequest | RevertInstanceToSnapshotRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation rotateSksCcmCredentials(id)
Rotate Exoscale CCM credentials
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation rotateSksCsiCredentials(id)
Rotate Exoscale CSI credentials
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation rotateSksOperatorsCa(id)
Rotate operators certificate authority
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
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).
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
scaleInstanceRequest | ScaleInstanceRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
scaleInstanceRequest | ScaleInstanceRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation scaleInstancePool(id, scaleInstancePoolRequest)
Scale an Instance Pool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
scaleInstancePoolRequest | ScaleInstancePoolRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
scaleInstancePoolRequest | ScaleInstancePoolRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation scaleSksNodepool(id, sksNodepoolId, scaleSksNodepoolRequest)
Scale a SKS Nodepool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID | ||
scaleSksNodepoolRequest | ScaleSksNodepoolRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID | ||
scaleSksNodepoolRequest | ScaleSksNodepoolRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation startDbaasGrafanaMaintenance(name)
Initiate Grafana maintenance update
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation startDbaasKafkaMaintenance(name)
Initiate Kafka maintenance update
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation startDbaasMysqlMaintenance(name)
Initiate MySQL maintenance update
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation startDbaasOpensearchMaintenance(name)
Initiate OpenSearch maintenance update
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation startDbaasPgMaintenance(name)
Initiate PostgreSQL maintenance update
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation startDbaasValkeyMaintenance(name)
Initiate Valkey maintenance update
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation startInstance(id, startInstanceRequest)
Start a Compute instance
This operation starts a virtual machine, potentially using a rescue profile if specified
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
startInstanceRequest | StartInstanceRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
startInstanceRequest | StartInstanceRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation stopDbaasMysqlMigration(name)
Stop a DBaaS MySQL migration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation stopDbaasPgMigration(name)
Stop a DBaaS PostgreSQL migration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation stopDbaasValkeyMigration(name)
Stop a DBaaS Valkey migration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation stopInstance(id)
Stop a Compute instance
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateBlockStorageSnapshot(id, updateBlockStorageSnapshotRequest)
Update block storage volume snapshot
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateBlockStorageSnapshotRequest | UpdateBlockStorageSnapshotRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateBlockStorageSnapshotRequest | UpdateBlockStorageSnapshotRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateBlockStorageVolume(id, updateBlockStorageVolumeRequest)
Update block storage volume
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateBlockStorageVolumeRequest | UpdateBlockStorageVolumeRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateBlockStorageVolumeRequest | UpdateBlockStorageVolumeRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasExternalEndpointDatadog(endpointId, dbaasEndpointDatadogInputUpdate)
[BETA] Update DataDog external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID | ||
dbaasEndpointDatadogInputUpdate | DbaasEndpointDatadogInputUpdate |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID | ||
dbaasEndpointDatadogInputUpdate | DbaasEndpointDatadogInputUpdate |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasExternalEndpointElasticsearch(endpointId, dbaasEndpointElasticsearchInputUpdate)
[BETA] Update ElasticSearch Logs external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID | ||
dbaasEndpointElasticsearchInputUpdate | DbaasEndpointElasticsearchInputUpdate |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID | ||
dbaasEndpointElasticsearchInputUpdate | DbaasEndpointElasticsearchInputUpdate |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasExternalEndpointOpensearch(endpointId, dbaasEndpointOpensearchInputUpdate)
[BETA] Update OpenSearch Logs external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID | ||
dbaasEndpointOpensearchInputUpdate | DbaasEndpointOpensearchInputUpdate |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID | ||
dbaasEndpointOpensearchInputUpdate | DbaasEndpointOpensearchInputUpdate |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasExternalEndpointPrometheus(endpointId, dbaasEndpointPrometheusPayload)
[BETA] Update Prometheus external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID | ||
dbaasEndpointPrometheusPayload | DbaasEndpointPrometheusPayload |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID | ||
dbaasEndpointPrometheusPayload | DbaasEndpointPrometheusPayload |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasExternalEndpointRsyslog(endpointId, dbaasEndpointRsyslogInputUpdate)
[BETA] Update RSyslog external integration endpoint
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID | ||
dbaasEndpointRsyslogInputUpdate | DbaasEndpointRsyslogInputUpdate |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
endpointId | UUID | ||
dbaasEndpointRsyslogInputUpdate | DbaasEndpointRsyslogInputUpdate |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasExternalIntegrationSettingsDatadog(integrationId, getDbaasExternalIntegrationSettingsDatadog200Response)
[BETA] Manage Datadog integration settings
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
integrationId | UUID | ||
getDbaasExternalIntegrationSettingsDatadog200Response | GetDbaasExternalIntegrationSettingsDatadog200Response |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
integrationId | UUID | ||
getDbaasExternalIntegrationSettingsDatadog200Response | GetDbaasExternalIntegrationSettingsDatadog200Response |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasIntegration(id, updateDbaasIntegrationRequest)
[BETA] Update a existing DBaaS integration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateDbaasIntegrationRequest | UpdateDbaasIntegrationRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateDbaasIntegrationRequest | UpdateDbaasIntegrationRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasOpensearchAclConfig(name, dbaasOpensearchAclConfig)
Create a DBaaS OpenSearch ACL configuration
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasOpensearchAclConfig | DbaasOpensearchAclConfig |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
dbaasOpensearchAclConfig | DbaasOpensearchAclConfig |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasPgConnectionPool(serviceName, connectionPoolName, updateDbaasPgConnectionPoolRequest)
Update a DBaaS PostgreSQL connection pool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
connectionPoolName | String | ||
updateDbaasPgConnectionPoolRequest | UpdateDbaasPgConnectionPoolRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
connectionPoolName | String | ||
updateDbaasPgConnectionPoolRequest | UpdateDbaasPgConnectionPoolRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
DbaasPostgresUsers updateDbaasPostgresAllowReplication(serviceName, username, updateDbaasPostgresAllowReplicationRequest)
Update access control for one service user
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
updateDbaasPostgresAllowReplicationRequest | UpdateDbaasPostgresAllowReplicationRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
serviceName | String | ||
username | String | ||
updateDbaasPostgresAllowReplicationRequest | UpdateDbaasPostgresAllowReplicationRequest |
ApiResponse<DbaasPostgresUsers>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasServiceGrafana(name, updateDbaasServiceGrafanaRequest)
Update a DBaaS Grafana service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServiceGrafanaRequest | UpdateDbaasServiceGrafanaRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServiceGrafanaRequest | UpdateDbaasServiceGrafanaRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasServiceKafka(name, updateDbaasServiceKafkaRequest)
Update a DBaaS Kafka service
Update a DBaaS Kafka service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServiceKafkaRequest | UpdateDbaasServiceKafkaRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServiceKafkaRequest | UpdateDbaasServiceKafkaRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasServiceMysql(name, updateDbaasServiceMysqlRequest)
Update a DBaaS MySQL service
Update a DBaaS MySQL service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServiceMysqlRequest | UpdateDbaasServiceMysqlRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServiceMysqlRequest | UpdateDbaasServiceMysqlRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasServiceOpensearch(name, updateDbaasServiceOpensearchRequest)
Update a DBaaS OpenSearch service
Update a DBaaS OpenSearch service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServiceOpensearchRequest | UpdateDbaasServiceOpensearchRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServiceOpensearchRequest | UpdateDbaasServiceOpensearchRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasServicePg(name, updateDbaasServicePgRequest)
Update a DBaaS PostgreSQL service
Update a DBaaS PostgreSQL service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServicePgRequest | UpdateDbaasServicePgRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServicePgRequest | UpdateDbaasServicePgRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDbaasServiceValkey(name, updateDbaasServiceValkeyRequest)
Update a DBaaS Valkey service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServiceValkeyRequest | UpdateDbaasServiceValkeyRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
name | String | ||
updateDbaasServiceValkeyRequest | UpdateDbaasServiceValkeyRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateDnsDomainRecord(domainId, recordId, updateDnsDomainRecordRequest)
Update DNS domain record
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
domainId | UUID | ||
recordId | UUID | ||
updateDnsDomainRecordRequest | UpdateDnsDomainRecordRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
domainId | UUID | ||
recordId | UUID | ||
updateDnsDomainRecordRequest | UpdateDnsDomainRecordRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateElasticIp(id, updateElasticIpRequest)
Update an Elastic IP
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateElasticIpRequest | UpdateElasticIpRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateElasticIpRequest | UpdateElasticIpRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateIamOrganizationPolicy(iamPolicy)
Update IAM Organization Policy
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
iamPolicy | IamPolicy |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
iamPolicy | IamPolicy |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateIamRole(id, updateIamRoleRequest)
Update IAM Role
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateIamRoleRequest | UpdateIamRoleRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateIamRoleRequest | UpdateIamRoleRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateIamRolePolicy(id, iamPolicy)
Update IAM Role Policy
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
iamPolicy | IamPolicy |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
iamPolicy | IamPolicy |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateInstance(id, updateInstanceRequest)
Update a Compute instance
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateInstanceRequest | UpdateInstanceRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateInstanceRequest | UpdateInstanceRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateInstancePool(id, updateInstancePoolRequest)
Update an Instance Pool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateInstancePoolRequest | UpdateInstancePoolRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateInstancePoolRequest | UpdateInstancePoolRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateLoadBalancer(id, updateLoadBalancerRequest)
Update a Load Balancer
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateLoadBalancerRequest | UpdateLoadBalancerRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateLoadBalancerRequest | UpdateLoadBalancerRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateLoadBalancerService(id, serviceId, updateLoadBalancerServiceRequest)
Update a Load Balancer Service
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
serviceId | UUID | ||
updateLoadBalancerServiceRequest | UpdateLoadBalancerServiceRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
serviceId | UUID | ||
updateLoadBalancerServiceRequest | UpdateLoadBalancerServiceRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updatePrivateNetwork(id, updatePrivateNetworkRequest)
Update a Private Network
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updatePrivateNetworkRequest | UpdatePrivateNetworkRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updatePrivateNetworkRequest | UpdatePrivateNetworkRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updatePrivateNetworkInstanceIp(id, updatePrivateNetworkInstanceIpRequest)
Update the IP address of an instance attached to a managed private network
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updatePrivateNetworkInstanceIpRequest | UpdatePrivateNetworkInstanceIpRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updatePrivateNetworkInstanceIpRequest | UpdatePrivateNetworkInstanceIpRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateReverseDnsElasticIp(id, updateReverseDnsElasticIpRequest)
Update/Create the PTR DNS record for an elastic IP
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateReverseDnsElasticIpRequest | UpdateReverseDnsElasticIpRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateReverseDnsElasticIpRequest | UpdateReverseDnsElasticIpRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateReverseDnsInstance(id, updateReverseDnsElasticIpRequest)
Update/Create the PTR DNS record for an instance
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateReverseDnsElasticIpRequest | UpdateReverseDnsElasticIpRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateReverseDnsElasticIpRequest | UpdateReverseDnsElasticIpRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateSksCluster(id, updateSksClusterRequest)
Update an SKS cluster
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateSksClusterRequest | UpdateSksClusterRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateSksClusterRequest | UpdateSksClusterRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateSksNodepool(id, sksNodepoolId, updateSksNodepoolRequest)
Update an SKS Nodepool
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID | ||
updateSksNodepoolRequest | UpdateSksNodepoolRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
sksNodepoolId | UUID | ||
updateSksNodepoolRequest | UpdateSksNodepoolRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateTemplate(id, updateTemplateRequest)
Update template attributes
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateTemplateRequest | UpdateTemplateRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateTemplateRequest | UpdateTemplateRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation updateUserRole(id, updateUserRoleRequest)
Update a User's IAM role
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateUserRoleRequest | UpdateUserRoleRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
updateUserRoleRequest | UpdateUserRoleRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation upgradeSksCluster(id, upgradeSksClusterRequest)
Upgrade an SKS cluster
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
upgradeSksClusterRequest | UpgradeSksClusterRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
upgradeSksClusterRequest | UpgradeSksClusterRequest |
ApiResponse<Operation>
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Operation upgradeSksClusterServiceLevel(id)
Upgrade a SKS cluster to pro
// Import classes:
import com.exoscale.sdk.client.ApiException;
import com.exoscale.sdk.client.*;
import com.exoscale.sdk.client.models.*;
import com.exoscale.sdk.api.ExoscaleApi;
public class Example {
public static void main(String[] args) 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();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |
Name | Type | Description | Notes |
---|---|---|---|
id | UUID |
ApiResponse<Operation>
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 | - |