調用GetVpcEndpointServiceAttribute介面,擷取終端節點服務屬性資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
privatelink:GetVpcEndpointServiceAttribute |
get |
*VpcEndpointService
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
終端節點服務所屬的地區 ID。 您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-huhehaote |
| ServiceId |
string |
是 |
終端節點服務的 ID。 |
epsrv-hp3vpx8yqxblby3i**** |
| RegionId |
string |
是 |
終端節點服務所屬的地區 ID。 您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-huhehaote |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Payer |
string |
付費方,取值:
|
Endpoint |
| RequestId |
string |
請求 ID。 |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
| ServiceDescription |
string |
終端節點服務的描述資訊。 |
This is my EndpointService. |
| CreateTime |
string |
終端節點服務的建立時間。 |
2020-01-02T19:11:12Z |
| MaxBandwidth |
integer |
終端節點串連的最大頻寬。單位:Mbps。 |
1024 |
| MinBandwidth |
integer |
終端節點串連的最小頻寬。單位:Mbps。 |
100 |
| ServiceDomain |
string |
終端節點服務的服務網域名稱。 |
epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com |
| AutoAcceptEnabled |
boolean |
是否自動接受終端節點串連,取值:
|
true |
| ZoneAffinityEnabled |
boolean |
是否支援串連服務的終端節點網域名稱就近解析。取值:
|
true |
| ServiceId |
string |
終端節點服務的 ID。 |
epsrv-hp3vpx8yqxblby3i**** |
| Zones |
array |
服務資源所屬的可用性區域列表。 |
|
|
string |
服務資源所屬的可用性區域。 |
cn-huhehaote-b |
|
| ServiceBusinessStatus |
string |
終端節點服務的業務狀態,取值:
|
Normal |
| ServiceName |
string |
終端節點服務的名稱。 |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
| ServiceStatus |
string |
終端節點服務的狀態,取值:
|
Active |
| ConnectBandwidth |
integer |
預設串連頻寬峰值。單位:Mbps。取值範圍:100~10240。 |
3072 |
| RegionId |
string |
終端節點服務所屬的地區。 |
cn-huhehaote |
| ServiceType |
string |
終端節點類型。
|
Interface |
| ServiceResourceType |
string |
服務資源類型,取值:
|
slb |
ServiceSupportIPv6
deprecated
|
boolean |
終端節點服務是否支援 IPv6 功能。取值:
|
false |
| ResourceGroupId |
string |
資源群組 ID。 |
rg-acfmy***** |
| AddressIpVersion |
string |
協議版本。取值:
|
IPv4 |
| SupportedRegionSet |
array<object> |
||
|
object |
|||
| ServiceRegionId |
string |
||
| RegionServiceStatus |
string |
||
| RegionBusinessStatus |
string |
樣本
正常返回樣本
JSON格式
{
"Payer": "Endpoint",
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B",
"ServiceDescription": "This is my EndpointService.",
"CreateTime": "2020-01-02T19:11:12Z",
"MaxBandwidth": 1024,
"MinBandwidth": 100,
"ServiceDomain": "epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com",
"AutoAcceptEnabled": true,
"ZoneAffinityEnabled": true,
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"Zones": [
"cn-huhehaote-b"
],
"ServiceBusinessStatus": "Normal",
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****",
"ServiceStatus": "Active",
"ConnectBandwidth": 3072,
"RegionId": "cn-huhehaote",
"ServiceType": "Interface",
"ServiceResourceType": "slb",
"ServiceSupportIPv6": false,
"ResourceGroupId": "rg-acfmy*****",
"AddressIpVersion": "IPv4",
"SupportedRegionSet": [
{
"ServiceRegionId": "",
"RegionServiceStatus": "",
"RegionBusinessStatus": ""
}
]
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | 當前終端節點服務不存在 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。