mv-oci-sdk 2.142.0__py3-none-any.whl → 2.142.0.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/METADATA +3 -3
  2. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/RECORD +248 -6
  3. oci/file_storage/__init__.py +14 -0
  4. oci/file_storage/file_storage_client.py +8601 -0
  5. oci/file_storage/file_storage_client_composite_operations.py +2068 -0
  6. oci/file_storage/models/__init__.py +130 -0
  7. oci/file_storage/models/change_file_system_compartment_details.py +76 -0
  8. oci/file_storage/models/change_filesystem_snapshot_policy_compartment_details.py +76 -0
  9. oci/file_storage/models/change_mount_target_compartment_details.py +76 -0
  10. oci/file_storage/models/change_outbound_connector_compartment_details.py +78 -0
  11. oci/file_storage/models/change_replication_compartment_details.py +76 -0
  12. oci/file_storage/models/client_options.py +389 -0
  13. oci/file_storage/models/create_export_details.py +303 -0
  14. oci/file_storage/models/create_file_system_details.py +425 -0
  15. oci/file_storage/models/create_filesystem_snapshot_policy_details.py +337 -0
  16. oci/file_storage/models/create_kerberos_details.py +200 -0
  17. oci/file_storage/models/create_ldap_bind_account_details.py +220 -0
  18. oci/file_storage/models/create_ldap_idmap_details.py +317 -0
  19. oci/file_storage/models/create_mount_target_details.py +581 -0
  20. oci/file_storage/models/create_outbound_connector_details.py +309 -0
  21. oci/file_storage/models/create_replication_details.py +325 -0
  22. oci/file_storage/models/create_snapshot_details.py +261 -0
  23. oci/file_storage/models/endpoint.py +103 -0
  24. oci/file_storage/models/export.py +456 -0
  25. oci/file_storage/models/export_set.py +411 -0
  26. oci/file_storage/models/export_set_summary.py +316 -0
  27. oci/file_storage/models/export_summary.py +343 -0
  28. oci/file_storage/models/file_system.py +818 -0
  29. oci/file_storage/models/file_system_summary.py +659 -0
  30. oci/file_storage/models/filesystem_snapshot_policy.py +473 -0
  31. oci/file_storage/models/filesystem_snapshot_policy_summary.py +429 -0
  32. oci/file_storage/models/kerberos.py +200 -0
  33. oci/file_storage/models/kerberos_keytab_entry.py +166 -0
  34. oci/file_storage/models/key_tab_secret_details.py +138 -0
  35. oci/file_storage/models/ldap_bind_account.py +243 -0
  36. oci/file_storage/models/ldap_bind_account_summary.py +176 -0
  37. oci/file_storage/models/ldap_idmap.py +317 -0
  38. oci/file_storage/models/mount_target.py +828 -0
  39. oci/file_storage/models/mount_target_summary.py +696 -0
  40. oci/file_storage/models/outbound_connector.py +453 -0
  41. oci/file_storage/models/outbound_connector_summary.py +438 -0
  42. oci/file_storage/models/replication.py +740 -0
  43. oci/file_storage/models/replication_estimate.py +196 -0
  44. oci/file_storage/models/replication_summary.py +491 -0
  45. oci/file_storage/models/replication_target.py +679 -0
  46. oci/file_storage/models/replication_target_summary.py +425 -0
  47. oci/file_storage/models/resource_lock.py +185 -0
  48. oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
  49. oci/file_storage/models/snapshot.py +638 -0
  50. oci/file_storage/models/snapshot_schedule.py +487 -0
  51. oci/file_storage/models/snapshot_summary.py +601 -0
  52. oci/file_storage/models/source_details.py +119 -0
  53. oci/file_storage/models/update_export_details.py +111 -0
  54. oci/file_storage/models/update_export_set_details.py +172 -0
  55. oci/file_storage/models/update_file_system_details.py +246 -0
  56. oci/file_storage/models/update_filesystem_snapshot_policy_details.py +236 -0
  57. oci/file_storage/models/update_kerberos_details.py +200 -0
  58. oci/file_storage/models/update_ldap_idmap_details.py +317 -0
  59. oci/file_storage/models/update_mount_target_details.py +286 -0
  60. oci/file_storage/models/update_outbound_connector_details.py +158 -0
  61. oci/file_storage/models/update_replication_details.py +189 -0
  62. oci/file_storage/models/update_snapshot_details.py +156 -0
  63. oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
  64. oci/file_storage/models/validate_key_tabs_details.py +103 -0
  65. oci/file_storage/models/validate_key_tabs_response_details.py +103 -0
  66. oci/functions/__init__.py +16 -0
  67. oci/functions/functions_invoke_client.py +267 -0
  68. oci/functions/functions_invoke_client_composite_operations.py +26 -0
  69. oci/functions/functions_management_client.py +2056 -0
  70. oci/functions/functions_management_client_composite_operations.py +326 -0
  71. oci/functions/models/__init__.py +74 -0
  72. oci/functions/models/application.py +628 -0
  73. oci/functions/models/application_summary.py +512 -0
  74. oci/functions/models/application_trace_config.py +103 -0
  75. oci/functions/models/change_application_compartment_details.py +78 -0
  76. oci/functions/models/config_details.py +134 -0
  77. oci/functions/models/constant_provisioned_concurrency_config.py +82 -0
  78. oci/functions/models/create_application_details.py +446 -0
  79. oci/functions/models/create_function_details.py +437 -0
  80. oci/functions/models/function.py +734 -0
  81. oci/functions/models/function_provisioned_concurrency_config.py +109 -0
  82. oci/functions/models/function_source_details.py +101 -0
  83. oci/functions/models/function_summary.py +657 -0
  84. oci/functions/models/function_trace_config.py +72 -0
  85. oci/functions/models/image_policy_config.py +103 -0
  86. oci/functions/models/key_details.py +76 -0
  87. oci/functions/models/none_provisioned_concurrency_config.py +51 -0
  88. oci/functions/models/pbf_listing.py +408 -0
  89. oci/functions/models/pbf_listing_summary.py +386 -0
  90. oci/functions/models/pbf_listing_version.py +467 -0
  91. oci/functions/models/pbf_listing_version_summary.py +446 -0
  92. oci/functions/models/pbf_listing_versions_collection.py +73 -0
  93. oci/functions/models/pbf_listings_collection.py +72 -0
  94. oci/functions/models/policy_details.py +103 -0
  95. oci/functions/models/pre_built_function_source_details.py +88 -0
  96. oci/functions/models/publisher_details.py +72 -0
  97. oci/functions/models/requirement_details.py +106 -0
  98. oci/functions/models/trigger.py +72 -0
  99. oci/functions/models/trigger_summary.py +72 -0
  100. oci/functions/models/triggers_collection.py +72 -0
  101. oci/functions/models/update_application_details.py +290 -0
  102. oci/functions/models/update_function_details.py +346 -0
  103. oci/load_balancer/__init__.py +14 -0
  104. oci/load_balancer/load_balancer_client.py +7641 -0
  105. oci/load_balancer/load_balancer_client_composite_operations.py +1630 -0
  106. oci/load_balancer/models/__init__.py +186 -0
  107. oci/load_balancer/models/action.py +97 -0
  108. oci/load_balancer/models/add_http_request_header_rule.py +134 -0
  109. oci/load_balancer/models/add_http_response_header_rule.py +137 -0
  110. oci/load_balancer/models/allow_rule.py +123 -0
  111. oci/load_balancer/models/backend.py +350 -0
  112. oci/load_balancer/models/backend_details.py +312 -0
  113. oci/load_balancer/models/backend_health.py +143 -0
  114. oci/load_balancer/models/backend_set.py +305 -0
  115. oci/load_balancer/models/backend_set_details.py +262 -0
  116. oci/load_balancer/models/backend_set_health.py +265 -0
  117. oci/load_balancer/models/certificate.py +188 -0
  118. oci/load_balancer/models/certificate_details.py +270 -0
  119. oci/load_balancer/models/change_load_balancer_compartment_details.py +78 -0
  120. oci/load_balancer/models/connection_configuration.py +168 -0
  121. oci/load_balancer/models/control_access_using_http_methods_rule.py +162 -0
  122. oci/load_balancer/models/create_backend_details.py +316 -0
  123. oci/load_balancer/models/create_backend_set_details.py +305 -0
  124. oci/load_balancer/models/create_certificate_details.py +270 -0
  125. oci/load_balancer/models/create_hostname_details.py +121 -0
  126. oci/load_balancer/models/create_listener_details.py +387 -0
  127. oci/load_balancer/models/create_load_balancer_details.py +895 -0
  128. oci/load_balancer/models/create_path_route_set_details.py +111 -0
  129. oci/load_balancer/models/create_routing_policy_details.py +154 -0
  130. oci/load_balancer/models/create_rule_set_details.py +109 -0
  131. oci/load_balancer/models/create_ssl_cipher_suite_details.py +606 -0
  132. oci/load_balancer/models/extend_http_request_header_value_rule.py +181 -0
  133. oci/load_balancer/models/extend_http_response_header_value_rule.py +181 -0
  134. oci/load_balancer/models/forward_to_backend_set.py +86 -0
  135. oci/load_balancer/models/health_check_result.py +219 -0
  136. oci/load_balancer/models/health_checker.py +381 -0
  137. oci/load_balancer/models/health_checker_details.py +376 -0
  138. oci/load_balancer/models/hostname.py +121 -0
  139. oci/load_balancer/models/hostname_details.py +117 -0
  140. oci/load_balancer/models/http_header_rule.py +127 -0
  141. oci/load_balancer/models/ip_address.py +142 -0
  142. oci/load_balancer/models/ip_based_max_connections_rule.py +118 -0
  143. oci/load_balancer/models/ip_max_connections.py +111 -0
  144. oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.py +423 -0
  145. oci/load_balancer/models/listener.py +383 -0
  146. oci/load_balancer/models/listener_details.py +344 -0
  147. oci/load_balancer/models/listener_rule_summary.py +104 -0
  148. oci/load_balancer/models/load_balancer.py +1023 -0
  149. oci/load_balancer/models/load_balancer_health.py +281 -0
  150. oci/load_balancer/models/load_balancer_health_summary.py +167 -0
  151. oci/load_balancer/models/load_balancer_policy.py +80 -0
  152. oci/load_balancer/models/load_balancer_protocol.py +76 -0
  153. oci/load_balancer/models/load_balancer_shape.py +80 -0
  154. oci/load_balancer/models/path_match_condition.py +166 -0
  155. oci/load_balancer/models/path_match_type.py +126 -0
  156. oci/load_balancer/models/path_route.py +156 -0
  157. oci/load_balancer/models/path_route_set.py +112 -0
  158. oci/load_balancer/models/path_route_set_details.py +72 -0
  159. oci/load_balancer/models/redirect_rule.py +173 -0
  160. oci/load_balancer/models/redirect_uri.py +420 -0
  161. oci/load_balancer/models/remove_http_request_header_rule.py +90 -0
  162. oci/load_balancer/models/remove_http_response_header_rule.py +92 -0
  163. oci/load_balancer/models/reserved_ip.py +90 -0
  164. oci/load_balancer/models/routing_policy.py +152 -0
  165. oci/load_balancer/models/routing_policy_details.py +73 -0
  166. oci/load_balancer/models/routing_rule.py +135 -0
  167. oci/load_balancer/models/rule.py +177 -0
  168. oci/load_balancer/models/rule_condition.py +121 -0
  169. oci/load_balancer/models/rule_set.py +113 -0
  170. oci/load_balancer/models/rule_set_details.py +72 -0
  171. oci/load_balancer/models/session_persistence_configuration_details.py +136 -0
  172. oci/load_balancer/models/shape_details.py +121 -0
  173. oci/load_balancer/models/source_ip_address_condition.py +90 -0
  174. oci/load_balancer/models/source_vcn_id_condition.py +98 -0
  175. oci/load_balancer/models/source_vcn_ip_address_condition.py +97 -0
  176. oci/load_balancer/models/ssl_cipher_suite.py +606 -0
  177. oci/load_balancer/models/ssl_cipher_suite_details.py +606 -0
  178. oci/load_balancer/models/ssl_configuration.py +478 -0
  179. oci/load_balancer/models/ssl_configuration_details.py +476 -0
  180. oci/load_balancer/models/update_backend_details.py +242 -0
  181. oci/load_balancer/models/update_backend_set_details.py +264 -0
  182. oci/load_balancer/models/update_health_checker_details.py +374 -0
  183. oci/load_balancer/models/update_hostname_details.py +86 -0
  184. oci/load_balancer/models/update_listener_details.py +344 -0
  185. oci/load_balancer/models/update_load_balancer_details.py +356 -0
  186. oci/load_balancer/models/update_load_balancer_shape_details.py +127 -0
  187. oci/load_balancer/models/update_network_security_groups_details.py +99 -0
  188. oci/load_balancer/models/update_path_route_set_details.py +72 -0
  189. oci/load_balancer/models/update_routing_policy_details.py +115 -0
  190. oci/load_balancer/models/update_rule_set_details.py +72 -0
  191. oci/load_balancer/models/update_ssl_cipher_suite_details.py +300 -0
  192. oci/load_balancer/models/work_request.py +385 -0
  193. oci/load_balancer/models/work_request_error.py +115 -0
  194. oci/network_load_balancer/__init__.py +14 -0
  195. oci/network_load_balancer/models/__init__.py +106 -0
  196. oci/network_load_balancer/models/backend.py +338 -0
  197. oci/network_load_balancer/models/backend_collection.py +72 -0
  198. oci/network_load_balancer/models/backend_details.py +337 -0
  199. oci/network_load_balancer/models/backend_health.py +145 -0
  200. oci/network_load_balancer/models/backend_set.py +347 -0
  201. oci/network_load_balancer/models/backend_set_collection.py +72 -0
  202. oci/network_load_balancer/models/backend_set_details.py +306 -0
  203. oci/network_load_balancer/models/backend_set_health.py +265 -0
  204. oci/network_load_balancer/models/backend_set_summary.py +347 -0
  205. oci/network_load_balancer/models/backend_summary.py +338 -0
  206. oci/network_load_balancer/models/change_network_load_balancer_compartment_details.py +78 -0
  207. oci/network_load_balancer/models/create_backend_details.py +336 -0
  208. oci/network_load_balancer/models/create_backend_set_details.py +347 -0
  209. oci/network_load_balancer/models/create_listener_details.py +396 -0
  210. oci/network_load_balancer/models/create_network_load_balancer_details.py +694 -0
  211. oci/network_load_balancer/models/dns_health_checker_details.py +264 -0
  212. oci/network_load_balancer/models/health_check_result.py +139 -0
  213. oci/network_load_balancer/models/health_checker.py +449 -0
  214. oci/network_load_balancer/models/health_checker_details.py +449 -0
  215. oci/network_load_balancer/models/ip_address.py +189 -0
  216. oci/network_load_balancer/models/listener.py +396 -0
  217. oci/network_load_balancer/models/listener_collection.py +72 -0
  218. oci/network_load_balancer/models/listener_details.py +396 -0
  219. oci/network_load_balancer/models/listener_summary.py +396 -0
  220. oci/network_load_balancer/models/network_load_balancer.py +847 -0
  221. oci/network_load_balancer/models/network_load_balancer_collection.py +72 -0
  222. oci/network_load_balancer/models/network_load_balancer_health.py +281 -0
  223. oci/network_load_balancer/models/network_load_balancer_health_collection.py +72 -0
  224. oci/network_load_balancer/models/network_load_balancer_health_summary.py +167 -0
  225. oci/network_load_balancer/models/network_load_balancer_summary.py +833 -0
  226. oci/network_load_balancer/models/network_load_balancers_policy_collection.py +72 -0
  227. oci/network_load_balancer/models/network_load_balancers_protocol_collection.py +73 -0
  228. oci/network_load_balancer/models/reserved_ip.py +90 -0
  229. oci/network_load_balancer/models/update_backend_details.py +199 -0
  230. oci/network_load_balancer/models/update_backend_set_details.py +288 -0
  231. oci/network_load_balancer/models/update_health_checker_details.py +444 -0
  232. oci/network_load_balancer/models/update_listener_details.py +361 -0
  233. oci/network_load_balancer/models/update_network_load_balancer_details.py +386 -0
  234. oci/network_load_balancer/models/update_network_security_groups_details.py +99 -0
  235. oci/network_load_balancer/models/work_request.py +454 -0
  236. oci/network_load_balancer/models/work_request_collection.py +72 -0
  237. oci/network_load_balancer/models/work_request_error.py +136 -0
  238. oci/network_load_balancer/models/work_request_error_collection.py +72 -0
  239. oci/network_load_balancer/models/work_request_log_entry.py +103 -0
  240. oci/network_load_balancer/models/work_request_log_entry_collection.py +72 -0
  241. oci/network_load_balancer/models/work_request_resource.py +199 -0
  242. oci/network_load_balancer/models/work_request_summary.py +454 -0
  243. oci/network_load_balancer/network_load_balancer_client.py +4392 -0
  244. oci/network_load_balancer/network_load_balancer_client_composite_operations.py +757 -0
  245. oci/version.py +1 -1
  246. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/LICENSE.txt +0 -0
  247. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/WHEEL +0 -0
  248. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,638 @@
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 Snapshot(object):
14
+ """
15
+ A point-in-time snapshot of a specified file system.
16
+ """
17
+
18
+ #: A constant which can be used with the lifecycle_state property of a Snapshot.
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 Snapshot.
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 Snapshot.
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 Snapshot.
31
+ #: This constant has a value of "DELETED"
32
+ LIFECYCLE_STATE_DELETED = "DELETED"
33
+
34
+ #: A constant which can be used with the snapshot_type property of a Snapshot.
35
+ #: This constant has a value of "USER"
36
+ SNAPSHOT_TYPE_USER = "USER"
37
+
38
+ #: A constant which can be used with the snapshot_type property of a Snapshot.
39
+ #: This constant has a value of "POLICY_BASED"
40
+ SNAPSHOT_TYPE_POLICY_BASED = "POLICY_BASED"
41
+
42
+ #: A constant which can be used with the snapshot_type property of a Snapshot.
43
+ #: This constant has a value of "REPLICATION"
44
+ SNAPSHOT_TYPE_REPLICATION = "REPLICATION"
45
+
46
+ def __init__(self, **kwargs):
47
+ """
48
+ Initializes a new Snapshot object with values from keyword arguments.
49
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
50
+
51
+ :param file_system_id:
52
+ The value to assign to the file_system_id property of this Snapshot.
53
+ :type file_system_id: str
54
+
55
+ :param id:
56
+ The value to assign to the id property of this Snapshot.
57
+ :type id: str
58
+
59
+ :param lifecycle_state:
60
+ The value to assign to the lifecycle_state property of this Snapshot.
61
+ Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
62
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
63
+ :type lifecycle_state: str
64
+
65
+ :param name:
66
+ The value to assign to the name property of this Snapshot.
67
+ :type name: str
68
+
69
+ :param time_created:
70
+ The value to assign to the time_created property of this Snapshot.
71
+ :type time_created: datetime
72
+
73
+ :param snapshot_type:
74
+ The value to assign to the snapshot_type property of this Snapshot.
75
+ Allowed values for this property are: "USER", "POLICY_BASED", "REPLICATION", 'UNKNOWN_ENUM_VALUE'.
76
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
77
+ :type snapshot_type: str
78
+
79
+ :param snapshot_time:
80
+ The value to assign to the snapshot_time property of this Snapshot.
81
+ :type snapshot_time: datetime
82
+
83
+ :param provenance_id:
84
+ The value to assign to the provenance_id property of this Snapshot.
85
+ :type provenance_id: str
86
+
87
+ :param is_clone_source:
88
+ The value to assign to the is_clone_source property of this Snapshot.
89
+ :type is_clone_source: bool
90
+
91
+ :param lifecycle_details:
92
+ The value to assign to the lifecycle_details property of this Snapshot.
93
+ :type lifecycle_details: str
94
+
95
+ :param locks:
96
+ The value to assign to the locks property of this Snapshot.
97
+ :type locks: list[oci.file_storage.models.ResourceLock]
98
+
99
+ :param freeform_tags:
100
+ The value to assign to the freeform_tags property of this Snapshot.
101
+ :type freeform_tags: dict(str, str)
102
+
103
+ :param defined_tags:
104
+ The value to assign to the defined_tags property of this Snapshot.
105
+ :type defined_tags: dict(str, dict(str, object))
106
+
107
+ :param expiration_time:
108
+ The value to assign to the expiration_time property of this Snapshot.
109
+ :type expiration_time: datetime
110
+
111
+ :param filesystem_snapshot_policy_id:
112
+ The value to assign to the filesystem_snapshot_policy_id property of this Snapshot.
113
+ :type filesystem_snapshot_policy_id: str
114
+
115
+ """
116
+ self.swagger_types = {
117
+ 'file_system_id': 'str',
118
+ 'id': 'str',
119
+ 'lifecycle_state': 'str',
120
+ 'name': 'str',
121
+ 'time_created': 'datetime',
122
+ 'snapshot_type': 'str',
123
+ 'snapshot_time': 'datetime',
124
+ 'provenance_id': 'str',
125
+ 'is_clone_source': 'bool',
126
+ 'lifecycle_details': 'str',
127
+ 'locks': 'list[ResourceLock]',
128
+ 'freeform_tags': 'dict(str, str)',
129
+ 'defined_tags': 'dict(str, dict(str, object))',
130
+ 'expiration_time': 'datetime',
131
+ 'filesystem_snapshot_policy_id': 'str'
132
+ }
133
+
134
+ self.attribute_map = {
135
+ 'file_system_id': 'fileSystemId',
136
+ 'id': 'id',
137
+ 'lifecycle_state': 'lifecycleState',
138
+ 'name': 'name',
139
+ 'time_created': 'timeCreated',
140
+ 'snapshot_type': 'snapshotType',
141
+ 'snapshot_time': 'snapshotTime',
142
+ 'provenance_id': 'provenanceId',
143
+ 'is_clone_source': 'isCloneSource',
144
+ 'lifecycle_details': 'lifecycleDetails',
145
+ 'locks': 'locks',
146
+ 'freeform_tags': 'freeformTags',
147
+ 'defined_tags': 'definedTags',
148
+ 'expiration_time': 'expirationTime',
149
+ 'filesystem_snapshot_policy_id': 'filesystemSnapshotPolicyId'
150
+ }
151
+
152
+ self._file_system_id = None
153
+ self._id = None
154
+ self._lifecycle_state = None
155
+ self._name = None
156
+ self._time_created = None
157
+ self._snapshot_type = None
158
+ self._snapshot_time = None
159
+ self._provenance_id = None
160
+ self._is_clone_source = None
161
+ self._lifecycle_details = None
162
+ self._locks = None
163
+ self._freeform_tags = None
164
+ self._defined_tags = None
165
+ self._expiration_time = None
166
+ self._filesystem_snapshot_policy_id = None
167
+
168
+ @property
169
+ def file_system_id(self):
170
+ """
171
+ **[Required]** Gets the file_system_id of this Snapshot.
172
+ The `OCID`__ of the file system from which the snapshot
173
+ was created.
174
+
175
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
176
+
177
+
178
+ :return: The file_system_id of this Snapshot.
179
+ :rtype: str
180
+ """
181
+ return self._file_system_id
182
+
183
+ @file_system_id.setter
184
+ def file_system_id(self, file_system_id):
185
+ """
186
+ Sets the file_system_id of this Snapshot.
187
+ The `OCID`__ of the file system from which the snapshot
188
+ was created.
189
+
190
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
191
+
192
+
193
+ :param file_system_id: The file_system_id of this Snapshot.
194
+ :type: str
195
+ """
196
+ self._file_system_id = file_system_id
197
+
198
+ @property
199
+ def id(self):
200
+ """
201
+ **[Required]** Gets the id of this Snapshot.
202
+ The `OCID`__ of the snapshot.
203
+
204
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
205
+
206
+
207
+ :return: The id of this Snapshot.
208
+ :rtype: str
209
+ """
210
+ return self._id
211
+
212
+ @id.setter
213
+ def id(self, id):
214
+ """
215
+ Sets the id of this Snapshot.
216
+ The `OCID`__ of the snapshot.
217
+
218
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
219
+
220
+
221
+ :param id: The id of this Snapshot.
222
+ :type: str
223
+ """
224
+ self._id = id
225
+
226
+ @property
227
+ def lifecycle_state(self):
228
+ """
229
+ **[Required]** Gets the lifecycle_state of this Snapshot.
230
+ The current state of the snapshot.
231
+
232
+ Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
233
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
234
+
235
+
236
+ :return: The lifecycle_state of this Snapshot.
237
+ :rtype: str
238
+ """
239
+ return self._lifecycle_state
240
+
241
+ @lifecycle_state.setter
242
+ def lifecycle_state(self, lifecycle_state):
243
+ """
244
+ Sets the lifecycle_state of this Snapshot.
245
+ The current state of the snapshot.
246
+
247
+
248
+ :param lifecycle_state: The lifecycle_state of this Snapshot.
249
+ :type: str
250
+ """
251
+ allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED"]
252
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
253
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
254
+ self._lifecycle_state = lifecycle_state
255
+
256
+ @property
257
+ def name(self):
258
+ """
259
+ **[Required]** Gets the name of this Snapshot.
260
+ Name of the snapshot. This value is immutable.
261
+
262
+ Avoid entering confidential information.
263
+
264
+ Example: `Sunday`
265
+
266
+
267
+ :return: The name of this Snapshot.
268
+ :rtype: str
269
+ """
270
+ return self._name
271
+
272
+ @name.setter
273
+ def name(self, name):
274
+ """
275
+ Sets the name of this Snapshot.
276
+ Name of the snapshot. This value is immutable.
277
+
278
+ Avoid entering confidential information.
279
+
280
+ Example: `Sunday`
281
+
282
+
283
+ :param name: The name of this Snapshot.
284
+ :type: str
285
+ """
286
+ self._name = name
287
+
288
+ @property
289
+ def time_created(self):
290
+ """
291
+ **[Required]** Gets the time_created of this Snapshot.
292
+ The date and time the snapshot was created, expressed
293
+ in `RFC 3339`__ timestamp format.
294
+
295
+ Example: `2016-08-25T21:10:29.600Z`
296
+
297
+ __ https://tools.ietf.org/rfc/rfc3339
298
+
299
+
300
+ :return: The time_created of this Snapshot.
301
+ :rtype: datetime
302
+ """
303
+ return self._time_created
304
+
305
+ @time_created.setter
306
+ def time_created(self, time_created):
307
+ """
308
+ Sets the time_created of this Snapshot.
309
+ The date and time the snapshot was created, expressed
310
+ in `RFC 3339`__ timestamp format.
311
+
312
+ Example: `2016-08-25T21:10:29.600Z`
313
+
314
+ __ https://tools.ietf.org/rfc/rfc3339
315
+
316
+
317
+ :param time_created: The time_created of this Snapshot.
318
+ :type: datetime
319
+ """
320
+ self._time_created = time_created
321
+
322
+ @property
323
+ def snapshot_type(self):
324
+ """
325
+ Gets the snapshot_type of this Snapshot.
326
+ Specifies generation type of the snapshot.
327
+
328
+ Allowed values for this property are: "USER", "POLICY_BASED", "REPLICATION", 'UNKNOWN_ENUM_VALUE'.
329
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
330
+
331
+
332
+ :return: The snapshot_type of this Snapshot.
333
+ :rtype: str
334
+ """
335
+ return self._snapshot_type
336
+
337
+ @snapshot_type.setter
338
+ def snapshot_type(self, snapshot_type):
339
+ """
340
+ Sets the snapshot_type of this Snapshot.
341
+ Specifies generation type of the snapshot.
342
+
343
+
344
+ :param snapshot_type: The snapshot_type of this Snapshot.
345
+ :type: str
346
+ """
347
+ allowed_values = ["USER", "POLICY_BASED", "REPLICATION"]
348
+ if not value_allowed_none_or_none_sentinel(snapshot_type, allowed_values):
349
+ snapshot_type = 'UNKNOWN_ENUM_VALUE'
350
+ self._snapshot_type = snapshot_type
351
+
352
+ @property
353
+ def snapshot_time(self):
354
+ """
355
+ Gets the snapshot_time of this Snapshot.
356
+ The date and time the snapshot was taken, expressed
357
+ in `RFC 3339`__ timestamp format.
358
+ This value might be the same or different from `timeCreated` depending
359
+ on the following factors:
360
+ - If the snapshot is created in the original file system directory.
361
+ - If the snapshot is cloned from a file system.
362
+ - If the snapshot is replicated from a file system.
363
+
364
+ Example: `2020-08-25T21:10:29.600Z`
365
+
366
+ __ https://tools.ietf.org/rfc/rfc3339
367
+
368
+
369
+ :return: The snapshot_time of this Snapshot.
370
+ :rtype: datetime
371
+ """
372
+ return self._snapshot_time
373
+
374
+ @snapshot_time.setter
375
+ def snapshot_time(self, snapshot_time):
376
+ """
377
+ Sets the snapshot_time of this Snapshot.
378
+ The date and time the snapshot was taken, expressed
379
+ in `RFC 3339`__ timestamp format.
380
+ This value might be the same or different from `timeCreated` depending
381
+ on the following factors:
382
+ - If the snapshot is created in the original file system directory.
383
+ - If the snapshot is cloned from a file system.
384
+ - If the snapshot is replicated from a file system.
385
+
386
+ Example: `2020-08-25T21:10:29.600Z`
387
+
388
+ __ https://tools.ietf.org/rfc/rfc3339
389
+
390
+
391
+ :param snapshot_time: The snapshot_time of this Snapshot.
392
+ :type: datetime
393
+ """
394
+ self._snapshot_time = snapshot_time
395
+
396
+ @property
397
+ def provenance_id(self):
398
+ """
399
+ Gets the provenance_id of this Snapshot.
400
+ An `OCID`__ identifying the parent from which this snapshot was cloned.
401
+ If this snapshot was not cloned, then the `provenanceId` is the same as the snapshot `id` value.
402
+ If this snapshot was cloned, then the `provenanceId` value is the parent's `provenanceId`.
403
+ See `Cloning a File System`__.
404
+
405
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
406
+ __ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm
407
+
408
+
409
+ :return: The provenance_id of this Snapshot.
410
+ :rtype: str
411
+ """
412
+ return self._provenance_id
413
+
414
+ @provenance_id.setter
415
+ def provenance_id(self, provenance_id):
416
+ """
417
+ Sets the provenance_id of this Snapshot.
418
+ An `OCID`__ identifying the parent from which this snapshot was cloned.
419
+ If this snapshot was not cloned, then the `provenanceId` is the same as the snapshot `id` value.
420
+ If this snapshot was cloned, then the `provenanceId` value is the parent's `provenanceId`.
421
+ See `Cloning a File System`__.
422
+
423
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
424
+ __ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm
425
+
426
+
427
+ :param provenance_id: The provenance_id of this Snapshot.
428
+ :type: str
429
+ """
430
+ self._provenance_id = provenance_id
431
+
432
+ @property
433
+ def is_clone_source(self):
434
+ """
435
+ Gets the is_clone_source of this Snapshot.
436
+ Specifies whether the snapshot has been cloned.
437
+ See `Cloning a File System`__.
438
+
439
+ __ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm
440
+
441
+
442
+ :return: The is_clone_source of this Snapshot.
443
+ :rtype: bool
444
+ """
445
+ return self._is_clone_source
446
+
447
+ @is_clone_source.setter
448
+ def is_clone_source(self, is_clone_source):
449
+ """
450
+ Sets the is_clone_source of this Snapshot.
451
+ Specifies whether the snapshot has been cloned.
452
+ See `Cloning a File System`__.
453
+
454
+ __ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm
455
+
456
+
457
+ :param is_clone_source: The is_clone_source of this Snapshot.
458
+ :type: bool
459
+ """
460
+ self._is_clone_source = is_clone_source
461
+
462
+ @property
463
+ def lifecycle_details(self):
464
+ """
465
+ Gets the lifecycle_details of this Snapshot.
466
+ Additional information about the current `lifecycleState`.
467
+
468
+
469
+ :return: The lifecycle_details of this Snapshot.
470
+ :rtype: str
471
+ """
472
+ return self._lifecycle_details
473
+
474
+ @lifecycle_details.setter
475
+ def lifecycle_details(self, lifecycle_details):
476
+ """
477
+ Sets the lifecycle_details of this Snapshot.
478
+ Additional information about the current `lifecycleState`.
479
+
480
+
481
+ :param lifecycle_details: The lifecycle_details of this Snapshot.
482
+ :type: str
483
+ """
484
+ self._lifecycle_details = lifecycle_details
485
+
486
+ @property
487
+ def locks(self):
488
+ """
489
+ Gets the locks of this Snapshot.
490
+ Locks associated with this resource.
491
+
492
+
493
+ :return: The locks of this Snapshot.
494
+ :rtype: list[oci.file_storage.models.ResourceLock]
495
+ """
496
+ return self._locks
497
+
498
+ @locks.setter
499
+ def locks(self, locks):
500
+ """
501
+ Sets the locks of this Snapshot.
502
+ Locks associated with this resource.
503
+
504
+
505
+ :param locks: The locks of this Snapshot.
506
+ :type: list[oci.file_storage.models.ResourceLock]
507
+ """
508
+ self._locks = locks
509
+
510
+ @property
511
+ def freeform_tags(self):
512
+ """
513
+ Gets the freeform_tags of this Snapshot.
514
+ Free-form tags for this resource. Each tag is a simple key-value pair
515
+ with no predefined name, type, or namespace.
516
+ For more information, see `Resource Tags`__.
517
+ Example: `{\"Department\": \"Finance\"}`
518
+
519
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
520
+
521
+
522
+ :return: The freeform_tags of this Snapshot.
523
+ :rtype: dict(str, str)
524
+ """
525
+ return self._freeform_tags
526
+
527
+ @freeform_tags.setter
528
+ def freeform_tags(self, freeform_tags):
529
+ """
530
+ Sets the freeform_tags of this Snapshot.
531
+ Free-form tags for this resource. Each tag is a simple key-value pair
532
+ with no predefined name, type, or namespace.
533
+ For more information, see `Resource Tags`__.
534
+ Example: `{\"Department\": \"Finance\"}`
535
+
536
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
537
+
538
+
539
+ :param freeform_tags: The freeform_tags of this Snapshot.
540
+ :type: dict(str, str)
541
+ """
542
+ self._freeform_tags = freeform_tags
543
+
544
+ @property
545
+ def defined_tags(self):
546
+ """
547
+ Gets the defined_tags of this Snapshot.
548
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
549
+ For more information, see `Resource Tags`__.
550
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
551
+
552
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
553
+
554
+
555
+ :return: The defined_tags of this Snapshot.
556
+ :rtype: dict(str, dict(str, object))
557
+ """
558
+ return self._defined_tags
559
+
560
+ @defined_tags.setter
561
+ def defined_tags(self, defined_tags):
562
+ """
563
+ Sets the defined_tags of this Snapshot.
564
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
565
+ For more information, see `Resource Tags`__.
566
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
567
+
568
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
569
+
570
+
571
+ :param defined_tags: The defined_tags of this Snapshot.
572
+ :type: dict(str, dict(str, object))
573
+ """
574
+ self._defined_tags = defined_tags
575
+
576
+ @property
577
+ def expiration_time(self):
578
+ """
579
+ Gets the expiration_time of this Snapshot.
580
+ The time when this snapshot will be deleted.
581
+
582
+
583
+ :return: The expiration_time of this Snapshot.
584
+ :rtype: datetime
585
+ """
586
+ return self._expiration_time
587
+
588
+ @expiration_time.setter
589
+ def expiration_time(self, expiration_time):
590
+ """
591
+ Sets the expiration_time of this Snapshot.
592
+ The time when this snapshot will be deleted.
593
+
594
+
595
+ :param expiration_time: The expiration_time of this Snapshot.
596
+ :type: datetime
597
+ """
598
+ self._expiration_time = expiration_time
599
+
600
+ @property
601
+ def filesystem_snapshot_policy_id(self):
602
+ """
603
+ Gets the filesystem_snapshot_policy_id of this Snapshot.
604
+ The `OCID`__ of the file system snapshot policy that created this snapshot.
605
+
606
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
607
+
608
+
609
+ :return: The filesystem_snapshot_policy_id of this Snapshot.
610
+ :rtype: str
611
+ """
612
+ return self._filesystem_snapshot_policy_id
613
+
614
+ @filesystem_snapshot_policy_id.setter
615
+ def filesystem_snapshot_policy_id(self, filesystem_snapshot_policy_id):
616
+ """
617
+ Sets the filesystem_snapshot_policy_id of this Snapshot.
618
+ The `OCID`__ of the file system snapshot policy that created this snapshot.
619
+
620
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
621
+
622
+
623
+ :param filesystem_snapshot_policy_id: The filesystem_snapshot_policy_id of this Snapshot.
624
+ :type: str
625
+ """
626
+ self._filesystem_snapshot_policy_id = filesystem_snapshot_policy_id
627
+
628
+ def __repr__(self):
629
+ return formatted_flat_dict(self)
630
+
631
+ def __eq__(self, other):
632
+ if other is None:
633
+ return False
634
+
635
+ return self.__dict__ == other.__dict__
636
+
637
+ def __ne__(self, other):
638
+ return not self == other