Cloud Functions
Overview
SCP에서 제공하는 IaaS/PaaS 상품을 프로그램적으로 이용할 수 있도록 지원하는 명령 줄 인터페이스(Command-line interface, CLI)를 제공합니다.
본 가이드는 Cloud Function 서비스에 대한 간략한 설명 및 CLI를 호출하는 방법을 제공합니다.
Version
| Version | Status | Supported Until |
|---|
| 1.0 | DEPRECATED | 20251231 |
| 1.1 | DEPRECATED | 20260430 |
| 1.2 | CURRENT | - |
1 - CLIs
1.1 - Approve PrivateLink Endpoint
1.1.1 - 1.2
scpcli scf privatelink-endpoint approve
--endpoint_id <value>
--cloud_function_id <value>
--type <value>
Description
PrivateLink Endpoint 승인
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
endpoint_id required | string | Endpoint Id | 8c9f6c1c928a45b4bbd1e4da5531d656 |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
type required | string | 타입 | APPROVE |
1.2 - Check Function Name Duplication
1.2.1 - 1.2
scpcli scf cloud-function duplication show
--name <value>
Description
Cloud Function 이름 중복 조회
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
name required | string | 이름 | sample-function-name |
Responses
| Name | Description | Example |
|---|
| result | 결과 | True |
1.2.2 - 1.1
scpcli scf cloud-function duplication show
--name <value>
Description
Cloud Function 이름 중복 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
name required | string | 이름 | sample-function-name |
Responses
| Name | Description | Example |
|---|
| result | 결과 | True |
1.2.3 - 1.0
scpcli scf cloud-function duplication show
--name <value>
Description
Cloud Function 이름 중복 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
name required | string | 이름 | sample-function-name |
Responses
| Name | Description | Example |
|---|
| result | 결과 | True |
1.3 - Connect PrivateLink Endpoint
1.3.1 - 1.2
scpcli scf privatelink-endpoint connect
--endpoint_id <value>
--cloud_function_id <value>
--type <value>
Description
PrivateLink Endpoint 연결
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
endpoint_id required | string | Endpoint Id | 8c9f6c1c928a45b4bbd1e4da5531d656 |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
type required | string | 타입 | RECONNECT |
1.4 - Create Cloud Function
1.4.1 - 1.2
scpcli scf cloud-function create
--runtime <value>
--name <value>
--content <value>
[--tags <value>]
Description
Cloud Function 생성
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
runtime required | string | 런타임 | Node.js:20 |
name required | string | 이름 | sample-function-name |
content required | string | 코드 내용 | sample |
tags optional | array | 태그 목록 | '{"key": "", "value": ""}' |
Responses
| Name | Description | Example |
|---|
| id | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| message | 설명 | Description |
| state | 함수 상태 | READY |
1.4.2 - 1.1
scpcli scf cloud-function create
--runtime <value>
--name <value>
--content <value>
[--tags <value>]
Description
Cloud Function 생성
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
runtime required | string | 런타임 | Node.js:20 |
name required | string | 이름 | sample-function-name |
content required | string | 코드 내용 | sample |
tags optional | array | 태그 목록 | '{"key": "", "value": ""}' |
Responses
| Name | Description | Example |
|---|
| id | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| message | 설명 | Description |
| state | 함수 상태 | READY |
1.4.3 - 1.0
scpcli scf cloud-function create
--runtime <value>
--name <value>
--content <value>
[--tags <value>]
Description
Cloud Function 생성
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
runtime required | string | 런타임 | Node.js:20 |
name required | string | 이름 | sample-function-name |
content required | string | 코드 내용 | sample |
tags optional | array | 태그 목록 | '{"key": "", "value": ""}' |
Responses
| Name | Description | Example |
|---|
| id | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| message | 설명 | Description |
| state | 함수 상태 | READY |
1.5 - Create Cloud Function Apigateway Trigger
1.5.1 - 1.2
scpcli scf cloud-function apigateway trigger create
--cloud_function_id <value>
--apigateway_stage_name <value>
--apigateway_api_id <value>
Description
Cloud Function 트리거 생성
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
apigateway_stage_name required | string | Apigateway 스테이지 이름 | sample |
apigateway_api_id required | string | Apigateway API ID | 31e749b7b260868f441e862b |
Responses
| Name | Description | Example |
|---|
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.5.2 - 1.1
scpcli scf cloud-function apigateway trigger create
--cloud_function_id <value>
--apigateway_stage_name <value>
--apigateway_api_id <value>
Description
Cloud Function 트리거 생성
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
apigateway_stage_name required | string | Apigateway 스테이지 이름 | sample |
apigateway_api_id required | string | Apigateway API ID | 31e749b7b260868f441e862b |
Responses
| Name | Description | Example |
|---|
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.5.3 - 1.0
scpcli scf cloud-function apigateway trigger create
--cloud_function_id <value>
--apigateway_stage_name <value>
--apigateway_api_id <value>
Description
Cloud Function 트리거 생성
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
apigateway_stage_name required | string | Apigateway 스테이지 이름 | sample |
apigateway_api_id required | string | Apigateway API ID | 31e749b7b260868f441e862b |
Responses
| Name | Description | Example |
|---|
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.6 - Create Cloud Function Cronjob Trigger
1.6.1 - 1.2
scpcli scf cloud-function cronjob trigger create
--timezone <value>
--schedule <value>
--cloud_function_id <value>
Description
Cloud Function 트리거 생성
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
timezone required | string | 타임존 | Asia/Tokyo |
schedule required | string | 스케쥴 | * * * * 0 |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
| Name | Description | Example |
|---|
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.6.2 - 1.1
scpcli scf cloud-function cronjob trigger create
--timezone <value>
--schedule <value>
--cloud_function_id <value>
Description
Cloud Function 트리거 생성
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
timezone required | string | 타임존 | Asia/Tokyo |
schedule required | string | 스케쥴 | * * * * 0 |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
| Name | Description | Example |
|---|
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.6.3 - 1.0
scpcli scf cloud-function cronjob trigger create
--timezone <value>
--schedule <value>
--cloud_function_id <value>
Description
Cloud Function 트리거 생성
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
timezone required | string | 타임존 | Asia/Tokyo |
schedule required | string | 스케쥴 | * * * * 0 |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
| Name | Description | Example |
|---|
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.7 - Create PrivateLink Endpoint
1.7.1 - 1.2
scpcli scf privatelink-endpoint create
--cloud_function_id <value>
--service_id <value>
--alias <value>
Description
PrivateLink Endpoint 생성
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
service_id required | string | Service Id | 8c9f6c1c928a45b4bbd1e4da5531d656 |
alias required | string | Alias | sample |
Responses
| Name | Description | Example |
|---|
| endpoint | Endpoint | |
1.8 - Delete Cloud Function
1.8.1 - 1.2
scpcli scf cloud-function delete
--cloud_function_id <value>
Description
Cloud Function 삭제
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
1.8.2 - 1.1
scpcli scf cloud-function delete
--cloud_function_id <value>
Description
Cloud Function 삭제
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
1.8.3 - 1.0
scpcli scf cloud-function delete
--cloud_function_id <value>
Description
Cloud Function 삭제
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
1.9 - Delete Cloud Function Trigger
1.9.1 - 1.2
scpcli scf cloud-function trigger delete
--trigger_id <value>
--trigger_type <value>
--cloud_function_id <value>
Description
Cloud Function 트리거 삭제
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
trigger_id required | integer | 트리거 ID | 1 |
trigger_type required | string | 트리거 타입 | apigateway |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
1.9.2 - 1.1
scpcli scf cloud-function trigger delete
--trigger_id <value>
--trigger_type <value>
--cloud_function_id <value>
Description
Cloud Function 트리거 삭제
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
trigger_id required | integer | 트리거 ID | 1 |
trigger_type required | string | 트리거 타입 | apigateway |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
1.9.3 - 1.0
scpcli scf cloud-function trigger delete
--trigger_id <value>
--trigger_type <value>
--cloud_function_id <value>
Description
Cloud Function 트리거 삭제
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
trigger_id required | integer | 트리거 ID | 1 |
trigger_type required | string | 트리거 타입 | apigateway |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
1.10 - Delete PrivateLink Endpoint
1.10.1 - 1.2
scpcli scf privatelink-endpoint delete
--endpoint_id <value>
--cloud_function_id <value>
Description
PrivateLink Endpoint 삭제
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
endpoint_id required | string | Endpoint Id | 8c9f6c1c928a45b4bbd1e4da5531d656 |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
1.11 - List Cloud Function Triggers
1.11.1 - 1.2
scpcli scf cloud-function trigger list
--cloud_function_id <value>
[--sort <value>]
[--page <value>]
[--size <value>]
[--trigger_name <value>]
[--trigger_type <value>]
Description
Cloud Function 트리거 목록 조회
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
sort optional | string | sort | name:asc |
page optional | integer | page | 0 |
size optional | integer | size | 20 |
trigger_name optional | string | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
trigger_type optional | string | 트리거 타입 | apigateway |
Responses
| Name | Description | Example |
|---|
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.11.2 - 1.1
scpcli scf cloud-function trigger list
--cloud_function_id <value>
[--sort <value>]
[--page <value>]
[--size <value>]
[--trigger_name <value>]
[--trigger_type <value>]
Description
Cloud Function 트리거 목록 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
sort optional | string | sort | name:asc |
page optional | integer | page | 0 |
size optional | integer | size | 20 |
trigger_name optional | string | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
trigger_type optional | string | 트리거 타입 | apigateway |
Responses
| Name | Description | Example |
|---|
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.11.3 - 1.0
scpcli scf cloud-function trigger list
--cloud_function_id <value>
[--sort <value>]
[--page <value>]
[--size <value>]
[--trigger_name <value>]
[--trigger_type <value>]
Description
Cloud Function 트리거 목록 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
sort optional | string | sort | name:asc |
page optional | integer | page | 0 |
size optional | integer | size | 20 |
trigger_name optional | string | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
trigger_type optional | string | 트리거 타입 | apigateway |
Responses
| Name | Description | Example |
|---|
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.12 - List Cloud Functions
1.12.1 - 1.2
scpcli scf cloud-function list
[--sort <value>]
[--page <value>]
[--size <value>]
[--name <value>]
[--state <value>]
[--runtime <value>]
Description
Cloud Function 목록 조회
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
sort optional | string | sort | name:asc |
page optional | integer | page | 0 |
size optional | integer | size | 20 |
name optional | string | 이름 | sample-function-name |
state optional | array | 함수 상태 | R |
runtime optional | array | 런타임 | N |
Responses
1.12.2 - 1.1
scpcli scf cloud-function list
[--sort <value>]
[--page <value>]
[--size <value>]
[--name <value>]
[--state <value>]
[--runtime <value>]
Description
Cloud Function 목록 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
sort optional | string | sort | name:asc |
page optional | integer | page | 0 |
size optional | integer | size | 20 |
name optional | string | 이름 | sample-function-name |
state optional | array | 함수 상태 | R |
runtime optional | array | 런타임 | N |
Responses
1.12.3 - 1.0
scpcli scf cloud-function list
[--sort <value>]
[--page <value>]
[--size <value>]
[--name <value>]
[--state <value>]
[--runtime <value>]
Description
Cloud Function 목록 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
sort optional | string | sort | name:asc |
page optional | integer | page | 0 |
size optional | integer | size | 20 |
name optional | string | 이름 | sample-function-name |
state optional | array | 함수 상태 | R |
runtime optional | array | 런타임 | N |
Responses
1.13 - List Runtimes
1.13.1 - 1.2
scpcli scf cloud-function runtime list
Description
Runtime 목록 조회
상태
ACTIVE (CURRENT)
Responses
| Name | Description | Example |
|---|
| base_image_seq | 기본 이미지 번호 | 3 |
| name | 이름 | sample |
| version | 버전 | 1.0.0 |
1.13.2 - 1.1
scpcli scf cloud-function runtime list
Description
Runtime 목록 조회
상태
ACTIVE (DEPRECATED)
Responses
| Name | Description | Example |
|---|
| base_image_seq | 기본 이미지 번호 | 3 |
| name | 이름 | sample |
| version | 버전 | 1.0.0 |
1.13.3 - 1.0
scpcli scf cloud-function runtime list
Description
Runtime 목록 조회
상태
ACTIVE (DEPRECATED)
Responses
| Name | Description | Example |
|---|
| base_image_seq | 기본 이미지 번호 | 3 |
| name | 이름 | sample |
| version | 버전 | 1.0.0 |
1.14 - List Sample Codes
1.14.1 - 1.2
scpcli scf cloud-function sample-codes show
Description
Sample 코드 목록 조회
상태
ACTIVE (CURRENT)
Responses
| Name | Description | Example |
|---|
| content | 코드 내용 | sample |
| default | 기본값 | False |
| description | 설명 | sample |
| name | 이름 | sample |
| runtime | 런타임 | Node.js:20 |
| seq | 번호 | 3 |
| version | 버전 | sample |
1.14.2 - 1.1
scpcli scf cloud-function sample-codes show
Description
Sample 코드 목록 조회
상태
ACTIVE (DEPRECATED)
Responses
| Name | Description | Example |
|---|
| content | 코드 내용 | sample |
| default | 기본값 | False |
| description | 설명 | sample |
| name | 이름 | sample |
| runtime | 런타임 | Node.js:20 |
| seq | 번호 | 3 |
| version | 버전 | sample |
1.14.3 - 1.0
scpcli scf cloud-function sample-codes show
Description
Sample 코드 목록 조회
상태
ACTIVE (DEPRECATED)
Responses
| Name | Description | Example |
|---|
| content | 코드 내용 | sample |
| default | 기본값 | False |
| description | 설명 | sample |
| name | 이름 | sample |
| runtime | 런타임 | Node.js:20 |
| seq | 번호 | 3 |
| version | 버전 | sample |
1.15 - Request PrivateLink Endpoint
1.15.1 - 1.2
scpcli scf privatelink-endpoint request
--endpoint_id <value>
--cloud_function_id <value>
--type <value>
Description
PrivateLink Endpoint 요청
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
endpoint_id required | string | Endpoint Id | 8c9f6c1c928a45b4bbd1e4da5531d656 |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
type required | string | 타입 | CANCEL |
1.16 - Show Cloud Function
1.16.1 - 1.2
scpcli scf cloud-function show
--cloud_function_id <value>
Description
Cloud Function 상세 조회
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
1.16.2 - 1.1
scpcli scf cloud-function show
--cloud_function_id <value>
Description
Cloud Function 상세 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
1.16.3 - 1.0
scpcli scf cloud-function show
--cloud_function_id <value>
Description
Cloud Function 상세 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
1.17 - Show Cloud Function Code
1.17.1 - 1.2
scpcli scf cloud-function code show
--cloud_function_id <value>
Description
Cloud Function 코드 조회
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
| Name | Description | Example |
|---|
| class_name | 클래스명 | com.example.Handler |
| code_text | 코드 내용 | ZXhwb3J0cy5oYW5kbGVSZXF1ZXN0ID0gYXN5bmM== |
| code_type | 코드 유형 | text |
| file_name | 파일명 | sample |
| file_transfer_status | 파일 전송 상태 | sample |
| file_upload_at | 파일 업로드 시간 | 2025-05-17 00:23:17 |
| method_name | 메소드명 | handleRequest |
| runtime | 런타임 | Node.js:20 |
1.17.2 - 1.1
scpcli scf cloud-function code show
--cloud_function_id <value>
Description
Cloud Function 코드 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
| Name | Description | Example |
|---|
| class_name | 클래스명 | com.example.Handler |
| code_text | 코드 내용 | ZXhwb3J0cy5oYW5kbGVSZXF1ZXN0ID0gYXN5bmM== |
| code_type | 코드 유형 | text |
| file_name | 파일명 | sample |
| file_transfer_status | 파일 전송 상태 | sample |
| file_upload_at | 파일 업로드 시간 | 2025-05-17 00:23:17 |
| method_name | 메소드명 | handleRequest |
| runtime | 런타임 | Node.js:20 |
1.17.3 - 1.0
scpcli scf cloud-function code show
--cloud_function_id <value>
Description
Cloud Function 코드 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
| Name | Description | Example |
|---|
| class_name | 클래스명 | com.example.Handler |
| code_text | 코드 내용 | ZXhwb3J0cy5oYW5kbGVSZXF1ZXN0ID0gYXN5bmM== |
| code_type | 코드 유형 | text |
| file_name | 파일명 | sample |
| file_transfer_status | 파일 전송 상태 | sample |
| file_upload_at | 파일 업로드 시간 | 2025-05-17 00:23:17 |
| method_name | 메소드명 | handleRequest |
| runtime | 런타임 | Node.js:20 |
1.18 - Show Cloud Function Configuration
1.18.1 - 1.2
scpcli scf cloud-function configuration show
--cloud_function_id <value>
Description
Cloud Function 구성 조회
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
| Name | Description | Example |
|---|
| endpoint_alias | Alias | sample |
| endpoint_id | Endpoint Id | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| service_id | Service Id | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| state | 상태 | Active |
1.18.2 - 1.1
scpcli scf cloud-function configuration show
--cloud_function_id <value>
Description
Cloud Function 구성 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
| Name | Description | Example |
|---|
| key | 키 | sample |
| value | 값 | sample |
1.18.3 - 1.0
scpcli scf cloud-function configuration show
--cloud_function_id <value>
Description
Cloud Function 구성 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
Responses
| Name | Description | Example |
|---|
| key | 키 | sample |
| value | 값 | sample |
1.19 - Show Cloud Function Logs
1.19.1 - 1.2
scpcli scf cloud-function logs show
--cloud_function_id <value>
[--time <value>]
[--start <value>]
[--end <value>]
Description
Cloud Function Log 조회
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
time optional | integer | 시간 | 3 |
start optional | string | 시작 일자 | 20250517 |
end optional | string | 종료 일자 | 20250517 |
Responses
| Name | Description | Example |
|---|
| log | 로그 | [2025-05-12 11:04:12] START RequestId : 04680bac - ad76-4e0a-997e-e35b6275cb67 Version : $LATEST |
| time | 시간 | 2025-05-17 00:23:17 |
1.19.2 - 1.1
scpcli scf cloud-function logs show
--cloud_function_id <value>
[--time <value>]
[--start <value>]
[--end <value>]
Description
Cloud Function Log 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
time optional | integer | 시간 | 3 |
start optional | string | 시작 일자 | 20250517 |
end optional | string | 종료 일자 | 20250517 |
Responses
| Name | Description | Example |
|---|
| log | 로그 | [2025-05-12 11:04:12] START RequestId : 04680bac - ad76-4e0a-997e-e35b6275cb67 Version : $LATEST |
| time | 시간 | 2025-05-17 00:23:17 |
1.19.3 - 1.0
scpcli scf cloud-function logs show
--cloud_function_id <value>
[--time <value>]
[--start <value>]
[--end <value>]
Description
Cloud Function Log 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
time optional | integer | 시간 | 3 |
start optional | string | 시작 일자 | 20250517 |
end optional | string | 종료 일자 | 20250517 |
Responses
| Name | Description | Example |
|---|
| log | 로그 | [2025-05-12 11:04:12] START RequestId : 04680bac - ad76-4e0a-997e-e35b6275cb67 Version : $LATEST |
| time | 시간 | 2025-05-17 00:23:17 |
1.20 - Show Cloud Function Metrics
1.20.1 - 1.2
scpcli scf cloud-function metrics show
--cloud_function_id <value>
[--time <value>]
[--start <value>]
[--end <value>]
Description
Cloud Function Metric 조회
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
time optional | integer | 시간 | 3 |
start optional | string | 시작 일자 | 20250517 |
end optional | string | 종료 일자 | 20250517 |
Responses
| Name | Description | Example |
|---|
| metric_data | Metric 데이터 | 1.0033444816053512 |
| time | 시간 | 16:37 |
1.20.2 - 1.1
scpcli scf cloud-function metrics show
--cloud_function_id <value>
[--time <value>]
[--start <value>]
[--end <value>]
Description
Cloud Function Metric 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
time optional | integer | 시간 | 3 |
start optional | string | 시작 일자 | 20250517 |
end optional | string | 종료 일자 | 20250517 |
Responses
| Name | Description | Example |
|---|
| metric_data | Metric 데이터 | 1.0033444816053512 |
| time | 시간 | 16:37 |
1.20.3 - 1.0
scpcli scf cloud-function metrics show
--cloud_function_id <value>
[--time <value>]
[--start <value>]
[--end <value>]
Description
Cloud Function Metric 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
time optional | integer | 시간 | 3 |
start optional | string | 시작 일자 | 20250517 |
end optional | string | 종료 일자 | 20250517 |
Responses
| Name | Description | Example |
|---|
| metric_data | Metric 데이터 | 1.0033444816053512 |
| time | 시간 | 16:37 |
1.21 - Show Cloud Function Trigger
1.21.1 - 1.2
scpcli scf cloud-function trigger show
--trigger_id <value>
Description
Cloud Function 트리거 상세 조회
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
trigger_id required | integer | 트리거 ID | 1 |
Responses
| Name | Description | Example |
|---|
| alias | Alias | $LATEST |
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_sid | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.21.2 - 1.1
scpcli scf cloud-function trigger show
--trigger_id <value>
Description
Cloud Function 트리거 상세 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
trigger_id required | integer | 트리거 ID | 1 |
Responses
| Name | Description | Example |
|---|
| alias | Alias | $LATEST |
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_sid | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.21.3 - 1.0
scpcli scf cloud-function trigger show
--trigger_id <value>
Description
Cloud Function 트리거 상세 조회
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
trigger_id required | integer | 트리거 ID | 1 |
Responses
| Name | Description | Example |
|---|
| alias | Alias | $LATEST |
| schedule | 스케쥴 | * * * * 0 |
| timezone | 타임존 | Asia/Tokyo |
| trigger_id | 트리거 ID | 1 |
| trigger_name | 트리거 타입 | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_sid | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_account_id | 트리거 타겟 어카운트 ID | 617b3d0e90c24a5fa1f65a3824861354 |
| trigger_target_srn | 트리거 타겟 SRN | srn:dev2::f32265726b694b32920aa3b111f4c715:::iam:user/9abd88ba08434777a8ca168e799eebbe |
| trigger_target_uuid | 트리거 타겟 UUID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
| trigger_type | 트리거 타입 | apigateway |
1.22 - Update Cloud Function Code
1.22.1 - 1.2
scpcli scf cloud-function code set
--cloud_function_id <value>
--content <value>
Description
Cloud Function 코드 수정
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
content required | string | 코드 내용 | print("Hello World") |
1.22.2 - 1.1
scpcli scf cloud-function code set
--cloud_function_id <value>
--content <value>
Description
Cloud Function 코드 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
content required | string | 코드 내용 | print("Hello World") |
1.22.3 - 1.0
scpcli scf cloud-function code set
--cloud_function_id <value>
--content <value>
Description
Cloud Function 코드 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
content required | string | 코드 내용 | print("Hello World") |
1.23 - Update Cloud Function Code File
1.23.1 - 1.2
scpcli scf cloud-function code-file set
--cloud_function_id <value>
--method_name <value>
--class_name <value>
[--obs_url <value>]
Description
Cloud Function 코드 파일 수정
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
method_name required | string | 메소드명 | handleRequest |
class_name required | string | 클래스명 | com.example.Handler |
obs_url optional | string | Object Storage URL | https://obs.kr-east1.scp-in.com:8443/sample/java-sample-1.0-SNAPSHOT.jar |
1.23.2 - 1.1
scpcli scf cloud-function code-file set
--cloud_function_id <value>
--method_name <value>
--class_name <value>
[--obs_url <value>]
Description
Cloud Function 코드 파일 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
method_name required | string | 메소드명 | handleRequest |
class_name required | string | 클래스명 | com.example.Handler |
obs_url optional | string | Object Storage URL | https://obs.kr-east1.scp-in.com:8443/sample/java-sample-1.0-SNAPSHOT.jar |
1.24 - Update Cloud Function Config
1.24.1 - 1.2
scpcli scf cloud-function config set
--cloud_function_id <value>
--timeout <value>
--min_scale <value>
--memory <value>
--max_scale <value>
Description
Cloud Function 일반 구성 수정
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
timeout required | integer | 제한 시간 | 100 |
min_scale required | integer | 최소 작업 수 | 1 |
memory required | integer | 메모리 | 256 |
max_scale required | integer | 최대 작업 수 | 5 |
1.24.2 - 1.1
scpcli scf cloud-function config set
--cloud_function_id <value>
--timeout <value>
--min_scale <value>
--memory <value>
--max_scale <value>
Description
Cloud Function 일반 구성 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
timeout required | integer | 제한 시간 | 100 |
min_scale required | integer | 최소 작업 수 | 1 |
memory required | integer | 메모리 | 256 |
max_scale required | integer | 최대 작업 수 | 5 |
1.24.3 - 1.0
scpcli scf cloud-function config set
--cloud_function_id <value>
--timeout <value>
--min_scale <value>
--memory <value>
--max_scale <value>
Description
Cloud Function 일반 구성 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
timeout required | integer | 제한 시간 | 100 |
min_scale required | integer | 최소 작업 수 | 1 |
memory required | integer | 메모리 | 256 |
max_scale required | integer | 최대 작업 수 | 5 |
1.25 - Update Cloud Function Cronjob Trigger
1.25.1 - 1.2
scpcli scf cloud-function cronjob trigger set
--trigger_id <value>
--timezone <value>
--schedule <value>
--cloud_function_id <value>
Description
Cloud Function 트리거 수정
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
trigger_id required | integer | 트리거 ID | 1 |
timezone required | string | 타임존 | Asia/Tokyo |
schedule required | string | 스케쥴 | * * * * 0 |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
1.25.2 - 1.1
scpcli scf cloud-function cronjob trigger set
--trigger_id <value>
--timezone <value>
--schedule <value>
--cloud_function_id <value>
Description
Cloud Function 트리거 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
trigger_id required | integer | 트리거 ID | 1 |
timezone required | string | 타임존 | Asia/Tokyo |
schedule required | string | 스케쥴 | * * * * 0 |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
1.25.3 - 1.0
scpcli scf cloud-function cronjob trigger set
--trigger_id <value>
--timezone <value>
--schedule <value>
--cloud_function_id <value>
Description
Cloud Function 트리거 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
trigger_id required | integer | 트리거 ID | 1 |
timezone required | string | 타임존 | Asia/Tokyo |
schedule required | string | 스케쥴 | * * * * 0 |
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
1.26 - Update Cloud Function Url
1.26.1 - 1.2
scpcli scf cloud-function url set
--cloud_function_id <value>
--url_enabled <value>
--public_ip_acl_enabled <value>
[--allow_ips <value>]
[--auth_type <value>]
Description
Cloud Function 함수 URL 수정
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
url_enabled required | boolean | URL 사용 | True |
public_ip_acl_enabled required | boolean | Public IP 접근 제어 사용 | True |
allow_ips optional | array | 허용 IP | - |
auth_type optional | string | 인증 유형 | NONE |
1.26.2 - 1.1
scpcli scf cloud-function url set
--cloud_function_id <value>
--url_enabled <value>
--public_ip_acl_enabled <value>
[--allow_ips <value>]
[--auth_type <value>]
Description
Cloud Function 함수 URL 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
url_enabled required | boolean | URL 사용 | True |
public_ip_acl_enabled required | boolean | Public IP 접근 제어 사용 | True |
allow_ips optional | array | 허용 IP | - |
auth_type optional | string | 인증 유형 | NONE |
1.26.3 - 1.0
scpcli scf cloud-function url set
--cloud_function_id <value>
--url_enabled <value>
--public_ip_acl_enabled <value>
[--allow_ips <value>]
[--auth_type <value>]
Description
Cloud Function 함수 URL 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
url_enabled required | boolean | URL 사용 | True |
public_ip_acl_enabled required | boolean | Public IP 접근 제어 사용 | True |
allow_ips optional | array | 허용 IP | - |
auth_type optional | string | 인증 유형 | NONE |
1.27 - Update Cloud Function Variables
1.27.1 - 1.2
scpcli scf cloud-function variables set
--cloud_function_id <value>
--variables <value>
Description
Cloud Function 환경 변수 수정
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
variables required | array | 환경 변수 | '{"key": "sample", "value": "sample"}' |
1.27.2 - 1.1
scpcli scf cloud-function variables set
--cloud_function_id <value>
--variables <value>
Description
Cloud Function 환경 변수 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
variables required | array | 환경 변수 | '{"key": "sample", "value": "sample"}' |
1.27.3 - 1.0
scpcli scf cloud-function variables set
--cloud_function_id <value>
--variables <value>
Description
Cloud Function 환경 변수 수정
상태
ACTIVE (DEPRECATED)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
variables required | array | 환경 변수 | '{"key": "sample", "value": "sample"}' |
1.28 - Update PrivateLink Service
1.28.1 - 1.2
scpcli scf privatelink-service set
--cloud_function_id <value>
--privatelink_service_enabled <value>
Description
PrivateLink Service 수정
상태
ACTIVE (CURRENT)
Parameters
| Name | Type | Description | Example |
|---|
cloud_function_id required | string | Cloud Functions ID | 8c9f6c1c928a45b4bbd1e4da5531d656 |
privatelink_service_enabled required | boolean | PrivateLink Service 활성화 | True |