Skip to main content

Create a virtual network interface

POST 

/virtual_machines/virtual_machine/network_interfaces

Create a new virtual machine network interface with the provided details

Scopes

  • virtual_machines
  • virtual_machines:network_interfaces

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Body

    virtual_machine

    object

    required

    All 'virtual_machine[]' params are mutually exclusive, only one can be provided.

    id string
    fqdn string

    network

    object

    All 'network[]' params are mutually exclusive, only one can be provided.

    id string
    permalink string

    virtual_network

    object

    id string

    speed_profile

    object

    required

    All 'speed_profile[]' params are mutually exclusive, only one can be provided.

    id string
    permalink string

Responses

Create a new virtual machine network interface with the provided details

Schema

    virtual_machine_network_interface

    object

    required

    id string

    virtual_machine

    object

    id string
    name string
    name string

    network

    object

    nullable

    id string
    name string

    virtual_network

    object

    nullable

    id string
    name string
    mac_address string
    state string

    ip_addresses

    object[]

  • Array [

  • id string
    address string
  • ]

  • speed_profile

    object

    id string
    name string
    permalink string
Loading...