EnforcedGovernanceRuleSummary

class oci.governance_rules_control_plane.models.EnforcedGovernanceRuleSummary(**kwargs)

Bases: object

A summary of the enforced governance rule.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a EnforcedGovernanceRuleSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a EnforcedGovernanceRuleSummary.
TYPE_ALLOWED_REGIONS A constant which can be used with the type property of a EnforcedGovernanceRuleSummary.
TYPE_QUOTA A constant which can be used with the type property of a EnforcedGovernanceRuleSummary.
TYPE_TAG A constant which can be used with the type property of a EnforcedGovernanceRuleSummary.
compartment_id [Required] Gets the compartment_id of this EnforcedGovernanceRuleSummary.
governance_rule_display_name [Required] Gets the governance_rule_display_name of this EnforcedGovernanceRuleSummary.
id [Required] Gets the id of this EnforcedGovernanceRuleSummary.
lifecycle_state [Required] Gets the lifecycle_state of this EnforcedGovernanceRuleSummary.
time_created [Required] Gets the time_created of this EnforcedGovernanceRuleSummary.
time_updated [Required] Gets the time_updated of this EnforcedGovernanceRuleSummary.
type [Required] Gets the type of this EnforcedGovernanceRuleSummary.

Methods

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

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

TYPE_ALLOWED_REGIONS = 'ALLOWED_REGIONS'

A constant which can be used with the type property of a EnforcedGovernanceRuleSummary. This constant has a value of “ALLOWED_REGIONS”

TYPE_QUOTA = 'QUOTA'

A constant which can be used with the type property of a EnforcedGovernanceRuleSummary. This constant has a value of “QUOTA”

TYPE_TAG = 'TAG'

A constant which can be used with the type property of a EnforcedGovernanceRuleSummary. This constant has a value of “TAG”

__init__(**kwargs)

Initializes a new EnforcedGovernanceRuleSummary 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 EnforcedGovernanceRuleSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this EnforcedGovernanceRuleSummary.
  • governance_rule_display_name (str) – The value to assign to the governance_rule_display_name property of this EnforcedGovernanceRuleSummary.
  • type (str) – The value to assign to the type property of this EnforcedGovernanceRuleSummary. Allowed values for this property are: “QUOTA”, “TAG”, “ALLOWED_REGIONS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this EnforcedGovernanceRuleSummary. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this EnforcedGovernanceRuleSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this EnforcedGovernanceRuleSummary.
compartment_id

[Required] Gets the compartment_id of this EnforcedGovernanceRuleSummary. The Oracle ID (OCID) of the child’s root compartment to which the governance rule is attached.

Returns:The compartment_id of this EnforcedGovernanceRuleSummary.
Return type:str
governance_rule_display_name

[Required] Gets the governance_rule_display_name of this EnforcedGovernanceRuleSummary. Display name of the governance rule.

Returns:The governance_rule_display_name of this EnforcedGovernanceRuleSummary.
Return type:str
id

[Required] Gets the id of this EnforcedGovernanceRuleSummary. The Oracle ID (OCID) of the enforced governance rule.

Returns:The id of this EnforcedGovernanceRuleSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this EnforcedGovernanceRuleSummary. The current state of the governance rule.

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

Returns:The lifecycle_state of this EnforcedGovernanceRuleSummary.
Return type:str
time_created

[Required] Gets the time_created of this EnforcedGovernanceRuleSummary. Date and time the governance rule was created. An RFC3339 formatted datetime string.

Example: 2016-08-25T21:10:29.600Z

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

[Required] Gets the time_updated of this EnforcedGovernanceRuleSummary. Date and time the governance rule was updated. An RFC3339 formatted datetime string.

Example: 2016-08-25T21:10:29.600Z

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

[Required] Gets the type of this EnforcedGovernanceRuleSummary. Type of the governance rule, can be one of QUOTA, TAG, ALLOWED_REGIONS.

Example: QUOTA

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

Returns:The type of this EnforcedGovernanceRuleSummary.
Return type:str