UNPKG

@pulumi/scm

Version:

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

144 lines (143 loc) 4.47 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * IpsecCryptoProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Example of looking up an individual IPsec Crypto Profile by its ID. * const scmIpsecCryptoProfileDs = scm.getIpsecCryptoProfile({ * id: "b89e8fe1-9e92-46fa-8a67-de84313128c9", * }); * export const ipsecProfileById = scmIpsecCryptoProfileDs; * ``` */ export declare function getIpsecCryptoProfile(args: GetIpsecCryptoProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetIpsecCryptoProfileResult>; /** * A collection of arguments for invoking getIpsecCryptoProfile. */ export interface GetIpsecCryptoProfileArgs { /** * 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 getIpsecCryptoProfile. */ export interface GetIpsecCryptoProfileResult { /** * Ah * > ℹ️ **Note:** You must specify exactly one of `ah` and `esp`. */ readonly ah: outputs.GetIpsecCryptoProfileAh; /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * phase-2 DH group (PFS DH group) */ readonly dhGroup: string; /** * Esp * > ℹ️ **Note:** You must specify exactly one of `ah` and `esp`. */ readonly esp: outputs.GetIpsecCryptoProfileEsp; /** * 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; /** * Lifesize */ readonly lifesize: outputs.GetIpsecCryptoProfileLifesize; /** * Ipsec crypto profile lifetime */ readonly lifetime: outputs.GetIpsecCryptoProfileLifetime; /** * 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; } /** * IpsecCryptoProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Example of looking up an individual IPsec Crypto Profile by its ID. * const scmIpsecCryptoProfileDs = scm.getIpsecCryptoProfile({ * id: "b89e8fe1-9e92-46fa-8a67-de84313128c9", * }); * export const ipsecProfileById = scmIpsecCryptoProfileDs; * ``` */ export declare function getIpsecCryptoProfileOutput(args: GetIpsecCryptoProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpsecCryptoProfileResult>; /** * A collection of arguments for invoking getIpsecCryptoProfile. */ export interface GetIpsecCryptoProfileOutputArgs { /** * 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>; }