@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.91 kB
TypeScript
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 {
/**
* UUID of the resource
*/
id: string;
/**
* Alphanumeric string begin with letter: [0-9a-zA-Z._-]
*/
name?: string;
}
/**
* A collection of values returned by getIkeGateway.
*/
export interface GetIkeGatewayResult {
/**
* Authentication
*/
readonly authentication: outputs.GetIkeGatewayAuthentication;
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly encryptedValues: {
[key: string]: string;
};
readonly folder: string;
/**
* UUID of the resource
*/
readonly id: string;
readonly localAddress: outputs.GetIkeGatewayLocalAddress;
readonly localId: outputs.GetIkeGatewayLocalId;
/**
* Alphanumeric string begin with letter: [0-9a-zA-Z._-]
*/
readonly name: string;
readonly peerAddress: outputs.GetIkeGatewayPeerAddress;
readonly peerId: outputs.GetIkeGatewayPeerId;
readonly protocol: outputs.GetIkeGatewayProtocol;
readonly protocolCommon: outputs.GetIkeGatewayProtocolCommon;
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 {
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* Alphanumeric string begin with letter: [0-9a-zA-Z._-]
*/
name?: pulumi.Input<string>;
}