mv-oci-sdk 2.142.0__py3-none-any.whl → 2.142.0.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/METADATA +3 -3
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/RECORD +197 -6
- oci/file_storage/__init__.py +14 -0
- oci/file_storage/file_storage_client.py +8601 -0
- oci/file_storage/file_storage_client_composite_operations.py +2068 -0
- oci/file_storage/models/__init__.py +130 -0
- oci/file_storage/models/change_file_system_compartment_details.py +76 -0
- oci/file_storage/models/change_filesystem_snapshot_policy_compartment_details.py +76 -0
- oci/file_storage/models/change_mount_target_compartment_details.py +76 -0
- oci/file_storage/models/change_outbound_connector_compartment_details.py +78 -0
- oci/file_storage/models/change_replication_compartment_details.py +76 -0
- oci/file_storage/models/client_options.py +389 -0
- oci/file_storage/models/create_export_details.py +303 -0
- oci/file_storage/models/create_file_system_details.py +425 -0
- oci/file_storage/models/create_filesystem_snapshot_policy_details.py +337 -0
- oci/file_storage/models/create_kerberos_details.py +200 -0
- oci/file_storage/models/create_ldap_bind_account_details.py +220 -0
- oci/file_storage/models/create_ldap_idmap_details.py +317 -0
- oci/file_storage/models/create_mount_target_details.py +581 -0
- oci/file_storage/models/create_outbound_connector_details.py +309 -0
- oci/file_storage/models/create_replication_details.py +325 -0
- oci/file_storage/models/create_snapshot_details.py +261 -0
- oci/file_storage/models/endpoint.py +103 -0
- oci/file_storage/models/export.py +456 -0
- oci/file_storage/models/export_set.py +411 -0
- oci/file_storage/models/export_set_summary.py +316 -0
- oci/file_storage/models/export_summary.py +343 -0
- oci/file_storage/models/file_system.py +818 -0
- oci/file_storage/models/file_system_summary.py +659 -0
- oci/file_storage/models/filesystem_snapshot_policy.py +473 -0
- oci/file_storage/models/filesystem_snapshot_policy_summary.py +429 -0
- oci/file_storage/models/kerberos.py +200 -0
- oci/file_storage/models/kerberos_keytab_entry.py +166 -0
- oci/file_storage/models/key_tab_secret_details.py +138 -0
- oci/file_storage/models/ldap_bind_account.py +243 -0
- oci/file_storage/models/ldap_bind_account_summary.py +176 -0
- oci/file_storage/models/ldap_idmap.py +317 -0
- oci/file_storage/models/mount_target.py +828 -0
- oci/file_storage/models/mount_target_summary.py +696 -0
- oci/file_storage/models/outbound_connector.py +453 -0
- oci/file_storage/models/outbound_connector_summary.py +438 -0
- oci/file_storage/models/replication.py +740 -0
- oci/file_storage/models/replication_estimate.py +196 -0
- oci/file_storage/models/replication_summary.py +491 -0
- oci/file_storage/models/replication_target.py +679 -0
- oci/file_storage/models/replication_target_summary.py +425 -0
- oci/file_storage/models/resource_lock.py +185 -0
- oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/snapshot.py +638 -0
- oci/file_storage/models/snapshot_schedule.py +487 -0
- oci/file_storage/models/snapshot_summary.py +601 -0
- oci/file_storage/models/source_details.py +119 -0
- oci/file_storage/models/update_export_details.py +111 -0
- oci/file_storage/models/update_export_set_details.py +172 -0
- oci/file_storage/models/update_file_system_details.py +246 -0
- oci/file_storage/models/update_filesystem_snapshot_policy_details.py +236 -0
- oci/file_storage/models/update_kerberos_details.py +200 -0
- oci/file_storage/models/update_ldap_idmap_details.py +317 -0
- oci/file_storage/models/update_mount_target_details.py +286 -0
- oci/file_storage/models/update_outbound_connector_details.py +158 -0
- oci/file_storage/models/update_replication_details.py +189 -0
- oci/file_storage/models/update_snapshot_details.py +156 -0
- oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/validate_key_tabs_details.py +103 -0
- oci/file_storage/models/validate_key_tabs_response_details.py +103 -0
- oci/functions/__init__.py +16 -0
- oci/functions/functions_invoke_client.py +267 -0
- oci/functions/functions_invoke_client_composite_operations.py +26 -0
- oci/functions/functions_management_client.py +2056 -0
- oci/functions/functions_management_client_composite_operations.py +326 -0
- oci/functions/models/__init__.py +74 -0
- oci/functions/models/application.py +628 -0
- oci/functions/models/application_summary.py +512 -0
- oci/functions/models/application_trace_config.py +103 -0
- oci/functions/models/change_application_compartment_details.py +78 -0
- oci/functions/models/config_details.py +134 -0
- oci/functions/models/constant_provisioned_concurrency_config.py +82 -0
- oci/functions/models/create_application_details.py +446 -0
- oci/functions/models/create_function_details.py +437 -0
- oci/functions/models/function.py +734 -0
- oci/functions/models/function_provisioned_concurrency_config.py +109 -0
- oci/functions/models/function_source_details.py +101 -0
- oci/functions/models/function_summary.py +657 -0
- oci/functions/models/function_trace_config.py +72 -0
- oci/functions/models/image_policy_config.py +103 -0
- oci/functions/models/key_details.py +76 -0
- oci/functions/models/none_provisioned_concurrency_config.py +51 -0
- oci/functions/models/pbf_listing.py +408 -0
- oci/functions/models/pbf_listing_summary.py +386 -0
- oci/functions/models/pbf_listing_version.py +467 -0
- oci/functions/models/pbf_listing_version_summary.py +446 -0
- oci/functions/models/pbf_listing_versions_collection.py +73 -0
- oci/functions/models/pbf_listings_collection.py +72 -0
- oci/functions/models/policy_details.py +103 -0
- oci/functions/models/pre_built_function_source_details.py +88 -0
- oci/functions/models/publisher_details.py +72 -0
- oci/functions/models/requirement_details.py +106 -0
- oci/functions/models/trigger.py +72 -0
- oci/functions/models/trigger_summary.py +72 -0
- oci/functions/models/triggers_collection.py +72 -0
- oci/functions/models/update_application_details.py +290 -0
- oci/functions/models/update_function_details.py +346 -0
- oci/load_balancer/__init__.py +14 -0
- oci/load_balancer/load_balancer_client.py +7641 -0
- oci/load_balancer/load_balancer_client_composite_operations.py +1630 -0
- oci/load_balancer/models/__init__.py +186 -0
- oci/load_balancer/models/action.py +97 -0
- oci/load_balancer/models/add_http_request_header_rule.py +134 -0
- oci/load_balancer/models/add_http_response_header_rule.py +137 -0
- oci/load_balancer/models/allow_rule.py +123 -0
- oci/load_balancer/models/backend.py +350 -0
- oci/load_balancer/models/backend_details.py +312 -0
- oci/load_balancer/models/backend_health.py +143 -0
- oci/load_balancer/models/backend_set.py +305 -0
- oci/load_balancer/models/backend_set_details.py +262 -0
- oci/load_balancer/models/backend_set_health.py +265 -0
- oci/load_balancer/models/certificate.py +188 -0
- oci/load_balancer/models/certificate_details.py +270 -0
- oci/load_balancer/models/change_load_balancer_compartment_details.py +78 -0
- oci/load_balancer/models/connection_configuration.py +168 -0
- oci/load_balancer/models/control_access_using_http_methods_rule.py +162 -0
- oci/load_balancer/models/create_backend_details.py +316 -0
- oci/load_balancer/models/create_backend_set_details.py +305 -0
- oci/load_balancer/models/create_certificate_details.py +270 -0
- oci/load_balancer/models/create_hostname_details.py +121 -0
- oci/load_balancer/models/create_listener_details.py +387 -0
- oci/load_balancer/models/create_load_balancer_details.py +895 -0
- oci/load_balancer/models/create_path_route_set_details.py +111 -0
- oci/load_balancer/models/create_routing_policy_details.py +154 -0
- oci/load_balancer/models/create_rule_set_details.py +109 -0
- oci/load_balancer/models/create_ssl_cipher_suite_details.py +606 -0
- oci/load_balancer/models/extend_http_request_header_value_rule.py +181 -0
- oci/load_balancer/models/extend_http_response_header_value_rule.py +181 -0
- oci/load_balancer/models/forward_to_backend_set.py +86 -0
- oci/load_balancer/models/health_check_result.py +219 -0
- oci/load_balancer/models/health_checker.py +381 -0
- oci/load_balancer/models/health_checker_details.py +376 -0
- oci/load_balancer/models/hostname.py +121 -0
- oci/load_balancer/models/hostname_details.py +117 -0
- oci/load_balancer/models/http_header_rule.py +127 -0
- oci/load_balancer/models/ip_address.py +142 -0
- oci/load_balancer/models/ip_based_max_connections_rule.py +118 -0
- oci/load_balancer/models/ip_max_connections.py +111 -0
- oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.py +423 -0
- oci/load_balancer/models/listener.py +383 -0
- oci/load_balancer/models/listener_details.py +344 -0
- oci/load_balancer/models/listener_rule_summary.py +104 -0
- oci/load_balancer/models/load_balancer.py +1023 -0
- oci/load_balancer/models/load_balancer_health.py +281 -0
- oci/load_balancer/models/load_balancer_health_summary.py +167 -0
- oci/load_balancer/models/load_balancer_policy.py +80 -0
- oci/load_balancer/models/load_balancer_protocol.py +76 -0
- oci/load_balancer/models/load_balancer_shape.py +80 -0
- oci/load_balancer/models/path_match_condition.py +166 -0
- oci/load_balancer/models/path_match_type.py +126 -0
- oci/load_balancer/models/path_route.py +156 -0
- oci/load_balancer/models/path_route_set.py +112 -0
- oci/load_balancer/models/path_route_set_details.py +72 -0
- oci/load_balancer/models/redirect_rule.py +173 -0
- oci/load_balancer/models/redirect_uri.py +420 -0
- oci/load_balancer/models/remove_http_request_header_rule.py +90 -0
- oci/load_balancer/models/remove_http_response_header_rule.py +92 -0
- oci/load_balancer/models/reserved_ip.py +90 -0
- oci/load_balancer/models/routing_policy.py +152 -0
- oci/load_balancer/models/routing_policy_details.py +73 -0
- oci/load_balancer/models/routing_rule.py +135 -0
- oci/load_balancer/models/rule.py +177 -0
- oci/load_balancer/models/rule_condition.py +121 -0
- oci/load_balancer/models/rule_set.py +113 -0
- oci/load_balancer/models/rule_set_details.py +72 -0
- oci/load_balancer/models/session_persistence_configuration_details.py +136 -0
- oci/load_balancer/models/shape_details.py +121 -0
- oci/load_balancer/models/source_ip_address_condition.py +90 -0
- oci/load_balancer/models/source_vcn_id_condition.py +98 -0
- oci/load_balancer/models/source_vcn_ip_address_condition.py +97 -0
- oci/load_balancer/models/ssl_cipher_suite.py +606 -0
- oci/load_balancer/models/ssl_cipher_suite_details.py +606 -0
- oci/load_balancer/models/ssl_configuration.py +478 -0
- oci/load_balancer/models/ssl_configuration_details.py +476 -0
- oci/load_balancer/models/update_backend_details.py +242 -0
- oci/load_balancer/models/update_backend_set_details.py +264 -0
- oci/load_balancer/models/update_health_checker_details.py +374 -0
- oci/load_balancer/models/update_hostname_details.py +86 -0
- oci/load_balancer/models/update_listener_details.py +344 -0
- oci/load_balancer/models/update_load_balancer_details.py +356 -0
- oci/load_balancer/models/update_load_balancer_shape_details.py +127 -0
- oci/load_balancer/models/update_network_security_groups_details.py +99 -0
- oci/load_balancer/models/update_path_route_set_details.py +72 -0
- oci/load_balancer/models/update_routing_policy_details.py +115 -0
- oci/load_balancer/models/update_rule_set_details.py +72 -0
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +300 -0
- oci/load_balancer/models/work_request.py +385 -0
- oci/load_balancer/models/work_request_error.py +115 -0
- oci/version.py +1 -1
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/LICENSE.txt +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/WHEEL +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,679 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20171215
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ReplicationTarget(object):
|
14
|
+
"""
|
15
|
+
Replication targets are associated with a primary resource called a :class:`Replication`
|
16
|
+
located in another availability domain in the same or different region.
|
17
|
+
The replication retrieves the delta of data between two snapshots of a source file system
|
18
|
+
and sends it to the associated `ReplicationTarget`, which applies it to the target
|
19
|
+
file system.
|
20
|
+
All operations (except `DELETE`) must be done using the associated replication resource.
|
21
|
+
Deleting a `ReplicationTarget` allows the target file system to be exported.
|
22
|
+
Deleting a `ReplicationTarget` does not delete the associated `Replication` resource, but places it in a `FAILED` state.
|
23
|
+
For more information, see `File System Replication`__.
|
24
|
+
|
25
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/FSreplication.htm
|
26
|
+
"""
|
27
|
+
|
28
|
+
#: A constant which can be used with the lifecycle_state property of a ReplicationTarget.
|
29
|
+
#: This constant has a value of "CREATING"
|
30
|
+
LIFECYCLE_STATE_CREATING = "CREATING"
|
31
|
+
|
32
|
+
#: A constant which can be used with the lifecycle_state property of a ReplicationTarget.
|
33
|
+
#: This constant has a value of "ACTIVE"
|
34
|
+
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
|
35
|
+
|
36
|
+
#: A constant which can be used with the lifecycle_state property of a ReplicationTarget.
|
37
|
+
#: This constant has a value of "DELETING"
|
38
|
+
LIFECYCLE_STATE_DELETING = "DELETING"
|
39
|
+
|
40
|
+
#: A constant which can be used with the lifecycle_state property of a ReplicationTarget.
|
41
|
+
#: This constant has a value of "DELETED"
|
42
|
+
LIFECYCLE_STATE_DELETED = "DELETED"
|
43
|
+
|
44
|
+
#: A constant which can be used with the lifecycle_state property of a ReplicationTarget.
|
45
|
+
#: This constant has a value of "FAILED"
|
46
|
+
LIFECYCLE_STATE_FAILED = "FAILED"
|
47
|
+
|
48
|
+
#: A constant which can be used with the delta_status property of a ReplicationTarget.
|
49
|
+
#: This constant has a value of "IDLE"
|
50
|
+
DELTA_STATUS_IDLE = "IDLE"
|
51
|
+
|
52
|
+
#: A constant which can be used with the delta_status property of a ReplicationTarget.
|
53
|
+
#: This constant has a value of "CAPTURING"
|
54
|
+
DELTA_STATUS_CAPTURING = "CAPTURING"
|
55
|
+
|
56
|
+
#: A constant which can be used with the delta_status property of a ReplicationTarget.
|
57
|
+
#: This constant has a value of "APPLYING"
|
58
|
+
DELTA_STATUS_APPLYING = "APPLYING"
|
59
|
+
|
60
|
+
#: A constant which can be used with the delta_status property of a ReplicationTarget.
|
61
|
+
#: This constant has a value of "SERVICE_ERROR"
|
62
|
+
DELTA_STATUS_SERVICE_ERROR = "SERVICE_ERROR"
|
63
|
+
|
64
|
+
#: A constant which can be used with the delta_status property of a ReplicationTarget.
|
65
|
+
#: This constant has a value of "USER_ERROR"
|
66
|
+
DELTA_STATUS_USER_ERROR = "USER_ERROR"
|
67
|
+
|
68
|
+
#: A constant which can be used with the delta_status property of a ReplicationTarget.
|
69
|
+
#: This constant has a value of "FAILED"
|
70
|
+
DELTA_STATUS_FAILED = "FAILED"
|
71
|
+
|
72
|
+
#: A constant which can be used with the delta_status property of a ReplicationTarget.
|
73
|
+
#: This constant has a value of "TRANSFERRING"
|
74
|
+
DELTA_STATUS_TRANSFERRING = "TRANSFERRING"
|
75
|
+
|
76
|
+
def __init__(self, **kwargs):
|
77
|
+
"""
|
78
|
+
Initializes a new ReplicationTarget object with values from keyword arguments.
|
79
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
80
|
+
|
81
|
+
:param availability_domain:
|
82
|
+
The value to assign to the availability_domain property of this ReplicationTarget.
|
83
|
+
:type availability_domain: str
|
84
|
+
|
85
|
+
:param compartment_id:
|
86
|
+
The value to assign to the compartment_id property of this ReplicationTarget.
|
87
|
+
:type compartment_id: str
|
88
|
+
|
89
|
+
:param id:
|
90
|
+
The value to assign to the id property of this ReplicationTarget.
|
91
|
+
:type id: str
|
92
|
+
|
93
|
+
:param lifecycle_state:
|
94
|
+
The value to assign to the lifecycle_state property of this ReplicationTarget.
|
95
|
+
Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
96
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
97
|
+
:type lifecycle_state: str
|
98
|
+
|
99
|
+
:param display_name:
|
100
|
+
The value to assign to the display_name property of this ReplicationTarget.
|
101
|
+
:type display_name: str
|
102
|
+
|
103
|
+
:param time_created:
|
104
|
+
The value to assign to the time_created property of this ReplicationTarget.
|
105
|
+
:type time_created: datetime
|
106
|
+
|
107
|
+
:param source_id:
|
108
|
+
The value to assign to the source_id property of this ReplicationTarget.
|
109
|
+
:type source_id: str
|
110
|
+
|
111
|
+
:param target_id:
|
112
|
+
The value to assign to the target_id property of this ReplicationTarget.
|
113
|
+
:type target_id: str
|
114
|
+
|
115
|
+
:param replication_id:
|
116
|
+
The value to assign to the replication_id property of this ReplicationTarget.
|
117
|
+
:type replication_id: str
|
118
|
+
|
119
|
+
:param last_snapshot_id:
|
120
|
+
The value to assign to the last_snapshot_id property of this ReplicationTarget.
|
121
|
+
:type last_snapshot_id: str
|
122
|
+
|
123
|
+
:param recovery_point_time:
|
124
|
+
The value to assign to the recovery_point_time property of this ReplicationTarget.
|
125
|
+
:type recovery_point_time: datetime
|
126
|
+
|
127
|
+
:param delta_status:
|
128
|
+
The value to assign to the delta_status property of this ReplicationTarget.
|
129
|
+
Allowed values for this property are: "IDLE", "CAPTURING", "APPLYING", "SERVICE_ERROR", "USER_ERROR", "FAILED", "TRANSFERRING", 'UNKNOWN_ENUM_VALUE'.
|
130
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
131
|
+
:type delta_status: str
|
132
|
+
|
133
|
+
:param delta_progress:
|
134
|
+
The value to assign to the delta_progress property of this ReplicationTarget.
|
135
|
+
:type delta_progress: int
|
136
|
+
|
137
|
+
:param freeform_tags:
|
138
|
+
The value to assign to the freeform_tags property of this ReplicationTarget.
|
139
|
+
:type freeform_tags: dict(str, str)
|
140
|
+
|
141
|
+
:param defined_tags:
|
142
|
+
The value to assign to the defined_tags property of this ReplicationTarget.
|
143
|
+
:type defined_tags: dict(str, dict(str, object))
|
144
|
+
|
145
|
+
:param lifecycle_details:
|
146
|
+
The value to assign to the lifecycle_details property of this ReplicationTarget.
|
147
|
+
:type lifecycle_details: str
|
148
|
+
|
149
|
+
"""
|
150
|
+
self.swagger_types = {
|
151
|
+
'availability_domain': 'str',
|
152
|
+
'compartment_id': 'str',
|
153
|
+
'id': 'str',
|
154
|
+
'lifecycle_state': 'str',
|
155
|
+
'display_name': 'str',
|
156
|
+
'time_created': 'datetime',
|
157
|
+
'source_id': 'str',
|
158
|
+
'target_id': 'str',
|
159
|
+
'replication_id': 'str',
|
160
|
+
'last_snapshot_id': 'str',
|
161
|
+
'recovery_point_time': 'datetime',
|
162
|
+
'delta_status': 'str',
|
163
|
+
'delta_progress': 'int',
|
164
|
+
'freeform_tags': 'dict(str, str)',
|
165
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
166
|
+
'lifecycle_details': 'str'
|
167
|
+
}
|
168
|
+
|
169
|
+
self.attribute_map = {
|
170
|
+
'availability_domain': 'availabilityDomain',
|
171
|
+
'compartment_id': 'compartmentId',
|
172
|
+
'id': 'id',
|
173
|
+
'lifecycle_state': 'lifecycleState',
|
174
|
+
'display_name': 'displayName',
|
175
|
+
'time_created': 'timeCreated',
|
176
|
+
'source_id': 'sourceId',
|
177
|
+
'target_id': 'targetId',
|
178
|
+
'replication_id': 'replicationId',
|
179
|
+
'last_snapshot_id': 'lastSnapshotId',
|
180
|
+
'recovery_point_time': 'recoveryPointTime',
|
181
|
+
'delta_status': 'deltaStatus',
|
182
|
+
'delta_progress': 'deltaProgress',
|
183
|
+
'freeform_tags': 'freeformTags',
|
184
|
+
'defined_tags': 'definedTags',
|
185
|
+
'lifecycle_details': 'lifecycleDetails'
|
186
|
+
}
|
187
|
+
|
188
|
+
self._availability_domain = None
|
189
|
+
self._compartment_id = None
|
190
|
+
self._id = None
|
191
|
+
self._lifecycle_state = None
|
192
|
+
self._display_name = None
|
193
|
+
self._time_created = None
|
194
|
+
self._source_id = None
|
195
|
+
self._target_id = None
|
196
|
+
self._replication_id = None
|
197
|
+
self._last_snapshot_id = None
|
198
|
+
self._recovery_point_time = None
|
199
|
+
self._delta_status = None
|
200
|
+
self._delta_progress = None
|
201
|
+
self._freeform_tags = None
|
202
|
+
self._defined_tags = None
|
203
|
+
self._lifecycle_details = None
|
204
|
+
|
205
|
+
@property
|
206
|
+
def availability_domain(self):
|
207
|
+
"""
|
208
|
+
Gets the availability_domain of this ReplicationTarget.
|
209
|
+
The availability domain the replication resource is in. May be unset
|
210
|
+
as a blank or NULL value.
|
211
|
+
|
212
|
+
Example: `Uocm:PHX-AD-1`
|
213
|
+
|
214
|
+
|
215
|
+
:return: The availability_domain of this ReplicationTarget.
|
216
|
+
:rtype: str
|
217
|
+
"""
|
218
|
+
return self._availability_domain
|
219
|
+
|
220
|
+
@availability_domain.setter
|
221
|
+
def availability_domain(self, availability_domain):
|
222
|
+
"""
|
223
|
+
Sets the availability_domain of this ReplicationTarget.
|
224
|
+
The availability domain the replication resource is in. May be unset
|
225
|
+
as a blank or NULL value.
|
226
|
+
|
227
|
+
Example: `Uocm:PHX-AD-1`
|
228
|
+
|
229
|
+
|
230
|
+
:param availability_domain: The availability_domain of this ReplicationTarget.
|
231
|
+
:type: str
|
232
|
+
"""
|
233
|
+
self._availability_domain = availability_domain
|
234
|
+
|
235
|
+
@property
|
236
|
+
def compartment_id(self):
|
237
|
+
"""
|
238
|
+
**[Required]** Gets the compartment_id of this ReplicationTarget.
|
239
|
+
The `OCID`__ of the compartment that contains the replication.
|
240
|
+
|
241
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
242
|
+
|
243
|
+
|
244
|
+
:return: The compartment_id of this ReplicationTarget.
|
245
|
+
:rtype: str
|
246
|
+
"""
|
247
|
+
return self._compartment_id
|
248
|
+
|
249
|
+
@compartment_id.setter
|
250
|
+
def compartment_id(self, compartment_id):
|
251
|
+
"""
|
252
|
+
Sets the compartment_id of this ReplicationTarget.
|
253
|
+
The `OCID`__ of the compartment that contains the replication.
|
254
|
+
|
255
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
256
|
+
|
257
|
+
|
258
|
+
:param compartment_id: The compartment_id of this ReplicationTarget.
|
259
|
+
:type: str
|
260
|
+
"""
|
261
|
+
self._compartment_id = compartment_id
|
262
|
+
|
263
|
+
@property
|
264
|
+
def id(self):
|
265
|
+
"""
|
266
|
+
**[Required]** Gets the id of this ReplicationTarget.
|
267
|
+
The `OCID`__ of the replication.
|
268
|
+
|
269
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
270
|
+
|
271
|
+
|
272
|
+
:return: The id of this ReplicationTarget.
|
273
|
+
:rtype: str
|
274
|
+
"""
|
275
|
+
return self._id
|
276
|
+
|
277
|
+
@id.setter
|
278
|
+
def id(self, id):
|
279
|
+
"""
|
280
|
+
Sets the id of this ReplicationTarget.
|
281
|
+
The `OCID`__ of the replication.
|
282
|
+
|
283
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
284
|
+
|
285
|
+
|
286
|
+
:param id: The id of this ReplicationTarget.
|
287
|
+
:type: str
|
288
|
+
"""
|
289
|
+
self._id = id
|
290
|
+
|
291
|
+
@property
|
292
|
+
def lifecycle_state(self):
|
293
|
+
"""
|
294
|
+
**[Required]** Gets the lifecycle_state of this ReplicationTarget.
|
295
|
+
The current state of this replication.
|
296
|
+
|
297
|
+
Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
298
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
299
|
+
|
300
|
+
|
301
|
+
:return: The lifecycle_state of this ReplicationTarget.
|
302
|
+
:rtype: str
|
303
|
+
"""
|
304
|
+
return self._lifecycle_state
|
305
|
+
|
306
|
+
@lifecycle_state.setter
|
307
|
+
def lifecycle_state(self, lifecycle_state):
|
308
|
+
"""
|
309
|
+
Sets the lifecycle_state of this ReplicationTarget.
|
310
|
+
The current state of this replication.
|
311
|
+
|
312
|
+
|
313
|
+
:param lifecycle_state: The lifecycle_state of this ReplicationTarget.
|
314
|
+
:type: str
|
315
|
+
"""
|
316
|
+
allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
|
317
|
+
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
|
318
|
+
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
319
|
+
self._lifecycle_state = lifecycle_state
|
320
|
+
|
321
|
+
@property
|
322
|
+
def display_name(self):
|
323
|
+
"""
|
324
|
+
**[Required]** Gets the display_name of this ReplicationTarget.
|
325
|
+
A user-friendly name. This name is same as the replication display name for the associated resource.
|
326
|
+
Example: `My Replication`
|
327
|
+
|
328
|
+
|
329
|
+
:return: The display_name of this ReplicationTarget.
|
330
|
+
:rtype: str
|
331
|
+
"""
|
332
|
+
return self._display_name
|
333
|
+
|
334
|
+
@display_name.setter
|
335
|
+
def display_name(self, display_name):
|
336
|
+
"""
|
337
|
+
Sets the display_name of this ReplicationTarget.
|
338
|
+
A user-friendly name. This name is same as the replication display name for the associated resource.
|
339
|
+
Example: `My Replication`
|
340
|
+
|
341
|
+
|
342
|
+
:param display_name: The display_name of this ReplicationTarget.
|
343
|
+
:type: str
|
344
|
+
"""
|
345
|
+
self._display_name = display_name
|
346
|
+
|
347
|
+
@property
|
348
|
+
def time_created(self):
|
349
|
+
"""
|
350
|
+
**[Required]** Gets the time_created of this ReplicationTarget.
|
351
|
+
The date and time the replication target was created in target region.
|
352
|
+
in `RFC 3339`__ timestamp format.
|
353
|
+
Example: `2021-01-04T20:01:29.100Z`
|
354
|
+
|
355
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
356
|
+
|
357
|
+
|
358
|
+
:return: The time_created of this ReplicationTarget.
|
359
|
+
:rtype: datetime
|
360
|
+
"""
|
361
|
+
return self._time_created
|
362
|
+
|
363
|
+
@time_created.setter
|
364
|
+
def time_created(self, time_created):
|
365
|
+
"""
|
366
|
+
Sets the time_created of this ReplicationTarget.
|
367
|
+
The date and time the replication target was created in target region.
|
368
|
+
in `RFC 3339`__ timestamp format.
|
369
|
+
Example: `2021-01-04T20:01:29.100Z`
|
370
|
+
|
371
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
372
|
+
|
373
|
+
|
374
|
+
:param time_created: The time_created of this ReplicationTarget.
|
375
|
+
:type: datetime
|
376
|
+
"""
|
377
|
+
self._time_created = time_created
|
378
|
+
|
379
|
+
@property
|
380
|
+
def source_id(self):
|
381
|
+
"""
|
382
|
+
**[Required]** Gets the source_id of this ReplicationTarget.
|
383
|
+
The `OCID`__ of source filesystem.
|
384
|
+
|
385
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
386
|
+
|
387
|
+
|
388
|
+
:return: The source_id of this ReplicationTarget.
|
389
|
+
:rtype: str
|
390
|
+
"""
|
391
|
+
return self._source_id
|
392
|
+
|
393
|
+
@source_id.setter
|
394
|
+
def source_id(self, source_id):
|
395
|
+
"""
|
396
|
+
Sets the source_id of this ReplicationTarget.
|
397
|
+
The `OCID`__ of source filesystem.
|
398
|
+
|
399
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
400
|
+
|
401
|
+
|
402
|
+
:param source_id: The source_id of this ReplicationTarget.
|
403
|
+
:type: str
|
404
|
+
"""
|
405
|
+
self._source_id = source_id
|
406
|
+
|
407
|
+
@property
|
408
|
+
def target_id(self):
|
409
|
+
"""
|
410
|
+
**[Required]** Gets the target_id of this ReplicationTarget.
|
411
|
+
The `OCID`__ of target filesystem.
|
412
|
+
|
413
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
414
|
+
|
415
|
+
|
416
|
+
:return: The target_id of this ReplicationTarget.
|
417
|
+
:rtype: str
|
418
|
+
"""
|
419
|
+
return self._target_id
|
420
|
+
|
421
|
+
@target_id.setter
|
422
|
+
def target_id(self, target_id):
|
423
|
+
"""
|
424
|
+
Sets the target_id of this ReplicationTarget.
|
425
|
+
The `OCID`__ of target filesystem.
|
426
|
+
|
427
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
428
|
+
|
429
|
+
|
430
|
+
:param target_id: The target_id of this ReplicationTarget.
|
431
|
+
:type: str
|
432
|
+
"""
|
433
|
+
self._target_id = target_id
|
434
|
+
|
435
|
+
@property
|
436
|
+
def replication_id(self):
|
437
|
+
"""
|
438
|
+
**[Required]** Gets the replication_id of this ReplicationTarget.
|
439
|
+
The `OCID`__ of replication.
|
440
|
+
|
441
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
442
|
+
|
443
|
+
|
444
|
+
:return: The replication_id of this ReplicationTarget.
|
445
|
+
:rtype: str
|
446
|
+
"""
|
447
|
+
return self._replication_id
|
448
|
+
|
449
|
+
@replication_id.setter
|
450
|
+
def replication_id(self, replication_id):
|
451
|
+
"""
|
452
|
+
Sets the replication_id of this ReplicationTarget.
|
453
|
+
The `OCID`__ of replication.
|
454
|
+
|
455
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
456
|
+
|
457
|
+
|
458
|
+
:param replication_id: The replication_id of this ReplicationTarget.
|
459
|
+
:type: str
|
460
|
+
"""
|
461
|
+
self._replication_id = replication_id
|
462
|
+
|
463
|
+
@property
|
464
|
+
def last_snapshot_id(self):
|
465
|
+
"""
|
466
|
+
Gets the last_snapshot_id of this ReplicationTarget.
|
467
|
+
The `OCID`__ of the last snapshot snapshot which was completely applied to the target file system.
|
468
|
+
Empty while the initial snapshot is being applied.
|
469
|
+
|
470
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
471
|
+
|
472
|
+
|
473
|
+
:return: The last_snapshot_id of this ReplicationTarget.
|
474
|
+
:rtype: str
|
475
|
+
"""
|
476
|
+
return self._last_snapshot_id
|
477
|
+
|
478
|
+
@last_snapshot_id.setter
|
479
|
+
def last_snapshot_id(self, last_snapshot_id):
|
480
|
+
"""
|
481
|
+
Sets the last_snapshot_id of this ReplicationTarget.
|
482
|
+
The `OCID`__ of the last snapshot snapshot which was completely applied to the target file system.
|
483
|
+
Empty while the initial snapshot is being applied.
|
484
|
+
|
485
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
486
|
+
|
487
|
+
|
488
|
+
:param last_snapshot_id: The last_snapshot_id of this ReplicationTarget.
|
489
|
+
:type: str
|
490
|
+
"""
|
491
|
+
self._last_snapshot_id = last_snapshot_id
|
492
|
+
|
493
|
+
@property
|
494
|
+
def recovery_point_time(self):
|
495
|
+
"""
|
496
|
+
Gets the recovery_point_time of this ReplicationTarget.
|
497
|
+
The snapshotTime of the most recent recoverable replication snapshot
|
498
|
+
in `RFC 3339`__ timestamp format.
|
499
|
+
Example: `2021-04-04T20:01:29.100Z`
|
500
|
+
|
501
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
502
|
+
|
503
|
+
|
504
|
+
:return: The recovery_point_time of this ReplicationTarget.
|
505
|
+
:rtype: datetime
|
506
|
+
"""
|
507
|
+
return self._recovery_point_time
|
508
|
+
|
509
|
+
@recovery_point_time.setter
|
510
|
+
def recovery_point_time(self, recovery_point_time):
|
511
|
+
"""
|
512
|
+
Sets the recovery_point_time of this ReplicationTarget.
|
513
|
+
The snapshotTime of the most recent recoverable replication snapshot
|
514
|
+
in `RFC 3339`__ timestamp format.
|
515
|
+
Example: `2021-04-04T20:01:29.100Z`
|
516
|
+
|
517
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
518
|
+
|
519
|
+
|
520
|
+
:param recovery_point_time: The recovery_point_time of this ReplicationTarget.
|
521
|
+
:type: datetime
|
522
|
+
"""
|
523
|
+
self._recovery_point_time = recovery_point_time
|
524
|
+
|
525
|
+
@property
|
526
|
+
def delta_status(self):
|
527
|
+
"""
|
528
|
+
Gets the delta_status of this ReplicationTarget.
|
529
|
+
The current state of the snapshot during replication operations.
|
530
|
+
|
531
|
+
Allowed values for this property are: "IDLE", "CAPTURING", "APPLYING", "SERVICE_ERROR", "USER_ERROR", "FAILED", "TRANSFERRING", 'UNKNOWN_ENUM_VALUE'.
|
532
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
533
|
+
|
534
|
+
|
535
|
+
:return: The delta_status of this ReplicationTarget.
|
536
|
+
:rtype: str
|
537
|
+
"""
|
538
|
+
return self._delta_status
|
539
|
+
|
540
|
+
@delta_status.setter
|
541
|
+
def delta_status(self, delta_status):
|
542
|
+
"""
|
543
|
+
Sets the delta_status of this ReplicationTarget.
|
544
|
+
The current state of the snapshot during replication operations.
|
545
|
+
|
546
|
+
|
547
|
+
:param delta_status: The delta_status of this ReplicationTarget.
|
548
|
+
:type: str
|
549
|
+
"""
|
550
|
+
allowed_values = ["IDLE", "CAPTURING", "APPLYING", "SERVICE_ERROR", "USER_ERROR", "FAILED", "TRANSFERRING"]
|
551
|
+
if not value_allowed_none_or_none_sentinel(delta_status, allowed_values):
|
552
|
+
delta_status = 'UNKNOWN_ENUM_VALUE'
|
553
|
+
self._delta_status = delta_status
|
554
|
+
|
555
|
+
@property
|
556
|
+
def delta_progress(self):
|
557
|
+
"""
|
558
|
+
Gets the delta_progress of this ReplicationTarget.
|
559
|
+
Percentage progress of the current replication cycle.
|
560
|
+
|
561
|
+
|
562
|
+
:return: The delta_progress of this ReplicationTarget.
|
563
|
+
:rtype: int
|
564
|
+
"""
|
565
|
+
return self._delta_progress
|
566
|
+
|
567
|
+
@delta_progress.setter
|
568
|
+
def delta_progress(self, delta_progress):
|
569
|
+
"""
|
570
|
+
Sets the delta_progress of this ReplicationTarget.
|
571
|
+
Percentage progress of the current replication cycle.
|
572
|
+
|
573
|
+
|
574
|
+
:param delta_progress: The delta_progress of this ReplicationTarget.
|
575
|
+
:type: int
|
576
|
+
"""
|
577
|
+
self._delta_progress = delta_progress
|
578
|
+
|
579
|
+
@property
|
580
|
+
def freeform_tags(self):
|
581
|
+
"""
|
582
|
+
Gets the freeform_tags of this ReplicationTarget.
|
583
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
584
|
+
with no predefined name, type, or namespace.
|
585
|
+
For more information, see `Resource Tags`__.
|
586
|
+
Example: `{\"Department\": \"Finance\"}`
|
587
|
+
|
588
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
589
|
+
|
590
|
+
|
591
|
+
:return: The freeform_tags of this ReplicationTarget.
|
592
|
+
:rtype: dict(str, str)
|
593
|
+
"""
|
594
|
+
return self._freeform_tags
|
595
|
+
|
596
|
+
@freeform_tags.setter
|
597
|
+
def freeform_tags(self, freeform_tags):
|
598
|
+
"""
|
599
|
+
Sets the freeform_tags of this ReplicationTarget.
|
600
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
601
|
+
with no predefined name, type, or namespace.
|
602
|
+
For more information, see `Resource Tags`__.
|
603
|
+
Example: `{\"Department\": \"Finance\"}`
|
604
|
+
|
605
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
606
|
+
|
607
|
+
|
608
|
+
:param freeform_tags: The freeform_tags of this ReplicationTarget.
|
609
|
+
:type: dict(str, str)
|
610
|
+
"""
|
611
|
+
self._freeform_tags = freeform_tags
|
612
|
+
|
613
|
+
@property
|
614
|
+
def defined_tags(self):
|
615
|
+
"""
|
616
|
+
Gets the defined_tags of this ReplicationTarget.
|
617
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
618
|
+
For more information, see `Resource Tags`__.
|
619
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
620
|
+
|
621
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
622
|
+
|
623
|
+
|
624
|
+
:return: The defined_tags of this ReplicationTarget.
|
625
|
+
:rtype: dict(str, dict(str, object))
|
626
|
+
"""
|
627
|
+
return self._defined_tags
|
628
|
+
|
629
|
+
@defined_tags.setter
|
630
|
+
def defined_tags(self, defined_tags):
|
631
|
+
"""
|
632
|
+
Sets the defined_tags of this ReplicationTarget.
|
633
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
634
|
+
For more information, see `Resource Tags`__.
|
635
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
636
|
+
|
637
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
638
|
+
|
639
|
+
|
640
|
+
:param defined_tags: The defined_tags of this ReplicationTarget.
|
641
|
+
:type: dict(str, dict(str, object))
|
642
|
+
"""
|
643
|
+
self._defined_tags = defined_tags
|
644
|
+
|
645
|
+
@property
|
646
|
+
def lifecycle_details(self):
|
647
|
+
"""
|
648
|
+
Gets the lifecycle_details of this ReplicationTarget.
|
649
|
+
Additional information about the current `lifecycleState`.
|
650
|
+
|
651
|
+
|
652
|
+
:return: The lifecycle_details of this ReplicationTarget.
|
653
|
+
:rtype: str
|
654
|
+
"""
|
655
|
+
return self._lifecycle_details
|
656
|
+
|
657
|
+
@lifecycle_details.setter
|
658
|
+
def lifecycle_details(self, lifecycle_details):
|
659
|
+
"""
|
660
|
+
Sets the lifecycle_details of this ReplicationTarget.
|
661
|
+
Additional information about the current `lifecycleState`.
|
662
|
+
|
663
|
+
|
664
|
+
:param lifecycle_details: The lifecycle_details of this ReplicationTarget.
|
665
|
+
:type: str
|
666
|
+
"""
|
667
|
+
self._lifecycle_details = lifecycle_details
|
668
|
+
|
669
|
+
def __repr__(self):
|
670
|
+
return formatted_flat_dict(self)
|
671
|
+
|
672
|
+
def __eq__(self, other):
|
673
|
+
if other is None:
|
674
|
+
return False
|
675
|
+
|
676
|
+
return self.__dict__ == other.__dict__
|
677
|
+
|
678
|
+
def __ne__(self, other):
|
679
|
+
return not self == other
|