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,454 @@
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: 20200501
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 WorkRequestSummary(object):
14
+ """
15
+ Summary of work request object.
16
+ """
17
+
18
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
19
+ #: This constant has a value of "CREATE_NETWORK_LOAD_BALANCER"
20
+ OPERATION_TYPE_CREATE_NETWORK_LOAD_BALANCER = "CREATE_NETWORK_LOAD_BALANCER"
21
+
22
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
23
+ #: This constant has a value of "UPDATE_NETWORK_LOAD_BALANCER"
24
+ OPERATION_TYPE_UPDATE_NETWORK_LOAD_BALANCER = "UPDATE_NETWORK_LOAD_BALANCER"
25
+
26
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
27
+ #: This constant has a value of "DELETE_NETWORK_LOAD_BALANCER"
28
+ OPERATION_TYPE_DELETE_NETWORK_LOAD_BALANCER = "DELETE_NETWORK_LOAD_BALANCER"
29
+
30
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
31
+ #: This constant has a value of "CREATE_BACKEND"
32
+ OPERATION_TYPE_CREATE_BACKEND = "CREATE_BACKEND"
33
+
34
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
35
+ #: This constant has a value of "UPDATE_BACKEND"
36
+ OPERATION_TYPE_UPDATE_BACKEND = "UPDATE_BACKEND"
37
+
38
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
39
+ #: This constant has a value of "DELETE_BACKEND"
40
+ OPERATION_TYPE_DELETE_BACKEND = "DELETE_BACKEND"
41
+
42
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
43
+ #: This constant has a value of "CREATE_LISTENER"
44
+ OPERATION_TYPE_CREATE_LISTENER = "CREATE_LISTENER"
45
+
46
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
47
+ #: This constant has a value of "UPDATE_LISTENER"
48
+ OPERATION_TYPE_UPDATE_LISTENER = "UPDATE_LISTENER"
49
+
50
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
51
+ #: This constant has a value of "DELETE_LISTENER"
52
+ OPERATION_TYPE_DELETE_LISTENER = "DELETE_LISTENER"
53
+
54
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
55
+ #: This constant has a value of "CREATE_BACKENDSET"
56
+ OPERATION_TYPE_CREATE_BACKENDSET = "CREATE_BACKENDSET"
57
+
58
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
59
+ #: This constant has a value of "UPDATE_BACKENDSET"
60
+ OPERATION_TYPE_UPDATE_BACKENDSET = "UPDATE_BACKENDSET"
61
+
62
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
63
+ #: This constant has a value of "DELETE_BACKENDSET"
64
+ OPERATION_TYPE_DELETE_BACKENDSET = "DELETE_BACKENDSET"
65
+
66
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
67
+ #: This constant has a value of "UPDATE_NSGS"
68
+ OPERATION_TYPE_UPDATE_NSGS = "UPDATE_NSGS"
69
+
70
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
71
+ #: This constant has a value of "UPDATE_HEALTH_CHECKER"
72
+ OPERATION_TYPE_UPDATE_HEALTH_CHECKER = "UPDATE_HEALTH_CHECKER"
73
+
74
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
75
+ #: This constant has a value of "CHANGE_COMPARTMENT"
76
+ OPERATION_TYPE_CHANGE_COMPARTMENT = "CHANGE_COMPARTMENT"
77
+
78
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
79
+ #: This constant has a value of "ATTACH_NLB_TO_POD"
80
+ OPERATION_TYPE_ATTACH_NLB_TO_POD = "ATTACH_NLB_TO_POD"
81
+
82
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
83
+ #: This constant has a value of "DETACH_NLB_FROM_POD"
84
+ OPERATION_TYPE_DETACH_NLB_FROM_POD = "DETACH_NLB_FROM_POD"
85
+
86
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
87
+ #: This constant has a value of "LIVE_MIGRATION"
88
+ OPERATION_TYPE_LIVE_MIGRATION = "LIVE_MIGRATION"
89
+
90
+ #: A constant which can be used with the status property of a WorkRequestSummary.
91
+ #: This constant has a value of "ACCEPTED"
92
+ STATUS_ACCEPTED = "ACCEPTED"
93
+
94
+ #: A constant which can be used with the status property of a WorkRequestSummary.
95
+ #: This constant has a value of "IN_PROGRESS"
96
+ STATUS_IN_PROGRESS = "IN_PROGRESS"
97
+
98
+ #: A constant which can be used with the status property of a WorkRequestSummary.
99
+ #: This constant has a value of "FAILED"
100
+ STATUS_FAILED = "FAILED"
101
+
102
+ #: A constant which can be used with the status property of a WorkRequestSummary.
103
+ #: This constant has a value of "SUCCEEDED"
104
+ STATUS_SUCCEEDED = "SUCCEEDED"
105
+
106
+ #: A constant which can be used with the status property of a WorkRequestSummary.
107
+ #: This constant has a value of "CANCELING"
108
+ STATUS_CANCELING = "CANCELING"
109
+
110
+ #: A constant which can be used with the status property of a WorkRequestSummary.
111
+ #: This constant has a value of "CANCELED"
112
+ STATUS_CANCELED = "CANCELED"
113
+
114
+ def __init__(self, **kwargs):
115
+ """
116
+ Initializes a new WorkRequestSummary object with values from keyword arguments.
117
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
118
+
119
+ :param operation_type:
120
+ The value to assign to the operation_type property of this WorkRequestSummary.
121
+ Allowed values for this property are: "CREATE_NETWORK_LOAD_BALANCER", "UPDATE_NETWORK_LOAD_BALANCER", "DELETE_NETWORK_LOAD_BALANCER", "CREATE_BACKEND", "UPDATE_BACKEND", "DELETE_BACKEND", "CREATE_LISTENER", "UPDATE_LISTENER", "DELETE_LISTENER", "CREATE_BACKENDSET", "UPDATE_BACKENDSET", "DELETE_BACKENDSET", "UPDATE_NSGS", "UPDATE_HEALTH_CHECKER", "CHANGE_COMPARTMENT", "ATTACH_NLB_TO_POD", "DETACH_NLB_FROM_POD", "LIVE_MIGRATION", 'UNKNOWN_ENUM_VALUE'.
122
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
123
+ :type operation_type: str
124
+
125
+ :param status:
126
+ The value to assign to the status property of this WorkRequestSummary.
127
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
128
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
129
+ :type status: str
130
+
131
+ :param id:
132
+ The value to assign to the id property of this WorkRequestSummary.
133
+ :type id: str
134
+
135
+ :param compartment_id:
136
+ The value to assign to the compartment_id property of this WorkRequestSummary.
137
+ :type compartment_id: str
138
+
139
+ :param resources:
140
+ The value to assign to the resources property of this WorkRequestSummary.
141
+ :type resources: list[oci.network_load_balancer.models.WorkRequestResource]
142
+
143
+ :param percent_complete:
144
+ The value to assign to the percent_complete property of this WorkRequestSummary.
145
+ :type percent_complete: float
146
+
147
+ :param time_accepted:
148
+ The value to assign to the time_accepted property of this WorkRequestSummary.
149
+ :type time_accepted: datetime
150
+
151
+ :param time_started:
152
+ The value to assign to the time_started property of this WorkRequestSummary.
153
+ :type time_started: datetime
154
+
155
+ :param time_finished:
156
+ The value to assign to the time_finished property of this WorkRequestSummary.
157
+ :type time_finished: datetime
158
+
159
+ """
160
+ self.swagger_types = {
161
+ 'operation_type': 'str',
162
+ 'status': 'str',
163
+ 'id': 'str',
164
+ 'compartment_id': 'str',
165
+ 'resources': 'list[WorkRequestResource]',
166
+ 'percent_complete': 'float',
167
+ 'time_accepted': 'datetime',
168
+ 'time_started': 'datetime',
169
+ 'time_finished': 'datetime'
170
+ }
171
+
172
+ self.attribute_map = {
173
+ 'operation_type': 'operationType',
174
+ 'status': 'status',
175
+ 'id': 'id',
176
+ 'compartment_id': 'compartmentId',
177
+ 'resources': 'resources',
178
+ 'percent_complete': 'percentComplete',
179
+ 'time_accepted': 'timeAccepted',
180
+ 'time_started': 'timeStarted',
181
+ 'time_finished': 'timeFinished'
182
+ }
183
+
184
+ self._operation_type = None
185
+ self._status = None
186
+ self._id = None
187
+ self._compartment_id = None
188
+ self._resources = None
189
+ self._percent_complete = None
190
+ self._time_accepted = None
191
+ self._time_started = None
192
+ self._time_finished = None
193
+
194
+ @property
195
+ def operation_type(self):
196
+ """
197
+ **[Required]** Gets the operation_type of this WorkRequestSummary.
198
+ Type of work request.
199
+
200
+ Allowed values for this property are: "CREATE_NETWORK_LOAD_BALANCER", "UPDATE_NETWORK_LOAD_BALANCER", "DELETE_NETWORK_LOAD_BALANCER", "CREATE_BACKEND", "UPDATE_BACKEND", "DELETE_BACKEND", "CREATE_LISTENER", "UPDATE_LISTENER", "DELETE_LISTENER", "CREATE_BACKENDSET", "UPDATE_BACKENDSET", "DELETE_BACKENDSET", "UPDATE_NSGS", "UPDATE_HEALTH_CHECKER", "CHANGE_COMPARTMENT", "ATTACH_NLB_TO_POD", "DETACH_NLB_FROM_POD", "LIVE_MIGRATION", 'UNKNOWN_ENUM_VALUE'.
201
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
202
+
203
+
204
+ :return: The operation_type of this WorkRequestSummary.
205
+ :rtype: str
206
+ """
207
+ return self._operation_type
208
+
209
+ @operation_type.setter
210
+ def operation_type(self, operation_type):
211
+ """
212
+ Sets the operation_type of this WorkRequestSummary.
213
+ Type of work request.
214
+
215
+
216
+ :param operation_type: The operation_type of this WorkRequestSummary.
217
+ :type: str
218
+ """
219
+ allowed_values = ["CREATE_NETWORK_LOAD_BALANCER", "UPDATE_NETWORK_LOAD_BALANCER", "DELETE_NETWORK_LOAD_BALANCER", "CREATE_BACKEND", "UPDATE_BACKEND", "DELETE_BACKEND", "CREATE_LISTENER", "UPDATE_LISTENER", "DELETE_LISTENER", "CREATE_BACKENDSET", "UPDATE_BACKENDSET", "DELETE_BACKENDSET", "UPDATE_NSGS", "UPDATE_HEALTH_CHECKER", "CHANGE_COMPARTMENT", "ATTACH_NLB_TO_POD", "DETACH_NLB_FROM_POD", "LIVE_MIGRATION"]
220
+ if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
221
+ operation_type = 'UNKNOWN_ENUM_VALUE'
222
+ self._operation_type = operation_type
223
+
224
+ @property
225
+ def status(self):
226
+ """
227
+ **[Required]** Gets the status of this WorkRequestSummary.
228
+ Status of current work request.
229
+
230
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
231
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
232
+
233
+
234
+ :return: The status of this WorkRequestSummary.
235
+ :rtype: str
236
+ """
237
+ return self._status
238
+
239
+ @status.setter
240
+ def status(self, status):
241
+ """
242
+ Sets the status of this WorkRequestSummary.
243
+ Status of current work request.
244
+
245
+
246
+ :param status: The status of this WorkRequestSummary.
247
+ :type: str
248
+ """
249
+ allowed_values = ["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
250
+ if not value_allowed_none_or_none_sentinel(status, allowed_values):
251
+ status = 'UNKNOWN_ENUM_VALUE'
252
+ self._status = status
253
+
254
+ @property
255
+ def id(self):
256
+ """
257
+ **[Required]** Gets the id of this WorkRequestSummary.
258
+ The identifier of the work request.
259
+
260
+
261
+ :return: The id of this WorkRequestSummary.
262
+ :rtype: str
263
+ """
264
+ return self._id
265
+
266
+ @id.setter
267
+ def id(self, id):
268
+ """
269
+ Sets the id of this WorkRequestSummary.
270
+ The identifier of the work request.
271
+
272
+
273
+ :param id: The id of this WorkRequestSummary.
274
+ :type: str
275
+ """
276
+ self._id = id
277
+
278
+ @property
279
+ def compartment_id(self):
280
+ """
281
+ **[Required]** Gets the compartment_id of this WorkRequestSummary.
282
+ The OCID of the compartment that contains the work request. Work requests are scoped to
283
+ the same compartment as the resource that the work request affects. If the work request affects multiple resources,
284
+ and those resources are not in the same compartment, then the service team must choose the primary
285
+ resource whose compartment is to be used.
286
+
287
+
288
+ :return: The compartment_id of this WorkRequestSummary.
289
+ :rtype: str
290
+ """
291
+ return self._compartment_id
292
+
293
+ @compartment_id.setter
294
+ def compartment_id(self, compartment_id):
295
+ """
296
+ Sets the compartment_id of this WorkRequestSummary.
297
+ The OCID of the compartment that contains the work request. Work requests are scoped to
298
+ the same compartment as the resource that the work request affects. If the work request affects multiple resources,
299
+ and those resources are not in the same compartment, then the service team must choose the primary
300
+ resource whose compartment is to be used.
301
+
302
+
303
+ :param compartment_id: The compartment_id of this WorkRequestSummary.
304
+ :type: str
305
+ """
306
+ self._compartment_id = compartment_id
307
+
308
+ @property
309
+ def resources(self):
310
+ """
311
+ **[Required]** Gets the resources of this WorkRequestSummary.
312
+ The resources affected by this work request.
313
+
314
+
315
+ :return: The resources of this WorkRequestSummary.
316
+ :rtype: list[oci.network_load_balancer.models.WorkRequestResource]
317
+ """
318
+ return self._resources
319
+
320
+ @resources.setter
321
+ def resources(self, resources):
322
+ """
323
+ Sets the resources of this WorkRequestSummary.
324
+ The resources affected by this work request.
325
+
326
+
327
+ :param resources: The resources of this WorkRequestSummary.
328
+ :type: list[oci.network_load_balancer.models.WorkRequestResource]
329
+ """
330
+ self._resources = resources
331
+
332
+ @property
333
+ def percent_complete(self):
334
+ """
335
+ **[Required]** Gets the percent_complete of this WorkRequestSummary.
336
+ Percentage of the request completed.
337
+
338
+
339
+ :return: The percent_complete of this WorkRequestSummary.
340
+ :rtype: float
341
+ """
342
+ return self._percent_complete
343
+
344
+ @percent_complete.setter
345
+ def percent_complete(self, percent_complete):
346
+ """
347
+ Sets the percent_complete of this WorkRequestSummary.
348
+ Percentage of the request completed.
349
+
350
+
351
+ :param percent_complete: The percent_complete of this WorkRequestSummary.
352
+ :type: float
353
+ """
354
+ self._percent_complete = percent_complete
355
+
356
+ @property
357
+ def time_accepted(self):
358
+ """
359
+ **[Required]** Gets the time_accepted of this WorkRequestSummary.
360
+ The date and time that the request was created, as described in
361
+ `RFC 3339`__, section 14.29.
362
+
363
+ __ https://tools.ietf.org/rfc/rfc3339
364
+
365
+
366
+ :return: The time_accepted of this WorkRequestSummary.
367
+ :rtype: datetime
368
+ """
369
+ return self._time_accepted
370
+
371
+ @time_accepted.setter
372
+ def time_accepted(self, time_accepted):
373
+ """
374
+ Sets the time_accepted of this WorkRequestSummary.
375
+ The date and time that the request was created, as described in
376
+ `RFC 3339`__, section 14.29.
377
+
378
+ __ https://tools.ietf.org/rfc/rfc3339
379
+
380
+
381
+ :param time_accepted: The time_accepted of this WorkRequestSummary.
382
+ :type: datetime
383
+ """
384
+ self._time_accepted = time_accepted
385
+
386
+ @property
387
+ def time_started(self):
388
+ """
389
+ Gets the time_started of this WorkRequestSummary.
390
+ The date and time that the request was started, as described in `RFC 3339`__,
391
+ section 14.29.
392
+
393
+ __ https://tools.ietf.org/rfc/rfc3339
394
+
395
+
396
+ :return: The time_started of this WorkRequestSummary.
397
+ :rtype: datetime
398
+ """
399
+ return self._time_started
400
+
401
+ @time_started.setter
402
+ def time_started(self, time_started):
403
+ """
404
+ Sets the time_started of this WorkRequestSummary.
405
+ The date and time that the request was started, as described in `RFC 3339`__,
406
+ section 14.29.
407
+
408
+ __ https://tools.ietf.org/rfc/rfc3339
409
+
410
+
411
+ :param time_started: The time_started of this WorkRequestSummary.
412
+ :type: datetime
413
+ """
414
+ self._time_started = time_started
415
+
416
+ @property
417
+ def time_finished(self):
418
+ """
419
+ Gets the time_finished of this WorkRequestSummary.
420
+ The date and time that the object was finished, as described in `RFC 3339`__.
421
+
422
+ __ https://tools.ietf.org/rfc/rfc3339
423
+
424
+
425
+ :return: The time_finished of this WorkRequestSummary.
426
+ :rtype: datetime
427
+ """
428
+ return self._time_finished
429
+
430
+ @time_finished.setter
431
+ def time_finished(self, time_finished):
432
+ """
433
+ Sets the time_finished of this WorkRequestSummary.
434
+ The date and time that the object was finished, as described in `RFC 3339`__.
435
+
436
+ __ https://tools.ietf.org/rfc/rfc3339
437
+
438
+
439
+ :param time_finished: The time_finished of this WorkRequestSummary.
440
+ :type: datetime
441
+ """
442
+ self._time_finished = time_finished
443
+
444
+ def __repr__(self):
445
+ return formatted_flat_dict(self)
446
+
447
+ def __eq__(self, other):
448
+ if other is None:
449
+ return False
450
+
451
+ return self.__dict__ == other.__dict__
452
+
453
+ def __ne__(self, other):
454
+ return not self == other