ContainerConfig

class oci.devops.models.ContainerConfig(**kwargs)

Bases: object

Specifies the container configuration.

Attributes

CONTAINER_CONFIG_TYPE_CONTAINER_INSTANCE_CONFIG A constant which can be used with the container_config_type property of a ContainerConfig.
container_config_type [Required] Gets the container_config_type of this ContainerConfig.

Methods

__init__(**kwargs) Initializes a new ContainerConfig 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.
CONTAINER_CONFIG_TYPE_CONTAINER_INSTANCE_CONFIG = 'CONTAINER_INSTANCE_CONFIG'

A constant which can be used with the container_config_type property of a ContainerConfig. This constant has a value of “CONTAINER_INSTANCE_CONFIG”

__init__(**kwargs)

Initializes a new ContainerConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:container_config_type (str) – The value to assign to the container_config_type property of this ContainerConfig. Allowed values for this property are: “CONTAINER_INSTANCE_CONFIG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
container_config_type

[Required] Gets the container_config_type of this ContainerConfig. Container configuration type.

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

Returns:The container_config_type of this ContainerConfig.
Return type: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.