CreateContainerInstanceSecurityContextDetails

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

Bases: object

Security context for all containers in a container instance.

Methods

__init__(**kwargs) Initializes a new CreateContainerInstanceSecurityContextDetails 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.

Attributes

security_context_type Gets the security_context_type of this CreateContainerInstanceSecurityContextDetails.
__init__(**kwargs)

Initializes a new CreateContainerInstanceSecurityContextDetails 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 CreateContainerInstanceSecurityContextDetails.
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 CreateContainerInstanceSecurityContextDetails. The type of security context

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