Cloud Functions

Cloud Functions

Overview

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

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

Version

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

VersionStatusNot Before
1.4CURRENT-
1.3SUPPORTED20260830
1.2DEPRECATED20260630
1.1DEPRECATED20260430
1.0DEPRECATED20251231

OpenAPI URL

https://scf.{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.4

Cloud Functions가 1.4 버전으로 업데이트되었습니다.

변경사항

  • [변경] GET /cloud-functions - Cloud Functions 목록 조회 API가 변경되었습니다.
  • 응답 모델이 CloudFunctionForListV1Dot4 로 변경되었습니다.
  • 응답시, 아래와 같은 필드가 추가됩니다.
    • eots_date
    • eots_state
  • [변경] GET /cloud-functions - Cloud Functions 상세 조회 API가 변경되었습니다.
  • 응답 모델이 CloudFunctionShowResponseV1Dot4 로 변경되었습니다.
  • 응답시, 아래와 같은 필드가 추가됩니다.
    • cloud_function.eots_date
    • cloud_function.eots_state
  • [변경] GET /cloud-functions/runtimes - Runtime 목록 조회 API가 변경되었습니다.
  • 응답 모델이 RuntimeListResponseV1Dot4 로 변경되었습니다.
  • 응답시, 아래와 같은 필드가 추가됩니다.
    • runtimes.eots_date
    • runtimes.eots_state
  • [변경] GET /cloud-functions/sample-codes - 블루프린트 목록 조회 API가 변경되었습니다.
  • 응답 모델이 SampleCodesListResponseV1Dot4 로 변경되었습니다.
  • 응답시, 아래와 같은 필드가 추가됩니다.
    • sample_codes.eots_date
    • sample_codes.eots_state

1.3

Cloud Functions가 1.3 버전으로 업데이트되었습니다.

변경사항

  • [신규] GET /cloud-functions/{cloud_function_id}/config - 일반 설정 조회 API가 추가되었습니다.
  • [변경] PUT /cloud-functions/{cloud_function_id}/config - 일반 설정 업데이트 API가 변경되었습니다.
  • 필요한 Action이 아래와 같이 변경됩니다.
    • scf:SetGeneralConfig
  • [신규] GET /cloud-functions/{cloud_function_id}/environment-variables - 환경 변수 목록 조회 API가 추가되었습니다.
  • [변경] PUT /cloud-functions/{cloud_function_id}/environment-variables - 환경 변수 업데이트 API가 변경되었습니다.
  • 필요한 Action이 아래와 같이 변경됩니다.
    • scf:SetEnvConfig
  • [신규] GET /cloud-functions/{cloud_function_id}/url - URL 설정 조회 API가 추가되었습니다.
  • [변경] PUT /cloud-functions/{cloud_function_id}/url - URL 설정 업데이트 API가 변경되었습니다.
  • 필요한 Action이 아래와 같이 변경됩니다.
    • scf:SetUrlConfig
  • 응답 모델이 FunctionUrlV1Dot3 로 변경되었습니다.
  • 응답시, 아래와 같은 필드가 추가됩니다.
    • state
  • [신규] GET /cloud-functions/{cloud_function_id}/privatelink-services - PrivateLink Service 조회 API가 추가되었습니다.
  • [변경] GET /cloud-functions/{cloud_function_id}/privatelink-services - PrivateLink Service 업데이트 API가 변경되었습니다.
  • 응답 모델이 PrivateLinkServiceV1Dot3 로 변경되었습니다.
  • 응답시, 아래와 같은 필드가 추가됩니다.
    • privatelink_service_state
    • privatelink_service_auth_type
  • [신규] GET /cloud-functions/{cloud_function_id}/privatelink-endpoints - PrivateLink Endpoint 목록 조회 API가 추가되었습니다.
  • [신규] GET /cloud-functions/{cloud_function_id}/resource-policies - Resource Policy 조회 API가 추가되었습니다.
  • [신규] PUT /cloud-functions/{cloud_function_id}/resource-policies - Resource Policy 설정 API가 추가되었습니다.
  • [신규] DELETE /cloud-functions/{cloud_function_id}/resource-policies - Resource Policy 삭제 API가 추가되었습니다.

1.2

Cloud Functions가 1.2 버전으로 업데이트되었습니다.

변경사항

  • [변경] GET /cloud-functions/{cloud_function_id}/configurations - Show Cloud Function Configuration API 가 변경되었습니다.
  • 응답 모델이 ConfigurationV1Dot2 로 변경되었습니다.
  • 응답시, 아래와 같은 필드가 추가됩니다.
    • privatelink_service
    • privatelink_endpoints
  • [신규] PUT /cloud-functions/{cloud_function_id}/privatelink-services - PrivateLink Service 업데이트 API가 추가되었습니다.
  • [신규] POST /cloud-functions/{cloud_function_id}/privatelink-endpoints - PrivateLink Endpoint 생성 API가 추가되었습니다.
  • [신규] PUT /cloud-functions/{cloud_function_id}/privatelink-endpoints/{endpoint_id}/approval - PrivateLink Endpoint 승인/거절 API가 추가되었습니다.
  • [신규] PUT /cloud-functions/{cloud_function_id}/privatelink-endpoints/{endpoint_id}/connection - PrivateLink Endpoint 재연결/해제 API가 추가되었습니다.
  • [신규] PUT /cloud-functions/{cloud_function_id}/privatelink-endpoints/{endpoint_id}/request - PrivateLink Endpoint 연결 재요청/취소 API가 추가되었습니다.
  • [신규] DELETE /cloud-functions/{cloud_function_id}/privatelink-endpoints/{endpoint_id} - PrivateLink Endpoint 삭제 API가 추가되었습니다.

1.1

Cloud Functions가 1.1 버전으로 업데이트되었습니다.

변경사항

  • [신규] PUT /cloud-functions/{cloud_function_id}/codes/file - Cloud Function 코드 파일 업데이트 API가 추가되었습니다.

1.0

Cloud Functions가 출시되었습니다.

변경사항

  • [신규] GET /cloud-functions - List Cloud Functions API 가 추가되었습니다.
  • [신규] POST /cloud-functions - Create Cloud Function API 가 추가되었습니다.
  • [신규] GET /cloud-functions/check-duplication - Check Function Name Duplication API 가 추가되었습니다.
  • [신규] GET /cloud-functions/runtimes - List Runtimes API 가 추가되었습니다.
  • [신규] GET /cloud-functions/sample-codes - List Sample Codes API 가 추가되었습니다.
  • [신규] DELETE /cloud-functions/{cloud_function_id} - Delete Cloud Function API 가 추가되었습니다.
  • [신규] GET /cloud-functions/{cloud_function_id} - Show Cloud Function API 가 추가되었습니다.
  • [신규] GET /cloud-functions/{cloud_function_id}/codes - Show Cloud Function Code API 가 추가되었습니다.
  • [신규] PUT /cloud-functions/{cloud_function_id}/codes - Update Cloud Function Code API 가 추가되었습니다.
  • [신규] GET /cloud-functions/{cloud_function_id}/configurations - Show Cloud Function Configuration API 가 추가되었습니다.
  • [신규] PUT /cloud-functions/{cloud_function_id}/configurations/config - Update Cloud Function Config API 가 추가되었습니다.
  • [신규] PUT /cloud-functions/{cloud_function_id}/configurations/environment-variables - Update Cloud Function Variables API 가 추가되었습니다.
  • [신규] PUT /cloud-functions/{cloud_function_id}/configurations/url - Update Cloud Function Url API 가 추가되었습니다.
  • [신규] GET /cloud-functions/{cloud_function_id}/logs - Show Cloud Function Logs API 가 추가되었습니다.
  • [신규] GET /cloud-functions/{cloud_function_id}/metrics - Show Cloud Function Metrics API 가 추가되었습니다.
  • [신규] GET /triggers - List Cloud Function Triggers API 가 추가되었습니다.
  • [신규] POST /triggers/apigateway - Create Cloud Function Apigateway Trigger API 가 추가되었습니다.
  • [신규] POST /triggers/cronjob - Create Cloud Function Cronjob Trigger API 가 추가되었습니다.
  • [신규] PUT /triggers/cronjob/{trigger_id} - Update Cloud Function Cronjob Trigger API 가 추가되었습니다.
  • [신규] DELETE /triggers/{trigger_id} - Delete Cloud Function Trigger API 가 추가되었습니다.
  • [신규] GET /triggers/{trigger_id} - Show Cloud Function Trigger API 가 추가되었습니다.