Class CreateDirectArchiveSourceDetails
Source details for creating the archive based function from Direct Archive. This allows the API caller to directly upload the function code as a base64-encoded archive file. It is useful when the caller wants to provide the code inline during function creation.
Inherited Members
Namespace: Oci.FunctionsService.Models
Assembly: OCI.DotNetSDK.Functions.dll
Syntax
public class CreateDirectArchiveSourceDetails : CreateArchiveSourceDetails
Properties
ArchiveFile
Declaration
[Required(ErrorMessage = "ArchiveFile is required.")]
[JsonProperty(PropertyName = "archiveFile")]
public byte[] ArchiveFile { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] | The base64-encoded archive file of the function code. The archive file must contain all the files for the function. Please refer to functions documentation for maximum allowed size and supported archive formats. |
Remarks
Required