You need to enable JavaScript to run this app.
导航

DescribeVpcGatewayEndpointServices

最近更新时间2024.04.22 16:36:18

首次发布时间2023.07.07 09:56:29

调用DescribeVpcGatewayEndpointServices接口,查询满足指定条件的网关终端节点服务列表。

调试

请求参数

名称类型是否必选示例值描述
ActionStringDescribeVpcGatewayEndpointServices要执行的操作,取值为DescribeVpcGatewayEndpointServices。
VersionString2020-04-01API版本信息,当前版本为2020-04-01。
PageNumberInteger1列表的页码。默认值为1。
PageSizeInteger10分页查询时每页的行数。最大值为100,默认值为10。
ProjectNameStringdefault网关终端节点服务所属项目的名称。

返回数据

名称类型示例值描述
RequestIdString0ED8D006-F706-4D23-88ED-E11ED28D****请求ID。
PageNumberInteger1当前页码。
PageSizeInteger10当前分页的行数。
TotalCountInteger2符合条件的网关终端节点服务总数。
VpcGatewayEndpointServicesArray of Struct-网关终端节点服务的详细信息。具体请参见下表“VpcGatewayEndpointServices”。

VpcGatewayEndpointServices

名称类型示例值说明
ServiceIdStringgwepsvc-2fe630gurkl37k5gfuy33****网关终端节点服务的ID。
ServiceNameStringcom.volces.privatelink.cn-guangzhou.gwepsvc-2fe630gurkl37k5gfuy33****网关终端节点服务的名称。
DescriptionStringendpoint service网关终端节点服务的描述信息。
CreationTimeString2021-07-20T03:32:32+08:00网关终端节点服务的创建时间。
UpdateTimeString2021-07-20T03:32:32+08:00网关终端节点服务的最近操作时间。

Status

String

Available

网关终端节点服务的状态。

  • Creating:创建中。
  • Pending:配置修改中。
  • Available:可用。
  • Deleting:删除中。
  • Inactive:不可用。

请求示例

GET /?Action=DescribeVpcGatewayEndpointServices&Version=2020-04-01&ProjectName=default HTTP/1.1
Host: open.volcengineapi.com
Service: privatelink
Region: cn-guangzhou

返回示例

{
    "ResponseMetadata": {
        "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****",
        "Action": "DescribeVpcGatewayEndpointServices",
        "Version": "2020-04-01",
        "Service": "privatelink",
        "Region": "cn-guangzhou"
    },
    "Result": {
        "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****",
        "PageNumber": 1,
        "PageSize": 10,
        "TotalCount": 2,  
        "VpcGatewayEndpointServices": [
            {
                "ServiceId": "gwepsvc-2fe630gurkl37k5gfuy33****",
                "ServiceName": "com.volces.privatelink.cn-guangzhou.gwepsvc-2fe630gurkl37k5gfuy33****",
                "Description": "",
                "CreationTime": "2021-07-20T03:32:32+08:00",
                "UpdateTime": "2021-07-20T03:32:32+08:00",
                "Status": "Available"
            },
            {
                "ServiceId": "gwepsvc-2fe630gurkl58k5gfuy26****",
                "ServiceName": "com.volces.privatelink.cn-guangzhou.gwepsvc-2fe630gurkl58k5gfuy26****",
                "Description": "",
                "CreationTime": "2021-10-20T03:32:32+08:00",
                "UpdateTime": "2021-10-20T03:32:32+08:00",
                "Status": "Available"
            }
        ]
    }
}

错误码

此处仅展示当前API的错误码,更多错误码请参见公共错误码

HttpCode错误码错误信息描述
400InvalidName.MalformedThe specified Name is malformed.指定的Name参数格式不合法。
400InvalidPaging.MalformedThe specified PageNumber or PageSize is malformed.指定的分页参数格式不合法。