UNPKG

@pulumi/scm

Version:

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

88 lines (87 loc) 2.54 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 { /** * UUID of the resource */ id: string; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ name?: string; } /** * A collection of values returned by getIpsecCryptoProfile. */ export interface GetIpsecCryptoProfileResult { /** * Ah */ readonly ah: outputs.GetIpsecCryptoProfileAh; readonly device: string; readonly dhGroup: string; readonly esp: outputs.GetIpsecCryptoProfileEsp; readonly folder: string; /** * UUID of the resource */ readonly id: string; readonly lifesize: outputs.GetIpsecCryptoProfileLifesize; readonly lifetime: outputs.GetIpsecCryptoProfileLifetime; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ readonly name: string; 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 { /** * UUID of the resource */ id: pulumi.Input<string>; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ name?: pulumi.Input<string>; }