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,134 @@
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 ConfigDetails(object):
14
+ """
15
+ Details about the required and optional Function configurations needed for proper performance of the PBF.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ConfigDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param key:
24
+ The value to assign to the key property of this ConfigDetails.
25
+ :type key: str
26
+
27
+ :param description:
28
+ The value to assign to the description property of this ConfigDetails.
29
+ :type description: str
30
+
31
+ :param is_optional:
32
+ The value to assign to the is_optional property of this ConfigDetails.
33
+ :type is_optional: bool
34
+
35
+ """
36
+ self.swagger_types = {
37
+ 'key': 'str',
38
+ 'description': 'str',
39
+ 'is_optional': 'bool'
40
+ }
41
+
42
+ self.attribute_map = {
43
+ 'key': 'key',
44
+ 'description': 'description',
45
+ 'is_optional': 'isOptional'
46
+ }
47
+
48
+ self._key = None
49
+ self._description = None
50
+ self._is_optional = None
51
+
52
+ @property
53
+ def key(self):
54
+ """
55
+ **[Required]** Gets the key of this ConfigDetails.
56
+ The key name of the config param.
57
+
58
+
59
+ :return: The key of this ConfigDetails.
60
+ :rtype: str
61
+ """
62
+ return self._key
63
+
64
+ @key.setter
65
+ def key(self, key):
66
+ """
67
+ Sets the key of this ConfigDetails.
68
+ The key name of the config param.
69
+
70
+
71
+ :param key: The key of this ConfigDetails.
72
+ :type: str
73
+ """
74
+ self._key = key
75
+
76
+ @property
77
+ def description(self):
78
+ """
79
+ **[Required]** Gets the description of this ConfigDetails.
80
+ Details about why this config is required and what it will be used for.
81
+
82
+
83
+ :return: The description of this ConfigDetails.
84
+ :rtype: str
85
+ """
86
+ return self._description
87
+
88
+ @description.setter
89
+ def description(self, description):
90
+ """
91
+ Sets the description of this ConfigDetails.
92
+ Details about why this config is required and what it will be used for.
93
+
94
+
95
+ :param description: The description of this ConfigDetails.
96
+ :type: str
97
+ """
98
+ self._description = description
99
+
100
+ @property
101
+ def is_optional(self):
102
+ """
103
+ Gets the is_optional of this ConfigDetails.
104
+ Is this a required config or an optional one. Requests with required config params missing will be rejected.
105
+
106
+
107
+ :return: The is_optional of this ConfigDetails.
108
+ :rtype: bool
109
+ """
110
+ return self._is_optional
111
+
112
+ @is_optional.setter
113
+ def is_optional(self, is_optional):
114
+ """
115
+ Sets the is_optional of this ConfigDetails.
116
+ Is this a required config or an optional one. Requests with required config params missing will be rejected.
117
+
118
+
119
+ :param is_optional: The is_optional of this ConfigDetails.
120
+ :type: bool
121
+ """
122
+ self._is_optional = is_optional
123
+
124
+ def __repr__(self):
125
+ return formatted_flat_dict(self)
126
+
127
+ def __eq__(self, other):
128
+ if other is None:
129
+ return False
130
+
131
+ return self.__dict__ == other.__dict__
132
+
133
+ def __ne__(self, other):
134
+ return not self == other
@@ -0,0 +1,82 @@
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
+ from .function_provisioned_concurrency_config import FunctionProvisionedConcurrencyConfig
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 ConstantProvisionedConcurrencyConfig(FunctionProvisionedConcurrencyConfig):
14
+ """
15
+ Configuration specifying a constant amount of provisioned concurrency.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ConstantProvisionedConcurrencyConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.functions.models.ConstantProvisionedConcurrencyConfig.strategy` attribute
21
+ of this class is ``CONSTANT`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param strategy:
25
+ The value to assign to the strategy property of this ConstantProvisionedConcurrencyConfig.
26
+ Allowed values for this property are: "CONSTANT", "NONE"
27
+ :type strategy: str
28
+
29
+ :param count:
30
+ The value to assign to the count property of this ConstantProvisionedConcurrencyConfig.
31
+ :type count: int
32
+
33
+ """
34
+ self.swagger_types = {
35
+ 'strategy': 'str',
36
+ 'count': 'int'
37
+ }
38
+
39
+ self.attribute_map = {
40
+ 'strategy': 'strategy',
41
+ 'count': 'count'
42
+ }
43
+
44
+ self._strategy = None
45
+ self._count = None
46
+ self._strategy = 'CONSTANT'
47
+
48
+ @property
49
+ def count(self):
50
+ """
51
+ **[Required]** Gets the count of this ConstantProvisionedConcurrencyConfig.
52
+ Configuration specifying a constant amount of provisioned concurrency.
53
+
54
+
55
+ :return: The count of this ConstantProvisionedConcurrencyConfig.
56
+ :rtype: int
57
+ """
58
+ return self._count
59
+
60
+ @count.setter
61
+ def count(self, count):
62
+ """
63
+ Sets the count of this ConstantProvisionedConcurrencyConfig.
64
+ Configuration specifying a constant amount of provisioned concurrency.
65
+
66
+
67
+ :param count: The count of this ConstantProvisionedConcurrencyConfig.
68
+ :type: int
69
+ """
70
+ self._count = count
71
+
72
+ def __repr__(self):
73
+ return formatted_flat_dict(self)
74
+
75
+ def __eq__(self, other):
76
+ if other is None:
77
+ return False
78
+
79
+ return self.__dict__ == other.__dict__
80
+
81
+ def __ne__(self, other):
82
+ return not self == other
@@ -0,0 +1,446 @@
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 CreateApplicationDetails(object):
14
+ """
15
+ Properties for a new application.
16
+ """
17
+
18
+ #: A constant which can be used with the shape property of a CreateApplicationDetails.
19
+ #: This constant has a value of "GENERIC_X86"
20
+ SHAPE_GENERIC_X86 = "GENERIC_X86"
21
+
22
+ #: A constant which can be used with the shape property of a CreateApplicationDetails.
23
+ #: This constant has a value of "GENERIC_ARM"
24
+ SHAPE_GENERIC_ARM = "GENERIC_ARM"
25
+
26
+ #: A constant which can be used with the shape property of a CreateApplicationDetails.
27
+ #: This constant has a value of "GENERIC_X86_ARM"
28
+ SHAPE_GENERIC_X86_ARM = "GENERIC_X86_ARM"
29
+
30
+ def __init__(self, **kwargs):
31
+ """
32
+ Initializes a new CreateApplicationDetails object with values from keyword arguments.
33
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
34
+
35
+ :param compartment_id:
36
+ The value to assign to the compartment_id property of this CreateApplicationDetails.
37
+ :type compartment_id: str
38
+
39
+ :param display_name:
40
+ The value to assign to the display_name property of this CreateApplicationDetails.
41
+ :type display_name: str
42
+
43
+ :param config:
44
+ The value to assign to the config property of this CreateApplicationDetails.
45
+ :type config: dict(str, str)
46
+
47
+ :param subnet_ids:
48
+ The value to assign to the subnet_ids property of this CreateApplicationDetails.
49
+ :type subnet_ids: list[str]
50
+
51
+ :param shape:
52
+ The value to assign to the shape property of this CreateApplicationDetails.
53
+ Allowed values for this property are: "GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM"
54
+ :type shape: str
55
+
56
+ :param network_security_group_ids:
57
+ The value to assign to the network_security_group_ids property of this CreateApplicationDetails.
58
+ :type network_security_group_ids: list[str]
59
+
60
+ :param syslog_url:
61
+ The value to assign to the syslog_url property of this CreateApplicationDetails.
62
+ :type syslog_url: str
63
+
64
+ :param trace_config:
65
+ The value to assign to the trace_config property of this CreateApplicationDetails.
66
+ :type trace_config: oci.functions.models.ApplicationTraceConfig
67
+
68
+ :param freeform_tags:
69
+ The value to assign to the freeform_tags property of this CreateApplicationDetails.
70
+ :type freeform_tags: dict(str, str)
71
+
72
+ :param defined_tags:
73
+ The value to assign to the defined_tags property of this CreateApplicationDetails.
74
+ :type defined_tags: dict(str, dict(str, object))
75
+
76
+ :param image_policy_config:
77
+ The value to assign to the image_policy_config property of this CreateApplicationDetails.
78
+ :type image_policy_config: oci.functions.models.ImagePolicyConfig
79
+
80
+ """
81
+ self.swagger_types = {
82
+ 'compartment_id': 'str',
83
+ 'display_name': 'str',
84
+ 'config': 'dict(str, str)',
85
+ 'subnet_ids': 'list[str]',
86
+ 'shape': 'str',
87
+ 'network_security_group_ids': 'list[str]',
88
+ 'syslog_url': 'str',
89
+ 'trace_config': 'ApplicationTraceConfig',
90
+ 'freeform_tags': 'dict(str, str)',
91
+ 'defined_tags': 'dict(str, dict(str, object))',
92
+ 'image_policy_config': 'ImagePolicyConfig'
93
+ }
94
+
95
+ self.attribute_map = {
96
+ 'compartment_id': 'compartmentId',
97
+ 'display_name': 'displayName',
98
+ 'config': 'config',
99
+ 'subnet_ids': 'subnetIds',
100
+ 'shape': 'shape',
101
+ 'network_security_group_ids': 'networkSecurityGroupIds',
102
+ 'syslog_url': 'syslogUrl',
103
+ 'trace_config': 'traceConfig',
104
+ 'freeform_tags': 'freeformTags',
105
+ 'defined_tags': 'definedTags',
106
+ 'image_policy_config': 'imagePolicyConfig'
107
+ }
108
+
109
+ self._compartment_id = None
110
+ self._display_name = None
111
+ self._config = None
112
+ self._subnet_ids = None
113
+ self._shape = None
114
+ self._network_security_group_ids = None
115
+ self._syslog_url = None
116
+ self._trace_config = None
117
+ self._freeform_tags = None
118
+ self._defined_tags = None
119
+ self._image_policy_config = None
120
+
121
+ @property
122
+ def compartment_id(self):
123
+ """
124
+ **[Required]** Gets the compartment_id of this CreateApplicationDetails.
125
+ The OCID of the compartment to create the application within.
126
+
127
+
128
+ :return: The compartment_id of this CreateApplicationDetails.
129
+ :rtype: str
130
+ """
131
+ return self._compartment_id
132
+
133
+ @compartment_id.setter
134
+ def compartment_id(self, compartment_id):
135
+ """
136
+ Sets the compartment_id of this CreateApplicationDetails.
137
+ The OCID of the compartment to create the application within.
138
+
139
+
140
+ :param compartment_id: The compartment_id of this CreateApplicationDetails.
141
+ :type: str
142
+ """
143
+ self._compartment_id = compartment_id
144
+
145
+ @property
146
+ def display_name(self):
147
+ """
148
+ **[Required]** Gets the display_name of this CreateApplicationDetails.
149
+ The display name of the application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.
150
+
151
+
152
+ :return: The display_name of this CreateApplicationDetails.
153
+ :rtype: str
154
+ """
155
+ return self._display_name
156
+
157
+ @display_name.setter
158
+ def display_name(self, display_name):
159
+ """
160
+ Sets the display_name of this CreateApplicationDetails.
161
+ The display name of the application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.
162
+
163
+
164
+ :param display_name: The display_name of this CreateApplicationDetails.
165
+ :type: str
166
+ """
167
+ self._display_name = display_name
168
+
169
+ @property
170
+ def config(self):
171
+ """
172
+ Gets the config of this CreateApplicationDetails.
173
+ Application configuration. These values are passed on to the function as environment variables, functions may override application configuration.
174
+ 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.
175
+
176
+ Example: `{\"MY_FUNCTION_CONFIG\": \"ConfVal\"}`
177
+
178
+ 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.
179
+
180
+
181
+ :return: The config of this CreateApplicationDetails.
182
+ :rtype: dict(str, str)
183
+ """
184
+ return self._config
185
+
186
+ @config.setter
187
+ def config(self, config):
188
+ """
189
+ Sets the config of this CreateApplicationDetails.
190
+ Application configuration. These values are passed on to the function as environment variables, functions may override application configuration.
191
+ 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.
192
+
193
+ Example: `{\"MY_FUNCTION_CONFIG\": \"ConfVal\"}`
194
+
195
+ 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.
196
+
197
+
198
+ :param config: The config of this CreateApplicationDetails.
199
+ :type: dict(str, str)
200
+ """
201
+ self._config = config
202
+
203
+ @property
204
+ def subnet_ids(self):
205
+ """
206
+ **[Required]** Gets the subnet_ids of this CreateApplicationDetails.
207
+ The `OCID`__s of the subnets in which to run functions in the application.
208
+
209
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
210
+
211
+
212
+ :return: The subnet_ids of this CreateApplicationDetails.
213
+ :rtype: list[str]
214
+ """
215
+ return self._subnet_ids
216
+
217
+ @subnet_ids.setter
218
+ def subnet_ids(self, subnet_ids):
219
+ """
220
+ Sets the subnet_ids of this CreateApplicationDetails.
221
+ The `OCID`__s of the subnets in which to run functions in the application.
222
+
223
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
224
+
225
+
226
+ :param subnet_ids: The subnet_ids of this CreateApplicationDetails.
227
+ :type: list[str]
228
+ """
229
+ self._subnet_ids = subnet_ids
230
+
231
+ @property
232
+ def shape(self):
233
+ """
234
+ Gets the shape of this CreateApplicationDetails.
235
+ Valid values are `GENERIC_X86`, `GENERIC_ARM` and `GENERIC_X86_ARM`. Default is `GENERIC_X86`. Setting this to `GENERIC_X86`, will run the functions in the application on X86 processor architecture.
236
+ Setting this to `GENERIC_ARM`, will run the functions in the application on ARM processor architecture.
237
+ When set to `GENERIC_X86_ARM`, functions in the application are run on either X86 or ARM processor architecture.
238
+ Accepted values are:
239
+ `GENERIC_X86`, `GENERIC_ARM`, `GENERIC_X86_ARM`
240
+
241
+ Allowed values for this property are: "GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM"
242
+
243
+
244
+ :return: The shape of this CreateApplicationDetails.
245
+ :rtype: str
246
+ """
247
+ return self._shape
248
+
249
+ @shape.setter
250
+ def shape(self, shape):
251
+ """
252
+ Sets the shape of this CreateApplicationDetails.
253
+ Valid values are `GENERIC_X86`, `GENERIC_ARM` and `GENERIC_X86_ARM`. Default is `GENERIC_X86`. Setting this to `GENERIC_X86`, will run the functions in the application on X86 processor architecture.
254
+ Setting this to `GENERIC_ARM`, will run the functions in the application on ARM processor architecture.
255
+ When set to `GENERIC_X86_ARM`, functions in the application are run on either X86 or ARM processor architecture.
256
+ Accepted values are:
257
+ `GENERIC_X86`, `GENERIC_ARM`, `GENERIC_X86_ARM`
258
+
259
+
260
+ :param shape: The shape of this CreateApplicationDetails.
261
+ :type: str
262
+ """
263
+ allowed_values = ["GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM"]
264
+ if not value_allowed_none_or_none_sentinel(shape, allowed_values):
265
+ raise ValueError(
266
+ f"Invalid value for `shape`, must be None or one of {allowed_values}"
267
+ )
268
+ self._shape = shape
269
+
270
+ @property
271
+ def network_security_group_ids(self):
272
+ """
273
+ Gets the network_security_group_ids of this CreateApplicationDetails.
274
+ The `OCID`__s of the Network Security Groups to add the application to.
275
+
276
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
277
+
278
+
279
+ :return: The network_security_group_ids of this CreateApplicationDetails.
280
+ :rtype: list[str]
281
+ """
282
+ return self._network_security_group_ids
283
+
284
+ @network_security_group_ids.setter
285
+ def network_security_group_ids(self, network_security_group_ids):
286
+ """
287
+ Sets the network_security_group_ids of this CreateApplicationDetails.
288
+ The `OCID`__s of the Network Security Groups to add the application to.
289
+
290
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
291
+
292
+
293
+ :param network_security_group_ids: The network_security_group_ids of this CreateApplicationDetails.
294
+ :type: list[str]
295
+ """
296
+ self._network_security_group_ids = network_security_group_ids
297
+
298
+ @property
299
+ def syslog_url(self):
300
+ """
301
+ Gets the syslog_url of this CreateApplicationDetails.
302
+ A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls.
303
+ The syslog URL must be reachable from all of the subnets configured for the application.
304
+ Note: If you enable the OCI Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the OCI Logging service, and not to the syslog URL.
305
+
306
+ Example: `tcp://logserver.myserver:1234`
307
+
308
+
309
+ :return: The syslog_url of this CreateApplicationDetails.
310
+ :rtype: str
311
+ """
312
+ return self._syslog_url
313
+
314
+ @syslog_url.setter
315
+ def syslog_url(self, syslog_url):
316
+ """
317
+ Sets the syslog_url of this CreateApplicationDetails.
318
+ A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls.
319
+ The syslog URL must be reachable from all of the subnets configured for the application.
320
+ Note: If you enable the OCI Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the OCI Logging service, and not to the syslog URL.
321
+
322
+ Example: `tcp://logserver.myserver:1234`
323
+
324
+
325
+ :param syslog_url: The syslog_url of this CreateApplicationDetails.
326
+ :type: str
327
+ """
328
+ self._syslog_url = syslog_url
329
+
330
+ @property
331
+ def trace_config(self):
332
+ """
333
+ Gets the trace_config of this CreateApplicationDetails.
334
+
335
+ :return: The trace_config of this CreateApplicationDetails.
336
+ :rtype: oci.functions.models.ApplicationTraceConfig
337
+ """
338
+ return self._trace_config
339
+
340
+ @trace_config.setter
341
+ def trace_config(self, trace_config):
342
+ """
343
+ Sets the trace_config of this CreateApplicationDetails.
344
+
345
+ :param trace_config: The trace_config of this CreateApplicationDetails.
346
+ :type: oci.functions.models.ApplicationTraceConfig
347
+ """
348
+ self._trace_config = trace_config
349
+
350
+ @property
351
+ def freeform_tags(self):
352
+ """
353
+ Gets the freeform_tags of this CreateApplicationDetails.
354
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
355
+ For more information, see `Resource Tags`__.
356
+
357
+ Example: `{\"Department\": \"Finance\"}`
358
+
359
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
360
+
361
+
362
+ :return: The freeform_tags of this CreateApplicationDetails.
363
+ :rtype: dict(str, str)
364
+ """
365
+ return self._freeform_tags
366
+
367
+ @freeform_tags.setter
368
+ def freeform_tags(self, freeform_tags):
369
+ """
370
+ Sets the freeform_tags of this CreateApplicationDetails.
371
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
372
+ For more information, see `Resource Tags`__.
373
+
374
+ Example: `{\"Department\": \"Finance\"}`
375
+
376
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
377
+
378
+
379
+ :param freeform_tags: The freeform_tags of this CreateApplicationDetails.
380
+ :type: dict(str, str)
381
+ """
382
+ self._freeform_tags = freeform_tags
383
+
384
+ @property
385
+ def defined_tags(self):
386
+ """
387
+ Gets the defined_tags of this CreateApplicationDetails.
388
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.
389
+
390
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
391
+
392
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
393
+
394
+
395
+ :return: The defined_tags of this CreateApplicationDetails.
396
+ :rtype: dict(str, dict(str, object))
397
+ """
398
+ return self._defined_tags
399
+
400
+ @defined_tags.setter
401
+ def defined_tags(self, defined_tags):
402
+ """
403
+ Sets the defined_tags of this CreateApplicationDetails.
404
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.
405
+
406
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
407
+
408
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
409
+
410
+
411
+ :param defined_tags: The defined_tags of this CreateApplicationDetails.
412
+ :type: dict(str, dict(str, object))
413
+ """
414
+ self._defined_tags = defined_tags
415
+
416
+ @property
417
+ def image_policy_config(self):
418
+ """
419
+ Gets the image_policy_config of this CreateApplicationDetails.
420
+
421
+ :return: The image_policy_config of this CreateApplicationDetails.
422
+ :rtype: oci.functions.models.ImagePolicyConfig
423
+ """
424
+ return self._image_policy_config
425
+
426
+ @image_policy_config.setter
427
+ def image_policy_config(self, image_policy_config):
428
+ """
429
+ Sets the image_policy_config of this CreateApplicationDetails.
430
+
431
+ :param image_policy_config: The image_policy_config of this CreateApplicationDetails.
432
+ :type: oci.functions.models.ImagePolicyConfig
433
+ """
434
+ self._image_policy_config = image_policy_config
435
+
436
+ def __repr__(self):
437
+ return formatted_flat_dict(self)
438
+
439
+ def __eq__(self, other):
440
+ if other is None:
441
+ return False
442
+
443
+ return self.__dict__ == other.__dict__
444
+
445
+ def __ne__(self, other):
446
+ return not self == other