UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

146 lines (145 loc) 4.35 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * IpsecTunnel data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Example of looking up an individual IPsec Tunnel by its ID. * const scmIpsecTunnelDs = scm.getIpsecTunnel({ * id: "7c237a82-8c11-4f09-bdbf-599e159019ce", * }); * export const ipsecTunnelById = scmIpsecTunnelDs; * ``` */ export declare function getIpsecTunnel(args: GetIpsecTunnelArgs, opts?: pulumi.InvokeOptions): Promise<GetIpsecTunnelResult>; /** * A collection of arguments for invoking getIpsecTunnel. */ export interface GetIpsecTunnelArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: string; /** * UUID of the resource */ id: string; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ name?: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: string; } /** * A collection of values returned by getIpsecTunnel. */ export interface GetIpsecTunnelResult { /** * Enable Anti-Replay check on this tunnel */ readonly antiReplay: boolean; /** * Auto key */ readonly autoKey: outputs.GetIpsecTunnelAutoKey; /** * Copy IP TOS bits from inner packet to IPSec packet (not recommended) */ readonly copyTos: boolean; /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * allow GRE over IPSec */ readonly enableGreEncapsulation: boolean; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: string; /** * UUID of the resource */ readonly id: string; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ readonly name: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; readonly tfid: string; /** * Tunnel interface variable or hardcoded tunnel. Default will be tunnels. */ readonly tunnelInterface: string; /** * Tunnel monitor */ readonly tunnelMonitor: outputs.GetIpsecTunnelTunnelMonitor; } /** * IpsecTunnel data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Example of looking up an individual IPsec Tunnel by its ID. * const scmIpsecTunnelDs = scm.getIpsecTunnel({ * id: "7c237a82-8c11-4f09-bdbf-599e159019ce", * }); * export const ipsecTunnelById = scmIpsecTunnelDs; * ``` */ export declare function getIpsecTunnelOutput(args: GetIpsecTunnelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpsecTunnelResult>; /** * A collection of arguments for invoking getIpsecTunnel. */ export interface GetIpsecTunnelOutputArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: pulumi.Input<string>; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input<string>; /** * UUID of the resource */ id: pulumi.Input<string>; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ name?: pulumi.Input<string>; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; }