# coding: utf-8
# Copyright (c) 2016, 2026, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220509


from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field  # noqa: F401
from oci.decorators import init_model_state_from_kwargs


@init_model_state_from_kwargs
class OlvmStorageDomainProperties(object):
    """
    OLVM Storage Domain properties.
    """

    #: A constant which can be used with the external_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "ERROR"
    EXTERNAL_STATUS_ERROR = "ERROR"

    #: A constant which can be used with the external_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "FAILURE"
    EXTERNAL_STATUS_FAILURE = "FAILURE"

    #: A constant which can be used with the external_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "INFO"
    EXTERNAL_STATUS_INFO = "INFO"

    #: A constant which can be used with the external_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "OK"
    EXTERNAL_STATUS_OK = "OK"

    #: A constant which can be used with the external_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "WARNING"
    EXTERNAL_STATUS_WARNING = "WARNING"

    #: A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "ACTIVATING"
    STORAGE_DOMAIN_STATUS_ACTIVATING = "ACTIVATING"

    #: A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "ACTIVE"
    STORAGE_DOMAIN_STATUS_ACTIVE = "ACTIVE"

    #: A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "DETACHING"
    STORAGE_DOMAIN_STATUS_DETACHING = "DETACHING"

    #: A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "INACTIVE"
    STORAGE_DOMAIN_STATUS_INACTIVE = "INACTIVE"

    #: A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "LOCKED"
    STORAGE_DOMAIN_STATUS_LOCKED = "LOCKED"

    #: A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "MAINTENANCE"
    STORAGE_DOMAIN_STATUS_MAINTENANCE = "MAINTENANCE"

    #: A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "MIXED"
    STORAGE_DOMAIN_STATUS_MIXED = "MIXED"

    #: A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "PREPARING_FOR_MAINTENANCE"
    STORAGE_DOMAIN_STATUS_PREPARING_FOR_MAINTENANCE = "PREPARING_FOR_MAINTENANCE"

    #: A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "UNATTACHED"
    STORAGE_DOMAIN_STATUS_UNATTACHED = "UNATTACHED"

    #: A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
    #: This constant has a value of "UNKNOWN"
    STORAGE_DOMAIN_STATUS_UNKNOWN = "UNKNOWN"

    #: A constant which can be used with the storage_format property of a OlvmStorageDomainProperties.
    #: This constant has a value of "V1"
    STORAGE_FORMAT_V1 = "V1"

    #: A constant which can be used with the storage_format property of a OlvmStorageDomainProperties.
    #: This constant has a value of "V2"
    STORAGE_FORMAT_V2 = "V2"

    #: A constant which can be used with the storage_format property of a OlvmStorageDomainProperties.
    #: This constant has a value of "V3"
    STORAGE_FORMAT_V3 = "V3"

    #: A constant which can be used with the storage_format property of a OlvmStorageDomainProperties.
    #: This constant has a value of "V4"
    STORAGE_FORMAT_V4 = "V4"

    #: A constant which can be used with the storage_format property of a OlvmStorageDomainProperties.
    #: This constant has a value of "V5"
    STORAGE_FORMAT_V5 = "V5"

    #: A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
    #: This constant has a value of "DATA"
    STORAGE_DOMAIN_TYPE_DATA = "DATA"

    #: A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
    #: This constant has a value of "EXPORT"
    STORAGE_DOMAIN_TYPE_EXPORT = "EXPORT"

    #: A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
    #: This constant has a value of "IMAGE"
    STORAGE_DOMAIN_TYPE_IMAGE = "IMAGE"

    #: A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
    #: This constant has a value of "ISO"
    STORAGE_DOMAIN_TYPE_ISO = "ISO"

    #: A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
    #: This constant has a value of "MANAGED_BLOCK_STORAGE"
    STORAGE_DOMAIN_TYPE_MANAGED_BLOCK_STORAGE = "MANAGED_BLOCK_STORAGE"

    #: A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
    #: This constant has a value of "VOLUME"
    STORAGE_DOMAIN_TYPE_VOLUME = "VOLUME"

    def __init__(self, **kwargs):
        """
        Initializes a new OlvmStorageDomainProperties object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param storage_domain_name:
            The value to assign to the storage_domain_name property of this OlvmStorageDomainProperties.
        :type storage_domain_name: str

        :param storage_domain_description:
            The value to assign to the storage_domain_description property of this OlvmStorageDomainProperties.
        :type storage_domain_description: str

        :param comment:
            The value to assign to the comment property of this OlvmStorageDomainProperties.
        :type comment: str

        :param available_space_in_bytes:
            The value to assign to the available_space_in_bytes property of this OlvmStorageDomainProperties.
        :type available_space_in_bytes: int

        :param used_space_in_bytes:
            The value to assign to the used_space_in_bytes property of this OlvmStorageDomainProperties.
        :type used_space_in_bytes: int

        :param committed_space_in_bytes:
            The value to assign to the committed_space_in_bytes property of this OlvmStorageDomainProperties.
        :type committed_space_in_bytes: int

        :param block_size_in_bytes:
            The value to assign to the block_size_in_bytes property of this OlvmStorageDomainProperties.
        :type block_size_in_bytes: int

        :param is_backup:
            The value to assign to the is_backup property of this OlvmStorageDomainProperties.
        :type is_backup: bool

        :param is_primary:
            The value to assign to the is_primary property of this OlvmStorageDomainProperties.
        :type is_primary: bool

        :param is_import:
            The value to assign to the is_import property of this OlvmStorageDomainProperties.
        :type is_import: bool

        :param is_discard_after_delete:
            The value to assign to the is_discard_after_delete property of this OlvmStorageDomainProperties.
        :type is_discard_after_delete: bool

        :param is_support_discard:
            The value to assign to the is_support_discard property of this OlvmStorageDomainProperties.
        :type is_support_discard: bool

        :param is_support_discard_zeroes_data:
            The value to assign to the is_support_discard_zeroes_data property of this OlvmStorageDomainProperties.
        :type is_support_discard_zeroes_data: bool

        :param is_wipe_after_delete:
            The value to assign to the is_wipe_after_delete property of this OlvmStorageDomainProperties.
        :type is_wipe_after_delete: bool

        :param critical_space_action_blocker_in_gbs:
            The value to assign to the critical_space_action_blocker_in_gbs property of this OlvmStorageDomainProperties.
        :type critical_space_action_blocker_in_gbs: int

        :param warning_low_space_indicator_in_percentage:
            The value to assign to the warning_low_space_indicator_in_percentage property of this OlvmStorageDomainProperties.
        :type warning_low_space_indicator_in_percentage: int

        :param external_status:
            The value to assign to the external_status property of this OlvmStorageDomainProperties.
            Allowed values for this property are: "ERROR", "FAILURE", "INFO", "OK", "WARNING"
        :type external_status: str

        :param storage_domain_status:
            The value to assign to the storage_domain_status property of this OlvmStorageDomainProperties.
            Allowed values for this property are: "ACTIVATING", "ACTIVE", "DETACHING", "INACTIVE", "LOCKED", "MAINTENANCE", "MIXED", "PREPARING_FOR_MAINTENANCE", "UNATTACHED", "UNKNOWN"
        :type storage_domain_status: str

        :param storage:
            The value to assign to the storage property of this OlvmStorageDomainProperties.
        :type storage: oci.cloud_bridge.models.Storage

        :param storage_format:
            The value to assign to the storage_format property of this OlvmStorageDomainProperties.
            Allowed values for this property are: "V1", "V2", "V3", "V4", "V5"
        :type storage_format: str

        :param storage_domain_type:
            The value to assign to the storage_domain_type property of this OlvmStorageDomainProperties.
            Allowed values for this property are: "DATA", "EXPORT", "IMAGE", "ISO", "MANAGED_BLOCK_STORAGE", "VOLUME"
        :type storage_domain_type: str

        :param data_centers:
            The value to assign to the data_centers property of this OlvmStorageDomainProperties.
        :type data_centers: list[oci.cloud_bridge.models.OlvmDataCenter]

        """
        self.swagger_types = {
            'storage_domain_name': 'str',
            'storage_domain_description': 'str',
            'comment': 'str',
            'available_space_in_bytes': 'int',
            'used_space_in_bytes': 'int',
            'committed_space_in_bytes': 'int',
            'block_size_in_bytes': 'int',
            'is_backup': 'bool',
            'is_primary': 'bool',
            'is_import': 'bool',
            'is_discard_after_delete': 'bool',
            'is_support_discard': 'bool',
            'is_support_discard_zeroes_data': 'bool',
            'is_wipe_after_delete': 'bool',
            'critical_space_action_blocker_in_gbs': 'int',
            'warning_low_space_indicator_in_percentage': 'int',
            'external_status': 'str',
            'storage_domain_status': 'str',
            'storage': 'Storage',
            'storage_format': 'str',
            'storage_domain_type': 'str',
            'data_centers': 'list[OlvmDataCenter]'
        }
        self.attribute_map = {
            'storage_domain_name': 'storageDomainName',
            'storage_domain_description': 'storageDomainDescription',
            'comment': 'comment',
            'available_space_in_bytes': 'availableSpaceInBytes',
            'used_space_in_bytes': 'usedSpaceInBytes',
            'committed_space_in_bytes': 'committedSpaceInBytes',
            'block_size_in_bytes': 'blockSizeInBytes',
            'is_backup': 'isBackup',
            'is_primary': 'isPrimary',
            'is_import': 'isImport',
            'is_discard_after_delete': 'isDiscardAfterDelete',
            'is_support_discard': 'isSupportDiscard',
            'is_support_discard_zeroes_data': 'isSupportDiscardZeroesData',
            'is_wipe_after_delete': 'isWipeAfterDelete',
            'critical_space_action_blocker_in_gbs': 'criticalSpaceActionBlockerInGBs',
            'warning_low_space_indicator_in_percentage': 'warningLowSpaceIndicatorInPercentage',
            'external_status': 'externalStatus',
            'storage_domain_status': 'storageDomainStatus',
            'storage': 'storage',
            'storage_format': 'storageFormat',
            'storage_domain_type': 'storageDomainType',
            'data_centers': 'dataCenters'
        }
        self._redacted_field_paths = [
            ['storage', 'logical_units', '*', 'password'],
            ['storage', 'password'],
            ['storage', 'volume_group', 'logical_units', '*', 'password'],
        ]
        self._storage_domain_name = None
        self._storage_domain_description = None
        self._comment = None
        self._available_space_in_bytes = None
        self._used_space_in_bytes = None
        self._committed_space_in_bytes = None
        self._block_size_in_bytes = None
        self._is_backup = None
        self._is_primary = None
        self._is_import = None
        self._is_discard_after_delete = None
        self._is_support_discard = None
        self._is_support_discard_zeroes_data = None
        self._is_wipe_after_delete = None
        self._critical_space_action_blocker_in_gbs = None
        self._warning_low_space_indicator_in_percentage = None
        self._external_status = None
        self._storage_domain_status = None
        self._storage = None
        self._storage_format = None
        self._storage_domain_type = None
        self._data_centers = None

    @property
    def storage_domain_name(self):
        """
        **[Required]** Gets the storage_domain_name of this OlvmStorageDomainProperties.
        A human-readable name in plain text.


        :return: The storage_domain_name of this OlvmStorageDomainProperties.
        :rtype: str
        """
        return self._storage_domain_name

    @storage_domain_name.setter
    def storage_domain_name(self, storage_domain_name):
        """
        Sets the storage_domain_name of this OlvmStorageDomainProperties.
        A human-readable name in plain text.


        :param storage_domain_name: The storage_domain_name of this OlvmStorageDomainProperties.
        :type: str
        """
        self._storage_domain_name = storage_domain_name

    @property
    def storage_domain_description(self):
        """
        Gets the storage_domain_description of this OlvmStorageDomainProperties.
        A human-readable description in plain text.


        :return: The storage_domain_description of this OlvmStorageDomainProperties.
        :rtype: str
        """
        return self._storage_domain_description

    @storage_domain_description.setter
    def storage_domain_description(self, storage_domain_description):
        """
        Sets the storage_domain_description of this OlvmStorageDomainProperties.
        A human-readable description in plain text.


        :param storage_domain_description: The storage_domain_description of this OlvmStorageDomainProperties.
        :type: str
        """
        self._storage_domain_description = storage_domain_description

    @property
    def comment(self):
        """
        Gets the comment of this OlvmStorageDomainProperties.
        Free text containing comments about this object.


        :return: The comment of this OlvmStorageDomainProperties.
        :rtype: str
        """
        return self._comment

    @comment.setter
    def comment(self, comment):
        """
        Sets the comment of this OlvmStorageDomainProperties.
        Free text containing comments about this object.


        :param comment: The comment of this OlvmStorageDomainProperties.
        :type: str
        """
        self._comment = comment

    @property
    def available_space_in_bytes(self):
        """
        Gets the available_space_in_bytes of this OlvmStorageDomainProperties.
        Space available in bytes.


        :return: The available_space_in_bytes of this OlvmStorageDomainProperties.
        :rtype: int
        """
        return self._available_space_in_bytes

    @available_space_in_bytes.setter
    def available_space_in_bytes(self, available_space_in_bytes):
        """
        Sets the available_space_in_bytes of this OlvmStorageDomainProperties.
        Space available in bytes.


        :param available_space_in_bytes: The available_space_in_bytes of this OlvmStorageDomainProperties.
        :type: int
        """
        self._available_space_in_bytes = available_space_in_bytes

    @property
    def used_space_in_bytes(self):
        """
        Gets the used_space_in_bytes of this OlvmStorageDomainProperties.
        Space used in bytes.


        :return: The used_space_in_bytes of this OlvmStorageDomainProperties.
        :rtype: int
        """
        return self._used_space_in_bytes

    @used_space_in_bytes.setter
    def used_space_in_bytes(self, used_space_in_bytes):
        """
        Sets the used_space_in_bytes of this OlvmStorageDomainProperties.
        Space used in bytes.


        :param used_space_in_bytes: The used_space_in_bytes of this OlvmStorageDomainProperties.
        :type: int
        """
        self._used_space_in_bytes = used_space_in_bytes

    @property
    def committed_space_in_bytes(self):
        """
        Gets the committed_space_in_bytes of this OlvmStorageDomainProperties.
        Space committed in bytes.


        :return: The committed_space_in_bytes of this OlvmStorageDomainProperties.
        :rtype: int
        """
        return self._committed_space_in_bytes

    @committed_space_in_bytes.setter
    def committed_space_in_bytes(self, committed_space_in_bytes):
        """
        Sets the committed_space_in_bytes of this OlvmStorageDomainProperties.
        Space committed in bytes.


        :param committed_space_in_bytes: The committed_space_in_bytes of this OlvmStorageDomainProperties.
        :type: int
        """
        self._committed_space_in_bytes = committed_space_in_bytes

    @property
    def block_size_in_bytes(self):
        """
        Gets the block_size_in_bytes of this OlvmStorageDomainProperties.
        Block size in bytes.


        :return: The block_size_in_bytes of this OlvmStorageDomainProperties.
        :rtype: int
        """
        return self._block_size_in_bytes

    @block_size_in_bytes.setter
    def block_size_in_bytes(self, block_size_in_bytes):
        """
        Sets the block_size_in_bytes of this OlvmStorageDomainProperties.
        Block size in bytes.


        :param block_size_in_bytes: The block_size_in_bytes of this OlvmStorageDomainProperties.
        :type: int
        """
        self._block_size_in_bytes = block_size_in_bytes

    @property
    def is_backup(self):
        """
        Gets the is_backup of this OlvmStorageDomainProperties.
        Whether a data storage domain is used as backup domain or not.


        :return: The is_backup of this OlvmStorageDomainProperties.
        :rtype: bool
        """
        return self._is_backup

    @is_backup.setter
    def is_backup(self, is_backup):
        """
        Sets the is_backup of this OlvmStorageDomainProperties.
        Whether a data storage domain is used as backup domain or not.


        :param is_backup: The is_backup of this OlvmStorageDomainProperties.
        :type: bool
        """
        self._is_backup = is_backup

    @property
    def is_primary(self):
        """
        Gets the is_primary of this OlvmStorageDomainProperties.
        Indicates if this is the primary (master) storage domain of a data center.


        :return: The is_primary of this OlvmStorageDomainProperties.
        :rtype: bool
        """
        return self._is_primary

    @is_primary.setter
    def is_primary(self, is_primary):
        """
        Sets the is_primary of this OlvmStorageDomainProperties.
        Indicates if this is the primary (master) storage domain of a data center.


        :param is_primary: The is_primary of this OlvmStorageDomainProperties.
        :type: bool
        """
        self._is_primary = is_primary

    @property
    def is_import(self):
        """
        Gets the is_import of this OlvmStorageDomainProperties.
        Whether this storage domain is imported.


        :return: The is_import of this OlvmStorageDomainProperties.
        :rtype: bool
        """
        return self._is_import

    @is_import.setter
    def is_import(self, is_import):
        """
        Sets the is_import of this OlvmStorageDomainProperties.
        Whether this storage domain is imported.


        :param is_import: The is_import of this OlvmStorageDomainProperties.
        :type: bool
        """
        self._is_import = is_import

    @property
    def is_discard_after_delete(self):
        """
        Gets the is_discard_after_delete of this OlvmStorageDomainProperties.
        Indicates whether disks' blocks on block storage domains will be discarded right before they are deleted.


        :return: The is_discard_after_delete of this OlvmStorageDomainProperties.
        :rtype: bool
        """
        return self._is_discard_after_delete

    @is_discard_after_delete.setter
    def is_discard_after_delete(self, is_discard_after_delete):
        """
        Sets the is_discard_after_delete of this OlvmStorageDomainProperties.
        Indicates whether disks' blocks on block storage domains will be discarded right before they are deleted.


        :param is_discard_after_delete: The is_discard_after_delete of this OlvmStorageDomainProperties.
        :type: bool
        """
        self._is_discard_after_delete = is_discard_after_delete

    @property
    def is_support_discard(self):
        """
        Gets the is_support_discard of this OlvmStorageDomainProperties.
        Indicates whether a block storage domain supports discard operations


        :return: The is_support_discard of this OlvmStorageDomainProperties.
        :rtype: bool
        """
        return self._is_support_discard

    @is_support_discard.setter
    def is_support_discard(self, is_support_discard):
        """
        Sets the is_support_discard of this OlvmStorageDomainProperties.
        Indicates whether a block storage domain supports discard operations


        :param is_support_discard: The is_support_discard of this OlvmStorageDomainProperties.
        :type: bool
        """
        self._is_support_discard = is_support_discard

    @property
    def is_support_discard_zeroes_data(self):
        """
        Gets the is_support_discard_zeroes_data of this OlvmStorageDomainProperties.
        Indicates whether a block storage domain supports the property that discard zeroes the data.


        :return: The is_support_discard_zeroes_data of this OlvmStorageDomainProperties.
        :rtype: bool
        """
        return self._is_support_discard_zeroes_data

    @is_support_discard_zeroes_data.setter
    def is_support_discard_zeroes_data(self, is_support_discard_zeroes_data):
        """
        Sets the is_support_discard_zeroes_data of this OlvmStorageDomainProperties.
        Indicates whether a block storage domain supports the property that discard zeroes the data.


        :param is_support_discard_zeroes_data: The is_support_discard_zeroes_data of this OlvmStorageDomainProperties.
        :type: bool
        """
        self._is_support_discard_zeroes_data = is_support_discard_zeroes_data

    @property
    def is_wipe_after_delete(self):
        """
        Gets the is_wipe_after_delete of this OlvmStorageDomainProperties.
        Serves as the default value of wipe_after_delete for disks on this storage domain.


        :return: The is_wipe_after_delete of this OlvmStorageDomainProperties.
        :rtype: bool
        """
        return self._is_wipe_after_delete

    @is_wipe_after_delete.setter
    def is_wipe_after_delete(self, is_wipe_after_delete):
        """
        Sets the is_wipe_after_delete of this OlvmStorageDomainProperties.
        Serves as the default value of wipe_after_delete for disks on this storage domain.


        :param is_wipe_after_delete: The is_wipe_after_delete of this OlvmStorageDomainProperties.
        :type: bool
        """
        self._is_wipe_after_delete = is_wipe_after_delete

    @property
    def critical_space_action_blocker_in_gbs(self):
        """
        Gets the critical_space_action_blocker_in_gbs of this OlvmStorageDomainProperties.
        Ensure storage domain always has at least this amount of unoccupied space in GBs.


        :return: The critical_space_action_blocker_in_gbs of this OlvmStorageDomainProperties.
        :rtype: int
        """
        return self._critical_space_action_blocker_in_gbs

    @critical_space_action_blocker_in_gbs.setter
    def critical_space_action_blocker_in_gbs(self, critical_space_action_blocker_in_gbs):
        """
        Sets the critical_space_action_blocker_in_gbs of this OlvmStorageDomainProperties.
        Ensure storage domain always has at least this amount of unoccupied space in GBs.


        :param critical_space_action_blocker_in_gbs: The critical_space_action_blocker_in_gbs of this OlvmStorageDomainProperties.
        :type: int
        """
        self._critical_space_action_blocker_in_gbs = critical_space_action_blocker_in_gbs

    @property
    def warning_low_space_indicator_in_percentage(self):
        """
        Gets the warning_low_space_indicator_in_percentage of this OlvmStorageDomainProperties.
        If the free space available on the storage domain is below this percentage, warning messages are displayed to the user and logged.


        :return: The warning_low_space_indicator_in_percentage of this OlvmStorageDomainProperties.
        :rtype: int
        """
        return self._warning_low_space_indicator_in_percentage

    @warning_low_space_indicator_in_percentage.setter
    def warning_low_space_indicator_in_percentage(self, warning_low_space_indicator_in_percentage):
        """
        Sets the warning_low_space_indicator_in_percentage of this OlvmStorageDomainProperties.
        If the free space available on the storage domain is below this percentage, warning messages are displayed to the user and logged.


        :param warning_low_space_indicator_in_percentage: The warning_low_space_indicator_in_percentage of this OlvmStorageDomainProperties.
        :type: int
        """
        self._warning_low_space_indicator_in_percentage = warning_low_space_indicator_in_percentage

    @property
    def external_status(self):
        """
        Gets the external_status of this OlvmStorageDomainProperties.
        Status of storage domain.

        Allowed values for this property are: "ERROR", "FAILURE", "INFO", "OK", "WARNING"


        :return: The external_status of this OlvmStorageDomainProperties.
        :rtype: str
        """
        return self._external_status

    @external_status.setter
    def external_status(self, external_status):
        """
        Sets the external_status of this OlvmStorageDomainProperties.
        Status of storage domain.


        :param external_status: The external_status of this OlvmStorageDomainProperties.
        :type: str
        """
        allowed_values = ["ERROR", "FAILURE", "INFO", "OK", "WARNING"]
        if not value_allowed_none_or_none_sentinel(external_status, allowed_values):
            raise ValueError(
                f"Invalid value for `external_status`, must be None or one of {allowed_values}"
            )
        self._external_status = external_status

    @property
    def storage_domain_status(self):
        """
        Gets the storage_domain_status of this OlvmStorageDomainProperties.
        Status of storage domain.

        Allowed values for this property are: "ACTIVATING", "ACTIVE", "DETACHING", "INACTIVE", "LOCKED", "MAINTENANCE", "MIXED", "PREPARING_FOR_MAINTENANCE", "UNATTACHED", "UNKNOWN"


        :return: The storage_domain_status of this OlvmStorageDomainProperties.
        :rtype: str
        """
        return self._storage_domain_status

    @storage_domain_status.setter
    def storage_domain_status(self, storage_domain_status):
        """
        Sets the storage_domain_status of this OlvmStorageDomainProperties.
        Status of storage domain.


        :param storage_domain_status: The storage_domain_status of this OlvmStorageDomainProperties.
        :type: str
        """
        allowed_values = ["ACTIVATING", "ACTIVE", "DETACHING", "INACTIVE", "LOCKED", "MAINTENANCE", "MIXED", "PREPARING_FOR_MAINTENANCE", "UNATTACHED", "UNKNOWN"]
        if not value_allowed_none_or_none_sentinel(storage_domain_status, allowed_values):
            raise ValueError(
                f"Invalid value for `storage_domain_status`, must be None or one of {allowed_values}"
            )
        self._storage_domain_status = storage_domain_status

    @property
    def storage(self):
        """
        Gets the storage of this OlvmStorageDomainProperties.

        :return: The storage of this OlvmStorageDomainProperties.
        :rtype: oci.cloud_bridge.models.Storage
        """
        return self._storage

    @storage.setter
    def storage(self, storage):
        """
        Sets the storage of this OlvmStorageDomainProperties.

        :param storage: The storage of this OlvmStorageDomainProperties.
        :type: oci.cloud_bridge.models.Storage
        """
        self._storage = storage

    @property
    def storage_format(self):
        """
        Gets the storage_format of this OlvmStorageDomainProperties.
        Type which represents a format of storage domain.

        Allowed values for this property are: "V1", "V2", "V3", "V4", "V5"


        :return: The storage_format of this OlvmStorageDomainProperties.
        :rtype: str
        """
        return self._storage_format

    @storage_format.setter
    def storage_format(self, storage_format):
        """
        Sets the storage_format of this OlvmStorageDomainProperties.
        Type which represents a format of storage domain.


        :param storage_format: The storage_format of this OlvmStorageDomainProperties.
        :type: str
        """
        allowed_values = ["V1", "V2", "V3", "V4", "V5"]
        if not value_allowed_none_or_none_sentinel(storage_format, allowed_values):
            raise ValueError(
                f"Invalid value for `storage_format`, must be None or one of {allowed_values}"
            )
        self._storage_format = storage_format

    @property
    def storage_domain_type(self):
        """
        Gets the storage_domain_type of this OlvmStorageDomainProperties.
        Indicates the kind of data managed by a storage domain.

        Allowed values for this property are: "DATA", "EXPORT", "IMAGE", "ISO", "MANAGED_BLOCK_STORAGE", "VOLUME"


        :return: The storage_domain_type of this OlvmStorageDomainProperties.
        :rtype: str
        """
        return self._storage_domain_type

    @storage_domain_type.setter
    def storage_domain_type(self, storage_domain_type):
        """
        Sets the storage_domain_type of this OlvmStorageDomainProperties.
        Indicates the kind of data managed by a storage domain.


        :param storage_domain_type: The storage_domain_type of this OlvmStorageDomainProperties.
        :type: str
        """
        allowed_values = ["DATA", "EXPORT", "IMAGE", "ISO", "MANAGED_BLOCK_STORAGE", "VOLUME"]
        if not value_allowed_none_or_none_sentinel(storage_domain_type, allowed_values):
            raise ValueError(
                f"Invalid value for `storage_domain_type`, must be None or one of {allowed_values}"
            )
        self._storage_domain_type = storage_domain_type

    @property
    def data_centers(self):
        """
        Gets the data_centers of this OlvmStorageDomainProperties.
        List of data centers where storage domain belongs


        :return: The data_centers of this OlvmStorageDomainProperties.
        :rtype: list[oci.cloud_bridge.models.OlvmDataCenter]
        """
        return self._data_centers

    @data_centers.setter
    def data_centers(self, data_centers):
        """
        Sets the data_centers of this OlvmStorageDomainProperties.
        List of data centers where storage domain belongs


        :param data_centers: The data_centers of this OlvmStorageDomainProperties.
        :type: list[oci.cloud_bridge.models.OlvmDataCenter]
        """
        self._data_centers = data_centers

    def __repr__(self):
        as_dict = to_dict(self)
        redact_password_field(as_dict, ['storage', 'logical_units', '*', 'password'])
        redact_password_field(as_dict, ['storage', 'password'])
        redact_password_field(as_dict, ['storage', 'volume_group', 'logical_units', '*', 'password'])
        return formatted_flat_dict(as_dict)

    def __eq__(self, other):
        if other is None:
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not self == other
