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

Return to the regular view of this page.

Show Cloud Function Logs

1 - 1.3

scpcli scf cloud-function logs show
--cloud_function_id <value>
[--time <value>]
[--start <value>]
[--end <value>]

Description

show a specific cloud-function logs

State ACTIVE (CURRENT)

VersionNot Before
1.3-

Parameters

NameTypeDescriptionExample
cloud_function_id
required
stringCloud Functions ID8c9f6c1c928a45b4bbd1e4da5531d656
time
optional
integerTime3
start
optional
stringStart20250517
end
optional
stringEnd20250517

Responses

NameDescriptionExample
logLog[2025-05-12 11:04:12] START RequestId : 04680bac - ad76-4e0a-997e-e35b6275cb67 Version : $LATEST
timeTime2025-05-17 00:23:17

2 - 1.2

scpcli scf cloud-function logs show
--cloud_function_id <value>
[--time <value>]
[--start <value>]
[--end <value>]

Description

show a specific cloud-function logs

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
time
optional
integerTime3
start
optional
stringStart20250517
end
optional
stringEnd20250517

Responses

NameDescriptionExample
logLog[2025-05-12 11:04:12] START RequestId : 04680bac - ad76-4e0a-997e-e35b6275cb67 Version : $LATEST
timeTime2025-05-17 00:23:17

3 - 1.1

scpcli scf cloud-function logs show
--cloud_function_id <value>
[--time <value>]
[--start <value>]
[--end <value>]

Description

show a specific cloud-function logs

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
time
optional
integerTime3
start
optional
stringStart20250517
end
optional
stringEnd20250517

Responses

NameDescriptionExample
logLog[2025-05-12 11:04:12] START RequestId : 04680bac - ad76-4e0a-997e-e35b6275cb67 Version : $LATEST
timeTime2025-05-17 00:23:17

4 - 1.0

scpcli scf cloud-function logs show
--cloud_function_id <value>
[--time <value>]
[--start <value>]
[--end <value>]

Description

show a specific cloud-function logs

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
time
optional
integerTime3
start
optional
stringStart20250517
end
optional
stringEnd20250517

Responses

NameDescriptionExample
logLog[2025-05-12 11:04:12] START RequestId : 04680bac - ad76-4e0a-997e-e35b6275cb67 Version : $LATEST
timeTime2025-05-17 00:23:17