Mengubah atribut layanan titik akhir.
Deskripsi operasi
Sebelum Anda mengubah atribut layanan titik akhir, pastikan layanan titik akhir berada dalam status Active. Anda dapat memanggil operasi GetVpcEndpointServiceAttribute untuk mengkueri status layanan titik akhir.
Operasi UpdateVpcEndpointServiceAttribute tidak mendukung modifikasi atribut layanan titik akhir secara bersamaan dalam satu akun Alibaba Cloud.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:UpdateVpcEndpointServiceAttribute |
update |
*VpcEndpointService
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah 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 menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan token tersebut unik di antara permintaan yang berbeda. Parameter ClientToken hanya mendukung karakter ASCII. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run saja, tanpa menjalankan permintaan aktual. Nilai 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 |
Apakah akan menerima koneksi Titik akhir secara otomatis. Nilai valid:
|
false |
| ConnectBandwidth |
integer |
No |
Batas bandwidth default. Nilai default: 3072. Unit: Mbit/s. Nilai valid: 100 hingga 10240. Catatan
Pengaturan untuk batas bandwidth default didukung ketika sumber daya layanan adalah instans Classic Load Balancer (CLB) atau instans Application Load Balancer (ALB). Ketika sumber daya layanan adalah instans Network Load Balancer (NLB), bandwidth koneksi tidak dapat dikonfigurasi. |
3072 |
| ZoneAffinityEnabled |
boolean |
No |
Apakah akan resolve nama domain endpoint yang terhubung ke layanan titik akhir ke titik akses terdekat. Nilai valid:
|
true |
| RegionId |
string |
Yes |
ID wilayah layanan titik akhir. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
ServiceSupportIPv6
deprecated
|
boolean |
No |
Apakah layanan titik akhir mendukung IPv6. Nilai valid:
|
false |
| AddressIpVersion |
string |
No |
Versi protokol. Nilai valid:
Catatan
Saat ini, hanya layanan titik akhir yang tipe Sumber daya backend-nya adalah NLB atau GWLB yang mendukung pengaturan protokol alamat IP ke DualStack. |
IPv4 |
| AddSupportedRegionSet |
array |
No |
Daftar wilayah jarak jauh yang akan ditambahkan untuk layanan titik akhir. |
|
|
string |
No |
ID wilayah jarak jauh yang akan ditambahkan untuk layanan titik akhir. |
cn-huhehaote |
|
| DeleteSupportedRegionSet |
array |
No |
Daftar wilayah jarak jauh yang akan dihapus dari layanan titik akhir. |
|
|
string |
No |
ID wilayah jarak jauh yang akan dihapus dari layanan titik akhir. |
cn-beijing |
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.