UNPKG

@pulumi/scm

Version:

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

98 lines (97 loc) 2.63 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 { /** * UUID of the resource */ id: string; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ name?: 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 */ readonly device: string; readonly enableGreEncapsulation: boolean; readonly folder: string; /** * UUID of the resource */ readonly id: string; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ readonly name: string; readonly snippet: string; readonly tfid: string; readonly tunnelInterface: string; 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 { /** * UUID of the resource */ id: pulumi.Input<string>; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ name?: pulumi.Input<string>; }