調(diào)用GetVpcEndpointAttribute接口,獲取終端節(jié)點(diǎn)屬性信息。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
授權(quán)信息
下表是API對(duì)應(yīng)的授權(quán)信息,可以在RAM權(quán)限策略語(yǔ)句的Action
元素中使用,用來(lái)給RAM用戶或RAM角色授予調(diào)用此API的權(quán)限。具體說(shuō)明如下:
- 操作:是指具體的權(quán)限點(diǎn)。
- 訪問(wèn)級(jí)別:是指每個(gè)操作的訪問(wèn)級(jí)別,取值為寫入(Write)、讀取(Read)或列出(List)。
- 資源類型:是指操作中支持授權(quán)的資源類型。具體說(shuō)明如下:
- 對(duì)于必選的資源類型,用背景高亮的方式表示。
- 對(duì)于不支持資源級(jí)授權(quán)的操作,用
全部資源
表示。
- 條件關(guān)鍵字:是指云產(chǎn)品自身定義的條件關(guān)鍵字。
- 關(guān)聯(lián)操作:是指成功執(zhí)行操作所需要的其他權(quán)限。操作者必須同時(shí)具備關(guān)聯(lián)操作的權(quán)限,操作才能成功。
操作 | 訪問(wèn)級(jí)別 | 資源類型 | 條件關(guān)鍵字 | 關(guān)聯(lián)操作 |
---|---|---|---|---|
privatelink:GetVpcEndpointAttribute | get |
|
| 無(wú) |
請(qǐng)求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
RegionId | string | 是 | 獲取屬性信息的終端節(jié)點(diǎn)所屬的地域 ID。 您可以通過(guò)調(diào)用 DescribeRegions 接口獲取地域 ID。 | cn-huhehaote |
EndpointId | string | 是 | 獲取屬性信息的終端節(jié)點(diǎn) ID。 | ep-hp33b2e43fays7s8**** |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"Payer": "Endpoint",
"EndpointDomain": "ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com",
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B",
"CreateTime": "2021-09-24T18:00:07Z",
"ResourceOwner": true,
"EndpointBusinessStatus": "Normal",
"EndpointDescription": "This is my Endpoint.",
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"EndpointStatus": "Active",
"VpcId": "vpc-fdfhkjafhjvcvdjf****",
"EndpointName": "test",
"ZonePrivateIpAddressCount": 1,
"EndpointType": "Interface",
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****",
"Bandwidth": 1024,
"EndpointId": "ep-hp33b2e43fays7s8****",
"RegionId": "cn-huhehaote",
"ConnectionStatus": "Connected",
"ZoneAffinityEnabled": true,
"ResourceGroupId": "rg-acfmz7nocpei***",
"PolicyDocument": "{\n \"Version\": \"1\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": [\n \"oss:List*\",\n \"oss:PutObject\",\n \"oss:GetObject\"\n ],\n \"Resource\": [\n \"acs:oss:oss-*:*:pvl-policy-test/policy-test.txt\"\n ],\n \"Principal\": {\n \"RAM\": [\n \"acs:ram::14199xxxxxx:*\"\n ]\n }\n }\n ]\n}",
"AddressIpVersion": ""
}
錯(cuò)誤碼
HTTP status code | 錯(cuò)誤碼 | 錯(cuò)誤信息 | 描述 |
---|---|---|---|
400 | EndpointNotFound | The specified Endpoint does not exist. | 當(dāng)前終端節(jié)點(diǎn)未找到。 |
400 | EndpointConnectionNotFound | The specified endpoint connection does not exist. | 當(dāng)前終端節(jié)點(diǎn)連接未找到。 |
訪問(wèn)錯(cuò)誤中心查看更多錯(cuò)誤碼。
變更歷史
變更時(shí)間 | 變更內(nèi)容概要 | 操作 |
---|---|---|
2024-09-12 | OpenAPI 錯(cuò)誤碼發(fā)生變更、OpenAPI 返回結(jié)構(gòu)發(fā)生變更 | 查看變更詳情 |
2024-05-10 | OpenAPI 錯(cuò)誤碼發(fā)生變更、OpenAPI 返回結(jié)構(gòu)發(fā)生變更 | 查看變更詳情 |
2023-09-26 | OpenAPI 錯(cuò)誤碼發(fā)生變更、OpenAPI 返回結(jié)構(gòu)發(fā)生變更 | 查看變更詳情 |
2023-09-05 | OpenAPI 錯(cuò)誤碼發(fā)生變更、OpenAPI 返回結(jié)構(gòu)發(fā)生變更 | 查看變更詳情 |
2023-01-04 | OpenAPI 錯(cuò)誤碼發(fā)生變更 | 查看變更詳情 |
2022-09-20 | OpenAPI 錯(cuò)誤碼發(fā)生變更、OpenAPI 返回結(jié)構(gòu)發(fā)生變更 | 查看變更詳情 |