All Products
Search
Document Center

Elastic Compute Service:CreateAutoProvisioningGroup

Last Updated:Jul 03, 2026

Membuat kelompok penyediaan otomatis.

Deskripsi operasi

  • Penyediaan otomatis adalah solusi yang menggunakan spot instans dan instans bayar sesuai penggunaan untuk men-deploy kluster instans dengan cepat. Solusi ini mendukung Penerapan satu klik kluster instans lintas metode penagihan, zona, dan keluarga instans. Untuk informasi selengkapnya, lihat Gunakan API kelompok penyediaan otomatis untuk membuat Instance ECS secara batch.

  • Penyediaan otomatis menggunakan kelompok penyediaan untuk menjadwalkan dan memelihara sumber daya komputasi. Anda dapat menggunakan kelompok penyediaan otomatis untuk menyediakan daya komputasi secara stabil dan mengurangi ketidakstabilan yang disebabkan oleh mekanisme penarikan kembali spot instans.

  • Penyediaan otomatis adalah fitur gratis, tetapi Anda dikenai biaya untuk sumber daya instans yang dibuat oleh kelompok penyediaan otomatis. Untuk informasi selengkapnya, lihat Penagihan spot instans dan Bayar sesuai penggunaan.

  • Jika Anda menentukan template peluncuran (LaunchTemplateId) dan informasi konfigurasi peluncuran (LaunchConfiguration.*), template peluncuran akan diprioritaskan.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

ecs:CreateAutoProvisioningGroup

create

*全部资源

*

None
  • ram:CreateServiceLinkedRole

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

Yes

ID wilayah tempat kelompok penyediaan otomatis berada. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah terbaru.

cn-hangzhou

ResourceGroupId

string

No

ID kelompok sumber daya tempat grup penyediaan otomatis berada.

rg-bp67acfmxazb4p****

AutoProvisioningGroupName

string

No

Nama kelompok penyediaan otomatis. Nama harus terdiri dari 2 hingga 128 karakter. Nama harus diawali dengan huruf atau karakter Mandarin dan tidak boleh diawali dengan http:// atau https://. Nama dapat berisi angka, titik dua (:), garis bawah (_), dan tanda hubung (-).

apg-test

AutoProvisioningGroupType

string

No

Tipe pengiriman kelompok penyediaan otomatis. Nilai valid:

  • request: pengiriman asinkron satu kali. Kelompok mengirimkan kluster instans secara asinkron hanya saat startup. Jika penjadwalan gagal, tidak ada percobaan ulang yang dilakukan.

  • instant: pengiriman sinkron satu kali. Kelompok membuat instans secara sinkron hanya saat startup dan mengembalikan daftar instans yang berhasil dibuat beserta penyebab kegagalan pembuatan dalam tanggapan.

  • maintain: pengiriman berkelanjutan. Kelompok mencoba mengirimkan kluster instans saat startup dan memantau kapasitas secara real-time. Jika kapasitas target tidak tercapai, kelompok terus membuat Instance ECS.

Nilai default: maintain.

maintain

SpotAllocationStrategy

string

No

Kebijakan untuk membuat spot instans. Nilai valid:

  • lowest-price: kebijakan optimasi biaya. Memilih tipe instans dengan harga terendah.

  • diversified: kebijakan distribusi zona seimbang. Membuat instans di zona yang ditentukan dalam template peluncuran yang diperluas dan mendistribusikannya secara merata ke seluruh zona.

  • capacity-optimized: kebijakan distribusi optimasi kapasitas. Memilih tipe instans dan zona yang optimal berdasarkan ketersediaan inventaris.

Nilai default: lowest-price.

diversified

SpotInstanceInterruptionBehavior

string

No

Aksi yang dilakukan saat spot instans diinterupsi. Nilai valid:

  • stop: menghentikan instans.

  • terminate: merilis instans.

Nilai default: terminate.

terminate

SpotInstancePoolsToUseCount

integer

No

Berlaku saat SpotAllocationStrategy diatur ke lowest-price. Menentukan jumlah tipe instans dengan harga terendah yang digunakan kelompok penyediaan otomatis untuk membuat instans.

Nilai valid: kurang dari nilai N dalam LaunchTemplateConfig.N.

2

PayAsYouGoAllocationStrategy

string

No

Kebijakan untuk membuat instans bayar sesuai penggunaan. Nilai valid:

  • lowest-price: kebijakan optimasi biaya. Memilih tipe instans dengan harga terendah.

  • prioritized: kebijakan berbasis prioritas. Membuat instans berdasarkan prioritas yang ditentukan oleh LaunchTemplateConfig.N.Priority.

Nilai default: lowest-price.

prioritized

ExcessCapacityTerminationPolicy

string

No

Apakah akan merilis instans saat kapasitas real-time kelompok penyediaan otomatis melebihi kapasitas target dan event scale-in dipicu. Nilai valid:

  • termination: merilis instans yang di-scale-in.

  • no-termination: hanya menghapus instans yang di-scale-in dari kelompok penyediaan otomatis.

Nilai default: no-termination.

termination

ValidFrom

string

No

Pengatur waktu saat kelompok penyediaan otomatis dimulai. Digunakan bersama dengan ValidUntil untuk menentukan periode valid.

Tentukan waktu dalam format standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC+0.

Nilai default: Stempel waktu UNIX saat permintaan langsung berlaku.

2019-04-01T15:10:20Z

ValidUntil

string

No

Pengatur waktu saat kelompok penyediaan otomatis kedaluwarsa. Digunakan bersama dengan ValidFrom untuk menentukan periode valid.

Tentukan waktu dalam format standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC+0.

Nilai default: 2099-12-31T23:59:59Z.

2019-06-01T15:10:20Z

TerminateInstancesWithExpiration

boolean

No

Apakah akan merilis instans kelompok penyediaan otomatis saat kelompok penyediaan otomatis kedaluwarsa. Nilai valid:

  • true: merilis instans kelompok penyediaan otomatis.

  • false: hanya menghapus instans dari kelompok penyediaan otomatis.

Nilai default: false.

true

TerminateInstances

boolean

No

Apakah akan merilis instans kelompok penyediaan otomatis saat kelompok penyediaan otomatis dihapus. Nilai valid:

  • true: merilis instans kelompok penyediaan otomatis.

  • false: mempertahankan instans kelompok penyediaan otomatis.

Nilai default: false.

true

MaxSpotPrice

number

No

Harga maksimum untuk spot instans dalam kelompok penyediaan otomatis.

Catatan

Jika MaxSpotPrice dan LaunchTemplateConfig.N.MaxPrice keduanya ditentukan, nilai yang lebih rendah akan digunakan.

2

TotalTargetCapacity

string

Yes

Total kapasitas target kelompok penyediaan otomatis. Nilai valid: bilangan bulat positif.

Total kapasitas harus lebih besar dari atau sama dengan jumlah PayAsYouGoTargetCapacity (kapasitas target instans bayar sesuai penggunaan) dan SpotTargetCapacity (kapasitas target spot instans).

60

PayAsYouGoTargetCapacity

string

No

Kapasitas target instans bayar sesuai penggunaan dalam kelompok penyediaan otomatis. Nilai valid: kurang dari atau sama dengan nilai parameter TotalTargetCapacity.

30

SpotTargetCapacity

string

No

Kapasitas target spot instans dalam kelompok penyediaan otomatis. Nilai valid: kurang dari atau sama dengan nilai parameter TotalTargetCapacity.

20

DefaultTargetCapacityType

string

No

Metode penagihan untuk selisih kapasitas saat jumlah PayAsYouGoTargetCapacity dan SpotTargetCapacity kurang dari TotalTargetCapacity. Nilai valid:

  • PayAsYouGo: instans bayar sesuai penggunaan.

  • Spot: spot instans.

Nilai default: Spot.

Spot

LaunchTemplateId

string

No

ID template peluncuran instans yang terkait dengan kelompok penyediaan otomatis. Anda dapat memanggil DescribeLaunchTemplates untuk mengkueri template peluncuran instans yang aktif. Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran (LaunchConfiguration.*), template peluncuran akan diprioritaskan.

lt-bp1fgzds4bdogu03****

LaunchTemplateVersion

string

No

Versi template peluncuran instans yang terkait dengan kelompok penyediaan otomatis. Anda dapat memanggil DescribeLaunchTemplateVersions untuk mengkueri versi template peluncuran instans yang aktif.

Nilai default: versi default template peluncuran.

1

Description

string

No

Deskripsi kelompok penyediaan otomatis.

testDescription

ClientToken

string

No

Token klien yang digunakan untuk memastikan idempotens permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi pastikan token tersebut unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII dan tidak boleh melebihi 64 karakter. Untuk informasi selengkapnya, lihat Cara memastikan idempotens.

0c593ea1-3bea-11e9-b96b-88e9fe637760

LaunchConfiguration.ImageId

string

No

ID image yang digunakan untuk meluncurkan instans. Anda dapat memanggil DescribeImages untuk mengkueri sumber daya image yang tersedia. Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

m-bp1g7004ksh0oeuc****

LaunchConfiguration.SecurityGroupId

string

No

ID kelompok keamanan tempat instans berada. Jika template peluncuran dan informasi konfigurasi peluncuran keduanya ditentukan, template peluncuran akan diprioritaskan.

sg-bp15ed6xe1yxeycg****

LaunchConfiguration.IoOptimized

string

No

Apakah instans merupakan instans yang dioptimalkan untuk I/O. Nilai valid:

  • none: tidak dioptimalkan untuk I/O.

  • optimized: dioptimalkan untuk I/O.

Untuk tipe instans yang sudah dihentikan, nilai defaultnya adalah none. Untuk tipe instans lainnya, nilai defaultnya adalah optimized.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

optimized

LaunchConfiguration.InternetChargeType

string

No

Metode penagihan untuk penggunaan jaringan. Nilai valid:

  • PayByBandwidth: bayar berdasarkan bandwidth.

  • PayByTraffic: bayar berdasarkan trafik.

Catatan

Dalam mode bayar berdasarkan trafik, puncak bandwidth arah masuk dan arah keluar digunakan sebagai batas atas bandwidth, bukan sebagai metrik kinerja yang dijamin. Saat sumber daya diperebutkan, puncak bandwidth dapat dibatasi. Jika Anda memerlukan bandwidth yang terjamin, gunakan bayar berdasarkan bandwidth.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

PayByTraffic

LaunchConfiguration.InternetMaxBandwidthIn

integer

No

Bandwidth publik arah masuk maksimum. Unit: Mbit/s. Nilai valid:

  • Jika bandwidth publik arah keluar maksimum kurang dari atau sama dengan 10 Mbit/s: 1 hingga 10. Nilai default: 10.

  • Jika bandwidth publik arah keluar maksimum lebih besar dari 10 Mbit/s: 1 hingga nilai LaunchConfiguration.InternetMaxBandwidthOut. Nilai default: nilai LaunchConfiguration.InternetMaxBandwidthOut.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

10

LaunchConfiguration.InternetMaxBandwidthOut

integer

No

Bandwidth publik arah keluar maksimum. Unit: Mbit/s. Nilai valid: 0 hingga 100.

Nilai default: 0.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

10

LaunchConfiguration.InstanceName

string

No

Nama instans. Nama harus terdiri dari 2 hingga 128 karakter. Nama harus diawali dengan huruf atau karakter Mandarin dan tidak boleh diawali dengan http:// atau https://. Nama dapat berisi karakter Mandarin, huruf, angka, titik dua (:), garis bawah (_), titik (.), dan tanda hubung (-).

Nilai default: InstanceId instans.

Saat Anda membuat beberapa Instance ECS, Anda dapat mengonfigurasi nama instans berurutan secara batch. Untuk informasi selengkapnya, lihat Konfigurasi nama atau hostname berurutan secara batch untuk beberapa instans.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

k8s-node-[1,4]-alibabacloud

LaunchConfiguration.HostName

string

No

Hostname instans. Batasan berikut berlaku:

  • Titik (.) dan tanda hubung (-) tidak dapat digunakan sebagai karakter pertama atau terakhir dan tidak dapat digunakan secara berurutan.

  • Instans Windows: Hostname harus terdiri dari 2 hingga 15 karakter dan tidak boleh mengandung titik (.) atau seluruhnya terdiri dari angka. Hostname dapat berisi huruf, angka, dan tanda hubung (-).

  • Instans tipe lain (seperti Linux): Hostname harus terdiri dari 2 hingga 64 karakter dan dapat mengandung beberapa titik (.). Setiap segmen di antara titik dapat berisi huruf, angka, dan tanda hubung (-).

  • Anda tidak dapat menentukan LaunchConfiguration.HostName dan LaunchConfiguration.HostNames.N secara bersamaan. Jika tidak, akan terjadi error.

  • Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

k8s-node-[1,4]-ecshost

LaunchConfiguration.InstanceDescription

string

No

Deskripsi instans. Deskripsi harus terdiri dari 2 hingga 256 karakter dan tidak boleh diawali dengan http:// atau https://. Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

Instance_Description

LaunchConfiguration.KeyPairName

string

No

Nama pasangan kunci.

  • Untuk instans Windows, parameter ini diabaikan dan kosong secara default.

  • Untuk instans Linux, logon berbasis kata sandi dinonaktifkan selama inisialisasi.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

KeyPair_Name

LaunchConfiguration.RamRoleName

string

No

Nama peran RAM instans. Anda dapat memanggil API RAM ListRoles untuk mengkueri peran RAM instans yang telah Anda buat. Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

RAM_Name

LaunchConfiguration.SecurityEnhancementStrategy

string

No

Apakah akan mengaktifkan Penguatan Keamanan. Nilai valid:

  • Active: mengaktifkan Penguatan Keamanan. Nilai ini hanya berlaku untuk image publik.

  • Deactive: menonaktifkan Penguatan Keamanan. Nilai ini berlaku untuk semua tipe image.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

Active

LaunchConfiguration.UserData

string

No

Data pengguna instans. Data pengguna instans harus dikodekan dalam Base64. Ukuran maksimum data mentah adalah 32 KB. Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

ZWNobyBoZWxsbyBlY3Mh

LaunchConfiguration.SystemDiskCategory

string

No

Kategori disk sistem. Nilai valid:

  • cloud_efficiency: disk ultra.

  • cloud_ssd: SSD standar.

  • cloud_essd: SSD Perusahaan (ESSD).

  • cloud: disk dasar.

Untuk tipe instans yang sudah dihentikan yang merupakan instans non-I/O optimization, nilai defaultnya adalah cloud. Untuk tipe instans lainnya, nilai defaultnya adalah cloud_efficiency.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

cloud_ssd

LaunchConfiguration.SystemDiskSize

integer

No

Ukuran disk sistem. Unit: GiB. Nilai valid: 20 hingga 500. Nilai parameter ini harus lebih besar dari atau sama dengan max{20, ukuran image yang ditentukan oleh LaunchConfiguration.ImageId}.

Nilai default: max{40, ukuran image yang ditentukan oleh LaunchConfiguration.ImageId}.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

40

LaunchConfiguration.SystemDiskName

string

No

Nama disk sistem. Nama harus terdiri dari 2 hingga 128 karakter. Nama harus diawali dengan huruf atau karakter Mandarin dan tidak boleh diawali dengan http:// atau https://. Nama dapat berisi angka, titik (.), titik dua (:), garis bawah (_), dan tanda hubung (-).

Nilai default: kosong.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

cloud_ssdSystem

LaunchConfiguration.SystemDiskDescription

string

No

Deskripsi disk sistem. Deskripsi harus terdiri dari 2 hingga 256 karakter dan tidak boleh diawali dengan http:// atau https://.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

SystemDisk_Description

LaunchConfiguration.SystemDiskPerformanceLevel

string

No

Tingkat kinerja (PL) SSD Perusahaan (ESSD) yang digunakan sebagai disk sistem. Nilai valid:

  • PL0 (default): satu disk dapat mengirimkan hingga 10.000 IOPS baca/tulis acak.

  • PL1: satu disk dapat mengirimkan hingga 50.000 IOPS baca/tulis acak.

  • PL2: satu disk dapat mengirimkan hingga 100.000 IOPS baca/tulis acak.

  • PL3: satu disk dapat mengirimkan hingga 1.000.000 IOPS baca/tulis acak.

Untuk informasi tentang cara memilih tingkat kinerja ESSD, lihat ESSD.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

PL0

LaunchConfiguration.PasswordInherit

boolean

No

Apakah akan menggunakan kata sandi yang telah ditetapkan dalam image. Nilai valid:

  • true: menggunakan kata sandi yang telah ditetapkan.

  • false: tidak menggunakan kata sandi yang telah ditetapkan.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

true

LaunchConfiguration.ResourceGroupId

string

No

ID kelompok sumber daya tempat instans berada. Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

rg-bp67acfmxazb4p****

LaunchConfiguration.CreditSpecification

string

No

Mode berjalan Instans burstable. Nilai valid:

  • Standard: mode standar. Untuk informasi selengkapnya tentang kinerja instans, lihat bagian mode terbatas kinerja dalam Tampilan Instans burstable.

  • Unlimited: mode tanpa batas. Untuk informasi selengkapnya tentang kinerja instans, lihat bagian mode tanpa batas dalam Tampilan Instans burstable.

Nilai default: none.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

Standard

LaunchConfiguration.Password

string

No

Kata sandi instans. Kata sandi harus terdiri dari 8 hingga 30 karakter dan harus mengandung setidaknya tiga dari tipe karakter berikut: huruf besar, huruf kecil, angka, dan karakter khusus. Karakter khusus berikut didukung:

()`~!@#$%^&*-_+=|{}`[]`:;'<>,.?/

Untuk instans Windows, kata sandi tidak boleh diawali dengan garis miring ke depan (/).

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

EcsV587!

LaunchConfiguration.DeploymentSetId

string

No

ID set penyebaran.

ds-bp1frxuzdg87zh4p****

LaunchTemplateConfig

array<object>

No

Daftar template peluncuran yang diperluas.

object

No

Informasi template peluncuran yang diperluas.

VSwitchId

string

No

ID vSwitch tempat Instance ECS dalam template peluncuran yang diperluas terhubung. Zona Instance ECS yang dibuat dari template yang diperluas ditentukan oleh vSwitch.

Catatan

Jika Anda menentukan LaunchTemplateConfig, LaunchTemplateConfig.N.VSwitchId wajib diisi.

vsw-sn5bsitu4lfzgc5o7****

MaxPrice

number

No

Harga maksimum untuk spot instans dalam template peluncuran yang diperluas.

Catatan

Setelah Anda mengatur LaunchTemplateConfig, LaunchTemplateConfig.N.MaxPrice wajib diisi.

3

Priority

integer

No

Prioritas template peluncuran yang diperluas. Nilai 0 menunjukkan prioritas tertinggi. Nilai valid: 0 hingga +∞.

1

InstanceType

string

No

Tipe instans dalam template peluncuran yang diperluas. Nilai valid N: 1 hingga 20. Untuk nilai valid, lihat Keluarga instans.

ecs.g5.large

WeightedCapacity

number

No

Bobot tipe instans dalam template peluncuran yang diperluas. Nilai yang lebih tinggi menunjukkan bahwa satu instans dapat memenuhi lebih banyak kebutuhan daya komputasi, sehingga mengurangi jumlah instans yang diperlukan. Nilai valid: lebih besar dari 0.

Anda dapat menghitung bobot berdasarkan daya komputasi tipe instans yang ditentukan dan daya komputasi minimum satu node tunggal dalam kluster. Misalnya, jika daya komputasi minimum satu node tunggal adalah 8 vCPU dan 60 GiB:

  • Bobot tipe instans dengan 8 vCPU dan 60 GiB dapat diatur ke 1.

  • Bobot tipe instans dengan 16 vCPU dan 120 GiB dapat diatur ke 2.

2

MaxQuantity

integer

No

Catatan

Parameter ini sedang dalam pratinjau undangan dan tidak tersedia untuk digunakan.

false

Cores

array

No

Daftar jumlah inti vCPU untuk tipe instans.

integer

No

Jumlah inti vCPU untuk tipe instans, digunakan untuk memfilter tipe instans yang memenuhi persyaratan. Untuk informasi selengkapnya, lihat Keluarga instans. Nilai valid N: 1 hingga 10.

2

Memories

array

No

Daftar ukuran memori untuk tipe instans.

number

No

Ukuran memori tipe instans. Unit: GiB. Digunakan untuk memfilter tipe instans yang memenuhi persyaratan. Untuk informasi selengkapnya, lihat Keluarga instans. Nilai valid N: 1 hingga 10.

4

InstanceFamilyLevel

string

No

Tingkat family instans, digunakan untuk memfilter tipe instans yang memenuhi persyaratan. Nilai valid:

  • EntryLevel: tingkat pemula, yang mengacu pada tipe instans bersama. Biaya lebih rendah tetapi tidak ada jaminan kinerja komputasi yang stabil. Cocok untuk skenario dengan rata-rata penggunaan CPU yang rendah. Untuk informasi selengkapnya, lihat Keluarga instans bersama.

  • EnterpriseLevel: tingkat enterprise. Kinerja stabil dengan sumber daya khusus. Cocok untuk skenario yang memerlukan stabilitas tinggi. Untuk informasi selengkapnya, lihat Keluarga instans.

  • CreditEntryLevel: tingkat pemula berbasis kredit, yang mengacu pada Instans burstable. Menggunakan kredit CPU untuk memastikan kinerja komputasi. Cocok untuk skenario dengan rata-rata penggunaan CPU yang rendah dan lonjakan sesekali. Untuk informasi selengkapnya, lihat Tampilan Instans burstable.

Nilai valid N: 1 hingga 10.

EnterpriseLevel

ExcludedInstanceTypes

array

No

Daftar tipe instans yang dikecualikan.

string

No

Tipe instans yang dikecualikan. Anda dapat menggunakan wildcard (*) untuk mengecualikan satu tipe instans atau seluruh keluarga instans. Contoh:

  • ecs.c6.large: mengecualikan tipe instans ecs.c6.large.

  • ecs.c6.*: mengecualikan semua tipe instans dalam keluarga instans c6.

ecs.n1.small/ecs.n1.*/*7*

Architectures

array

No

Daftar tipe arsitektur untuk tipe instans.

string

No

Tipe arsitektur tipe instans. Nilai valid:

  • X86: komputasi x86.

  • Heterogeneous: komputasi heterogen, seperti GPU atau FPGA.

  • BareMental: ECS Bare Metal Instance.

  • Arm: komputasi Arm.

  • SuperComputeCluster: Super Computing Cluster (SCC).

Nilai default: mencakup semua tipe arsitektur.

X86

BurstablePerformance

string

No

Apakah akan menyertakan tipe Instance Burstable. Nilai valid:

  • Exclude: mengecualikan tipe Instance Burstable.

  • Include: menyertakan tipe Instance Burstable.

  • Required: hanya menyertakan tipe Instance Burstable.

Nilai default: Include.

Include

ImageId

string

No

ID image. Anda dapat menggunakan parameter ini untuk mengatur image untuk kolam sumber daya saat ini. Jika tidak diatur, image yang ditentukan dalam LaunchConfiguration.ImageId atau template peluncuran akan digunakan secara default. Anda dapat memanggil DescribeImages untuk mengkueri sumber daya image yang tersedia. Catatan: Parameter ini hanya didukung saat AutoProvisioningGroupType = instant.

aliyun_3_x64_20G_alibase_20210425.vhd

LaunchConfiguration.DataDisk

array<object>

No

Daftar konfigurasi disk data dalam konfigurasi peluncuran.

object

No

Informasi konfigurasi disk data dalam konfigurasi peluncuran.

PerformanceLevel

string

No

Tingkat kinerja SSD Perusahaan (ESSD) yang digunakan sebagai disk data. Nilai N harus konsisten dengan N dalam LaunchConfiguration.DataDisk.N.Category. Nilai valid:

  • PL0: satu disk dapat mengirimkan hingga 10.000 IOPS baca/tulis acak.

  • PL1 (default): satu disk dapat mengirimkan hingga 50.000 IOPS baca/tulis acak.

  • PL2: satu disk dapat mengirimkan hingga 100.000 IOPS baca/tulis acak.

  • PL3: satu disk dapat mengirimkan hingga 1.000.000 IOPS baca/tulis acak.

Untuk informasi tentang cara memilih tingkat kinerja ESSD, lihat ESSD.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

PL1

KmsKeyId

string

No

ID kunci KMS untuk disk data. Jika template peluncuran dan konfigurasi peluncuran ditentukan, template peluncuran diutamakan.

0e478b7a-4262-4802-b8cb-00d3fb40****

Description

string

No

Deskripsi disk data. Deskripsi harus terdiri dari 2 hingga 256 karakter dan tidak boleh diawali dengan http:// atau https://. Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

DataDisk_Description

SnapshotId

string

No

ID snapshot yang digunakan untuk membuat disk data N. Nilai valid N: 1 hingga 16.

Setelah Anda menentukan parameter ini, parameter LaunchConfiguration.DataDisk.N.Size diabaikan. Ukuran aktual disk yang dibuat adalah ukuran snapshot yang ditentukan. Snapshot yang dibuat pada atau sebelum 15 Juli 2013 tidak dapat digunakan. Permintaan yang menggunakan snapshot tersebut akan ditolak.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

s-bp17441ohwka0yuh****

Size

integer

No

Ukuran disk data N. Nilai valid N: 1 hingga 16. Unit: GiB. Nilai valid:

  • cloud_efficiency: 20 hingga 32768.

  • cloud_ssd: 20 hingga 32768.

  • cloud_essd: bergantung pada nilai LaunchConfiguration.DataDisk.N.PerformanceLevel.
    • PL0: 40 hingga 32768.

    • PL1: 20 hingga 32768.

    • PL2: 461 hingga 32768.

    • PL3: 1261 hingga 32768.

  • cloud: 5 hingga 2000.

Catatan

Nilai parameter ini harus lebih besar dari atau sama dengan ukuran snapshot yang ditentukan oleh LaunchConfiguration.DataDisk.N.SnapshotId.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

20

Device

string

No

Titik pemasangan disk data. Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template peluncuran akan diprioritaskan.

/dev/vd1

DiskName

string

No

Nama disk data. Nama harus terdiri dari 2 hingga 128 karakter. Nama harus diawali dengan huruf atau karakter Mandarin dan tidak boleh diawali dengan http:// atau https://. Nama dapat berisi angka, titik (.), titik dua (:), garis bawah (_), dan tanda hubung (-).

Nilai default: kosong.

Jika Anda menentukan template peluncuran dan informasi konfigurasi peluncuran, template pel

cloud_ssdData

Category

string

No

The category of data disk N. Valid values of N: 1 to 16. Valid values:

  • cloud_efficiency: ultra disk.

  • cloud_ssd: standard SSD.

  • cloud_essd: enterprise SSD (ESSD).

  • cloud: basic disk.

For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.

If you specify both a launch template and launch configuration information, the launch template takes precedence.

cloud_ssd

DeleteWithInstance

boolean

No

Specifies whether the data disk is released when the instance is released. Valid values:

  • true: the data disk is released when the instance is released.

  • false: the data disk is not released when the instance is released.

Default value: true.

If you specify both a launch template and launch configuration information, the launch template takes precedence.

true

Encrypted

boolean

No

Specifies whether data disk N is encrypted. Valid values:

  • true: encrypted.

  • false: not encrypted.

Default value: false.

If you specify both a launch template and launch configuration information, the launch template takes precedence.

false

EncryptAlgorithm

string

No

Catatan

This parameter is not publicly available.

null

ProvisionedIops

integer

No

The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}.

Baseline performance = min{1,800 + 50 × capacity, 50,000}.

Catatan

This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see ESSD AutoPL disks.

40000

BurstingEnabled

boolean

No

Specifies whether to enable the performance burst feature. Valid values:

  • true: enables the feature.

  • false: disables the feature.

Catatan

This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see ESSD AutoPL disks.

false

AutoSnapshotPolicyId

string

No

The ID of the automatic snapshot policy applied to the data disk.

Note:

  • This parameter takes effect only when you create a one-time synchronous delivery auto provisioning group (AutoProvisioningGroupType=instant).

sp-bp67acfmxazb4p****

LaunchConfiguration.Tag

array<object>

No

The list of tags in the launch configuration.

object

No

The tag information in the launch configuration.

Key

string

No

The tag key of the instance. Valid values of N: 1 to 20. The tag key cannot be an empty string. It can be up to 128 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://. If you specify both a launch template and launch configuration information, the launch template takes precedence.

TestKey

Value

string

No

The tag value of the instance. Valid values of N: 1 to 20. The tag value can be an empty string. It can be up to 128 characters in length and cannot start with acs:. It cannot contain http:// or https://. If you specify both a launch template and launch configuration information, the launch template takes precedence.

TestValue

SystemDiskConfig

array<object>

No

The list of system disk configurations.

object

No

The system disk configuration information.

DiskCategory

string

No

The category of the system disk. You can specify multiple candidate disk categories. The specified order determines the priority of each disk category. When a disk category is unavailable, the system automatically switches to the next category. Valid values:

  • cloud_efficiency: ultra disk.

  • cloud_ssd: standard SSD.

  • cloud_essd: enterprise SSD (ESSD).

  • cloud: basic disk.

cloud_ssd

DataDiskConfig

array<object>

No

The list of data disk configurations.

object

No

The data disk configuration information.

DiskCategory

string

No

The category of the data disk. You can specify multiple candidate disk categories. The specified order determines the priority of each disk category. When a disk category is unavailable, the system automatically switches to the next category. Valid values:

  • cloud_efficiency: ultra disk.

  • cloud_ssd: standard SSD.

  • cloud_essd: enterprise SSD (ESSD).

  • cloud: basic disk.

cloud_efficiency

LaunchConfiguration.HostNames

array

No

The list of hostnames for one or more instances. The following limits apply:

  • This parameter takes effect only when you create a one-time synchronous delivery auto provisioning group (AutoProvisioningGroupType=instant).

  • N indicates the number of instances. Valid values of N: 1 to 1000. The value must be consistent with the TotalTargetCapacity parameter.

  • Periods (.) and hyphens (-) cannot be used as the first or last characters and cannot be used consecutively.

  • If you specify both a launch template and launch configuration information, the launch template takes precedence.

ecs-host-01

string

No

The hostname. The following limits apply:

  • Periods (.) and hyphens (-) cannot be used as the first or last characters and cannot be used consecutively.

  • Windows instances: The hostname must be 2 to 15 characters in length and cannot contain periods (.) or consist entirely of digits. It can contain letters, digits, and hyphens (-).

  • Instances of other types (such as Linux): The hostname must be 2 to 64 characters in length and can contain multiple periods (.). Each segment between periods can contain letters, digits, and hyphens (-).

  • You cannot specify both LaunchConfiguration.HostName and LaunchConfiguration.HostNames.N. Otherwise, an error is returned.

ecs-host-01

MinTargetCapacity

string

No

The minimum target capacity of the auto provisioning group. Valid values

20

LaunchConfiguration.SecurityGroupIds

array

No

The list of security groups to which the instance belongs.

string

No

The ID of the security group to which the instance belongs. If both a launch template and launch configuration information are specified, the launch template takes precedence.

sg-bp15ed6xe1yxeycg****

LaunchConfiguration.SystemDisk

object

No

The system disk information of the instance. If you specify both a launch template and launch configuration information, the launch template takes precedence.

Encrypted

string

No

Specifies whether the system disk is encrypted. Valid values:

  • true: encrypted.

  • false: not encrypted.

Default value: false.

If you specify both.

false

KMSKeyId

string

No

The KMS key ID of the system disk.

When both a launch template and launch configuration information are specified, the launch template takes precedence.

0e478b7a-4262-4802-b8cb-00d3fb40****

EncryptAlgorithm

string

No

The encryption algorithm for the system disk. Valid values:

  • aes-256

  • sm4-128

Default value: aes-256.

If you specify both a launch template and launch configuration information, the launch template takes precedence.

Catatan

This parameter is not publicly available.

aes-256

ProvisionedIops

integer

No

The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}.

Baseline performance = min{1,800 + 50 × Capacity, 50,000}.

Catatan

This parameter is supported only when SystemDisk.Category is set to cloud_auto. For more information, see ESSD AutoPL disk.

40000

BurstingEnabled

boolean

No

Specifies whether to enable the performance burst feature. Valid values:

  • true: enables the feature.

  • false: does not enable the feature.

Catatan

This parameter is supported only when SystemDisk.Category is set to cloud_auto. For more information, see ESSD AutoPL disk.

false

AutoSnapshotPolicyId

string

No

The ID of the automatic snapshot policy to apply to the system disk.

After you set this parameter, note the following items:

  • This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).

sp-bp67acfmxazb4p****

LaunchConfiguration.Arn

array<object>

No

Catatan

This parameter is in invitational preview and is not available for use.

object

No

Catatan

This parameter is in invitational preview and is not available for use.

Rolearn

string

No

Catatan

This parameter is in invitational preview and is not available for use.

acs:ram::123456789012****:role/adminrole

RoleType

string

No

Catatan

This parameter is in invitational preview and is not available for use.

34458433936495****:alice

AssumeRoleFor

integer

No

Catatan

This parameter is in invitational preview and is not available for use.

123456789012****

HibernationOptionsConfigured

boolean

No

Catatan

This parameter is in invitational preview and is not publicly available.

false

LaunchConfiguration.AutoReleaseTime

string

No

The automatic release time of the pay-as-you-go instance. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

  • If the value of seconds (ss) is not 00, the time is automatically rounded down to the start of the current minute (mm).

  • The earliest release time is 30 minutes after the current time.

  • The latest release time cannot be more than three years from the current time.

2018-01-01T12:05:00Z

LaunchConfiguration.ImageFamily

string

No

The name of the image family. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with aliyun or acs:. The name cannot contain http:// or https://. The name can contain digits, colons (:), underscores (_), or hyphens (-).

hangzhou-daily-update

Tag

array<object>

No

The tags to attach to the auto provisioning group.

object

No

The tag to attach to the auto provisioning group.

Key

string

No

The tag key of the auto provisioning group.

Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with aliyun or acs:. The tag key cannot contain http:// or https://.

TestKey

Value

string

No

The tag value of the auto provisioning group.

Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain http:// or https://.

TestValue

ResourcePoolOptions

object

No

The resource pool policy used to create instances. After you set this parameter, note the following items:

  • This parameter takes effect only when you create pay-as-you-go instances.

  • This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).

Strategy

string

No

Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, and public pools for instance startup. Valid values:

  • PrivatePoolFirst: private pool first. When you select this strategy and specify ResourcePoolOptions.PrivatePoolIds, the specified private pools are used first. If no private pools are specified or the specified private pools have insufficient capacity, open private pools are automatically matched. If no matching private pools are available, the public pool is used to create instances.

  • PrivatePoolOnly: private pool only. When you select this strategy, you must specify ResourcePoolOptions.PrivatePoolIds. If the specified private pools have insufficient capacity, the instance fails to start.

  • PublicPoolOnly: uses the public pool to create instances.

Default value: PublicPoolOnly.

PrivatePoolFirst

PrivatePoolIds

array

No

The list of private pool IDs. Valid values: 1 to 20.

string

No

The private pool ID, which is the Elasticity Assurance ID or Capacity Reservation ID. Only Target-mode private pool IDs can be specified.

eap-bp67acfmxazb4****

LaunchConfiguration

object

No

The launch configuration parameters.

Period

integer

No

The subscription duration of the resource. Unit: specified by PeriodUnit. This parameter is required when you create subscription instances. Valid values:

If PeriodUnit is set to Month, valid values of Period: 1, 2, 3, 6, and 12.

1

PeriodUnit

string

No

The unit of the subscription billable methods duration. Valid values:

Month (default).

Month

AutoRenew

boolean

No

Specifies whether to enable auto-renewal. This parameter takes effect when you create subscription instances. Valid values:

  • true: enables auto-renewal.

  • false (default): does not enable auto-renewal.

true

AutoRenewPeriod

integer

No

The auto-renewal period. Valid values:

If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.

Default value: 1.

1

SpotDuration

integer

No

The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:

  • 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not subject to automatic release within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the marketplace price and checks the resource inventory to determine whether to retain or revoke the instance.

  • 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the marketplace price and checks the resource inventory to determine whether to retain or revoke the instance.

Alibaba Cloud sends an ECS system event notification 5 minutes before the instance is released. Spot instances are billed by second. Select an appropriate protection period based on the expected task execution duration.

After you set this parameter, note the following items:

  • This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).

1

SpotInterruptionBehavior

string

No

The spot instance break mode. Valid values:

  • Terminate: directly releases the instance.

  • Stop: puts the instance into economical mode.

For more information about economical mode, see Economical mode.

Default value: Terminate.

After you set this parameter, note the following items:

  • This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).

Terminate

ImageOptions

object

No

The image-related property information.

After you set this parameter, note the following items:

  • This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).

LoginAsNonRoot

boolean

No

Specifies whether the instance that uses this image supports logon as the ecs-user user. Valid values:

  • true: supported.

  • false: not supported.

false

SchedulerOptions

object

No

DedicatedHostId

string

No

DedicatedHostClusterId

string

No

SecurityOptions

object

No

TrustedSystemMode

string

No

CpuOptions

object

No

The CPU-related configurations.

Core

integer

No

The number of CPU cores.

Default value: see Specify and view CPU options.

2

ThreadsPerCore

integer

No

The number of threads per CPU core. The number of vCPUs of the ECS instance = CpuOptions.Core value × CpuOptions.ThreadsPerCore value.

If CpuOptions.ThreadsPerCore is set to 1, CPU hyper-threading is disabled.

Only specific instance types support custom CPU thread counts.

For valid values and default values, see Specify and view CPU options.

2

PrePaidOptions

object

No

The detailed capacity configuration for subscription instances.

SpecifyCapacityDistribution

array<object>

No

The minimum capacity set for different instance types. This parameter is supported only when AutoProvisioningGroupType = request.

object

No

The minimum capacity for an instance type.

InstanceTypes

array

No

The set of instance types. Duplicate values are not allowed, and the instance types must be within the range of LaunchTemplateConfig.InstanceType.

string

No

Tipe instans

ecs.c6.large

MinTargetCapacity

integer

No

The minimum number of instances to deliver within the InstanceTypes range.

Catatan

The sum of all MinTargetCapacity values (sum(MinTargetCapacity) <= TotalTargetCapacity) cannot exceed TotalTargetCapacity. If any instance type set cannot meet the MinTargetCapacity requirement due to insufficient inventory or other reasons, the entire request fails.

5

ExecutionMode

string

No

CandidateOptions

object

No

TimeoutMinutes

integer

No

60

Evaluate

boolean

No

Elemen respons

Element

Type

Description

Example

object

AutoProvisioningGroupId

string

The ID of the auto provisioning group.

apg-sn54avj8htgvtyh8****

RequestId

string

ID permintaan.

745CEC9F-0DD7-4451-9FE7-8B752F39****

LaunchResults

object

LaunchResult

array<object>

The set of instances created by the auto provisioning group. This value is returned only when the delivery type of the auto provisioning group is one-time synchronization delivery (instant).

array<object>

The information about the instances created by the auto provisioning group.

ZoneId

string

ID zona tempat instans berada.

cn-hangzhou-g

ErrorMsg

string

Pesan error yang dikembalikan ketika instans gagal dibuat.

Specific parameter is not valid.

InstanceType

string

Tipe instans.

ecs.g5.large

ErrorCode

string

Kode error yang dikembalikan ketika instans gagal dibuat.

InvalidParameter

SpotStrategy

string

Strategi preemption dari instans pay-as-you-go. Nilai yang mungkin:

  • NoSpot: instans pay-as-you-go normal.

  • SpotWithPriceLimit: instans preemptible dengan harga bid maksimum.

  • SpotAsPriceGo: sistem secara otomatis melakukan bid, mengikuti harga pasar aktual saat ini.

NoSpot

Amount

integer

Jumlah instans dalam daftar ID instans yang berhasil dibuat.

1

InstanceIds

object

InstanceId

array

Daftar ID instans yang berhasil dibuat.

string

Daftar ID instans yang berhasil dibuat.

["i-bp67acfmxazb4p****"]

CandidateEvaluateLevel

string

Low

Contoh

Respons sukses

JSONformat

{
  "AutoProvisioningGroupId": "apg-sn54avj8htgvtyh8****",
  "RequestId": "745CEC9F-0DD7-4451-9FE7-8B752F39****",
  "LaunchResults": {
    "LaunchResult": [
      {
        "ZoneId": "cn-hangzhou-g",
        "ErrorMsg": "Specific parameter is not valid.",
        "InstanceType": "ecs.g5.large",
        "ErrorCode": "InvalidParameter",
        "SpotStrategy": "NoSpot",
        "Amount": 1,
        "InstanceIds": {
          "InstanceId": [
            "[\"i-bp67acfmxazb4p****\"]"
          ]
        },
        "CandidateEvaluateLevel": "Low"
      }
    ]
  }
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidParameter %s
400 InvalidAutoProvisioningGroupName.Malformed The specified parameter "AutoProvisioningGroupName" is not valid.
400 InvalidAutoProvisioningGroupType.ValueNotSupported The specified parameter "AutoProvisioningGroupType" is not supported.
400 InvalidFleetExcessCapacityTerminationPolicy.ValueNotSupported The specified parameter "ExcessCapacityTerminationPolicy" is not supported.
400 InvalidDefaultTargetCapacityType.ValueNotSupported The specified parameter "DefaultTargetCapacityType" is not supported.
400 InvalidSpotAllocationStrategy.ValueNotSupported The specified parameter "SpotAllocationStrategy" is not supported.
400 InvalidSpotInstanceInterruptionBehavior.ValueNotSupported The specified parameter "SpotInstanceInterruptionBehavior" is not supported.
400 InvalidPayAsYouGoAllocationStrategy.ValueNotSupported The specified parameter "PayAsYouGoAllocationStrategy" is not supported.
400 MissingParameter.SpotAllocationStrategy The specified parameter "SpotAllocationStrategy" is empty.
400 MissingParameter.LaunchTemplateConfigs The specified parameter "LaunchTemplateConfigs" is empty.
400 InvalidValidTime.MalFormed The specified parameter "ValidTime" is not supported.
400 InvalidLaunchTemplateVersion.ValueNotSupported The specified parameter "LaunchTemplateVersion" is not valid.
400 MissingParameter The specified parameter "AutoProvisioningGroup" should not be null.
400 InvalidRegion.ValueNotSupported The specified Region does not exist.
400 InvalidDescription.ValueNotSupported The specified description is illegal.
400 InvalidLaunchTemplate.ValueNotSupported The SecurityGroupId or imageId in LaunchTemplate is not exists.
400 InvalidCapacity.ValueNotSupported The Capacity is illegal, or the TargetCapacity is large than SpotCapacity + PayAsYouGoCapacity.
400 InvalidInstanceType.ValueNotSupported The instanceType is illegal.
400 InternalError The request processing has failed due to some unknown error.
400 InvalidLaunchTemplateConfigs.SizeExceed The size of LaunchTemplateConfigs exceeds limit.
400 InvalidParameter.SpotInstancePoolsToUseCount The specified parameter "SpotInstancePoolsToUseCount" is not valid.
400 InvalidParameter.ResourceGroupId The specified parameter "ResourceGroupId" is not valid.
400 InvalidParameter.TargetCapacity The Capacity is illegal, TotalTargetCapacity, PayAsYouGoTargetCapacity, SpotTargetCapacity must be specified, meanwhile, the TargetCapacity must be larger than or equal to the sum of SpotCapacity and OnDemandCapacity.
400 MissingParameter.WeightedCapacity The WeightedCapacity of LaunchTemplateConfig should not be empty.
400 InvalidParameter.WeightedCapacityBeyondRange The WeightedCaTpacity of LaunchTemplateConfig beyond permitted range.
400 InvalidParameter.MaxPrice The specified parameter "MaxSpotPrice" or "MaxPrice" of LaunchTemplateConfig is not valid.
400 NoPermission %s
400 Duplicate.DiskCategory The specified disk configs contains duplicate DiskCategory.
400 InvalidImageFamily.Confict The specified parameter ImageFamily should be empty when the parameter ImageId is specified.
400 Invalid.ResourcePoolOptions.PrivatePoolIds The zone or instancetype of the ResourcePoolOptions.PrivatePoolIds does not match the LaunchTemplateConfig.
400 Invalid.ResourcePoolOptions.Strategy The specified ResourcePoolOptions.Strategy is invalid.
400 Invalid.ResourcePoolOptionsPrivatePoolIds.SizeExceed The size of ResourcePoolOptions.PrivatePoolIds exceeds limit.
400 MissingParameter.ResourcePoolOptions.PrivatePoolIds The specified ResourcePoolOptions.PrivatePoolIds should not be null when ResourcePoolOptions.Strategy is PrivatePoolOnly.
400 InvalidSpotDuration The specified SpotDuration is not valid.
400 InvalidSpotInterruptionBehavior %s
400 InvalidParameter.SecurityGroupIdRepeated The SecurityGroupId is repeated.
400 VpcMismatch.SecurityGroupAndVSwitch Specified security group and virtual switch are not in the same VPC.
400 InvalidMinTargetCapacity.NotSatisfied The inventory of specified InstanceType does not meet the MinTargetCapacity.
400 InvalidParameterRange.MinTargetCapacity The MinTargetCapacity exceeds the limit[0-TotalTargetCapacity].
400 InvalidUserData.Base64FormatInvalid The specified parameter UserData must be base64 encoded.
400 InvalidUserData.SizeExceeded The specified parameter UserData exceeds the size.
400 InvalidAutoReleaseTime.Malformed The specified parameter AutoReleaseTime is not valid.
400 QuotaExceeded.AutoProvisioningGroup The count of AutoProvisioningGroup exceeds the limit.
400 Invalid.PrivatePoolOptions.status The PrivatePool status is not valid.
500 InternalError The request processing has failed due to some unknown error.
403 TotalTargetCapacityLimitExceed The TotalTargetCapacity exceeds the limit[0-2000].
403 SpotTargetCapacityLimitExceed The SpotTargetCapacity exceeds the limit[0-2000].
403 PayAsYouGoTargetCapacityLimitExceed The PayAsYouGoTargetCapacity exceeds the limit[0-2000].
403 OperationDenied.NoStock The resource is out of stock in the specified zone. Please try other types, or choose other regions and zones.
403 CandidateDenied.NoStock The resource is out of stock and there are no candidate resources in the specified zone. Please try other types, or choose other regions and zones.
404 InvalidResourcePoolOptionsPrivatePoolIds.NotFound The ResourcePoolOptions.PrivatePoolIds do not exist.
404 InvalidSecurityGroupId.NotFound The SecurityGroupId %s provided does not exist in our records.
404 InvalidVSwitchId.NotFound The specified virtual switch %s does not exist.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.