Querying Basic Information About a VPC Endpoint Service
Function
This API is used to query basic information about a target VPC endpoint service. You can use this API to query the target VPC endpoint service to be accessed. This API can also be used by other users to query basic information about your VPC endpoint service, without exposing your server information.
URI
GET /v1/{project_id}/vpc-endpoint-services/describe?endpoint_service_name={endpoint_service_name}&id={endpoint_service_id}
Parameter |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
endpoint_service_name |
No
NOTE:
Either this parameter or the id parameter must be selected. |
String |
Specifies the name of the VPC endpoint service. |
id |
No
NOTE:
Either this parameter or the endpoint_service_name parameter must be selected. |
String |
Specifies the unique ID of the VPC endpoint service. |
Request
Response
- Parameter description
Table 3 Response parameters Parameter
Type
Description
id
String
Specifies the unique ID of the VPC endpoint service.
service_name
String
Specifies the name of the VPC endpoint service.
service_type
String
Specifies the type of the VPC endpoint service. Only your private services can be configured into interface VPC endpoint services.
- Gateway: VPC endpoint services of this type are configured by O&M personnel. You can use them directly without the need to create one by yourselves.
- Interface: VPC endpoint services of this type include cloud services configured by O&M personnel and private services created by yourselves. You cannot configure these cloud services, but can use them.
You can perform the operations in Creating a VPC Endpoint to create VPC endpoints for accessing VPC endpoints of the gateway and interface types.
created_at
String
Specifies the creation time of the VPC endpoint service.
The UTC time format is used: YYYY-MM-DDTHH:MM:SSZ.
is_charge
Boolean
Specifies whether the associated VPC endpoint carries a charge.
- true: indicates that the associated VPC endpoint carries a charge.
- false: indicates that the associated VPC endpoint does not a charge.
- Example response
{ "id": "9d4c1028-1336-4556-9881-b5d807c1b8a8", "service_name": "test123", "service_type": "interface", "created_at": "2018-09-17T07:28:31Z", "is_charge": "true" }
Status Codes
See Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot