oci 2.137.0__py3-none-any.whl → 2.138.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +9 -9
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/auth/auth_utils.py +9 -6
  29. oci/auth/federation_client.py +59 -5
  30. oci/auth/rpt_path_providers.py +3 -3
  31. oci/autoscaling/auto_scaling_client.py +11 -11
  32. oci/base_client.py +5 -12
  33. oci/bastion/bastion_client.py +15 -15
  34. oci/bds/bds_client.py +72 -72
  35. oci/blockchain/blockchain_platform_client.py +27 -27
  36. oci/budget/budget_client.py +10 -10
  37. oci/capacity_management/capacity_management_client.py +32 -32
  38. oci/certificates/certificates_client.py +5 -5
  39. oci/certificates_management/certificates_management_client.py +32 -32
  40. oci/cims/incident_client.py +69 -245
  41. oci/cims/models/__init__.py +6 -0
  42. oci/cims/models/activity_item.py +37 -6
  43. oci/cims/models/create_account_item_details.py +3 -0
  44. oci/cims/models/create_incident.py +22 -2
  45. oci/cims/models/create_limit_item_details.py +10 -3
  46. oci/cims/models/create_tech_support_item_details.py +3 -0
  47. oci/cims/models/create_user_details.py +22 -2
  48. oci/cims/models/incident.py +22 -2
  49. oci/cims/models/incident_resource_type.py +46 -15
  50. oci/cims/models/incident_summary.py +22 -2
  51. oci/cims/models/item.py +1 -1
  52. oci/cims/models/limit_item.py +40 -5
  53. oci/cims/models/service_categories.py +34 -34
  54. oci/cims/models/service_category.py +31 -0
  55. oci/cims/models/sub_categories.py +165 -0
  56. oci/cims/models/sub_components.py +103 -0
  57. oci/cims/models/subscription_info.py +103 -0
  58. oci/cims/models/ticket.py +4 -4
  59. oci/cims/models/update_incident.py +22 -2
  60. oci/cims/models/user.py +22 -2
  61. oci/circuit_breaker/__init__.py +24 -2
  62. oci/circuit_breaker/circuit_breaker.py +11 -1
  63. oci/cloud_bridge/common_client.py +5 -5
  64. oci/cloud_bridge/discovery_client.py +15 -15
  65. oci/cloud_bridge/inventory_client.py +16 -16
  66. oci/cloud_bridge/ocb_agent_svc_client.py +22 -22
  67. oci/cloud_guard/cloud_guard_client.py +155 -155
  68. oci/cloud_migrations/migration_client.py +43 -43
  69. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  70. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  71. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  72. oci/compute_instance_agent/plugin_client.py +2 -2
  73. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  74. oci/container_engine/container_engine_client.py +44 -44
  75. oci/container_engine/models/install_addon_details.py +33 -2
  76. oci/container_instances/container_instance_client.py +18 -18
  77. oci/core/blockstorage_client.py +60 -60
  78. oci/core/compute_client.py +102 -102
  79. oci/core/compute_management_client.py +32 -32
  80. oci/core/virtual_network_client.py +247 -247
  81. oci/dashboard_service/dashboard_client.py +6 -6
  82. oci/dashboard_service/dashboard_group_client.py +6 -6
  83. oci/data_catalog/data_catalog_client.py +149 -149
  84. oci/data_flow/data_flow_client.py +270 -44
  85. oci/data_flow/data_flow_client_composite_operations.py +78 -0
  86. oci/data_flow/models/sql_endpoint.py +7 -3
  87. oci/data_flow/models/sql_endpoint_summary.py +7 -3
  88. oci/data_flow/models/update_sql_endpoint_details.py +344 -3
  89. oci/data_integration/data_integration_client.py +163 -163
  90. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  91. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  92. oci/data_safe/data_safe_client.py +292 -292
  93. oci/data_science/data_science_client.py +92 -92
  94. oci/database/database_client.py +396 -396
  95. oci/database_management/db_management_client.py +211 -211
  96. oci/database_management/diagnosability_client.py +4 -4
  97. oci/database_management/managed_my_sql_databases_client.py +7 -7
  98. oci/database_management/perfhub_client.py +1 -1
  99. oci/database_management/sql_tuning_client.py +17 -17
  100. oci/database_migration/database_migration_client.py +42 -42
  101. oci/database_tools/database_tools_client.py +23 -23
  102. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  103. oci/delegate_access_control/work_request_client.py +4 -4
  104. oci/demand_signal/occ_demand_signal_client.py +7 -7
  105. oci/desktops/desktop_service_client.py +21 -21
  106. oci/devops/devops_client.py +141 -141
  107. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  108. oci/dns/dns_client.py +54 -54
  109. oci/dts/appliance_export_job_client.py +6 -6
  110. oci/dts/shipping_vendors_client.py +1 -1
  111. oci/dts/transfer_appliance_client.py +8 -8
  112. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  113. oci/dts/transfer_device_client.py +5 -5
  114. oci/dts/transfer_job_client.py +6 -6
  115. oci/dts/transfer_package_client.py +7 -7
  116. oci/em_warehouse/em_warehouse_client.py +13 -13
  117. oci/email/email_client.py +31 -31
  118. oci/email_data_plane/email_dp_client.py +1 -1
  119. oci/events/events_client.py +6 -6
  120. oci/file_storage/file_storage_client.py +68 -68
  121. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  122. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  123. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  124. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  125. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  126. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  127. oci/functions/functions_invoke_client.py +1 -1
  128. oci/functions/functions_management_client.py +16 -16
  129. oci/fusion_apps/fusion_applications_client.py +41 -41
  130. oci/generative_ai/generative_ai_client.py +22 -22
  131. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  132. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  133. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  134. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  135. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  136. oci/golden_gate/golden_gate_client.py +69 -69
  137. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  138. oci/governance_rules_control_plane/work_request_client.py +5 -5
  139. oci/healthchecks/health_checks_client.py +17 -17
  140. oci/identity/identity_client.py +145 -145
  141. oci/identity_data_plane/dataplane_client.py +2 -2
  142. oci/identity_domains/identity_domains_client.py +874 -333
  143. oci/identity_domains/models/__init__.py +20 -0
  144. oci/identity_domains/models/condition.py +31 -2
  145. oci/identity_domains/models/condition_extension_ociconsolesignonpolicyconsent_policy.py +194 -0
  146. oci/identity_domains/models/oci_console_sign_on_policy_consent.py +1041 -0
  147. oci/identity_domains/models/oci_console_sign_on_policy_consent_consent_signed_by.py +260 -0
  148. oci/identity_domains/models/oci_console_sign_on_policy_consent_modified_resource.py +223 -0
  149. oci/identity_domains/models/oci_console_sign_on_policy_consent_policy_resource.py +148 -0
  150. oci/identity_domains/models/oci_console_sign_on_policy_consent_search_request.py +364 -0
  151. oci/identity_domains/models/oci_console_sign_on_policy_consents.py +196 -0
  152. oci/identity_domains/models/policy.py +31 -2
  153. oci/identity_domains/models/policy_extension_ociconsolesignonpolicyconsent_policy.py +194 -0
  154. oci/identity_domains/models/policy_policy_type.py +2 -2
  155. oci/identity_domains/models/restore_oci_console_policy.py +722 -0
  156. oci/identity_domains/models/rule.py +31 -2
  157. oci/identity_domains/models/rule_condition_group.py +2 -2
  158. oci/identity_domains/models/rule_extension_ociconsolesignonpolicyconsent_policy.py +194 -0
  159. oci/integration/integration_instance_client.py +19 -19
  160. oci/jms/java_management_service_client.py +75 -75
  161. oci/jms_java_downloads/java_download_client.py +25 -25
  162. oci/key_management/ekm_client.py +5 -5
  163. oci/key_management/kms_crypto_client.py +6 -6
  164. oci/key_management/kms_hsm_cluster_client.py +12 -12
  165. oci/key_management/kms_management_client.py +21 -21
  166. oci/key_management/kms_vault_client.py +14 -14
  167. oci/license_manager/license_manager_client.py +18 -18
  168. oci/limits/limits_client.py +4 -4
  169. oci/limits/quotas_client.py +7 -7
  170. oci/load_balancer/load_balancer_client.py +61 -61
  171. oci/load_balancer/models/create_listener_details.py +4 -6
  172. oci/load_balancer/models/listener.py +4 -6
  173. oci/load_balancer/models/listener_details.py +4 -6
  174. oci/load_balancer/models/update_listener_details.py +4 -6
  175. oci/lockbox/lockbox_client.py +24 -24
  176. oci/log_analytics/log_analytics_client.py +193 -193
  177. oci/logging/logging_management_client.py +30 -30
  178. oci/loggingingestion/logging_client.py +1 -1
  179. oci/loggingsearch/log_search_client.py +1 -1
  180. oci/management_agent/management_agent_client.py +28 -28
  181. oci/management_dashboard/dashx_apis_client.py +14 -14
  182. oci/marketplace/account_client.py +2 -2
  183. oci/marketplace/marketplace_client.py +30 -30
  184. oci/marketplace_private_offer/attachment_client.py +5 -5
  185. oci/marketplace_private_offer/offer_client.py +6 -6
  186. oci/marketplace_publisher/attachment_client.py +5 -5
  187. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  188. oci/marketplace_publisher/offer_client.py +6 -6
  189. oci/media_services/media_services_client.py +60 -60
  190. oci/media_services/media_stream_client.py +2 -2
  191. oci/monitoring/monitoring_client.py +18 -18
  192. oci/mysql/channels_client.py +7 -7
  193. oci/mysql/db_backups_client.py +7 -7
  194. oci/mysql/db_system_client.py +17 -17
  195. oci/mysql/mysqlaas_client.py +7 -7
  196. oci/mysql/replicas_client.py +5 -5
  197. oci/mysql/work_requests_client.py +4 -4
  198. oci/network_firewall/network_firewall_client.py +86 -86
  199. oci/network_load_balancer/models/backend_set.py +0 -4
  200. oci/network_load_balancer/models/backend_set_details.py +0 -4
  201. oci/network_load_balancer/models/backend_set_summary.py +7 -5
  202. oci/network_load_balancer/models/create_listener_details.py +42 -5
  203. oci/network_load_balancer/models/listener.py +42 -5
  204. oci/network_load_balancer/models/listener_details.py +42 -5
  205. oci/network_load_balancer/models/listener_summary.py +42 -5
  206. oci/network_load_balancer/models/update_listener_details.py +42 -5
  207. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  208. oci/nosql/nosql_client.py +24 -24
  209. oci/object_storage/object_storage_client.py +55 -55
  210. oci/oce/oce_instance_client.py +10 -10
  211. oci/oci_control_center/occ_metrics_client.py +3 -3
  212. oci/ocvp/cluster_client.py +5 -5
  213. oci/ocvp/esxi_host_client.py +8 -8
  214. oci/ocvp/sddc_client.py +14 -14
  215. oci/ocvp/work_request_client.py +4 -4
  216. oci/oda/management_client.py +59 -59
  217. oci/oda/oda_client.py +17 -17
  218. oci/oda/odapackage_client.py +7 -7
  219. oci/onesubscription/billing_schedule_client.py +1 -1
  220. oci/onesubscription/commitment_client.py +2 -2
  221. oci/onesubscription/computed_usage_client.py +3 -3
  222. oci/onesubscription/invoice_summary_client.py +2 -2
  223. oci/onesubscription/organization_subscription_client.py +1 -1
  224. oci/onesubscription/ratecard_client.py +1 -1
  225. oci/onesubscription/subscribed_service_client.py +2 -2
  226. oci/onesubscription/subscription_client.py +1 -1
  227. oci/ons/notification_control_plane_client.py +6 -6
  228. oci/ons/notification_data_plane_client.py +10 -10
  229. oci/opa/opa_instance_client.py +13 -13
  230. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  231. oci/opensearch/opensearch_cluster_client.py +14 -14
  232. oci/operator_access_control/access_requests_client.py +20 -20
  233. oci/operator_access_control/operator_actions_client.py +4 -4
  234. oci/operator_access_control/operator_control_assignment_client.py +16 -16
  235. oci/operator_access_control/operator_control_client.py +12 -12
  236. oci/opsi/operations_insights_client.py +180 -180
  237. oci/optimizer/optimizer_client.py +26 -26
  238. oci/os_management/event_client.py +8 -8
  239. oci/os_management/os_management_client.py +69 -69
  240. oci/os_management_hub/event_client.py +8 -8
  241. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  242. oci/os_management_hub/managed_instance_client.py +31 -31
  243. oci/os_management_hub/managed_instance_group_client.py +25 -25
  244. oci/os_management_hub/management_station_client.py +10 -10
  245. oci/os_management_hub/onboarding_client.py +6 -6
  246. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  247. oci/os_management_hub/scheduled_job_client.py +7 -7
  248. oci/os_management_hub/software_source_client.py +27 -27
  249. oci/os_management_hub/work_request_client.py +4 -4
  250. oci/osp_gateway/address_rule_service_client.py +1 -1
  251. oci/osp_gateway/address_service_client.py +2 -2
  252. oci/osp_gateway/invoice_service_client.py +5 -5
  253. oci/osp_gateway/subscription_service_client.py +5 -5
  254. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  255. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  256. oci/osub_subscription/commitment_client.py +2 -2
  257. oci/osub_subscription/ratecard_client.py +1 -1
  258. oci/osub_subscription/subscription_client.py +1 -1
  259. oci/osub_usage/computed_usage_client.py +3 -3
  260. oci/psql/postgresql_client.py +33 -33
  261. oci/queue/queue_admin_client.py +11 -11
  262. oci/queue/queue_client.py +8 -8
  263. oci/recovery/database_recovery_client.py +26 -26
  264. oci/redis/redis_cluster_client.py +12 -12
  265. oci/regions_definitions.py +15 -4
  266. oci/resource_manager/resource_manager_client.py +52 -52
  267. oci/resource_scheduler/schedule_client.py +13 -13
  268. oci/resource_search/resource_search_client.py +3 -3
  269. oci/retry/__init__.py +20 -0
  270. oci/rover/rover_bundle_client.py +8 -8
  271. oci/rover/rover_cluster_client.py +8 -8
  272. oci/rover/rover_entitlement_client.py +6 -6
  273. oci/rover/rover_node_client.py +15 -15
  274. oci/rover/shape_client.py +1 -1
  275. oci/rover/work_requests_client.py +5 -5
  276. oci/sch/connector_plugins_client.py +2 -2
  277. oci/sch/service_connector_client.py +12 -12
  278. oci/secrets/secrets_client.py +3 -3
  279. oci/security_attribute/security_attribute_client.py +18 -18
  280. oci/service_catalog/service_catalog_client.py +26 -26
  281. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  282. oci/service_mesh/service_mesh_client.py +48 -48
  283. oci/stack_monitoring/stack_monitoring_client.py +71 -71
  284. oci/streaming/stream_admin_client.py +18 -18
  285. oci/streaming/stream_client.py +8 -8
  286. oci/tenant_manager_control_plane/domain_client.py +5 -5
  287. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  288. oci/tenant_manager_control_plane/governance_client.py +2 -2
  289. oci/tenant_manager_control_plane/link_client.py +3 -3
  290. oci/tenant_manager_control_plane/orders_client.py +2 -2
  291. oci/tenant_manager_control_plane/organization_client.py +10 -10
  292. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  293. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  294. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  295. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  296. oci/threat_intelligence/threatintel_client.py +5 -5
  297. oci/usage/resources_client.py +2 -2
  298. oci/usage/rewards_client.py +6 -6
  299. oci/usage/usagelimits_client.py +1 -1
  300. oci/usage_api/usageapi_client.py +33 -33
  301. oci/vault/vaults_client.py +13 -13
  302. oci/vbs_inst/vbs_instance_client.py +10 -10
  303. oci/version.py +1 -1
  304. oci/visual_builder/vb_instance_client.py +13 -13
  305. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  306. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  307. oci/waa/waa_client.py +13 -13
  308. oci/waa/work_request_client.py +4 -4
  309. oci/waas/redirect_client.py +6 -6
  310. oci/waas/waas_client.py +66 -66
  311. oci/waf/waf_client.py +24 -24
  312. oci/work_requests/work_request_client.py +4 -4
  313. oci/zpr/zpr_client.py +15 -15
  314. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/METADATA +1 -1
  315. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/RECORD +319 -306
  316. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/LICENSE.txt +0 -0
  317. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  318. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/WHEEL +0 -0
  319. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,165 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, 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: 20181231
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 SubCategories(object):
14
+ """
15
+ List of subcategories under a service.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new SubCategories object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param service_category:
24
+ The value to assign to the service_category property of this SubCategories.
25
+ :type service_category: dict(str, str)
26
+
27
+ :param schema:
28
+ The value to assign to the schema property of this SubCategories.
29
+ :type schema: str
30
+
31
+ :param has_sub_category:
32
+ The value to assign to the has_sub_category property of this SubCategories.
33
+ :type has_sub_category: str
34
+
35
+ :param sub_components:
36
+ The value to assign to the sub_components property of this SubCategories.
37
+ :type sub_components: list[oci.cims.models.SubComponents]
38
+
39
+ """
40
+ self.swagger_types = {
41
+ 'service_category': 'dict(str, str)',
42
+ 'schema': 'str',
43
+ 'has_sub_category': 'str',
44
+ 'sub_components': 'list[SubComponents]'
45
+ }
46
+
47
+ self.attribute_map = {
48
+ 'service_category': 'serviceCategory',
49
+ 'schema': 'schema',
50
+ 'has_sub_category': 'hasSubCategory',
51
+ 'sub_components': 'subComponents'
52
+ }
53
+
54
+ self._service_category = None
55
+ self._schema = None
56
+ self._has_sub_category = None
57
+ self._sub_components = None
58
+
59
+ @property
60
+ def service_category(self):
61
+ """
62
+ Gets the service_category of this SubCategories.
63
+ Subcategory list.
64
+
65
+
66
+ :return: The service_category of this SubCategories.
67
+ :rtype: dict(str, str)
68
+ """
69
+ return self._service_category
70
+
71
+ @service_category.setter
72
+ def service_category(self, service_category):
73
+ """
74
+ Sets the service_category of this SubCategories.
75
+ Subcategory list.
76
+
77
+
78
+ :param service_category: The service_category of this SubCategories.
79
+ :type: dict(str, str)
80
+ """
81
+ self._service_category = service_category
82
+
83
+ @property
84
+ def schema(self):
85
+ """
86
+ Gets the schema of this SubCategories.
87
+ Schema of a subcategory.
88
+
89
+
90
+ :return: The schema of this SubCategories.
91
+ :rtype: str
92
+ """
93
+ return self._schema
94
+
95
+ @schema.setter
96
+ def schema(self, schema):
97
+ """
98
+ Sets the schema of this SubCategories.
99
+ Schema of a subcategory.
100
+
101
+
102
+ :param schema: The schema of this SubCategories.
103
+ :type: str
104
+ """
105
+ self._schema = schema
106
+
107
+ @property
108
+ def has_sub_category(self):
109
+ """
110
+ Gets the has_sub_category of this SubCategories.
111
+ Flag to identify if subComponent is present
112
+
113
+
114
+ :return: The has_sub_category of this SubCategories.
115
+ :rtype: str
116
+ """
117
+ return self._has_sub_category
118
+
119
+ @has_sub_category.setter
120
+ def has_sub_category(self, has_sub_category):
121
+ """
122
+ Sets the has_sub_category of this SubCategories.
123
+ Flag to identify if subComponent is present
124
+
125
+
126
+ :param has_sub_category: The has_sub_category of this SubCategories.
127
+ :type: str
128
+ """
129
+ self._has_sub_category = has_sub_category
130
+
131
+ @property
132
+ def sub_components(self):
133
+ """
134
+ Gets the sub_components of this SubCategories.
135
+ The sub component list for MOS Taxonomy.
136
+
137
+
138
+ :return: The sub_components of this SubCategories.
139
+ :rtype: list[oci.cims.models.SubComponents]
140
+ """
141
+ return self._sub_components
142
+
143
+ @sub_components.setter
144
+ def sub_components(self, sub_components):
145
+ """
146
+ Sets the sub_components of this SubCategories.
147
+ The sub component list for MOS Taxonomy.
148
+
149
+
150
+ :param sub_components: The sub_components of this SubCategories.
151
+ :type: list[oci.cims.models.SubComponents]
152
+ """
153
+ self._sub_components = sub_components
154
+
155
+ def __repr__(self):
156
+ return formatted_flat_dict(self)
157
+
158
+ def __eq__(self, other):
159
+ if other is None:
160
+ return False
161
+
162
+ return self.__dict__ == other.__dict__
163
+
164
+ def __ne__(self, other):
165
+ return not self == other
@@ -0,0 +1,103 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, 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: 20181231
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 SubComponents(object):
14
+ """
15
+ List of subcomponents under a subcategory.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new SubComponents object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param sub_category:
24
+ The value to assign to the sub_category property of this SubComponents.
25
+ :type sub_category: dict(str, str)
26
+
27
+ :param schema:
28
+ The value to assign to the schema property of this SubComponents.
29
+ :type schema: str
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'sub_category': 'dict(str, str)',
34
+ 'schema': 'str'
35
+ }
36
+
37
+ self.attribute_map = {
38
+ 'sub_category': 'subCategory',
39
+ 'schema': 'schema'
40
+ }
41
+
42
+ self._sub_category = None
43
+ self._schema = None
44
+
45
+ @property
46
+ def sub_category(self):
47
+ """
48
+ Gets the sub_category of this SubComponents.
49
+ Subcategory list.
50
+
51
+
52
+ :return: The sub_category of this SubComponents.
53
+ :rtype: dict(str, str)
54
+ """
55
+ return self._sub_category
56
+
57
+ @sub_category.setter
58
+ def sub_category(self, sub_category):
59
+ """
60
+ Sets the sub_category of this SubComponents.
61
+ Subcategory list.
62
+
63
+
64
+ :param sub_category: The sub_category of this SubComponents.
65
+ :type: dict(str, str)
66
+ """
67
+ self._sub_category = sub_category
68
+
69
+ @property
70
+ def schema(self):
71
+ """
72
+ Gets the schema of this SubComponents.
73
+ Schema of a subcategory.
74
+
75
+
76
+ :return: The schema of this SubComponents.
77
+ :rtype: str
78
+ """
79
+ return self._schema
80
+
81
+ @schema.setter
82
+ def schema(self, schema):
83
+ """
84
+ Sets the schema of this SubComponents.
85
+ Schema of a subcategory.
86
+
87
+
88
+ :param schema: The schema of this SubComponents.
89
+ :type: str
90
+ """
91
+ self._schema = schema
92
+
93
+ def __repr__(self):
94
+ return formatted_flat_dict(self)
95
+
96
+ def __eq__(self, other):
97
+ if other is None:
98
+ return False
99
+
100
+ return self.__dict__ == other.__dict__
101
+
102
+ def __ne__(self, other):
103
+ return not self == other
@@ -0,0 +1,103 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, 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: 20181231
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 SubscriptionInfo(object):
14
+ """
15
+ SubscriptionInfo model.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new SubscriptionInfo object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param csi:
24
+ The value to assign to the csi property of this SubscriptionInfo.
25
+ :type csi: str
26
+
27
+ :param subscription_type:
28
+ The value to assign to the subscription_type property of this SubscriptionInfo.
29
+ :type subscription_type: str
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'csi': 'str',
34
+ 'subscription_type': 'str'
35
+ }
36
+
37
+ self.attribute_map = {
38
+ 'csi': 'csi',
39
+ 'subscription_type': 'subscriptionType'
40
+ }
41
+
42
+ self._csi = None
43
+ self._subscription_type = None
44
+
45
+ @property
46
+ def csi(self):
47
+ """
48
+ Gets the csi of this SubscriptionInfo.
49
+ customer support identifier issued for a subscription
50
+
51
+
52
+ :return: The csi of this SubscriptionInfo.
53
+ :rtype: str
54
+ """
55
+ return self._csi
56
+
57
+ @csi.setter
58
+ def csi(self, csi):
59
+ """
60
+ Sets the csi of this SubscriptionInfo.
61
+ customer support identifier issued for a subscription
62
+
63
+
64
+ :param csi: The csi of this SubscriptionInfo.
65
+ :type: str
66
+ """
67
+ self._csi = csi
68
+
69
+ @property
70
+ def subscription_type(self):
71
+ """
72
+ Gets the subscription_type of this SubscriptionInfo.
73
+ subscription type of customer which determines payment profile
74
+
75
+
76
+ :return: The subscription_type of this SubscriptionInfo.
77
+ :rtype: str
78
+ """
79
+ return self._subscription_type
80
+
81
+ @subscription_type.setter
82
+ def subscription_type(self, subscription_type):
83
+ """
84
+ Sets the subscription_type of this SubscriptionInfo.
85
+ subscription type of customer which determines payment profile
86
+
87
+
88
+ :param subscription_type: The subscription_type of this SubscriptionInfo.
89
+ :type: str
90
+ """
91
+ self._subscription_type = subscription_type
92
+
93
+ def __repr__(self):
94
+ return formatted_flat_dict(self)
95
+
96
+ def __eq__(self, other):
97
+ if other is None:
98
+ return False
99
+
100
+ return self.__dict__ == other.__dict__
101
+
102
+ def __ne__(self, other):
103
+ return not self == other
oci/cims/models/ticket.py CHANGED
@@ -267,7 +267,7 @@ class Ticket(object):
267
267
  def time_created(self):
268
268
  """
269
269
  Gets the time_created of this Ticket.
270
- The time when the ticket was created, in milliseconds since epoch time.
270
+ The time when the ticket was created, in seconds since epoch time.
271
271
 
272
272
 
273
273
  :return: The time_created of this Ticket.
@@ -279,7 +279,7 @@ class Ticket(object):
279
279
  def time_created(self, time_created):
280
280
  """
281
281
  Sets the time_created of this Ticket.
282
- The time when the ticket was created, in milliseconds since epoch time.
282
+ The time when the ticket was created, in seconds since epoch time.
283
283
 
284
284
 
285
285
  :param time_created: The time_created of this Ticket.
@@ -291,7 +291,7 @@ class Ticket(object):
291
291
  def time_updated(self):
292
292
  """
293
293
  Gets the time_updated of this Ticket.
294
- The time when the ticket was updated, in milliseconds since epoch time.
294
+ The time when the ticket was updated, in seconds since epoch time.
295
295
 
296
296
 
297
297
  :return: The time_updated of this Ticket.
@@ -303,7 +303,7 @@ class Ticket(object):
303
303
  def time_updated(self, time_updated):
304
304
  """
305
305
  Sets the time_updated of this Ticket.
306
- The time when the ticket was updated, in milliseconds since epoch time.
306
+ The time when the ticket was updated, in seconds since epoch time.
307
307
 
308
308
 
309
309
  :param time_updated: The time_updated of this Ticket.
@@ -87,7 +87,17 @@ class UpdateIncident(object):
87
87
  def problem_type(self):
88
88
  """
89
89
  Gets the problem_type of this UpdateIncident.
90
- The kind of support ticket, such as a technical support request or a limit increase request.
90
+ The kind of support ticket (type of support request).
91
+ For information about `ACCOUNT` support tickets, see
92
+ `Creating a Billing Support Request`__.
93
+ For information about `LIMIT` support tickets, see
94
+ `Creating a Service Limit Increase Request`__.
95
+ For information about `TECH` support tickets, see
96
+ `Creating a Technical Support Request`__.
97
+
98
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm
99
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm
100
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm
91
101
 
92
102
  Allowed values for this property are: "LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"
93
103
 
@@ -101,7 +111,17 @@ class UpdateIncident(object):
101
111
  def problem_type(self, problem_type):
102
112
  """
103
113
  Sets the problem_type of this UpdateIncident.
104
- The kind of support ticket, such as a technical support request or a limit increase request.
114
+ The kind of support ticket (type of support request).
115
+ For information about `ACCOUNT` support tickets, see
116
+ `Creating a Billing Support Request`__.
117
+ For information about `LIMIT` support tickets, see
118
+ `Creating a Service Limit Increase Request`__.
119
+ For information about `TECH` support tickets, see
120
+ `Creating a Technical Support Request`__.
121
+
122
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm
123
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm
124
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm
105
125
 
106
126
 
107
127
  :param problem_type: The problem_type of this UpdateIncident.
oci/cims/models/user.py CHANGED
@@ -370,7 +370,17 @@ class User(object):
370
370
  def problem_type(self):
371
371
  """
372
372
  Gets the problem_type of this User.
373
- The kind of support ticket, such as a technical support request or a limit increase request.
373
+ The kind of support ticket (type of support request).
374
+ For information about `ACCOUNT` support tickets, see
375
+ `Creating a Billing Support Request`__.
376
+ For information about `LIMIT` support tickets, see
377
+ `Creating a Service Limit Increase Request`__.
378
+ For information about `TECH` support tickets, see
379
+ `Creating a Technical Support Request`__.
380
+
381
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm
382
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm
383
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm
374
384
 
375
385
  Allowed values for this property are: "LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"
376
386
 
@@ -384,7 +394,17 @@ class User(object):
384
394
  def problem_type(self, problem_type):
385
395
  """
386
396
  Sets the problem_type of this User.
387
- The kind of support ticket, such as a technical support request or a limit increase request.
397
+ The kind of support ticket (type of support request).
398
+ For information about `ACCOUNT` support tickets, see
399
+ `Creating a Billing Support Request`__.
400
+ For information about `LIMIT` support tickets, see
401
+ `Creating a Service Limit Increase Request`__.
402
+ For information about `TECH` support tickets, see
403
+ `Creating a Technical Support Request`__.
404
+
405
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm
406
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm
407
+ __ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm
388
408
 
389
409
 
390
410
  :param problem_type: The problem_type of this User.
@@ -6,6 +6,30 @@ from .circuit_breaker import CircuitBreakerStrategy, NoCircuitBreakerStrategy, D
6
6
  import os
7
7
  import logging
8
8
 
9
+ logger = logging.getLogger(name=__name__)
10
+
11
+ # Default Circuit Breaker for the X509 calls which has the following values configured by default.
12
+ # Detailed information on Circuit Breakers and their configuration can be found at the
13
+ # link (https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/circuit_breakers.html)
14
+ #
15
+ # * failure_threshold - 3
16
+ # * failure_statuses_and_codes
17
+ # - HTTP 409/IncorrectState
18
+ # - HTTP 429
19
+ # - HTTP 500
20
+ # - HTTP 502
21
+ # - HTTP 503
22
+ # - HTTP 504
23
+ #
24
+ DEFAULT_FEDERATION_CLIENT_CIRCUIT_BREAKER_STRATEGY = CircuitBreakerStrategy(failure_threshold=3)
25
+ GLOBAL_FEDERATION_CLIENT_CIRCUIT_BREAKER_STRATEGY = None
26
+ if os.environ.get('OCI_SDK_AUTH_CLIENT_CIRCUIT_BREAKER_ENABLED', 'true').lower() == 'true':
27
+ logger.info('Default Auth client Circuit breaker strategy enabled')
28
+ GLOBAL_FEDERATION_CLIENT_CIRCUIT_BREAKER_STRATEGY = DEFAULT_FEDERATION_CLIENT_CIRCUIT_BREAKER_STRATEGY
29
+ else:
30
+ logger.info('Default Auth client Circuit breaker strategy disabled')
31
+ GLOBAL_FEDERATION_CLIENT_CIRCUIT_BREAKER_STRATEGY = NoCircuitBreakerStrategy()
32
+
9
33
  #: Default Circuit Breaker Strategy provided for convenience which has the following values configured by default.
10
34
  #: Detailed information on Circuit Breakers and their configuration can be found at the
11
35
  #: link (https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/circuit_breakers.html)
@@ -23,8 +47,6 @@ import logging
23
47
  #:
24
48
  DEFAULT_CIRCUIT_BREAKER_STRATEGY = CircuitBreakerStrategy()
25
49
 
26
- logger = logging.getLogger(name=__name__)
27
-
28
50
  #: A Circuit Breaker strategy which can be set by the user to modify the SDK retry behavior globally. Initially set to ``None``, users
29
51
  #: can pass to it a Circuit Breaker Strategy which can be:-
30
52
  #:
@@ -3,7 +3,9 @@
3
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
4
 
5
5
  # Contains classes for defining and building circuit breaker strategies.
6
+ from circuitbreaker import CircuitBreaker
6
7
  import logging
8
+ import uuid
7
9
  from oci.exceptions import TransientServiceError
8
10
 
9
11
  logger = logging.getLogger(__name__)
@@ -67,7 +69,7 @@ class CircuitBreakerStrategy(object):
67
69
  self.expected_exception = TransientServiceError
68
70
  self.failure_statuses_and_codes = kwargs.get('failure_statuses_and_codes',
69
71
  DEFAULT_CIRCUIT_BREAKER_FAILURE_STATUSES_AND_CODES)
70
- self.name = kwargs.get('name', None)
72
+ self.name = kwargs.get('name', str(uuid.uuid4()))
71
73
 
72
74
  def is_transient_error(self, status_code, service_code):
73
75
  logger.debug('Is transient error status code:{} error code:{}'.format(status_code, service_code))
@@ -80,6 +82,14 @@ class CircuitBreakerStrategy(object):
80
82
  'status code:{} not in failure_statuses_and_codes:{}'.format(status_code, self.failure_statuses_and_codes))
81
83
  return False
82
84
 
85
+ def get_circuit_breaker(self):
86
+ return CircuitBreaker(
87
+ failure_threshold=self.failure_threshold,
88
+ recovery_timeout=self.recovery_timeout,
89
+ expected_exception=self.expected_exception,
90
+ name=self.name
91
+ )
92
+
83
93
 
84
94
  class NoCircuitBreakerStrategy(object):
85
95
  """
@@ -150,7 +150,7 @@ class CommonClient(object):
150
150
  :rtype: :class:`~oci.response.Response`
151
151
 
152
152
  :example:
153
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/cloudbridge/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
153
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.138.0/cloudbridge/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
154
154
  """
155
155
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
156
156
  required_arguments = ['workRequestId']
@@ -248,7 +248,7 @@ class CommonClient(object):
248
248
  :rtype: :class:`~oci.response.Response`
249
249
 
250
250
  :example:
251
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/cloudbridge/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
251
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.138.0/cloudbridge/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
252
252
  """
253
253
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
254
254
  required_arguments = ['workRequestId']
@@ -362,7 +362,7 @@ class CommonClient(object):
362
362
  :rtype: :class:`~oci.response.Response`
363
363
 
364
364
  :example:
365
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/cloudbridge/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
365
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.138.0/cloudbridge/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
366
366
  """
367
367
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
368
368
  required_arguments = ['workRequestId']
@@ -504,7 +504,7 @@ class CommonClient(object):
504
504
  :rtype: :class:`~oci.response.Response`
505
505
 
506
506
  :example:
507
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/cloudbridge/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
507
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.138.0/cloudbridge/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
508
508
  """
509
509
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
510
510
  required_arguments = ['workRequestId']
@@ -657,7 +657,7 @@ class CommonClient(object):
657
657
  :rtype: :class:`~oci.response.Response`
658
658
 
659
659
  :example:
660
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/cloudbridge/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
660
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.138.0/cloudbridge/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
661
661
  """
662
662
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
663
663
  required_arguments = ['compartmentId']