@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
142 lines (141 loc) • 4.33 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* IkeCryptoProfile 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 scmIkeCryptoProfileDs = scm.getIkeCryptoProfile({
* id: "f3a1251a-bb9e-437d-8048-f5d54617d0be",
* });
* export const ikeProfileById = scmIkeCryptoProfileDs;
* ```
*/
export declare function getIkeCryptoProfile(args: GetIkeCryptoProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetIkeCryptoProfileResult>;
/**
* A collection of arguments for invoking getIkeCryptoProfile.
*/
export interface GetIkeCryptoProfileArgs {
/**
* 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 getIkeCryptoProfile.
*/
export interface GetIkeCryptoProfileResult {
/**
* IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
*/
readonly authenticationMultiple: number;
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly device: string;
/**
* Dh group
*/
readonly dhGroups: string[];
/**
* Encryption algorithm
*/
readonly encryptions: string[];
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly folder: string;
/**
* Hash
*/
readonly hashes: string[];
/**
* UUID of the resource
*/
readonly id: string;
/**
* Ike crypto profile lifetime
*/
readonly lifetime: outputs.GetIkeCryptoProfileLifetime;
/**
* 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;
}
/**
* IkeCryptoProfile 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 scmIkeCryptoProfileDs = scm.getIkeCryptoProfile({
* id: "f3a1251a-bb9e-437d-8048-f5d54617d0be",
* });
* export const ikeProfileById = scmIkeCryptoProfileDs;
* ```
*/
export declare function getIkeCryptoProfileOutput(args: GetIkeCryptoProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIkeCryptoProfileResult>;
/**
* A collection of arguments for invoking getIkeCryptoProfile.
*/
export interface GetIkeCryptoProfileOutputArgs {
/**
* 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>;
}