Querying the Number of Supplementary Network Interfaces
Function
This API is used to query the number of supplementary network interfaces of a tenant.
Calling Method
For details, see Calling APIs.
URI
GET /v3/{project_id}/vpc/sub-network-interfaces/count
Parameter | Mandatory | Type | Description |
|---|---|---|---|
project_id | Yes | String | Definition: ID of the project that a supplementary network interface belongs to. For details about how to obtain a project ID, see Obtaining a Project ID. Range: N/A |
Request Parameters
None
Response Parameters
Status code: 200
Parameter | Type | Description |
|---|---|---|
request_id | String | Definition: Request ID. Range: N/A |
sub_network_interfaces | Integer | Definition: Number of supplementary network interfaces. Range: N/A |
Example Requests
Querying the number of supplementary network interfaces
GET https://{Endpoint}/v3/8c6fb137a48a428aaf9a0229dca4edb3/vpc/sub-network-interfaces/count Example Responses
Status code: 200
Normal response to the GET operation. For more status codes, see Status Codes.
{
"sub_network_interfaces" : 2,
"request_id" : "4a79f1f7-67eb-43be-a8be-eb57ba894f90"
} Status Codes
Status Code | Description |
|---|---|
200 | Normal response to the GET operation. For more status codes, see Status Codes. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

