AssociatedResourceSummary

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

Bases: object

Summary details of the associated resource of an attribute set.

Attributes:

ASSOCIATED_RESOURCE_TYPE_AUDIT_POLICY

A constant which can be used with the associated_resource_type property of a AssociatedResourceSummary.

ASSOCIATED_RESOURCE_TYPE_AUDIT_REPORT

A constant which can be used with the associated_resource_type property of a AssociatedResourceSummary.

associated_resource_id

Gets the associated_resource_id of this AssociatedResourceSummary.

associated_resource_name

Gets the associated_resource_name of this AssociatedResourceSummary.

associated_resource_type

Gets the associated_resource_type of this AssociatedResourceSummary.

time_created

Gets the time_created of this AssociatedResourceSummary.

time_updated

Gets the time_updated of this AssociatedResourceSummary.

Methods:

__init__(**kwargs)

Initializes a new AssociatedResourceSummary object with values from keyword arguments.

ASSOCIATED_RESOURCE_TYPE_AUDIT_POLICY = 'AUDIT_POLICY'

A constant which can be used with the associated_resource_type property of a AssociatedResourceSummary. This constant has a value of “AUDIT_POLICY”

ASSOCIATED_RESOURCE_TYPE_AUDIT_REPORT = 'AUDIT_REPORT'

A constant which can be used with the associated_resource_type property of a AssociatedResourceSummary. This constant has a value of “AUDIT_REPORT”

__init__(**kwargs)

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

Parameters
  • associated_resource_type (str) – The value to assign to the associated_resource_type property of this AssociatedResourceSummary. Allowed values for this property are: “AUDIT_POLICY”, “AUDIT_REPORT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • associated_resource_id (str) – The value to assign to the associated_resource_id property of this AssociatedResourceSummary.

  • associated_resource_name (str) – The value to assign to the associated_resource_name property of this AssociatedResourceSummary.

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

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

property associated_resource_id

Gets the associated_resource_id of this AssociatedResourceSummary. The OCID of the resource that is associated with the attribute set.

Returns

The associated_resource_id of this AssociatedResourceSummary.

Return type

str

property associated_resource_name

Gets the associated_resource_name of this AssociatedResourceSummary. The display name of the resource that is associated with the attribute set. The name does not have to be unique, and is changeable.

Returns

The associated_resource_name of this AssociatedResourceSummary.

Return type

str

property associated_resource_type

Gets the associated_resource_type of this AssociatedResourceSummary. The resource type that is associated with the attribute set.

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

Returns

The associated_resource_type of this AssociatedResourceSummary.

Return type

str

property time_created

Gets the time_created of this AssociatedResourceSummary. The date and time when associated started between resource and the attribute set, in the format defined by RFC3339.

Returns

The time_created of this AssociatedResourceSummary.

Return type

datetime

property time_updated

Gets the time_updated of this AssociatedResourceSummary. The date and time when associated is removed between resources and the attribute set, in the format defined by RFC3339.

Returns

The time_updated of this AssociatedResourceSummary.

Return type

datetime