Class CreateContainerImageFunctionSourceDetails
Source details for creating a container image based function.
Inherited Members
Namespace: Oci.FunctionsService.Models
Assembly: OCI.DotNetSDK.Functions.dll
Syntax
public class CreateContainerImageFunctionSourceDetails : CreateFunctionSourceDetails
Properties
Image
Declaration
[Required(ErrorMessage = "Image is required.")]
[JsonProperty(PropertyName = "image")]
public string Image { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The qualified name of the Docker image to use in the function, including the image tag. The image should be in the OCI Registry that is in the same region as the function itself. Example: phx.ocir.io/ten/functions/function:0.0.1 |
Remarks
Required
ImageDigest
Declaration
[JsonProperty(PropertyName = "imageDigest")]
public string ImageDigest { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the OCI Registry will be used. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7 |