@pulumi/linode
Version:
A Pulumi package for creating and managing linode cloud resources.
30 lines (29 loc) • 1.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
export declare function getInterface(args: GetInterfaceArgs, opts?: pulumi.InvokeOptions): Promise<GetInterfaceResult>;
/**
* A collection of arguments for invoking getInterface.
*/
export interface GetInterfaceArgs {
id: string;
linodeId: number;
}
/**
* A collection of values returned by getInterface.
*/
export interface GetInterfaceResult {
readonly defaultRoute: outputs.GetInterfaceDefaultRoute;
readonly id: string;
readonly linodeId: number;
readonly public: outputs.GetInterfacePublic;
readonly vlan: outputs.GetInterfaceVlan;
readonly vpc: outputs.GetInterfaceVpc;
}
export declare function getInterfaceOutput(args: GetInterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInterfaceResult>;
/**
* A collection of arguments for invoking getInterface.
*/
export interface GetInterfaceOutputArgs {
id: pulumi.Input<string>;
linodeId: pulumi.Input<number>;
}