Querying the Number of Supplementary Network Interfaces
Function
This API is used to query the number of supplementary network interfaces.
URI
GET /v3/{project_id}/vpc/sub-network-interfaces/count
Parameter | Mandatory | Type | Description |
---|---|---|---|
project_id | Yes | String | Project ID. For details about how to obtain a project ID, see Obtaining a Project ID. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter | Type | Description |
---|---|---|
request_id | String | Request ID. |
sub_network_interfaces | Integer | Number of supplementary network interfaces. |
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.
Parent topic: Supplementary Network Interface
- URI