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

    Type Alias PostUpgradeLinodeInterfacesData

    type PostUpgradeLinodeInterfacesData = {
        body?: { config_id?: number | null; dry_run?: boolean } | null;
        path: { linodeId: number };
        query?: never;
        url: "linode/instances/{linodeId}/upgrade-interfaces";
    }
    Index

    Properties

    Properties

    body?: { config_id?: number | null; dry_run?: boolean } | null

    Upgrades a legacy configuration interface on a Linode to a matching Linode interface.

    Type Declaration

    • { config_id?: number | null; dry_run?: boolean }
      • Optionalconfig_id?: number | null

        The Linode's config_id. Only one config_id can be specified:

        • If there are no legacy configuration interfaces or configurations defined in the config_id, a public interface is created using the Linode's automatically assigned public IPv4 address.
        • If a config_id is not provided and the Linode has only one configuration, the upgrade automatically uses that config_id.
        • If the Linode has multiple configurations and a config_id is not specified, an error is returned.
      • Optionaldry_run?: boolean

        Before you upgrade interfaces, you can preview the new Linode interface by performing a dry_run:

        • Either omit dry_run or set it to true to simulate the upgrade process. The response data shows what the Linode interface will look like after the upgrade, but without committing any changes. Since the interface doesn't exist yet, the interface id value is 0.
        • If dry_run is set to false, the Linode undergoes the actual upgrade, but note you need to first shut down the Linode.
    • null
    path: { linodeId: number }

    Type Declaration

    • linodeId: number

      The id of the Linode.

    query?: never
    url: "linode/instances/{linodeId}/upgrade-interfaces"