@akamai/openapi-ts
    Preparing search index...

    Type Alias PostAddLinodeIpResponses

    type PostAddLinodeIpResponses = {
        "200": {
            address: string;
            gateway: string | null;
            interface_id: number | null;
            linode_id: number;
            prefix: number;
            public: boolean;
            rdns: string | null;
            region: string;
            subnet_mask: string;
            type: "ipv4" | "ipv6" | "ipv6/pool" | "ipv6/range";
            vpc_nat_1_1: { address: string; subnet_id: number; vpc_id: number };
        };
    }
    Index

    Properties

    Properties

    "200": {
        address: string;
        gateway: string | null;
        interface_id: number | null;
        linode_id: number;
        prefix: number;
        public: boolean;
        rdns: string | null;
        region: string;
        subnet_mask: string;
        type: "ipv4" | "ipv6" | "ipv6/pool" | "ipv6/range";
        vpc_nat_1_1: { address: string; subnet_id: number; vpc_id: number };
    }

    An IP address that exists in Linode's system, either IPv4 or IPv6.

    Type Declaration

    • Readonlyaddress: string

      Read-only The IP address.

    • Readonlygateway: string | null

      Read-only The default gateway for this address.

    • Readonlyinterface_id: number | null

      Beta, Read-only The Linode interface ID that this IP address is assigned to. This value is null if a Linode interface is not assigned, or if the IP is assigned to a legacy configuration profile interface.

    • Readonlylinode_id: number

      Read-only The ID of the Linode this address currently belongs to. For IPv4 addresses, this is by default the Linode that this address was assigned to on creation, and these addresses may be moved using the Assign IPv4s to Linodes operation. For SLAAC and link-local addresses, this value can't be changed.

    • Readonlyprefix: number

      Read-only The number of bits set in the subnet mask.

    • Readonlypublic: boolean

      Read-only Whether this is a public or private IP address.

    • rdns: string | null

      The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.

    • Readonlyregion: string

      Read-only The Region this IP address resides in.

    • Readonlysubnet_mask: string

      Read-only The mask that separates host bits from network bits for this address.

    • type: "ipv4" | "ipv6" | "ipv6/pool" | "ipv6/range"

      Read-only The type of address this is.

    • vpc_nat_1_1: { address: string; subnet_id: number; vpc_id: number }

      IPv4 address configured as a 1:1 NAT for this Interface. If no address is configured as a 1:1 NAT, null is returned.

      📘

      Only allowed for vpc type interfaces.

      • address: string

        The IPv4 address that is configured as a 1:1 NAT for this VPC interface.

      • subnet_id: number

        The id of the VPC Subnet for this interface.

      • Readonlyvpc_id: number

        Read-only The id of the VPC configured for this interface.