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,196 @@
|
|
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 ReplicationEstimate(object):
|
14
|
+
"""
|
15
|
+
Details for response from replication estimation.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ReplicationEstimate object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param change_rate_in_m_bps:
|
24
|
+
The value to assign to the change_rate_in_m_bps property of this ReplicationEstimate.
|
25
|
+
:type change_rate_in_m_bps: int
|
26
|
+
|
27
|
+
:param is_replication_supported:
|
28
|
+
The value to assign to the is_replication_supported property of this ReplicationEstimate.
|
29
|
+
:type is_replication_supported: bool
|
30
|
+
|
31
|
+
:param minimum_supported_interval_in_minutes:
|
32
|
+
The value to assign to the minimum_supported_interval_in_minutes property of this ReplicationEstimate.
|
33
|
+
:type minimum_supported_interval_in_minutes: int
|
34
|
+
|
35
|
+
:param estimated_base_copy_time_in_minutes:
|
36
|
+
The value to assign to the estimated_base_copy_time_in_minutes property of this ReplicationEstimate.
|
37
|
+
:type estimated_base_copy_time_in_minutes: int
|
38
|
+
|
39
|
+
:param allowed_target_regions:
|
40
|
+
The value to assign to the allowed_target_regions property of this ReplicationEstimate.
|
41
|
+
:type allowed_target_regions: list[str]
|
42
|
+
|
43
|
+
"""
|
44
|
+
self.swagger_types = {
|
45
|
+
'change_rate_in_m_bps': 'int',
|
46
|
+
'is_replication_supported': 'bool',
|
47
|
+
'minimum_supported_interval_in_minutes': 'int',
|
48
|
+
'estimated_base_copy_time_in_minutes': 'int',
|
49
|
+
'allowed_target_regions': 'list[str]'
|
50
|
+
}
|
51
|
+
|
52
|
+
self.attribute_map = {
|
53
|
+
'change_rate_in_m_bps': 'changeRateInMBps',
|
54
|
+
'is_replication_supported': 'isReplicationSupported',
|
55
|
+
'minimum_supported_interval_in_minutes': 'minimumSupportedIntervalInMinutes',
|
56
|
+
'estimated_base_copy_time_in_minutes': 'estimatedBaseCopyTimeInMinutes',
|
57
|
+
'allowed_target_regions': 'allowedTargetRegions'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._change_rate_in_m_bps = None
|
61
|
+
self._is_replication_supported = None
|
62
|
+
self._minimum_supported_interval_in_minutes = None
|
63
|
+
self._estimated_base_copy_time_in_minutes = None
|
64
|
+
self._allowed_target_regions = None
|
65
|
+
|
66
|
+
@property
|
67
|
+
def change_rate_in_m_bps(self):
|
68
|
+
"""
|
69
|
+
**[Required]** Gets the change_rate_in_m_bps of this ReplicationEstimate.
|
70
|
+
The rate of change on source filesystem which was used to provide the estimate in MegaBytes per second.
|
71
|
+
|
72
|
+
|
73
|
+
:return: The change_rate_in_m_bps of this ReplicationEstimate.
|
74
|
+
:rtype: int
|
75
|
+
"""
|
76
|
+
return self._change_rate_in_m_bps
|
77
|
+
|
78
|
+
@change_rate_in_m_bps.setter
|
79
|
+
def change_rate_in_m_bps(self, change_rate_in_m_bps):
|
80
|
+
"""
|
81
|
+
Sets the change_rate_in_m_bps of this ReplicationEstimate.
|
82
|
+
The rate of change on source filesystem which was used to provide the estimate in MegaBytes per second.
|
83
|
+
|
84
|
+
|
85
|
+
:param change_rate_in_m_bps: The change_rate_in_m_bps of this ReplicationEstimate.
|
86
|
+
:type: int
|
87
|
+
"""
|
88
|
+
self._change_rate_in_m_bps = change_rate_in_m_bps
|
89
|
+
|
90
|
+
@property
|
91
|
+
def is_replication_supported(self):
|
92
|
+
"""
|
93
|
+
**[Required]** Gets the is_replication_supported of this ReplicationEstimate.
|
94
|
+
Specifies whether replication can be enabled on the file system.
|
95
|
+
|
96
|
+
|
97
|
+
:return: The is_replication_supported of this ReplicationEstimate.
|
98
|
+
:rtype: bool
|
99
|
+
"""
|
100
|
+
return self._is_replication_supported
|
101
|
+
|
102
|
+
@is_replication_supported.setter
|
103
|
+
def is_replication_supported(self, is_replication_supported):
|
104
|
+
"""
|
105
|
+
Sets the is_replication_supported of this ReplicationEstimate.
|
106
|
+
Specifies whether replication can be enabled on the file system.
|
107
|
+
|
108
|
+
|
109
|
+
:param is_replication_supported: The is_replication_supported of this ReplicationEstimate.
|
110
|
+
:type: bool
|
111
|
+
"""
|
112
|
+
self._is_replication_supported = is_replication_supported
|
113
|
+
|
114
|
+
@property
|
115
|
+
def minimum_supported_interval_in_minutes(self):
|
116
|
+
"""
|
117
|
+
**[Required]** Gets the minimum_supported_interval_in_minutes of this ReplicationEstimate.
|
118
|
+
The minimum supported replication interval for specified file system in minutes.
|
119
|
+
|
120
|
+
|
121
|
+
:return: The minimum_supported_interval_in_minutes of this ReplicationEstimate.
|
122
|
+
:rtype: int
|
123
|
+
"""
|
124
|
+
return self._minimum_supported_interval_in_minutes
|
125
|
+
|
126
|
+
@minimum_supported_interval_in_minutes.setter
|
127
|
+
def minimum_supported_interval_in_minutes(self, minimum_supported_interval_in_minutes):
|
128
|
+
"""
|
129
|
+
Sets the minimum_supported_interval_in_minutes of this ReplicationEstimate.
|
130
|
+
The minimum supported replication interval for specified file system in minutes.
|
131
|
+
|
132
|
+
|
133
|
+
:param minimum_supported_interval_in_minutes: The minimum_supported_interval_in_minutes of this ReplicationEstimate.
|
134
|
+
:type: int
|
135
|
+
"""
|
136
|
+
self._minimum_supported_interval_in_minutes = minimum_supported_interval_in_minutes
|
137
|
+
|
138
|
+
@property
|
139
|
+
def estimated_base_copy_time_in_minutes(self):
|
140
|
+
"""
|
141
|
+
**[Required]** Gets the estimated_base_copy_time_in_minutes of this ReplicationEstimate.
|
142
|
+
The approximate time required for the base sync between source and target to finish.
|
143
|
+
|
144
|
+
|
145
|
+
:return: The estimated_base_copy_time_in_minutes of this ReplicationEstimate.
|
146
|
+
:rtype: int
|
147
|
+
"""
|
148
|
+
return self._estimated_base_copy_time_in_minutes
|
149
|
+
|
150
|
+
@estimated_base_copy_time_in_minutes.setter
|
151
|
+
def estimated_base_copy_time_in_minutes(self, estimated_base_copy_time_in_minutes):
|
152
|
+
"""
|
153
|
+
Sets the estimated_base_copy_time_in_minutes of this ReplicationEstimate.
|
154
|
+
The approximate time required for the base sync between source and target to finish.
|
155
|
+
|
156
|
+
|
157
|
+
:param estimated_base_copy_time_in_minutes: The estimated_base_copy_time_in_minutes of this ReplicationEstimate.
|
158
|
+
:type: int
|
159
|
+
"""
|
160
|
+
self._estimated_base_copy_time_in_minutes = estimated_base_copy_time_in_minutes
|
161
|
+
|
162
|
+
@property
|
163
|
+
def allowed_target_regions(self):
|
164
|
+
"""
|
165
|
+
**[Required]** Gets the allowed_target_regions of this ReplicationEstimate.
|
166
|
+
Array of allowed target region names which can be paired with source file system.
|
167
|
+
|
168
|
+
|
169
|
+
:return: The allowed_target_regions of this ReplicationEstimate.
|
170
|
+
:rtype: list[str]
|
171
|
+
"""
|
172
|
+
return self._allowed_target_regions
|
173
|
+
|
174
|
+
@allowed_target_regions.setter
|
175
|
+
def allowed_target_regions(self, allowed_target_regions):
|
176
|
+
"""
|
177
|
+
Sets the allowed_target_regions of this ReplicationEstimate.
|
178
|
+
Array of allowed target region names which can be paired with source file system.
|
179
|
+
|
180
|
+
|
181
|
+
:param allowed_target_regions: The allowed_target_regions of this ReplicationEstimate.
|
182
|
+
:type: list[str]
|
183
|
+
"""
|
184
|
+
self._allowed_target_regions = allowed_target_regions
|
185
|
+
|
186
|
+
def __repr__(self):
|
187
|
+
return formatted_flat_dict(self)
|
188
|
+
|
189
|
+
def __eq__(self, other):
|
190
|
+
if other is None:
|
191
|
+
return False
|
192
|
+
|
193
|
+
return self.__dict__ == other.__dict__
|
194
|
+
|
195
|
+
def __ne__(self, other):
|
196
|
+
return not self == other
|
@@ -0,0 +1,491 @@
|
|
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 ReplicationSummary(object):
|
14
|
+
"""
|
15
|
+
Summary information for a replication.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the lifecycle_state property of a ReplicationSummary.
|
19
|
+
#: This constant has a value of "CREATING"
|
20
|
+
LIFECYCLE_STATE_CREATING = "CREATING"
|
21
|
+
|
22
|
+
#: A constant which can be used with the lifecycle_state property of a ReplicationSummary.
|
23
|
+
#: This constant has a value of "ACTIVE"
|
24
|
+
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the lifecycle_state property of a ReplicationSummary.
|
27
|
+
#: This constant has a value of "DELETING"
|
28
|
+
LIFECYCLE_STATE_DELETING = "DELETING"
|
29
|
+
|
30
|
+
#: A constant which can be used with the lifecycle_state property of a ReplicationSummary.
|
31
|
+
#: This constant has a value of "DELETED"
|
32
|
+
LIFECYCLE_STATE_DELETED = "DELETED"
|
33
|
+
|
34
|
+
#: A constant which can be used with the lifecycle_state property of a ReplicationSummary.
|
35
|
+
#: This constant has a value of "FAILED"
|
36
|
+
LIFECYCLE_STATE_FAILED = "FAILED"
|
37
|
+
|
38
|
+
def __init__(self, **kwargs):
|
39
|
+
"""
|
40
|
+
Initializes a new ReplicationSummary object with values from keyword arguments.
|
41
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
42
|
+
|
43
|
+
:param availability_domain:
|
44
|
+
The value to assign to the availability_domain property of this ReplicationSummary.
|
45
|
+
:type availability_domain: str
|
46
|
+
|
47
|
+
:param compartment_id:
|
48
|
+
The value to assign to the compartment_id property of this ReplicationSummary.
|
49
|
+
:type compartment_id: str
|
50
|
+
|
51
|
+
:param id:
|
52
|
+
The value to assign to the id property of this ReplicationSummary.
|
53
|
+
:type id: str
|
54
|
+
|
55
|
+
:param lifecycle_state:
|
56
|
+
The value to assign to the lifecycle_state property of this ReplicationSummary.
|
57
|
+
Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
58
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
59
|
+
:type lifecycle_state: str
|
60
|
+
|
61
|
+
:param display_name:
|
62
|
+
The value to assign to the display_name property of this ReplicationSummary.
|
63
|
+
:type display_name: str
|
64
|
+
|
65
|
+
:param time_created:
|
66
|
+
The value to assign to the time_created property of this ReplicationSummary.
|
67
|
+
:type time_created: datetime
|
68
|
+
|
69
|
+
:param locks:
|
70
|
+
The value to assign to the locks property of this ReplicationSummary.
|
71
|
+
:type locks: list[oci.file_storage.models.ResourceLock]
|
72
|
+
|
73
|
+
:param replication_interval:
|
74
|
+
The value to assign to the replication_interval property of this ReplicationSummary.
|
75
|
+
:type replication_interval: int
|
76
|
+
|
77
|
+
:param freeform_tags:
|
78
|
+
The value to assign to the freeform_tags property of this ReplicationSummary.
|
79
|
+
:type freeform_tags: dict(str, str)
|
80
|
+
|
81
|
+
:param defined_tags:
|
82
|
+
The value to assign to the defined_tags property of this ReplicationSummary.
|
83
|
+
:type defined_tags: dict(str, dict(str, object))
|
84
|
+
|
85
|
+
:param lifecycle_details:
|
86
|
+
The value to assign to the lifecycle_details property of this ReplicationSummary.
|
87
|
+
:type lifecycle_details: str
|
88
|
+
|
89
|
+
:param recovery_point_time:
|
90
|
+
The value to assign to the recovery_point_time property of this ReplicationSummary.
|
91
|
+
:type recovery_point_time: datetime
|
92
|
+
|
93
|
+
"""
|
94
|
+
self.swagger_types = {
|
95
|
+
'availability_domain': 'str',
|
96
|
+
'compartment_id': 'str',
|
97
|
+
'id': 'str',
|
98
|
+
'lifecycle_state': 'str',
|
99
|
+
'display_name': 'str',
|
100
|
+
'time_created': 'datetime',
|
101
|
+
'locks': 'list[ResourceLock]',
|
102
|
+
'replication_interval': 'int',
|
103
|
+
'freeform_tags': 'dict(str, str)',
|
104
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
105
|
+
'lifecycle_details': 'str',
|
106
|
+
'recovery_point_time': 'datetime'
|
107
|
+
}
|
108
|
+
|
109
|
+
self.attribute_map = {
|
110
|
+
'availability_domain': 'availabilityDomain',
|
111
|
+
'compartment_id': 'compartmentId',
|
112
|
+
'id': 'id',
|
113
|
+
'lifecycle_state': 'lifecycleState',
|
114
|
+
'display_name': 'displayName',
|
115
|
+
'time_created': 'timeCreated',
|
116
|
+
'locks': 'locks',
|
117
|
+
'replication_interval': 'replicationInterval',
|
118
|
+
'freeform_tags': 'freeformTags',
|
119
|
+
'defined_tags': 'definedTags',
|
120
|
+
'lifecycle_details': 'lifecycleDetails',
|
121
|
+
'recovery_point_time': 'recoveryPointTime'
|
122
|
+
}
|
123
|
+
|
124
|
+
self._availability_domain = None
|
125
|
+
self._compartment_id = None
|
126
|
+
self._id = None
|
127
|
+
self._lifecycle_state = None
|
128
|
+
self._display_name = None
|
129
|
+
self._time_created = None
|
130
|
+
self._locks = None
|
131
|
+
self._replication_interval = None
|
132
|
+
self._freeform_tags = None
|
133
|
+
self._defined_tags = None
|
134
|
+
self._lifecycle_details = None
|
135
|
+
self._recovery_point_time = None
|
136
|
+
|
137
|
+
@property
|
138
|
+
def availability_domain(self):
|
139
|
+
"""
|
140
|
+
Gets the availability_domain of this ReplicationSummary.
|
141
|
+
The availability domain the replication is in. The replication must be in the same availability domain as the source file system.
|
142
|
+
Example: `Uocm:PHX-AD-1`
|
143
|
+
|
144
|
+
|
145
|
+
:return: The availability_domain of this ReplicationSummary.
|
146
|
+
:rtype: str
|
147
|
+
"""
|
148
|
+
return self._availability_domain
|
149
|
+
|
150
|
+
@availability_domain.setter
|
151
|
+
def availability_domain(self, availability_domain):
|
152
|
+
"""
|
153
|
+
Sets the availability_domain of this ReplicationSummary.
|
154
|
+
The availability domain the replication is in. The replication must be in the same availability domain as the source file system.
|
155
|
+
Example: `Uocm:PHX-AD-1`
|
156
|
+
|
157
|
+
|
158
|
+
:param availability_domain: The availability_domain of this ReplicationSummary.
|
159
|
+
:type: str
|
160
|
+
"""
|
161
|
+
self._availability_domain = availability_domain
|
162
|
+
|
163
|
+
@property
|
164
|
+
def compartment_id(self):
|
165
|
+
"""
|
166
|
+
Gets the compartment_id of this ReplicationSummary.
|
167
|
+
The `OCID`__ of the compartment that contains the replication.
|
168
|
+
|
169
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
170
|
+
|
171
|
+
|
172
|
+
:return: The compartment_id of this ReplicationSummary.
|
173
|
+
:rtype: str
|
174
|
+
"""
|
175
|
+
return self._compartment_id
|
176
|
+
|
177
|
+
@compartment_id.setter
|
178
|
+
def compartment_id(self, compartment_id):
|
179
|
+
"""
|
180
|
+
Sets the compartment_id of this ReplicationSummary.
|
181
|
+
The `OCID`__ of the compartment that contains the replication.
|
182
|
+
|
183
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
184
|
+
|
185
|
+
|
186
|
+
:param compartment_id: The compartment_id of this ReplicationSummary.
|
187
|
+
:type: str
|
188
|
+
"""
|
189
|
+
self._compartment_id = compartment_id
|
190
|
+
|
191
|
+
@property
|
192
|
+
def id(self):
|
193
|
+
"""
|
194
|
+
**[Required]** Gets the id of this ReplicationSummary.
|
195
|
+
The `OCID`__ of the replication.
|
196
|
+
|
197
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
198
|
+
|
199
|
+
|
200
|
+
:return: The id of this ReplicationSummary.
|
201
|
+
:rtype: str
|
202
|
+
"""
|
203
|
+
return self._id
|
204
|
+
|
205
|
+
@id.setter
|
206
|
+
def id(self, id):
|
207
|
+
"""
|
208
|
+
Sets the id of this ReplicationSummary.
|
209
|
+
The `OCID`__ of the replication.
|
210
|
+
|
211
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
212
|
+
|
213
|
+
|
214
|
+
:param id: The id of this ReplicationSummary.
|
215
|
+
:type: str
|
216
|
+
"""
|
217
|
+
self._id = id
|
218
|
+
|
219
|
+
@property
|
220
|
+
def lifecycle_state(self):
|
221
|
+
"""
|
222
|
+
**[Required]** Gets the lifecycle_state of this ReplicationSummary.
|
223
|
+
The current state of this replication.
|
224
|
+
This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource.
|
225
|
+
|
226
|
+
Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
227
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
228
|
+
|
229
|
+
|
230
|
+
:return: The lifecycle_state of this ReplicationSummary.
|
231
|
+
:rtype: str
|
232
|
+
"""
|
233
|
+
return self._lifecycle_state
|
234
|
+
|
235
|
+
@lifecycle_state.setter
|
236
|
+
def lifecycle_state(self, lifecycle_state):
|
237
|
+
"""
|
238
|
+
Sets the lifecycle_state of this ReplicationSummary.
|
239
|
+
The current state of this replication.
|
240
|
+
This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource.
|
241
|
+
|
242
|
+
|
243
|
+
:param lifecycle_state: The lifecycle_state of this ReplicationSummary.
|
244
|
+
:type: str
|
245
|
+
"""
|
246
|
+
allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
|
247
|
+
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
|
248
|
+
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
249
|
+
self._lifecycle_state = lifecycle_state
|
250
|
+
|
251
|
+
@property
|
252
|
+
def display_name(self):
|
253
|
+
"""
|
254
|
+
**[Required]** Gets the display_name of this ReplicationSummary.
|
255
|
+
A user-friendly name. It does not have to be unique, and it is changeable.
|
256
|
+
Avoid entering confidential information.
|
257
|
+
Example: `My replication`
|
258
|
+
|
259
|
+
|
260
|
+
:return: The display_name of this ReplicationSummary.
|
261
|
+
:rtype: str
|
262
|
+
"""
|
263
|
+
return self._display_name
|
264
|
+
|
265
|
+
@display_name.setter
|
266
|
+
def display_name(self, display_name):
|
267
|
+
"""
|
268
|
+
Sets the display_name of this ReplicationSummary.
|
269
|
+
A user-friendly name. It does not have to be unique, and it is changeable.
|
270
|
+
Avoid entering confidential information.
|
271
|
+
Example: `My replication`
|
272
|
+
|
273
|
+
|
274
|
+
:param display_name: The display_name of this ReplicationSummary.
|
275
|
+
:type: str
|
276
|
+
"""
|
277
|
+
self._display_name = display_name
|
278
|
+
|
279
|
+
@property
|
280
|
+
def time_created(self):
|
281
|
+
"""
|
282
|
+
**[Required]** Gets the time_created of this ReplicationSummary.
|
283
|
+
The date and time the replication was created
|
284
|
+
in `RFC 3339`__ timestamp format.
|
285
|
+
Example: `2020-02-04T21:10:29.600Z`
|
286
|
+
|
287
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
288
|
+
|
289
|
+
|
290
|
+
:return: The time_created of this ReplicationSummary.
|
291
|
+
:rtype: datetime
|
292
|
+
"""
|
293
|
+
return self._time_created
|
294
|
+
|
295
|
+
@time_created.setter
|
296
|
+
def time_created(self, time_created):
|
297
|
+
"""
|
298
|
+
Sets the time_created of this ReplicationSummary.
|
299
|
+
The date and time the replication was created
|
300
|
+
in `RFC 3339`__ timestamp format.
|
301
|
+
Example: `2020-02-04T21:10:29.600Z`
|
302
|
+
|
303
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
304
|
+
|
305
|
+
|
306
|
+
:param time_created: The time_created of this ReplicationSummary.
|
307
|
+
:type: datetime
|
308
|
+
"""
|
309
|
+
self._time_created = time_created
|
310
|
+
|
311
|
+
@property
|
312
|
+
def locks(self):
|
313
|
+
"""
|
314
|
+
Gets the locks of this ReplicationSummary.
|
315
|
+
Locks associated with this resource.
|
316
|
+
|
317
|
+
|
318
|
+
:return: The locks of this ReplicationSummary.
|
319
|
+
:rtype: list[oci.file_storage.models.ResourceLock]
|
320
|
+
"""
|
321
|
+
return self._locks
|
322
|
+
|
323
|
+
@locks.setter
|
324
|
+
def locks(self, locks):
|
325
|
+
"""
|
326
|
+
Sets the locks of this ReplicationSummary.
|
327
|
+
Locks associated with this resource.
|
328
|
+
|
329
|
+
|
330
|
+
:param locks: The locks of this ReplicationSummary.
|
331
|
+
:type: list[oci.file_storage.models.ResourceLock]
|
332
|
+
"""
|
333
|
+
self._locks = locks
|
334
|
+
|
335
|
+
@property
|
336
|
+
def replication_interval(self):
|
337
|
+
"""
|
338
|
+
Gets the replication_interval of this ReplicationSummary.
|
339
|
+
Duration in minutes between replication snapshots.
|
340
|
+
|
341
|
+
|
342
|
+
:return: The replication_interval of this ReplicationSummary.
|
343
|
+
:rtype: int
|
344
|
+
"""
|
345
|
+
return self._replication_interval
|
346
|
+
|
347
|
+
@replication_interval.setter
|
348
|
+
def replication_interval(self, replication_interval):
|
349
|
+
"""
|
350
|
+
Sets the replication_interval of this ReplicationSummary.
|
351
|
+
Duration in minutes between replication snapshots.
|
352
|
+
|
353
|
+
|
354
|
+
:param replication_interval: The replication_interval of this ReplicationSummary.
|
355
|
+
:type: int
|
356
|
+
"""
|
357
|
+
self._replication_interval = replication_interval
|
358
|
+
|
359
|
+
@property
|
360
|
+
def freeform_tags(self):
|
361
|
+
"""
|
362
|
+
Gets the freeform_tags of this ReplicationSummary.
|
363
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
364
|
+
with no predefined name, type, or namespace.
|
365
|
+
For more information, see `Resource Tags`__.
|
366
|
+
Example: `{\"Department\": \"Finance\"}`
|
367
|
+
|
368
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
369
|
+
|
370
|
+
|
371
|
+
:return: The freeform_tags of this ReplicationSummary.
|
372
|
+
:rtype: dict(str, str)
|
373
|
+
"""
|
374
|
+
return self._freeform_tags
|
375
|
+
|
376
|
+
@freeform_tags.setter
|
377
|
+
def freeform_tags(self, freeform_tags):
|
378
|
+
"""
|
379
|
+
Sets the freeform_tags of this ReplicationSummary.
|
380
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
381
|
+
with no predefined name, type, or namespace.
|
382
|
+
For more information, see `Resource Tags`__.
|
383
|
+
Example: `{\"Department\": \"Finance\"}`
|
384
|
+
|
385
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
386
|
+
|
387
|
+
|
388
|
+
:param freeform_tags: The freeform_tags of this ReplicationSummary.
|
389
|
+
:type: dict(str, str)
|
390
|
+
"""
|
391
|
+
self._freeform_tags = freeform_tags
|
392
|
+
|
393
|
+
@property
|
394
|
+
def defined_tags(self):
|
395
|
+
"""
|
396
|
+
Gets the defined_tags of this ReplicationSummary.
|
397
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
398
|
+
For more information, see `Resource Tags`__.
|
399
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
400
|
+
|
401
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
402
|
+
|
403
|
+
|
404
|
+
:return: The defined_tags of this ReplicationSummary.
|
405
|
+
:rtype: dict(str, dict(str, object))
|
406
|
+
"""
|
407
|
+
return self._defined_tags
|
408
|
+
|
409
|
+
@defined_tags.setter
|
410
|
+
def defined_tags(self, defined_tags):
|
411
|
+
"""
|
412
|
+
Sets the defined_tags of this ReplicationSummary.
|
413
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
414
|
+
For more information, see `Resource Tags`__.
|
415
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
416
|
+
|
417
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
418
|
+
|
419
|
+
|
420
|
+
:param defined_tags: The defined_tags of this ReplicationSummary.
|
421
|
+
:type: dict(str, dict(str, object))
|
422
|
+
"""
|
423
|
+
self._defined_tags = defined_tags
|
424
|
+
|
425
|
+
@property
|
426
|
+
def lifecycle_details(self):
|
427
|
+
"""
|
428
|
+
Gets the lifecycle_details of this ReplicationSummary.
|
429
|
+
Additional information about the current `lifecycleState`.
|
430
|
+
|
431
|
+
|
432
|
+
:return: The lifecycle_details of this ReplicationSummary.
|
433
|
+
:rtype: str
|
434
|
+
"""
|
435
|
+
return self._lifecycle_details
|
436
|
+
|
437
|
+
@lifecycle_details.setter
|
438
|
+
def lifecycle_details(self, lifecycle_details):
|
439
|
+
"""
|
440
|
+
Sets the lifecycle_details of this ReplicationSummary.
|
441
|
+
Additional information about the current `lifecycleState`.
|
442
|
+
|
443
|
+
|
444
|
+
:param lifecycle_details: The lifecycle_details of this ReplicationSummary.
|
445
|
+
:type: str
|
446
|
+
"""
|
447
|
+
self._lifecycle_details = lifecycle_details
|
448
|
+
|
449
|
+
@property
|
450
|
+
def recovery_point_time(self):
|
451
|
+
"""
|
452
|
+
Gets the recovery_point_time of this ReplicationSummary.
|
453
|
+
The `snapshotTime` of the most recent recoverable replication snapshot
|
454
|
+
in `RFC 3339`__ timestamp format.
|
455
|
+
Example: `2021-04-04T20:01:29.100Z`
|
456
|
+
|
457
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
458
|
+
|
459
|
+
|
460
|
+
:return: The recovery_point_time of this ReplicationSummary.
|
461
|
+
:rtype: datetime
|
462
|
+
"""
|
463
|
+
return self._recovery_point_time
|
464
|
+
|
465
|
+
@recovery_point_time.setter
|
466
|
+
def recovery_point_time(self, recovery_point_time):
|
467
|
+
"""
|
468
|
+
Sets the recovery_point_time of this ReplicationSummary.
|
469
|
+
The `snapshotTime` of the most recent recoverable replication snapshot
|
470
|
+
in `RFC 3339`__ timestamp format.
|
471
|
+
Example: `2021-04-04T20:01:29.100Z`
|
472
|
+
|
473
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
474
|
+
|
475
|
+
|
476
|
+
:param recovery_point_time: The recovery_point_time of this ReplicationSummary.
|
477
|
+
:type: datetime
|
478
|
+
"""
|
479
|
+
self._recovery_point_time = recovery_point_time
|
480
|
+
|
481
|
+
def __repr__(self):
|
482
|
+
return formatted_flat_dict(self)
|
483
|
+
|
484
|
+
def __eq__(self, other):
|
485
|
+
if other is None:
|
486
|
+
return False
|
487
|
+
|
488
|
+
return self.__dict__ == other.__dict__
|
489
|
+
|
490
|
+
def __ne__(self, other):
|
491
|
+
return not self == other
|