ProcessOptions¶
- class oci.golden_gate.models.ProcessOptions(**kwargs)¶
Bases:
objectRequired pipeline options to configure the replication process (Extract or Replicat).
Attributes:
A constant which can be used with the should_restart_on_failure property of a ProcessOptions.
A constant which can be used with the should_restart_on_failure property of a ProcessOptions.
A constant which can be used with the start_using_default_mapping property of a ProcessOptions.
A constant which can be used with the start_using_default_mapping property of a ProcessOptions.
[Required] Gets the initial_data_load of this ProcessOptions.
[Required] Gets the replicate_schema_change of this ProcessOptions.
[Required] Gets the should_restart_on_failure of this ProcessOptions.
Gets the start_using_default_mapping of this ProcessOptions.
Methods:
__init__(**kwargs)Initializes a new ProcessOptions object with values from keyword arguments.
- SHOULD_RESTART_ON_FAILURE_DISABLED = 'DISABLED'¶
A constant which can be used with the should_restart_on_failure property of a ProcessOptions. This constant has a value of “DISABLED”
- SHOULD_RESTART_ON_FAILURE_ENABLED = 'ENABLED'¶
A constant which can be used with the should_restart_on_failure property of a ProcessOptions. This constant has a value of “ENABLED”
- START_USING_DEFAULT_MAPPING_DISABLED = 'DISABLED'¶
A constant which can be used with the start_using_default_mapping property of a ProcessOptions. This constant has a value of “DISABLED”
- START_USING_DEFAULT_MAPPING_ENABLED = 'ENABLED'¶
A constant which can be used with the start_using_default_mapping property of a ProcessOptions. This constant has a value of “ENABLED”
- __init__(**kwargs)¶
Initializes a new ProcessOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
initial_data_load (oci.golden_gate.models.InitialDataLoad) – The value to assign to the initial_data_load property of this ProcessOptions.
replicate_schema_change (oci.golden_gate.models.ReplicateSchemaChange) – The value to assign to the replicate_schema_change property of this ProcessOptions.
should_restart_on_failure (str) – The value to assign to the should_restart_on_failure property of this ProcessOptions. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
start_using_default_mapping (str) – The value to assign to the start_using_default_mapping property of this ProcessOptions. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property initial_data_load¶
[Required] Gets the initial_data_load of this ProcessOptions.
- Returns
The initial_data_load of this ProcessOptions.
- Return type
- property replicate_schema_change¶
[Required] Gets the replicate_schema_change of this ProcessOptions.
- Returns
The replicate_schema_change of this ProcessOptions.
- Return type
- property should_restart_on_failure¶
[Required] Gets the should_restart_on_failure of this ProcessOptions. If ENABLED, then the replication process restarts itself upon failure. This option applies when creating or updating a pipeline.
Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The should_restart_on_failure of this ProcessOptions.
- Return type
str
- property start_using_default_mapping¶
Gets the start_using_default_mapping of this ProcessOptions. If ENABLED, then the pipeline is started as part of pipeline creation. It uses default mapping. This option only applies when creating a pipeline and is not applicable while updating a pipeline.
Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The start_using_default_mapping of this ProcessOptions.
- Return type
str