oci 2.123.0__py3-none-any.whl → 2.124.1__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 (295) 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 +22 -22
  5. oci/ai_language/ai_service_language_client.py +36 -36
  6. oci/ai_speech/ai_service_speech_client.py +122 -9
  7. oci/ai_speech/ai_service_speech_client_composite_operations.py +59 -0
  8. oci/ai_speech/models/transcription_model_details.py +390 -7
  9. oci/ai_vision/ai_service_vision_client.py +25 -25
  10. oci/analytics/analytics_client.py +23 -23
  11. oci/announcements_service/announcement_client.py +4 -4
  12. oci/announcements_service/announcement_subscription_client.py +9 -9
  13. oci/announcements_service/announcements_preferences_client.py +4 -4
  14. oci/apigateway/api_gateway_client.py +21 -21
  15. oci/apigateway/deployment_client.py +6 -6
  16. oci/apigateway/gateway_client.py +6 -6
  17. oci/apigateway/subscribers_client.py +6 -6
  18. oci/apigateway/usage_plans_client.py +6 -6
  19. oci/apigateway/work_requests_client.py +5 -5
  20. oci/apm_config/config_client.py +8 -8
  21. oci/apm_control_plane/apm_domain_client.py +14 -14
  22. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/application_migration/application_migration_client.py +19 -19
  26. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  27. oci/artifacts/artifacts_client.py +32 -32
  28. oci/audit/audit_client.py +3 -3
  29. oci/autoscaling/auto_scaling_client.py +11 -11
  30. oci/bastion/bastion_client.py +15 -15
  31. oci/bds/bds_client.py +51 -51
  32. oci/blockchain/blockchain_platform_client.py +27 -27
  33. oci/budget/budget_client.py +10 -10
  34. oci/capacity_management/capacity_management_client.py +19 -19
  35. oci/certificates/certificates_client.py +5 -5
  36. oci/certificates_management/certificates_management_client.py +32 -32
  37. oci/cims/incident_client.py +8 -8
  38. oci/cims/user_client.py +1 -1
  39. oci/cloud_bridge/common_client.py +5 -5
  40. oci/cloud_bridge/discovery_client.py +14 -14
  41. oci/cloud_bridge/inventory_client.py +16 -16
  42. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  43. oci/cloud_guard/cloud_guard_client.py +133 -133
  44. oci/cloud_migrations/migration_client.py +43 -43
  45. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  46. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  47. oci/compute_instance_agent/plugin_client.py +2 -2
  48. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  49. oci/container_engine/container_engine_client.py +44 -44
  50. oci/container_instances/container_instance_client.py +21 -21
  51. oci/container_instances/models/__init__.py +2 -0
  52. oci/container_instances/models/container_capabilities.py +239 -0
  53. oci/container_instances/models/create_linux_security_context_details.py +29 -2
  54. oci/container_instances/models/linux_security_context.py +29 -2
  55. oci/core/blockstorage_client.py +60 -60
  56. oci/core/compute_client.py +99 -99
  57. oci/core/compute_management_client.py +32 -32
  58. oci/core/models/emulated_volume_attachment.py +9 -2
  59. oci/core/models/i_scsi_volume_attachment.py +7 -0
  60. oci/core/models/paravirtualized_volume_attachment.py +9 -2
  61. oci/core/models/volume_attachment.py +35 -2
  62. oci/core/virtual_network_client.py +242 -242
  63. oci/dashboard_service/dashboard_client.py +6 -6
  64. oci/dashboard_service/dashboard_group_client.py +6 -6
  65. oci/data_catalog/data_catalog_client.py +148 -148
  66. oci/data_flow/data_flow_client.py +42 -42
  67. oci/data_integration/data_integration_client.py +163 -163
  68. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  69. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  70. oci/data_safe/data_safe_client.py +272 -272
  71. oci/data_science/data_science_client.py +91 -91
  72. oci/data_science/models/__init__.py +22 -0
  73. oci/data_science/models/auto_scaling_policy.py +148 -0
  74. oci/data_science/models/auto_scaling_policy_details.py +104 -0
  75. oci/data_science/models/custom_expression_query_scaling_configuration.py +124 -0
  76. oci/data_science/models/custom_metric_expression_rule.py +105 -0
  77. oci/data_science/models/fixed_size_scaling_policy.py +1 -1
  78. oci/data_science/models/instance_pool_model_deployment_system_data.py +82 -0
  79. oci/data_science/models/metric_expression_rule.py +121 -0
  80. oci/data_science/models/model_configuration_details.py +33 -2
  81. oci/data_science/models/model_deployment.py +27 -0
  82. oci/data_science/models/model_deployment_instance_shape_config_details.py +61 -2
  83. oci/data_science/models/model_deployment_system_data.py +101 -0
  84. oci/data_science/models/predefined_expression_threshold_scaling_configuration.py +97 -0
  85. oci/data_science/models/predefined_metric_expression_rule.py +153 -0
  86. oci/data_science/models/scaling_configuration.py +185 -0
  87. oci/data_science/models/scaling_policy.py +11 -3
  88. oci/data_science/models/threshold_based_auto_scaling_policy_details.py +187 -0
  89. oci/data_science/models/update_model_configuration_details.py +33 -2
  90. oci/database/database_client.py +327 -327
  91. oci/database/models/autonomous_container_database.py +158 -2
  92. oci/database/models/autonomous_container_database_summary.py +158 -2
  93. oci/database/models/autonomous_database.py +80 -2
  94. oci/database/models/autonomous_database_summary.py +80 -2
  95. oci/database/models/create_autonomous_container_database_details.py +158 -2
  96. oci/database/models/create_autonomous_database_base.py +31 -0
  97. oci/database/models/create_autonomous_database_clone_details.py +7 -0
  98. oci/database/models/create_autonomous_database_details.py +7 -0
  99. oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
  100. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
  101. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
  102. oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
  103. oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
  104. oci/database/models/update_autonomous_database_details.py +31 -0
  105. oci/database_management/db_management_client.py +194 -194
  106. oci/database_management/diagnosability_client.py +4 -4
  107. oci/database_management/managed_my_sql_databases_client.py +6 -6
  108. oci/database_management/perfhub_client.py +1 -1
  109. oci/database_management/sql_tuning_client.py +17 -17
  110. oci/database_migration/database_migration_client.py +41 -41
  111. oci/database_tools/database_tools_client.py +23 -23
  112. oci/desktops/desktop_service_client.py +42 -42
  113. oci/devops/devops_client.py +89 -89
  114. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  115. oci/dns/dns_client.py +52 -52
  116. oci/dts/appliance_export_job_client.py +6 -6
  117. oci/dts/shipping_vendors_client.py +1 -1
  118. oci/dts/transfer_appliance_client.py +8 -8
  119. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  120. oci/dts/transfer_device_client.py +5 -5
  121. oci/dts/transfer_job_client.py +6 -6
  122. oci/dts/transfer_package_client.py +7 -7
  123. oci/em_warehouse/em_data_lake_client.py +13 -13
  124. oci/em_warehouse/em_warehouse_client.py +13 -13
  125. oci/email/email_client.py +25 -25
  126. oci/events/events_client.py +6 -6
  127. oci/file_storage/file_storage_client.py +50 -50
  128. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  129. oci/functions/functions_invoke_client.py +1 -1
  130. oci/functions/functions_management_client.py +16 -16
  131. oci/fusion_apps/data_masking_activity_client.py +3 -3
  132. oci/fusion_apps/fusion_applications_client.py +39 -39
  133. oci/fusion_apps/fusion_environment_client.py +15 -15
  134. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  135. oci/fusion_apps/refresh_activity_client.py +4 -4
  136. oci/fusion_apps/scheduled_activity_client.py +2 -2
  137. oci/fusion_apps/service_attachment_client.py +2 -2
  138. oci/generative_ai/generative_ai_client.py +22 -22
  139. oci/generative_ai_inference/generative_ai_inference_client.py +3 -3
  140. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  141. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  142. oci/golden_gate/golden_gate_client.py +61 -61
  143. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  144. oci/governance_rules_control_plane/work_request_client.py +5 -5
  145. oci/healthchecks/health_checks_client.py +17 -17
  146. oci/identity/identity_client.py +145 -145
  147. oci/identity_data_plane/dataplane_client.py +2 -2
  148. oci/identity_domains/identity_domains_client.py +300 -300
  149. oci/integration/integration_instance_client.py +15 -15
  150. oci/jms/java_management_service_client.py +66 -66
  151. oci/jms_java_downloads/java_download_client.py +25 -25
  152. oci/key_management/ekm_client.py +5 -5
  153. oci/key_management/kms_crypto_client.py +6 -6
  154. oci/key_management/kms_hsm_cluster_client.py +12 -12
  155. oci/key_management/kms_management_client.py +21 -21
  156. oci/key_management/kms_vault_client.py +14 -14
  157. oci/license_manager/license_manager_client.py +18 -18
  158. oci/limits/limits_client.py +4 -4
  159. oci/limits/quotas_client.py +7 -7
  160. oci/load_balancer/load_balancer_client.py +61 -61
  161. oci/lockbox/lockbox_client.py +23 -23
  162. oci/log_analytics/log_analytics_client.py +193 -193
  163. oci/logging/logging_management_client.py +30 -30
  164. oci/loggingingestion/logging_client.py +1 -1
  165. oci/loggingsearch/log_search_client.py +1 -1
  166. oci/management_agent/management_agent_client.py +28 -28
  167. oci/management_dashboard/dashx_apis_client.py +14 -14
  168. oci/marketplace/account_client.py +2 -2
  169. oci/marketplace/marketplace_client.py +30 -30
  170. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  171. oci/media_services/media_services_client.py +60 -60
  172. oci/media_services/media_stream_client.py +2 -2
  173. oci/monitoring/monitoring_client.py +18 -18
  174. oci/mysql/channels_client.py +7 -7
  175. oci/mysql/db_backups_client.py +6 -6
  176. oci/mysql/db_system_client.py +17 -17
  177. oci/mysql/mysqlaas_client.py +7 -7
  178. oci/mysql/replicas_client.py +5 -5
  179. oci/mysql/work_requests_client.py +4 -4
  180. oci/network_firewall/network_firewall_client.py +80 -80
  181. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  182. oci/nosql/nosql_client.py +24 -24
  183. oci/object_storage/object_storage_client.py +50 -50
  184. oci/oce/oce_instance_client.py +10 -10
  185. oci/oci_control_center/occ_metrics_client.py +3 -3
  186. oci/ocvp/cluster_client.py +5 -5
  187. oci/ocvp/esxi_host_client.py +8 -8
  188. oci/ocvp/sddc_client.py +14 -14
  189. oci/ocvp/work_request_client.py +4 -4
  190. oci/oda/management_client.py +59 -59
  191. oci/oda/oda_client.py +17 -17
  192. oci/oda/odapackage_client.py +7 -7
  193. oci/onesubscription/billing_schedule_client.py +1 -1
  194. oci/onesubscription/commitment_client.py +2 -2
  195. oci/onesubscription/computed_usage_client.py +3 -3
  196. oci/onesubscription/invoice_summary_client.py +2 -2
  197. oci/onesubscription/organization_subscription_client.py +1 -1
  198. oci/onesubscription/ratecard_client.py +1 -1
  199. oci/onesubscription/subscribed_service_client.py +2 -2
  200. oci/onesubscription/subscription_client.py +1 -1
  201. oci/ons/notification_control_plane_client.py +6 -6
  202. oci/ons/notification_data_plane_client.py +10 -10
  203. oci/opa/opa_instance_client.py +11 -11
  204. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  205. oci/opensearch/opensearch_cluster_client.py +14 -14
  206. oci/operator_access_control/access_requests_client.py +10 -10
  207. oci/operator_access_control/operator_actions_client.py +2 -2
  208. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  209. oci/operator_access_control/operator_control_client.py +6 -6
  210. oci/opsi/models/__init__.py +2 -0
  211. oci/opsi/models/create_news_report_details.py +100 -2
  212. oci/opsi/models/news_content_types.py +189 -3
  213. oci/opsi/models/news_report.py +100 -2
  214. oci/opsi/models/news_report_summary.py +100 -2
  215. oci/opsi/models/update_host_insight_details.py +4 -0
  216. oci/opsi/models/update_news_report_details.py +162 -2
  217. oci/opsi/models/update_pe_comanaged_host_insight_details.py +65 -0
  218. oci/opsi/operations_insights_client.py +175 -175
  219. oci/optimizer/optimizer_client.py +26 -26
  220. oci/os_management/event_client.py +8 -8
  221. oci/os_management/os_management_client.py +69 -69
  222. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  223. oci/os_management_hub/managed_instance_client.py +22 -22
  224. oci/os_management_hub/managed_instance_group_client.py +22 -22
  225. oci/os_management_hub/management_station_client.py +8 -8
  226. oci/os_management_hub/onboarding_client.py +5 -5
  227. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  228. oci/os_management_hub/scheduled_job_client.py +6 -6
  229. oci/os_management_hub/software_source_client.py +22 -22
  230. oci/os_management_hub/work_request_client.py +4 -4
  231. oci/osp_gateway/address_rule_service_client.py +2 -2
  232. oci/osp_gateway/address_service_client.py +3 -3
  233. oci/osp_gateway/invoice_service_client.py +6 -6
  234. oci/osp_gateway/subscription_service_client.py +6 -6
  235. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  236. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  237. oci/osub_subscription/commitment_client.py +2 -2
  238. oci/osub_subscription/ratecard_client.py +1 -1
  239. oci/osub_subscription/subscription_client.py +1 -1
  240. oci/osub_usage/computed_usage_client.py +3 -3
  241. oci/psql/postgresql_client.py +33 -33
  242. oci/queue/queue_admin_client.py +11 -11
  243. oci/queue/queue_client.py +8 -8
  244. oci/recovery/database_recovery_client.py +23 -23
  245. oci/redis/redis_cluster_client.py +11 -11
  246. oci/resource_manager/resource_manager_client.py +52 -52
  247. oci/resource_search/resource_search_client.py +3 -3
  248. oci/rover/rover_bundle_client.py +8 -8
  249. oci/rover/rover_cluster_client.py +8 -8
  250. oci/rover/rover_entitlement_client.py +6 -6
  251. oci/rover/rover_node_client.py +15 -15
  252. oci/rover/shape_client.py +1 -1
  253. oci/rover/work_requests_client.py +5 -5
  254. oci/sch/connector_plugins_client.py +4 -4
  255. oci/sch/service_connector_client.py +24 -24
  256. oci/secrets/secrets_client.py +3 -3
  257. oci/service_catalog/service_catalog_client.py +26 -26
  258. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  259. oci/service_mesh/service_mesh_client.py +48 -48
  260. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  261. oci/streaming/stream_admin_client.py +18 -18
  262. oci/streaming/stream_client.py +8 -8
  263. oci/tenant_manager_control_plane/domain_client.py +5 -5
  264. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  265. oci/tenant_manager_control_plane/governance_client.py +2 -2
  266. oci/tenant_manager_control_plane/link_client.py +3 -3
  267. oci/tenant_manager_control_plane/orders_client.py +2 -2
  268. oci/tenant_manager_control_plane/organization_client.py +10 -10
  269. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  270. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  271. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  272. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  273. oci/threat_intelligence/threatintel_client.py +5 -5
  274. oci/usage/resources_client.py +2 -2
  275. oci/usage/rewards_client.py +6 -6
  276. oci/usage/usagelimits_client.py +1 -1
  277. oci/usage_api/usageapi_client.py +28 -28
  278. oci/vault/vaults_client.py +13 -13
  279. oci/vbs_inst/vbs_instance_client.py +10 -10
  280. oci/version.py +1 -1
  281. oci/visual_builder/vb_instance_client.py +13 -13
  282. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  283. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  284. oci/waa/waa_client.py +13 -13
  285. oci/waa/work_request_client.py +4 -4
  286. oci/waas/redirect_client.py +6 -6
  287. oci/waas/waas_client.py +66 -66
  288. oci/waf/waf_client.py +24 -24
  289. oci/work_requests/work_request_client.py +4 -4
  290. {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/METADATA +1 -1
  291. {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/RECORD +295 -282
  292. {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/LICENSE.txt +0 -0
  293. {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  294. {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/WHEEL +0 -0
  295. {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,239 @@
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: 20210415
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 ContainerCapabilities(object):
14
+ """
15
+ Linux Container capabilities to configure capabilities of container.
16
+ """
17
+
18
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
19
+ #: This constant has a value of "CAP_CHOWN"
20
+ ADD_CAPABILITIES_CAP_CHOWN = "CAP_CHOWN"
21
+
22
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
23
+ #: This constant has a value of "CAP_DAC_OVERRIDE"
24
+ ADD_CAPABILITIES_CAP_DAC_OVERRIDE = "CAP_DAC_OVERRIDE"
25
+
26
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
27
+ #: This constant has a value of "CAP_FSETID"
28
+ ADD_CAPABILITIES_CAP_FSETID = "CAP_FSETID"
29
+
30
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
31
+ #: This constant has a value of "CAP_FOWNER"
32
+ ADD_CAPABILITIES_CAP_FOWNER = "CAP_FOWNER"
33
+
34
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
35
+ #: This constant has a value of "CAP_MKNOD"
36
+ ADD_CAPABILITIES_CAP_MKNOD = "CAP_MKNOD"
37
+
38
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
39
+ #: This constant has a value of "CAP_NET_RAW"
40
+ ADD_CAPABILITIES_CAP_NET_RAW = "CAP_NET_RAW"
41
+
42
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
43
+ #: This constant has a value of "CAP_SETGID"
44
+ ADD_CAPABILITIES_CAP_SETGID = "CAP_SETGID"
45
+
46
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
47
+ #: This constant has a value of "CAP_SETUID"
48
+ ADD_CAPABILITIES_CAP_SETUID = "CAP_SETUID"
49
+
50
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
51
+ #: This constant has a value of "CAP_SETFCAP"
52
+ ADD_CAPABILITIES_CAP_SETFCAP = "CAP_SETFCAP"
53
+
54
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
55
+ #: This constant has a value of "CAP_SETPCAP"
56
+ ADD_CAPABILITIES_CAP_SETPCAP = "CAP_SETPCAP"
57
+
58
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
59
+ #: This constant has a value of "CAP_NET_BIND_SERVICE"
60
+ ADD_CAPABILITIES_CAP_NET_BIND_SERVICE = "CAP_NET_BIND_SERVICE"
61
+
62
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
63
+ #: This constant has a value of "CAP_SYS_CHROOT"
64
+ ADD_CAPABILITIES_CAP_SYS_CHROOT = "CAP_SYS_CHROOT"
65
+
66
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
67
+ #: This constant has a value of "CAP_KILL"
68
+ ADD_CAPABILITIES_CAP_KILL = "CAP_KILL"
69
+
70
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
71
+ #: This constant has a value of "CAP_AUDIT_WRITE"
72
+ ADD_CAPABILITIES_CAP_AUDIT_WRITE = "CAP_AUDIT_WRITE"
73
+
74
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
75
+ #: This constant has a value of "ALL"
76
+ ADD_CAPABILITIES_ALL = "ALL"
77
+
78
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
79
+ #: This constant has a value of "CAP_CHOWN"
80
+ DROP_CAPABILITIES_CAP_CHOWN = "CAP_CHOWN"
81
+
82
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
83
+ #: This constant has a value of "CAP_DAC_OVERRIDE"
84
+ DROP_CAPABILITIES_CAP_DAC_OVERRIDE = "CAP_DAC_OVERRIDE"
85
+
86
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
87
+ #: This constant has a value of "CAP_FSETID"
88
+ DROP_CAPABILITIES_CAP_FSETID = "CAP_FSETID"
89
+
90
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
91
+ #: This constant has a value of "CAP_FOWNER"
92
+ DROP_CAPABILITIES_CAP_FOWNER = "CAP_FOWNER"
93
+
94
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
95
+ #: This constant has a value of "CAP_MKNOD"
96
+ DROP_CAPABILITIES_CAP_MKNOD = "CAP_MKNOD"
97
+
98
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
99
+ #: This constant has a value of "CAP_NET_RAW"
100
+ DROP_CAPABILITIES_CAP_NET_RAW = "CAP_NET_RAW"
101
+
102
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
103
+ #: This constant has a value of "CAP_SETGID"
104
+ DROP_CAPABILITIES_CAP_SETGID = "CAP_SETGID"
105
+
106
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
107
+ #: This constant has a value of "CAP_SETUID"
108
+ DROP_CAPABILITIES_CAP_SETUID = "CAP_SETUID"
109
+
110
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
111
+ #: This constant has a value of "CAP_SETFCAP"
112
+ DROP_CAPABILITIES_CAP_SETFCAP = "CAP_SETFCAP"
113
+
114
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
115
+ #: This constant has a value of "CAP_SETPCAP"
116
+ DROP_CAPABILITIES_CAP_SETPCAP = "CAP_SETPCAP"
117
+
118
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
119
+ #: This constant has a value of "CAP_NET_BIND_SERVICE"
120
+ DROP_CAPABILITIES_CAP_NET_BIND_SERVICE = "CAP_NET_BIND_SERVICE"
121
+
122
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
123
+ #: This constant has a value of "CAP_SYS_CHROOT"
124
+ DROP_CAPABILITIES_CAP_SYS_CHROOT = "CAP_SYS_CHROOT"
125
+
126
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
127
+ #: This constant has a value of "CAP_KILL"
128
+ DROP_CAPABILITIES_CAP_KILL = "CAP_KILL"
129
+
130
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
131
+ #: This constant has a value of "CAP_AUDIT_WRITE"
132
+ DROP_CAPABILITIES_CAP_AUDIT_WRITE = "CAP_AUDIT_WRITE"
133
+
134
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
135
+ #: This constant has a value of "ALL"
136
+ DROP_CAPABILITIES_ALL = "ALL"
137
+
138
+ def __init__(self, **kwargs):
139
+ """
140
+ Initializes a new ContainerCapabilities object with values from keyword arguments.
141
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
142
+
143
+ :param add_capabilities:
144
+ The value to assign to the add_capabilities property of this ContainerCapabilities.
145
+ Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
146
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
147
+ :type add_capabilities: list[str]
148
+
149
+ :param drop_capabilities:
150
+ The value to assign to the drop_capabilities property of this ContainerCapabilities.
151
+ Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
152
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
153
+ :type drop_capabilities: list[str]
154
+
155
+ """
156
+ self.swagger_types = {
157
+ 'add_capabilities': 'list[str]',
158
+ 'drop_capabilities': 'list[str]'
159
+ }
160
+
161
+ self.attribute_map = {
162
+ 'add_capabilities': 'addCapabilities',
163
+ 'drop_capabilities': 'dropCapabilities'
164
+ }
165
+
166
+ self._add_capabilities = None
167
+ self._drop_capabilities = None
168
+
169
+ @property
170
+ def add_capabilities(self):
171
+ """
172
+ Gets the add_capabilities of this ContainerCapabilities.
173
+ A list of additional configurable container capabilities.
174
+
175
+ Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
176
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
177
+
178
+
179
+ :return: The add_capabilities of this ContainerCapabilities.
180
+ :rtype: list[str]
181
+ """
182
+ return self._add_capabilities
183
+
184
+ @add_capabilities.setter
185
+ def add_capabilities(self, add_capabilities):
186
+ """
187
+ Sets the add_capabilities of this ContainerCapabilities.
188
+ A list of additional configurable container capabilities.
189
+
190
+
191
+ :param add_capabilities: The add_capabilities of this ContainerCapabilities.
192
+ :type: list[str]
193
+ """
194
+ allowed_values = ["CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL"]
195
+ if add_capabilities:
196
+ add_capabilities[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in add_capabilities]
197
+ self._add_capabilities = add_capabilities
198
+
199
+ @property
200
+ def drop_capabilities(self):
201
+ """
202
+ Gets the drop_capabilities of this ContainerCapabilities.
203
+ A list of container capabilities that can be dropped.
204
+
205
+ Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
206
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
207
+
208
+
209
+ :return: The drop_capabilities of this ContainerCapabilities.
210
+ :rtype: list[str]
211
+ """
212
+ return self._drop_capabilities
213
+
214
+ @drop_capabilities.setter
215
+ def drop_capabilities(self, drop_capabilities):
216
+ """
217
+ Sets the drop_capabilities of this ContainerCapabilities.
218
+ A list of container capabilities that can be dropped.
219
+
220
+
221
+ :param drop_capabilities: The drop_capabilities of this ContainerCapabilities.
222
+ :type: list[str]
223
+ """
224
+ allowed_values = ["CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL"]
225
+ if drop_capabilities:
226
+ drop_capabilities[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in drop_capabilities]
227
+ self._drop_capabilities = drop_capabilities
228
+
229
+ def __repr__(self):
230
+ return formatted_flat_dict(self)
231
+
232
+ def __eq__(self, other):
233
+ if other is None:
234
+ return False
235
+
236
+ return self.__dict__ == other.__dict__
237
+
238
+ def __ne__(self, other):
239
+ return not self == other
@@ -41,13 +41,18 @@ class CreateLinuxSecurityContextDetails(CreateSecurityContextDetails):
41
41
  The value to assign to the is_root_file_system_readonly property of this CreateLinuxSecurityContextDetails.
42
42
  :type is_root_file_system_readonly: bool
43
43
 
44
+ :param capabilities:
45
+ The value to assign to the capabilities property of this CreateLinuxSecurityContextDetails.
46
+ :type capabilities: oci.container_instances.models.ContainerCapabilities
47
+
44
48
  """
45
49
  self.swagger_types = {
46
50
  'security_context_type': 'str',
47
51
  'run_as_user': 'int',
48
52
  'run_as_group': 'int',
49
53
  'is_non_root_user_check_enabled': 'bool',
50
- 'is_root_file_system_readonly': 'bool'
54
+ 'is_root_file_system_readonly': 'bool',
55
+ 'capabilities': 'ContainerCapabilities'
51
56
  }
52
57
 
53
58
  self.attribute_map = {
@@ -55,7 +60,8 @@ class CreateLinuxSecurityContextDetails(CreateSecurityContextDetails):
55
60
  'run_as_user': 'runAsUser',
56
61
  'run_as_group': 'runAsGroup',
57
62
  'is_non_root_user_check_enabled': 'isNonRootUserCheckEnabled',
58
- 'is_root_file_system_readonly': 'isRootFileSystemReadonly'
63
+ 'is_root_file_system_readonly': 'isRootFileSystemReadonly',
64
+ 'capabilities': 'capabilities'
59
65
  }
60
66
 
61
67
  self._security_context_type = None
@@ -63,6 +69,7 @@ class CreateLinuxSecurityContextDetails(CreateSecurityContextDetails):
63
69
  self._run_as_group = None
64
70
  self._is_non_root_user_check_enabled = None
65
71
  self._is_root_file_system_readonly = None
72
+ self._capabilities = None
66
73
  self._security_context_type = 'LINUX'
67
74
 
68
75
  @property
@@ -161,6 +168,26 @@ class CreateLinuxSecurityContextDetails(CreateSecurityContextDetails):
161
168
  """
162
169
  self._is_root_file_system_readonly = is_root_file_system_readonly
163
170
 
171
+ @property
172
+ def capabilities(self):
173
+ """
174
+ Gets the capabilities of this CreateLinuxSecurityContextDetails.
175
+
176
+ :return: The capabilities of this CreateLinuxSecurityContextDetails.
177
+ :rtype: oci.container_instances.models.ContainerCapabilities
178
+ """
179
+ return self._capabilities
180
+
181
+ @capabilities.setter
182
+ def capabilities(self, capabilities):
183
+ """
184
+ Sets the capabilities of this CreateLinuxSecurityContextDetails.
185
+
186
+ :param capabilities: The capabilities of this CreateLinuxSecurityContextDetails.
187
+ :type: oci.container_instances.models.ContainerCapabilities
188
+ """
189
+ self._capabilities = capabilities
190
+
164
191
  def __repr__(self):
165
192
  return formatted_flat_dict(self)
166
193
 
@@ -42,13 +42,18 @@ class LinuxSecurityContext(SecurityContext):
42
42
  The value to assign to the is_root_file_system_readonly property of this LinuxSecurityContext.
43
43
  :type is_root_file_system_readonly: bool
44
44
 
45
+ :param capabilities:
46
+ The value to assign to the capabilities property of this LinuxSecurityContext.
47
+ :type capabilities: oci.container_instances.models.ContainerCapabilities
48
+
45
49
  """
46
50
  self.swagger_types = {
47
51
  'security_context_type': 'str',
48
52
  'run_as_user': 'int',
49
53
  'run_as_group': 'int',
50
54
  'is_non_root_user_check_enabled': 'bool',
51
- 'is_root_file_system_readonly': 'bool'
55
+ 'is_root_file_system_readonly': 'bool',
56
+ 'capabilities': 'ContainerCapabilities'
52
57
  }
53
58
 
54
59
  self.attribute_map = {
@@ -56,7 +61,8 @@ class LinuxSecurityContext(SecurityContext):
56
61
  'run_as_user': 'runAsUser',
57
62
  'run_as_group': 'runAsGroup',
58
63
  'is_non_root_user_check_enabled': 'isNonRootUserCheckEnabled',
59
- 'is_root_file_system_readonly': 'isRootFileSystemReadonly'
64
+ 'is_root_file_system_readonly': 'isRootFileSystemReadonly',
65
+ 'capabilities': 'capabilities'
60
66
  }
61
67
 
62
68
  self._security_context_type = None
@@ -64,6 +70,7 @@ class LinuxSecurityContext(SecurityContext):
64
70
  self._run_as_group = None
65
71
  self._is_non_root_user_check_enabled = None
66
72
  self._is_root_file_system_readonly = None
73
+ self._capabilities = None
67
74
  self._security_context_type = 'LINUX'
68
75
 
69
76
  @property
@@ -162,6 +169,26 @@ class LinuxSecurityContext(SecurityContext):
162
169
  """
163
170
  self._is_root_file_system_readonly = is_root_file_system_readonly
164
171
 
172
+ @property
173
+ def capabilities(self):
174
+ """
175
+ Gets the capabilities of this LinuxSecurityContext.
176
+
177
+ :return: The capabilities of this LinuxSecurityContext.
178
+ :rtype: oci.container_instances.models.ContainerCapabilities
179
+ """
180
+ return self._capabilities
181
+
182
+ @capabilities.setter
183
+ def capabilities(self, capabilities):
184
+ """
185
+ Sets the capabilities of this LinuxSecurityContext.
186
+
187
+ :param capabilities: The capabilities of this LinuxSecurityContext.
188
+ :type: oci.container_instances.models.ContainerCapabilities
189
+ """
190
+ self._capabilities = capabilities
191
+
165
192
  def __repr__(self):
166
193
  return formatted_flat_dict(self)
167
194