DomainGovernance

class oci.tenant_manager_control_plane.models.DomainGovernance(**kwargs)

Bases: object

The model for a domain governance entity.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a DomainGovernance.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a DomainGovernance.
defined_tags Gets the defined_tags of this DomainGovernance.
domain_id [Required] Gets the domain_id of this DomainGovernance.
freeform_tags Gets the freeform_tags of this DomainGovernance.
id [Required] Gets the id of this DomainGovernance.
is_governance_enabled Gets the is_governance_enabled of this DomainGovernance.
lifecycle_state [Required] Gets the lifecycle_state of this DomainGovernance.
ons_subscription_id [Required] Gets the ons_subscription_id of this DomainGovernance.
ons_topic_id [Required] Gets the ons_topic_id of this DomainGovernance.
owner_id [Required] Gets the owner_id of this DomainGovernance.
subscription_email Gets the subscription_email of this DomainGovernance.
system_tags Gets the system_tags of this DomainGovernance.
time_created Gets the time_created of this DomainGovernance.
time_updated Gets the time_updated of this DomainGovernance.

Methods

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

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this DomainGovernance.
  • owner_id (str) – The value to assign to the owner_id property of this DomainGovernance.
  • domain_id (str) – The value to assign to the domain_id property of this DomainGovernance.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DomainGovernance. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_governance_enabled (bool) – The value to assign to the is_governance_enabled property of this DomainGovernance.
  • subscription_email (str) – The value to assign to the subscription_email property of this DomainGovernance.
  • ons_topic_id (str) – The value to assign to the ons_topic_id property of this DomainGovernance.
  • ons_subscription_id (str) – The value to assign to the ons_subscription_id property of this DomainGovernance.
  • time_created (datetime) – The value to assign to the time_created property of this DomainGovernance.
  • time_updated (datetime) – The value to assign to the time_updated property of this DomainGovernance.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DomainGovernance.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DomainGovernance.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DomainGovernance.
defined_tags

Gets the defined_tags of this DomainGovernance. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this DomainGovernance.
Return type:dict(str, dict(str, object))
domain_id

[Required] Gets the domain_id of this DomainGovernance. The OCID of the domain associated with this domain governance entity.

Returns:The domain_id of this DomainGovernance.
Return type:str
freeform_tags

Gets the freeform_tags of this DomainGovernance. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this DomainGovernance.
Return type:dict(str, str)
id

[Required] Gets the id of this DomainGovernance. The OCID of the domain governance entity.

Returns:The id of this DomainGovernance.
Return type:str
is_governance_enabled

Gets the is_governance_enabled of this DomainGovernance. Indicates whether governance is enabled for this domain.

Returns:The is_governance_enabled of this DomainGovernance.
Return type:bool
lifecycle_state

[Required] Gets the lifecycle_state of this DomainGovernance. Lifecycle state of the domain governance entity.

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

Returns:The lifecycle_state of this DomainGovernance.
Return type:str
ons_subscription_id

[Required] Gets the ons_subscription_id of this DomainGovernance. The ONS subscription associated with this domain governance entity.

Returns:The ons_subscription_id of this DomainGovernance.
Return type:str
ons_topic_id

[Required] Gets the ons_topic_id of this DomainGovernance. The ONS topic associated with this domain governance entity.

Returns:The ons_topic_id of this DomainGovernance.
Return type:str
owner_id

[Required] Gets the owner_id of this DomainGovernance. The OCID of the tenancy that owns this domain governance entity.

Returns:The owner_id of this DomainGovernance.
Return type:str
subscription_email

Gets the subscription_email of this DomainGovernance. The email to notify the user, and that the ONS subscription will be created with.

Returns:The subscription_email of this DomainGovernance.
Return type:str
system_tags

Gets the system_tags of this DomainGovernance. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this DomainGovernance.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this DomainGovernance. Date-time when this domain governance was created. An RFC3339-formatted date and time string.

Returns:The time_created of this DomainGovernance.
Return type:datetime
time_updated

Gets the time_updated of this DomainGovernance. Date-time when this domain governance was last updated. An RFC3339-formatted date and time string.

Returns:The time_updated of this DomainGovernance.
Return type:datetime