RegistrationPolicySummary

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

Bases: object

A summary of a registration policy. This object contains key information about a registration policy, including its ID, compartment ID, display name, and lifecycle state.

Methods:

__init__(**kwargs)

Initializes a new RegistrationPolicySummary object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this RegistrationPolicySummary.

connection_option

[Required] Gets the connection_option of this RegistrationPolicySummary.

defined_tags

[Required] Gets the defined_tags of this RegistrationPolicySummary.

description

Gets the description of this RegistrationPolicySummary.

display_name

[Required] Gets the display_name of this RegistrationPolicySummary.

enablement_level

[Required] Gets the enablement_level of this RegistrationPolicySummary.

freeform_tags

[Required] Gets the freeform_tags of this RegistrationPolicySummary.

id

[Required] Gets the id of this RegistrationPolicySummary.

lifecycle_state

[Required] Gets the lifecycle_state of this RegistrationPolicySummary.

lifecycle_state_details

Gets the lifecycle_state_details of this RegistrationPolicySummary.

resource_id

[Required] Gets the resource_id of this RegistrationPolicySummary.

system_tags

[Required] Gets the system_tags of this RegistrationPolicySummary.

time_created

[Required] Gets the time_created of this RegistrationPolicySummary.

time_updated

[Required] Gets the time_updated of this RegistrationPolicySummary.

__init__(**kwargs)

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

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this RegistrationPolicySummary.

  • id (str) – The value to assign to the id property of this RegistrationPolicySummary.

  • display_name (str) – The value to assign to the display_name property of this RegistrationPolicySummary.

  • description (str) – The value to assign to the description property of this RegistrationPolicySummary.

  • enablement_level (str) – The value to assign to the enablement_level property of this RegistrationPolicySummary.

  • resource_id (str) – The value to assign to the resource_id property of this RegistrationPolicySummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this RegistrationPolicySummary.

  • lifecycle_state_details (str) – The value to assign to the lifecycle_state_details property of this RegistrationPolicySummary.

  • time_created (datetime) – The value to assign to the time_created property of this RegistrationPolicySummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this RegistrationPolicySummary.

  • connection_option (oci.data_safe.models.PolicyConnectionOption) – The value to assign to the connection_option property of this RegistrationPolicySummary.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this RegistrationPolicySummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this RegistrationPolicySummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this RegistrationPolicySummary.

property compartment_id

[Required] Gets the compartment_id of this RegistrationPolicySummary. The OCID for the compartment containing the registration policy.

Returns

The compartment_id of this RegistrationPolicySummary.

Return type

str

property connection_option

[Required] Gets the connection_option of this RegistrationPolicySummary.

Returns

The connection_option of this RegistrationPolicySummary.

Return type

oci.data_safe.models.PolicyConnectionOption

property defined_tags

[Required] Gets the defined_tags of this RegistrationPolicySummary. 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 RegistrationPolicySummary.

Return type

dict(str, dict(str, object))

property description

Gets the description of this RegistrationPolicySummary. A description of the registration policy.

Returns

The description of this RegistrationPolicySummary.

Return type

str

property display_name

[Required] Gets the display_name of this RegistrationPolicySummary. The display name of the registration policy.

Returns

The display_name of this RegistrationPolicySummary.

Return type

str

property enablement_level

[Required] Gets the enablement_level of this RegistrationPolicySummary. The type of resource that is opted-in for the registration policy.

Returns

The enablement_level of this RegistrationPolicySummary.

Return type

str

property freeform_tags

[Required] Gets the freeform_tags of this RegistrationPolicySummary. 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 RegistrationPolicySummary.

Return type

dict(str, str)

property id

[Required] Gets the id of this RegistrationPolicySummary. The OCID of the registration policy.

Returns

The id of this RegistrationPolicySummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this RegistrationPolicySummary. The current lifecycle state of the registration policy.

Returns

The lifecycle_state of this RegistrationPolicySummary.

Return type

str

property lifecycle_state_details

Gets the lifecycle_state_details of this RegistrationPolicySummary. Details about the lifecycle state of the registration policy.

Returns

The lifecycle_state_details of this RegistrationPolicySummary.

Return type

str

property resource_id

[Required] Gets the resource_id of this RegistrationPolicySummary. The OCID of the resource used in the registration policy.

Returns

The resource_id of this RegistrationPolicySummary.

Return type

str

property system_tags

[Required] Gets the system_tags of this RegistrationPolicySummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this RegistrationPolicySummary.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this RegistrationPolicySummary. The date and time when the registration policy was created.

Returns

The time_created of this RegistrationPolicySummary.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this RegistrationPolicySummary. The date and time when the registration policy was last updated.

Returns

The time_updated of this RegistrationPolicySummary.

Return type

datetime