pulumi-oci 3.4.0a1755714728__py3-none-any.whl → 3.4.0a1755922408__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.
- pulumi_oci/__init__.py +168 -43
- pulumi_oci/aidocument/__init__.py +1 -0
- pulumi_oci/aidocument/_inputs.py +476 -6
- pulumi_oci/aidocument/get_model.py +63 -2
- pulumi_oci/aidocument/get_model_type.py +179 -0
- pulumi_oci/aidocument/get_models.py +1 -1
- pulumi_oci/aidocument/get_project.py +17 -2
- pulumi_oci/aidocument/get_projects.py +1 -1
- pulumi_oci/aidocument/model.py +188 -0
- pulumi_oci/aidocument/outputs.py +883 -8
- pulumi_oci/aidocument/processor_job.py +22 -4
- pulumi_oci/aidocument/project.py +50 -1
- pulumi_oci/apigateway/_inputs.py +608 -12
- pulumi_oci/apigateway/api.py +127 -38
- pulumi_oci/apigateway/certificate.py +122 -3
- pulumi_oci/apigateway/deployment.py +120 -3
- pulumi_oci/apigateway/gateway.py +124 -7
- pulumi_oci/apigateway/get_api.py +40 -1
- pulumi_oci/apigateway/get_certificate.py +41 -1
- pulumi_oci/apigateway/get_deployment.py +40 -1
- pulumi_oci/apigateway/get_gateway.py +40 -1
- pulumi_oci/apigateway/get_subscriber.py +40 -1
- pulumi_oci/apigateway/get_usage_plan.py +40 -1
- pulumi_oci/apigateway/outputs.py +1413 -39
- pulumi_oci/apigateway/subscriber.py +120 -3
- pulumi_oci/apigateway/usage_plan.py +127 -38
- pulumi_oci/apmconfig/_inputs.py +199 -15
- pulumi_oci/apmconfig/config.py +535 -17
- pulumi_oci/apmconfig/get_config.py +141 -1
- pulumi_oci/apmconfig/get_configs.py +2 -2
- pulumi_oci/apmconfig/outputs.py +509 -13
- pulumi_oci/apmtraces/__init__.py +5 -0
- pulumi_oci/apmtraces/_inputs.py +413 -0
- pulumi_oci/apmtraces/get_attribute_auto_activate_status.py +160 -0
- pulumi_oci/apmtraces/get_log.py +356 -0
- pulumi_oci/apmtraces/get_scheduled_queries.py +163 -0
- pulumi_oci/apmtraces/get_scheduled_query.py +368 -0
- pulumi_oci/apmtraces/get_trace.py +4 -4
- pulumi_oci/apmtraces/outputs.py +971 -0
- pulumi_oci/apmtraces/scheduled_query.py +925 -0
- pulumi_oci/autoscaling/_inputs.py +177 -13
- pulumi_oci/autoscaling/auto_scaling_configuration.py +12 -0
- pulumi_oci/autoscaling/outputs.py +269 -23
- pulumi_oci/core/_inputs.py +184 -0
- pulumi_oci/core/get_ipv6.py +15 -1
- pulumi_oci/core/ipv6.py +49 -0
- pulumi_oci/core/outputs.py +365 -0
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +139 -7
- pulumi_oci/database/autonomous_container_database.py +94 -0
- pulumi_oci/database/autonomous_container_database_add_standby.py +28 -0
- pulumi_oci/database/autonomous_database.py +578 -568
- pulumi_oci/database/autonomous_database_saas_admin_user.py +43 -60
- pulumi_oci/database/get_autonomous_container_database.py +29 -1
- pulumi_oci/database/get_autonomous_database.py +65 -1
- pulumi_oci/database/get_autonomous_databases.py +6 -1
- pulumi_oci/database/get_pluggable_database_snapshot.py +253 -0
- pulumi_oci/database/get_pluggable_database_snapshots.py +235 -0
- pulumi_oci/database/outputs.py +470 -75
- pulumi_oci/database/pluggable_database.py +0 -14
- pulumi_oci/database/pluggable_database_snapshot.py +539 -0
- pulumi_oci/databasemanagement/__init__.py +37 -0
- pulumi_oci/databasemanagement/_inputs.py +9516 -3414
- pulumi_oci/databasemanagement/cloud_asm.py +791 -0
- pulumi_oci/databasemanagement/cloud_asm_instance.py +686 -0
- pulumi_oci/databasemanagement/cloud_cluster.py +847 -0
- pulumi_oci/databasemanagement/cloud_cluster_instance.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_home.py +630 -0
- pulumi_oci/databasemanagement/cloud_db_node.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_database_managements_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_stack_monitorings_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_connector.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system_discovery.py +754 -0
- pulumi_oci/databasemanagement/cloud_listener.py +1043 -0
- pulumi_oci/databasemanagement/get_cloud_asm.py +380 -0
- pulumi_oci/databasemanagement/get_cloud_asm_configuration.py +147 -0
- pulumi_oci/databasemanagement/get_cloud_asm_disk_groups.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instance.py +337 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_asm_users.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asms.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_cluster.py +408 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instance.py +379 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_clusters.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_databases.py +188 -0
- pulumi_oci/databasemanagement/get_cloud_db_home.py +309 -0
- pulumi_oci/databasemanagement/get_cloud_db_homes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_node.py +365 -0
- pulumi_oci/databasemanagement/get_cloud_db_nodes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system.py +352 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connector.py +338 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connectors.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discoveries.py +169 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discovery.py +335 -0
- pulumi_oci/databasemanagement/get_cloud_db_systems.py +235 -0
- pulumi_oci/databasemanagement/get_cloud_listener.py +506 -0
- pulumi_oci/databasemanagement/get_cloud_listener_services.py +187 -0
- pulumi_oci/databasemanagement/get_cloud_listeners.py +191 -0
- pulumi_oci/databasemanagement/get_managed_database.py +2 -2
- pulumi_oci/databasemanagement/get_managed_database_group.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +6 -6
- pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +5 -5
- pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +2 -2
- pulumi_oci/databasemanagement/outputs.py +18049 -4222
- pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +22 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +2 -2
- pulumi_oci/datasafe/get_security_assessments.py +2 -2
- pulumi_oci/datasafe/outputs.py +192 -2
- pulumi_oci/datascience/__init__.py +10 -0
- pulumi_oci/datascience/_inputs.py +6760 -2206
- pulumi_oci/datascience/get_job.py +15 -1
- pulumi_oci/datascience/get_job_run.py +44 -2
- pulumi_oci/datascience/get_model_deployment_model_states.py +251 -0
- pulumi_oci/datascience/get_model_group.py +405 -0
- pulumi_oci/datascience/get_model_group_artifact_content.py +132 -0
- pulumi_oci/datascience/get_model_group_models.py +240 -0
- pulumi_oci/datascience/get_model_group_version_histories.py +243 -0
- pulumi_oci/{aianomalydetection/get_detection_model.py → datascience/get_model_group_version_history.py} +73 -74
- pulumi_oci/datascience/get_model_groups.py +265 -0
- pulumi_oci/datascience/get_pipeline_run.py +15 -1
- pulumi_oci/datascience/job.py +81 -154
- pulumi_oci/datascience/job_run.py +250 -4
- pulumi_oci/datascience/model_group.py +1111 -0
- pulumi_oci/datascience/model_group_artifact.py +369 -0
- pulumi_oci/{aianomalydetection/model.py → datascience/model_group_version_history.py} +172 -187
- pulumi_oci/datascience/notebook_session.py +4 -0
- pulumi_oci/datascience/outputs.py +17168 -8021
- pulumi_oci/datascience/pipeline_run.py +87 -0
- pulumi_oci/goldengate/_inputs.py +3 -3
- pulumi_oci/goldengate/connection.py +175 -56
- pulumi_oci/goldengate/get_connection.py +20 -4
- pulumi_oci/goldengate/outputs.py +27 -8
- pulumi_oci/managementagent/__init__.py +4 -0
- pulumi_oci/managementagent/_inputs.py +129 -0
- pulumi_oci/managementagent/get_management_agent.py +26 -1
- pulumi_oci/managementagent/get_management_agent_install_key.py +43 -1
- pulumi_oci/managementagent/get_management_agent_named_credentials_metadata.py +147 -0
- pulumi_oci/managementagent/get_named_credential.py +268 -0
- pulumi_oci/managementagent/get_named_credentials.py +221 -0
- pulumi_oci/managementagent/management_agent.py +48 -0
- pulumi_oci/managementagent/management_agent_install_key.py +84 -0
- pulumi_oci/managementagent/named_credential.py +706 -0
- pulumi_oci/managementagent/outputs.py +515 -0
- pulumi_oci/managementdashboard/management_dashboards_import.py +178 -20
- pulumi_oci/oci/__init__.py +3 -0
- pulumi_oci/oci/_inputs.py +146 -0
- pulumi_oci/{aianomalydetection/project.py → oci/api_platform_api_platform_instance.py} +204 -118
- pulumi_oci/oci/get_api_platform_api_platform_instance.py +282 -0
- pulumi_oci/oci/get_api_platform_api_platform_instances.py +199 -0
- pulumi_oci/oci/outputs.py +367 -0
- pulumi_oci/opsi/_inputs.py +1001 -149
- pulumi_oci/opsi/database_insight.py +22 -3
- pulumi_oci/opsi/exadata_insight.py +86 -6
- pulumi_oci/opsi/outputs.py +1438 -178
- pulumi_oci/psql/configuration.py +109 -19
- pulumi_oci/psql/db_system.py +7 -7
- pulumi_oci/psql/get_configuration.py +30 -2
- pulumi_oci/psql/get_configurations.py +49 -5
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_default_configuration.py +30 -4
- pulumi_oci/psql/get_default_configurations.py +49 -5
- pulumi_oci/psql/outputs.py +47 -14
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +6 -0
- pulumi_oci/redis/_inputs.py +217 -0
- pulumi_oci/{aianomalydetection/get_detection_data_asset.py → redis/get_oci_cache_config_set.py} +74 -74
- pulumi_oci/redis/get_oci_cache_config_sets.py +221 -0
- pulumi_oci/redis/get_oci_cache_default_config_set.py +217 -0
- pulumi_oci/redis/get_oci_cache_default_config_sets.py +218 -0
- pulumi_oci/redis/get_redis_cluster.py +15 -1
- pulumi_oci/{aianomalydetection/data_asset.py → redis/oci_cache_config_set.py} +190 -254
- pulumi_oci/redis/oci_cache_config_setlist_associated_oci_cache_cluster.py +240 -0
- pulumi_oci/redis/outputs.py +713 -0
- pulumi_oci/redis/redis_cluster.py +49 -0
- pulumi_oci/vault/_inputs.py +198 -0
- pulumi_oci/vault/get_secret.py +43 -1
- pulumi_oci/vault/outputs.py +434 -0
- pulumi_oci/vault/secret.py +103 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/RECORD +185 -134
- pulumi_oci/aianomalydetection/__init__.py +0 -25
- pulumi_oci/aianomalydetection/_inputs.py +0 -1742
- pulumi_oci/aianomalydetection/ai_private_endpoint.py +0 -643
- pulumi_oci/aianomalydetection/detect_anomaly_job.py +0 -739
- pulumi_oci/aianomalydetection/get_ai_private_endpoint.py +0 -281
- pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +0 -199
- pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +0 -338
- pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +0 -254
- pulumi_oci/aianomalydetection/get_detection_data_assets.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_models.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_project.py +0 -239
- pulumi_oci/aianomalydetection/get_detection_projects.py +0 -191
- pulumi_oci/aianomalydetection/outputs.py +0 -3699
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,7 @@ class GetModelResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getModel.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, compartment_id=None, component_models=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, is_composed_model=None, is_quick_mode=None, labels=None, lifecycle_details=None, max_training_time_in_hours=None, metrics=None, model_id=None, model_type=None, model_version=None, project_id=None, state=None, system_tags=None, tenancy_id=None, testing_datasets=None, time_created=None, time_updated=None, trained_time_in_hours=None, training_datasets=None, validation_datasets=None):
|
30
|
+
def __init__(__self__, compartment_id=None, component_models=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, inference_units=None, is_composed_model=None, is_quick_mode=None, labels=None, language=None, lifecycle_details=None, locks=None, max_training_time_in_hours=None, metrics=None, model_id=None, model_sub_types=None, model_type=None, model_version=None, project_id=None, state=None, system_tags=None, tenancy_id=None, testing_datasets=None, time_created=None, time_updated=None, trained_time_in_hours=None, training_datasets=None, validation_datasets=None):
|
31
31
|
if compartment_id and not isinstance(compartment_id, str):
|
32
32
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
33
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -49,6 +49,9 @@ class GetModelResult:
|
|
49
49
|
if id and not isinstance(id, str):
|
50
50
|
raise TypeError("Expected argument 'id' to be a str")
|
51
51
|
pulumi.set(__self__, "id", id)
|
52
|
+
if inference_units and not isinstance(inference_units, int):
|
53
|
+
raise TypeError("Expected argument 'inference_units' to be a int")
|
54
|
+
pulumi.set(__self__, "inference_units", inference_units)
|
52
55
|
if is_composed_model and not isinstance(is_composed_model, bool):
|
53
56
|
raise TypeError("Expected argument 'is_composed_model' to be a bool")
|
54
57
|
pulumi.set(__self__, "is_composed_model", is_composed_model)
|
@@ -58,9 +61,15 @@ class GetModelResult:
|
|
58
61
|
if labels and not isinstance(labels, list):
|
59
62
|
raise TypeError("Expected argument 'labels' to be a list")
|
60
63
|
pulumi.set(__self__, "labels", labels)
|
64
|
+
if language and not isinstance(language, str):
|
65
|
+
raise TypeError("Expected argument 'language' to be a str")
|
66
|
+
pulumi.set(__self__, "language", language)
|
61
67
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
62
68
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
63
69
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
70
|
+
if locks and not isinstance(locks, list):
|
71
|
+
raise TypeError("Expected argument 'locks' to be a list")
|
72
|
+
pulumi.set(__self__, "locks", locks)
|
64
73
|
if max_training_time_in_hours and not isinstance(max_training_time_in_hours, float):
|
65
74
|
raise TypeError("Expected argument 'max_training_time_in_hours' to be a float")
|
66
75
|
pulumi.set(__self__, "max_training_time_in_hours", max_training_time_in_hours)
|
@@ -70,6 +79,9 @@ class GetModelResult:
|
|
70
79
|
if model_id and not isinstance(model_id, str):
|
71
80
|
raise TypeError("Expected argument 'model_id' to be a str")
|
72
81
|
pulumi.set(__self__, "model_id", model_id)
|
82
|
+
if model_sub_types and not isinstance(model_sub_types, list):
|
83
|
+
raise TypeError("Expected argument 'model_sub_types' to be a list")
|
84
|
+
pulumi.set(__self__, "model_sub_types", model_sub_types)
|
73
85
|
if model_type and not isinstance(model_type, str):
|
74
86
|
raise TypeError("Expected argument 'model_type' to be a str")
|
75
87
|
pulumi.set(__self__, "model_type", model_type)
|
@@ -111,7 +123,7 @@ class GetModelResult:
|
|
111
123
|
@pulumi.getter(name="compartmentId")
|
112
124
|
def compartment_id(self) -> _builtins.str:
|
113
125
|
"""
|
114
|
-
The compartment
|
126
|
+
The lock compartment ID.
|
115
127
|
"""
|
116
128
|
return pulumi.get(self, "compartment_id")
|
117
129
|
|
@@ -163,6 +175,14 @@ class GetModelResult:
|
|
163
175
|
"""
|
164
176
|
return pulumi.get(self, "id")
|
165
177
|
|
178
|
+
@_builtins.property
|
179
|
+
@pulumi.getter(name="inferenceUnits")
|
180
|
+
def inference_units(self) -> _builtins.int:
|
181
|
+
"""
|
182
|
+
Number of replicas required for this model.
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "inference_units")
|
185
|
+
|
166
186
|
@_builtins.property
|
167
187
|
@pulumi.getter(name="isComposedModel")
|
168
188
|
def is_composed_model(self) -> _builtins.bool:
|
@@ -187,6 +207,14 @@ class GetModelResult:
|
|
187
207
|
"""
|
188
208
|
return pulumi.get(self, "labels")
|
189
209
|
|
210
|
+
@_builtins.property
|
211
|
+
@pulumi.getter
|
212
|
+
def language(self) -> _builtins.str:
|
213
|
+
"""
|
214
|
+
The document language for model training, abbreviated according to the BCP 47 syntax.
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "language")
|
217
|
+
|
190
218
|
@_builtins.property
|
191
219
|
@pulumi.getter(name="lifecycleDetails")
|
192
220
|
def lifecycle_details(self) -> _builtins.str:
|
@@ -195,6 +223,14 @@ class GetModelResult:
|
|
195
223
|
"""
|
196
224
|
return pulumi.get(self, "lifecycle_details")
|
197
225
|
|
226
|
+
@_builtins.property
|
227
|
+
@pulumi.getter
|
228
|
+
def locks(self) -> Sequence['outputs.GetModelLockResult']:
|
229
|
+
"""
|
230
|
+
Locks associated with this resource.
|
231
|
+
"""
|
232
|
+
return pulumi.get(self, "locks")
|
233
|
+
|
198
234
|
@_builtins.property
|
199
235
|
@pulumi.getter(name="maxTrainingTimeInHours")
|
200
236
|
def max_training_time_in_hours(self) -> _builtins.float:
|
@@ -219,6 +255,19 @@ class GetModelResult:
|
|
219
255
|
"""
|
220
256
|
return pulumi.get(self, "model_id")
|
221
257
|
|
258
|
+
@_builtins.property
|
259
|
+
@pulumi.getter(name="modelSubTypes")
|
260
|
+
def model_sub_types(self) -> Sequence['outputs.GetModelModelSubTypeResult']:
|
261
|
+
"""
|
262
|
+
The model sub type for PRE_TRAINED_KEY_VALUE_EXTRACTION The allowed values are:
|
263
|
+
* `RECEIPT`
|
264
|
+
* `INVOICE`
|
265
|
+
* `PASSPORT`
|
266
|
+
* `DRIVER_LICENSE`
|
267
|
+
* `HEALTH_INSURANCE_ID`
|
268
|
+
"""
|
269
|
+
return pulumi.get(self, "model_sub_types")
|
270
|
+
|
222
271
|
@_builtins.property
|
223
272
|
@pulumi.getter(name="modelType")
|
224
273
|
def model_type(self) -> _builtins.str:
|
@@ -329,13 +378,17 @@ class AwaitableGetModelResult(GetModelResult):
|
|
329
378
|
display_name=self.display_name,
|
330
379
|
freeform_tags=self.freeform_tags,
|
331
380
|
id=self.id,
|
381
|
+
inference_units=self.inference_units,
|
332
382
|
is_composed_model=self.is_composed_model,
|
333
383
|
is_quick_mode=self.is_quick_mode,
|
334
384
|
labels=self.labels,
|
385
|
+
language=self.language,
|
335
386
|
lifecycle_details=self.lifecycle_details,
|
387
|
+
locks=self.locks,
|
336
388
|
max_training_time_in_hours=self.max_training_time_in_hours,
|
337
389
|
metrics=self.metrics,
|
338
390
|
model_id=self.model_id,
|
391
|
+
model_sub_types=self.model_sub_types,
|
339
392
|
model_type=self.model_type,
|
340
393
|
model_version=self.model_version,
|
341
394
|
project_id=self.project_id,
|
@@ -382,13 +435,17 @@ def get_model(model_id: Optional[_builtins.str] = None,
|
|
382
435
|
display_name=pulumi.get(__ret__, 'display_name'),
|
383
436
|
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
384
437
|
id=pulumi.get(__ret__, 'id'),
|
438
|
+
inference_units=pulumi.get(__ret__, 'inference_units'),
|
385
439
|
is_composed_model=pulumi.get(__ret__, 'is_composed_model'),
|
386
440
|
is_quick_mode=pulumi.get(__ret__, 'is_quick_mode'),
|
387
441
|
labels=pulumi.get(__ret__, 'labels'),
|
442
|
+
language=pulumi.get(__ret__, 'language'),
|
388
443
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
444
|
+
locks=pulumi.get(__ret__, 'locks'),
|
389
445
|
max_training_time_in_hours=pulumi.get(__ret__, 'max_training_time_in_hours'),
|
390
446
|
metrics=pulumi.get(__ret__, 'metrics'),
|
391
447
|
model_id=pulumi.get(__ret__, 'model_id'),
|
448
|
+
model_sub_types=pulumi.get(__ret__, 'model_sub_types'),
|
392
449
|
model_type=pulumi.get(__ret__, 'model_type'),
|
393
450
|
model_version=pulumi.get(__ret__, 'model_version'),
|
394
451
|
project_id=pulumi.get(__ret__, 'project_id'),
|
@@ -432,13 +489,17 @@ def get_model_output(model_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
432
489
|
display_name=pulumi.get(__response__, 'display_name'),
|
433
490
|
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
434
491
|
id=pulumi.get(__response__, 'id'),
|
492
|
+
inference_units=pulumi.get(__response__, 'inference_units'),
|
435
493
|
is_composed_model=pulumi.get(__response__, 'is_composed_model'),
|
436
494
|
is_quick_mode=pulumi.get(__response__, 'is_quick_mode'),
|
437
495
|
labels=pulumi.get(__response__, 'labels'),
|
496
|
+
language=pulumi.get(__response__, 'language'),
|
438
497
|
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
498
|
+
locks=pulumi.get(__response__, 'locks'),
|
439
499
|
max_training_time_in_hours=pulumi.get(__response__, 'max_training_time_in_hours'),
|
440
500
|
metrics=pulumi.get(__response__, 'metrics'),
|
441
501
|
model_id=pulumi.get(__response__, 'model_id'),
|
502
|
+
model_sub_types=pulumi.get(__response__, 'model_sub_types'),
|
442
503
|
model_type=pulumi.get(__response__, 'model_type'),
|
443
504
|
model_version=pulumi.get(__response__, 'model_version'),
|
444
505
|
project_id=pulumi.get(__response__, 'project_id'),
|
@@ -0,0 +1,179 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetModelTypeResult',
|
19
|
+
'AwaitableGetModelTypeResult',
|
20
|
+
'get_model_type',
|
21
|
+
'get_model_type_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetModelTypeResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getModelType.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, capabilities=None, compartment_id=None, id=None, model_sub_type=None, model_type=None, versions=None):
|
30
|
+
if capabilities and not isinstance(capabilities, str):
|
31
|
+
raise TypeError("Expected argument 'capabilities' to be a str")
|
32
|
+
pulumi.set(__self__, "capabilities", capabilities)
|
33
|
+
if compartment_id and not isinstance(compartment_id, str):
|
34
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
35
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
if model_sub_type and not isinstance(model_sub_type, str):
|
40
|
+
raise TypeError("Expected argument 'model_sub_type' to be a str")
|
41
|
+
pulumi.set(__self__, "model_sub_type", model_sub_type)
|
42
|
+
if model_type and not isinstance(model_type, str):
|
43
|
+
raise TypeError("Expected argument 'model_type' to be a str")
|
44
|
+
pulumi.set(__self__, "model_type", model_type)
|
45
|
+
if versions and not isinstance(versions, list):
|
46
|
+
raise TypeError("Expected argument 'versions' to be a list")
|
47
|
+
pulumi.set(__self__, "versions", versions)
|
48
|
+
|
49
|
+
@_builtins.property
|
50
|
+
@pulumi.getter
|
51
|
+
def capabilities(self) -> _builtins.str:
|
52
|
+
"""
|
53
|
+
Model information capabilities related to version
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "capabilities")
|
56
|
+
|
57
|
+
@_builtins.property
|
58
|
+
@pulumi.getter(name="compartmentId")
|
59
|
+
def compartment_id(self) -> Optional[_builtins.str]:
|
60
|
+
return pulumi.get(self, "compartment_id")
|
61
|
+
|
62
|
+
@_builtins.property
|
63
|
+
@pulumi.getter
|
64
|
+
def id(self) -> _builtins.str:
|
65
|
+
"""
|
66
|
+
The provider-assigned unique ID for this managed resource.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "id")
|
69
|
+
|
70
|
+
@_builtins.property
|
71
|
+
@pulumi.getter(name="modelSubType")
|
72
|
+
def model_sub_type(self) -> Optional[_builtins.str]:
|
73
|
+
return pulumi.get(self, "model_sub_type")
|
74
|
+
|
75
|
+
@_builtins.property
|
76
|
+
@pulumi.getter(name="modelType")
|
77
|
+
def model_type(self) -> _builtins.str:
|
78
|
+
return pulumi.get(self, "model_type")
|
79
|
+
|
80
|
+
@_builtins.property
|
81
|
+
@pulumi.getter
|
82
|
+
def versions(self) -> Sequence[_builtins.str]:
|
83
|
+
"""
|
84
|
+
Model versions available for this model and submodel type
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "versions")
|
87
|
+
|
88
|
+
|
89
|
+
class AwaitableGetModelTypeResult(GetModelTypeResult):
|
90
|
+
# pylint: disable=using-constant-test
|
91
|
+
def __await__(self):
|
92
|
+
if False:
|
93
|
+
yield self
|
94
|
+
return GetModelTypeResult(
|
95
|
+
capabilities=self.capabilities,
|
96
|
+
compartment_id=self.compartment_id,
|
97
|
+
id=self.id,
|
98
|
+
model_sub_type=self.model_sub_type,
|
99
|
+
model_type=self.model_type,
|
100
|
+
versions=self.versions)
|
101
|
+
|
102
|
+
|
103
|
+
def get_model_type(compartment_id: Optional[_builtins.str] = None,
|
104
|
+
model_sub_type: Optional[_builtins.str] = None,
|
105
|
+
model_type: Optional[_builtins.str] = None,
|
106
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetModelTypeResult:
|
107
|
+
"""
|
108
|
+
This data source provides details about a specific Model Type resource in Oracle Cloud Infrastructure Ai Document service.
|
109
|
+
|
110
|
+
Gets model capabilities
|
111
|
+
|
112
|
+
## Example Usage
|
113
|
+
|
114
|
+
```python
|
115
|
+
import pulumi
|
116
|
+
import pulumi_oci as oci
|
117
|
+
|
118
|
+
test_model_type = oci.AiDocument.get_model_type(model_type=model_type_model_type,
|
119
|
+
compartment_id=compartment_id,
|
120
|
+
model_sub_type=model_type_model_sub_type)
|
121
|
+
```
|
122
|
+
|
123
|
+
|
124
|
+
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
125
|
+
:param _builtins.str model_sub_type: The sub type based upon model selected.
|
126
|
+
:param _builtins.str model_type: The type of the Document model.
|
127
|
+
"""
|
128
|
+
__args__ = dict()
|
129
|
+
__args__['compartmentId'] = compartment_id
|
130
|
+
__args__['modelSubType'] = model_sub_type
|
131
|
+
__args__['modelType'] = model_type
|
132
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
133
|
+
__ret__ = pulumi.runtime.invoke('oci:AiDocument/getModelType:getModelType', __args__, opts=opts, typ=GetModelTypeResult).value
|
134
|
+
|
135
|
+
return AwaitableGetModelTypeResult(
|
136
|
+
capabilities=pulumi.get(__ret__, 'capabilities'),
|
137
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
138
|
+
id=pulumi.get(__ret__, 'id'),
|
139
|
+
model_sub_type=pulumi.get(__ret__, 'model_sub_type'),
|
140
|
+
model_type=pulumi.get(__ret__, 'model_type'),
|
141
|
+
versions=pulumi.get(__ret__, 'versions'))
|
142
|
+
def get_model_type_output(compartment_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
143
|
+
model_sub_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
144
|
+
model_type: Optional[pulumi.Input[_builtins.str]] = None,
|
145
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetModelTypeResult]:
|
146
|
+
"""
|
147
|
+
This data source provides details about a specific Model Type resource in Oracle Cloud Infrastructure Ai Document service.
|
148
|
+
|
149
|
+
Gets model capabilities
|
150
|
+
|
151
|
+
## Example Usage
|
152
|
+
|
153
|
+
```python
|
154
|
+
import pulumi
|
155
|
+
import pulumi_oci as oci
|
156
|
+
|
157
|
+
test_model_type = oci.AiDocument.get_model_type(model_type=model_type_model_type,
|
158
|
+
compartment_id=compartment_id,
|
159
|
+
model_sub_type=model_type_model_sub_type)
|
160
|
+
```
|
161
|
+
|
162
|
+
|
163
|
+
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
164
|
+
:param _builtins.str model_sub_type: The sub type based upon model selected.
|
165
|
+
:param _builtins.str model_type: The type of the Document model.
|
166
|
+
"""
|
167
|
+
__args__ = dict()
|
168
|
+
__args__['compartmentId'] = compartment_id
|
169
|
+
__args__['modelSubType'] = model_sub_type
|
170
|
+
__args__['modelType'] = model_type
|
171
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
172
|
+
__ret__ = pulumi.runtime.invoke_output('oci:AiDocument/getModelType:getModelType', __args__, opts=opts, typ=GetModelTypeResult)
|
173
|
+
return __ret__.apply(lambda __response__: GetModelTypeResult(
|
174
|
+
capabilities=pulumi.get(__response__, 'capabilities'),
|
175
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
176
|
+
id=pulumi.get(__response__, 'id'),
|
177
|
+
model_sub_type=pulumi.get(__response__, 'model_sub_type'),
|
178
|
+
model_type=pulumi.get(__response__, 'model_type'),
|
179
|
+
versions=pulumi.get(__response__, 'versions')))
|
@@ -13,6 +13,7 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from .. import _utilities
|
16
|
+
from . import outputs
|
16
17
|
|
17
18
|
__all__ = [
|
18
19
|
'GetProjectResult',
|
@@ -26,7 +27,7 @@ class GetProjectResult:
|
|
26
27
|
"""
|
27
28
|
A collection of values returned by getProject.
|
28
29
|
"""
|
29
|
-
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, project_id=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
30
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, locks=None, project_id=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
30
31
|
if compartment_id and not isinstance(compartment_id, str):
|
31
32
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
33
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -48,6 +49,9 @@ class GetProjectResult:
|
|
48
49
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
49
50
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
50
51
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
52
|
+
if locks and not isinstance(locks, list):
|
53
|
+
raise TypeError("Expected argument 'locks' to be a list")
|
54
|
+
pulumi.set(__self__, "locks", locks)
|
51
55
|
if project_id and not isinstance(project_id, str):
|
52
56
|
raise TypeError("Expected argument 'project_id' to be a str")
|
53
57
|
pulumi.set(__self__, "project_id", project_id)
|
@@ -68,7 +72,7 @@ class GetProjectResult:
|
|
68
72
|
@pulumi.getter(name="compartmentId")
|
69
73
|
def compartment_id(self) -> _builtins.str:
|
70
74
|
"""
|
71
|
-
The compartment
|
75
|
+
The lock compartment ID.
|
72
76
|
"""
|
73
77
|
return pulumi.get(self, "compartment_id")
|
74
78
|
|
@@ -120,6 +124,14 @@ class GetProjectResult:
|
|
120
124
|
"""
|
121
125
|
return pulumi.get(self, "lifecycle_details")
|
122
126
|
|
127
|
+
@_builtins.property
|
128
|
+
@pulumi.getter
|
129
|
+
def locks(self) -> Sequence['outputs.GetProjectLockResult']:
|
130
|
+
"""
|
131
|
+
Locks associated with this resource.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "locks")
|
134
|
+
|
123
135
|
@_builtins.property
|
124
136
|
@pulumi.getter(name="projectId")
|
125
137
|
def project_id(self) -> _builtins.str:
|
@@ -171,6 +183,7 @@ class AwaitableGetProjectResult(GetProjectResult):
|
|
171
183
|
freeform_tags=self.freeform_tags,
|
172
184
|
id=self.id,
|
173
185
|
lifecycle_details=self.lifecycle_details,
|
186
|
+
locks=self.locks,
|
174
187
|
project_id=self.project_id,
|
175
188
|
state=self.state,
|
176
189
|
system_tags=self.system_tags,
|
@@ -210,6 +223,7 @@ def get_project(project_id: Optional[_builtins.str] = None,
|
|
210
223
|
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
211
224
|
id=pulumi.get(__ret__, 'id'),
|
212
225
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
226
|
+
locks=pulumi.get(__ret__, 'locks'),
|
213
227
|
project_id=pulumi.get(__ret__, 'project_id'),
|
214
228
|
state=pulumi.get(__ret__, 'state'),
|
215
229
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
@@ -246,6 +260,7 @@ def get_project_output(project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
246
260
|
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
247
261
|
id=pulumi.get(__response__, 'id'),
|
248
262
|
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
263
|
+
locks=pulumi.get(__response__, 'locks'),
|
249
264
|
project_id=pulumi.get(__response__, 'project_id'),
|
250
265
|
state=pulumi.get(__response__, 'state'),
|
251
266
|
system_tags=pulumi.get(__response__, 'system_tags'),
|