PostgreSQL(DBaaS)

PostgreSQL(DBaaS)

Overview

SCP에서 제공하는 IaaS/PaaS 상품을 프로그램적으로 이용할 수 있도록 지원하는 응용 프로그램 인터페이스(Application Programming Interface, API)를 제공합니다.

본 가이드는 PostgreSQL(DBaaS) 서비스에 대한 간략한 설명 및 API를 호출하는 방법을 제공합니다. API는 RESTful API 방식으로 제공되며, JSON 형식으로 응답합니다.

Version

Not Before 기간이 도래하거나 만료된 Deprecated 버전은 더 이상 지원하지 않습니다. 최신 버전 사용을 권장합니다.

VersionStatusNot Before
1.1CURRENT-
1.0DEPRECATED20260531

OpenAPI URL

https://postgresql.{region}.{environment}.samsungsdscloud.com

Environment and Region List

environmentregion
skr-west1
skr-east1
gkr-south1
gkr-south2
gkr-south3
ekr-west1
ekr-east1

API Version History

1.1

PostgreSQL(DBaaS) API 버전 1.1이 출시되었습니다.

변경사항

  • [변경] GET /postgresql/1.0/clusters/{cluster_id} - ShowCluster API 가 변경되었습니다.
    • 응답 모델이 PostgresqlClusterDetailResponseV1Dot1로 변경되었습니다.
    • 응답 시, 아래와 같은 필드가 추가됩니다.:
      • is_kernel_patchable
  • [신규] PUT /postgresql/1.1/clusters/{cluster_id}/kernel-upgrade - UpgradeKernel API 가 추가되었습니다.
  • [신규] PUT /postgresql/1.1/clusters/{cluster_id}/patch - PatchMinorVersion API 가 추가되었습니다.

1.0

PostgreSQL(DBaaS) API가 출시되었습니다.

변경사항

  • [신규] POST /postgresql/1.0/clusters - CreateCluster API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/clusters - ListClusters API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/clusters/{cluster_id} - ShowCluster API가 추가되었습니다.
  • [신규] DELETE /postgresql/1.0/clusters/{cluster_id} - DeleteCluster API가 추가되었습니다.
  • [신규] PUT /postgresql/1.0/clusters/{cluster_id}/parameters - SetParameterValues API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/clusters/{cluster_id}/parameters - ListParameterValues API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/parameters/sync - SyncParameterValues API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/backups - SetBackup API가 추가되었습니다.
  • [신규] DELETE /postgresql/1.0/clusters/{cluster_id}/backups - UnsetBackup API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/clusters/{cluster_id}/backup-histories - ListBackupHistories API가 추가되었습니다.
  • [신규] PUT /postgresql/1.0/clusters/{cluster_id}/backup-histories - RemoveBackupHistories API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/restore - CreateRestore API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/restart - RestartCluster API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/start - StartCluster API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/stop - StopCluster API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/switchover - SwitchoverCluster API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/sync-state - SyncClusterState API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/promote - PromoteReplicaCluster API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/clusters/{cluster_id}/replicas - ListReplicas API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/replicas - CreateReplica API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/replicas/other-region - CreateOtherRegionReplica API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{origin_cluster_id}/sync-replica-state - SyncReplicaState API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{replica_cluster_id}/reset-replica - ResetReplica API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/security-group-rules - SetSecurityGroupRules API가 추가되었습니다.
  • [신규] DELETE /postgresql/1.0/clusters/{cluster_id}/archive - DeleteArchiveLog API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/clusters/{cluster_id}/archive - ShowArchiveConfig API가 추가되었습니다.
  • [신규] PUT /postgresql/1.0/clusters/{cluster_id}/archive - SetArchiveConfig API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/archive/sync - SyncArchiveConfig API가 추가되었습니다.
  • [신규] PUT /postgresql/1.0/clusters/{cluster_id}/audit-log - SetAuditLog API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/clusters/{cluster_id}/log-export-configs - ListLogExportConfigs API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/log-export-configs - RegisterLogExportConfig API가 추가되었습니다.
  • [신규] DELETE /postgresql/1.0/clusters/{cluster_id}/log-export-configs/{log_type} - UnregisterLogExportConfig API가 추가되었습니다.
  • [신규] PUT /postgresql/1.0/clusters/{cluster_id}/log-export-configs/{log_type} - SetLogExportConfig API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/log-export-configs/{log_type}/export - ExportLog API가 추가되었습니다.
  • [신규] DELETE /postgresql/1.0/clusters/{cluster_id}/maintenance - UnsetMaintenance API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/clusters/{cluster_id}/maintenance - SetMaintenance API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/engine-versions - ListEngineVersions API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/engine-versions/{dbaas_engine_version_id}/properties - ListEngineVersionProperties API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/instance-groups/{instance_group_id}/block-storage-groups - AddBlockStorages API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/instance-groups/{instance_group_id}/resize - SetServerType API가 추가되었습니다.
  • [신규] POST /postgresql/1.0/block-storage-groups/{block_storage_group_id}/resize - SetBlockStorageSize API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/parameter-groups - ListParameterGroups API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/parameters - ListParameters API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/server-types - ListServerTypes API가 추가되었습니다.
  • [신규] GET /postgresql/1.0/requests/{request_id} - ShowRequest API가 추가되었습니다.