DataSafeConfiguration

class oci.data_safe.models.DataSafeConfiguration(**kwargs)

Bases: object

A Data Safe configuration for a tenancy and region.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a DataSafeConfiguration.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a DataSafeConfiguration.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a DataSafeConfiguration.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a DataSafeConfiguration.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DataSafeConfiguration.
LIFECYCLE_STATE_NA A constant which can be used with the lifecycle_state property of a DataSafeConfiguration.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a DataSafeConfiguration.
compartment_id Gets the compartment_id of this DataSafeConfiguration.
defined_tags Gets the defined_tags of this DataSafeConfiguration.
freeform_tags Gets the freeform_tags of this DataSafeConfiguration.
is_enabled [Required] Gets the is_enabled of this DataSafeConfiguration.
lifecycle_state Gets the lifecycle_state of this DataSafeConfiguration.
time_enabled Gets the time_enabled of this DataSafeConfiguration.
url Gets the url of this DataSafeConfiguration.

Methods

__init__(**kwargs) Initializes a new DataSafeConfiguration object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a DataSafeConfiguration. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a DataSafeConfiguration. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a DataSafeConfiguration. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a DataSafeConfiguration. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a DataSafeConfiguration. This constant has a value of “FAILED”

LIFECYCLE_STATE_NA = 'NA'

A constant which can be used with the lifecycle_state property of a DataSafeConfiguration. This constant has a value of “NA”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a DataSafeConfiguration. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new DataSafeConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • is_enabled (bool) – The value to assign to the is_enabled property of this DataSafeConfiguration.
  • url (str) – The value to assign to the url property of this DataSafeConfiguration.
  • compartment_id (str) – The value to assign to the compartment_id property of this DataSafeConfiguration.
  • time_enabled (datetime) – The value to assign to the time_enabled property of this DataSafeConfiguration.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DataSafeConfiguration. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DataSafeConfiguration.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DataSafeConfiguration.
compartment_id

Gets the compartment_id of this DataSafeConfiguration. The OCID of the tenancy used to enable Data Safe.

Returns:The compartment_id of this DataSafeConfiguration.
Return type:str
defined_tags

Gets the defined_tags of this DataSafeConfiguration. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this DataSafeConfiguration.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this DataSafeConfiguration. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this DataSafeConfiguration.
Return type:dict(str, str)
is_enabled

[Required] Gets the is_enabled of this DataSafeConfiguration. Indicates if Data Safe is enabled.

Returns:The is_enabled of this DataSafeConfiguration.
Return type:bool
lifecycle_state

Gets the lifecycle_state of this DataSafeConfiguration. The current state of Data Safe.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this DataSafeConfiguration.
Return type:str
time_enabled

Gets the time_enabled of this DataSafeConfiguration. The date and time Data Safe was enabled, in the format defined by RFC3339.

Returns:The time_enabled of this DataSafeConfiguration.
Return type:datetime
url

Gets the url of this DataSafeConfiguration. The URL of the Data Safe service.

Returns:The url of this DataSafeConfiguration.
Return type:str