Files
cloudpods/docs/schemas/networkinterface.yaml
2019-08-02 17:08:26 +08:00

44 lines
1.1 KiB
YAML

Networkinterface:
allOf:
- $ref: './common.yaml#/StatusStandaloneResponse'
- $ref: './common.yaml#/ExternalizedResourceBaseResponse'
- type: object
properties:
mac:
type: string
example: fa:16:3e:f4:51:76
description: 弹性网卡MAC地址
associate_id:
type: string
example: 1d18dea0-14a4-4d94-8f18-3a827a0cb124
description: 弹性网卡绑定设备ID
associate_type:
type: string
example: vip
description: 弹性网卡绑定设备类型
networks:
type: array
items:
$ref: './networkinterfacenetwork.yaml#/NetworkinterfaceNetwork'
NetworkinterfaceListResponse:
type: object
properties:
limit:
type: integer
example: 20
networkinterfaces:
type: array
items:
$ref: '#/Networkinterface'
total:
type: integer
example: 124
NetworkinterfaceResponse:
type: object
properties:
networkinterface:
type: object
$ref: '#/Networkinterface'