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,734 @@
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: 20181201
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 Function(object):
14
+ """
15
+ A function resource defines the code (Docker image) and configuration for a specific function. Functions are defined in applications. Avoid entering confidential information.
16
+ """
17
+
18
+ #: A constant which can be used with the lifecycle_state property of a Function.
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 Function.
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 Function.
27
+ #: This constant has a value of "INACTIVE"
28
+ LIFECYCLE_STATE_INACTIVE = "INACTIVE"
29
+
30
+ #: A constant which can be used with the lifecycle_state property of a Function.
31
+ #: This constant has a value of "UPDATING"
32
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
33
+
34
+ #: A constant which can be used with the lifecycle_state property of a Function.
35
+ #: This constant has a value of "DELETING"
36
+ LIFECYCLE_STATE_DELETING = "DELETING"
37
+
38
+ #: A constant which can be used with the lifecycle_state property of a Function.
39
+ #: This constant has a value of "DELETED"
40
+ LIFECYCLE_STATE_DELETED = "DELETED"
41
+
42
+ #: A constant which can be used with the lifecycle_state property of a Function.
43
+ #: This constant has a value of "FAILED"
44
+ LIFECYCLE_STATE_FAILED = "FAILED"
45
+
46
+ #: A constant which can be used with the shape property of a Function.
47
+ #: This constant has a value of "GENERIC_X86"
48
+ SHAPE_GENERIC_X86 = "GENERIC_X86"
49
+
50
+ #: A constant which can be used with the shape property of a Function.
51
+ #: This constant has a value of "GENERIC_ARM"
52
+ SHAPE_GENERIC_ARM = "GENERIC_ARM"
53
+
54
+ #: A constant which can be used with the shape property of a Function.
55
+ #: This constant has a value of "GENERIC_X86_ARM"
56
+ SHAPE_GENERIC_X86_ARM = "GENERIC_X86_ARM"
57
+
58
+ def __init__(self, **kwargs):
59
+ """
60
+ Initializes a new Function object with values from keyword arguments.
61
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
62
+
63
+ :param id:
64
+ The value to assign to the id property of this Function.
65
+ :type id: str
66
+
67
+ :param display_name:
68
+ The value to assign to the display_name property of this Function.
69
+ :type display_name: str
70
+
71
+ :param lifecycle_state:
72
+ The value to assign to the lifecycle_state property of this Function.
73
+ Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
74
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
75
+ :type lifecycle_state: str
76
+
77
+ :param application_id:
78
+ The value to assign to the application_id property of this Function.
79
+ :type application_id: str
80
+
81
+ :param compartment_id:
82
+ The value to assign to the compartment_id property of this Function.
83
+ :type compartment_id: str
84
+
85
+ :param image:
86
+ The value to assign to the image property of this Function.
87
+ :type image: str
88
+
89
+ :param image_digest:
90
+ The value to assign to the image_digest property of this Function.
91
+ :type image_digest: str
92
+
93
+ :param source_details:
94
+ The value to assign to the source_details property of this Function.
95
+ :type source_details: oci.functions.models.FunctionSourceDetails
96
+
97
+ :param shape:
98
+ The value to assign to the shape property of this Function.
99
+ Allowed values for this property are: "GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM", 'UNKNOWN_ENUM_VALUE'.
100
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
101
+ :type shape: str
102
+
103
+ :param memory_in_mbs:
104
+ The value to assign to the memory_in_mbs property of this Function.
105
+ :type memory_in_mbs: int
106
+
107
+ :param config:
108
+ The value to assign to the config property of this Function.
109
+ :type config: dict(str, str)
110
+
111
+ :param timeout_in_seconds:
112
+ The value to assign to the timeout_in_seconds property of this Function.
113
+ :type timeout_in_seconds: int
114
+
115
+ :param provisioned_concurrency_config:
116
+ The value to assign to the provisioned_concurrency_config property of this Function.
117
+ :type provisioned_concurrency_config: oci.functions.models.FunctionProvisionedConcurrencyConfig
118
+
119
+ :param trace_config:
120
+ The value to assign to the trace_config property of this Function.
121
+ :type trace_config: oci.functions.models.FunctionTraceConfig
122
+
123
+ :param freeform_tags:
124
+ The value to assign to the freeform_tags property of this Function.
125
+ :type freeform_tags: dict(str, str)
126
+
127
+ :param invoke_endpoint:
128
+ The value to assign to the invoke_endpoint property of this Function.
129
+ :type invoke_endpoint: str
130
+
131
+ :param defined_tags:
132
+ The value to assign to the defined_tags property of this Function.
133
+ :type defined_tags: dict(str, dict(str, object))
134
+
135
+ :param time_created:
136
+ The value to assign to the time_created property of this Function.
137
+ :type time_created: datetime
138
+
139
+ :param time_updated:
140
+ The value to assign to the time_updated property of this Function.
141
+ :type time_updated: datetime
142
+
143
+ """
144
+ self.swagger_types = {
145
+ 'id': 'str',
146
+ 'display_name': 'str',
147
+ 'lifecycle_state': 'str',
148
+ 'application_id': 'str',
149
+ 'compartment_id': 'str',
150
+ 'image': 'str',
151
+ 'image_digest': 'str',
152
+ 'source_details': 'FunctionSourceDetails',
153
+ 'shape': 'str',
154
+ 'memory_in_mbs': 'int',
155
+ 'config': 'dict(str, str)',
156
+ 'timeout_in_seconds': 'int',
157
+ 'provisioned_concurrency_config': 'FunctionProvisionedConcurrencyConfig',
158
+ 'trace_config': 'FunctionTraceConfig',
159
+ 'freeform_tags': 'dict(str, str)',
160
+ 'invoke_endpoint': 'str',
161
+ 'defined_tags': 'dict(str, dict(str, object))',
162
+ 'time_created': 'datetime',
163
+ 'time_updated': 'datetime'
164
+ }
165
+
166
+ self.attribute_map = {
167
+ 'id': 'id',
168
+ 'display_name': 'displayName',
169
+ 'lifecycle_state': 'lifecycleState',
170
+ 'application_id': 'applicationId',
171
+ 'compartment_id': 'compartmentId',
172
+ 'image': 'image',
173
+ 'image_digest': 'imageDigest',
174
+ 'source_details': 'sourceDetails',
175
+ 'shape': 'shape',
176
+ 'memory_in_mbs': 'memoryInMBs',
177
+ 'config': 'config',
178
+ 'timeout_in_seconds': 'timeoutInSeconds',
179
+ 'provisioned_concurrency_config': 'provisionedConcurrencyConfig',
180
+ 'trace_config': 'traceConfig',
181
+ 'freeform_tags': 'freeformTags',
182
+ 'invoke_endpoint': 'invokeEndpoint',
183
+ 'defined_tags': 'definedTags',
184
+ 'time_created': 'timeCreated',
185
+ 'time_updated': 'timeUpdated'
186
+ }
187
+
188
+ self._id = None
189
+ self._display_name = None
190
+ self._lifecycle_state = None
191
+ self._application_id = None
192
+ self._compartment_id = None
193
+ self._image = None
194
+ self._image_digest = None
195
+ self._source_details = None
196
+ self._shape = None
197
+ self._memory_in_mbs = None
198
+ self._config = None
199
+ self._timeout_in_seconds = None
200
+ self._provisioned_concurrency_config = None
201
+ self._trace_config = None
202
+ self._freeform_tags = None
203
+ self._invoke_endpoint = None
204
+ self._defined_tags = None
205
+ self._time_created = None
206
+ self._time_updated = None
207
+
208
+ @property
209
+ def id(self):
210
+ """
211
+ **[Required]** Gets the id of this Function.
212
+ The `OCID`__ of the function.
213
+
214
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
215
+
216
+
217
+ :return: The id of this Function.
218
+ :rtype: str
219
+ """
220
+ return self._id
221
+
222
+ @id.setter
223
+ def id(self, id):
224
+ """
225
+ Sets the id of this Function.
226
+ The `OCID`__ of the function.
227
+
228
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
229
+
230
+
231
+ :param id: The id of this Function.
232
+ :type: str
233
+ """
234
+ self._id = id
235
+
236
+ @property
237
+ def display_name(self):
238
+ """
239
+ Gets the display_name of this Function.
240
+ The display name of the function. The display name is unique within the application containing the function.
241
+
242
+
243
+ :return: The display_name of this Function.
244
+ :rtype: str
245
+ """
246
+ return self._display_name
247
+
248
+ @display_name.setter
249
+ def display_name(self, display_name):
250
+ """
251
+ Sets the display_name of this Function.
252
+ The display name of the function. The display name is unique within the application containing the function.
253
+
254
+
255
+ :param display_name: The display_name of this Function.
256
+ :type: str
257
+ """
258
+ self._display_name = display_name
259
+
260
+ @property
261
+ def lifecycle_state(self):
262
+ """
263
+ Gets the lifecycle_state of this Function.
264
+ The current state of the function.
265
+
266
+ Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
267
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
268
+
269
+
270
+ :return: The lifecycle_state of this Function.
271
+ :rtype: str
272
+ """
273
+ return self._lifecycle_state
274
+
275
+ @lifecycle_state.setter
276
+ def lifecycle_state(self, lifecycle_state):
277
+ """
278
+ Sets the lifecycle_state of this Function.
279
+ The current state of the function.
280
+
281
+
282
+ :param lifecycle_state: The lifecycle_state of this Function.
283
+ :type: str
284
+ """
285
+ allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]
286
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
287
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
288
+ self._lifecycle_state = lifecycle_state
289
+
290
+ @property
291
+ def application_id(self):
292
+ """
293
+ Gets the application_id of this Function.
294
+ The OCID of the application the function belongs to.
295
+
296
+
297
+ :return: The application_id of this Function.
298
+ :rtype: str
299
+ """
300
+ return self._application_id
301
+
302
+ @application_id.setter
303
+ def application_id(self, application_id):
304
+ """
305
+ Sets the application_id of this Function.
306
+ The OCID of the application the function belongs to.
307
+
308
+
309
+ :param application_id: The application_id of this Function.
310
+ :type: str
311
+ """
312
+ self._application_id = application_id
313
+
314
+ @property
315
+ def compartment_id(self):
316
+ """
317
+ Gets the compartment_id of this Function.
318
+ The OCID of the compartment that contains the function.
319
+
320
+
321
+ :return: The compartment_id of this Function.
322
+ :rtype: str
323
+ """
324
+ return self._compartment_id
325
+
326
+ @compartment_id.setter
327
+ def compartment_id(self, compartment_id):
328
+ """
329
+ Sets the compartment_id of this Function.
330
+ The OCID of the compartment that contains the function.
331
+
332
+
333
+ :param compartment_id: The compartment_id of this Function.
334
+ :type: str
335
+ """
336
+ self._compartment_id = compartment_id
337
+
338
+ @property
339
+ def image(self):
340
+ """
341
+ Gets the image of this Function.
342
+ The qualified name of the Docker image to use in the function, including the image tag.
343
+ The image should be in the OCI Registry that is in the same region as the function itself.
344
+ Example: `phx.ocir.io/ten/functions/function:0.0.1`
345
+
346
+
347
+ :return: The image of this Function.
348
+ :rtype: str
349
+ """
350
+ return self._image
351
+
352
+ @image.setter
353
+ def image(self, image):
354
+ """
355
+ Sets the image of this Function.
356
+ The qualified name of the Docker image to use in the function, including the image tag.
357
+ The image should be in the OCI Registry that is in the same region as the function itself.
358
+ Example: `phx.ocir.io/ten/functions/function:0.0.1`
359
+
360
+
361
+ :param image: The image of this Function.
362
+ :type: str
363
+ """
364
+ self._image = image
365
+
366
+ @property
367
+ def image_digest(self):
368
+ """
369
+ Gets the image_digest of this Function.
370
+ The image digest for the version of the image that will be pulled when invoking this function.
371
+ If no value is specified, the digest currently associated with the image in the OCI Registry will be used.
372
+ Example: `sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7`
373
+
374
+
375
+ :return: The image_digest of this Function.
376
+ :rtype: str
377
+ """
378
+ return self._image_digest
379
+
380
+ @image_digest.setter
381
+ def image_digest(self, image_digest):
382
+ """
383
+ Sets the image_digest of this Function.
384
+ The image digest for the version of the image that will be pulled when invoking this function.
385
+ If no value is specified, the digest currently associated with the image in the OCI Registry will be used.
386
+ Example: `sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7`
387
+
388
+
389
+ :param image_digest: The image_digest of this Function.
390
+ :type: str
391
+ """
392
+ self._image_digest = image_digest
393
+
394
+ @property
395
+ def source_details(self):
396
+ """
397
+ Gets the source_details of this Function.
398
+
399
+ :return: The source_details of this Function.
400
+ :rtype: oci.functions.models.FunctionSourceDetails
401
+ """
402
+ return self._source_details
403
+
404
+ @source_details.setter
405
+ def source_details(self, source_details):
406
+ """
407
+ Sets the source_details of this Function.
408
+
409
+ :param source_details: The source_details of this Function.
410
+ :type: oci.functions.models.FunctionSourceDetails
411
+ """
412
+ self._source_details = source_details
413
+
414
+ @property
415
+ def shape(self):
416
+ """
417
+ Gets the shape of this Function.
418
+ The processor shape (`GENERIC_X86`/`GENERIC_ARM`) on which to run functions in the application, extracted from the image manifest.
419
+
420
+ Allowed values for this property are: "GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM", 'UNKNOWN_ENUM_VALUE'.
421
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
422
+
423
+
424
+ :return: The shape of this Function.
425
+ :rtype: str
426
+ """
427
+ return self._shape
428
+
429
+ @shape.setter
430
+ def shape(self, shape):
431
+ """
432
+ Sets the shape of this Function.
433
+ The processor shape (`GENERIC_X86`/`GENERIC_ARM`) on which to run functions in the application, extracted from the image manifest.
434
+
435
+
436
+ :param shape: The shape of this Function.
437
+ :type: str
438
+ """
439
+ allowed_values = ["GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM"]
440
+ if not value_allowed_none_or_none_sentinel(shape, allowed_values):
441
+ shape = 'UNKNOWN_ENUM_VALUE'
442
+ self._shape = shape
443
+
444
+ @property
445
+ def memory_in_mbs(self):
446
+ """
447
+ Gets the memory_in_mbs of this Function.
448
+ Maximum usable memory for the function (MiB).
449
+
450
+
451
+ :return: The memory_in_mbs of this Function.
452
+ :rtype: int
453
+ """
454
+ return self._memory_in_mbs
455
+
456
+ @memory_in_mbs.setter
457
+ def memory_in_mbs(self, memory_in_mbs):
458
+ """
459
+ Sets the memory_in_mbs of this Function.
460
+ Maximum usable memory for the function (MiB).
461
+
462
+
463
+ :param memory_in_mbs: The memory_in_mbs of this Function.
464
+ :type: int
465
+ """
466
+ self._memory_in_mbs = memory_in_mbs
467
+
468
+ @property
469
+ def config(self):
470
+ """
471
+ Gets the config of this Function.
472
+ Function configuration. Overrides application configuration.
473
+ Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
474
+
475
+ Example: `{\"MY_FUNCTION_CONFIG\": \"ConfVal\"}`
476
+
477
+ The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
478
+
479
+
480
+ :return: The config of this Function.
481
+ :rtype: dict(str, str)
482
+ """
483
+ return self._config
484
+
485
+ @config.setter
486
+ def config(self, config):
487
+ """
488
+ Sets the config of this Function.
489
+ Function configuration. Overrides application configuration.
490
+ Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
491
+
492
+ Example: `{\"MY_FUNCTION_CONFIG\": \"ConfVal\"}`
493
+
494
+ The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
495
+
496
+
497
+ :param config: The config of this Function.
498
+ :type: dict(str, str)
499
+ """
500
+ self._config = config
501
+
502
+ @property
503
+ def timeout_in_seconds(self):
504
+ """
505
+ Gets the timeout_in_seconds of this Function.
506
+ Timeout for executions of the function. Value in seconds.
507
+
508
+
509
+ :return: The timeout_in_seconds of this Function.
510
+ :rtype: int
511
+ """
512
+ return self._timeout_in_seconds
513
+
514
+ @timeout_in_seconds.setter
515
+ def timeout_in_seconds(self, timeout_in_seconds):
516
+ """
517
+ Sets the timeout_in_seconds of this Function.
518
+ Timeout for executions of the function. Value in seconds.
519
+
520
+
521
+ :param timeout_in_seconds: The timeout_in_seconds of this Function.
522
+ :type: int
523
+ """
524
+ self._timeout_in_seconds = timeout_in_seconds
525
+
526
+ @property
527
+ def provisioned_concurrency_config(self):
528
+ """
529
+ Gets the provisioned_concurrency_config of this Function.
530
+
531
+ :return: The provisioned_concurrency_config of this Function.
532
+ :rtype: oci.functions.models.FunctionProvisionedConcurrencyConfig
533
+ """
534
+ return self._provisioned_concurrency_config
535
+
536
+ @provisioned_concurrency_config.setter
537
+ def provisioned_concurrency_config(self, provisioned_concurrency_config):
538
+ """
539
+ Sets the provisioned_concurrency_config of this Function.
540
+
541
+ :param provisioned_concurrency_config: The provisioned_concurrency_config of this Function.
542
+ :type: oci.functions.models.FunctionProvisionedConcurrencyConfig
543
+ """
544
+ self._provisioned_concurrency_config = provisioned_concurrency_config
545
+
546
+ @property
547
+ def trace_config(self):
548
+ """
549
+ Gets the trace_config of this Function.
550
+
551
+ :return: The trace_config of this Function.
552
+ :rtype: oci.functions.models.FunctionTraceConfig
553
+ """
554
+ return self._trace_config
555
+
556
+ @trace_config.setter
557
+ def trace_config(self, trace_config):
558
+ """
559
+ Sets the trace_config of this Function.
560
+
561
+ :param trace_config: The trace_config of this Function.
562
+ :type: oci.functions.models.FunctionTraceConfig
563
+ """
564
+ self._trace_config = trace_config
565
+
566
+ @property
567
+ def freeform_tags(self):
568
+ """
569
+ Gets the freeform_tags of this Function.
570
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
571
+ For more information, see `Resource Tags`__.
572
+
573
+ Example: `{\"Department\": \"Finance\"}`
574
+
575
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
576
+
577
+
578
+ :return: The freeform_tags of this Function.
579
+ :rtype: dict(str, str)
580
+ """
581
+ return self._freeform_tags
582
+
583
+ @freeform_tags.setter
584
+ def freeform_tags(self, freeform_tags):
585
+ """
586
+ Sets the freeform_tags of this Function.
587
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
588
+ For more information, see `Resource Tags`__.
589
+
590
+ Example: `{\"Department\": \"Finance\"}`
591
+
592
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
593
+
594
+
595
+ :param freeform_tags: The freeform_tags of this Function.
596
+ :type: dict(str, str)
597
+ """
598
+ self._freeform_tags = freeform_tags
599
+
600
+ @property
601
+ def invoke_endpoint(self):
602
+ """
603
+ Gets the invoke_endpoint of this Function.
604
+ The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
605
+
606
+
607
+ :return: The invoke_endpoint of this Function.
608
+ :rtype: str
609
+ """
610
+ return self._invoke_endpoint
611
+
612
+ @invoke_endpoint.setter
613
+ def invoke_endpoint(self, invoke_endpoint):
614
+ """
615
+ Sets the invoke_endpoint of this Function.
616
+ The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
617
+
618
+
619
+ :param invoke_endpoint: The invoke_endpoint of this Function.
620
+ :type: str
621
+ """
622
+ self._invoke_endpoint = invoke_endpoint
623
+
624
+ @property
625
+ def defined_tags(self):
626
+ """
627
+ Gets the defined_tags of this Function.
628
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.
629
+
630
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
631
+
632
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
633
+
634
+
635
+ :return: The defined_tags of this Function.
636
+ :rtype: dict(str, dict(str, object))
637
+ """
638
+ return self._defined_tags
639
+
640
+ @defined_tags.setter
641
+ def defined_tags(self, defined_tags):
642
+ """
643
+ Sets the defined_tags of this Function.
644
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.
645
+
646
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
647
+
648
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
649
+
650
+
651
+ :param defined_tags: The defined_tags of this Function.
652
+ :type: dict(str, dict(str, object))
653
+ """
654
+ self._defined_tags = defined_tags
655
+
656
+ @property
657
+ def time_created(self):
658
+ """
659
+ Gets the time_created of this Function.
660
+ The time the function was created, expressed in `RFC 3339`__
661
+ timestamp format.
662
+
663
+ Example: `2018-09-12T22:47:12.613Z`
664
+
665
+ __ https://tools.ietf.org/html/rfc3339
666
+
667
+
668
+ :return: The time_created of this Function.
669
+ :rtype: datetime
670
+ """
671
+ return self._time_created
672
+
673
+ @time_created.setter
674
+ def time_created(self, time_created):
675
+ """
676
+ Sets the time_created of this Function.
677
+ The time the function was created, expressed in `RFC 3339`__
678
+ timestamp format.
679
+
680
+ Example: `2018-09-12T22:47:12.613Z`
681
+
682
+ __ https://tools.ietf.org/html/rfc3339
683
+
684
+
685
+ :param time_created: The time_created of this Function.
686
+ :type: datetime
687
+ """
688
+ self._time_created = time_created
689
+
690
+ @property
691
+ def time_updated(self):
692
+ """
693
+ Gets the time_updated of this Function.
694
+ The time the function was updated, expressed in `RFC 3339`__
695
+ timestamp format.
696
+
697
+ Example: `2018-09-12T22:47:12.613Z`
698
+
699
+ __ https://tools.ietf.org/html/rfc3339
700
+
701
+
702
+ :return: The time_updated of this Function.
703
+ :rtype: datetime
704
+ """
705
+ return self._time_updated
706
+
707
+ @time_updated.setter
708
+ def time_updated(self, time_updated):
709
+ """
710
+ Sets the time_updated of this Function.
711
+ The time the function was updated, expressed in `RFC 3339`__
712
+ timestamp format.
713
+
714
+ Example: `2018-09-12T22:47:12.613Z`
715
+
716
+ __ https://tools.ietf.org/html/rfc3339
717
+
718
+
719
+ :param time_updated: The time_updated of this Function.
720
+ :type: datetime
721
+ """
722
+ self._time_updated = time_updated
723
+
724
+ def __repr__(self):
725
+ return formatted_flat_dict(self)
726
+
727
+ def __eq__(self, other):
728
+ if other is None:
729
+ return False
730
+
731
+ return self.__dict__ == other.__dict__
732
+
733
+ def __ne__(self, other):
734
+ return not self == other