@pulumi/linode
Version:
A Pulumi package for creating and managing linode cloud resources.
65 lines (64 loc) • 2.04 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Provides details about the networking configuration of an Instance.
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-linode-config-interfaces).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as linode from "@pulumi/linode";
*
* const example = linode.getInstanceNetworking({
* linodeId: 123,
* });
* ```
*/
export declare function getInstanceNetworking(args: GetInstanceNetworkingArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceNetworkingResult>;
/**
* A collection of arguments for invoking getInstanceNetworking.
*/
export interface GetInstanceNetworkingArgs {
/**
* The Linode instance's ID.
*/
linodeId: number;
}
/**
* A collection of values returned by getInstanceNetworking.
*/
export interface GetInstanceNetworkingResult {
readonly id: string;
readonly ipv4s: outputs.GetInstanceNetworkingIpv4[];
readonly ipv6s: outputs.GetInstanceNetworkingIpv6[];
/**
* The ID of the Linode this address currently belongs to.
*/
readonly linodeId: number;
}
/**
* Provides details about the networking configuration of an Instance.
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-linode-config-interfaces).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as linode from "@pulumi/linode";
*
* const example = linode.getInstanceNetworking({
* linodeId: 123,
* });
* ```
*/
export declare function getInstanceNetworkingOutput(args: GetInstanceNetworkingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceNetworkingResult>;
/**
* A collection of arguments for invoking getInstanceNetworking.
*/
export interface GetInstanceNetworkingOutputArgs {
/**
* The Linode instance's ID.
*/
linodeId: pulumi.Input<number>;
}