調用UpdateVpcEndpointServiceAttribute介面,修改終端節點服務的屬性。
介面說明
修改終端節點服務的屬性之前,請確保終端節點服務處於 Active 狀態,您可以通過調用 GetVpcEndpointServiceAttribute 介面,查詢終端節點服務狀態。
UpdateVpcEndpointServiceAttribute 介面不支援在同一個阿里雲帳號(主帳號)下並發修改終端節點服務的屬性。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
privatelink:UpdateVpcEndpointServiceAttribute |
update |
*VpcEndpointService
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
終端節點服務所在的地區 ID。 您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-hangzhou |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
否 |
是否只預檢此次請求,取值:
|
false |
| ServiceId |
string |
是 |
終端節點服務的 ID。 |
epsrv-hp3vpx8yqxblby3i**** |
| ServiceDescription |
string |
否 |
終端節點服務的描述資訊。 |
This is my EndpointService. |
| AutoAcceptEnabled |
boolean |
否 |
是否自動接受終端節點串連,取值:
|
false |
| ConnectBandwidth |
integer |
否 |
預設串連頻寬峰值。預設值:3072。單位:Mbps。 取值範圍:100~10240。 說明
當服務資源為傳統型負載平衡 CLB 或應用型負載平衡 ALB 時,支援設定預設串連頻寬峰值;當服務資源為網路型負載平衡 NLB 時,不支援設定串連頻寬。 |
3072 |
| ZoneAffinityEnabled |
boolean |
否 |
是否支援串連服務的終端節點網域名稱就近解析。取值:
|
true |
| RegionId |
string |
是 |
終端節點服務所在的地區 ID。 您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-hangzhou |
ServiceSupportIPv6
deprecated
|
boolean |
否 |
終端節點服務是否支援 IPv6 功能。取值:
|
false |
| AddressIpVersion |
string |
否 |
協議版本。取值:
說明
目前僅後端資源類型為 nlb、gwlb 的終端節點服務支援指定 IP 位址協議為 DualStack。 枚舉值:
|
IPv4 |
| AddSupportedRegionSet |
array |
否 |
||
|
string |
否 |
|||
| DeleteSupportedRegionSet |
array |
否 |
||
|
string |
否 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
請求 ID。 |
||
| RequestId |
string |
請求 ID。 |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
樣本
正常返回樣本
JSON格式
{
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 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. | 指定的%s格式無效。請檢查參數約束,並在修改後重試。 |
| 400 | OperationDenied.PrivateServiceDomainBusinessStatus | The operation is not allowed because of PrivateServiceDomainBusinessStatus. | |
| 400 | MissingParam.%s | The param of %s is missing. | 參數%s缺失。 |
| 400 | ServiceResourceNotSupportIpv6 | The resource is not support ipv6. | 終端節點服務不支援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. | 資源%s依賴於%s,導致操作無法完成 |
| 400 | OperationDenied.PrivateDomainNotSupport | The operation is not allowed because of PrivateDomainNotSupport. | 由於%s,操作不支援 |
| 400 | OperationDenied.PrivateDomainStatusNotSupport | The operation is not allowed because of %s. | 由於%s,操作不支援 |
| 400 | Conflict.ServiceName | The ServiceName %s is conflict. | 服務名稱%s衝突 |
| 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. | 終端節點服務與後端資源AddressIpVersion不匹配 |
| 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. | 終端節點服務與雙棧終端節點之間存在串連,不支援雙棧切到單棧。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。