pulumi-oci 1.31.0a1712742264__py3-none-any.whl → 1.32.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 (35) hide show
  1. pulumi_oci/__init__.py +16 -0
  2. pulumi_oci/database/__init__.py +3 -0
  3. pulumi_oci/database/_inputs.py +192 -0
  4. pulumi_oci/database/autonomous_container_database.py +83 -8
  5. pulumi_oci/database/autonomous_database_software_image.py +638 -0
  6. pulumi_oci/database/autonomous_vm_cluster.py +12 -4
  7. pulumi_oci/database/get_autonomous_container_database.py +26 -5
  8. pulumi_oci/database/get_autonomous_container_database_resource_usage.py +3 -3
  9. pulumi_oci/database/get_autonomous_database_software_image.py +262 -0
  10. pulumi_oci/database/get_autonomous_database_software_images.py +200 -0
  11. pulumi_oci/database/get_autonomous_vm_cluster.py +3 -1
  12. pulumi_oci/database/outputs.py +538 -28
  13. pulumi_oci/datascience/_inputs.py +17 -1
  14. pulumi_oci/datascience/model_deployment.py +2 -0
  15. pulumi_oci/datascience/outputs.py +39 -3
  16. pulumi_oci/meteringcomputation/__init__.py +3 -0
  17. pulumi_oci/meteringcomputation/_inputs.py +110 -0
  18. pulumi_oci/meteringcomputation/get_schedule.py +1 -1
  19. pulumi_oci/meteringcomputation/get_scheduled_run.py +2 -2
  20. pulumi_oci/meteringcomputation/get_usage_statement_email_recipients_group.py +173 -0
  21. pulumi_oci/meteringcomputation/get_usage_statement_email_recipients_groups.py +157 -0
  22. pulumi_oci/meteringcomputation/outputs.py +292 -2
  23. pulumi_oci/meteringcomputation/schedule.py +7 -7
  24. pulumi_oci/meteringcomputation/usage_statement_email_recipients_group.py +392 -0
  25. pulumi_oci/opa/opa_instance.py +41 -22
  26. pulumi_oci/psql/_inputs.py +4 -4
  27. pulumi_oci/psql/db_system.py +7 -7
  28. pulumi_oci/psql/outputs.py +4 -4
  29. pulumi_oci/redis/get_redis_cluster.py +14 -1
  30. pulumi_oci/redis/outputs.py +11 -0
  31. pulumi_oci/redis/redis_cluster.py +52 -3
  32. {pulumi_oci-1.31.0a1712742264.dist-info → pulumi_oci-1.32.0.dist-info}/METADATA +1 -1
  33. {pulumi_oci-1.31.0a1712742264.dist-info → pulumi_oci-1.32.0.dist-info}/RECORD +35 -29
  34. {pulumi_oci-1.31.0a1712742264.dist-info → pulumi_oci-1.32.0.dist-info}/WHEEL +0 -0
  35. {pulumi_oci-1.31.0a1712742264.dist-info → pulumi_oci-1.32.0.dist-info}/top_level.txt +0 -0
@@ -417,7 +417,9 @@ class _AutonomousVmClusterState:
417
417
  :param pulumi.Input[int] provisionable_autonomous_container_databases: **Deprecated.** Use field totalContainerDatabases.
418
418
  :param pulumi.Input[int] provisioned_autonomous_container_databases: The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.
419
419
  :param pulumi.Input[float] provisioned_cpus: The number of CPUs provisioned in an Autonomous VM Cluster.
420
- :param pulumi.Input[int] reclaimable_cpus: CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
420
+ :param pulumi.Input[int] reclaimable_cpus: For Autonomous Databases on Dedicated Exadata Infrastructure:
421
+ * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
422
+ * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
421
423
  :param pulumi.Input[float] reserved_cpus: The number of CPUs reserved in an Autonomous VM Cluster.
422
424
  :param pulumi.Input[int] scan_listener_port_non_tls: The SCAN Listener Non TLS port number. Default value is 1521.
423
425
  :param pulumi.Input[int] scan_listener_port_tls: The SCAN Listener TLS port number. Default value is 2484.
@@ -979,7 +981,9 @@ class _AutonomousVmClusterState:
979
981
  @pulumi.getter(name="reclaimableCpus")
980
982
  def reclaimable_cpus(self) -> Optional[pulumi.Input[int]]:
981
983
  """
982
- CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
984
+ For Autonomous Databases on Dedicated Exadata Infrastructure:
985
+ * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
986
+ * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
983
987
  """
984
988
  return pulumi.get(self, "reclaimable_cpus")
985
989
 
@@ -1493,7 +1497,9 @@ class AutonomousVmCluster(pulumi.CustomResource):
1493
1497
  :param pulumi.Input[int] provisionable_autonomous_container_databases: **Deprecated.** Use field totalContainerDatabases.
1494
1498
  :param pulumi.Input[int] provisioned_autonomous_container_databases: The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.
1495
1499
  :param pulumi.Input[float] provisioned_cpus: The number of CPUs provisioned in an Autonomous VM Cluster.
1496
- :param pulumi.Input[int] reclaimable_cpus: CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
1500
+ :param pulumi.Input[int] reclaimable_cpus: For Autonomous Databases on Dedicated Exadata Infrastructure:
1501
+ * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
1502
+ * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
1497
1503
  :param pulumi.Input[float] reserved_cpus: The number of CPUs reserved in an Autonomous VM Cluster.
1498
1504
  :param pulumi.Input[int] scan_listener_port_non_tls: The SCAN Listener Non TLS port number. Default value is 1521.
1499
1505
  :param pulumi.Input[int] scan_listener_port_tls: The SCAN Listener TLS port number. Default value is 2484.
@@ -1858,7 +1864,9 @@ class AutonomousVmCluster(pulumi.CustomResource):
1858
1864
  @pulumi.getter(name="reclaimableCpus")
1859
1865
  def reclaimable_cpus(self) -> pulumi.Output[int]:
1860
1866
  """
1861
- CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
1867
+ For Autonomous Databases on Dedicated Exadata Infrastructure:
1868
+ * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
1869
+ * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
1862
1870
  """
1863
1871
  return pulumi.get(self, "reclaimable_cpus")
1864
1872
 
@@ -22,7 +22,7 @@ class GetAutonomousContainerDatabaseResult:
22
22
  """
23
23
  A collection of values returned by getAutonomousContainerDatabase.
24
24
  """
25
- def __init__(__self__, autonomous_container_database_id=None, autonomous_exadata_infrastructure_id=None, autonomous_vm_cluster_id=None, availability_domain=None, available_cpus=None, backup_configs=None, cloud_autonomous_vm_cluster_id=None, compartment_id=None, compute_model=None, db_name=None, db_split_threshold=None, db_unique_name=None, db_version=None, defined_tags=None, display_name=None, distribution_affinity=None, dst_file_version=None, fast_start_fail_over_lag_limit_in_seconds=None, freeform_tags=None, id=None, infrastructure_type=None, is_automatic_failover_enabled=None, is_dst_file_update_enabled=None, key_history_entries=None, key_store_id=None, key_store_wallet_name=None, kms_key_id=None, largest_provisionable_autonomous_database_in_cpus=None, last_maintenance_run_id=None, lifecycle_details=None, maintenance_window_details=None, maintenance_windows=None, memory_per_oracle_compute_unit_in_gbs=None, net_services_architecture=None, next_maintenance_run_id=None, patch_id=None, patch_model=None, peer_autonomous_container_database_backup_configs=None, peer_autonomous_container_database_compartment_id=None, peer_autonomous_container_database_display_name=None, peer_autonomous_exadata_infrastructure_id=None, peer_autonomous_vm_cluster_id=None, peer_cloud_autonomous_vm_cluster_id=None, peer_db_unique_name=None, protection_mode=None, provisionable_cpuses=None, provisioned_cpus=None, reclaimable_cpus=None, reserved_cpus=None, role=None, rotate_key_trigger=None, service_level_agreement_type=None, standby_maintenance_buffer_in_days=None, state=None, time_created=None, time_of_last_backup=None, time_snapshot_standby_revert=None, total_cpus=None, vault_id=None, version_preference=None, vm_failover_reservation=None):
25
+ def __init__(__self__, autonomous_container_database_id=None, autonomous_exadata_infrastructure_id=None, autonomous_vm_cluster_id=None, availability_domain=None, available_cpus=None, backup_configs=None, cloud_autonomous_vm_cluster_id=None, compartment_id=None, compute_model=None, database_software_image_id=None, db_name=None, db_split_threshold=None, db_unique_name=None, db_version=None, defined_tags=None, display_name=None, distribution_affinity=None, dst_file_version=None, fast_start_fail_over_lag_limit_in_seconds=None, freeform_tags=None, id=None, infrastructure_type=None, is_automatic_failover_enabled=None, is_dst_file_update_enabled=None, key_history_entries=None, key_store_id=None, key_store_wallet_name=None, kms_key_id=None, largest_provisionable_autonomous_database_in_cpus=None, last_maintenance_run_id=None, lifecycle_details=None, list_one_off_patches=None, maintenance_window_details=None, maintenance_windows=None, memory_per_oracle_compute_unit_in_gbs=None, net_services_architecture=None, next_maintenance_run_id=None, patch_id=None, patch_model=None, peer_autonomous_container_database_backup_configs=None, peer_autonomous_container_database_compartment_id=None, peer_autonomous_container_database_display_name=None, peer_autonomous_exadata_infrastructure_id=None, peer_autonomous_vm_cluster_id=None, peer_cloud_autonomous_vm_cluster_id=None, peer_db_unique_name=None, protection_mode=None, provisionable_cpuses=None, provisioned_cpus=None, reclaimable_cpus=None, reserved_cpus=None, role=None, rotate_key_trigger=None, service_level_agreement_type=None, standby_maintenance_buffer_in_days=None, state=None, time_created=None, time_of_last_backup=None, time_snapshot_standby_revert=None, total_cpus=None, vault_id=None, version_preference=None, vm_failover_reservation=None):
26
26
  if autonomous_container_database_id and not isinstance(autonomous_container_database_id, str):
27
27
  raise TypeError("Expected argument 'autonomous_container_database_id' to be a str")
28
28
  pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id)
@@ -50,6 +50,9 @@ class GetAutonomousContainerDatabaseResult:
50
50
  if compute_model and not isinstance(compute_model, str):
51
51
  raise TypeError("Expected argument 'compute_model' to be a str")
52
52
  pulumi.set(__self__, "compute_model", compute_model)
53
+ if database_software_image_id and not isinstance(database_software_image_id, str):
54
+ raise TypeError("Expected argument 'database_software_image_id' to be a str")
55
+ pulumi.set(__self__, "database_software_image_id", database_software_image_id)
53
56
  if db_name and not isinstance(db_name, str):
54
57
  raise TypeError("Expected argument 'db_name' to be a str")
55
58
  pulumi.set(__self__, "db_name", db_name)
@@ -113,6 +116,9 @@ class GetAutonomousContainerDatabaseResult:
113
116
  if lifecycle_details and not isinstance(lifecycle_details, str):
114
117
  raise TypeError("Expected argument 'lifecycle_details' to be a str")
115
118
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
119
+ if list_one_off_patches and not isinstance(list_one_off_patches, list):
120
+ raise TypeError("Expected argument 'list_one_off_patches' to be a list")
121
+ pulumi.set(__self__, "list_one_off_patches", list_one_off_patches)
116
122
  if maintenance_window_details and not isinstance(maintenance_window_details, list):
117
123
  raise TypeError("Expected argument 'maintenance_window_details' to be a list")
118
124
  pulumi.set(__self__, "maintenance_window_details", maintenance_window_details)
@@ -276,6 +282,11 @@ class GetAutonomousContainerDatabaseResult:
276
282
  """
277
283
  return pulumi.get(self, "compute_model")
278
284
 
285
+ @property
286
+ @pulumi.getter(name="databaseSoftwareImageId")
287
+ def database_software_image_id(self) -> str:
288
+ return pulumi.get(self, "database_software_image_id")
289
+
279
290
  @property
280
291
  @pulumi.getter(name="dbName")
281
292
  def db_name(self) -> str:
@@ -435,6 +446,14 @@ class GetAutonomousContainerDatabaseResult:
435
446
  """
436
447
  return pulumi.get(self, "lifecycle_details")
437
448
 
449
+ @property
450
+ @pulumi.getter(name="listOneOffPatches")
451
+ def list_one_off_patches(self) -> Sequence[str]:
452
+ """
453
+ List of One-Off patches that has been successfully applied to Autonomous Container Database
454
+ """
455
+ return pulumi.get(self, "list_one_off_patches")
456
+
438
457
  @property
439
458
  @pulumi.getter(name="maintenanceWindowDetails")
440
459
  def maintenance_window_details(self) -> Sequence['outputs.GetAutonomousContainerDatabaseMaintenanceWindowDetailResult']:
@@ -532,7 +551,7 @@ class GetAutonomousContainerDatabaseResult:
532
551
  @pulumi.getter(name="provisionableCpuses")
533
552
  def provisionable_cpuses(self) -> Sequence[float]:
534
553
  """
535
- An array of CPU values that can be used to successfully provision a single Autonomous Database.\\ For Autonomous Database on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
554
+ An array of CPU values that can be used to successfully provision a single Autonomous Database.
536
555
  """
537
556
  return pulumi.get(self, "provisionable_cpuses")
538
557
 
@@ -548,9 +567,7 @@ class GetAutonomousContainerDatabaseResult:
548
567
  @pulumi.getter(name="reclaimableCpus")
549
568
  def reclaimable_cpus(self) -> float:
550
569
  """
551
- For Autonomous Databases on Dedicated Exadata Infrastructure:
552
- * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
553
- * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
570
+ CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
554
571
  """
555
572
  return pulumi.get(self, "reclaimable_cpus")
556
573
 
@@ -671,6 +688,7 @@ class AwaitableGetAutonomousContainerDatabaseResult(GetAutonomousContainerDataba
671
688
  cloud_autonomous_vm_cluster_id=self.cloud_autonomous_vm_cluster_id,
672
689
  compartment_id=self.compartment_id,
673
690
  compute_model=self.compute_model,
691
+ database_software_image_id=self.database_software_image_id,
674
692
  db_name=self.db_name,
675
693
  db_split_threshold=self.db_split_threshold,
676
694
  db_unique_name=self.db_unique_name,
@@ -692,6 +710,7 @@ class AwaitableGetAutonomousContainerDatabaseResult(GetAutonomousContainerDataba
692
710
  largest_provisionable_autonomous_database_in_cpus=self.largest_provisionable_autonomous_database_in_cpus,
693
711
  last_maintenance_run_id=self.last_maintenance_run_id,
694
712
  lifecycle_details=self.lifecycle_details,
713
+ list_one_off_patches=self.list_one_off_patches,
695
714
  maintenance_window_details=self.maintenance_window_details,
696
715
  maintenance_windows=self.maintenance_windows,
697
716
  memory_per_oracle_compute_unit_in_gbs=self.memory_per_oracle_compute_unit_in_gbs,
@@ -761,6 +780,7 @@ def get_autonomous_container_database(autonomous_container_database_id: Optional
761
780
  cloud_autonomous_vm_cluster_id=pulumi.get(__ret__, 'cloud_autonomous_vm_cluster_id'),
762
781
  compartment_id=pulumi.get(__ret__, 'compartment_id'),
763
782
  compute_model=pulumi.get(__ret__, 'compute_model'),
783
+ database_software_image_id=pulumi.get(__ret__, 'database_software_image_id'),
764
784
  db_name=pulumi.get(__ret__, 'db_name'),
765
785
  db_split_threshold=pulumi.get(__ret__, 'db_split_threshold'),
766
786
  db_unique_name=pulumi.get(__ret__, 'db_unique_name'),
@@ -782,6 +802,7 @@ def get_autonomous_container_database(autonomous_container_database_id: Optional
782
802
  largest_provisionable_autonomous_database_in_cpus=pulumi.get(__ret__, 'largest_provisionable_autonomous_database_in_cpus'),
783
803
  last_maintenance_run_id=pulumi.get(__ret__, 'last_maintenance_run_id'),
784
804
  lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
805
+ list_one_off_patches=pulumi.get(__ret__, 'list_one_off_patches'),
785
806
  maintenance_window_details=pulumi.get(__ret__, 'maintenance_window_details'),
786
807
  maintenance_windows=pulumi.get(__ret__, 'maintenance_windows'),
787
808
  memory_per_oracle_compute_unit_in_gbs=pulumi.get(__ret__, 'memory_per_oracle_compute_unit_in_gbs'),
@@ -80,7 +80,7 @@ class GetAutonomousContainerDatabaseResourceUsageResult:
80
80
  @pulumi.getter(name="availableCpus")
81
81
  def available_cpus(self) -> float:
82
82
  """
83
- CPUs / cores available for ADB provisioning or scaling in the Autonomous Container Database.
83
+ CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
84
84
  """
85
85
  return pulumi.get(self, "available_cpus")
86
86
 
@@ -128,7 +128,7 @@ class GetAutonomousContainerDatabaseResourceUsageResult:
128
128
  @pulumi.getter(name="provisionableCpuses")
129
129
  def provisionable_cpuses(self) -> Sequence[float]:
130
130
  """
131
- Valid list of provisionable CPUs / cores for ADB creation.
131
+ Valid list of provisionable CPUs for Autonomous Database.
132
132
  """
133
133
  return pulumi.get(self, "provisionable_cpuses")
134
134
 
@@ -144,7 +144,7 @@ class GetAutonomousContainerDatabaseResourceUsageResult:
144
144
  @pulumi.getter(name="reclaimableCpus")
145
145
  def reclaimable_cpus(self) -> float:
146
146
  """
147
- CPUs / cores reclaimable or released to cluster on Autonomous Container Database restart.
147
+ Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
148
148
  """
149
149
  return pulumi.get(self, "reclaimable_cpus")
150
150
 
@@ -0,0 +1,262 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+
12
+ __all__ = [
13
+ 'GetAutonomousDatabaseSoftwareImageResult',
14
+ 'AwaitableGetAutonomousDatabaseSoftwareImageResult',
15
+ 'get_autonomous_database_software_image',
16
+ 'get_autonomous_database_software_image_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class GetAutonomousDatabaseSoftwareImageResult:
21
+ """
22
+ A collection of values returned by getAutonomousDatabaseSoftwareImage.
23
+ """
24
+ def __init__(__self__, autonomous_database_software_image_id=None, autonomous_dsi_one_off_patches=None, compartment_id=None, database_version=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, image_shape_family=None, lifecycle_details=None, release_update=None, source_cdb_id=None, state=None, time_created=None):
25
+ if autonomous_database_software_image_id and not isinstance(autonomous_database_software_image_id, str):
26
+ raise TypeError("Expected argument 'autonomous_database_software_image_id' to be a str")
27
+ pulumi.set(__self__, "autonomous_database_software_image_id", autonomous_database_software_image_id)
28
+ if autonomous_dsi_one_off_patches and not isinstance(autonomous_dsi_one_off_patches, list):
29
+ raise TypeError("Expected argument 'autonomous_dsi_one_off_patches' to be a list")
30
+ pulumi.set(__self__, "autonomous_dsi_one_off_patches", autonomous_dsi_one_off_patches)
31
+ if compartment_id and not isinstance(compartment_id, str):
32
+ raise TypeError("Expected argument 'compartment_id' to be a str")
33
+ pulumi.set(__self__, "compartment_id", compartment_id)
34
+ if database_version and not isinstance(database_version, str):
35
+ raise TypeError("Expected argument 'database_version' to be a str")
36
+ pulumi.set(__self__, "database_version", database_version)
37
+ if defined_tags and not isinstance(defined_tags, dict):
38
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
39
+ pulumi.set(__self__, "defined_tags", defined_tags)
40
+ if display_name and not isinstance(display_name, str):
41
+ raise TypeError("Expected argument 'display_name' to be a str")
42
+ pulumi.set(__self__, "display_name", display_name)
43
+ if freeform_tags and not isinstance(freeform_tags, dict):
44
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
45
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
46
+ if id and not isinstance(id, str):
47
+ raise TypeError("Expected argument 'id' to be a str")
48
+ pulumi.set(__self__, "id", id)
49
+ if image_shape_family and not isinstance(image_shape_family, str):
50
+ raise TypeError("Expected argument 'image_shape_family' to be a str")
51
+ pulumi.set(__self__, "image_shape_family", image_shape_family)
52
+ if lifecycle_details and not isinstance(lifecycle_details, str):
53
+ raise TypeError("Expected argument 'lifecycle_details' to be a str")
54
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
55
+ if release_update and not isinstance(release_update, str):
56
+ raise TypeError("Expected argument 'release_update' to be a str")
57
+ pulumi.set(__self__, "release_update", release_update)
58
+ if source_cdb_id and not isinstance(source_cdb_id, str):
59
+ raise TypeError("Expected argument 'source_cdb_id' to be a str")
60
+ pulumi.set(__self__, "source_cdb_id", source_cdb_id)
61
+ if state and not isinstance(state, str):
62
+ raise TypeError("Expected argument 'state' to be a str")
63
+ pulumi.set(__self__, "state", state)
64
+ if time_created and not isinstance(time_created, str):
65
+ raise TypeError("Expected argument 'time_created' to be a str")
66
+ pulumi.set(__self__, "time_created", time_created)
67
+
68
+ @property
69
+ @pulumi.getter(name="autonomousDatabaseSoftwareImageId")
70
+ def autonomous_database_software_image_id(self) -> str:
71
+ return pulumi.get(self, "autonomous_database_software_image_id")
72
+
73
+ @property
74
+ @pulumi.getter(name="autonomousDsiOneOffPatches")
75
+ def autonomous_dsi_one_off_patches(self) -> Sequence[str]:
76
+ """
77
+ One-off patches included in the Autonomous Database Software Image
78
+ """
79
+ return pulumi.get(self, "autonomous_dsi_one_off_patches")
80
+
81
+ @property
82
+ @pulumi.getter(name="compartmentId")
83
+ def compartment_id(self) -> str:
84
+ """
85
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
86
+ """
87
+ return pulumi.get(self, "compartment_id")
88
+
89
+ @property
90
+ @pulumi.getter(name="databaseVersion")
91
+ def database_version(self) -> str:
92
+ """
93
+ The database version with which the Autonomous Database Software Image is to be built.
94
+ """
95
+ return pulumi.get(self, "database_version")
96
+
97
+ @property
98
+ @pulumi.getter(name="definedTags")
99
+ def defined_tags(self) -> Mapping[str, Any]:
100
+ """
101
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
102
+ """
103
+ return pulumi.get(self, "defined_tags")
104
+
105
+ @property
106
+ @pulumi.getter(name="displayName")
107
+ def display_name(self) -> str:
108
+ """
109
+ The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
110
+ """
111
+ return pulumi.get(self, "display_name")
112
+
113
+ @property
114
+ @pulumi.getter(name="freeformTags")
115
+ def freeform_tags(self) -> Mapping[str, Any]:
116
+ """
117
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
118
+ """
119
+ return pulumi.get(self, "freeform_tags")
120
+
121
+ @property
122
+ @pulumi.getter
123
+ def id(self) -> str:
124
+ """
125
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database Software Image.
126
+ """
127
+ return pulumi.get(self, "id")
128
+
129
+ @property
130
+ @pulumi.getter(name="imageShapeFamily")
131
+ def image_shape_family(self) -> str:
132
+ """
133
+ To what shape the image is meant for.
134
+ """
135
+ return pulumi.get(self, "image_shape_family")
136
+
137
+ @property
138
+ @pulumi.getter(name="lifecycleDetails")
139
+ def lifecycle_details(self) -> str:
140
+ """
141
+ Detailed message for the lifecycle state.
142
+ """
143
+ return pulumi.get(self, "lifecycle_details")
144
+
145
+ @property
146
+ @pulumi.getter(name="releaseUpdate")
147
+ def release_update(self) -> str:
148
+ """
149
+ The Release Updates.
150
+ """
151
+ return pulumi.get(self, "release_update")
152
+
153
+ @property
154
+ @pulumi.getter(name="sourceCdbId")
155
+ def source_cdb_id(self) -> str:
156
+ return pulumi.get(self, "source_cdb_id")
157
+
158
+ @property
159
+ @pulumi.getter
160
+ def state(self) -> str:
161
+ """
162
+ The current state of the Autonomous Database Software Image.
163
+ """
164
+ return pulumi.get(self, "state")
165
+
166
+ @property
167
+ @pulumi.getter(name="timeCreated")
168
+ def time_created(self) -> str:
169
+ """
170
+ The date and time the Autonomous Database Software Image was created.
171
+ """
172
+ return pulumi.get(self, "time_created")
173
+
174
+
175
+ class AwaitableGetAutonomousDatabaseSoftwareImageResult(GetAutonomousDatabaseSoftwareImageResult):
176
+ # pylint: disable=using-constant-test
177
+ def __await__(self):
178
+ if False:
179
+ yield self
180
+ return GetAutonomousDatabaseSoftwareImageResult(
181
+ autonomous_database_software_image_id=self.autonomous_database_software_image_id,
182
+ autonomous_dsi_one_off_patches=self.autonomous_dsi_one_off_patches,
183
+ compartment_id=self.compartment_id,
184
+ database_version=self.database_version,
185
+ defined_tags=self.defined_tags,
186
+ display_name=self.display_name,
187
+ freeform_tags=self.freeform_tags,
188
+ id=self.id,
189
+ image_shape_family=self.image_shape_family,
190
+ lifecycle_details=self.lifecycle_details,
191
+ release_update=self.release_update,
192
+ source_cdb_id=self.source_cdb_id,
193
+ state=self.state,
194
+ time_created=self.time_created)
195
+
196
+
197
+ def get_autonomous_database_software_image(autonomous_database_software_image_id: Optional[str] = None,
198
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAutonomousDatabaseSoftwareImageResult:
199
+ """
200
+ This data source provides details about a specific Autonomous Database Software Image resource in Oracle Cloud Infrastructure Database service.
201
+
202
+ Gets information about the specified Autonomous Database Software Image.
203
+
204
+ ## Example Usage
205
+
206
+ <!--Start PulumiCodeChooser -->
207
+ ```python
208
+ import pulumi
209
+ import pulumi_oci as oci
210
+
211
+ test_autonomous_database_software_image = oci.Database.get_autonomous_database_software_image(autonomous_database_software_image_id=oci_database_autonomous_database_software_image["test_autonomous_database_software_image"]["id"])
212
+ ```
213
+ <!--End PulumiCodeChooser -->
214
+
215
+
216
+ :param str autonomous_database_software_image_id: The Autonomous Database Software Image [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
217
+ """
218
+ __args__ = dict()
219
+ __args__['autonomousDatabaseSoftwareImageId'] = autonomous_database_software_image_id
220
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
221
+ __ret__ = pulumi.runtime.invoke('oci:Database/getAutonomousDatabaseSoftwareImage:getAutonomousDatabaseSoftwareImage', __args__, opts=opts, typ=GetAutonomousDatabaseSoftwareImageResult).value
222
+
223
+ return AwaitableGetAutonomousDatabaseSoftwareImageResult(
224
+ autonomous_database_software_image_id=pulumi.get(__ret__, 'autonomous_database_software_image_id'),
225
+ autonomous_dsi_one_off_patches=pulumi.get(__ret__, 'autonomous_dsi_one_off_patches'),
226
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
227
+ database_version=pulumi.get(__ret__, 'database_version'),
228
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
229
+ display_name=pulumi.get(__ret__, 'display_name'),
230
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
231
+ id=pulumi.get(__ret__, 'id'),
232
+ image_shape_family=pulumi.get(__ret__, 'image_shape_family'),
233
+ lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
234
+ release_update=pulumi.get(__ret__, 'release_update'),
235
+ source_cdb_id=pulumi.get(__ret__, 'source_cdb_id'),
236
+ state=pulumi.get(__ret__, 'state'),
237
+ time_created=pulumi.get(__ret__, 'time_created'))
238
+
239
+
240
+ @_utilities.lift_output_func(get_autonomous_database_software_image)
241
+ def get_autonomous_database_software_image_output(autonomous_database_software_image_id: Optional[pulumi.Input[str]] = None,
242
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutonomousDatabaseSoftwareImageResult]:
243
+ """
244
+ This data source provides details about a specific Autonomous Database Software Image resource in Oracle Cloud Infrastructure Database service.
245
+
246
+ Gets information about the specified Autonomous Database Software Image.
247
+
248
+ ## Example Usage
249
+
250
+ <!--Start PulumiCodeChooser -->
251
+ ```python
252
+ import pulumi
253
+ import pulumi_oci as oci
254
+
255
+ test_autonomous_database_software_image = oci.Database.get_autonomous_database_software_image(autonomous_database_software_image_id=oci_database_autonomous_database_software_image["test_autonomous_database_software_image"]["id"])
256
+ ```
257
+ <!--End PulumiCodeChooser -->
258
+
259
+
260
+ :param str autonomous_database_software_image_id: The Autonomous Database Software Image [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
261
+ """
262
+ ...
@@ -0,0 +1,200 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
13
+
14
+ __all__ = [
15
+ 'GetAutonomousDatabaseSoftwareImagesResult',
16
+ 'AwaitableGetAutonomousDatabaseSoftwareImagesResult',
17
+ 'get_autonomous_database_software_images',
18
+ 'get_autonomous_database_software_images_output',
19
+ ]
20
+
21
+ @pulumi.output_type
22
+ class GetAutonomousDatabaseSoftwareImagesResult:
23
+ """
24
+ A collection of values returned by getAutonomousDatabaseSoftwareImages.
25
+ """
26
+ def __init__(__self__, autonomous_database_software_image_collections=None, compartment_id=None, display_name=None, filters=None, id=None, image_shape_family=None, state=None):
27
+ if autonomous_database_software_image_collections and not isinstance(autonomous_database_software_image_collections, list):
28
+ raise TypeError("Expected argument 'autonomous_database_software_image_collections' to be a list")
29
+ pulumi.set(__self__, "autonomous_database_software_image_collections", autonomous_database_software_image_collections)
30
+ if compartment_id and not isinstance(compartment_id, str):
31
+ raise TypeError("Expected argument 'compartment_id' to be a str")
32
+ pulumi.set(__self__, "compartment_id", compartment_id)
33
+ if display_name and not isinstance(display_name, str):
34
+ raise TypeError("Expected argument 'display_name' to be a str")
35
+ pulumi.set(__self__, "display_name", display_name)
36
+ if filters and not isinstance(filters, list):
37
+ raise TypeError("Expected argument 'filters' to be a list")
38
+ pulumi.set(__self__, "filters", filters)
39
+ if id and not isinstance(id, str):
40
+ raise TypeError("Expected argument 'id' to be a str")
41
+ pulumi.set(__self__, "id", id)
42
+ if image_shape_family and not isinstance(image_shape_family, str):
43
+ raise TypeError("Expected argument 'image_shape_family' to be a str")
44
+ pulumi.set(__self__, "image_shape_family", image_shape_family)
45
+ if state and not isinstance(state, str):
46
+ raise TypeError("Expected argument 'state' to be a str")
47
+ pulumi.set(__self__, "state", state)
48
+
49
+ @property
50
+ @pulumi.getter(name="autonomousDatabaseSoftwareImageCollections")
51
+ def autonomous_database_software_image_collections(self) -> Sequence['outputs.GetAutonomousDatabaseSoftwareImagesAutonomousDatabaseSoftwareImageCollectionResult']:
52
+ """
53
+ The list of autonomous_database_software_image_collection.
54
+ """
55
+ return pulumi.get(self, "autonomous_database_software_image_collections")
56
+
57
+ @property
58
+ @pulumi.getter(name="compartmentId")
59
+ def compartment_id(self) -> str:
60
+ """
61
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
62
+ """
63
+ return pulumi.get(self, "compartment_id")
64
+
65
+ @property
66
+ @pulumi.getter(name="displayName")
67
+ def display_name(self) -> Optional[str]:
68
+ """
69
+ The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
70
+ """
71
+ return pulumi.get(self, "display_name")
72
+
73
+ @property
74
+ @pulumi.getter
75
+ def filters(self) -> Optional[Sequence['outputs.GetAutonomousDatabaseSoftwareImagesFilterResult']]:
76
+ return pulumi.get(self, "filters")
77
+
78
+ @property
79
+ @pulumi.getter
80
+ def id(self) -> str:
81
+ """
82
+ The provider-assigned unique ID for this managed resource.
83
+ """
84
+ return pulumi.get(self, "id")
85
+
86
+ @property
87
+ @pulumi.getter(name="imageShapeFamily")
88
+ def image_shape_family(self) -> str:
89
+ """
90
+ To what shape the image is meant for.
91
+ """
92
+ return pulumi.get(self, "image_shape_family")
93
+
94
+ @property
95
+ @pulumi.getter
96
+ def state(self) -> Optional[str]:
97
+ """
98
+ The current state of the Autonomous Database Software Image.
99
+ """
100
+ return pulumi.get(self, "state")
101
+
102
+
103
+ class AwaitableGetAutonomousDatabaseSoftwareImagesResult(GetAutonomousDatabaseSoftwareImagesResult):
104
+ # pylint: disable=using-constant-test
105
+ def __await__(self):
106
+ if False:
107
+ yield self
108
+ return GetAutonomousDatabaseSoftwareImagesResult(
109
+ autonomous_database_software_image_collections=self.autonomous_database_software_image_collections,
110
+ compartment_id=self.compartment_id,
111
+ display_name=self.display_name,
112
+ filters=self.filters,
113
+ id=self.id,
114
+ image_shape_family=self.image_shape_family,
115
+ state=self.state)
116
+
117
+
118
+ def get_autonomous_database_software_images(compartment_id: Optional[str] = None,
119
+ display_name: Optional[str] = None,
120
+ filters: Optional[Sequence[pulumi.InputType['GetAutonomousDatabaseSoftwareImagesFilterArgs']]] = None,
121
+ image_shape_family: Optional[str] = None,
122
+ state: Optional[str] = None,
123
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAutonomousDatabaseSoftwareImagesResult:
124
+ """
125
+ This data source provides the list of Autonomous Database Software Images in Oracle Cloud Infrastructure Database service.
126
+
127
+ Gets a list of the Autonomous Database Software Images in the specified compartment.
128
+
129
+ ## Example Usage
130
+
131
+ <!--Start PulumiCodeChooser -->
132
+ ```python
133
+ import pulumi
134
+ import pulumi_oci as oci
135
+
136
+ test_autonomous_database_software_images = oci.Database.get_autonomous_database_software_images(compartment_id=var["compartment_id"],
137
+ image_shape_family=var["autonomous_database_software_image_image_shape_family"],
138
+ display_name=var["autonomous_database_software_image_display_name"],
139
+ state=var["autonomous_database_software_image_state"])
140
+ ```
141
+ <!--End PulumiCodeChooser -->
142
+
143
+
144
+ :param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
145
+ :param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
146
+ :param str image_shape_family: A filter to return only resources that match the given image shape family exactly.
147
+ :param str state: A filter to return only resources that match the given lifecycle state exactly.
148
+ """
149
+ __args__ = dict()
150
+ __args__['compartmentId'] = compartment_id
151
+ __args__['displayName'] = display_name
152
+ __args__['filters'] = filters
153
+ __args__['imageShapeFamily'] = image_shape_family
154
+ __args__['state'] = state
155
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
156
+ __ret__ = pulumi.runtime.invoke('oci:Database/getAutonomousDatabaseSoftwareImages:getAutonomousDatabaseSoftwareImages', __args__, opts=opts, typ=GetAutonomousDatabaseSoftwareImagesResult).value
157
+
158
+ return AwaitableGetAutonomousDatabaseSoftwareImagesResult(
159
+ autonomous_database_software_image_collections=pulumi.get(__ret__, 'autonomous_database_software_image_collections'),
160
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
161
+ display_name=pulumi.get(__ret__, 'display_name'),
162
+ filters=pulumi.get(__ret__, 'filters'),
163
+ id=pulumi.get(__ret__, 'id'),
164
+ image_shape_family=pulumi.get(__ret__, 'image_shape_family'),
165
+ state=pulumi.get(__ret__, 'state'))
166
+
167
+
168
+ @_utilities.lift_output_func(get_autonomous_database_software_images)
169
+ def get_autonomous_database_software_images_output(compartment_id: Optional[pulumi.Input[str]] = None,
170
+ display_name: Optional[pulumi.Input[Optional[str]]] = None,
171
+ filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetAutonomousDatabaseSoftwareImagesFilterArgs']]]]] = None,
172
+ image_shape_family: Optional[pulumi.Input[str]] = None,
173
+ state: Optional[pulumi.Input[Optional[str]]] = None,
174
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutonomousDatabaseSoftwareImagesResult]:
175
+ """
176
+ This data source provides the list of Autonomous Database Software Images in Oracle Cloud Infrastructure Database service.
177
+
178
+ Gets a list of the Autonomous Database Software Images in the specified compartment.
179
+
180
+ ## Example Usage
181
+
182
+ <!--Start PulumiCodeChooser -->
183
+ ```python
184
+ import pulumi
185
+ import pulumi_oci as oci
186
+
187
+ test_autonomous_database_software_images = oci.Database.get_autonomous_database_software_images(compartment_id=var["compartment_id"],
188
+ image_shape_family=var["autonomous_database_software_image_image_shape_family"],
189
+ display_name=var["autonomous_database_software_image_display_name"],
190
+ state=var["autonomous_database_software_image_state"])
191
+ ```
192
+ <!--End PulumiCodeChooser -->
193
+
194
+
195
+ :param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
196
+ :param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
197
+ :param str image_shape_family: A filter to return only resources that match the given image shape family exactly.
198
+ :param str state: A filter to return only resources that match the given lifecycle state exactly.
199
+ """
200
+ ...