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,389 @@
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 ClientOptions(object):
14
+ """
15
+ NFS export options applied to a specified set of
16
+ clients. Only governs access through the associated
17
+ export. Access to the same file system through a different
18
+ export (on the same or different mount target) will be governed
19
+ by that export's export options.
20
+ """
21
+
22
+ #: A constant which can be used with the access property of a ClientOptions.
23
+ #: This constant has a value of "READ_WRITE"
24
+ ACCESS_READ_WRITE = "READ_WRITE"
25
+
26
+ #: A constant which can be used with the access property of a ClientOptions.
27
+ #: This constant has a value of "READ_ONLY"
28
+ ACCESS_READ_ONLY = "READ_ONLY"
29
+
30
+ #: A constant which can be used with the identity_squash property of a ClientOptions.
31
+ #: This constant has a value of "NONE"
32
+ IDENTITY_SQUASH_NONE = "NONE"
33
+
34
+ #: A constant which can be used with the identity_squash property of a ClientOptions.
35
+ #: This constant has a value of "ROOT"
36
+ IDENTITY_SQUASH_ROOT = "ROOT"
37
+
38
+ #: A constant which can be used with the identity_squash property of a ClientOptions.
39
+ #: This constant has a value of "ALL"
40
+ IDENTITY_SQUASH_ALL = "ALL"
41
+
42
+ #: A constant which can be used with the allowed_auth property of a ClientOptions.
43
+ #: This constant has a value of "SYS"
44
+ ALLOWED_AUTH_SYS = "SYS"
45
+
46
+ #: A constant which can be used with the allowed_auth property of a ClientOptions.
47
+ #: This constant has a value of "KRB5"
48
+ ALLOWED_AUTH_KRB5 = "KRB5"
49
+
50
+ #: A constant which can be used with the allowed_auth property of a ClientOptions.
51
+ #: This constant has a value of "KRB5I"
52
+ ALLOWED_AUTH_KRB5_I = "KRB5I"
53
+
54
+ #: A constant which can be used with the allowed_auth property of a ClientOptions.
55
+ #: This constant has a value of "KRB5P"
56
+ ALLOWED_AUTH_KRB5_P = "KRB5P"
57
+
58
+ def __init__(self, **kwargs):
59
+ """
60
+ Initializes a new ClientOptions object with values from keyword arguments.
61
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
62
+
63
+ :param source:
64
+ The value to assign to the source property of this ClientOptions.
65
+ :type source: str
66
+
67
+ :param require_privileged_source_port:
68
+ The value to assign to the require_privileged_source_port property of this ClientOptions.
69
+ :type require_privileged_source_port: bool
70
+
71
+ :param access:
72
+ The value to assign to the access property of this ClientOptions.
73
+ Allowed values for this property are: "READ_WRITE", "READ_ONLY", 'UNKNOWN_ENUM_VALUE'.
74
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
75
+ :type access: str
76
+
77
+ :param identity_squash:
78
+ The value to assign to the identity_squash property of this ClientOptions.
79
+ Allowed values for this property are: "NONE", "ROOT", "ALL", 'UNKNOWN_ENUM_VALUE'.
80
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
81
+ :type identity_squash: str
82
+
83
+ :param anonymous_uid:
84
+ The value to assign to the anonymous_uid property of this ClientOptions.
85
+ :type anonymous_uid: int
86
+
87
+ :param anonymous_gid:
88
+ The value to assign to the anonymous_gid property of this ClientOptions.
89
+ :type anonymous_gid: int
90
+
91
+ :param is_anonymous_access_allowed:
92
+ The value to assign to the is_anonymous_access_allowed property of this ClientOptions.
93
+ :type is_anonymous_access_allowed: bool
94
+
95
+ :param allowed_auth:
96
+ The value to assign to the allowed_auth property of this ClientOptions.
97
+ Allowed values for items in this list are: "SYS", "KRB5", "KRB5I", "KRB5P", 'UNKNOWN_ENUM_VALUE'.
98
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
99
+ :type allowed_auth: list[str]
100
+
101
+ """
102
+ self.swagger_types = {
103
+ 'source': 'str',
104
+ 'require_privileged_source_port': 'bool',
105
+ 'access': 'str',
106
+ 'identity_squash': 'str',
107
+ 'anonymous_uid': 'int',
108
+ 'anonymous_gid': 'int',
109
+ 'is_anonymous_access_allowed': 'bool',
110
+ 'allowed_auth': 'list[str]'
111
+ }
112
+
113
+ self.attribute_map = {
114
+ 'source': 'source',
115
+ 'require_privileged_source_port': 'requirePrivilegedSourcePort',
116
+ 'access': 'access',
117
+ 'identity_squash': 'identitySquash',
118
+ 'anonymous_uid': 'anonymousUid',
119
+ 'anonymous_gid': 'anonymousGid',
120
+ 'is_anonymous_access_allowed': 'isAnonymousAccessAllowed',
121
+ 'allowed_auth': 'allowedAuth'
122
+ }
123
+
124
+ self._source = None
125
+ self._require_privileged_source_port = None
126
+ self._access = None
127
+ self._identity_squash = None
128
+ self._anonymous_uid = None
129
+ self._anonymous_gid = None
130
+ self._is_anonymous_access_allowed = None
131
+ self._allowed_auth = None
132
+
133
+ @property
134
+ def source(self):
135
+ """
136
+ **[Required]** Gets the source of this ClientOptions.
137
+ Clients these options should apply to. Must be a either
138
+ single IPv4 address or single IPv4 CIDR block.
139
+
140
+ **Note:** Access will also be limited by any applicable VCN
141
+ security rules and the ability to route IP packets to the
142
+ mount target. Mount targets do not have Internet-routable IP addresses.
143
+
144
+
145
+ :return: The source of this ClientOptions.
146
+ :rtype: str
147
+ """
148
+ return self._source
149
+
150
+ @source.setter
151
+ def source(self, source):
152
+ """
153
+ Sets the source of this ClientOptions.
154
+ Clients these options should apply to. Must be a either
155
+ single IPv4 address or single IPv4 CIDR block.
156
+
157
+ **Note:** Access will also be limited by any applicable VCN
158
+ security rules and the ability to route IP packets to the
159
+ mount target. Mount targets do not have Internet-routable IP addresses.
160
+
161
+
162
+ :param source: The source of this ClientOptions.
163
+ :type: str
164
+ """
165
+ self._source = source
166
+
167
+ @property
168
+ def require_privileged_source_port(self):
169
+ """
170
+ Gets the require_privileged_source_port of this ClientOptions.
171
+ If `true`, clients accessing the file system through this
172
+ export must connect from a privileged source port. If
173
+ unspecified, defaults to `true`.
174
+
175
+
176
+ :return: The require_privileged_source_port of this ClientOptions.
177
+ :rtype: bool
178
+ """
179
+ return self._require_privileged_source_port
180
+
181
+ @require_privileged_source_port.setter
182
+ def require_privileged_source_port(self, require_privileged_source_port):
183
+ """
184
+ Sets the require_privileged_source_port of this ClientOptions.
185
+ If `true`, clients accessing the file system through this
186
+ export must connect from a privileged source port. If
187
+ unspecified, defaults to `true`.
188
+
189
+
190
+ :param require_privileged_source_port: The require_privileged_source_port of this ClientOptions.
191
+ :type: bool
192
+ """
193
+ self._require_privileged_source_port = require_privileged_source_port
194
+
195
+ @property
196
+ def access(self):
197
+ """
198
+ Gets the access of this ClientOptions.
199
+ Type of access to grant clients using the file system
200
+ through this export. If unspecified defaults to `READ_WRITE`.
201
+
202
+ Allowed values for this property are: "READ_WRITE", "READ_ONLY", 'UNKNOWN_ENUM_VALUE'.
203
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
204
+
205
+
206
+ :return: The access of this ClientOptions.
207
+ :rtype: str
208
+ """
209
+ return self._access
210
+
211
+ @access.setter
212
+ def access(self, access):
213
+ """
214
+ Sets the access of this ClientOptions.
215
+ Type of access to grant clients using the file system
216
+ through this export. If unspecified defaults to `READ_WRITE`.
217
+
218
+
219
+ :param access: The access of this ClientOptions.
220
+ :type: str
221
+ """
222
+ allowed_values = ["READ_WRITE", "READ_ONLY"]
223
+ if not value_allowed_none_or_none_sentinel(access, allowed_values):
224
+ access = 'UNKNOWN_ENUM_VALUE'
225
+ self._access = access
226
+
227
+ @property
228
+ def identity_squash(self):
229
+ """
230
+ Gets the identity_squash of this ClientOptions.
231
+ Used when clients accessing the file system through this export
232
+ have their UID and GID remapped to 'anonymousUid' and
233
+ 'anonymousGid'. If `ALL`, all users and groups are remapped;
234
+ if `ROOT`, only the root user and group (UID/GID 0) are
235
+ remapped; if `NONE`, no remapping is done. If unspecified,
236
+ defaults to `ROOT`.
237
+
238
+ Allowed values for this property are: "NONE", "ROOT", "ALL", 'UNKNOWN_ENUM_VALUE'.
239
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
240
+
241
+
242
+ :return: The identity_squash of this ClientOptions.
243
+ :rtype: str
244
+ """
245
+ return self._identity_squash
246
+
247
+ @identity_squash.setter
248
+ def identity_squash(self, identity_squash):
249
+ """
250
+ Sets the identity_squash of this ClientOptions.
251
+ Used when clients accessing the file system through this export
252
+ have their UID and GID remapped to 'anonymousUid' and
253
+ 'anonymousGid'. If `ALL`, all users and groups are remapped;
254
+ if `ROOT`, only the root user and group (UID/GID 0) are
255
+ remapped; if `NONE`, no remapping is done. If unspecified,
256
+ defaults to `ROOT`.
257
+
258
+
259
+ :param identity_squash: The identity_squash of this ClientOptions.
260
+ :type: str
261
+ """
262
+ allowed_values = ["NONE", "ROOT", "ALL"]
263
+ if not value_allowed_none_or_none_sentinel(identity_squash, allowed_values):
264
+ identity_squash = 'UNKNOWN_ENUM_VALUE'
265
+ self._identity_squash = identity_squash
266
+
267
+ @property
268
+ def anonymous_uid(self):
269
+ """
270
+ Gets the anonymous_uid of this ClientOptions.
271
+ UID value to remap to when squashing a client UID (see
272
+ identitySquash for more details.) If unspecified, defaults
273
+ to `65534`.
274
+
275
+
276
+ :return: The anonymous_uid of this ClientOptions.
277
+ :rtype: int
278
+ """
279
+ return self._anonymous_uid
280
+
281
+ @anonymous_uid.setter
282
+ def anonymous_uid(self, anonymous_uid):
283
+ """
284
+ Sets the anonymous_uid of this ClientOptions.
285
+ UID value to remap to when squashing a client UID (see
286
+ identitySquash for more details.) If unspecified, defaults
287
+ to `65534`.
288
+
289
+
290
+ :param anonymous_uid: The anonymous_uid of this ClientOptions.
291
+ :type: int
292
+ """
293
+ self._anonymous_uid = anonymous_uid
294
+
295
+ @property
296
+ def anonymous_gid(self):
297
+ """
298
+ Gets the anonymous_gid of this ClientOptions.
299
+ GID value to remap to when squashing a client GID (see
300
+ identitySquash for more details.) If unspecified defaults
301
+ to `65534`.
302
+
303
+
304
+ :return: The anonymous_gid of this ClientOptions.
305
+ :rtype: int
306
+ """
307
+ return self._anonymous_gid
308
+
309
+ @anonymous_gid.setter
310
+ def anonymous_gid(self, anonymous_gid):
311
+ """
312
+ Sets the anonymous_gid of this ClientOptions.
313
+ GID value to remap to when squashing a client GID (see
314
+ identitySquash for more details.) If unspecified defaults
315
+ to `65534`.
316
+
317
+
318
+ :param anonymous_gid: The anonymous_gid of this ClientOptions.
319
+ :type: int
320
+ """
321
+ self._anonymous_gid = anonymous_gid
322
+
323
+ @property
324
+ def is_anonymous_access_allowed(self):
325
+ """
326
+ Gets the is_anonymous_access_allowed of this ClientOptions.
327
+ Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping.
328
+ If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID.
329
+
330
+
331
+ :return: The is_anonymous_access_allowed of this ClientOptions.
332
+ :rtype: bool
333
+ """
334
+ return self._is_anonymous_access_allowed
335
+
336
+ @is_anonymous_access_allowed.setter
337
+ def is_anonymous_access_allowed(self, is_anonymous_access_allowed):
338
+ """
339
+ Sets the is_anonymous_access_allowed of this ClientOptions.
340
+ Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping.
341
+ If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID.
342
+
343
+
344
+ :param is_anonymous_access_allowed: The is_anonymous_access_allowed of this ClientOptions.
345
+ :type: bool
346
+ """
347
+ self._is_anonymous_access_allowed = is_anonymous_access_allowed
348
+
349
+ @property
350
+ def allowed_auth(self):
351
+ """
352
+ Gets the allowed_auth of this ClientOptions.
353
+ Array of allowed NFS authentication types.
354
+
355
+ Allowed values for items in this list are: "SYS", "KRB5", "KRB5I", "KRB5P", 'UNKNOWN_ENUM_VALUE'.
356
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
357
+
358
+
359
+ :return: The allowed_auth of this ClientOptions.
360
+ :rtype: list[str]
361
+ """
362
+ return self._allowed_auth
363
+
364
+ @allowed_auth.setter
365
+ def allowed_auth(self, allowed_auth):
366
+ """
367
+ Sets the allowed_auth of this ClientOptions.
368
+ Array of allowed NFS authentication types.
369
+
370
+
371
+ :param allowed_auth: The allowed_auth of this ClientOptions.
372
+ :type: list[str]
373
+ """
374
+ allowed_values = ["SYS", "KRB5", "KRB5I", "KRB5P"]
375
+ if allowed_auth:
376
+ allowed_auth[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in allowed_auth]
377
+ self._allowed_auth = allowed_auth
378
+
379
+ def __repr__(self):
380
+ return formatted_flat_dict(self)
381
+
382
+ def __eq__(self, other):
383
+ if other is None:
384
+ return False
385
+
386
+ return self.__dict__ == other.__dict__
387
+
388
+ def __ne__(self, other):
389
+ return not self == other
@@ -0,0 +1,303 @@
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 CreateExportDetails(object):
14
+ """
15
+ Details for creating the export.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new CreateExportDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param export_options:
24
+ The value to assign to the export_options property of this CreateExportDetails.
25
+ :type export_options: list[oci.file_storage.models.ClientOptions]
26
+
27
+ :param export_set_id:
28
+ The value to assign to the export_set_id property of this CreateExportDetails.
29
+ :type export_set_id: str
30
+
31
+ :param file_system_id:
32
+ The value to assign to the file_system_id property of this CreateExportDetails.
33
+ :type file_system_id: str
34
+
35
+ :param path:
36
+ The value to assign to the path property of this CreateExportDetails.
37
+ :type path: str
38
+
39
+ :param locks:
40
+ The value to assign to the locks property of this CreateExportDetails.
41
+ :type locks: list[oci.file_storage.models.ResourceLock]
42
+
43
+ :param is_idmap_groups_for_sys_auth:
44
+ The value to assign to the is_idmap_groups_for_sys_auth property of this CreateExportDetails.
45
+ :type is_idmap_groups_for_sys_auth: bool
46
+
47
+ """
48
+ self.swagger_types = {
49
+ 'export_options': 'list[ClientOptions]',
50
+ 'export_set_id': 'str',
51
+ 'file_system_id': 'str',
52
+ 'path': 'str',
53
+ 'locks': 'list[ResourceLock]',
54
+ 'is_idmap_groups_for_sys_auth': 'bool'
55
+ }
56
+
57
+ self.attribute_map = {
58
+ 'export_options': 'exportOptions',
59
+ 'export_set_id': 'exportSetId',
60
+ 'file_system_id': 'fileSystemId',
61
+ 'path': 'path',
62
+ 'locks': 'locks',
63
+ 'is_idmap_groups_for_sys_auth': 'isIdmapGroupsForSysAuth'
64
+ }
65
+
66
+ self._export_options = None
67
+ self._export_set_id = None
68
+ self._file_system_id = None
69
+ self._path = None
70
+ self._locks = None
71
+ self._is_idmap_groups_for_sys_auth = None
72
+
73
+ @property
74
+ def export_options(self):
75
+ """
76
+ Gets the export_options of this CreateExportDetails.
77
+ Export options for the new export. For exports of mount targets with
78
+ IPv4 address, if client options are left unspecified, client options
79
+ would default to:
80
+
81
+ [
82
+ {
83
+ \"source\" : \"0.0.0.0/0\",
84
+ \"requirePrivilegedSourcePort\" : false,
85
+ \"access\": \"READ_WRITE\",
86
+ \"identitySquash\": \"NONE\",
87
+ \"anonymousUid\": 65534,
88
+ \"anonymousGid\": 65534,
89
+ \"isAnonymousAccessAllowed\": false,
90
+ \"allowedAuth\": [\"SYS\"]
91
+ }
92
+ ]
93
+
94
+ For exports of mount targets with IPv6 address, if client options are
95
+ left unspecified, client options would be an empty array, i.e. export
96
+ would not be visible to any clients.
97
+
98
+ **Note:** Mount targets do not have Internet-routable IP
99
+ addresses. Therefore they will not be reachable from the
100
+ Internet, even if an associated `ClientOptions` item has
101
+ a source of `0.0.0.0/0`.
102
+
103
+ **If set to the empty array then the export will not be
104
+ visible to any clients.**
105
+
106
+ The export's `exportOptions` can be changed after creation
107
+ using the `UpdateExport` operation.
108
+
109
+
110
+ :return: The export_options of this CreateExportDetails.
111
+ :rtype: list[oci.file_storage.models.ClientOptions]
112
+ """
113
+ return self._export_options
114
+
115
+ @export_options.setter
116
+ def export_options(self, export_options):
117
+ """
118
+ Sets the export_options of this CreateExportDetails.
119
+ Export options for the new export. For exports of mount targets with
120
+ IPv4 address, if client options are left unspecified, client options
121
+ would default to:
122
+
123
+ [
124
+ {
125
+ \"source\" : \"0.0.0.0/0\",
126
+ \"requirePrivilegedSourcePort\" : false,
127
+ \"access\": \"READ_WRITE\",
128
+ \"identitySquash\": \"NONE\",
129
+ \"anonymousUid\": 65534,
130
+ \"anonymousGid\": 65534,
131
+ \"isAnonymousAccessAllowed\": false,
132
+ \"allowedAuth\": [\"SYS\"]
133
+ }
134
+ ]
135
+
136
+ For exports of mount targets with IPv6 address, if client options are
137
+ left unspecified, client options would be an empty array, i.e. export
138
+ would not be visible to any clients.
139
+
140
+ **Note:** Mount targets do not have Internet-routable IP
141
+ addresses. Therefore they will not be reachable from the
142
+ Internet, even if an associated `ClientOptions` item has
143
+ a source of `0.0.0.0/0`.
144
+
145
+ **If set to the empty array then the export will not be
146
+ visible to any clients.**
147
+
148
+ The export's `exportOptions` can be changed after creation
149
+ using the `UpdateExport` operation.
150
+
151
+
152
+ :param export_options: The export_options of this CreateExportDetails.
153
+ :type: list[oci.file_storage.models.ClientOptions]
154
+ """
155
+ self._export_options = export_options
156
+
157
+ @property
158
+ def export_set_id(self):
159
+ """
160
+ **[Required]** Gets the export_set_id of this CreateExportDetails.
161
+ The `OCID`__ of this export's export set.
162
+
163
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
164
+
165
+
166
+ :return: The export_set_id of this CreateExportDetails.
167
+ :rtype: str
168
+ """
169
+ return self._export_set_id
170
+
171
+ @export_set_id.setter
172
+ def export_set_id(self, export_set_id):
173
+ """
174
+ Sets the export_set_id of this CreateExportDetails.
175
+ The `OCID`__ of this export's export set.
176
+
177
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
178
+
179
+
180
+ :param export_set_id: The export_set_id of this CreateExportDetails.
181
+ :type: str
182
+ """
183
+ self._export_set_id = export_set_id
184
+
185
+ @property
186
+ def file_system_id(self):
187
+ """
188
+ **[Required]** Gets the file_system_id of this CreateExportDetails.
189
+ The `OCID`__ of this export's file system.
190
+
191
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
192
+
193
+
194
+ :return: The file_system_id of this CreateExportDetails.
195
+ :rtype: str
196
+ """
197
+ return self._file_system_id
198
+
199
+ @file_system_id.setter
200
+ def file_system_id(self, file_system_id):
201
+ """
202
+ Sets the file_system_id of this CreateExportDetails.
203
+ The `OCID`__ of this export's file system.
204
+
205
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
206
+
207
+
208
+ :param file_system_id: The file_system_id of this CreateExportDetails.
209
+ :type: str
210
+ """
211
+ self._file_system_id = file_system_id
212
+
213
+ @property
214
+ def path(self):
215
+ """
216
+ **[Required]** Gets the path of this CreateExportDetails.
217
+ Path used to access the associated file system.
218
+
219
+ Avoid entering confidential information.
220
+
221
+ Example: `/mediafiles`
222
+
223
+
224
+ :return: The path of this CreateExportDetails.
225
+ :rtype: str
226
+ """
227
+ return self._path
228
+
229
+ @path.setter
230
+ def path(self, path):
231
+ """
232
+ Sets the path of this CreateExportDetails.
233
+ Path used to access the associated file system.
234
+
235
+ Avoid entering confidential information.
236
+
237
+ Example: `/mediafiles`
238
+
239
+
240
+ :param path: The path of this CreateExportDetails.
241
+ :type: str
242
+ """
243
+ self._path = path
244
+
245
+ @property
246
+ def locks(self):
247
+ """
248
+ Gets the locks of this CreateExportDetails.
249
+ Locks associated with this resource.
250
+
251
+
252
+ :return: The locks of this CreateExportDetails.
253
+ :rtype: list[oci.file_storage.models.ResourceLock]
254
+ """
255
+ return self._locks
256
+
257
+ @locks.setter
258
+ def locks(self, locks):
259
+ """
260
+ Sets the locks of this CreateExportDetails.
261
+ Locks associated with this resource.
262
+
263
+
264
+ :param locks: The locks of this CreateExportDetails.
265
+ :type: list[oci.file_storage.models.ResourceLock]
266
+ """
267
+ self._locks = locks
268
+
269
+ @property
270
+ def is_idmap_groups_for_sys_auth(self):
271
+ """
272
+ Gets the is_idmap_groups_for_sys_auth of this CreateExportDetails.
273
+ Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
274
+
275
+
276
+ :return: The is_idmap_groups_for_sys_auth of this CreateExportDetails.
277
+ :rtype: bool
278
+ """
279
+ return self._is_idmap_groups_for_sys_auth
280
+
281
+ @is_idmap_groups_for_sys_auth.setter
282
+ def is_idmap_groups_for_sys_auth(self, is_idmap_groups_for_sys_auth):
283
+ """
284
+ Sets the is_idmap_groups_for_sys_auth of this CreateExportDetails.
285
+ Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
286
+
287
+
288
+ :param is_idmap_groups_for_sys_auth: The is_idmap_groups_for_sys_auth of this CreateExportDetails.
289
+ :type: bool
290
+ """
291
+ self._is_idmap_groups_for_sys_auth = is_idmap_groups_for_sys_auth
292
+
293
+ def __repr__(self):
294
+ return formatted_flat_dict(self)
295
+
296
+ def __eq__(self, other):
297
+ if other is None:
298
+ return False
299
+
300
+ return self.__dict__ == other.__dict__
301
+
302
+ def __ne__(self, other):
303
+ return not self == other