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,628 @@
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 Application(object):
14
+ """
15
+ An application contains functions and defined attributes shared between those functions, such as network configuration and configuration. Avoid entering confidential information.
16
+ """
17
+
18
+ #: A constant which can be used with the lifecycle_state property of a Application.
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 Application.
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 Application.
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 Application.
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 Application.
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 Application.
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 Application.
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 Application.
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 Application.
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 Application.
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 Application 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 Application.
65
+ :type id: str
66
+
67
+ :param compartment_id:
68
+ The value to assign to the compartment_id property of this Application.
69
+ :type compartment_id: str
70
+
71
+ :param display_name:
72
+ The value to assign to the display_name property of this Application.
73
+ :type display_name: str
74
+
75
+ :param lifecycle_state:
76
+ The value to assign to the lifecycle_state property of this Application.
77
+ Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
78
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
79
+ :type lifecycle_state: str
80
+
81
+ :param config:
82
+ The value to assign to the config property of this Application.
83
+ :type config: dict(str, str)
84
+
85
+ :param subnet_ids:
86
+ The value to assign to the subnet_ids property of this Application.
87
+ :type subnet_ids: list[str]
88
+
89
+ :param shape:
90
+ The value to assign to the shape property of this Application.
91
+ Allowed values for this property are: "GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM", 'UNKNOWN_ENUM_VALUE'.
92
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
93
+ :type shape: str
94
+
95
+ :param network_security_group_ids:
96
+ The value to assign to the network_security_group_ids property of this Application.
97
+ :type network_security_group_ids: list[str]
98
+
99
+ :param syslog_url:
100
+ The value to assign to the syslog_url property of this Application.
101
+ :type syslog_url: str
102
+
103
+ :param trace_config:
104
+ The value to assign to the trace_config property of this Application.
105
+ :type trace_config: oci.functions.models.ApplicationTraceConfig
106
+
107
+ :param freeform_tags:
108
+ The value to assign to the freeform_tags property of this Application.
109
+ :type freeform_tags: dict(str, str)
110
+
111
+ :param defined_tags:
112
+ The value to assign to the defined_tags property of this Application.
113
+ :type defined_tags: dict(str, dict(str, object))
114
+
115
+ :param time_created:
116
+ The value to assign to the time_created property of this Application.
117
+ :type time_created: datetime
118
+
119
+ :param time_updated:
120
+ The value to assign to the time_updated property of this Application.
121
+ :type time_updated: datetime
122
+
123
+ :param image_policy_config:
124
+ The value to assign to the image_policy_config property of this Application.
125
+ :type image_policy_config: oci.functions.models.ImagePolicyConfig
126
+
127
+ """
128
+ self.swagger_types = {
129
+ 'id': 'str',
130
+ 'compartment_id': 'str',
131
+ 'display_name': 'str',
132
+ 'lifecycle_state': 'str',
133
+ 'config': 'dict(str, str)',
134
+ 'subnet_ids': 'list[str]',
135
+ 'shape': 'str',
136
+ 'network_security_group_ids': 'list[str]',
137
+ 'syslog_url': 'str',
138
+ 'trace_config': 'ApplicationTraceConfig',
139
+ 'freeform_tags': 'dict(str, str)',
140
+ 'defined_tags': 'dict(str, dict(str, object))',
141
+ 'time_created': 'datetime',
142
+ 'time_updated': 'datetime',
143
+ 'image_policy_config': 'ImagePolicyConfig'
144
+ }
145
+
146
+ self.attribute_map = {
147
+ 'id': 'id',
148
+ 'compartment_id': 'compartmentId',
149
+ 'display_name': 'displayName',
150
+ 'lifecycle_state': 'lifecycleState',
151
+ 'config': 'config',
152
+ 'subnet_ids': 'subnetIds',
153
+ 'shape': 'shape',
154
+ 'network_security_group_ids': 'networkSecurityGroupIds',
155
+ 'syslog_url': 'syslogUrl',
156
+ 'trace_config': 'traceConfig',
157
+ 'freeform_tags': 'freeformTags',
158
+ 'defined_tags': 'definedTags',
159
+ 'time_created': 'timeCreated',
160
+ 'time_updated': 'timeUpdated',
161
+ 'image_policy_config': 'imagePolicyConfig'
162
+ }
163
+
164
+ self._id = None
165
+ self._compartment_id = None
166
+ self._display_name = None
167
+ self._lifecycle_state = None
168
+ self._config = None
169
+ self._subnet_ids = None
170
+ self._shape = None
171
+ self._network_security_group_ids = None
172
+ self._syslog_url = None
173
+ self._trace_config = None
174
+ self._freeform_tags = None
175
+ self._defined_tags = None
176
+ self._time_created = None
177
+ self._time_updated = None
178
+ self._image_policy_config = None
179
+
180
+ @property
181
+ def id(self):
182
+ """
183
+ **[Required]** Gets the id of this Application.
184
+ The `OCID`__ of the application.
185
+
186
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
187
+
188
+
189
+ :return: The id of this Application.
190
+ :rtype: str
191
+ """
192
+ return self._id
193
+
194
+ @id.setter
195
+ def id(self, id):
196
+ """
197
+ Sets the id of this Application.
198
+ The `OCID`__ of the application.
199
+
200
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
201
+
202
+
203
+ :param id: The id of this Application.
204
+ :type: str
205
+ """
206
+ self._id = id
207
+
208
+ @property
209
+ def compartment_id(self):
210
+ """
211
+ Gets the compartment_id of this Application.
212
+ The OCID of the compartment that contains the application.
213
+
214
+
215
+ :return: The compartment_id of this Application.
216
+ :rtype: str
217
+ """
218
+ return self._compartment_id
219
+
220
+ @compartment_id.setter
221
+ def compartment_id(self, compartment_id):
222
+ """
223
+ Sets the compartment_id of this Application.
224
+ The OCID of the compartment that contains the application.
225
+
226
+
227
+ :param compartment_id: The compartment_id of this Application.
228
+ :type: str
229
+ """
230
+ self._compartment_id = compartment_id
231
+
232
+ @property
233
+ def display_name(self):
234
+ """
235
+ Gets the display_name of this Application.
236
+ The display name of the application. The display name is unique within the compartment containing the application.
237
+
238
+
239
+ :return: The display_name of this Application.
240
+ :rtype: str
241
+ """
242
+ return self._display_name
243
+
244
+ @display_name.setter
245
+ def display_name(self, display_name):
246
+ """
247
+ Sets the display_name of this Application.
248
+ The display name of the application. The display name is unique within the compartment containing the application.
249
+
250
+
251
+ :param display_name: The display_name of this Application.
252
+ :type: str
253
+ """
254
+ self._display_name = display_name
255
+
256
+ @property
257
+ def lifecycle_state(self):
258
+ """
259
+ Gets the lifecycle_state of this Application.
260
+ The current state of the application.
261
+
262
+ Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
263
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
264
+
265
+
266
+ :return: The lifecycle_state of this Application.
267
+ :rtype: str
268
+ """
269
+ return self._lifecycle_state
270
+
271
+ @lifecycle_state.setter
272
+ def lifecycle_state(self, lifecycle_state):
273
+ """
274
+ Sets the lifecycle_state of this Application.
275
+ The current state of the application.
276
+
277
+
278
+ :param lifecycle_state: The lifecycle_state of this Application.
279
+ :type: str
280
+ """
281
+ allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]
282
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
283
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
284
+ self._lifecycle_state = lifecycle_state
285
+
286
+ @property
287
+ def config(self):
288
+ """
289
+ Gets the config of this Application.
290
+ Application configuration for functions in this application (passed as environment variables). Can be overridden by function configuration.
291
+ 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.
292
+
293
+ Example: `{\"MY_FUNCTION_CONFIG\": \"ConfVal\"}`
294
+
295
+ 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.
296
+
297
+
298
+ :return: The config of this Application.
299
+ :rtype: dict(str, str)
300
+ """
301
+ return self._config
302
+
303
+ @config.setter
304
+ def config(self, config):
305
+ """
306
+ Sets the config of this Application.
307
+ Application configuration for functions in this application (passed as environment variables). Can be overridden by function configuration.
308
+ 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.
309
+
310
+ Example: `{\"MY_FUNCTION_CONFIG\": \"ConfVal\"}`
311
+
312
+ 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.
313
+
314
+
315
+ :param config: The config of this Application.
316
+ :type: dict(str, str)
317
+ """
318
+ self._config = config
319
+
320
+ @property
321
+ def subnet_ids(self):
322
+ """
323
+ Gets the subnet_ids of this Application.
324
+ The `OCID`__s of the subnets in which to run functions in the application.
325
+
326
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
327
+
328
+
329
+ :return: The subnet_ids of this Application.
330
+ :rtype: list[str]
331
+ """
332
+ return self._subnet_ids
333
+
334
+ @subnet_ids.setter
335
+ def subnet_ids(self, subnet_ids):
336
+ """
337
+ Sets the subnet_ids of this Application.
338
+ The `OCID`__s of the subnets in which to run functions in the application.
339
+
340
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
341
+
342
+
343
+ :param subnet_ids: The subnet_ids of this Application.
344
+ :type: list[str]
345
+ """
346
+ self._subnet_ids = subnet_ids
347
+
348
+ @property
349
+ def shape(self):
350
+ """
351
+ Gets the shape of this Application.
352
+ 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.
353
+ Setting this to `GENERIC_ARM`, will run the functions in the application on ARM processor architecture.
354
+ When set to `GENERIC_X86_ARM`, functions in the application are run on either X86 or ARM processor architecture.
355
+ Accepted values are:
356
+ `GENERIC_X86`, `GENERIC_ARM`, `GENERIC_X86_ARM`
357
+
358
+ Allowed values for this property are: "GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM", 'UNKNOWN_ENUM_VALUE'.
359
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
360
+
361
+
362
+ :return: The shape of this Application.
363
+ :rtype: str
364
+ """
365
+ return self._shape
366
+
367
+ @shape.setter
368
+ def shape(self, shape):
369
+ """
370
+ Sets the shape of this Application.
371
+ 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.
372
+ Setting this to `GENERIC_ARM`, will run the functions in the application on ARM processor architecture.
373
+ When set to `GENERIC_X86_ARM`, functions in the application are run on either X86 or ARM processor architecture.
374
+ Accepted values are:
375
+ `GENERIC_X86`, `GENERIC_ARM`, `GENERIC_X86_ARM`
376
+
377
+
378
+ :param shape: The shape of this Application.
379
+ :type: str
380
+ """
381
+ allowed_values = ["GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM"]
382
+ if not value_allowed_none_or_none_sentinel(shape, allowed_values):
383
+ shape = 'UNKNOWN_ENUM_VALUE'
384
+ self._shape = shape
385
+
386
+ @property
387
+ def network_security_group_ids(self):
388
+ """
389
+ Gets the network_security_group_ids of this Application.
390
+ The `OCID`__s of the Network Security Groups to add the application to.
391
+
392
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
393
+
394
+
395
+ :return: The network_security_group_ids of this Application.
396
+ :rtype: list[str]
397
+ """
398
+ return self._network_security_group_ids
399
+
400
+ @network_security_group_ids.setter
401
+ def network_security_group_ids(self, network_security_group_ids):
402
+ """
403
+ Sets the network_security_group_ids of this Application.
404
+ The `OCID`__s of the Network Security Groups to add the application to.
405
+
406
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
407
+
408
+
409
+ :param network_security_group_ids: The network_security_group_ids of this Application.
410
+ :type: list[str]
411
+ """
412
+ self._network_security_group_ids = network_security_group_ids
413
+
414
+ @property
415
+ def syslog_url(self):
416
+ """
417
+ Gets the syslog_url of this Application.
418
+ A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls.
419
+ The syslog URL must be reachable from all of the subnets configured for the application.
420
+ 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.
421
+
422
+ Example: `tcp://logserver.myserver:1234`
423
+
424
+
425
+ :return: The syslog_url of this Application.
426
+ :rtype: str
427
+ """
428
+ return self._syslog_url
429
+
430
+ @syslog_url.setter
431
+ def syslog_url(self, syslog_url):
432
+ """
433
+ Sets the syslog_url of this Application.
434
+ A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls.
435
+ The syslog URL must be reachable from all of the subnets configured for the application.
436
+ 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.
437
+
438
+ Example: `tcp://logserver.myserver:1234`
439
+
440
+
441
+ :param syslog_url: The syslog_url of this Application.
442
+ :type: str
443
+ """
444
+ self._syslog_url = syslog_url
445
+
446
+ @property
447
+ def trace_config(self):
448
+ """
449
+ Gets the trace_config of this Application.
450
+
451
+ :return: The trace_config of this Application.
452
+ :rtype: oci.functions.models.ApplicationTraceConfig
453
+ """
454
+ return self._trace_config
455
+
456
+ @trace_config.setter
457
+ def trace_config(self, trace_config):
458
+ """
459
+ Sets the trace_config of this Application.
460
+
461
+ :param trace_config: The trace_config of this Application.
462
+ :type: oci.functions.models.ApplicationTraceConfig
463
+ """
464
+ self._trace_config = trace_config
465
+
466
+ @property
467
+ def freeform_tags(self):
468
+ """
469
+ Gets the freeform_tags of this Application.
470
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
471
+ For more information, see `Resource Tags`__.
472
+
473
+ Example: `{\"Department\": \"Finance\"}`
474
+
475
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
476
+
477
+
478
+ :return: The freeform_tags of this Application.
479
+ :rtype: dict(str, str)
480
+ """
481
+ return self._freeform_tags
482
+
483
+ @freeform_tags.setter
484
+ def freeform_tags(self, freeform_tags):
485
+ """
486
+ Sets the freeform_tags of this Application.
487
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
488
+ For more information, see `Resource Tags`__.
489
+
490
+ Example: `{\"Department\": \"Finance\"}`
491
+
492
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
493
+
494
+
495
+ :param freeform_tags: The freeform_tags of this Application.
496
+ :type: dict(str, str)
497
+ """
498
+ self._freeform_tags = freeform_tags
499
+
500
+ @property
501
+ def defined_tags(self):
502
+ """
503
+ Gets the defined_tags of this Application.
504
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.
505
+
506
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
507
+
508
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
509
+
510
+
511
+ :return: The defined_tags of this Application.
512
+ :rtype: dict(str, dict(str, object))
513
+ """
514
+ return self._defined_tags
515
+
516
+ @defined_tags.setter
517
+ def defined_tags(self, defined_tags):
518
+ """
519
+ Sets the defined_tags of this Application.
520
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.
521
+
522
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
523
+
524
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
525
+
526
+
527
+ :param defined_tags: The defined_tags of this Application.
528
+ :type: dict(str, dict(str, object))
529
+ """
530
+ self._defined_tags = defined_tags
531
+
532
+ @property
533
+ def time_created(self):
534
+ """
535
+ Gets the time_created of this Application.
536
+ The time the application was created, expressed in `RFC 3339`__
537
+ timestamp format.
538
+
539
+ Example: `2018-09-12T22:47:12.613Z`
540
+
541
+ __ https://tools.ietf.org/html/rfc3339
542
+
543
+
544
+ :return: The time_created of this Application.
545
+ :rtype: datetime
546
+ """
547
+ return self._time_created
548
+
549
+ @time_created.setter
550
+ def time_created(self, time_created):
551
+ """
552
+ Sets the time_created of this Application.
553
+ The time the application was created, expressed in `RFC 3339`__
554
+ timestamp format.
555
+
556
+ Example: `2018-09-12T22:47:12.613Z`
557
+
558
+ __ https://tools.ietf.org/html/rfc3339
559
+
560
+
561
+ :param time_created: The time_created of this Application.
562
+ :type: datetime
563
+ """
564
+ self._time_created = time_created
565
+
566
+ @property
567
+ def time_updated(self):
568
+ """
569
+ Gets the time_updated of this Application.
570
+ The time the application was updated, expressed in `RFC 3339`__
571
+ timestamp format.
572
+ Example: `2018-09-12T22:47:12.613Z`
573
+
574
+ __ https://tools.ietf.org/html/rfc3339
575
+
576
+
577
+ :return: The time_updated of this Application.
578
+ :rtype: datetime
579
+ """
580
+ return self._time_updated
581
+
582
+ @time_updated.setter
583
+ def time_updated(self, time_updated):
584
+ """
585
+ Sets the time_updated of this Application.
586
+ The time the application was updated, expressed in `RFC 3339`__
587
+ timestamp format.
588
+ Example: `2018-09-12T22:47:12.613Z`
589
+
590
+ __ https://tools.ietf.org/html/rfc3339
591
+
592
+
593
+ :param time_updated: The time_updated of this Application.
594
+ :type: datetime
595
+ """
596
+ self._time_updated = time_updated
597
+
598
+ @property
599
+ def image_policy_config(self):
600
+ """
601
+ Gets the image_policy_config of this Application.
602
+
603
+ :return: The image_policy_config of this Application.
604
+ :rtype: oci.functions.models.ImagePolicyConfig
605
+ """
606
+ return self._image_policy_config
607
+
608
+ @image_policy_config.setter
609
+ def image_policy_config(self, image_policy_config):
610
+ """
611
+ Sets the image_policy_config of this Application.
612
+
613
+ :param image_policy_config: The image_policy_config of this Application.
614
+ :type: oci.functions.models.ImagePolicyConfig
615
+ """
616
+ self._image_policy_config = image_policy_config
617
+
618
+ def __repr__(self):
619
+ return formatted_flat_dict(self)
620
+
621
+ def __eq__(self, other):
622
+ if other is None:
623
+ return False
624
+
625
+ return self.__dict__ == other.__dict__
626
+
627
+ def __ne__(self, other):
628
+ return not self == other