oci 2.135.1__py3-none-any.whl → 2.136.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 (523) 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/autoscaling/auto_scaling_client.py +11 -11
  29. oci/bastion/bastion_client.py +15 -15
  30. oci/bds/bds_client.py +72 -72
  31. oci/blockchain/blockchain_platform_client.py +27 -27
  32. oci/budget/budget_client.py +10 -10
  33. oci/capacity_management/capacity_management_client.py +32 -32
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +8 -8
  37. oci/cloud_bridge/common_client.py +5 -5
  38. oci/cloud_bridge/discovery_client.py +14 -14
  39. oci/cloud_bridge/inventory_client.py +16 -16
  40. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  41. oci/cloud_guard/cloud_guard_client.py +155 -155
  42. oci/cloud_migrations/migration_client.py +43 -43
  43. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  44. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  45. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  46. oci/compute_instance_agent/plugin_client.py +2 -2
  47. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  48. oci/container_engine/container_engine_client.py +98 -94
  49. oci/container_engine/models/__init__.py +4 -0
  50. oci/container_engine/models/cluster.py +39 -4
  51. oci/container_engine/models/cluster_create_options.py +56 -2
  52. oci/container_engine/models/cluster_summary.py +6 -2
  53. oci/container_engine/models/node.py +6 -2
  54. oci/container_engine/models/node_pool.py +6 -2
  55. oci/container_engine/models/node_pool_summary.py +6 -2
  56. oci/container_engine/models/open_id_connect_discovery.py +72 -0
  57. oci/container_engine/models/open_id_connect_token_authentication_config.py +370 -0
  58. oci/container_engine/models/start_credential_rotation_details.py +2 -2
  59. oci/container_engine/models/update_cluster_options_details.py +56 -2
  60. oci/container_engine/models/work_request.py +7 -3
  61. oci/container_engine/models/work_request_summary.py +7 -3
  62. oci/container_engine/models/workload_mapping.py +35 -2
  63. oci/container_engine/models/workload_mapping_summary.py +35 -2
  64. oci/container_instances/container_instance_client.py +18 -18
  65. oci/core/blockstorage_client.py +60 -60
  66. oci/core/compute_client.py +102 -102
  67. oci/core/compute_management_client.py +32 -32
  68. oci/core/models/__init__.py +6 -0
  69. oci/core/models/block_volume_replica.py +43 -2
  70. oci/core/models/block_volume_replica_details.py +45 -2
  71. oci/core/models/block_volume_replica_info.py +43 -2
  72. oci/core/models/boot_volume_replica.py +43 -2
  73. oci/core/models/boot_volume_replica_details.py +45 -2
  74. oci/core/models/boot_volume_replica_info.py +43 -2
  75. oci/core/models/boot_volume_source_details.py +4 -0
  76. oci/core/models/boot_volume_source_from_boot_volume_backup_delta_details.py +143 -0
  77. oci/core/models/create_boot_volume_details.py +45 -2
  78. oci/core/models/create_volume_backup_policy_assignment_details.py +45 -2
  79. oci/core/models/create_volume_details.py +45 -2
  80. oci/core/models/create_volume_group_details.py +45 -2
  81. oci/core/models/instance_configuration_create_volume_details.py +45 -2
  82. oci/core/models/launch_attach_paravirtualized_volume_details.py +123 -0
  83. oci/core/models/launch_attach_volume_details.py +4 -0
  84. oci/core/models/volume_backup_policy_assignment.py +45 -2
  85. oci/core/models/volume_group_replica_details.py +45 -2
  86. oci/core/models/volume_group_replica_info.py +43 -2
  87. oci/core/models/volume_source_details.py +4 -0
  88. oci/core/models/volume_source_from_volume_backup_delta_details.py +143 -0
  89. oci/core/virtual_network_client.py +247 -247
  90. oci/dashboard_service/dashboard_client.py +6 -6
  91. oci/dashboard_service/dashboard_group_client.py +6 -6
  92. oci/data_catalog/data_catalog_client.py +149 -149
  93. oci/data_flow/data_flow_client.py +42 -42
  94. oci/data_integration/data_integration_client.py +163 -163
  95. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  96. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  97. oci/data_safe/data_safe_client.py +292 -292
  98. oci/data_science/data_science_client.py +91 -91
  99. oci/database/database_client.py +396 -396
  100. oci/database/models/cloud_vm_cluster.py +29 -2
  101. oci/database/models/cloud_vm_cluster_summary.py +29 -2
  102. oci/database/models/create_cloud_vm_cluster_details.py +29 -2
  103. oci/database/models/create_vm_cluster_details.py +29 -2
  104. oci/database/models/update_cloud_vm_cluster_details.py +29 -2
  105. oci/database/models/update_vm_cluster_details.py +29 -2
  106. oci/database/models/vm_cluster.py +29 -2
  107. oci/database/models/vm_cluster_summary.py +29 -2
  108. oci/database_management/db_management_client.py +211 -211
  109. oci/database_management/diagnosability_client.py +4 -4
  110. oci/database_management/managed_my_sql_databases_client.py +7 -7
  111. oci/database_management/perfhub_client.py +1 -1
  112. oci/database_management/sql_tuning_client.py +17 -17
  113. oci/database_migration/database_migration_client.py +42 -42
  114. oci/database_tools/database_tools_client.py +23 -23
  115. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  116. oci/delegate_access_control/work_request_client.py +4 -4
  117. oci/demand_signal/occ_demand_signal_client.py +7 -7
  118. oci/desktops/desktop_service_client.py +33 -22
  119. oci/desktops/models/__init__.py +18 -0
  120. oci/desktops/models/create_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  121. oci/desktops/models/create_desktop_pool_details.py +136 -4
  122. oci/desktops/models/create_desktop_pool_private_access_details.py +142 -0
  123. oci/desktops/models/create_desktop_pool_shape_config_details.py +170 -0
  124. oci/desktops/models/desktop_image.py +33 -2
  125. oci/desktops/models/desktop_network_configuration.py +14 -4
  126. oci/desktops/models/desktop_pool.py +136 -4
  127. oci/desktops/models/desktop_pool_private_access_details.py +212 -0
  128. oci/desktops/models/desktop_pool_shape_config.py +170 -0
  129. oci/desktops/models/desktop_session_lifecycle_actions.py +95 -0
  130. oci/desktops/models/disconnect_config.py +121 -0
  131. oci/desktops/models/inactivity_config.py +121 -0
  132. oci/desktops/models/update_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  133. oci/desktops/models/update_desktop_pool_details.py +29 -2
  134. oci/devops/devops_client.py +141 -141
  135. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  136. oci/dns/dns_client.py +389 -54
  137. oci/dns/dns_client_composite_operations.py +886 -193
  138. oci/dns/models/__init__.py +13 -1
  139. oci/dns/models/create_zone_details.py +101 -2
  140. oci/dns/models/dnssec_config.py +105 -0
  141. oci/dns/models/dnssec_key_version_ds_data.py +121 -0
  142. oci/dns/models/ksk_dnssec_key_version.py +550 -0
  143. oci/dns/models/promote_zone_dnssec_key_version_details.py +72 -0
  144. oci/dns/models/stage_zone_dnssec_key_version_details.py +72 -0
  145. oci/dns/models/update_zone_details.py +99 -0
  146. oci/dns/models/zone.py +126 -0
  147. oci/dns/models/zone_summary.py +128 -2
  148. oci/dns/models/zsk_dnssec_key_version.py +517 -0
  149. oci/dts/appliance_export_job_client.py +6 -6
  150. oci/dts/shipping_vendors_client.py +1 -1
  151. oci/dts/transfer_appliance_client.py +8 -8
  152. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  153. oci/dts/transfer_device_client.py +5 -5
  154. oci/dts/transfer_job_client.py +6 -6
  155. oci/dts/transfer_package_client.py +7 -7
  156. oci/em_warehouse/em_warehouse_client.py +13 -13
  157. oci/email/email_client.py +31 -31
  158. oci/email_data_plane/email_dp_client.py +1 -1
  159. oci/events/events_client.py +6 -6
  160. oci/file_storage/file_storage_client.py +54 -54
  161. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  162. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  163. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  164. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  165. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  166. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  167. oci/functions/functions_invoke_client.py +1 -1
  168. oci/functions/functions_management_client.py +16 -16
  169. oci/fusion_apps/fusion_applications_client.py +42 -42
  170. oci/fusion_apps/models/create_fusion_environment_admin_user_details.py +1 -1
  171. oci/generative_ai/generative_ai_client.py +22 -22
  172. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  173. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  174. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  175. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  176. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  177. oci/golden_gate/golden_gate_client.py +211 -70
  178. oci/golden_gate/models/__init__.py +8 -0
  179. oci/golden_gate/models/create_database_registration_details.py +4 -4
  180. oci/golden_gate/models/create_deployment_details.py +47 -0
  181. oci/golden_gate/models/create_ogg_deployment_details.py +29 -2
  182. oci/golden_gate/models/create_oracle_connection_details.py +4 -4
  183. oci/golden_gate/models/deployment.py +102 -0
  184. oci/{database_migration/models/agent_collection.py → golden_gate/models/deployment_environment_collection.py} +15 -15
  185. oci/golden_gate/models/deployment_environment_summary.py +389 -0
  186. oci/golden_gate/models/deployment_summary.py +103 -1
  187. oci/golden_gate/models/deployment_type_summary.py +3 -0
  188. oci/golden_gate/models/group_to_roles_mapping_details.py +197 -0
  189. oci/golden_gate/models/ogg_deployment.py +29 -2
  190. oci/golden_gate/models/test_connection_assignment_result.py +34 -2
  191. oci/golden_gate/models/update_database_registration_details.py +4 -4
  192. oci/golden_gate/models/update_deployment_details.py +47 -0
  193. oci/golden_gate/models/update_group_to_roles_mapping_details.py +197 -0
  194. oci/golden_gate/models/update_ogg_deployment_details.py +29 -2
  195. oci/golden_gate/models/update_oracle_connection_details.py +4 -4
  196. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  197. oci/governance_rules_control_plane/work_request_client.py +5 -5
  198. oci/healthchecks/health_checks_client.py +17 -17
  199. oci/identity/identity_client.py +145 -145
  200. oci/identity_data_plane/dataplane_client.py +2 -2
  201. oci/identity_domains/identity_domains_client.py +307 -307
  202. oci/integration/integration_instance_client.py +19 -19
  203. oci/jms/java_management_service_client.py +75 -75
  204. oci/jms_java_downloads/java_download_client.py +25 -25
  205. oci/key_management/ekm_client.py +5 -5
  206. oci/key_management/kms_crypto_client.py +6 -6
  207. oci/key_management/kms_hsm_cluster_client.py +12 -12
  208. oci/key_management/kms_management_client.py +21 -21
  209. oci/key_management/kms_vault_client.py +14 -14
  210. oci/license_manager/license_manager_client.py +18 -18
  211. oci/limits/limits_client.py +4 -4
  212. oci/limits/quotas_client.py +7 -7
  213. oci/load_balancer/load_balancer_client.py +61 -61
  214. oci/load_balancer/models/connection_configuration.py +47 -2
  215. oci/lockbox/lockbox_client.py +24 -24
  216. oci/log_analytics/log_analytics_client.py +193 -193
  217. oci/logging/logging_management_client.py +30 -30
  218. oci/loggingingestion/logging_client.py +1 -1
  219. oci/loggingsearch/log_search_client.py +1 -1
  220. oci/management_agent/management_agent_client.py +28 -28
  221. oci/management_dashboard/dashx_apis_client.py +14 -14
  222. oci/marketplace/account_client.py +2 -2
  223. oci/marketplace/marketplace_client.py +30 -30
  224. oci/marketplace_private_offer/attachment_client.py +5 -5
  225. oci/marketplace_private_offer/offer_client.py +6 -6
  226. oci/marketplace_publisher/attachment_client.py +5 -5
  227. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  228. oci/marketplace_publisher/offer_client.py +6 -6
  229. oci/media_services/media_services_client.py +60 -60
  230. oci/media_services/media_stream_client.py +2 -2
  231. oci/monitoring/monitoring_client.py +18 -18
  232. oci/mysql/channels_client.py +7 -7
  233. oci/mysql/db_backups_client.py +7 -7
  234. oci/mysql/db_system_client.py +17 -17
  235. oci/mysql/mysqlaas_client.py +7 -7
  236. oci/mysql/replicas_client.py +5 -5
  237. oci/mysql/work_requests_client.py +4 -4
  238. oci/network_firewall/network_firewall_client.py +86 -86
  239. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  240. oci/nosql/nosql_client.py +24 -24
  241. oci/object_storage/object_storage_client.py +55 -55
  242. oci/oce/oce_instance_client.py +10 -10
  243. oci/oci_control_center/occ_metrics_client.py +3 -3
  244. oci/ocvp/cluster_client.py +5 -5
  245. oci/ocvp/esxi_host_client.py +8 -8
  246. oci/ocvp/sddc_client.py +14 -14
  247. oci/ocvp/work_request_client.py +4 -4
  248. oci/oda/management_client.py +59 -59
  249. oci/oda/oda_client.py +17 -17
  250. oci/oda/odapackage_client.py +7 -7
  251. oci/onesubscription/billing_schedule_client.py +1 -1
  252. oci/onesubscription/commitment_client.py +2 -2
  253. oci/onesubscription/computed_usage_client.py +3 -3
  254. oci/onesubscription/invoice_summary_client.py +2 -2
  255. oci/onesubscription/organization_subscription_client.py +1 -1
  256. oci/onesubscription/ratecard_client.py +1 -1
  257. oci/onesubscription/subscribed_service_client.py +2 -2
  258. oci/onesubscription/subscription_client.py +1 -1
  259. oci/ons/notification_control_plane_client.py +6 -6
  260. oci/ons/notification_data_plane_client.py +10 -10
  261. oci/opa/opa_instance_client.py +13 -13
  262. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  263. oci/opensearch/opensearch_cluster_client.py +14 -14
  264. oci/operator_access_control/access_requests_client.py +10 -10
  265. oci/operator_access_control/operator_actions_client.py +2 -2
  266. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  267. oci/operator_access_control/operator_control_client.py +6 -6
  268. oci/opsi/models/__init__.py +6 -0
  269. oci/opsi/models/create_autonomous_database_insight_details.py +291 -0
  270. oci/opsi/models/create_database_insight_details.py +4 -0
  271. oci/opsi/models/credential_by_iam.py +58 -0
  272. oci/opsi/models/credential_by_vault.py +1 -1
  273. oci/opsi/models/credential_details.py +13 -5
  274. oci/opsi/models/credentials_by_source.py +1 -1
  275. oci/opsi/models/enable_autonomous_database_insight_details.py +301 -0
  276. oci/opsi/models/enable_database_insight_details.py +4 -0
  277. oci/opsi/operations_insights_client.py +179 -179
  278. oci/optimizer/optimizer_client.py +26 -26
  279. oci/os_management/event_client.py +8 -8
  280. oci/os_management/os_management_client.py +69 -69
  281. oci/os_management_hub/event_client.py +8 -8
  282. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  283. oci/os_management_hub/managed_instance_client.py +31 -31
  284. oci/os_management_hub/managed_instance_group_client.py +25 -25
  285. oci/os_management_hub/management_station_client.py +10 -10
  286. oci/os_management_hub/onboarding_client.py +6 -6
  287. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  288. oci/os_management_hub/scheduled_job_client.py +7 -7
  289. oci/os_management_hub/software_source_client.py +27 -27
  290. oci/os_management_hub/work_request_client.py +4 -4
  291. oci/osp_gateway/address_rule_service_client.py +1 -1
  292. oci/osp_gateway/address_service_client.py +2 -2
  293. oci/osp_gateway/invoice_service_client.py +5 -5
  294. oci/osp_gateway/subscription_service_client.py +5 -5
  295. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  296. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  297. oci/osub_subscription/commitment_client.py +2 -2
  298. oci/osub_subscription/ratecard_client.py +1 -1
  299. oci/osub_subscription/subscription_client.py +1 -1
  300. oci/osub_usage/computed_usage_client.py +3 -3
  301. oci/psql/postgresql_client.py +33 -33
  302. oci/queue/queue_admin_client.py +11 -11
  303. oci/queue/queue_client.py +8 -8
  304. oci/recovery/database_recovery_client.py +26 -26
  305. oci/redis/redis_cluster_client.py +12 -12
  306. oci/resource_manager/resource_manager_client.py +52 -52
  307. oci/resource_scheduler/schedule_client.py +13 -13
  308. oci/resource_search/resource_search_client.py +3 -3
  309. oci/rover/rover_bundle_client.py +8 -8
  310. oci/rover/rover_cluster_client.py +8 -8
  311. oci/rover/rover_entitlement_client.py +6 -6
  312. oci/rover/rover_node_client.py +15 -15
  313. oci/rover/shape_client.py +1 -1
  314. oci/rover/work_requests_client.py +5 -5
  315. oci/sch/connector_plugins_client.py +2 -2
  316. oci/sch/service_connector_client.py +12 -12
  317. oci/secrets/secrets_client.py +3 -3
  318. oci/security_attribute/security_attribute_client.py +36 -36
  319. oci/service_catalog/service_catalog_client.py +26 -26
  320. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  321. oci/service_mesh/service_mesh_client.py +48 -48
  322. oci/stack_monitoring/models/__init__.py +20 -0
  323. oci/stack_monitoring/models/create_maintenance_window_details.py +196 -0
  324. oci/stack_monitoring/models/create_maintenance_window_resource_details.py +111 -0
  325. oci/stack_monitoring/models/maintenance_window.py +439 -0
  326. oci/{database_migration/models/agent_image_collection.py → stack_monitoring/models/maintenance_window_collection.py} +15 -15
  327. oci/stack_monitoring/models/maintenance_window_schedule.py +109 -0
  328. oci/stack_monitoring/models/maintenance_window_summary.py +519 -0
  329. oci/stack_monitoring/models/monitored_resource_details.py +171 -0
  330. oci/stack_monitoring/models/one_time_maintenance_window_schedule.py +113 -0
  331. oci/stack_monitoring/models/recurrent_maintenance_window_schedule.py +191 -0
  332. oci/stack_monitoring/models/update_maintenance_window_details.py +130 -0
  333. oci/stack_monitoring/models/work_request.py +19 -3
  334. oci/stack_monitoring/models/work_request_summary.py +19 -3
  335. oci/stack_monitoring/stack_monitoring_client.py +921 -113
  336. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +214 -0
  337. oci/streaming/stream_admin_client.py +18 -18
  338. oci/streaming/stream_client.py +8 -8
  339. oci/tenant_manager_control_plane/domain_client.py +5 -5
  340. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  341. oci/tenant_manager_control_plane/governance_client.py +2 -2
  342. oci/tenant_manager_control_plane/link_client.py +3 -3
  343. oci/tenant_manager_control_plane/orders_client.py +2 -2
  344. oci/tenant_manager_control_plane/organization_client.py +10 -10
  345. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  346. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  347. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  348. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  349. oci/threat_intelligence/threatintel_client.py +5 -5
  350. oci/usage/resources_client.py +2 -2
  351. oci/usage/rewards_client.py +6 -6
  352. oci/usage/usagelimits_client.py +1 -1
  353. oci/usage_api/usageapi_client.py +33 -33
  354. oci/util.py +2 -1
  355. oci/vault/vaults_client.py +13 -13
  356. oci/vbs_inst/vbs_instance_client.py +10 -10
  357. oci/version.py +1 -1
  358. oci/visual_builder/vb_instance_client.py +13 -13
  359. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  360. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  361. oci/waa/waa_client.py +13 -13
  362. oci/waa/work_request_client.py +4 -4
  363. oci/waas/redirect_client.py +6 -6
  364. oci/waas/waas_client.py +66 -66
  365. oci/waf/waf_client.py +24 -24
  366. oci/work_requests/work_request_client.py +4 -4
  367. oci/zpr/zpr_client.py +31 -32
  368. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/METADATA +2 -2
  369. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/RECORD +373 -488
  370. oci/ai_language/models/entity_document.py +0 -136
  371. oci/ai_language/models/key_phrase_document.py +0 -136
  372. oci/ai_language/models/pre_trained_phi_model_details.py +0 -91
  373. oci/ai_language/models/sentiments_document.py +0 -136
  374. oci/ai_language/models/text_classification_document.py +0 -136
  375. oci/capacity_management/models/occ_capacity_request_compute_details.py +0 -148
  376. oci/cims/user_client.py +0 -207
  377. oci/cims/user_client_composite_operations.py +0 -26
  378. oci/compute_instance_agent/models/instance_agent_command_content_info.py +0 -252
  379. oci/data_integration/models/connection_from_lakehouse.py +0 -140
  380. oci/data_integration/models/connection_from_lakehouse_details.py +0 -133
  381. oci/data_integration/models/connection_summary_from_lakehouse.py +0 -140
  382. oci/data_integration/models/create_connection_from_lakehouse.py +0 -112
  383. oci/data_integration/models/create_data_asset_from_lakehouse.py +0 -232
  384. oci/data_integration/models/data_asset_from_lakehouse_details.py +0 -260
  385. oci/data_integration/models/data_asset_summary_from_lakehouse.py +0 -253
  386. oci/data_integration/models/update_connection_from_lakehouse.py +0 -119
  387. oci/data_integration/models/update_data_asset_from_lakehouse.py +0 -239
  388. oci/database_migration/models/advisor_settings.py +0 -103
  389. oci/database_migration/models/agent.py +0 -486
  390. oci/database_migration/models/agent_image_summary.py +0 -103
  391. oci/database_migration/models/agent_summary.py +0 -455
  392. oci/database_migration/models/aws_s3_data_transfer_medium_details.py +0 -211
  393. oci/database_migration/models/aws_s3_details.py +0 -108
  394. oci/database_migration/models/change_agent_compartment_details.py +0 -72
  395. oci/database_migration/models/connect_descriptor.py +0 -165
  396. oci/database_migration/models/create_advisor_settings.py +0 -103
  397. oci/database_migration/models/create_agent_details.py +0 -260
  398. oci/database_migration/models/create_aws_s3_details.py +0 -174
  399. oci/database_migration/models/create_connect_descriptor.py +0 -174
  400. oci/database_migration/models/create_data_pump_settings.py +0 -251
  401. oci/database_migration/models/create_data_transfer_medium_details.py +0 -124
  402. oci/database_migration/models/create_database_link_details.py +0 -99
  403. oci/database_migration/models/create_dump_transfer_details.py +0 -126
  404. oci/database_migration/models/create_golden_gate_details.py +0 -95
  405. oci/database_migration/models/create_golden_gate_hub.py +0 -275
  406. oci/database_migration/models/create_golden_gate_service_details.py +0 -149
  407. oci/database_migration/models/create_golden_gate_settings.py +0 -126
  408. oci/database_migration/models/create_private_endpoint.py +0 -151
  409. oci/database_migration/models/create_ssh_details.py +0 -166
  410. oci/database_migration/models/create_vault_details.py +0 -134
  411. oci/database_migration/models/data_pump_settings.py +0 -251
  412. oci/database_migration/models/data_transfer_medium_details.py +0 -122
  413. oci/database_migration/models/data_transfer_medium_details_v2.py +0 -125
  414. oci/database_migration/models/database_credentials.py +0 -103
  415. oci/database_migration/models/database_link_details.py +0 -99
  416. oci/database_migration/models/database_object.py +0 -167
  417. oci/database_migration/models/db_link_data_transfer_medium_details.py +0 -109
  418. oci/database_migration/models/dump_transfer_details.py +0 -126
  419. oci/database_migration/models/generate_token.py +0 -70
  420. oci/database_migration/models/golden_gate_details.py +0 -95
  421. oci/database_migration/models/golden_gate_hub.py +0 -275
  422. oci/database_migration/models/golden_gate_service_details.py +0 -95
  423. oci/database_migration/models/golden_gate_settings.py +0 -126
  424. oci/database_migration/models/migration_object_summary.py +0 -214
  425. oci/database_migration/models/nfs_data_transfer_medium_details.py +0 -78
  426. oci/database_migration/models/object_storage_data_transfer_medium_details.py +0 -78
  427. oci/database_migration/models/par_link.py +0 -70
  428. oci/database_migration/models/private_endpoint_details.py +0 -185
  429. oci/database_migration/models/ssh_details.py +0 -134
  430. oci/database_migration/models/update_advisor_settings.py +0 -103
  431. oci/database_migration/models/update_agent_details.py +0 -231
  432. oci/database_migration/models/update_aws_s3_details.py +0 -174
  433. oci/database_migration/models/update_connect_descriptor.py +0 -173
  434. oci/database_migration/models/update_data_pump_settings.py +0 -253
  435. oci/database_migration/models/update_data_transfer_medium_details.py +0 -125
  436. oci/database_migration/models/update_database_link_details.py +0 -99
  437. oci/database_migration/models/update_dump_transfer_details.py +0 -126
  438. oci/database_migration/models/update_golden_gate_details.py +0 -95
  439. oci/database_migration/models/update_golden_gate_hub.py +0 -275
  440. oci/database_migration/models/update_golden_gate_service_details.py +0 -149
  441. oci/database_migration/models/update_golden_gate_settings.py +0 -127
  442. oci/database_migration/models/update_private_endpoint.py +0 -151
  443. oci/database_migration/models/update_ssh_details.py +0 -165
  444. oci/database_migration/models/update_vault_details.py +0 -134
  445. oci/database_migration/models/vault_details.py +0 -134
  446. oci/database_tools/models/database_tools_allowed_network_sources.py +0 -107
  447. oci/database_tools/models/database_tools_virtual_source.py +0 -107
  448. oci/devops/models/run_pipeline_deploy_stage_execution_progress.py +0 -98
  449. oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.py +0 -98
  450. oci/em_warehouse/em_data_lake_client.py +0 -1610
  451. oci/em_warehouse/em_data_lake_client_composite_operations.py +0 -190
  452. oci/fusion_apps/data_masking_activity_client.py +0 -456
  453. oci/fusion_apps/data_masking_activity_client_composite_operations.py +0 -65
  454. oci/fusion_apps/fusion_environment_client.py +0 -1772
  455. oci/fusion_apps/fusion_environment_client_composite_operations.py +0 -324
  456. oci/fusion_apps/fusion_environment_family_client.py +0 -943
  457. oci/fusion_apps/fusion_environment_family_client_composite_operations.py +0 -190
  458. oci/fusion_apps/models/attach_existing_instance_details.py +0 -194
  459. oci/fusion_apps/models/create_new_instance_details.py +0 -142
  460. oci/fusion_apps/models/create_oax_service_instance_details.py +0 -152
  461. oci/fusion_apps/models/create_oic_service_instance_details.py +0 -142
  462. oci/fusion_apps/models/create_service_instance_details.py +0 -170
  463. oci/fusion_apps/models/faw_admin_info_details.py +0 -132
  464. oci/fusion_apps/refresh_activity_client.py +0 -607
  465. oci/fusion_apps/refresh_activity_client_composite_operations.py +0 -65
  466. oci/fusion_apps/scheduled_activity_client.py +0 -380
  467. oci/fusion_apps/scheduled_activity_client_composite_operations.py +0 -24
  468. oci/fusion_apps/service_attachment_client.py +0 -370
  469. oci/fusion_apps/service_attachment_client_composite_operations.py +0 -24
  470. oci/jms/models/request_summarized_application_usage_details.py +0 -504
  471. oci/jms/models/request_summarized_installation_usage_details.py +0 -448
  472. oci/jms/models/request_summarized_jre_usage_details.py +0 -421
  473. oci/jms/models/request_summarized_managed_instance_usage_details.py +0 -480
  474. oci/log_analytics/models/agent_upload.py +0 -70
  475. oci/log_analytics/models/attribute.py +0 -602
  476. oci/log_analytics/models/create_namespace_details.py +0 -70
  477. oci/log_analytics/models/field_map.py +0 -101
  478. oci/log_analytics/models/generate_agent_object_name_details.py +0 -163
  479. oci/log_analytics/models/log_analytics.py +0 -370
  480. oci/log_analytics/models/log_analytics_collection_warning.py +0 -70
  481. oci/log_analytics/models/log_analytics_summary.py +0 -304
  482. oci/log_analytics/models/out_of_box_entity_type_details.py +0 -211
  483. oci/log_analytics/models/query.py +0 -70
  484. oci/log_analytics/models/query_work_request_resource.py +0 -70
  485. oci/log_analytics/models/register_entity_types_details.py +0 -70
  486. oci/log_analytics/models/service_tenancy.py +0 -70
  487. oci/log_analytics/models/string_list_details.py +0 -70
  488. oci/logging/models/log_included_search.py +0 -307
  489. oci/logging/models/log_included_search_summary.py +0 -165
  490. oci/logging/models/log_included_search_summary_collection.py +0 -70
  491. oci/media_services/models/media_workflow_job_fact.py +0 -198
  492. oci/media_services/models/media_workflow_job_fact_collection.py +0 -72
  493. oci/media_services/models/media_workflow_job_fact_summary.py +0 -165
  494. oci/mysql/models/add_analytics_cluster_details.py +0 -108
  495. oci/mysql/models/analytics_cluster.py +0 -338
  496. oci/mysql/models/analytics_cluster_memory_estimate.py +0 -241
  497. oci/mysql/models/analytics_cluster_node.py +0 -210
  498. oci/mysql/models/analytics_cluster_schema_memory_estimate.py +0 -107
  499. oci/mysql/models/analytics_cluster_summary.py +0 -209
  500. oci/mysql/models/analytics_cluster_table_memory_estimate.py +0 -239
  501. oci/mysql/models/update_analytics_cluster_details.py +0 -120
  502. oci/network_firewall/models/tcp_application.py +0 -112
  503. oci/network_firewall/models/udp_application.py +0 -112
  504. oci/oce/models/delete_oce_instance_details.py +0 -70
  505. oci/ocvp/models/datastore_summary.py +0 -154
  506. oci/ocvp/models/supported_sku_summary.py +0 -96
  507. oci/ocvp/models/supported_sku_summary_collection.py +0 -72
  508. oci/os_management/models/errata_id.py +0 -101
  509. oci/os_management/models/managed_instance_update_details.py +0 -101
  510. oci/os_management/models/updatable_package_summary.py +0 -287
  511. oci/osp_gateway/models/billing_address.py +0 -382
  512. oci/service_mesh/models/create_ingress_gateway_mutual_transport_layer_security_details.py +0 -76
  513. oci/service_mesh/models/create_mutual_transport_layer_security_details.py +0 -111
  514. oci/usage_api/models/create_schedule_report_details.py +0 -128
  515. oci/usage_api/models/saved_schedule_report.py +0 -145
  516. oci/usage_api/models/schedule_report.py +0 -159
  517. oci/usage_api/models/schedule_report_collection.py +0 -70
  518. oci/usage_api/models/schedule_report_summary.py +0 -97
  519. oci/usage_api/models/update_schedule_report_details.py +0 -66
  520. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/LICENSE.txt +0 -0
  521. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  522. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/WHEEL +0 -0
  523. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/top_level.txt +0 -0
@@ -1,148 +0,0 @@
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: 20231107
6
-
7
- from .occ_capacity_request_base_details import OccCapacityRequestBaseDetails
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 OccCapacityRequestComputeDetails(OccCapacityRequestBaseDetails):
14
- """
15
- The details about the compute servers required for creating a capacity request.
16
- """
17
-
18
- def __init__(self, **kwargs):
19
- """
20
- Initializes a new OccCapacityRequestComputeDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.capacity_management.models.OccCapacityRequestComputeDetails.resource_type` attribute
21
- of this class is ``SERVER_HW`` and it should not be changed.
22
- The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
-
24
- :param resource_type:
25
- The value to assign to the resource_type property of this OccCapacityRequestComputeDetails.
26
- Allowed values for this property are: "SERVER_HW"
27
- :type resource_type: str
28
-
29
- :param workload_type:
30
- The value to assign to the workload_type property of this OccCapacityRequestComputeDetails.
31
- :type workload_type: str
32
-
33
- :param expected_handover_quantity:
34
- The value to assign to the expected_handover_quantity property of this OccCapacityRequestComputeDetails.
35
- :type expected_handover_quantity: int
36
-
37
- :param date_expected_handover:
38
- The value to assign to the date_expected_handover property of this OccCapacityRequestComputeDetails.
39
- :type date_expected_handover: datetime
40
-
41
- :param actual_handover_quantity:
42
- The value to assign to the actual_handover_quantity property of this OccCapacityRequestComputeDetails.
43
- :type actual_handover_quantity: int
44
-
45
- :param date_actual_handover:
46
- The value to assign to the date_actual_handover property of this OccCapacityRequestComputeDetails.
47
- :type date_actual_handover: datetime
48
-
49
- :param resource_name:
50
- The value to assign to the resource_name property of this OccCapacityRequestComputeDetails.
51
- :type resource_name: str
52
-
53
- :param demand_quantity:
54
- The value to assign to the demand_quantity property of this OccCapacityRequestComputeDetails.
55
- :type demand_quantity: int
56
-
57
- """
58
- self.swagger_types = {
59
- 'resource_type': 'str',
60
- 'workload_type': 'str',
61
- 'expected_handover_quantity': 'int',
62
- 'date_expected_handover': 'datetime',
63
- 'actual_handover_quantity': 'int',
64
- 'date_actual_handover': 'datetime',
65
- 'resource_name': 'str',
66
- 'demand_quantity': 'int'
67
- }
68
-
69
- self.attribute_map = {
70
- 'resource_type': 'resourceType',
71
- 'workload_type': 'workloadType',
72
- 'expected_handover_quantity': 'expectedHandoverQuantity',
73
- 'date_expected_handover': 'dateExpectedHandover',
74
- 'actual_handover_quantity': 'actualHandoverQuantity',
75
- 'date_actual_handover': 'dateActualHandover',
76
- 'resource_name': 'resourceName',
77
- 'demand_quantity': 'demandQuantity'
78
- }
79
-
80
- self._resource_type = None
81
- self._workload_type = None
82
- self._expected_handover_quantity = None
83
- self._date_expected_handover = None
84
- self._actual_handover_quantity = None
85
- self._date_actual_handover = None
86
- self._resource_name = None
87
- self._demand_quantity = None
88
- self._resource_type = 'SERVER_HW'
89
-
90
- @property
91
- def resource_name(self):
92
- """
93
- **[Required]** Gets the resource_name of this OccCapacityRequestComputeDetails.
94
- The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
95
-
96
-
97
- :return: The resource_name of this OccCapacityRequestComputeDetails.
98
- :rtype: str
99
- """
100
- return self._resource_name
101
-
102
- @resource_name.setter
103
- def resource_name(self, resource_name):
104
- """
105
- Sets the resource_name of this OccCapacityRequestComputeDetails.
106
- The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
107
-
108
-
109
- :param resource_name: The resource_name of this OccCapacityRequestComputeDetails.
110
- :type: str
111
- """
112
- self._resource_name = resource_name
113
-
114
- @property
115
- def demand_quantity(self):
116
- """
117
- **[Required]** Gets the demand_quantity of this OccCapacityRequestComputeDetails.
118
- The number of compute server's with name <resourceName> required by the user.
119
-
120
-
121
- :return: The demand_quantity of this OccCapacityRequestComputeDetails.
122
- :rtype: int
123
- """
124
- return self._demand_quantity
125
-
126
- @demand_quantity.setter
127
- def demand_quantity(self, demand_quantity):
128
- """
129
- Sets the demand_quantity of this OccCapacityRequestComputeDetails.
130
- The number of compute server's with name <resourceName> required by the user.
131
-
132
-
133
- :param demand_quantity: The demand_quantity of this OccCapacityRequestComputeDetails.
134
- :type: int
135
- """
136
- self._demand_quantity = demand_quantity
137
-
138
- def __repr__(self):
139
- return formatted_flat_dict(self)
140
-
141
- def __eq__(self, other):
142
- if other is None:
143
- return False
144
-
145
- return self.__dict__ == other.__dict__
146
-
147
- def __ne__(self, other):
148
- return not self == other
oci/cims/user_client.py DELETED
@@ -1,207 +0,0 @@
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
- from __future__ import absolute_import
8
-
9
- from oci._vendor import requests # noqa: F401
10
- from oci._vendor import six
11
-
12
- from oci import retry, circuit_breaker # noqa: F401
13
- from oci.base_client import BaseClient
14
- from oci.config import get_config_value_or_default, validate_config
15
- from oci.signer import Signer
16
- from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
17
- from .models import cims_type_mapping
18
- missing = Sentinel("Missing")
19
-
20
-
21
- class UserClient(object):
22
- """
23
- Use the Support Management API to manage support requests. For more information, see [Getting Help and Contacting Support](/iaas/Content/GSG/Tasks/contactingsupport.htm). **Note**: Before you can create service requests with this API, you need to have an Oracle Single Sign On (SSO) account, and you need to register your Customer Support Identifier (CSI) with My Oracle Support.
24
- """
25
-
26
- def __init__(self, config, **kwargs):
27
- """
28
- Creates a new service client
29
-
30
- :param dict config:
31
- Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
32
- The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
33
- the dict using :py:meth:`~oci.config.validate_config`
34
-
35
- :param str service_endpoint: (optional)
36
- The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
37
- not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
38
- need to specify a service endpoint.
39
-
40
- :param timeout: (optional)
41
- The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
42
- as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
43
- a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
44
- :type timeout: float or tuple(float, float)
45
-
46
- :param signer: (optional)
47
- The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
48
- provided in the config parameter.
49
-
50
- One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
51
- by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
52
- :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
53
-
54
- :param obj retry_strategy: (optional)
55
- A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
56
- Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
57
- Any value provided at the operation level will override whatever is specified at the client level.
58
-
59
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
60
- is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
61
-
62
- :param obj circuit_breaker_strategy: (optional)
63
- A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
64
- This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
65
- The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
66
-
67
- :param function circuit_breaker_callback: (optional)
68
- Callback function to receive any exceptions triggerred by the circuit breaker.
69
-
70
- :param bool client_level_realm_specific_endpoint_template_enabled: (optional)
71
- A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
72
-
73
- :param allow_control_chars: (optional)
74
- allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
75
- allow control characters to be in the response object.
76
- """
77
- validate_config(config, signer=kwargs.get('signer'))
78
- if 'signer' in kwargs:
79
- signer = kwargs['signer']
80
-
81
- elif AUTHENTICATION_TYPE_FIELD_NAME in config:
82
- signer = get_signer_from_authentication_type(config)
83
-
84
- else:
85
- signer = Signer(
86
- tenancy=config["tenancy"],
87
- user=config["user"],
88
- fingerprint=config["fingerprint"],
89
- private_key_file_location=config.get("key_file"),
90
- pass_phrase=get_config_value_or_default(config, "pass_phrase"),
91
- private_key_content=config.get("key_content")
92
- )
93
-
94
- base_client_init_kwargs = {
95
- 'regional_client': True,
96
- 'service_endpoint': kwargs.get('service_endpoint'),
97
- 'base_path': '/20181231',
98
- 'service_endpoint_template': 'https://incidentmanagement.{region}.{secondLevelDomain}',
99
- 'service_endpoint_template_per_realm': { }, # noqa: E201 E202
100
- 'skip_deserialization': kwargs.get('skip_deserialization', False),
101
- 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
102
- 'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
103
- }
104
- if 'timeout' in kwargs:
105
- base_client_init_kwargs['timeout'] = kwargs.get('timeout')
106
- if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
107
- base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
108
- if 'allow_control_chars' in kwargs:
109
- base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
110
- self.base_client = BaseClient("user", config, signer, cims_type_mapping, **base_client_init_kwargs)
111
- self.retry_strategy = kwargs.get('retry_strategy')
112
- self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
113
-
114
- def create_user(self, create_user_details, ocid, **kwargs):
115
- """
116
- Create user to request Customer Support Identifier(CSI) to Customer User Administrator(CUA).
117
-
118
-
119
- :param oci.cims.models.CreateUserDetails create_user_details: (required)
120
- User information
121
-
122
- :param str ocid: (required)
123
- User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
124
-
125
- :param str opc_request_id: (optional)
126
- Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
127
-
128
- :param str homeregion: (optional)
129
- The region of the tenancy.
130
-
131
- :param obj retry_strategy: (optional)
132
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
133
-
134
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
135
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
136
-
137
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
138
-
139
- :param bool allow_control_chars: (optional)
140
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
141
- By default, the response will not allow control characters in strings
142
-
143
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cims.models.User`
144
- :rtype: :class:`~oci.response.Response`
145
-
146
- :example:
147
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/cims/create_user.py.html>`__ to see an example of how to use create_user API.
148
- """
149
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
150
- required_arguments = []
151
- resource_path = "/v2/users"
152
- method = "POST"
153
- operation_name = "create_user"
154
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/incidentmanagement/20181231/User/CreateUser"
155
-
156
- # Don't accept unknown kwargs
157
- expected_kwargs = [
158
- "allow_control_chars",
159
- "retry_strategy",
160
- "opc_request_id",
161
- "homeregion"
162
- ]
163
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
164
- if extra_kwargs:
165
- raise ValueError(
166
- "create_user got unknown kwargs: {!r}".format(extra_kwargs))
167
-
168
- header_params = {
169
- "accept": "application/json",
170
- "content-type": "application/json",
171
- "opc-request-id": kwargs.get("opc_request_id", missing),
172
- "ocid": ocid,
173
- "homeregion": kwargs.get("homeregion", missing)
174
- }
175
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
176
-
177
- retry_strategy = self.base_client.get_preferred_retry_strategy(
178
- operation_retry_strategy=kwargs.get('retry_strategy'),
179
- client_retry_strategy=self.retry_strategy
180
- )
181
-
182
- if retry_strategy:
183
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
184
- self.base_client.add_opc_client_retries_header(header_params)
185
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
186
- return retry_strategy.make_retrying_call(
187
- self.base_client.call_api,
188
- resource_path=resource_path,
189
- method=method,
190
- header_params=header_params,
191
- body=create_user_details,
192
- response_type="User",
193
- allow_control_chars=kwargs.get('allow_control_chars'),
194
- operation_name=operation_name,
195
- api_reference_link=api_reference_link,
196
- required_arguments=required_arguments)
197
- else:
198
- return self.base_client.call_api(
199
- resource_path=resource_path,
200
- method=method,
201
- header_params=header_params,
202
- body=create_user_details,
203
- response_type="User",
204
- allow_control_chars=kwargs.get('allow_control_chars'),
205
- operation_name=operation_name,
206
- api_reference_link=api_reference_link,
207
- required_arguments=required_arguments)
@@ -1,26 +0,0 @@
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
- import oci # noqa: F401
8
- from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
9
-
10
-
11
- class UserClientCompositeOperations(object):
12
- """
13
- This class provides a wrapper around :py:class:`~oci.cims.UserClient` and offers convenience methods
14
- for operations that would otherwise need to be chained together. For example, instead of performing an action
15
- on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
16
- to enter a given state, you can call a single method in this class to accomplish the same functionality
17
- """
18
-
19
- def __init__(self, client, **kwargs):
20
- """
21
- Creates a new UserClientCompositeOperations object
22
-
23
- :param UserClient client:
24
- The service client which will be wrapped by this object
25
- """
26
- self.client = client
@@ -1,252 +0,0 @@
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
-
6
- from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
7
- from oci.decorators import init_model_state_from_kwargs
8
-
9
-
10
- @init_model_state_from_kwargs
11
- class InstanceAgentCommandContentInfo(object):
12
- """
13
- The command content.
14
- """
15
-
16
- def __init__(self, **kwargs):
17
- """
18
- Initializes a new InstanceAgentCommandContentInfo object with values from keyword arguments.
19
- The following keyword arguments are supported (corresponding to the getters/setters of this class):
20
-
21
- :param instance_agent_command_id:
22
- The value to assign to the instance_agent_command_id property of this InstanceAgentCommandContentInfo.
23
- :type instance_agent_command_id: str
24
-
25
- :param compartment_id:
26
- The value to assign to the compartment_id property of this InstanceAgentCommandContentInfo.
27
- :type compartment_id: str
28
-
29
- :param time_created:
30
- The value to assign to the time_created property of this InstanceAgentCommandContentInfo.
31
- :type time_created: datetime
32
-
33
- :param time_updated:
34
- The value to assign to the time_updated property of this InstanceAgentCommandContentInfo.
35
- :type time_updated: datetime
36
-
37
- :param is_canceled:
38
- The value to assign to the is_canceled property of this InstanceAgentCommandContentInfo.
39
- :type is_canceled: bool
40
-
41
- :param execution_time_out_in_seconds:
42
- The value to assign to the execution_time_out_in_seconds property of this InstanceAgentCommandContentInfo.
43
- :type execution_time_out_in_seconds: int
44
-
45
- :param content:
46
- The value to assign to the content property of this InstanceAgentCommandContentInfo.
47
- :type content: oci.compute_instance_agent.models.InstanceAgentCommandContent
48
-
49
- """
50
- self.swagger_types = {
51
- 'instance_agent_command_id': 'str',
52
- 'compartment_id': 'str',
53
- 'time_created': 'datetime',
54
- 'time_updated': 'datetime',
55
- 'is_canceled': 'bool',
56
- 'execution_time_out_in_seconds': 'int',
57
- 'content': 'InstanceAgentCommandContent'
58
- }
59
-
60
- self.attribute_map = {
61
- 'instance_agent_command_id': 'instanceAgentCommandId',
62
- 'compartment_id': 'compartmentId',
63
- 'time_created': 'timeCreated',
64
- 'time_updated': 'timeUpdated',
65
- 'is_canceled': 'isCanceled',
66
- 'execution_time_out_in_seconds': 'executionTimeOutInSeconds',
67
- 'content': 'content'
68
- }
69
-
70
- self._instance_agent_command_id = None
71
- self._compartment_id = None
72
- self._time_created = None
73
- self._time_updated = None
74
- self._is_canceled = None
75
- self._execution_time_out_in_seconds = None
76
- self._content = None
77
-
78
- @property
79
- def instance_agent_command_id(self):
80
- """
81
- **[Required]** Gets the instance_agent_command_id of this InstanceAgentCommandContentInfo.
82
- The command ocid
83
-
84
-
85
- :return: The instance_agent_command_id of this InstanceAgentCommandContentInfo.
86
- :rtype: str
87
- """
88
- return self._instance_agent_command_id
89
-
90
- @instance_agent_command_id.setter
91
- def instance_agent_command_id(self, instance_agent_command_id):
92
- """
93
- Sets the instance_agent_command_id of this InstanceAgentCommandContentInfo.
94
- The command ocid
95
-
96
-
97
- :param instance_agent_command_id: The instance_agent_command_id of this InstanceAgentCommandContentInfo.
98
- :type: str
99
- """
100
- self._instance_agent_command_id = instance_agent_command_id
101
-
102
- @property
103
- def compartment_id(self):
104
- """
105
- **[Required]** Gets the compartment_id of this InstanceAgentCommandContentInfo.
106
- The OCID of the compartment the command is created in.
107
-
108
-
109
- :return: The compartment_id of this InstanceAgentCommandContentInfo.
110
- :rtype: str
111
- """
112
- return self._compartment_id
113
-
114
- @compartment_id.setter
115
- def compartment_id(self, compartment_id):
116
- """
117
- Sets the compartment_id of this InstanceAgentCommandContentInfo.
118
- The OCID of the compartment the command is created in.
119
-
120
-
121
- :param compartment_id: The compartment_id of this InstanceAgentCommandContentInfo.
122
- :type: str
123
- """
124
- self._compartment_id = compartment_id
125
-
126
- @property
127
- def time_created(self):
128
- """
129
- Gets the time_created of this InstanceAgentCommandContentInfo.
130
- created at time of command.
131
-
132
-
133
- :return: The time_created of this InstanceAgentCommandContentInfo.
134
- :rtype: datetime
135
- """
136
- return self._time_created
137
-
138
- @time_created.setter
139
- def time_created(self, time_created):
140
- """
141
- Sets the time_created of this InstanceAgentCommandContentInfo.
142
- created at time of command.
143
-
144
-
145
- :param time_created: The time_created of this InstanceAgentCommandContentInfo.
146
- :type: datetime
147
- """
148
- self._time_created = time_created
149
-
150
- @property
151
- def time_updated(self):
152
- """
153
- Gets the time_updated of this InstanceAgentCommandContentInfo.
154
- updated time of command.
155
-
156
-
157
- :return: The time_updated of this InstanceAgentCommandContentInfo.
158
- :rtype: datetime
159
- """
160
- return self._time_updated
161
-
162
- @time_updated.setter
163
- def time_updated(self, time_updated):
164
- """
165
- Sets the time_updated of this InstanceAgentCommandContentInfo.
166
- updated time of command.
167
-
168
-
169
- :param time_updated: The time_updated of this InstanceAgentCommandContentInfo.
170
- :type: datetime
171
- """
172
- self._time_updated = time_updated
173
-
174
- @property
175
- def is_canceled(self):
176
- """
177
- Gets the is_canceled of this InstanceAgentCommandContentInfo.
178
- Whether the command has been canceled.
179
-
180
-
181
- :return: The is_canceled of this InstanceAgentCommandContentInfo.
182
- :rtype: bool
183
- """
184
- return self._is_canceled
185
-
186
- @is_canceled.setter
187
- def is_canceled(self, is_canceled):
188
- """
189
- Sets the is_canceled of this InstanceAgentCommandContentInfo.
190
- Whether the command has been canceled.
191
-
192
-
193
- :param is_canceled: The is_canceled of this InstanceAgentCommandContentInfo.
194
- :type: bool
195
- """
196
- self._is_canceled = is_canceled
197
-
198
- @property
199
- def execution_time_out_in_seconds(self):
200
- """
201
- Gets the execution_time_out_in_seconds of this InstanceAgentCommandContentInfo.
202
- The last command time.
203
-
204
-
205
- :return: The execution_time_out_in_seconds of this InstanceAgentCommandContentInfo.
206
- :rtype: int
207
- """
208
- return self._execution_time_out_in_seconds
209
-
210
- @execution_time_out_in_seconds.setter
211
- def execution_time_out_in_seconds(self, execution_time_out_in_seconds):
212
- """
213
- Sets the execution_time_out_in_seconds of this InstanceAgentCommandContentInfo.
214
- The last command time.
215
-
216
-
217
- :param execution_time_out_in_seconds: The execution_time_out_in_seconds of this InstanceAgentCommandContentInfo.
218
- :type: int
219
- """
220
- self._execution_time_out_in_seconds = execution_time_out_in_seconds
221
-
222
- @property
223
- def content(self):
224
- """
225
- **[Required]** Gets the content of this InstanceAgentCommandContentInfo.
226
-
227
- :return: The content of this InstanceAgentCommandContentInfo.
228
- :rtype: oci.compute_instance_agent.models.InstanceAgentCommandContent
229
- """
230
- return self._content
231
-
232
- @content.setter
233
- def content(self, content):
234
- """
235
- Sets the content of this InstanceAgentCommandContentInfo.
236
-
237
- :param content: The content of this InstanceAgentCommandContentInfo.
238
- :type: oci.compute_instance_agent.models.InstanceAgentCommandContent
239
- """
240
- self._content = content
241
-
242
- def __repr__(self):
243
- return formatted_flat_dict(self)
244
-
245
- def __eq__(self, other):
246
- if other is None:
247
- return False
248
-
249
- return self.__dict__ == other.__dict__
250
-
251
- def __ne__(self, other):
252
- return not self == other