UNPKG

@pulumi/scm

Version:

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

158 lines (157 loc) 4.73 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * IkeGateway data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Data source to retrieve a single IKE Gateway by its ID. * // Replace the placeholder ID with the actual UUID of the gateway you want to fetch. * const exampleSingularIkeGatewayDs = scm.getIkeGateway({ * id: "1ba42513-2985-4783-8bdf-c83cf20d6dd1", * }); * export const ikeGatewaySingularExample = exampleSingularIkeGatewayDs; * ``` */ export declare function getIkeGateway(args: GetIkeGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetIkeGatewayResult>; /** * A collection of arguments for invoking getIkeGateway. */ export interface GetIkeGatewayArgs { /** * 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 getIkeGateway. */ export interface GetIkeGatewayResult { /** * Authentication */ readonly authentication: outputs.GetIkeGatewayAuthentication; /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * Map of sensitive values returned from the API. */ readonly encryptedValues: { [key: string]: string; }; /** * 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; /** * Local address */ readonly localAddress: outputs.GetIkeGatewayLocalAddress; /** * Local id */ readonly localId: outputs.GetIkeGatewayLocalId; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ readonly name: string; /** * Peer address */ readonly peerAddress: outputs.GetIkeGatewayPeerAddress; /** * Peer id */ readonly peerId: outputs.GetIkeGatewayPeerId; /** * Protocol */ readonly protocol: outputs.GetIkeGatewayProtocol; /** * Protocol common */ readonly protocolCommon: outputs.GetIkeGatewayProtocolCommon; /** * 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; } /** * IkeGateway data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Data source to retrieve a single IKE Gateway by its ID. * // Replace the placeholder ID with the actual UUID of the gateway you want to fetch. * const exampleSingularIkeGatewayDs = scm.getIkeGateway({ * id: "1ba42513-2985-4783-8bdf-c83cf20d6dd1", * }); * export const ikeGatewaySingularExample = exampleSingularIkeGatewayDs; * ``` */ export declare function getIkeGatewayOutput(args: GetIkeGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIkeGatewayResult>; /** * A collection of arguments for invoking getIkeGateway. */ export interface GetIkeGatewayOutputArgs { /** * 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>; }