ContainerCodePackageProperties Class
Describes a container and its runtime properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
ContainerCodePackageProperties
Constructor
ContainerCodePackageProperties(*, name: str, image: str, resources, image_registry_credential=None, entry_point: Optional[str] = None, commands=None, environment_variables=None, settings=None, labels=None, endpoints=None, volume_refs=None, volumes=None, diagnostics=None, reliable_collections_refs=None, liveness_probe=None, readiness_probe=None, **kwargs)
Parameters
- environment_variables
- list[EnvironmentVariable]
The environment variables to set in this container
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".
- volume_refs
- list[VolumeReference]
Volumes to be attached to the container. The lifetime of these volumes is independent of the application's lifetime.
- volumes
- list[ApplicationScopedVolume]
Volumes to be attached to the container. The lifetime of these volumes is scoped to the application's lifetime.
- reliable_collections_refs
- list[ReliableCollectionsRef]
A list of ReliableCollection resources used by this particular code package. Please refer to ReliableCollectionsRef for more details.
An array of liveness probes for a code package. It determines when to restart a code package.
An array of readiness probes for a code package. It determines when to unpublish an endpoint.
Variables
- instance_view
- ContainerInstanceView
Runtime information of a container instance.
Feedback
Submit and view feedback for