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.
Files changed (197) hide show
  1. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/METADATA +3 -3
  2. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/RECORD +197 -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/version.py +1 -1
  195. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/LICENSE.txt +0 -0
  196. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/WHEEL +0 -0
  197. {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,473 @@
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 FilesystemSnapshotPolicy(object):
14
+ """
15
+ A file system snapshot policy is used to automate snapshot creation and deletion.
16
+ It contains a list of snapshot schedules that define the frequency of
17
+ snapshot creation for the associated file systems and the retention period of snapshots taken on schedule.
18
+
19
+ For more information, see `Snapshot Scheduling`__.
20
+
21
+ To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see `Getting Started with Policies`__.
22
+
23
+ __ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/snapshot-policies-and-schedules.htm
24
+ __ https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm
25
+ """
26
+
27
+ #: A constant which can be used with the lifecycle_state property of a FilesystemSnapshotPolicy.
28
+ #: This constant has a value of "CREATING"
29
+ LIFECYCLE_STATE_CREATING = "CREATING"
30
+
31
+ #: A constant which can be used with the lifecycle_state property of a FilesystemSnapshotPolicy.
32
+ #: This constant has a value of "ACTIVE"
33
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
34
+
35
+ #: A constant which can be used with the lifecycle_state property of a FilesystemSnapshotPolicy.
36
+ #: This constant has a value of "DELETING"
37
+ LIFECYCLE_STATE_DELETING = "DELETING"
38
+
39
+ #: A constant which can be used with the lifecycle_state property of a FilesystemSnapshotPolicy.
40
+ #: This constant has a value of "DELETED"
41
+ LIFECYCLE_STATE_DELETED = "DELETED"
42
+
43
+ #: A constant which can be used with the lifecycle_state property of a FilesystemSnapshotPolicy.
44
+ #: This constant has a value of "INACTIVE"
45
+ LIFECYCLE_STATE_INACTIVE = "INACTIVE"
46
+
47
+ #: A constant which can be used with the lifecycle_state property of a FilesystemSnapshotPolicy.
48
+ #: This constant has a value of "FAILED"
49
+ LIFECYCLE_STATE_FAILED = "FAILED"
50
+
51
+ def __init__(self, **kwargs):
52
+ """
53
+ Initializes a new FilesystemSnapshotPolicy object with values from keyword arguments.
54
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
55
+
56
+ :param compartment_id:
57
+ The value to assign to the compartment_id property of this FilesystemSnapshotPolicy.
58
+ :type compartment_id: str
59
+
60
+ :param availability_domain:
61
+ The value to assign to the availability_domain property of this FilesystemSnapshotPolicy.
62
+ :type availability_domain: str
63
+
64
+ :param id:
65
+ The value to assign to the id property of this FilesystemSnapshotPolicy.
66
+ :type id: str
67
+
68
+ :param lifecycle_state:
69
+ The value to assign to the lifecycle_state property of this FilesystemSnapshotPolicy.
70
+ Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "INACTIVE", "FAILED", 'UNKNOWN_ENUM_VALUE'.
71
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
72
+ :type lifecycle_state: str
73
+
74
+ :param time_created:
75
+ The value to assign to the time_created property of this FilesystemSnapshotPolicy.
76
+ :type time_created: datetime
77
+
78
+ :param display_name:
79
+ The value to assign to the display_name property of this FilesystemSnapshotPolicy.
80
+ :type display_name: str
81
+
82
+ :param policy_prefix:
83
+ The value to assign to the policy_prefix property of this FilesystemSnapshotPolicy.
84
+ :type policy_prefix: str
85
+
86
+ :param schedules:
87
+ The value to assign to the schedules property of this FilesystemSnapshotPolicy.
88
+ :type schedules: list[oci.file_storage.models.SnapshotSchedule]
89
+
90
+ :param locks:
91
+ The value to assign to the locks property of this FilesystemSnapshotPolicy.
92
+ :type locks: list[oci.file_storage.models.ResourceLock]
93
+
94
+ :param freeform_tags:
95
+ The value to assign to the freeform_tags property of this FilesystemSnapshotPolicy.
96
+ :type freeform_tags: dict(str, str)
97
+
98
+ :param defined_tags:
99
+ The value to assign to the defined_tags property of this FilesystemSnapshotPolicy.
100
+ :type defined_tags: dict(str, dict(str, object))
101
+
102
+ """
103
+ self.swagger_types = {
104
+ 'compartment_id': 'str',
105
+ 'availability_domain': 'str',
106
+ 'id': 'str',
107
+ 'lifecycle_state': 'str',
108
+ 'time_created': 'datetime',
109
+ 'display_name': 'str',
110
+ 'policy_prefix': 'str',
111
+ 'schedules': 'list[SnapshotSchedule]',
112
+ 'locks': 'list[ResourceLock]',
113
+ 'freeform_tags': 'dict(str, str)',
114
+ 'defined_tags': 'dict(str, dict(str, object))'
115
+ }
116
+
117
+ self.attribute_map = {
118
+ 'compartment_id': 'compartmentId',
119
+ 'availability_domain': 'availabilityDomain',
120
+ 'id': 'id',
121
+ 'lifecycle_state': 'lifecycleState',
122
+ 'time_created': 'timeCreated',
123
+ 'display_name': 'displayName',
124
+ 'policy_prefix': 'policyPrefix',
125
+ 'schedules': 'schedules',
126
+ 'locks': 'locks',
127
+ 'freeform_tags': 'freeformTags',
128
+ 'defined_tags': 'definedTags'
129
+ }
130
+
131
+ self._compartment_id = None
132
+ self._availability_domain = None
133
+ self._id = None
134
+ self._lifecycle_state = None
135
+ self._time_created = None
136
+ self._display_name = None
137
+ self._policy_prefix = None
138
+ self._schedules = None
139
+ self._locks = None
140
+ self._freeform_tags = None
141
+ self._defined_tags = None
142
+
143
+ @property
144
+ def compartment_id(self):
145
+ """
146
+ **[Required]** Gets the compartment_id of this FilesystemSnapshotPolicy.
147
+ The `OCID`__ of the compartment that contains the file system snapshot policy.
148
+
149
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
150
+
151
+
152
+ :return: The compartment_id of this FilesystemSnapshotPolicy.
153
+ :rtype: str
154
+ """
155
+ return self._compartment_id
156
+
157
+ @compartment_id.setter
158
+ def compartment_id(self, compartment_id):
159
+ """
160
+ Sets the compartment_id of this FilesystemSnapshotPolicy.
161
+ The `OCID`__ of the compartment that contains the file system snapshot policy.
162
+
163
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
164
+
165
+
166
+ :param compartment_id: The compartment_id of this FilesystemSnapshotPolicy.
167
+ :type: str
168
+ """
169
+ self._compartment_id = compartment_id
170
+
171
+ @property
172
+ def availability_domain(self):
173
+ """
174
+ **[Required]** Gets the availability_domain of this FilesystemSnapshotPolicy.
175
+ The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value.
176
+
177
+ Example: `Uocm:PHX-AD-2`
178
+
179
+
180
+ :return: The availability_domain of this FilesystemSnapshotPolicy.
181
+ :rtype: str
182
+ """
183
+ return self._availability_domain
184
+
185
+ @availability_domain.setter
186
+ def availability_domain(self, availability_domain):
187
+ """
188
+ Sets the availability_domain of this FilesystemSnapshotPolicy.
189
+ The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value.
190
+
191
+ Example: `Uocm:PHX-AD-2`
192
+
193
+
194
+ :param availability_domain: The availability_domain of this FilesystemSnapshotPolicy.
195
+ :type: str
196
+ """
197
+ self._availability_domain = availability_domain
198
+
199
+ @property
200
+ def id(self):
201
+ """
202
+ **[Required]** Gets the id of this FilesystemSnapshotPolicy.
203
+ The `OCID`__ of the file system snapshot policy.
204
+
205
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
206
+
207
+
208
+ :return: The id of this FilesystemSnapshotPolicy.
209
+ :rtype: str
210
+ """
211
+ return self._id
212
+
213
+ @id.setter
214
+ def id(self, id):
215
+ """
216
+ Sets the id of this FilesystemSnapshotPolicy.
217
+ The `OCID`__ of the file system snapshot policy.
218
+
219
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
220
+
221
+
222
+ :param id: The id of this FilesystemSnapshotPolicy.
223
+ :type: str
224
+ """
225
+ self._id = id
226
+
227
+ @property
228
+ def lifecycle_state(self):
229
+ """
230
+ **[Required]** Gets the lifecycle_state of this FilesystemSnapshotPolicy.
231
+ The current state of the file system snapshot policy.
232
+
233
+ Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "INACTIVE", "FAILED", 'UNKNOWN_ENUM_VALUE'.
234
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
235
+
236
+
237
+ :return: The lifecycle_state of this FilesystemSnapshotPolicy.
238
+ :rtype: str
239
+ """
240
+ return self._lifecycle_state
241
+
242
+ @lifecycle_state.setter
243
+ def lifecycle_state(self, lifecycle_state):
244
+ """
245
+ Sets the lifecycle_state of this FilesystemSnapshotPolicy.
246
+ The current state of the file system snapshot policy.
247
+
248
+
249
+ :param lifecycle_state: The lifecycle_state of this FilesystemSnapshotPolicy.
250
+ :type: str
251
+ """
252
+ allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED", "INACTIVE", "FAILED"]
253
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
254
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
255
+ self._lifecycle_state = lifecycle_state
256
+
257
+ @property
258
+ def time_created(self):
259
+ """
260
+ **[Required]** Gets the time_created of this FilesystemSnapshotPolicy.
261
+ The date and time the file system snapshot policy was created, expressed
262
+ in `RFC 3339`__ timestamp format.
263
+
264
+ Example: `2016-08-25T21:10:29.600Z`
265
+
266
+ __ https://tools.ietf.org/rfc/rfc3339
267
+
268
+
269
+ :return: The time_created of this FilesystemSnapshotPolicy.
270
+ :rtype: datetime
271
+ """
272
+ return self._time_created
273
+
274
+ @time_created.setter
275
+ def time_created(self, time_created):
276
+ """
277
+ Sets the time_created of this FilesystemSnapshotPolicy.
278
+ The date and time the file system snapshot policy was created, expressed
279
+ in `RFC 3339`__ timestamp format.
280
+
281
+ Example: `2016-08-25T21:10:29.600Z`
282
+
283
+ __ https://tools.ietf.org/rfc/rfc3339
284
+
285
+
286
+ :param time_created: The time_created of this FilesystemSnapshotPolicy.
287
+ :type: datetime
288
+ """
289
+ self._time_created = time_created
290
+
291
+ @property
292
+ def display_name(self):
293
+ """
294
+ Gets the display_name of this FilesystemSnapshotPolicy.
295
+ A user-friendly name. It does not have to be unique, and it is changeable.
296
+ Avoid entering confidential information.
297
+
298
+ Example: `policy1`
299
+
300
+
301
+ :return: The display_name of this FilesystemSnapshotPolicy.
302
+ :rtype: str
303
+ """
304
+ return self._display_name
305
+
306
+ @display_name.setter
307
+ def display_name(self, display_name):
308
+ """
309
+ Sets the display_name of this FilesystemSnapshotPolicy.
310
+ A user-friendly name. It does not have to be unique, and it is changeable.
311
+ Avoid entering confidential information.
312
+
313
+ Example: `policy1`
314
+
315
+
316
+ :param display_name: The display_name of this FilesystemSnapshotPolicy.
317
+ :type: str
318
+ """
319
+ self._display_name = display_name
320
+
321
+ @property
322
+ def policy_prefix(self):
323
+ """
324
+ Gets the policy_prefix of this FilesystemSnapshotPolicy.
325
+ The prefix to apply to all snapshots created by this policy.
326
+
327
+ Example: `acme`
328
+
329
+
330
+ :return: The policy_prefix of this FilesystemSnapshotPolicy.
331
+ :rtype: str
332
+ """
333
+ return self._policy_prefix
334
+
335
+ @policy_prefix.setter
336
+ def policy_prefix(self, policy_prefix):
337
+ """
338
+ Sets the policy_prefix of this FilesystemSnapshotPolicy.
339
+ The prefix to apply to all snapshots created by this policy.
340
+
341
+ Example: `acme`
342
+
343
+
344
+ :param policy_prefix: The policy_prefix of this FilesystemSnapshotPolicy.
345
+ :type: str
346
+ """
347
+ self._policy_prefix = policy_prefix
348
+
349
+ @property
350
+ def schedules(self):
351
+ """
352
+ Gets the schedules of this FilesystemSnapshotPolicy.
353
+ The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
354
+
355
+
356
+ :return: The schedules of this FilesystemSnapshotPolicy.
357
+ :rtype: list[oci.file_storage.models.SnapshotSchedule]
358
+ """
359
+ return self._schedules
360
+
361
+ @schedules.setter
362
+ def schedules(self, schedules):
363
+ """
364
+ Sets the schedules of this FilesystemSnapshotPolicy.
365
+ The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
366
+
367
+
368
+ :param schedules: The schedules of this FilesystemSnapshotPolicy.
369
+ :type: list[oci.file_storage.models.SnapshotSchedule]
370
+ """
371
+ self._schedules = schedules
372
+
373
+ @property
374
+ def locks(self):
375
+ """
376
+ Gets the locks of this FilesystemSnapshotPolicy.
377
+ Locks associated with this resource.
378
+
379
+
380
+ :return: The locks of this FilesystemSnapshotPolicy.
381
+ :rtype: list[oci.file_storage.models.ResourceLock]
382
+ """
383
+ return self._locks
384
+
385
+ @locks.setter
386
+ def locks(self, locks):
387
+ """
388
+ Sets the locks of this FilesystemSnapshotPolicy.
389
+ Locks associated with this resource.
390
+
391
+
392
+ :param locks: The locks of this FilesystemSnapshotPolicy.
393
+ :type: list[oci.file_storage.models.ResourceLock]
394
+ """
395
+ self._locks = locks
396
+
397
+ @property
398
+ def freeform_tags(self):
399
+ """
400
+ Gets the freeform_tags of this FilesystemSnapshotPolicy.
401
+ Free-form tags for this resource. Each tag is a simple key-value pair
402
+ with no predefined name, type, or namespace.
403
+ For more information, see `Resource Tags`__.
404
+ Example: `{\"Department\": \"Finance\"}`
405
+
406
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
407
+
408
+
409
+ :return: The freeform_tags of this FilesystemSnapshotPolicy.
410
+ :rtype: dict(str, str)
411
+ """
412
+ return self._freeform_tags
413
+
414
+ @freeform_tags.setter
415
+ def freeform_tags(self, freeform_tags):
416
+ """
417
+ Sets the freeform_tags of this FilesystemSnapshotPolicy.
418
+ Free-form tags for this resource. Each tag is a simple key-value pair
419
+ with no predefined name, type, or namespace.
420
+ For more information, see `Resource Tags`__.
421
+ Example: `{\"Department\": \"Finance\"}`
422
+
423
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
424
+
425
+
426
+ :param freeform_tags: The freeform_tags of this FilesystemSnapshotPolicy.
427
+ :type: dict(str, str)
428
+ """
429
+ self._freeform_tags = freeform_tags
430
+
431
+ @property
432
+ def defined_tags(self):
433
+ """
434
+ Gets the defined_tags of this FilesystemSnapshotPolicy.
435
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
436
+ For more information, see `Resource Tags`__.
437
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
438
+
439
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
440
+
441
+
442
+ :return: The defined_tags of this FilesystemSnapshotPolicy.
443
+ :rtype: dict(str, dict(str, object))
444
+ """
445
+ return self._defined_tags
446
+
447
+ @defined_tags.setter
448
+ def defined_tags(self, defined_tags):
449
+ """
450
+ Sets the defined_tags of this FilesystemSnapshotPolicy.
451
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
452
+ For more information, see `Resource Tags`__.
453
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
454
+
455
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
456
+
457
+
458
+ :param defined_tags: The defined_tags of this FilesystemSnapshotPolicy.
459
+ :type: dict(str, dict(str, object))
460
+ """
461
+ self._defined_tags = defined_tags
462
+
463
+ def __repr__(self):
464
+ return formatted_flat_dict(self)
465
+
466
+ def __eq__(self, other):
467
+ if other is None:
468
+ return False
469
+
470
+ return self.__dict__ == other.__dict__
471
+
472
+ def __ne__(self, other):
473
+ return not self == other