DisasterRecoveryPrecheckReport

class oci.golden_gate.models.DisasterRecoveryPrecheckReport(**kwargs)

Bases: object

DR precheck result for standby peer in the specified placement (availabilityDomain and faultDomain).

Attributes:

PRECHECK_STATUS_FAILED

A constant which can be used with the precheck_status property of a DisasterRecoveryPrecheckReport.

PRECHECK_STATUS_IN_PROGRESS

A constant which can be used with the precheck_status property of a DisasterRecoveryPrecheckReport.

PRECHECK_STATUS_NEEDS_ATTENTION

A constant which can be used with the precheck_status property of a DisasterRecoveryPrecheckReport.

PRECHECK_STATUS_SUCCEEDED

A constant which can be used with the precheck_status property of a DisasterRecoveryPrecheckReport.

checks

[Required] Gets the checks of this DisasterRecoveryPrecheckReport.

precheck_status

[Required] Gets the precheck_status of this DisasterRecoveryPrecheckReport.

time_precheck_finished

[Required] Gets the time_precheck_finished of this DisasterRecoveryPrecheckReport.

time_precheck_started

[Required] Gets the time_precheck_started of this DisasterRecoveryPrecheckReport.

Methods:

__init__(**kwargs)

Initializes a new DisasterRecoveryPrecheckReport object with values from keyword arguments.

PRECHECK_STATUS_FAILED = 'FAILED'

A constant which can be used with the precheck_status property of a DisasterRecoveryPrecheckReport. This constant has a value of “FAILED”

PRECHECK_STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the precheck_status property of a DisasterRecoveryPrecheckReport. This constant has a value of “IN_PROGRESS”

PRECHECK_STATUS_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the precheck_status property of a DisasterRecoveryPrecheckReport. This constant has a value of “NEEDS_ATTENTION”

PRECHECK_STATUS_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the precheck_status property of a DisasterRecoveryPrecheckReport. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

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

Parameters
  • time_precheck_started (datetime) – The value to assign to the time_precheck_started property of this DisasterRecoveryPrecheckReport.

  • time_precheck_finished (datetime) – The value to assign to the time_precheck_finished property of this DisasterRecoveryPrecheckReport.

  • precheck_status (str) – The value to assign to the precheck_status property of this DisasterRecoveryPrecheckReport. Allowed values for this property are: “SUCCEEDED”, “IN_PROGRESS”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • checks (list[oci.golden_gate.models.DisasterRecoveryPrecheckResult]) – The value to assign to the checks property of this DisasterRecoveryPrecheckReport.

property checks

[Required] Gets the checks of this DisasterRecoveryPrecheckReport. A list of precheck results.

Returns

The checks of this DisasterRecoveryPrecheckReport.

Return type

list[oci.golden_gate.models.DisasterRecoveryPrecheckResult]

property precheck_status

[Required] Gets the precheck_status of this DisasterRecoveryPrecheckReport. Status of the DR precheck result.

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

Returns

The precheck_status of this DisasterRecoveryPrecheckReport.

Return type

str

property time_precheck_finished

[Required] Gets the time_precheck_finished of this DisasterRecoveryPrecheckReport. The timestamp when pre-check operation finished. The format is defined by RFC3339, such as 2024-10-26T20:19:29.600Z.

Returns

The time_precheck_finished of this DisasterRecoveryPrecheckReport.

Return type

datetime

property time_precheck_started

[Required] Gets the time_precheck_started of this DisasterRecoveryPrecheckReport. The timestamp when pre-check started. The format is defined by RFC3339, such as 2024-10-26T20:19:29.600Z.

Returns

The time_precheck_started of this DisasterRecoveryPrecheckReport.

Return type

datetime