Package com.exoscale.sdk.client
Class Client
- java.lang.Object
-
- com.exoscale.sdk.api.ExoscaleApi
-
- com.exoscale.sdk.client.Client
-
public class Client extends ExoscaleApi
High-level wrapper for interacting with Exoscale API. Takes care of the setup ad configuration of the underlying ApiClient
-
-
Constructor Summary
Constructors Constructor Description Client(Credentials credentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Operation
wait(Operation operation)
Waits for a given operation to complete.-
Methods inherited from class com.exoscale.sdk.api.ExoscaleApi
addExternalSourceToSecurityGroup, addInstanceProtection, addRuleToSecurityGroup, addServiceToLoadBalancer, attachBlockStorageVolumeToInstance, attachDbaasServiceToEndpoint, attachInstanceToElasticIp, attachInstanceToPrivateNetwork, attachInstanceToSecurityGroup, copyTemplate, createAntiAffinityGroup, createApiKey, createBlockStorageSnapshot, createBlockStorageVolume, createDbaasExternalEndpointDatadog, createDbaasExternalEndpointElasticsearch, createDbaasExternalEndpointOpensearch, createDbaasExternalEndpointPrometheus, createDbaasExternalEndpointRsyslog, createDbaasIntegration, createDbaasKafkaSchemaRegistryAclConfig, createDbaasKafkaTopicAclConfig, createDbaasKafkaUser, createDbaasMysqlDatabase, createDbaasMysqlUser, createDbaasOpensearchUser, createDbaasPgConnectionPool, createDbaasPgDatabase, createDbaasPgUpgradeCheck, createDbaasPostgresUser, createDbaasRedisUser, createDbaasServiceGrafana, createDbaasServiceKafka, createDbaasServiceMysql, createDbaasServiceOpensearch, createDbaasServicePg, createDbaasServiceRedis, createDbaasTaskMigrationCheck, createDnsDomain, createDnsDomainRecord, createElasticIp, createIamRole, createInstance, createInstancePool, createLoadBalancer, createPrivateNetwork, createSecurityGroup, createSksCluster, createSksNodepool, createSnapshot, deleteAntiAffinityGroup, deleteApiKey, deleteBlockStorageSnapshot, deleteBlockStorageVolume, deleteDbaasExternalEndpointDatadog, deleteDbaasExternalEndpointElasticsearch, deleteDbaasExternalEndpointOpensearch, deleteDbaasExternalEndpointPrometheus, deleteDbaasExternalEndpointRsyslog, deleteDbaasIntegration, deleteDbaasKafkaSchemaRegistryAclConfig, deleteDbaasKafkaTopicAclConfig, deleteDbaasKafkaUser, deleteDbaasMysqlDatabase, deleteDbaasMysqlUser, deleteDbaasOpensearchUser, deleteDbaasPgConnectionPool, deleteDbaasPgDatabase, deleteDbaasPostgresUser, deleteDbaasRedisUser, deleteDbaasService, deleteDbaasServiceGrafana, deleteDbaasServiceKafka, deleteDbaasServiceMysql, deleteDbaasServiceOpensearch, deleteDbaasServicePg, deleteDbaasServiceRedis, deleteDnsDomain, deleteDnsDomainRecord, deleteElasticIp, deleteIamRole, deleteInstance, deleteInstancePool, deleteLoadBalancer, deleteLoadBalancerService, deletePrivateNetwork, deleteReverseDnsElasticIp, deleteReverseDnsInstance, deleteRuleFromSecurityGroup, deleteSecurityGroup, deleteSksCluster, deleteSksNodepool, deleteSnapshot, deleteSshKey, deleteTemplate, detachBlockStorageVolume, detachDbaasServiceFromEndpoint, detachInstanceFromElasticIp, detachInstanceFromPrivateNetwork, detachInstanceFromSecurityGroup, enableDbaasMysqlWrites, evictInstancePoolMembers, evictSksNodepoolMembers, exportSnapshot, generateSksClusterKubeconfig, getAntiAffinityGroup, getApiException, getApiKey, getBlockStorageSnapshot, getBlockStorageVolume, getConsoleProxyUrl, getDbaasCaCertificate, getDbaasExternalEndpointDatadog, getDbaasExternalEndpointElasticsearch, getDbaasExternalEndpointOpensearch, getDbaasExternalEndpointPrometheus, getDbaasExternalEndpointRsyslog, getDbaasExternalIntegration, getDbaasExternalIntegrationSettingsDatadog, getDbaasIntegration, getDbaasKafkaAclConfig, getDbaasMigrationStatus, getDbaasOpensearchAclConfig, getDbaasServiceGrafana, getDbaasServiceKafka, getDbaasServiceLogs, getDbaasServiceMetrics, getDbaasServiceMysql, getDbaasServiceOpensearch, getDbaasServicePg, getDbaasServiceRedis, getDbaasServiceType, getDbaasSettingsGrafana, getDbaasSettingsKafka, getDbaasSettingsMysql, getDbaasSettingsOpensearch, getDbaasSettingsPg, getDbaasSettingsRedis, getDbaasTask, getDeployTarget, getDnsDomain, getDnsDomainRecord, getDnsDomainZoneFile, getElasticIp, getIamOrganizationPolicy, getIamRole, getInstance, getInstancePool, getInstanceType, getLoadBalancer, getLoadBalancerService, getOperation, getOrganization, getPrivateNetwork, getQuota, getReverseDnsElasticIp, getReverseDnsInstance, getSecurityGroup, getSksCluster, getSksClusterAuthorityCert, getSksClusterInspection, getSksNodepool, getSnapshot, getSosPresignedUrl, getSshKey, getTemplate, listAntiAffinityGroups, listApiKeys, listBlockStorageSnapshots, listBlockStorageVolumes, listDbaasExternalEndpoints, listDbaasExternalEndpointTypes, listDbaasExternalIntegrations, listDbaasIntegrationSettings, listDbaasIntegrationTypes, listDbaasServices, listDbaasServiceTypes, listDeployTargets, listDnsDomainRecords, listDnsDomains, listElasticIps, listEvents, listIamRoles, listInstancePools, listInstances, listInstanceTypes, listLoadBalancers, listPrivateNetworks, listQuotas, listSecurityGroups, listSksClusterDeprecatedResources, listSksClusters, listSksClusterVersions, listSnapshots, listSosBucketsUsage, listSshKeys, listTemplates, listZones, promoteSnapshotToTemplate, rebootInstance, registerSshKey, registerTemplate, removeExternalSourceFromSecurityGroup, removeInstanceProtection, resetDbaasGrafanaUserPassword, resetDbaasKafkaUserPassword, resetDbaasMysqlUserPassword, resetDbaasOpensearchUserPassword, resetDbaasPostgresUserPassword, resetDbaasRedisUserPassword, resetElasticIpField, resetInstance, resetInstanceField, resetInstancePassword, resetInstancePoolField, resetLoadBalancerField, resetLoadBalancerServiceField, resetPrivateNetworkField, resetSksClusterField, resetSksNodepoolField, resizeBlockStorageVolume, resizeInstanceDisk, revealDbaasGrafanaUserPassword, revealDbaasKafkaConnectPassword, revealDbaasKafkaUserPassword, revealDbaasMysqlUserPassword, revealDbaasOpensearchUserPassword, revealDbaasPostgresUserPassword, revealDbaasRedisUserPassword, revealInstancePassword, revertInstanceToSnapshot, rotateSksCcmCredentials, rotateSksOperatorsCa, scaleInstance, scaleInstancePool, scaleSksNodepool, startDbaasGrafanaMaintenance, startDbaasKafkaMaintenance, startDbaasMysqlMaintenance, startDbaasOpensearchMaintenance, startDbaasPgMaintenance, startDbaasRedisMaintenance, startInstance, stopDbaasMysqlMigration, stopDbaasPgMigration, stopDbaasRedisMigration, stopInstance, updateBlockStorageSnapshot, updateBlockStorageVolume, updateDbaasExternalEndpointDatadog, updateDbaasExternalEndpointElasticsearch, updateDbaasExternalEndpointOpensearch, updateDbaasExternalEndpointPrometheus, updateDbaasExternalEndpointRsyslog, updateDbaasExternalIntegrationSettingsDatadog, updateDbaasIntegration, updateDbaasOpensearchAclConfig, updateDbaasPgConnectionPool, updateDbaasPostgresAllowReplication, updateDbaasServiceGrafana, updateDbaasServiceKafka, updateDbaasServiceMysql, updateDbaasServiceOpensearch, updateDbaasServicePg, updateDbaasServiceRedis, updateDnsDomainRecord, updateElasticIp, updateIamOrganizationPolicy, updateIamRole, updateIamRolePolicy, updateInstance, updateInstancePool, updateLoadBalancer, updateLoadBalancerService, updatePrivateNetwork, updatePrivateNetworkInstanceIp, updateReverseDnsElasticIp, updateReverseDnsInstance, updateSksCluster, updateSksNodepool, updateTemplate, upgradeSksCluster, upgradeSksClusterServiceLevel
-
-
-
-
Constructor Detail
-
Client
public Client(Credentials credentials)
- Parameters:
credentials
- The credentials used to authenticate with the Exoscale API.
-
-
Method Detail
-
wait
public Operation wait(Operation operation)
Waits for a given operation to complete.- Parameters:
operation
- The operation to wait for.- Returns:
- The updated operation after reaching a terminal state.
- Throws:
RuntimeException
- If there is an error during the polling process
-
-