Membuat kolam alamat IPAM.
Deskripsi operasi
Jumlah maksimum default kolam tingkat atas IPv6 publik per tipe ISP per wilayah adalah 1.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:CreateIpamPool |
create |
*IpamPool
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah IPAM. Anda dapat memanggil API DescribeRegions untuk mendapatkan ID wilayah. |
cn-hangzhou |
| IpamScopeId |
string |
Yes |
ID instans cakupan IPAM. |
ipam-scope-glfmcyldpm8lsy**** |
| IpamPoolName |
string |
No |
Nama kolam alamat IPAM. Panjang nama harus 1 hingga 128 karakter dan tidak boleh diawali dengan |
abc |
| IpamPoolDescription |
string |
No |
Deskripsi kolam alamat IPAM. Panjang deskripsi harus 1 hingga 256 karakter dan harus diawali dengan huruf Inggris besar atau kecil atau karakter Tionghoa. Tidak boleh diawali dengan |
test description |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya kolam alamat IPAM. |
rg-acfmxazb4ph6aiy**** |
| PoolRegionId |
string |
No |
Wilayah tempat kolam alamat IPAM berlaku. |
cn-hangzhou |
| SourceIpamPoolId |
string |
No |
ID instans kolam alamat IPAM sumber. Catatan
Jika parameter ini tidak ditentukan, kolam alamat yang dibuat adalah kolam alamat induk. |
ipam-pool-6rcq3tobayc20t**** |
| AllocationDefaultCidrMask |
integer |
No |
Masker CIDR default untuk alokasi dari kolam alamat IPAM. Catatan
Masker CIDR IPv4 berkisar dari 0 hingga 32 bit. Masker CIDR IPv6 berkisar dari 0 hingga 128 bit. |
28 |
| AllocationMaxCidrMask |
integer |
No |
Masker CIDR maksimum untuk alokasi dari kolam alamat IPAM. Catatan
Masker CIDR IPv4 berkisar dari 0 hingga 32 bit. Masker CIDR IPv6 berkisar dari 0 hingga 128 bit. |
32 |
| AllocationMinCidrMask |
integer |
No |
Masker CIDR minimum untuk alokasi dari kolam alamat IPAM. Catatan
Masker CIDR IPv4 berkisar dari 0 hingga 32 bit. Masker CIDR IPv6 berkisar dari 0 hingga 128 bit. |
8 |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run saja, tanpa menjalankan permintaan aktual. Nilai valid:
|
false |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId mungkin berbeda untuk setiap permintaan API. |
123e4567-e89b-12d3-a456-426655440000 |
| IpVersion |
string |
No |
Versi protokol alamat IP. Nilai valid:
|
IPv4 |
| Ipv6Isp |
string |
No |
Tipe Blok CIDR IPv6. Parameter ini hanya berlaku untuk kolam alamat IPv6 publik. Nilai valid:
Catatan
Jika Anda adalah pengguna yang telah mengaktifkan daftar putih bandwidth single-line, bidang ini dapat diatur ke ChinaTelecom (China Telecom), ChinaUnicom (China Unicom), atau ChinaMobile (China Mobile). |
BGP |
| AutoImport |
boolean |
No |
Apakah akan mengaktifkan fitur impor otomatis untuk kolam alamat. |
true |
| Tag |
array<object> |
No |
Daftar tag. |
|
|
object |
No |
Informasi tag. |
||
| Key |
string |
No |
Kunci tag sumber daya. Mendukung maksimum 20 kunci tag. Setelah nilai ini ditentukan, tidak boleh berupa string kosong. Panjang kunci tag dapat mencapai 64 karakter dan harus diawali dengan huruf atau karakter Tionghoa. Dapat berisi digit, titik (.), garis bawah (_), dan tanda hubung (-). Tidak boleh diawali dengan Catatan
Anda harus menentukan setidaknya satu dari parameter ResourceId.N dan Tag.N (Tag.N.Key dan Tag.N.Value). |
FinanceDept |
| Value |
string |
No |
Nilai tag sumber daya. Mendukung maksimum 20 nilai tag. Setelah nilai ini ditentukan, dapat berupa string kosong. Panjang nilai tag dapat mencapai 128 karakter dan tidak boleh mengandung Catatan
Anda harus menentukan setidaknya satu dari parameter ResourceId.N dan Tag.N (Tag.N.Key dan Tag.N.Value). |
FinanceJoshua |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Informasi yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
BB2C39DE-CEB8-595A-981A-F2EFCBE7324E |
| IpamPoolId |
string |
ID instans kolam alamat IPAM. |
ipam-pool-6rcq3tobayc20t**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "BB2C39DE-CEB8-595A-981A-F2EFCBE7324E",
"IpamPoolId": "ipam-pool-6rcq3tobayc20t****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceNotFound.IpamScope | The specified resource of IPAM scope is not found. | |
| 400 | ResourceNotFound.SourceIpamPool | The dependent source IPAM pool is not found. | |
| 400 | UnsupportedFeature.PublicIpamScopeType | The feature of PublicIpamScopeType is not supported. | |
| 400 | IllegalParam.AllocationDefaultNetmask | The specified AllocationDefaultNetmask is illegal. | |
| 400 | IllegalParam.AllocationMaxNetmask | The specified AllocationMaxNetmask is illegal. | |
| 400 | IllegalParam.AllocationMinNetmask | The specified AllocationMinNetmask is illegal. | |
| 400 | IllegalParam.IpVersion | The specified IpVersion is illegal. | |
| 400 | QuotaExceeded.IpamPoolQuotaDepth | The quota of IpamPoolQuotaDepth count is exceeded. | |
| 400 | ResourceNotFound.Ipam | The specified resource of ipam is not found. | |
| 400 | IllegalParam.PoolRegionId | The specified PoolRegionId is illegal. | |
| 400 | QuotaExceeded.IpamSubPoolQuotaPerIpamPool | The quota of ipamSubPoolQuotaPerIpamPool count is exceeded. | |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | |
| 400 | IncorrectStatus.IpamPool | The status of the IPAM pool is incorrect. | |
| 400 | OperationDenied.OperateShareResource | The operation is not allowed because the instance is a shared resource. | |
| 400 | UnsupportedFeature.IpamPublicIpv4Pool | The feature of public IPv4 pool is not supported in IPAM. | |
| 400 | OperationDenied.IpamPublicIpv6PoolNeedPoolRegion | The public IPv6 pool cannot be created in IPAM when its pool region is empty. | |
| 400 | IllegalParam.Ipv6Isp | The specified Ipv6Isp is illegal. | |
| 400 | UnsupportedFeature.Ipv6Isp | The Ipv6Isp feature is not supported. | |
| 400 | UnsupportedRegion.Ipv6Isp | The current region does not support this feature. | |
| 400 | QuotaExceeded.IpamPublicIpv6TopPoolQuotaPerRegionIsp | The number of public IPv6 top pool in IPAM for this ISP owned by the user in this region exceeds the limit. | |
| 400 | Mismatch.IpamScopeAndSourceIpamPool | The input source IPAM pool is not in the input IPAM scope. | |
| 400 | Mismatch.Ipv6IspAndSourceIpamPool | The input Ipv6Isp is inconsistent with the Ipv6Isp of the input source IPAM pool. | |
| 400 | UnsupportedFeature.IpamIpv6 | The feature of IPv6 is not supported in this region. | |
| 400 | Mismatch.ChildIpVersionAndParentIpVersion | The ChildIpVersion and ParentIpVersion are mismatched. | |
| 400 | Mismatch.ChildPoolRegionAndParentPoolRegion | The ChildPoolRegion and ParentPoolRegion are mismatched. | |
| 400 | Mismatch.ChildIpamScopeAndParentIpamScope | The ChildIpamScope and ParentIpamScope are mismatched. | |
| 400 | Mismatch.ChildIpv6IspAndParentIpv6Isp | The ChildIpv6Isp and ParentIpv6Isp are mismatched. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.