百度智能云

All Product Document

          Virtual Private Cloud

          Query Details of Service Network Interface Card

          Description

          Query the service NIC details.

          Request Structure

           GET /v{version}/endpoint/{endpointId} HTTP/1.1
           Host: bcc.bj.baidubce.com
           Authorization: authorization string    
            

          Request Header Field

          No other special header fields are available except for the public header fields.

          Request Parameters

          Parameter Name Type Required? Parameter Position Description
          version String Yes URL parameter API version number
          endpointId String Yes URL parameter Service NIC id

          Return Header Field

          No other special header fields are available except for the public header fields.

          Return Parameter

          Parameter Name Type Description
          endpointId String Service NIC id
          name String Service NIC name
          ipAddress String Service NIC ip
          status String Service NIC status, whose value is available/dead, indicating that it is attachable and unattachable.
          service String Unique domain name of the service
          subnetId String Subnet cidr
          description String Description
          createTime String Creation time
          productType String Billing type
          vpcId String vpc Id

          Request Example

           GET /v1/endpoint/endpoint-11b09ce6 HTTP/1.1
           Host: bcc.bj.baidubce.com
           Authorization: authorization string    
            

          Return Example

           HTTP/1.1 200 OK     
           x-bce-request-id: 1214cca7 4ad5 451d 9215 71cb844c0a50     
           Date: Thu, 16 Mar 2017 06:29:48 GMT       
           Content Type: application/json;charset=UTF 8     
           Server: BWS     
                
          {
              "endpointId': "endpoint-11a09ce9",
              "name": "name",	
              "ipAddress": "192.168.0.5",
              "status": "available",
              "service": "www.test.com",
              "subnetId": "sbn-crqu2vxzj049",             
              "createTime": "2019-03-07T02:35:31Z",
              "description": "",
          	"productType": "postpay",
          	"vpcId": "vpc-q1hcnhf7nmve"
          }
          Previous
          Query Attachable Public Services
          Next
          Query List of Service Network Interface Cards