All Products
Search
Document Center

Function Compute:InputCodeLocation

Last Updated:Aug 28, 2026

Parameter

Type

Description

Example

object

Code location of the function. You can provide code packages using one of the following methods:

  1. Include the code package content in the request. Set zipFile.

  2. Upload the code package to Object Storage Service (OSS) and reference it by path. Set ossBucketName and ossObjectName.

checksum

string

CRC-64 value of the code package. When provided, Function Compute validates the package integrity against this value.

2825179536350****

ossBucketName

string

Name of the OSS bucket that stores the function code ZIP package.

demo-bucket

ossObjectName

string

Name of the OSS object that stores the function code ZIP package.

demo-object

zipFile

string

Base64-encoded ZIP package of the function code.

UEsDBAoAAAAAANF