Memodifikasi atribut layanan titik akhir.
Deskripsi operasi
Anda tidak dapat memanggil operasi UpdateVpcEndpointServiceAttribute secara berulang untuk memodifikasi atribut layanan titik akhir yang dimiliki oleh Akun Alibaba Cloud dalam periode waktu tertentu.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah dari layanan titik akhir. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menghasilkan token ini di sisi klien, tetapi harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
No |
Menentukan apakah hanya menjalankan dry run tanpa melakukan permintaan sebenarnya. Nilai yang valid:
|
false |
| ServiceId |
string |
Yes |
ID layanan titik akhir. |
epsrv-hp3vpx8yqxblby3i**** |
| ServiceDescription |
string |
No |
Deskripsi layanan titik akhir. |
This is my EndpointService. |
| AutoAcceptEnabled |
boolean |
No |
Menentukan apakah permintaan koneksi titik akhir diterima secara otomatis. Nilai yang valid:
|
false |
| ConnectBandwidth |
integer |
No |
Bandwidth maksimum default untuk koneksi titik akhir. Satuan: Mbit/s. Nilai default: 3072. Nilai yang valid: 100 hingga 10240. Catatan
Anda hanya dapat menentukan parameter ini jika Anda menentukan instans Classic Load Balancer (CLB) atau instans Application Load Balancer (ALB) sebagai sumber daya layanan. |
200 |
| ZoneAffinityEnabled |
boolean |
No |
Menentukan apakah nama domain titik akhir terdekat yang terkait dengan layanan titik akhir diselesaikan terlebih dahulu. Nilai yang valid:
|
true |
| RegionId |
string |
Yes |
ID wilayah dari layanan titik akhir. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
ServiceSupportIPv6
deprecated
|
boolean |
No |
Menentukan apakah IPv6 diaktifkan. Nilai yang valid:
|
false |
| AddressIpVersion |
string |
No |
Protokol. Nilai yang valid:
Catatan
Anda hanya dapat mengatur protokol ke DualStack untuk layanan titik akhir yang tipe sumber daya backend-nya adalah NLB. Valid values:
|
IPv4 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | |
| 400 | EndpointServiceLocked | The specified Service is locked. | |
| 400 | EndpointServiceOperationDenied | The specified operation of endpoint service is not allowed. | |
| 400 | IllegalParamFormat.%s | The param format of %s is illegal. | |
| 400 | OperationDenied.PrivateServiceDomainBusinessStatus | The operation is not allowed because of PrivateServiceDomainBusinessStatus. | |
| 400 | MissingParam.%s | The param of %s is missing. | |
| 400 | ServiceResourceNotSupportIpv6 | The resource is not support ipv6. | |
| 400 | EndpointServiceDowngradeNotAllowed | The EndpointService is not allowed for downgrade. | |
| 400 | DependencyViolation.PrivateDnsName | The specified resource of %s depends on %s, so the operation cannot be completed. | |
| 400 | OperationDenied.PrivateDomainNotSupport | The operation is not allowed because of PrivateDomainNotSupport. | |
| 400 | OperationDenied.PrivateDomainStatusNotSupport | The operation is not allowed because of %s. | |
| 400 | Conflict.ServiceName | The ServiceName %s is conflict. | |
| 400 | InvalidParam.PrivateDnsName | The parameter of PrivateDnsName is illegal, which needs to end with aliyun.com, aliyun-inc.com, or aliyuncs.com. | |
| 400 | OperationDenied.ResourceTypeNotSupportDualStack | The specified resource type does not support dualstack. | |
| 400 | OperationDenied.ServiceResourceIpVersionMismatch | The endpoint service and service resource AddressIpVersion do not match. | |
| 400 | EndpointServiceConnectionDependence | There are connections between the endpoint service and the dualstack endpoint, the endpoint service address ip version not support switching from dualstack to ipv4. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.