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

1 - 1.3

scpcli scf cloud-function code set
--cloud_function_id <value>
--content <value>

Description

update cloud-function code

State ACTIVE (CURRENT)

VersionNot Before
1.3-

Parameters

NameTypeDescriptionExample
cloud_function_id
required
stringCloud Functions ID8c9f6c1c928a45b4bbd1e4da5531d656
content
required
stringCode contentprint("Hello World")

2 - 1.2

scpcli scf cloud-function code set
--cloud_function_id <value>
--content <value>

Description

update cloud-function code

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
content
required
stringCode contentprint("Hello World")

3 - 1.1

scpcli scf cloud-function code set
--cloud_function_id <value>
--content <value>

Description

update cloud-function code

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
content
required
stringCode contentprint("Hello World")

4 - 1.0

scpcli scf cloud-function code set
--cloud_function_id <value>
--content <value>

Description

update cloud-function code

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.020251231

Parameters

NameTypeDescriptionExample
cloud_function_id
required
stringCloud Functions ID8c9f6c1c928a45b4bbd1e4da5531d656
content
required
stringCode contentprint("Hello World")