OcirContainerJobEnvironmentConfigurationDetails

class oci.data_science.models.OcirContainerJobEnvironmentConfigurationDetails(**kwargs)

Bases: oci.data_science.models.job_environment_configuration_details.JobEnvironmentConfigurationDetails

Environment configuration based on container image stored in OCI Container Registry.

Attributes

JOB_ENVIRONMENT_TYPE_OCIR_CONTAINER str(object=’’) -> str
cmd Gets the cmd of this OcirContainerJobEnvironmentConfigurationDetails.
entrypoint Gets the entrypoint of this OcirContainerJobEnvironmentConfigurationDetails.
image [Required] Gets the image of this OcirContainerJobEnvironmentConfigurationDetails.
image_digest Gets the image_digest of this OcirContainerJobEnvironmentConfigurationDetails.
image_signature_id Gets the image_signature_id of this OcirContainerJobEnvironmentConfigurationDetails.
job_environment_type [Required] Gets the job_environment_type of this JobEnvironmentConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new OcirContainerJobEnvironmentConfigurationDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
JOB_ENVIRONMENT_TYPE_OCIR_CONTAINER = 'OCIR_CONTAINER'
__init__(**kwargs)

Initializes a new OcirContainerJobEnvironmentConfigurationDetails object with values from keyword arguments. The default value of the job_environment_type attribute of this class is OCIR_CONTAINER and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • job_environment_type (str) – The value to assign to the job_environment_type property of this OcirContainerJobEnvironmentConfigurationDetails. Allowed values for this property are: “OCIR_CONTAINER”
  • image (str) – The value to assign to the image property of this OcirContainerJobEnvironmentConfigurationDetails.
  • cmd (list[str]) – The value to assign to the cmd property of this OcirContainerJobEnvironmentConfigurationDetails.
  • entrypoint (list[str]) – The value to assign to the entrypoint property of this OcirContainerJobEnvironmentConfigurationDetails.
  • image_digest (str) – The value to assign to the image_digest property of this OcirContainerJobEnvironmentConfigurationDetails.
  • image_signature_id (str) – The value to assign to the image_signature_id property of this OcirContainerJobEnvironmentConfigurationDetails.
cmd

Gets the cmd of this OcirContainerJobEnvironmentConfigurationDetails. The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.

Returns:The cmd of this OcirContainerJobEnvironmentConfigurationDetails.
Return type:list[str]
entrypoint

Gets the entrypoint of this OcirContainerJobEnvironmentConfigurationDetails. The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.

Returns:The entrypoint of this OcirContainerJobEnvironmentConfigurationDetails.
Return type:list[str]
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

image

[Required] Gets the image of this OcirContainerJobEnvironmentConfigurationDetails. The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest

Returns:The image of this OcirContainerJobEnvironmentConfigurationDetails.
Return type:str
image_digest

Gets the image_digest of this OcirContainerJobEnvironmentConfigurationDetails. The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030

Returns:The image_digest of this OcirContainerJobEnvironmentConfigurationDetails.
Return type:str
image_signature_id

Gets the image_signature_id of this OcirContainerJobEnvironmentConfigurationDetails. OCID of the container image signature

Returns:The image_signature_id of this OcirContainerJobEnvironmentConfigurationDetails.
Return type:str
job_environment_type

[Required] Gets the job_environment_type of this JobEnvironmentConfigurationDetails. The environment configuration type used for job runtime.

Allowed values for this property are: “OCIR_CONTAINER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The job_environment_type of this JobEnvironmentConfigurationDetails.
Return type:str