Bir IPsec-VPN bağlantısının yapılandırmasını değiştirir.
Operation description
-
Çift tünelli bir IPsec-VPN bağlantısını değiştirirken, gerekli parametrelere ek olarak şu istek parametreleri desteklenir: ClientToken, Name, LocalSubnet, RemoteSubnet, EffectImmediately, TunnelOptionsSpecification dizisi ve EnableTunnelsBgp.
-
Tek tünelli bir IPsec-VPN bağlantısını değiştirirken, gerekli parametrelere ek olarak şu istek parametreleri desteklenir: ClientToken, Name, LocalSubnet, RemoteSubnet, EffectImmediately, IkeConfig, IpsecConfig, HealthCheckConfig, EnableDpd, EnableNatTraversal, BgpConfig ve CustomerGatewayId.
-
ModifyVpnAttachmentAttribute işlemi eşzamansızdır. Bir istek gönderildikten sonra sistem bir istek kimliği döndürür. Ancak IPsec-VPN bağlantısı yapılandırması henüz değiştirilmemiştir. Değişiklik görevi arka planda çalışmaya devam eder. IPsec-VPN bağlantısı yapılandırmasının değişiklik durumunu sorgulamak için DescribeVpnConnection işlemini çağırabilirsiniz:
IPsec-VPN bağlantısı updating durumundaysa yapılandırma değiştiriliyordur.
IPsec-VPN bağlantısı attached durumundaysa yapılandırma değiştirilmiştir.
-
ModifyVpnAttachmentAttribute işlemi, IPsec-VPN bağlantısı yapılandırmasında eşzamanlı değişiklikleri desteklemez.
-
ModifyVpnAttachmentAttribute işlemini çağırırken IPsec-VPN bağlantısının ağ geçidi türünü değiştiremezsiniz.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ModifyVpnAttachmentAttribute |
update |
*VpnConnections
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
IPsec-VPN bağlantısının bölge kimliği. Bölge kimliklerini sorgulamak için DescribeRegions işlemini çağırabilirsiniz. |
cn-hangzhou |
| VpnConnectionId |
string |
Yes |
IPsec-VPN bağlantısının kimliği. |
vco-p0w5112fgnl2ihlmf**** |
| Name |
string |
No |
IPsec-VPN bağlantısının adı. Ad 1 ila 100 karakter uzunluğunda olmalı ve |
nametest |
| LocalSubnet |
string |
No |
Şirket içi veri merkeziyle iletişim kurması gereken VPC tarafındaki CIDR bloğu. Bu, 2. Aşama anlaşması için kullanılır. Birden fazla CIDR bloğunu virgülle (,) ayırın. Örnek: 192.168.1.0/24,192.168.2.0/24. IPsec-VPN bağlantısı yönlendirme modu açıklaması:
|
10.1.1.0/24,10.1.2.0/24 |
| RemoteSubnet |
string |
No |
VPC ile iletişim kurması gereken şirket içi veri merkezi tarafındaki CIDR bloğu. Bu parametre 2. Aşama anlaşması için kullanılır. |
10.1.3.0/24,10.1.4.0/24 |
| EffectImmediately |
boolean |
No |
IPsec-VPN bağlantısının yapılandırmasının hemen yürürlüğe girip girmeyeceğini belirtir. Geçerli değerler: |
false |
| IkeConfig |
string |
No |
Bu parametre, tek tünelli bir IPsec-VPN bağlantısını değiştirirken desteklenir. |
{"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"} |
| IpsecConfig |
string |
No |
Bu parametre, tek tünel modundaki bir IPsec-VPN bağlantısını değiştirirken desteklenir.
|
{"IpsecEncAlg":"aes","IpsecAuthAlg":"sha1","IpsecPfs":"group2","IpsecLifetime":86400} |
| BgpConfig |
string |
No |
Bu parametre, tek tünel modundaki bir IPsec-VPN bağlantısını değiştirirken desteklenir. BGP yapılandırması:
Not
|
{"EnableBgp":"true","LocalAsn":"45104","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"} |
| HealthCheckConfig |
string |
No |
Bu parametre, tek tünelli bir IPsec-VPN bağlantısını değiştirirken desteklenir. |
{"enable":"true","dip":"192.168.1.1","sip":"10.1.1.1","interval":"3","retry":"3","Policy": "revoke_route"} |
| AutoConfigRoute |
boolean |
No |
Rotaların otomatik olarak yapılandırılıp yapılandırılmayacağını belirtir. Geçerli değerler:
|
true |
| EnableDpd |
boolean |
No |
Bu parametre, tek tünelli bir IPsec-VPN bağlantısını değiştirirken desteklenir. Dead Peer Detection (DPD) özelliğinin etkinleştirilip etkinleştirilmeyeceğini belirtir. Geçerli değerler:
|
true |
| EnableNatTraversal |
boolean |
No |
Bu parametre, tek tünel modundaki bir IPsec-VPN bağlantısını değiştirirken desteklenir. NAT geçişinin etkinleştirilip etkinleştirilmeyeceğini belirtir. Geçerli değerler:
|
true |
| RemoteCaCert |
string |
No |
Karşı tarafın CA sertifikası. |
-----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE----- |
| ClientToken |
string |
No |
İsteğin idempotent olmasını sağlamak için kullanılan istemci belirteci. Belirteci oluşturmak için istemciyi kullanabilirsiniz, ancak belirtecin farklı istekler arasında benzersiz olduğundan emin olmalısınız. Belirteç yalnızca ASCII karakterleri içerebilir. Not
Bu parametreyi belirtmezseniz sistem otomatik olarak API isteğinin RequestId değerini ClientToken olarak kullanır. Her API isteğinin RequestId değeri farklıdır. |
123e4567-e89b-12d3-a456-4266**** |
| NetworkType |
string |
No |
IPsec-VPN bağlantısının ağ türü. Geçerli değerler:
|
public |
| CustomerGatewayId |
string |
No |
IPsec-VPN bağlantısıyla ilişkili müşteri ağ geçidi örneği. |
cgw-p0w2jemrcj5u61un8**** |
| TunnelOptionsSpecification |
array<object> |
No |
Tünel yapılandırmaları. TunnelOptionsSpecification dizisindeki parametreler yalnızca çift tünel modundaki bir IPsec-VPN bağlantısını değiştirirken desteklenir. IPsec-VPN bağlantısının her iki tünelinin yapılandırmalarını aynı anda değiştirebilirsiniz. |
|
|
array<object> |
No |
Tünel yapılandırma bilgileri. |
||
| TunnelId |
string |
No |
Tünel kimliği. |
tun-0jod7plwf2a0o9lvu**** |
| CustomerGatewayId |
string |
No |
Tünelle ilişkili müşteri ağ geçidinin kimliği. |
cgw-p0w2jemrcj5u61un8**** |
| TunnelIndex |
integer |
No |
Tünelin oluşturma sırası. |
1 |
| EnableDpd |
boolean |
No |
Tünel için Dead Peer Detection (DPD) özelliğinin etkinleştirilip etkinleştirilmeyeceğini belirtir. Geçerli değerler: |
true |
| EnableNatTraversal |
boolean |
No |
Tünel için NAT geçişinin etkinleştirilip etkinleştirilmeyeceğini belirtir. Geçerli değerler:
|
true |
| TunnelBgpConfig |
object |
No |
Tünel için BGP yapılandırmaları ekler. Not
Bu parametreyi, IPsec-VPN bağlantısı için BGP'yi etkinleştirdikten sonra (yani EnableTunnelsBgp değerini true olarak ayarladıktan sonra) yapılandırın. |
|
| LocalAsn |
integer |
No |
Tünelin Alibaba Cloud tarafındaki otonom sistem numarası (ASN). Geçerli değerler: 1 ile 4294967295 arası. Varsayılan değer: 45104. Not
Alibaba Cloud ile bir BGP bağlantısı kurmak için özel bir ASN kullanın. Özel ASN aralığı için ilgili belgelere bakın. |
65530 |
| LocalBgpIp |
string |
No |
Alibaba Cloud tarafındaki BGP adresi. Bu adres, BGP CIDR bloğu içindeki bir IP adresıdır. |
169.254.10.1 |
| TunnelCidr |
string |
No |
Tünelin BGP CIDR bloğu. CIDR bloğu, 169.254.0.0/16 içinde maske uzunluğu 30 olan bir CIDR bloğu olmalıdır ve 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30 veya 169.254.169.252/30 olamaz. |
169.254.10.0/30 |
| TunnelIkeConfig |
object |
No |
|
|
| IkeAuthAlg |
string |
No |
|
sha1 |
| IkeEncAlg |
string |
No |
|
aes |
| IkeLifetime |
integer |
No |
|
86400 |
| IkeMode |
string |
No |
IKE sürümünün anlaşma modu. Geçerli değerler: main ve aggressive.
|
main |
| IkePfs |
string |
No |
Birinci aşama anlaşmasında kullanılan Diffie-Hellman anahtar değişim algoritması. Geçerli değerler: group1, group2, group5, group14. |
group2 |
| IkeVersion |
string |
No |
IKE protokolünün sürümü. Geçerli değerler: ikev1 ve ikev2. |
ikev2 |
| LocalId |
string |
No |
Tünel için Alibaba Cloud tarafındaki tanımlayıcı, 1. Aşama anlaşması için kullanılır. Değer en fazla 100 karakter uzunluğunda olabilir ve boşluk içeremez. |
47.XX.XX.1 |
| Psk |
string |
No |
Tünel ve tünel karşı tarafı arasındaki kimlik doğrulama için kullanılan önceden paylaşılan anahtar.
Not
Tünelin ve tünel karşı tarafının önceden paylaşılan anahtarları aynı olmalıdır. Aksi takdirde tünel kurulamaz. |
123456**** |
| RemoteId |
string |
No |
Tünel karşı tarafının tanımlayıcısı, 1. Aşama anlaşması için kullanılır. Değer en fazla 100 karakter uzunluğunda olabilir ve boşluk içeremez. |
47.XX.XX.2 |
| TunnelIpsecConfig |
object |
No |
|
|
| IpsecAuthAlg |
string |
No |
Geçerli değerler: md5, sha1, sha256, sha384, sha512. |
sha1 |
| IpsecEncAlg |
string |
No |
|
aes |
| IpsecLifetime |
integer |
No |
|
86400 |
| IpsecPfs |
string |
No |
Anlaşmanın ikinci aşamasında kullanılan Diffie-Hellman anahtar değişim algoritması. Geçerli değerler: disabled, group1, group2, group5, group14. |
group2 |
| EnableTunnelsBgp |
boolean |
No |
Bu parametre, çift tünel modundaki bir IPsec-VPN bağlantısını değiştirirken desteklenir. Tünel için BGP'nin etkinleştirilip etkinleştirilmeyeceğini belirtir. Geçerli değerler: true veya false. Not
BGP yapılandırmalarını eklemeden önce, BGP dinamik yönlendirmesinin çalışma mekanizmasını ve sınırlarını anlamanızı öneririz. Daha fazla bilgi için bkz. BGP dinamik yönlendirmesini yapılandırma. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt parametreleri. |
||
| VpnConnectionId |
string |
IPsec-VPN bağlantısının kimliği. |
vco-p0w5112fgnl2ihlmf**** |
| CustomerGatewayId |
string |
IPsec-VPN bağlantısıyla ilişkili müşteri ağ geçidinin kimliği. |
cgw-p0w2jemrcj5u61un8**** |
| VpnGatewayId |
string |
IPsec-VPN bağlantısıyla ilişkili VPN ağ geçidi örneğinin kimliği. vpn-not-exist: IPsec-VPN bağlantısı bir VPN ağ geçidi örneğiyle ilişkili değil. |
vpn-not-exist |
| Name |
string |
IPsec-VPN bağlantısının adı. |
nametest |
| Description |
string |
IPsec-VPN bağlantısının açıklaması. |
desctest |
| LocalSubnet |
string |
VPC CIDR bloğu gibi, şirket içi veri merkeziyle iletişim kurması gereken Alibaba Cloud tarafındaki CIDR bloğu. |
10.1.1.0/24,10.1.2.0/24 |
| RemoteSubnet |
string |
Alibaba Cloud ile iletişim kurması gereken şirket içi veri merkezi tarafındaki CIDR bloğu. |
10.1.3.0/24,10.1.4.0/24 |
| IkeConfig |
object |
IkeConfig dizisindeki parametreler yalnızca tek tünelli moddaki IPsec-VPN bağlantıları için döndürülür. |
|
| Psk |
string |
Alibaba Cloud IPsec-VPN bağlantısı ile şirket içi veri merkezi arasındaki kimlik doğrulaması için kullanılan önceden paylaşılan anahtar. Not
IPsec-VPN bağlantısı tarafındaki önceden paylaşılan anahtar, şirket içi veri merkezi tarafındaki kimlik doğrulama anahtarıyla aynı olmalıdır. Aksi takdirde, şirket içi veri merkezi ile VPN ağ geçidi arasında bağlantı kurulamaz. |
1234*** |
| IkeVersion |
string |
IKE protokolü sürümü.
IKEv1 ile karşılaştırıldığında IKEv2, SA görüşme sürecini basitleştirir ve çoklu CIDR bloğu senaryoları için daha iyi destek sağlar. |
ikev1 |
| IkeMode |
string |
IKE görüşme modu.
|
main |
| IkeEncAlg |
string |
|
aes |
| IkeAuthAlg |
string |
|
sha1 |
| IkePfs |
string |
|
group2 |
| IkeLifetime |
integer |
|
86400 |
| LocalId |
string |
IPsec-VPN bağlantısının Alibaba Cloud tarafındaki tanımlayıcısı. |
47.XX.XX.1 |
| RemoteId |
string |
IPsec-VPN bağlantısının şirket içi veri merkezi tarafındaki tanımlayıcısı. |
47.XX.XX.2 |
| IpsecConfig |
object |
IpsecConfig dizisindeki parametreler yalnızca tek tünelli moddaki IPsec-VPN bağlantıları için döndürülür. |
|
| IpsecEncAlg |
string |
|
aes |
| IpsecAuthAlg |
string |
|
md5 |
| IpsecPfs |
string |
|
group2 |
| IpsecLifetime |
integer |
|
86400 |
| CreateTime |
integer |
IPsec-VPN bağlantısının oluşturulduğu zaman damgası. Birim: milisaniye. Zaman damgası, 1 Ocak 1970 00:00:00 (UTC) tarihinden IPsec-VPN bağlantısının oluşturulduğu zamana kadar geçen toplam milisaniye sayısını temsil eden Unix zaman damgası formatındadır. |
1658201810000 |
| EffectImmediately |
boolean |
IPsec-VPN bağlantısı yapılandırmasının hemen yürürlüğe girip girmediğini gösterir. |
false |
| Status |
string |
IPsec-VPN bağlantısının durumu.
|
ike_sa_not_established |
| VcoHealthCheck |
object |
IPsec-VPN bağlantısının sağlık kontrolü yapılandırması. VcoHealthCheck dizisindeki parametreler yalnızca tek tünelli moddaki IPsec-VPN bağlantıları için döndürülür. |
|
| Enable |
string |
IPsec-VPN bağlantısı için sağlık kontrolü özelliğinin etkin olup olmadığını gösterir. |
true |
| Sip |
string |
Sağlık kontrolünün kaynak IP adresi. |
10.1.1.1 |
| Dip |
string |
Sağlık kontrolünün hedef IP adresi. |
192.168.1.1 |
| Interval |
integer |
Sağlık kontrolünün yeniden deneme aralığı. Birim: saniye. |
3 |
| Retry |
integer |
Sağlık kontrolü için gönderilen yeniden deneme paketlerinin sayısı. |
3 |
| Policy |
string |
Sağlık kontrolü başarısız olduğunda yayımlanan rotaların geri çekilip çekilmeyeceğini belirtir.
|
revoke_route |
| EnableDpd |
boolean |
IPsec-VPN bağlantısı için Dead Peer Detection (DPD) özelliğinin etkin olup olmadığını gösterir.
Bu parametre yalnızca tek tünelli moddaki IPsec-VPN bağlantıları için döndürülür. |
true |
| EnableNatTraversal |
boolean |
IPsec-VPN bağlantısı için NAT geçişinin etkin olup olmadığını gösterir.
Bu parametre yalnızca tek tünelli moddaki IPsec-VPN bağlantıları için döndürülür. |
true |
| VpnBgpConfig |
object |
IPsec-VPN bağlantısının BGP yapılandırması. |
|
| EnableBgp |
string |
IPsec-VPN bağlantısı için BGP özelliğinin etkin olup olmadığını gösterir. |
true |
| TunnelCidr |
string |
IPsec tüneli CIDR bloğu. |
169.254.11.0/30 |
| LocalBgpIp |
string |
Alibaba Cloud tarafındaki BGP IP adresi. |
169.254.11.1 |
| PeerBgpIp |
string |
Şirket içi veri merkezi tarafındaki BGP IP adresi. |
169.254.11.2 |
| LocalAsn |
integer |
Alibaba Cloud tarafındaki otonom sistem numarası. |
45104 |
| PeerAsn |
integer |
Şirket içi veri merkezi tarafındaki otonom sistem numarası. |
65535 |
| Status |
string |
BGP görüşme durumu. |
false |
| AttachType |
string |
IPsec-VPN bağlantısıyla ilişkili kaynağın türü. |
CEN |
| NetworkType |
string |
IPsec-VPN bağlantısının ağ türü. |
public |
| AttachInstanceId |
string |
IPsec-VPN bağlantısına ekli ileri yönlendirme vRouter örneğinin ait olduğu Cloud Enterprise Network (CEN) örneğinin örnek kimliği. |
cen-c2r3m3zxkumoqz**** |
| Spec |
string |
IPsec-VPN bağlantısının bant genişliği teknik özelliği. |
1000M |
| ResourceGroupId |
string |
IPsec-VPN bağlantısının ait olduğu kaynak grubunun kimliği. Kaynak grubu bilgilerini sorgulamak için ListResourceGroups işlemini çağırabilirsiniz. ListResourceGroups |
rg-acfmzs372yg**** |
| TunnelOptionsSpecification |
array<object> |
IPsec-VPN bağlantısının tünel yapılandırması. |
|
|
array<object> |
Tünel yapılandırma bilgileri. |
||
| CustomerGatewayId |
string |
Tünelle ilişkili müşteri ağ geçidinin kimliği. |
cgw-p0w2jemrcj5u61un8**** |
| EnableDpd |
boolean |
Tünel için DPD özelliğinin etkin olup olmadığını gösterir. |
true |
| EnableNatTraversal |
boolean |
Tünel için NAT geçişi özelliğinin etkin olup olmadığını gösterir. |
true |
| InternetIp |
string |
Tünelin Alibaba Cloud tarafındaki ağ geçidi IP adresi. |
47.XX.XX.66 |
| Role |
string |
Tünelin rolü. |
master |
| TunnelId |
string |
Tünel kimliği. |
tun-0jod7plwf2a0o9lvu**** |
| TunnelIndex |
integer |
Tünelin oluşturma sırası. |
1 |
| State |
string |
Tünelin durumu.
|
active |
| TunnelBgpConfig |
object |
Tünelin BGP yapılandırması. |
|
| LocalAsn |
integer |
Tünelin yerel ucundaki (Alibaba Cloud tarafı) otonom sistem numarası. |
65530 |
| LocalBgpIp |
string |
Tünelin yerel ucundaki (Alibaba Cloud tarafı) BGP adresi. |
169.254.10.1 |
| PeerAsn |
integer |
Tünelin karşı ucundaki otonom sistem numarası. |
65531 |
| PeerBgpIp |
string |
Tünelin karşı ucundaki BGP adresi. |
169.254.10.2 |
| TunnelCidr |
string |
Tünelin BGP CIDR bloğu. |
169.254.10.0/30 |
| TunnelIkeConfig |
object |
|
|
| IkeAuthAlg |
string |
IKE aşaması için kimlik doğrulama algoritması. |
sha1 |
| IkeEncAlg |
string |
IKE aşaması için şifreleme algoritması. |
aes |
| IkeLifetime |
integer |
IKE aşaması için yaşam süresi. Birim: saniye. |
86400 |
| IkeMode |
string |
IKE sürümünün görüşme modu. Geçerli değerler: |
main |
| IkePfs |
string |
IKE aşaması için DH grubu. |
group2 |
| IkeVersion |
string |
IKE protokolü sürümü. |
ikev2 |
| LocalId |
string |
Tünelin yerel ucundaki (Alibaba Cloud tarafı) tanımlayıcı. |
47.XX.XX.1 |
| Psk |
string |
Önceden paylaşılan anahtar. |
123456**** |
| RemoteId |
string |
Tünelin karşı ucundaki tanımlayıcı. |
47.XX.XX.2 |
| TunnelIpsecConfig |
object |
|
|
| IpsecAuthAlg |
string |
IPsec aşaması için kimlik doğrulama algoritması. |
sha1 |
| IpsecEncAlg |
string |
IPsec aşaması için şifreleme algoritması. |
aes |
| IpsecLifetime |
integer |
IPsec aşaması için yaşam süresi. Birim: saniye. |
86400 |
| IpsecPfs |
string |
IPsec aşaması için DH grubu. |
group2 |
| EnableTunnelsBgp |
boolean |
Tünelin BGP durumu.
Bu parametre yalnızca çift tünel modundaki IPsec-VPN bağlantıları için döndürülür. |
false |
| RequestId |
string |
İstek kimliği. |
35822A84-867F-3936-A2E6-A4C4E3ED11C0 |
Examples
Success response
JSON format
{
"VpnConnectionId": "vco-p0w5112fgnl2ihlmf****",
"CustomerGatewayId": "cgw-p0w2jemrcj5u61un8****",
"VpnGatewayId": "vpn-not-exist",
"Name": "nametest",
"Description": "desctest",
"LocalSubnet": "10.1.1.0/24,10.1.2.0/24",
"RemoteSubnet": "10.1.3.0/24,10.1.4.0/24",
"IkeConfig": {
"Psk": "1234***",
"IkeVersion": "ikev1",
"IkeMode": "main",
"IkeEncAlg": "aes",
"IkeAuthAlg": "sha1",
"IkePfs": "group2",
"IkeLifetime": 86400,
"LocalId": "47.XX.XX.1",
"RemoteId": "47.XX.XX.2"
},
"IpsecConfig": {
"IpsecEncAlg": "aes",
"IpsecAuthAlg": "md5",
"IpsecPfs": "group2",
"IpsecLifetime": 86400
},
"CreateTime": 1658201810000,
"EffectImmediately": false,
"Status": "ike_sa_not_established",
"VcoHealthCheck": {
"Enable": "true",
"Sip": "10.1.1.1",
"Dip": "192.168.1.1",
"Interval": 3,
"Retry": 3,
"Policy": "revoke_route"
},
"EnableDpd": true,
"EnableNatTraversal": true,
"VpnBgpConfig": {
"EnableBgp": "true",
"TunnelCidr": "169.254.11.0/30",
"LocalBgpIp": "169.254.11.1",
"PeerBgpIp": "169.254.11.2",
"LocalAsn": 45104,
"PeerAsn": 65535,
"Status": "false"
},
"AttachType": "CEN",
"NetworkType": "public",
"AttachInstanceId": "cen-c2r3m3zxkumoqz****",
"Spec": "1000M",
"ResourceGroupId": "rg-acfmzs372yg****",
"TunnelOptionsSpecification": [
{
"CustomerGatewayId": "cgw-p0w2jemrcj5u61un8****",
"EnableDpd": true,
"EnableNatTraversal": true,
"InternetIp": "47.XX.XX.66",
"Role": "master",
"TunnelId": "tun-0jod7plwf2a0o9lvu****",
"TunnelIndex": 1,
"State": "active",
"TunnelBgpConfig": {
"LocalAsn": 65530,
"LocalBgpIp": "169.254.10.1",
"PeerAsn": 65531,
"PeerBgpIp": "169.254.10.2",
"TunnelCidr": "169.254.10.0/30"
},
"TunnelIkeConfig": {
"IkeAuthAlg": "sha1",
"IkeEncAlg": "aes",
"IkeLifetime": 86400,
"IkeMode": "main",
"IkePfs": "group2",
"IkeVersion": "ikev2",
"LocalId": "47.XX.XX.1",
"Psk": "123456****",
"RemoteId": "47.XX.XX.2"
},
"TunnelIpsecConfig": {
"IpsecAuthAlg": "sha1",
"IpsecEncAlg": "aes",
"IpsecLifetime": 86400,
"IpsecPfs": "group2"
}
}
],
"EnableTunnelsBgp": false,
"RequestId": "35822A84-867F-3936-A2E6-A4C4E3ED11C0"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | VpnConnection.Configuring | The specified service is configuring. | The service is being configured. Try again later. |
| 400 | VpnConnection.FinancialLocked | The specified service is financial locked. | The error message returned because the service is locked due to overdue payments. |
| 400 | InvalidName | The name is not valid | |
| 400 | VpnRouteEntry.AlreadyExists | The specified route entry is already exist. | The route already exists. |
| 400 | VpnRouteEntry.Conflict | The specified route entry has conflict. | Route conflicts exist. |
| 400 | NotSupportVpnConnectionParameter.IpsecPfs | The specified vpn connection ipsec Ipsec Pfs is not support. | The PFS parameter set for the IPsec-VPN connection is not supported. |
| 400 | NotSupportVpnConnectionParameter.IpsecAuthAlg | The specified vpn connection ipsec Auth Alg is not support. | The authentication algorithm specified for the IPsec-VPN connection is not supported. |
| 400 | VpnRouteEntry.BackupRoute | Validate backup route entry failed. | Active/standby routes failed authentication. |
| 400 | VpnRouteEntry.InvalidWeight | Invalid route entry weight value. | The weight specified for the route is invalid. |
| 400 | MissingParameter.TunnelCidr | The parameter TunnelCidr is mandatory when BGP is enabled. | You must specify the tunnel CIDR block when you enable BGP. |
| 400 | OperationUnsupported.EnableBgp | Current region does not support enable BGP. | The error message returned because the current region does not support BGP. |
| 400 | MissingParam.CustomerGatewayAsn | Asn of customer gateway is mandatory when BGP is enabled. | The ASN of the customer gateway cannot be empty when you enable BGP. |
| 400 | IllegalParam.LocalAsn | The specified LocalAsn is invalid. | The local ASN is invalid. |
| 400 | IllegalParam.BgpConfig | The specified BgpConfig is invalid. | The BGP configuration is invalid. |
| 400 | IllegalParam.EnableBgp | VPN connection must enable BGP when VPN gateway has enabled BGP. | The error message returned because the VPN connection must use BGP if BGP is enabled for the VPN gateway. |
| 400 | IllegalParam.TunnelCidr | The specified TunnelCidr is invalid. | The TunnelCidr parameter is set to an invalid value. |
| 400 | InvalidLocalBgpIp.Malformed | The specified LocalBgpIp is malformed. | The local BGP IP address is in an abnormal state. |
| 400 | IllegalParam.LocalBgpIp | The specified LocalBgpIp is invalid. | The local BGP IP address is invalid. |
| 400 | IllegalParam.LocalSubnet | The specified "LocalSubnet" (%s) is invalid. | The specified "LocalSubnet" (%s) is invalid. |
| 400 | IllegalParam.RemoteSubnet | The specified "RemoteSubnet" (%s) is invalid. | The specified "RemoteSubnet" (%s) is invalid. |
| 400 | CustomerGateway.ConflictRouteEntry | The specified customer gateway has conflict with route entry. | The customer gateway conflicts with the current routes. |
| 400 | IllegalParam.NetworkType | The specified NetworkType (%s) is invalid. | The network type is invalid. |
| 400 | InvalidTunnelCidr.Malformed | The specified TunnelCidr is malformed. | The specified tunnel CIDR block is invalid. |
| 400 | VpnGateway.Configuring | The specified service is configuring. | |
| 400 | VpnTask.CONFLICT | Vpn task has conflict. | The VPN operation conflicts. Try again later. |
| 400 | ModifyIkeV1WithMultiRoutes.Invalid | Failed to modify VPN connection parameters. Multi-network is configured while using IkeV1 protocol. | Failed to modify VPN connection parameters. Multi-network is configured while using IkeV1 protocol. |
| 400 | InvalidVpnGatewayInstanceId.NotFound | The specified vpn gateway instance id does not exist. | The specified VPN gateway does not exist. Check whether the specified VPN gateway is valid. |
| 400 | Resource.QuotaFull | The resources you are operating have reached the upper limit of the quota. Please increase the quota or use other solutions to avoid it according to the VPN operation document. | The resources you are operating have reached the upper limit of the quota. Please refer to the VPN operation document to increase the quota or use other schemes to avoid it. |
| 400 | CreateDbrRoutesQuotaFull.QuotaFull | The number of created destination routes exceeds the quota limit. | The number of created destination routes exceeds the quota limit. |
| 400 | CreatePbrRoutesQuotaFull.QuotaFull | The number of policy routes exceeds the quota limit. | The number of policy routes exceeds the quota limit. |
| 400 | EncAlgInvalid.DesIncompatible | Des/3des in IkeEncAlg and IpsecEncAlg does not support multi algorithm. | Des/3des in IkeEncAlg and IpsecEncAlg does not support multi algorithm. |
| 400 | IkeVersionInvalid.GcmIncompatible | Ikev1 does not support IkeEncAlg of gcm16. | Ikev1 does not support IkeEncAlg of gcm16. |
| 400 | CustomerGateway.ConflictVpnIp | The specified customer gateway has conflict with vpn gateway ip. | The specified customer gateway has conflict with vpn gateway ip. |
| 400 | CustomerGateway.AsnNotConfigured | ASN of CustomerGateway is required when enabling BGP on an IPSec connection. | When BGP is enabled for IPSec connection, ASN needs to be configured on the customer gateway. |
| 403 | Forbbiden.SubUser | User not authorized to operate on the specified resource as your account is created by another user. | |
| 403 | Forbidden | User not authorized to operate on the specified resource. | You do not have the permissions to manage the specified resource. Apply for the permissions and try again. |
| 404 | InvalidVpnConnectionInstanceId.NotFound | The specified vpn connection instance id does not exist. | The specified vpn connection instance id does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.