OlvmSelinux¶
-
class
oci.cloud_migrations.models.OlvmSelinux(**kwargs)¶ Bases:
objectRepresents SELinux in the system
Attributes
SE_LINUX_MODE_DISABLEDA constant which can be used with the se_linux_mode property of a OlvmSelinux. SE_LINUX_MODE_ENFORCINGA constant which can be used with the se_linux_mode property of a OlvmSelinux. SE_LINUX_MODE_PERMISSIVEA constant which can be used with the se_linux_mode property of a OlvmSelinux. se_linux_modeGets the se_linux_mode of this OlvmSelinux. Methods
__init__(**kwargs)Initializes a new OlvmSelinux object with values from keyword arguments. -
SE_LINUX_MODE_DISABLED= 'DISABLED'¶ A constant which can be used with the se_linux_mode property of a OlvmSelinux. This constant has a value of “DISABLED”
-
SE_LINUX_MODE_ENFORCING= 'ENFORCING'¶ A constant which can be used with the se_linux_mode property of a OlvmSelinux. This constant has a value of “ENFORCING”
-
SE_LINUX_MODE_PERMISSIVE= 'PERMISSIVE'¶ A constant which can be used with the se_linux_mode property of a OlvmSelinux. This constant has a value of “PERMISSIVE”
-
__init__(**kwargs)¶ Initializes a new OlvmSelinux object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: se_linux_mode (str) – The value to assign to the se_linux_mode property of this OlvmSelinux. Allowed values for this property are: “DISABLED”, “ENFORCING”, “PERMISSIVE”
-
se_linux_mode¶ Gets the se_linux_mode of this OlvmSelinux. Represents an SELinux enforcement mode.
Allowed values for this property are: “DISABLED”, “ENFORCING”, “PERMISSIVE”
Returns: The se_linux_mode of this OlvmSelinux. Return type: str
-