DisasterRecoveryDetails¶
-
class
oci.integration.models.DisasterRecoveryDetails(**kwargs)¶ Bases:
objectDisaster recovery details for the integration instance created in the region.
Attributes
ROLE_PRIMARYA constant which can be used with the role property of a DisasterRecoveryDetails. ROLE_SECONDARYA constant which can be used with the role property of a DisasterRecoveryDetails. ROLE_UNKNOWNA constant which can be used with the role property of a DisasterRecoveryDetails. cross_region_integration_instance_details[Required] Gets the cross_region_integration_instance_details of this DisasterRecoveryDetails. regional_instance_url[Required] Gets the regional_instance_url of this DisasterRecoveryDetails. role[Required] Gets the role of this DisasterRecoveryDetails. Methods
__init__(**kwargs)Initializes a new DisasterRecoveryDetails object with values from keyword arguments. -
ROLE_PRIMARY= 'PRIMARY'¶ A constant which can be used with the role property of a DisasterRecoveryDetails. This constant has a value of “PRIMARY”
-
ROLE_SECONDARY= 'SECONDARY'¶ A constant which can be used with the role property of a DisasterRecoveryDetails. This constant has a value of “SECONDARY”
-
ROLE_UNKNOWN= 'UNKNOWN'¶ A constant which can be used with the role property of a DisasterRecoveryDetails. This constant has a value of “UNKNOWN”
-
__init__(**kwargs)¶ Initializes a new DisasterRecoveryDetails 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 DisasterRecoveryDetails. 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’.
- regional_instance_url (str) – The value to assign to the regional_instance_url property of this DisasterRecoveryDetails.
- cross_region_integration_instance_details (oci.integration.models.CrossRegionIntegrationInstanceDetails) – The value to assign to the cross_region_integration_instance_details property of this DisasterRecoveryDetails.
-
cross_region_integration_instance_details¶ [Required] Gets the cross_region_integration_instance_details of this DisasterRecoveryDetails.
Returns: The cross_region_integration_instance_details of this DisasterRecoveryDetails. Return type: oci.integration.models.CrossRegionIntegrationInstanceDetails
-
regional_instance_url¶ [Required] Gets the regional_instance_url of this DisasterRecoveryDetails. Region specific instance url for the integration instance in the region
Returns: The regional_instance_url of this DisasterRecoveryDetails. Return type: str
-
role¶ [Required] Gets the role of this DisasterRecoveryDetails. 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 DisasterRecoveryDetails. Return type: str
-