Operasi UpdateVpcEndpointServiceAttribute mengubah atribut suatu endpoint service.
Deskripsi operasi
Sebelum mengubah atribut endpoint service, pastikan endpoint service berada dalam status Active. Anda dapat memanggil operasi GetVpcEndpointServiceAttribute untuk memeriksa status endpoint service tersebut.
Operasi UpdateVpcEndpointServiceAttribute tidak mendukung modifikasi atribut endpoint service secara bersamaan dalam satu Akun Alibaba Cloud yang sama.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat endpoint service dideploy. Panggil operasi DescribeRegions untuk mendapatkan ID wilayah tersebut. |
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. ClientToken hanya boleh berisi karakter ASCII. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| ServiceId |
string |
Yes |
ID dari endpoint service. |
epsrv-hp3vpx8yqxblby3i**** |
| ServiceDescription |
string |
No |
Deskripsi dari endpoint service. |
This is my EndpointService. |
| AutoAcceptEnabled |
boolean |
No |
Menentukan apakah koneksi titik akhir diterima secara otomatis. Nilai yang valid:
|
false |
| ConnectBandwidth |
integer |
No |
Bandwidth maksimum default koneksi. Nilai default: 3072. Satuan: Mbit/s. Nilai yang valid: 100 hingga 10240. Catatan
Anda hanya dapat mengatur bandwidth maksimum default ketika sumber daya layanan berupa Classic Load Balancer (CLB) atau Application Load Balancer (ALB). Anda tidak dapat mengatur bandwidth koneksi ketika sumber daya layanan berupa Network Load Balancer (NLB). |
3072 |
| ZoneAffinityEnabled |
boolean |
No |
Menentukan apakah nama domain endpoint service diselesaikan ke titik akhir terdekat. Nilai yang valid:
|
true |
| RegionId |
string |
Yes |
ID wilayah tempat endpoint service dideploy. Panggil operasi DescribeRegions untuk mendapatkan ID wilayah tersebut. |
cn-hangzhou |
ServiceSupportIPv6
deprecated
|
boolean |
No |
Menentukan apakah endpoint service mendukung IPv6. Nilai yang valid:
|
false |
| AddressIpVersion |
string |
No |
Versi IP. Nilai yang valid:
Catatan
Hanya endpoint service yang menggunakan NLB atau Gateway Load Balancer (GWLB) sebagai sumber daya layanan yang mendukung versi IP DualStack. Valid values:
|
IPv4 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
ID permintaan. |
||
| 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.