oci 2.124.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 (277) 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 +10 -10
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +23 -23
  9. oci/announcements_service/announcement_client.py +4 -4
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/apigateway/api_gateway_client.py +21 -21
  13. oci/apigateway/deployment_client.py +6 -6
  14. oci/apigateway/gateway_client.py +6 -6
  15. oci/apigateway/subscribers_client.py +6 -6
  16. oci/apigateway/usage_plans_client.py +6 -6
  17. oci/apigateway/work_requests_client.py +5 -5
  18. oci/apm_config/config_client.py +8 -8
  19. oci/apm_control_plane/apm_domain_client.py +14 -14
  20. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  21. oci/apm_traces/query_client.py +2 -2
  22. oci/apm_traces/trace_client.py +4 -4
  23. oci/application_migration/application_migration_client.py +19 -19
  24. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  25. oci/artifacts/artifacts_client.py +32 -32
  26. oci/audit/audit_client.py +3 -3
  27. oci/autoscaling/auto_scaling_client.py +11 -11
  28. oci/bastion/bastion_client.py +15 -15
  29. oci/bds/bds_client.py +51 -51
  30. oci/blockchain/blockchain_platform_client.py +27 -27
  31. oci/budget/budget_client.py +10 -10
  32. oci/capacity_management/capacity_management_client.py +19 -19
  33. oci/certificates/certificates_client.py +5 -5
  34. oci/certificates_management/certificates_management_client.py +32 -32
  35. oci/cims/incident_client.py +8 -8
  36. oci/cims/user_client.py +1 -1
  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 +133 -133
  42. oci/cloud_migrations/migration_client.py +43 -43
  43. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  44. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  45. oci/compute_instance_agent/plugin_client.py +2 -2
  46. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  47. oci/container_engine/container_engine_client.py +44 -44
  48. oci/container_instances/container_instance_client.py +18 -18
  49. oci/core/blockstorage_client.py +60 -60
  50. oci/core/compute_client.py +99 -99
  51. oci/core/compute_management_client.py +32 -32
  52. oci/core/virtual_network_client.py +242 -242
  53. oci/dashboard_service/dashboard_client.py +6 -6
  54. oci/dashboard_service/dashboard_group_client.py +6 -6
  55. oci/data_catalog/data_catalog_client.py +148 -148
  56. oci/data_flow/data_flow_client.py +42 -42
  57. oci/data_integration/data_integration_client.py +163 -163
  58. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  59. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  60. oci/data_safe/data_safe_client.py +272 -272
  61. oci/data_science/data_science_client.py +91 -91
  62. oci/data_science/models/__init__.py +22 -0
  63. oci/data_science/models/auto_scaling_policy.py +148 -0
  64. oci/data_science/models/auto_scaling_policy_details.py +104 -0
  65. oci/data_science/models/custom_expression_query_scaling_configuration.py +124 -0
  66. oci/data_science/models/custom_metric_expression_rule.py +105 -0
  67. oci/data_science/models/fixed_size_scaling_policy.py +1 -1
  68. oci/data_science/models/instance_pool_model_deployment_system_data.py +82 -0
  69. oci/data_science/models/metric_expression_rule.py +121 -0
  70. oci/data_science/models/model_configuration_details.py +33 -2
  71. oci/data_science/models/model_deployment.py +27 -0
  72. oci/data_science/models/model_deployment_instance_shape_config_details.py +61 -2
  73. oci/data_science/models/model_deployment_system_data.py +101 -0
  74. oci/data_science/models/predefined_expression_threshold_scaling_configuration.py +97 -0
  75. oci/data_science/models/predefined_metric_expression_rule.py +153 -0
  76. oci/data_science/models/scaling_configuration.py +185 -0
  77. oci/data_science/models/scaling_policy.py +11 -3
  78. oci/data_science/models/threshold_based_auto_scaling_policy_details.py +187 -0
  79. oci/data_science/models/update_model_configuration_details.py +33 -2
  80. oci/database/database_client.py +327 -327
  81. oci/database/models/autonomous_container_database.py +158 -2
  82. oci/database/models/autonomous_container_database_summary.py +158 -2
  83. oci/database/models/autonomous_database.py +80 -2
  84. oci/database/models/autonomous_database_summary.py +80 -2
  85. oci/database/models/create_autonomous_container_database_details.py +158 -2
  86. oci/database/models/create_autonomous_database_base.py +31 -0
  87. oci/database/models/create_autonomous_database_clone_details.py +7 -0
  88. oci/database/models/create_autonomous_database_details.py +7 -0
  89. oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
  90. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
  91. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
  92. oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
  93. oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
  94. oci/database/models/update_autonomous_database_details.py +31 -0
  95. oci/database_management/db_management_client.py +194 -194
  96. oci/database_management/diagnosability_client.py +4 -4
  97. oci/database_management/managed_my_sql_databases_client.py +6 -6
  98. oci/database_management/perfhub_client.py +1 -1
  99. oci/database_management/sql_tuning_client.py +17 -17
  100. oci/database_migration/database_migration_client.py +41 -41
  101. oci/database_tools/database_tools_client.py +23 -23
  102. oci/desktops/desktop_service_client.py +21 -21
  103. oci/devops/devops_client.py +89 -89
  104. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  105. oci/dns/dns_client.py +52 -52
  106. oci/dts/appliance_export_job_client.py +6 -6
  107. oci/dts/shipping_vendors_client.py +1 -1
  108. oci/dts/transfer_appliance_client.py +8 -8
  109. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  110. oci/dts/transfer_device_client.py +5 -5
  111. oci/dts/transfer_job_client.py +6 -6
  112. oci/dts/transfer_package_client.py +7 -7
  113. oci/em_warehouse/em_data_lake_client.py +13 -13
  114. oci/em_warehouse/em_warehouse_client.py +13 -13
  115. oci/email/email_client.py +25 -25
  116. oci/events/events_client.py +6 -6
  117. oci/file_storage/file_storage_client.py +50 -50
  118. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  119. oci/functions/functions_invoke_client.py +1 -1
  120. oci/functions/functions_management_client.py +16 -16
  121. oci/fusion_apps/data_masking_activity_client.py +3 -3
  122. oci/fusion_apps/fusion_applications_client.py +39 -39
  123. oci/fusion_apps/fusion_environment_client.py +15 -15
  124. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  125. oci/fusion_apps/refresh_activity_client.py +4 -4
  126. oci/fusion_apps/scheduled_activity_client.py +2 -2
  127. oci/fusion_apps/service_attachment_client.py +2 -2
  128. oci/generative_ai/generative_ai_client.py +22 -22
  129. oci/generative_ai_inference/generative_ai_inference_client.py +3 -3
  130. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  131. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  132. oci/golden_gate/golden_gate_client.py +61 -61
  133. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  134. oci/governance_rules_control_plane/work_request_client.py +5 -5
  135. oci/healthchecks/health_checks_client.py +17 -17
  136. oci/identity/identity_client.py +145 -145
  137. oci/identity_data_plane/dataplane_client.py +2 -2
  138. oci/identity_domains/identity_domains_client.py +300 -300
  139. oci/integration/integration_instance_client.py +15 -15
  140. oci/jms/java_management_service_client.py +66 -66
  141. oci/jms_java_downloads/java_download_client.py +25 -25
  142. oci/key_management/ekm_client.py +5 -5
  143. oci/key_management/kms_crypto_client.py +6 -6
  144. oci/key_management/kms_hsm_cluster_client.py +12 -12
  145. oci/key_management/kms_management_client.py +21 -21
  146. oci/key_management/kms_vault_client.py +14 -14
  147. oci/license_manager/license_manager_client.py +18 -18
  148. oci/limits/limits_client.py +4 -4
  149. oci/limits/quotas_client.py +7 -7
  150. oci/load_balancer/load_balancer_client.py +61 -61
  151. oci/lockbox/lockbox_client.py +23 -23
  152. oci/log_analytics/log_analytics_client.py +193 -193
  153. oci/logging/logging_management_client.py +30 -30
  154. oci/loggingingestion/logging_client.py +1 -1
  155. oci/loggingsearch/log_search_client.py +1 -1
  156. oci/management_agent/management_agent_client.py +28 -28
  157. oci/management_dashboard/dashx_apis_client.py +14 -14
  158. oci/marketplace/account_client.py +2 -2
  159. oci/marketplace/marketplace_client.py +30 -30
  160. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  161. oci/media_services/media_services_client.py +60 -60
  162. oci/media_services/media_stream_client.py +2 -2
  163. oci/monitoring/monitoring_client.py +18 -18
  164. oci/mysql/channels_client.py +7 -7
  165. oci/mysql/db_backups_client.py +6 -6
  166. oci/mysql/db_system_client.py +17 -17
  167. oci/mysql/mysqlaas_client.py +7 -7
  168. oci/mysql/replicas_client.py +5 -5
  169. oci/mysql/work_requests_client.py +4 -4
  170. oci/network_firewall/network_firewall_client.py +80 -80
  171. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  172. oci/nosql/nosql_client.py +24 -24
  173. oci/object_storage/object_storage_client.py +50 -50
  174. oci/oce/oce_instance_client.py +10 -10
  175. oci/oci_control_center/occ_metrics_client.py +3 -3
  176. oci/ocvp/cluster_client.py +5 -5
  177. oci/ocvp/esxi_host_client.py +8 -8
  178. oci/ocvp/sddc_client.py +14 -14
  179. oci/ocvp/work_request_client.py +4 -4
  180. oci/oda/management_client.py +59 -59
  181. oci/oda/oda_client.py +17 -17
  182. oci/oda/odapackage_client.py +7 -7
  183. oci/onesubscription/billing_schedule_client.py +1 -1
  184. oci/onesubscription/commitment_client.py +2 -2
  185. oci/onesubscription/computed_usage_client.py +3 -3
  186. oci/onesubscription/invoice_summary_client.py +2 -2
  187. oci/onesubscription/organization_subscription_client.py +1 -1
  188. oci/onesubscription/ratecard_client.py +1 -1
  189. oci/onesubscription/subscribed_service_client.py +2 -2
  190. oci/onesubscription/subscription_client.py +1 -1
  191. oci/ons/notification_control_plane_client.py +6 -6
  192. oci/ons/notification_data_plane_client.py +10 -10
  193. oci/opa/opa_instance_client.py +11 -11
  194. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  195. oci/opensearch/opensearch_cluster_client.py +14 -14
  196. oci/operator_access_control/access_requests_client.py +10 -10
  197. oci/operator_access_control/operator_actions_client.py +2 -2
  198. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  199. oci/operator_access_control/operator_control_client.py +6 -6
  200. oci/opsi/operations_insights_client.py +175 -175
  201. oci/optimizer/optimizer_client.py +26 -26
  202. oci/os_management/event_client.py +8 -8
  203. oci/os_management/os_management_client.py +69 -69
  204. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  205. oci/os_management_hub/managed_instance_client.py +22 -22
  206. oci/os_management_hub/managed_instance_group_client.py +22 -22
  207. oci/os_management_hub/management_station_client.py +8 -8
  208. oci/os_management_hub/onboarding_client.py +5 -5
  209. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  210. oci/os_management_hub/scheduled_job_client.py +6 -6
  211. oci/os_management_hub/software_source_client.py +22 -22
  212. oci/os_management_hub/work_request_client.py +4 -4
  213. oci/osp_gateway/address_rule_service_client.py +1 -1
  214. oci/osp_gateway/address_service_client.py +2 -2
  215. oci/osp_gateway/invoice_service_client.py +5 -5
  216. oci/osp_gateway/subscription_service_client.py +5 -5
  217. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  218. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  219. oci/osub_subscription/commitment_client.py +2 -2
  220. oci/osub_subscription/ratecard_client.py +1 -1
  221. oci/osub_subscription/subscription_client.py +1 -1
  222. oci/osub_usage/computed_usage_client.py +3 -3
  223. oci/psql/postgresql_client.py +33 -33
  224. oci/queue/queue_admin_client.py +11 -11
  225. oci/queue/queue_client.py +8 -8
  226. oci/recovery/database_recovery_client.py +23 -23
  227. oci/redis/redis_cluster_client.py +11 -11
  228. oci/resource_manager/resource_manager_client.py +52 -52
  229. oci/resource_search/resource_search_client.py +3 -3
  230. oci/rover/rover_bundle_client.py +8 -8
  231. oci/rover/rover_cluster_client.py +8 -8
  232. oci/rover/rover_entitlement_client.py +6 -6
  233. oci/rover/rover_node_client.py +15 -15
  234. oci/rover/shape_client.py +1 -1
  235. oci/rover/work_requests_client.py +5 -5
  236. oci/sch/connector_plugins_client.py +2 -2
  237. oci/sch/service_connector_client.py +12 -12
  238. oci/secrets/secrets_client.py +3 -3
  239. oci/service_catalog/service_catalog_client.py +26 -26
  240. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  241. oci/service_mesh/service_mesh_client.py +48 -48
  242. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  243. oci/streaming/stream_admin_client.py +18 -18
  244. oci/streaming/stream_client.py +8 -8
  245. oci/tenant_manager_control_plane/domain_client.py +5 -5
  246. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  247. oci/tenant_manager_control_plane/governance_client.py +2 -2
  248. oci/tenant_manager_control_plane/link_client.py +3 -3
  249. oci/tenant_manager_control_plane/orders_client.py +2 -2
  250. oci/tenant_manager_control_plane/organization_client.py +10 -10
  251. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  252. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  253. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  254. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  255. oci/threat_intelligence/threatintel_client.py +5 -5
  256. oci/usage/resources_client.py +2 -2
  257. oci/usage/rewards_client.py +6 -6
  258. oci/usage/usagelimits_client.py +1 -1
  259. oci/usage_api/usageapi_client.py +28 -28
  260. oci/vault/vaults_client.py +13 -13
  261. oci/vbs_inst/vbs_instance_client.py +10 -10
  262. oci/version.py +1 -1
  263. oci/visual_builder/vb_instance_client.py +13 -13
  264. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  265. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  266. oci/waa/waa_client.py +13 -13
  267. oci/waa/work_request_client.py +4 -4
  268. oci/waas/redirect_client.py +6 -6
  269. oci/waas/waas_client.py +66 -66
  270. oci/waf/waf_client.py +24 -24
  271. oci/work_requests/work_request_client.py +4 -4
  272. {oci-2.124.0.dist-info → oci-2.124.1.dist-info}/METADATA +1 -1
  273. {oci-2.124.0.dist-info → oci-2.124.1.dist-info}/RECORD +277 -266
  274. {oci-2.124.0.dist-info → oci-2.124.1.dist-info}/LICENSE.txt +0 -0
  275. {oci-2.124.0.dist-info → oci-2.124.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  276. {oci-2.124.0.dist-info → oci-2.124.1.dist-info}/WHEEL +0 -0
  277. {oci-2.124.0.dist-info → oci-2.124.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,82 @@
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: 20190101
6
+
7
+ from .model_deployment_system_data import ModelDeploymentSystemData
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 InstancePoolModelDeploymentSystemData(ModelDeploymentSystemData):
14
+ """
15
+ Instance pool based model deployment system data.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new InstancePoolModelDeploymentSystemData object with values from keyword arguments. The default value of the :py:attr:`~oci.data_science.models.InstancePoolModelDeploymentSystemData.system_infra_type` attribute
21
+ of this class is ``INSTANCE_POOL`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param system_infra_type:
25
+ The value to assign to the system_infra_type property of this InstancePoolModelDeploymentSystemData.
26
+ Allowed values for this property are: "INSTANCE_POOL"
27
+ :type system_infra_type: str
28
+
29
+ :param current_instance_count:
30
+ The value to assign to the current_instance_count property of this InstancePoolModelDeploymentSystemData.
31
+ :type current_instance_count: int
32
+
33
+ """
34
+ self.swagger_types = {
35
+ 'system_infra_type': 'str',
36
+ 'current_instance_count': 'int'
37
+ }
38
+
39
+ self.attribute_map = {
40
+ 'system_infra_type': 'systemInfraType',
41
+ 'current_instance_count': 'currentInstanceCount'
42
+ }
43
+
44
+ self._system_infra_type = None
45
+ self._current_instance_count = None
46
+ self._system_infra_type = 'INSTANCE_POOL'
47
+
48
+ @property
49
+ def current_instance_count(self):
50
+ """
51
+ Gets the current_instance_count of this InstancePoolModelDeploymentSystemData.
52
+ This value is the current count of the model deployment instances.
53
+
54
+
55
+ :return: The current_instance_count of this InstancePoolModelDeploymentSystemData.
56
+ :rtype: int
57
+ """
58
+ return self._current_instance_count
59
+
60
+ @current_instance_count.setter
61
+ def current_instance_count(self, current_instance_count):
62
+ """
63
+ Sets the current_instance_count of this InstancePoolModelDeploymentSystemData.
64
+ This value is the current count of the model deployment instances.
65
+
66
+
67
+ :param current_instance_count: The current_instance_count of this InstancePoolModelDeploymentSystemData.
68
+ :type: int
69
+ """
70
+ self._current_instance_count = current_instance_count
71
+
72
+ def __repr__(self):
73
+ return formatted_flat_dict(self)
74
+
75
+ def __eq__(self, other):
76
+ if other is None:
77
+ return False
78
+
79
+ return self.__dict__ == other.__dict__
80
+
81
+ def __ne__(self, other):
82
+ return not self == other
@@ -0,0 +1,121 @@
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: 20190101
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 MetricExpressionRule(object):
14
+ """
15
+ The metric expression rule base.
16
+ """
17
+
18
+ #: A constant which can be used with the metric_expression_rule_type property of a MetricExpressionRule.
19
+ #: This constant has a value of "PREDEFINED_EXPRESSION"
20
+ METRIC_EXPRESSION_RULE_TYPE_PREDEFINED_EXPRESSION = "PREDEFINED_EXPRESSION"
21
+
22
+ #: A constant which can be used with the metric_expression_rule_type property of a MetricExpressionRule.
23
+ #: This constant has a value of "CUSTOM_EXPRESSION"
24
+ METRIC_EXPRESSION_RULE_TYPE_CUSTOM_EXPRESSION = "CUSTOM_EXPRESSION"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new MetricExpressionRule object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
29
+ to a service operations then you should favor using a subclass over the base class:
30
+
31
+ * :class:`~oci.data_science.models.PredefinedMetricExpressionRule`
32
+ * :class:`~oci.data_science.models.CustomMetricExpressionRule`
33
+
34
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
35
+
36
+ :param metric_expression_rule_type:
37
+ The value to assign to the metric_expression_rule_type property of this MetricExpressionRule.
38
+ Allowed values for this property are: "PREDEFINED_EXPRESSION", "CUSTOM_EXPRESSION", 'UNKNOWN_ENUM_VALUE'.
39
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
40
+ :type metric_expression_rule_type: str
41
+
42
+ """
43
+ self.swagger_types = {
44
+ 'metric_expression_rule_type': 'str'
45
+ }
46
+
47
+ self.attribute_map = {
48
+ 'metric_expression_rule_type': 'metricExpressionRuleType'
49
+ }
50
+
51
+ self._metric_expression_rule_type = None
52
+
53
+ @staticmethod
54
+ def get_subtype(object_dictionary):
55
+ """
56
+ Given the hash representation of a subtype of this class,
57
+ use the info in the hash to return the class of the subtype.
58
+ """
59
+ type = object_dictionary['metricExpressionRuleType']
60
+
61
+ if type == 'PREDEFINED_EXPRESSION':
62
+ return 'PredefinedMetricExpressionRule'
63
+
64
+ if type == 'CUSTOM_EXPRESSION':
65
+ return 'CustomMetricExpressionRule'
66
+ else:
67
+ return 'MetricExpressionRule'
68
+
69
+ @property
70
+ def metric_expression_rule_type(self):
71
+ """
72
+ **[Required]** Gets the metric_expression_rule_type of this MetricExpressionRule.
73
+ The metric expression for creating the alarm used to trigger autoscaling actions on the model deployment.
74
+
75
+ The following values are supported:
76
+
77
+ * `PREDEFINED_EXPRESSION`: An expression built using CPU or Memory metrics emitted by the Model Deployment Monitoring.
78
+
79
+ * `CUSTOM_EXPRESSION`: A custom Monitoring Query Language (MQL) expression.
80
+
81
+ Allowed values for this property are: "PREDEFINED_EXPRESSION", "CUSTOM_EXPRESSION", 'UNKNOWN_ENUM_VALUE'.
82
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
83
+
84
+
85
+ :return: The metric_expression_rule_type of this MetricExpressionRule.
86
+ :rtype: str
87
+ """
88
+ return self._metric_expression_rule_type
89
+
90
+ @metric_expression_rule_type.setter
91
+ def metric_expression_rule_type(self, metric_expression_rule_type):
92
+ """
93
+ Sets the metric_expression_rule_type of this MetricExpressionRule.
94
+ The metric expression for creating the alarm used to trigger autoscaling actions on the model deployment.
95
+
96
+ The following values are supported:
97
+
98
+ * `PREDEFINED_EXPRESSION`: An expression built using CPU or Memory metrics emitted by the Model Deployment Monitoring.
99
+
100
+ * `CUSTOM_EXPRESSION`: A custom Monitoring Query Language (MQL) expression.
101
+
102
+
103
+ :param metric_expression_rule_type: The metric_expression_rule_type of this MetricExpressionRule.
104
+ :type: str
105
+ """
106
+ allowed_values = ["PREDEFINED_EXPRESSION", "CUSTOM_EXPRESSION"]
107
+ if not value_allowed_none_or_none_sentinel(metric_expression_rule_type, allowed_values):
108
+ metric_expression_rule_type = 'UNKNOWN_ENUM_VALUE'
109
+ self._metric_expression_rule_type = metric_expression_rule_type
110
+
111
+ def __repr__(self):
112
+ return formatted_flat_dict(self)
113
+
114
+ def __eq__(self, other):
115
+ if other is None:
116
+ return False
117
+
118
+ return self.__dict__ == other.__dict__
119
+
120
+ def __ne__(self, other):
121
+ return not self == other
@@ -36,25 +36,32 @@ class ModelConfigurationDetails(object):
36
36
  The value to assign to the bandwidth_mbps property of this ModelConfigurationDetails.
37
37
  :type bandwidth_mbps: int
38
38
 
39
+ :param maximum_bandwidth_mbps:
40
+ The value to assign to the maximum_bandwidth_mbps property of this ModelConfigurationDetails.
41
+ :type maximum_bandwidth_mbps: int
42
+
39
43
  """
40
44
  self.swagger_types = {
41
45
  'model_id': 'str',
42
46
  'instance_configuration': 'InstanceConfiguration',
43
47
  'scaling_policy': 'ScalingPolicy',
44
- 'bandwidth_mbps': 'int'
48
+ 'bandwidth_mbps': 'int',
49
+ 'maximum_bandwidth_mbps': 'int'
45
50
  }
46
51
 
47
52
  self.attribute_map = {
48
53
  'model_id': 'modelId',
49
54
  'instance_configuration': 'instanceConfiguration',
50
55
  'scaling_policy': 'scalingPolicy',
51
- 'bandwidth_mbps': 'bandwidthMbps'
56
+ 'bandwidth_mbps': 'bandwidthMbps',
57
+ 'maximum_bandwidth_mbps': 'maximumBandwidthMbps'
52
58
  }
53
59
 
54
60
  self._model_id = None
55
61
  self._instance_configuration = None
56
62
  self._scaling_policy = None
57
63
  self._bandwidth_mbps = None
64
+ self._maximum_bandwidth_mbps = None
58
65
 
59
66
  @property
60
67
  def model_id(self):
@@ -144,6 +151,30 @@ class ModelConfigurationDetails(object):
144
151
  """
145
152
  self._bandwidth_mbps = bandwidth_mbps
146
153
 
154
+ @property
155
+ def maximum_bandwidth_mbps(self):
156
+ """
157
+ Gets the maximum_bandwidth_mbps of this ModelConfigurationDetails.
158
+ The maximum network bandwidth for the model deployment.
159
+
160
+
161
+ :return: The maximum_bandwidth_mbps of this ModelConfigurationDetails.
162
+ :rtype: int
163
+ """
164
+ return self._maximum_bandwidth_mbps
165
+
166
+ @maximum_bandwidth_mbps.setter
167
+ def maximum_bandwidth_mbps(self, maximum_bandwidth_mbps):
168
+ """
169
+ Sets the maximum_bandwidth_mbps of this ModelConfigurationDetails.
170
+ The maximum network bandwidth for the model deployment.
171
+
172
+
173
+ :param maximum_bandwidth_mbps: The maximum_bandwidth_mbps of this ModelConfigurationDetails.
174
+ :type: int
175
+ """
176
+ self._maximum_bandwidth_mbps = maximum_bandwidth_mbps
177
+
147
178
  def __repr__(self):
148
179
  return formatted_flat_dict(self)
149
180
 
@@ -92,6 +92,10 @@ class ModelDeployment(object):
92
92
  The value to assign to the model_deployment_url property of this ModelDeployment.
93
93
  :type model_deployment_url: str
94
94
 
95
+ :param model_deployment_system_data:
96
+ The value to assign to the model_deployment_system_data property of this ModelDeployment.
97
+ :type model_deployment_system_data: oci.data_science.models.ModelDeploymentSystemData
98
+
95
99
  :param lifecycle_state:
96
100
  The value to assign to the lifecycle_state property of this ModelDeployment.
97
101
  Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "FAILED", "INACTIVE", "UPDATING", "DELETED", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'.
@@ -122,6 +126,7 @@ class ModelDeployment(object):
122
126
  'model_deployment_configuration_details': 'ModelDeploymentConfigurationDetails',
123
127
  'category_log_details': 'CategoryLogDetails',
124
128
  'model_deployment_url': 'str',
129
+ 'model_deployment_system_data': 'ModelDeploymentSystemData',
125
130
  'lifecycle_state': 'str',
126
131
  'lifecycle_details': 'str',
127
132
  'freeform_tags': 'dict(str, str)',
@@ -139,6 +144,7 @@ class ModelDeployment(object):
139
144
  'model_deployment_configuration_details': 'modelDeploymentConfigurationDetails',
140
145
  'category_log_details': 'categoryLogDetails',
141
146
  'model_deployment_url': 'modelDeploymentUrl',
147
+ 'model_deployment_system_data': 'modelDeploymentSystemData',
142
148
  'lifecycle_state': 'lifecycleState',
143
149
  'lifecycle_details': 'lifecycleDetails',
144
150
  'freeform_tags': 'freeformTags',
@@ -155,6 +161,7 @@ class ModelDeployment(object):
155
161
  self._model_deployment_configuration_details = None
156
162
  self._category_log_details = None
157
163
  self._model_deployment_url = None
164
+ self._model_deployment_system_data = None
158
165
  self._lifecycle_state = None
159
166
  self._lifecycle_details = None
160
167
  self._freeform_tags = None
@@ -416,6 +423,26 @@ class ModelDeployment(object):
416
423
  """
417
424
  self._model_deployment_url = model_deployment_url
418
425
 
426
+ @property
427
+ def model_deployment_system_data(self):
428
+ """
429
+ Gets the model_deployment_system_data of this ModelDeployment.
430
+
431
+ :return: The model_deployment_system_data of this ModelDeployment.
432
+ :rtype: oci.data_science.models.ModelDeploymentSystemData
433
+ """
434
+ return self._model_deployment_system_data
435
+
436
+ @model_deployment_system_data.setter
437
+ def model_deployment_system_data(self, model_deployment_system_data):
438
+ """
439
+ Sets the model_deployment_system_data of this ModelDeployment.
440
+
441
+ :param model_deployment_system_data: The model_deployment_system_data of this ModelDeployment.
442
+ :type: oci.data_science.models.ModelDeploymentSystemData
443
+ """
444
+ self._model_deployment_system_data = model_deployment_system_data
445
+
419
446
  @property
420
447
  def lifecycle_state(self):
421
448
  """
@@ -15,6 +15,18 @@ class ModelDeploymentInstanceShapeConfigDetails(object):
15
15
  Details for the model-deployment instance shape configuration.
16
16
  """
17
17
 
18
+ #: A constant which can be used with the cpu_baseline property of a ModelDeploymentInstanceShapeConfigDetails.
19
+ #: This constant has a value of "BASELINE_1_8"
20
+ CPU_BASELINE_BASELINE_1_8 = "BASELINE_1_8"
21
+
22
+ #: A constant which can be used with the cpu_baseline property of a ModelDeploymentInstanceShapeConfigDetails.
23
+ #: This constant has a value of "BASELINE_1_2"
24
+ CPU_BASELINE_BASELINE_1_2 = "BASELINE_1_2"
25
+
26
+ #: A constant which can be used with the cpu_baseline property of a ModelDeploymentInstanceShapeConfigDetails.
27
+ #: This constant has a value of "BASELINE_1_1"
28
+ CPU_BASELINE_BASELINE_1_1 = "BASELINE_1_1"
29
+
18
30
  def __init__(self, **kwargs):
19
31
  """
20
32
  Initializes a new ModelDeploymentInstanceShapeConfigDetails object with values from keyword arguments.
@@ -28,19 +40,28 @@ class ModelDeploymentInstanceShapeConfigDetails(object):
28
40
  The value to assign to the memory_in_gbs property of this ModelDeploymentInstanceShapeConfigDetails.
29
41
  :type memory_in_gbs: float
30
42
 
43
+ :param cpu_baseline:
44
+ The value to assign to the cpu_baseline property of this ModelDeploymentInstanceShapeConfigDetails.
45
+ Allowed values for this property are: "BASELINE_1_8", "BASELINE_1_2", "BASELINE_1_1", 'UNKNOWN_ENUM_VALUE'.
46
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
47
+ :type cpu_baseline: str
48
+
31
49
  """
32
50
  self.swagger_types = {
33
51
  'ocpus': 'float',
34
- 'memory_in_gbs': 'float'
52
+ 'memory_in_gbs': 'float',
53
+ 'cpu_baseline': 'str'
35
54
  }
36
55
 
37
56
  self.attribute_map = {
38
57
  'ocpus': 'ocpus',
39
- 'memory_in_gbs': 'memoryInGBs'
58
+ 'memory_in_gbs': 'memoryInGBs',
59
+ 'cpu_baseline': 'cpuBaseline'
40
60
  }
41
61
 
42
62
  self._ocpus = None
43
63
  self._memory_in_gbs = None
64
+ self._cpu_baseline = None
44
65
 
45
66
  @property
46
67
  def ocpus(self):
@@ -90,6 +111,44 @@ class ModelDeploymentInstanceShapeConfigDetails(object):
90
111
  """
91
112
  self._memory_in_gbs = memory_in_gbs
92
113
 
114
+ @property
115
+ def cpu_baseline(self):
116
+ """
117
+ Gets the cpu_baseline of this ModelDeploymentInstanceShapeConfigDetails.
118
+ The baseline OCPU utilization for a subcore burstable VM instance. If this attribute is left blank, it will default to `BASELINE_1_1`.
119
+ The following values are supported:
120
+ BASELINE_1_8 - baseline usage is 1/8 of an OCPU.
121
+ BASELINE_1_2 - baseline usage is 1/2 of an OCPU.
122
+ BASELINE_1_1 - baseline usage is an entire OCPU. This represents a non-burstable instance.
123
+
124
+ Allowed values for this property are: "BASELINE_1_8", "BASELINE_1_2", "BASELINE_1_1", 'UNKNOWN_ENUM_VALUE'.
125
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
126
+
127
+
128
+ :return: The cpu_baseline of this ModelDeploymentInstanceShapeConfigDetails.
129
+ :rtype: str
130
+ """
131
+ return self._cpu_baseline
132
+
133
+ @cpu_baseline.setter
134
+ def cpu_baseline(self, cpu_baseline):
135
+ """
136
+ Sets the cpu_baseline of this ModelDeploymentInstanceShapeConfigDetails.
137
+ The baseline OCPU utilization for a subcore burstable VM instance. If this attribute is left blank, it will default to `BASELINE_1_1`.
138
+ The following values are supported:
139
+ BASELINE_1_8 - baseline usage is 1/8 of an OCPU.
140
+ BASELINE_1_2 - baseline usage is 1/2 of an OCPU.
141
+ BASELINE_1_1 - baseline usage is an entire OCPU. This represents a non-burstable instance.
142
+
143
+
144
+ :param cpu_baseline: The cpu_baseline of this ModelDeploymentInstanceShapeConfigDetails.
145
+ :type: str
146
+ """
147
+ allowed_values = ["BASELINE_1_8", "BASELINE_1_2", "BASELINE_1_1"]
148
+ if not value_allowed_none_or_none_sentinel(cpu_baseline, allowed_values):
149
+ cpu_baseline = 'UNKNOWN_ENUM_VALUE'
150
+ self._cpu_baseline = cpu_baseline
151
+
93
152
  def __repr__(self):
94
153
  return formatted_flat_dict(self)
95
154
 
@@ -0,0 +1,101 @@
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: 20190101
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 ModelDeploymentSystemData(object):
14
+ """
15
+ Model deployment system data.
16
+ """
17
+
18
+ #: A constant which can be used with the system_infra_type property of a ModelDeploymentSystemData.
19
+ #: This constant has a value of "INSTANCE_POOL"
20
+ SYSTEM_INFRA_TYPE_INSTANCE_POOL = "INSTANCE_POOL"
21
+
22
+ def __init__(self, **kwargs):
23
+ """
24
+ Initializes a new ModelDeploymentSystemData object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
25
+ to a service operations then you should favor using a subclass over the base class:
26
+
27
+ * :class:`~oci.data_science.models.InstancePoolModelDeploymentSystemData`
28
+
29
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
30
+
31
+ :param system_infra_type:
32
+ The value to assign to the system_infra_type property of this ModelDeploymentSystemData.
33
+ Allowed values for this property are: "INSTANCE_POOL", 'UNKNOWN_ENUM_VALUE'.
34
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
35
+ :type system_infra_type: str
36
+
37
+ """
38
+ self.swagger_types = {
39
+ 'system_infra_type': 'str'
40
+ }
41
+
42
+ self.attribute_map = {
43
+ 'system_infra_type': 'systemInfraType'
44
+ }
45
+
46
+ self._system_infra_type = None
47
+
48
+ @staticmethod
49
+ def get_subtype(object_dictionary):
50
+ """
51
+ Given the hash representation of a subtype of this class,
52
+ use the info in the hash to return the class of the subtype.
53
+ """
54
+ type = object_dictionary['systemInfraType']
55
+
56
+ if type == 'INSTANCE_POOL':
57
+ return 'InstancePoolModelDeploymentSystemData'
58
+ else:
59
+ return 'ModelDeploymentSystemData'
60
+
61
+ @property
62
+ def system_infra_type(self):
63
+ """
64
+ Gets the system_infra_type of this ModelDeploymentSystemData.
65
+ The infrastructure type of the model deployment.
66
+
67
+ Allowed values for this property are: "INSTANCE_POOL", 'UNKNOWN_ENUM_VALUE'.
68
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
69
+
70
+
71
+ :return: The system_infra_type of this ModelDeploymentSystemData.
72
+ :rtype: str
73
+ """
74
+ return self._system_infra_type
75
+
76
+ @system_infra_type.setter
77
+ def system_infra_type(self, system_infra_type):
78
+ """
79
+ Sets the system_infra_type of this ModelDeploymentSystemData.
80
+ The infrastructure type of the model deployment.
81
+
82
+
83
+ :param system_infra_type: The system_infra_type of this ModelDeploymentSystemData.
84
+ :type: str
85
+ """
86
+ allowed_values = ["INSTANCE_POOL"]
87
+ if not value_allowed_none_or_none_sentinel(system_infra_type, allowed_values):
88
+ system_infra_type = 'UNKNOWN_ENUM_VALUE'
89
+ self._system_infra_type = system_infra_type
90
+
91
+ def __repr__(self):
92
+ return formatted_flat_dict(self)
93
+
94
+ def __eq__(self, other):
95
+ if other is None:
96
+ return False
97
+
98
+ return self.__dict__ == other.__dict__
99
+
100
+ def __ne__(self, other):
101
+ return not self == other
@@ -0,0 +1,97 @@
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: 20190101
6
+
7
+ from .scaling_configuration import ScalingConfiguration
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 PredefinedExpressionThresholdScalingConfiguration(ScalingConfiguration):
14
+ """
15
+ The scaling configuration for the predefined metric expression rule.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new PredefinedExpressionThresholdScalingConfiguration object with values from keyword arguments. The default value of the :py:attr:`~oci.data_science.models.PredefinedExpressionThresholdScalingConfiguration.scaling_configuration_type` attribute
21
+ of this class is ``THRESHOLD`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param scaling_configuration_type:
25
+ The value to assign to the scaling_configuration_type property of this PredefinedExpressionThresholdScalingConfiguration.
26
+ Allowed values for this property are: "THRESHOLD", "QUERY", 'UNKNOWN_ENUM_VALUE'.
27
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
28
+ :type scaling_configuration_type: str
29
+
30
+ :param pending_duration:
31
+ The value to assign to the pending_duration property of this PredefinedExpressionThresholdScalingConfiguration.
32
+ :type pending_duration: str
33
+
34
+ :param instance_count_adjustment:
35
+ The value to assign to the instance_count_adjustment property of this PredefinedExpressionThresholdScalingConfiguration.
36
+ :type instance_count_adjustment: int
37
+
38
+ :param threshold:
39
+ The value to assign to the threshold property of this PredefinedExpressionThresholdScalingConfiguration.
40
+ :type threshold: int
41
+
42
+ """
43
+ self.swagger_types = {
44
+ 'scaling_configuration_type': 'str',
45
+ 'pending_duration': 'str',
46
+ 'instance_count_adjustment': 'int',
47
+ 'threshold': 'int'
48
+ }
49
+
50
+ self.attribute_map = {
51
+ 'scaling_configuration_type': 'scalingConfigurationType',
52
+ 'pending_duration': 'pendingDuration',
53
+ 'instance_count_adjustment': 'instanceCountAdjustment',
54
+ 'threshold': 'threshold'
55
+ }
56
+
57
+ self._scaling_configuration_type = None
58
+ self._pending_duration = None
59
+ self._instance_count_adjustment = None
60
+ self._threshold = None
61
+ self._scaling_configuration_type = 'THRESHOLD'
62
+
63
+ @property
64
+ def threshold(self):
65
+ """
66
+ **[Required]** Gets the threshold of this PredefinedExpressionThresholdScalingConfiguration.
67
+ A metric value at which the scaling operation will be triggered.
68
+
69
+
70
+ :return: The threshold of this PredefinedExpressionThresholdScalingConfiguration.
71
+ :rtype: int
72
+ """
73
+ return self._threshold
74
+
75
+ @threshold.setter
76
+ def threshold(self, threshold):
77
+ """
78
+ Sets the threshold of this PredefinedExpressionThresholdScalingConfiguration.
79
+ A metric value at which the scaling operation will be triggered.
80
+
81
+
82
+ :param threshold: The threshold of this PredefinedExpressionThresholdScalingConfiguration.
83
+ :type: int
84
+ """
85
+ self._threshold = threshold
86
+
87
+ def __repr__(self):
88
+ return formatted_flat_dict(self)
89
+
90
+ def __eq__(self, other):
91
+ if other is None:
92
+ return False
93
+
94
+ return self.__dict__ == other.__dict__
95
+
96
+ def __ne__(self, other):
97
+ return not self == other