Skip to content

Commit 95e2268

Browse files
sspeddisankhsin
authored andcommitted
Added - Support for ADB-S: Refreshable Metadata Clones
1 parent 3b0af38 commit 95e2268

11 files changed

+475
-1
lines changed

examples/database/adb/adb_refreshable_clone/adb_refreshable_clone.tf

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@ resource "oci_database_autonomous_database" "test_autonomous_database_source" {
4040
license_model = "LICENSE_INCLUDED"
4141
}
4242

43+
resource "oci_database_autonomous_database" "test_autonomous_ecpu_database_source" {
44+
admin_password = "BEstrO0ng_#11"
45+
compartment_id = var.compartment_id
46+
compute_count = "4"
47+
compute_model = "ECPU"
48+
data_storage_size_in_tbs = "1"
49+
db_name = "rcB8w9HgKux1tty"
50+
db_version = "19c"
51+
db_workload = "OLTP"
52+
display_name = "regular_source"
53+
is_dedicated = "false"
54+
license_model = "LICENSE_INCLUDED"
55+
}
56+
4357
resource "oci_database_autonomous_database" "test_autonomous_database_refreshable_clone_manual" {
4458
compartment_id = var.compartment_id
4559
db_name = "bjfjkXw4ZutTt2"
@@ -69,6 +83,21 @@ resource "oci_database_autonomous_database" "test_autonomous_database_refreshabl
6983
source_id = oci_database_autonomous_database.test_autonomous_database_source.id
7084
}
7185

86+
resource "oci_database_autonomous_database" "test_autonomous_database_refreshable_clone_metadata" {
87+
compartment_id = var.compartment_id
88+
db_name = "bjfjkXw4ZutTttry"
89+
compute_count = "4"
90+
compute_model = "ECPU"
91+
data_storage_size_in_tbs = "1"
92+
is_dedicated = "false"
93+
is_refreshable_clone = "true"
94+
license_model = "LICENSE_INCLUDED"
95+
refreshable_mode = "MANUAL"
96+
source = "CLONE_TO_REFRESHABLE"
97+
clone_type = "METADATA"
98+
source_id = oci_database_autonomous_database.test_autonomous_ecpu_database_source.id
99+
}
100+
72101
data "oci_database_autonomous_database" "oci_database_autonomous_database_manual" {
73102
autonomous_database_id = oci_database_autonomous_database.test_autonomous_database_refreshable_clone_manual.id
74103
}
@@ -82,6 +111,15 @@ data "oci_database_autonomous_databases" "oci_database_autonomous_databases_manu
82111
}
83112
}
84113

114+
data "oci_database_autonomous_databases" "oci_database_autonomous_databases_metadata" {
115+
compartment_id = var.compartment_id
116+
117+
filter {
118+
name = "id"
119+
values = [oci_database_autonomous_database.test_autonomous_database_refreshable_clone_metadata.id]
120+
}
121+
}
122+
85123
output "autonomous_database_refreshable_clone_manual" {
86124
value = data.oci_database_autonomous_databases.oci_database_autonomous_databases_manual.autonomous_databases
87125
}
@@ -101,4 +139,8 @@ data "oci_database_autonomous_databases" "oci_database_autonomous_databases_auto
101139

102140
output "autonomous_database_refreshable_clone_automatic" {
103141
value = data.oci_database_autonomous_databases.oci_database_autonomous_databases_automatic.autonomous_databases
142+
}
143+
144+
output "autonomous_database_refreshable_clone_metadata" {
145+
value = data.oci_database_autonomous_databases.oci_database_autonomous_databases_metadata.autonomous_databases
104146
}

internal/integrationtest/database_autonomous_database_test.go

Lines changed: 411 additions & 0 deletions
Large diffs are not rendered by default.

internal/service/database/database_autonomous_database_data_source.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ func (s *DatabaseAutonomousDatabaseDataSourceCrud) SetData() error {
125125

126126
s.D.Set("clone_table_space_list", s.Res.CloneTableSpaceList)
127127

128+
s.D.Set("clone_type", s.Res.CloneType)
129+
128130
if s.Res.ClusterPlacementGroupId != nil {
129131
s.D.Set("cluster_placement_group_id", *s.Res.ClusterPlacementGroupId)
130132
}

internal/service/database/database_autonomous_database_resource.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2452,6 +2452,8 @@ func (s *DatabaseAutonomousDatabaseResourceCrud) SetData() error {
24522452

24532453
s.D.Set("clone_table_space_list", s.Res.CloneTableSpaceList)
24542454

2455+
s.D.Set("clone_type", s.Res.CloneType)
2456+
24552457
if s.Res.ClusterPlacementGroupId != nil {
24562458
s.D.Set("cluster_placement_group_id", *s.Res.ClusterPlacementGroupId)
24572459
}
@@ -2913,6 +2915,7 @@ func (s *DatabaseAutonomousDatabaseResourceCrud) SetData() error {
29132915
}
29142916
s.D.Set("whitelisted_ips", schema.NewSet(tfresource.LiteralTypeHashCodeForSets, whitelistedIps))
29152917

2918+
s.D.Set("clone_type", s.Res.CloneType)
29162919
return nil
29172920
}
29182921

@@ -4135,6 +4138,9 @@ func (s *DatabaseAutonomousDatabaseResourceCrud) populateTopLevelPolymorphicCrea
41354138
request.CreateAutonomousDatabaseDetails = details
41364139
case strings.ToLower("CLONE_TO_REFRESHABLE"):
41374140
details := oci_database.CreateRefreshableAutonomousDatabaseCloneDetails{}
4141+
if cloneType, ok := s.D.GetOkExists("clone_type"); ok {
4142+
details.CloneType = oci_database.CreateRefreshableAutonomousDatabaseCloneDetailsCloneTypeEnum(cloneType.(string))
4143+
}
41384144
if refreshableMode, ok := s.D.GetOkExists("refreshable_mode"); ok {
41394145
details.RefreshableMode = oci_database.CreateRefreshableAutonomousDatabaseCloneDetailsRefreshableModeEnum(refreshableMode.(string))
41404146
}

internal/service/database/database_autonomous_databases_clones_data_source.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ func DatabaseAutonomousDatabasesClonesDataSource() *schema.Resource {
149149
Type: schema.TypeInt,
150150
},
151151
},
152+
"clone_type": {
153+
Type: schema.TypeString,
154+
Computed: true,
155+
},
152156
"cluster_placement_group_id": {
153157
Type: schema.TypeString,
154158
Computed: true,
@@ -1338,6 +1342,8 @@ func (s *DatabaseAutonomousDatabasesClonesDataSourceCrud) SetData() error {
13381342

13391343
autonomousDatabasesClone["clone_table_space_list"] = r.CloneTableSpaceList
13401344

1345+
autonomousDatabasesClone["clone_type"] = r.CloneType
1346+
13411347
if r.ClusterPlacementGroupId != nil {
13421348
autonomousDatabasesClone["cluster_placement_group_id"] = *r.ClusterPlacementGroupId
13431349
}

internal/service/database/database_autonomous_databases_data_source.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ func (s *DatabaseAutonomousDatabasesDataSourceCrud) SetData() error {
256256

257257
autonomousDatabase["clone_table_space_list"] = r.CloneTableSpaceList
258258

259+
autonomousDatabase["clone_type"] = r.CloneType
260+
259261
if r.ClusterPlacementGroupId != nil {
260262
autonomousDatabase["cluster_placement_group_id"] = *r.ClusterPlacementGroupId
261263
}

website/docs/d/database_autonomous_database.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ The following attributes are exported:
5555

5656
AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
5757
* `clone_table_space_list` - A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.
58+
* `clone_type` - The Autonomous Database clone type.
5859
* `cluster_placement_group_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database.
5960
* `compartment_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
6061
* `compute_count` - The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU.

website/docs/d/database_autonomous_databases.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ The following attributes are exported:
8888

8989
AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
9090
* `clone_table_space_list` - A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.
91+
* `clone_type` - The Autonomous Database clone type.
9192
* `cluster_placement_group_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database.
9293
* `compartment_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
9394
* `compute_count` - The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU.

website/docs/d/database_autonomous_databases_clones.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ The following attributes are exported:
7272

7373
AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
7474
* `clone_table_space_list` - A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.
75+
* `clone_type` - The Autonomous Database clone type.
7576
* `cluster_placement_group_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database.
7677
* `compartment_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
7778
* `compute_count` - The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU.

website/docs/r/database_autonomous_database.html.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ The following arguments are supported:
157157

158158
AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
159159
* `clone_table_space_list` - (Applicable when source=BACKUP_FROM_ID | BACKUP_FROM_TIMESTAMP) A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.
160-
* `clone_type` - (Required when source=BACKUP_FROM_ID | BACKUP_FROM_TIMESTAMP | DATABASE) The Autonomous Database clone type.
160+
* `clone_type` - (Required when source=BACKUP_FROM_ID | BACKUP_FROM_TIMESTAMP | CLONE_TO_REFRESHABLE | DATABASE) The Autonomous Database clone type.
161161
* `FULL` - This option creates a new database that includes all source database data.
162162
* `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data.
163163
* `compartment_id` - (Required) (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of the Autonomous Database.
@@ -342,6 +342,7 @@ The following attributes are exported:
342342

343343
AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
344344
* `clone_table_space_list` - A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.
345+
* `clone_type` - The Autonomous Database clone type.
345346
* `cluster_placement_group_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database.
346347
* `compartment_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
347348
* `compute_count` - The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU.

0 commit comments

Comments
 (0)