Explore container code package properties

Describes a container and its runtime properties.

Properties

Name Type Required
name string Yes
image string Yes
imageRegistryCredential ImageRegistryCredential No
entrypoint string No
commands array of string No
environmentVariables array of EnvironmentVariable No
settings array of Setting No
labels array of ContainerLabel No
endpoints array of EndpointProperties No
resources ResourceRequirements Yes
volumeRefs array of ContainerVolume No
instanceView ContainerInstanceView No
diagnostics DiagnosticsRef No

name

Type: string
Required: Yes

The name of the code package.


image

Type: string
Required: Yes

The Container image to use.


imageRegistryCredential

Type: ImageRegistryCredential
Required: No

Image registry credential.


entrypoint

Type: string
Required: No

Override for the default entry point in the container.


commands

Type: array of string
Required: No

Command array to execute within the container in exec form.


environmentVariables

Type: array of EnvironmentVariable
Required: No

The environment variables to set in this container


settings

Type: array of Setting
Required: No

The settings to set in this container. The setting file path can be fetched from environment variable "Fabric_SettingPath". The path for Windows container is "C:\secrets". The path for Linux container is "/var/secrets".


labels

Type: array of ContainerLabel
Required: No

The labels to set in this container.


endpoints

Type: array of EndpointProperties
Required: No

The endpoints exposed by this container.


resources

Type: ResourceRequirements
Required: Yes

This type describes the resource requirements for a container or a service.


volumeRefs

Type: array of ContainerVolume
Required: No

The volumes to be attached to the container.


instanceView

Type: ContainerInstanceView
Required: No

Runtime information of a container instance.


diagnostics

Type: DiagnosticsRef
Required: No

Reference to sinks in DiagnosticsDescription.