CrossRegionIntegrationInstanceDetails

class oci.integration.models.CrossRegionIntegrationInstanceDetails(**kwargs)

Bases: object

Details of integration instance created in cross region for disaster recovery.

Attributes

ROLE_PRIMARY A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails.
ROLE_SECONDARY A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails.
ROLE_UNKNOWN A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails.
id Gets the id of this CrossRegionIntegrationInstanceDetails.
region Gets the region of this CrossRegionIntegrationInstanceDetails.
role Gets the role of this CrossRegionIntegrationInstanceDetails.
time_role_changed Gets the time_role_changed of this CrossRegionIntegrationInstanceDetails.

Methods

__init__(**kwargs) Initializes a new CrossRegionIntegrationInstanceDetails object with values from keyword arguments.
ROLE_PRIMARY = 'PRIMARY'

A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails. This constant has a value of “PRIMARY”

ROLE_SECONDARY = 'SECONDARY'

A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails. This constant has a value of “SECONDARY”

ROLE_UNKNOWN = 'UNKNOWN'

A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails. This constant has a value of “UNKNOWN”

__init__(**kwargs)

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

Parameters:
  • role (str) – The value to assign to the role property of this CrossRegionIntegrationInstanceDetails. Allowed values for this property are: “PRIMARY”, “SECONDARY”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • id (str) – The value to assign to the id property of this CrossRegionIntegrationInstanceDetails.
  • region (str) – The value to assign to the region property of this CrossRegionIntegrationInstanceDetails.
  • time_role_changed (datetime) – The value to assign to the time_role_changed property of this CrossRegionIntegrationInstanceDetails.
id

Gets the id of this CrossRegionIntegrationInstanceDetails. Cross region integration instance identifier

Returns:The id of this CrossRegionIntegrationInstanceDetails.
Return type:str
region

Gets the region of this CrossRegionIntegrationInstanceDetails. Cross region where integration instance is created

Returns:The region of this CrossRegionIntegrationInstanceDetails.
Return type:str
role

Gets the role of this CrossRegionIntegrationInstanceDetails. Role of the integration instance in the region

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

Returns:The role of this CrossRegionIntegrationInstanceDetails.
Return type:str
time_role_changed

Gets the time_role_changed of this CrossRegionIntegrationInstanceDetails. Time when cross region integration instance role was changed

Returns:The time_role_changed of this CrossRegionIntegrationInstanceDetails.
Return type:datetime