This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Update Cloud Function Code File

1 - 1.3

scpcli scf cloud-function code-file set
--cloud_function_id <value>
--method_name <value>
--class_name <value>
[--obs_url <value>]

Description

update a specific cloud_function code file

State ACTIVE (CURRENT)

VersionNot Before
1.3-

Parameters

NameTypeDescriptionExample
cloud_function_id
required
stringCloud Functions ID8c9f6c1c928a45b4bbd1e4da5531d656
method_name
required
stringMethod NamehandleRequest
class_name
required
stringClass Namecom.example.Handler
obs_url
optional
stringObject Storage URLhttps://obs.kr-east1.scp-in.com:8443/sample/java-sample-1.0-SNAPSHOT.jar

2 - 1.2

scpcli scf cloud-function code-file set
--cloud_function_id <value>
--method_name <value>
--class_name <value>
[--obs_url <value>]

Description

update a specific cloud_function code file

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.220260630

Parameters

NameTypeDescriptionExample
cloud_function_id
required
stringCloud Functions ID8c9f6c1c928a45b4bbd1e4da5531d656
method_name
required
stringMethod NamehandleRequest
class_name
required
stringClass Namecom.example.Handler
obs_url
optional
stringObject Storage URLhttps://obs.kr-east1.scp-in.com:8443/sample/java-sample-1.0-SNAPSHOT.jar

3 - 1.1

scpcli scf cloud-function code-file set
--cloud_function_id <value>
--method_name <value>
--class_name <value>
[--obs_url <value>]

Description

update a specific cloud_function code file

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.120260430

Parameters

NameTypeDescriptionExample
cloud_function_id
required
stringCloud Functions ID8c9f6c1c928a45b4bbd1e4da5531d656
method_name
required
stringMethod NamehandleRequest
class_name
required
stringClass Namecom.example.Handler
obs_url
optional
stringObject Storage URLhttps://obs.kr-east1.scp-in.com:8443/sample/java-sample-1.0-SNAPSHOT.jar