ContainerInstanceSecurityContext

class oci.container_instances.models.ContainerInstanceSecurityContext(**kwargs)

Bases: object

Security context for all containers in a container instance.

Attributes

SECURITY_CONTEXT_TYPE_LINUX A constant which can be used with the security_context_type property of a ContainerInstanceSecurityContext.
security_context_type Gets the security_context_type of this ContainerInstanceSecurityContext.

Methods

__init__(**kwargs) Initializes a new ContainerInstanceSecurityContext 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.
SECURITY_CONTEXT_TYPE_LINUX = 'LINUX'

A constant which can be used with the security_context_type property of a ContainerInstanceSecurityContext. This constant has a value of “LINUX”

__init__(**kwargs)

Initializes a new ContainerInstanceSecurityContext 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:security_context_type (str) – The value to assign to the security_context_type property of this ContainerInstanceSecurityContext. Allowed values for this property are: “LINUX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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.

security_context_type

Gets the security_context_type of this ContainerInstanceSecurityContext. The type of security context

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

Returns:The security_context_type of this ContainerInstanceSecurityContext.
Return type:str