Class ArchiveFunctionSourceDetails
Object capturing fields required for creating an archive based function.
Inherited Members
Namespace: Oci.FunctionsService.Models
Assembly: OCI.DotNetSDK.Functions.dll
Syntax
public class ArchiveFunctionSourceDetails : FunctionSourceDetails
Properties
ArchiveSourceDetails
Declaration
[Required(ErrorMessage = "ArchiveSourceDetails is required.")]
[JsonProperty(PropertyName = "archiveSourceDetails")]
public ArchiveSourceDetails ArchiveSourceDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| ArchiveSourceDetails |
Remarks
Required
Handler
Declaration
[JsonProperty(PropertyName = "handler")]
public string Handler { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The function handler that is executed when the function is invoked. The value of this field depends on the runtime used |
RuntimeConfig
Declaration
[Required(ErrorMessage = "RuntimeConfig is required.")]
[JsonProperty(PropertyName = "runtimeConfig")]
public RuntimeConfig RuntimeConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| RuntimeConfig |
Remarks
Required
SourceCodeSha256
Declaration
[JsonProperty(PropertyName = "sourceCodeSha256")]
public string SourceCodeSha256 { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The SHA256 hash of the function source code archive, base64-encoded. |