ContainerInstanceConfig¶
- 
class oci.devops.models.ContainerInstanceConfig(**kwargs)¶
- Bases: - oci.devops.models.container_config.ContainerConfig- Specifies ContainerInstance configuration. - Attributes - CONTAINER_CONFIG_TYPE_CONTAINER_INSTANCE_CONFIG- str(object=’’) -> str - availability_domain- Gets the availability_domain of this ContainerInstanceConfig. - compartment_id- Gets the compartment_id of this ContainerInstanceConfig. - container_config_type- [Required] Gets the container_config_type of this ContainerConfig. - network_channel- [Required] Gets the network_channel of this ContainerInstanceConfig. - shape_config- [Required] Gets the shape_config of this ContainerInstanceConfig. - shape_name- [Required] Gets the shape_name of this ContainerInstanceConfig. - Methods - __init__(**kwargs)- Initializes a new ContainerInstanceConfig 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'¶
 - 
__init__(**kwargs)¶
- Initializes a new ContainerInstanceConfig object with values from keyword arguments. The default value of the - container_config_typeattribute of this class is- CONTAINER_INSTANCE_CONFIGand it should not be changed. 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 ContainerInstanceConfig. Allowed values for this property are: “CONTAINER_INSTANCE_CONFIG”
- compartment_id (str) – The value to assign to the compartment_id property of this ContainerInstanceConfig.
- availability_domain (str) – The value to assign to the availability_domain property of this ContainerInstanceConfig.
- shape_name (str) – The value to assign to the shape_name property of this ContainerInstanceConfig.
- shape_config (oci.devops.models.ShapeConfig) – The value to assign to the shape_config property of this ContainerInstanceConfig.
- network_channel (oci.devops.models.NetworkChannel) – The value to assign to the network_channel property of this ContainerInstanceConfig.
 
 - 
availability_domain¶
- Gets the availability_domain of this ContainerInstanceConfig. Availability domain where the ContainerInstance will be created. - Returns: - The availability_domain of this ContainerInstanceConfig. - Return type: - str 
 - 
compartment_id¶
- Gets the compartment_id of this ContainerInstanceConfig. The OCID of the compartment where the ContainerInstance will be created. - Returns: - The compartment_id of this ContainerInstanceConfig. - Return type: - str 
 - 
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. 
 - 
network_channel¶
- [Required] Gets the network_channel of this ContainerInstanceConfig. - Returns: - The network_channel of this ContainerInstanceConfig. - Return type: - oci.devops.models.NetworkChannel 
 - 
shape_config¶
- [Required] Gets the shape_config of this ContainerInstanceConfig. - Returns: - The shape_config of this ContainerInstanceConfig. - Return type: - oci.devops.models.ShapeConfig 
 - 
shape_name¶
- [Required] Gets the shape_name of this ContainerInstanceConfig. The shape of the ContainerInstance. The shape determines the resources available to the ContainerInstance. - Returns: - The shape_name of this ContainerInstanceConfig. - Return type: - str 
 
-