Operasi UpdateVpcEndpointAttribute mengubah properti suatu endpoint.
Deskripsi operasi
Operasi UpdateVpcEndpointAttribute tidak mendukung panggilan konkuren untuk mengubah properti endpoint dalam Akun Alibaba Cloud yang sama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:UpdateVpcEndpointAttribute |
update |
*VpcEndpoint
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat endpoint dideploy. Panggil operasi DescribeRegions untuk memperoleh ID wilayah. |
eu-west-1 |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Hasilkan nilai untuk parameter ini di sisi klien Anda agar nilainya unik di antara permintaan yang berbeda. ClientToken hanya boleh berisi karakter ASCII. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
true |
| EndpointId |
string |
Yes |
ID endpoint yang ingin Anda ubah. |
ep-hp33b2e43fays7s8**** |
| EndpointName |
string |
No |
Nama endpoint. Nama harus terdiri dari 2 hingga 128 karakter, dimulai dengan huruf atau karakter Tionghoa, serta dapat berisi angka, tanda hubung (-), dan garis bawah (_). |
test |
| EndpointDescription |
string |
No |
Deskripsi endpoint. Deskripsi harus terdiri dari 2 hingga 256 karakter dan tidak boleh dimulai dengan |
This is my Endpoint. |
| RegionId |
string |
Yes |
ID wilayah tempat endpoint dideploy. Panggil operasi DescribeRegions untuk memperoleh ID wilayah. |
eu-west-1 |
| PolicyDocument |
string |
No |
Kebijakan akses RAM. Untuk informasi selengkapnya tentang cara mendefinisikan kebijakan, lihat Basic elements of a RAM policy. |
{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": [ "oss:List*", "oss:PutObject", "oss:GetObject" ], "Resource": [ "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt" ], "Principal": { "RAM": [ "acs:ram::14199xxxxxx:*" ] } } ] } |
| AddressIpVersion |
string |
No |
Versi protokol. Nilai yang valid:
Catatan
Untuk menggunakan fitur dual-stack, layanan endpoint terkait dan VPC tempat endpoint dideploy juga harus mendukung fitur dual-stack. Valid values:
|
IPv4 |
| ZoneAffinityEnabled |
boolean |
No |
||
| ResetPolicy |
boolean |
No |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationDenied.EndpointProtected | The operation is not allowed because of EndpointProtected. | |
| 400 | EndpointNotFound | The specified Endpoint does not exist. | |
| 400 | EndpointOperationDenied | The specified operation of endpoint is not allowed. | |
| 400 | EndpointLocked | The specified Endpoint is locked. | |
| 400 | EndpointConnectionOperationDenied | The endpoint is being connected. | |
| 400 | EndpointServiceDeleted | The specified Service is already deleted. | |
| 400 | EndpointProtected | The specified Endpoint is protected. | |
| 400 | OperationDenied.EndpointPolicyNotSupport | The operation is not allowed because of EndpointPolicyNotSupport. | |
| 400 | DependencyViolation.PrivateDnsName | The specified resource of %s depends on %s, so the operation cannot be completed. | |
| 400 | OperationDenied.PrivateDomainStatusNotSupport | The operation is not allowed because of %s. | |
| 400 | OperationDenied.PrivateDomainNotSupport | The operation is not allowed because of PrivateDomainNotSupport. | |
| 400 | OperationDenied.NotSupportDualStackSwitchToIpv4 | AddressIpVersion does not support switching from DualStack to IPv4. | |
| 400 | OperationDenied.EndpointServiceNotSupportDualstack | The specified endpoint service does not support dualstack. | |
| 400 | OperationDenied.VSwitchNotSupportDualstack | The specified VSwitch does not support dualstack. | |
| 400 | IllegalParam.AddressIpVersion | The specified parameter AddressIpVersion is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.