Membuat kelompok sumber daya untuk kluster Edisi Perusahaan, Edisi Dasar, atau Edisi Danau Data Terpadu.
Deskripsi operasi
For the service endpoint, see endpoint.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:CreateDBResourceGroup |
create |
*DBClusterLakeVersion
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster Edisi Perusahaan, Edisi Dasar, atau Edisi Danau Data Terpadu. |
amv-bp11q28kvl688**** |
| GroupName |
string |
Yes |
Nama kelompok sumber daya. Nama harus memenuhi persyaratan berikut:
|
test_group |
| GroupType |
string |
Yes |
Tipe kelompok sumber daya. Nilai valid:
Catatan
Untuk informasi lebih lanjut mengenai kelompok sumber daya untuk Edisi Danau Data Terpadu, lihat Pengenalan kelompok sumber daya (Edisi Danau Data Terpadu). |
Job |
| MinComputeResource |
string |
No |
Jumlah minimum sumber daya komputasi yang dicadangkan, dalam ACU.
|
0ACU |
| MaxComputeResource |
string |
No |
Jumlah maksimum sumber daya komputasi yang dicadangkan, dalam ACU. Nilai tidak boleh melebihi sumber daya yang belum dialokasikan pada kluster.
|
48ACU |
| ClusterSizeResource |
string |
No |
Parameter ini dicadangkan. |
- |
| MinClusterCount |
integer |
No |
Parameter ini dicadangkan. |
- |
| MaxClusterCount |
integer |
No |
Parameter ini dicadangkan. |
- |
| ClusterMode |
string |
No |
Parameter ini dicadangkan. |
- |
| EnableSpot |
boolean |
No |
Apakah akan mengaktifkan fitur spot instans untuk kelompok sumber daya. Saat fitur ini diaktifkan, sumber daya disediakan dengan harga lebih rendah tetapi dapat diambil kembali. Hanya kelompok sumber daya
|
True |
| RegionId |
string |
No |
ID wilayah. Catatan
Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah kluster Database Analitik for MySQL Edisi Danau Data Terpadu (3.0). |
cn-hangzhou |
| Rules |
array<object> |
No |
Aturan pengiriman pekerjaan. |
|
|
object |
No |
A list of rules. |
||
| GroupName |
string |
No |
The name of the source resource group.
|
test_group |
| QueryTime |
string |
No |
The query execution time threshold, in milliseconds (ms). |
180000 |
| TargetGroupName |
string |
No |
The name of the target resource group. |
job |
| Engine |
string |
No |
Mesin database. Nilai valid:
|
SparkWarehouse |
| EngineParams |
object |
No |
Konfigurasi mesin. |
{\"spark.adb.version\":\"3.5\"} |
| AutoStopInterval |
string |
No |
Interval penghentian otomatis, dalam menit (m). |
5m |
| SpecName |
string |
No |
Nama spesifikasi. |
ADB.MLLarge.2 |
| MinGpuQuantity |
integer |
No |
Jumlah minimum GPU. |
1 |
| MaxGpuQuantity |
integer |
No |
Jumlah maksimum GPU. |
2 |
| TargetResourceGroupName |
string |
No |
Nama kelompok sumber daya target. |
test |
| RayConfig |
object |
No |
Konfigurasi Ray. Catatan
Parameter ini wajib diisi jika kelompok sumber daya adalah kelompok sumber daya AI dan mesinnya adalah RayCluster. |
|
| EnableUserEni |
boolean |
No |
Specifies whether to enable user-defined elastic network interfaces (ENIs). |
|
| HeadSpecType |
string |
No |
The resource type of the head node. |
CPU |
| HeadSpec |
string |
No |
The specifications of the head node. |
xlarge |
| HeadAllocateUnit |
string |
No |
The allocation unit of the head node. |
1 |
| HeadDiskCapacity |
string |
No |
The disk size of the head node. |
100G |
| Category |
string |
No |
The type of the Ray cluster. Valid values:
|
BASIC |
| WorkerGroups |
array<object> |
No |
A list of Ray worker group configurations. |
|
|
object |
No |
A Ray worker group configuration. |
||
| GroupName |
string |
No |
The name of the worker group. |
test |
| AllocateUnit |
string |
No |
The allocation unit. |
1 |
| MaxWorkerQuantity |
integer |
No |
The maximum number of worker nodes. |
2 |
| MinWorkerQuantity |
integer |
No |
The minimum number of worker nodes. |
1 |
| WorkerDiskCapacity |
string |
No |
The disk size of each worker node. |
100G |
| WorkerSpecName |
string |
No |
The specifications of the worker node. |
xlarge |
| WorkerSpecType |
string |
No |
The resource type of the worker node. |
GPU |
| UserDefinedRequirements |
string |
No |
||
| GpuElasticPlan |
object |
No |
Rencana penskalaan berbasis pengatur waktu untuk GPU. |
|
| Enabled |
boolean |
No |
Specifies whether to enable the scaling plan immediately after it is created. Valid values:
|
true |
| Rules |
array<object> |
No |
A list of scaling rules. |
|
|
object |
No |
A scaling rule. |
||
| StartCronExpression |
string |
No |
The start time of the rule, specified as a Cron expression. The duration between the start and end times must be at least one hour. |
0 0 2 * * ? |
| EndCronExpression |
string |
No |
The end time of the rule, specified as a Cron expression. The duration between the start and end times must be at least one hour. |
0 0 3 * * ? |
| ScalePolicy |
string |
No |
Kebijakan penskalaan otomatis untuk kelompok sumber daya. Nilai valid:
|
AutoScaling |
| Classification |
string |
No |
Klasifikasi kelompok sumber daya. Nilai valid:
|
SQL |
| AtmConfig |
object |
No |
||
| SelectNodeSpec |
string |
No |
8ACU |
|
| SelectNodeNum |
integer |
No |
1 |
|
| SelectNodeCacheSize |
integer |
No |
10 |
|
| StorageNodeSpec |
string |
No |
8ACU |
|
| StorageNodeNum |
integer |
No |
2 |
|
| StorageNodeDiskSize |
integer |
No |
1 |
|
| StorageNodeDiskType |
string |
No |
essd_pl1 |
|
| InsertNodeSpec |
string |
No |
8ACU |
|
| InsertNodeNum |
integer |
No |
2 |
|
| AuthNodeSpec |
string |
No |
8ACU |
|
| AuthNodeNum |
integer |
No |
2 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
A94B6C02-7BD4-5D67-9776-3AC8317E8DD5 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A94B6C02-7BD4-5D67-9776-3AC8317E8DD5"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidPoolName.Malformed | The specified parameter PoolName is not valid. | |
| 400 | InvalidPoolUser.Malformed | The specified parameter PoolUser is not valid. | |
| 400 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. | |
| 400 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | |
| 400 | InvalidPoolType.Malformed | The specified parameter PoolType is not valid. | |
| 400 | InvalidMinComputeResource.Malformed | The specified parameter MinComputeResource is not valid. | |
| 400 | InvalidMaxComputeResource.Malformed | The specified parameter MaxComputeResource is not valid. | |
| 400 | ACS.ResourceGroup.InvalidResourceGroupState | The state of this resource group does not support this operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.