UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

378 lines (377 loc) 16.3 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Configure IKE global attributes. Applies to FortiOS Version `>= 7.0.1`. * * ## Import * * System Ike can be imported using any of these accepted formats: * * ```sh * $ pulumi import fortios:system/ike:Ike labelname SystemIke * ``` * * If you do not want to import arguments of block: * * $ export "FORTIOS_IMPORT_TABLE"="false" * * ```sh * $ pulumi import fortios:system/ike:Ike labelname SystemIke * ``` * * $ unset "FORTIOS_IMPORT_TABLE" */ export declare class Ike extends pulumi.CustomResource { /** * Get an existing Ike resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IkeState, opts?: pulumi.CustomResourceOptions): Ike; /** * Returns true if the given object is an instance of Ike. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Ike; /** * Diffie-Hellman group 1 (MODP-768). The structure of `dhGroup1` block is documented below. */ readonly dhGroup1: pulumi.Output<outputs.system.IkeDhGroup1>; /** * Diffie-Hellman group 14 (MODP-2048). The structure of `dhGroup14` block is documented below. */ readonly dhGroup14: pulumi.Output<outputs.system.IkeDhGroup14>; /** * Diffie-Hellman group 15 (MODP-3072). The structure of `dhGroup15` block is documented below. */ readonly dhGroup15: pulumi.Output<outputs.system.IkeDhGroup15>; /** * Diffie-Hellman group 16 (MODP-4096). The structure of `dhGroup16` block is documented below. */ readonly dhGroup16: pulumi.Output<outputs.system.IkeDhGroup16>; /** * Diffie-Hellman group 17 (MODP-6144). The structure of `dhGroup17` block is documented below. */ readonly dhGroup17: pulumi.Output<outputs.system.IkeDhGroup17>; /** * Diffie-Hellman group 18 (MODP-8192). The structure of `dhGroup18` block is documented below. */ readonly dhGroup18: pulumi.Output<outputs.system.IkeDhGroup18>; /** * Diffie-Hellman group 19 (EC-P256). The structure of `dhGroup19` block is documented below. */ readonly dhGroup19: pulumi.Output<outputs.system.IkeDhGroup19>; /** * Diffie-Hellman group 2 (MODP-1024). The structure of `dhGroup2` block is documented below. */ readonly dhGroup2: pulumi.Output<outputs.system.IkeDhGroup2>; /** * Diffie-Hellman group 20 (EC-P384). The structure of `dhGroup20` block is documented below. */ readonly dhGroup20: pulumi.Output<outputs.system.IkeDhGroup20>; /** * Diffie-Hellman group 21 (EC-P521). The structure of `dhGroup21` block is documented below. */ readonly dhGroup21: pulumi.Output<outputs.system.IkeDhGroup21>; /** * Diffie-Hellman group 27 (EC-P224BP). The structure of `dhGroup27` block is documented below. */ readonly dhGroup27: pulumi.Output<outputs.system.IkeDhGroup27>; /** * Diffie-Hellman group 28 (EC-P256BP). The structure of `dhGroup28` block is documented below. */ readonly dhGroup28: pulumi.Output<outputs.system.IkeDhGroup28>; /** * Diffie-Hellman group 29 (EC-P384BP). The structure of `dhGroup29` block is documented below. */ readonly dhGroup29: pulumi.Output<outputs.system.IkeDhGroup29>; /** * Diffie-Hellman group 30 (EC-P512BP). The structure of `dhGroup30` block is documented below. */ readonly dhGroup30: pulumi.Output<outputs.system.IkeDhGroup30>; /** * Diffie-Hellman group 31 (EC-X25519). The structure of `dhGroup31` block is documented below. */ readonly dhGroup31: pulumi.Output<outputs.system.IkeDhGroup31>; /** * Diffie-Hellman group 32 (EC-X448). The structure of `dhGroup32` block is documented below. */ readonly dhGroup32: pulumi.Output<outputs.system.IkeDhGroup32>; /** * Diffie-Hellman group 5 (MODP-1536). The structure of `dhGroup5` block is documented below. */ readonly dhGroup5: pulumi.Output<outputs.system.IkeDhGroup5>; /** * Enable/disable Diffie-Hellman key pair cache. Valid values: `enable`, `disable`. */ readonly dhKeypairCache: pulumi.Output<string>; /** * Number of key pairs to pre-generate for each Diffie-Hellman group (per-worker). */ readonly dhKeypairCount: pulumi.Output<number>; /** * Enable/disable Diffie-Hellman key pair cache CPU throttling. Valid values: `enable`, `disable`. */ readonly dhKeypairThrottle: pulumi.Output<string>; /** * Use software (CPU) or hardware (CPX) to perform Diffie-Hellman calculations. Valid values: `software`, `hardware`. */ readonly dhMode: pulumi.Output<string>; /** * Enable/disable multiprocess Diffie-Hellman daemon for IKE. Valid values: `enable`, `disable`. */ readonly dhMultiprocess: pulumi.Output<string>; /** * Number of Diffie-Hellman workers to start. */ readonly dhWorkerCount: pulumi.Output<number>; /** * Maximum number of IPsec tunnels to negotiate simultaneously. */ readonly embryonicLimit: pulumi.Output<number>; /** * Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. */ readonly getAllTables: pulumi.Output<string | undefined>; /** * Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. * * The `dhGroup1` block supports: */ readonly vdomparam: pulumi.Output<string>; /** * Create a Ike resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: IkeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Ike resources. */ export interface IkeState { /** * Diffie-Hellman group 1 (MODP-768). The structure of `dhGroup1` block is documented below. */ dhGroup1?: pulumi.Input<inputs.system.IkeDhGroup1>; /** * Diffie-Hellman group 14 (MODP-2048). The structure of `dhGroup14` block is documented below. */ dhGroup14?: pulumi.Input<inputs.system.IkeDhGroup14>; /** * Diffie-Hellman group 15 (MODP-3072). The structure of `dhGroup15` block is documented below. */ dhGroup15?: pulumi.Input<inputs.system.IkeDhGroup15>; /** * Diffie-Hellman group 16 (MODP-4096). The structure of `dhGroup16` block is documented below. */ dhGroup16?: pulumi.Input<inputs.system.IkeDhGroup16>; /** * Diffie-Hellman group 17 (MODP-6144). The structure of `dhGroup17` block is documented below. */ dhGroup17?: pulumi.Input<inputs.system.IkeDhGroup17>; /** * Diffie-Hellman group 18 (MODP-8192). The structure of `dhGroup18` block is documented below. */ dhGroup18?: pulumi.Input<inputs.system.IkeDhGroup18>; /** * Diffie-Hellman group 19 (EC-P256). The structure of `dhGroup19` block is documented below. */ dhGroup19?: pulumi.Input<inputs.system.IkeDhGroup19>; /** * Diffie-Hellman group 2 (MODP-1024). The structure of `dhGroup2` block is documented below. */ dhGroup2?: pulumi.Input<inputs.system.IkeDhGroup2>; /** * Diffie-Hellman group 20 (EC-P384). The structure of `dhGroup20` block is documented below. */ dhGroup20?: pulumi.Input<inputs.system.IkeDhGroup20>; /** * Diffie-Hellman group 21 (EC-P521). The structure of `dhGroup21` block is documented below. */ dhGroup21?: pulumi.Input<inputs.system.IkeDhGroup21>; /** * Diffie-Hellman group 27 (EC-P224BP). The structure of `dhGroup27` block is documented below. */ dhGroup27?: pulumi.Input<inputs.system.IkeDhGroup27>; /** * Diffie-Hellman group 28 (EC-P256BP). The structure of `dhGroup28` block is documented below. */ dhGroup28?: pulumi.Input<inputs.system.IkeDhGroup28>; /** * Diffie-Hellman group 29 (EC-P384BP). The structure of `dhGroup29` block is documented below. */ dhGroup29?: pulumi.Input<inputs.system.IkeDhGroup29>; /** * Diffie-Hellman group 30 (EC-P512BP). The structure of `dhGroup30` block is documented below. */ dhGroup30?: pulumi.Input<inputs.system.IkeDhGroup30>; /** * Diffie-Hellman group 31 (EC-X25519). The structure of `dhGroup31` block is documented below. */ dhGroup31?: pulumi.Input<inputs.system.IkeDhGroup31>; /** * Diffie-Hellman group 32 (EC-X448). The structure of `dhGroup32` block is documented below. */ dhGroup32?: pulumi.Input<inputs.system.IkeDhGroup32>; /** * Diffie-Hellman group 5 (MODP-1536). The structure of `dhGroup5` block is documented below. */ dhGroup5?: pulumi.Input<inputs.system.IkeDhGroup5>; /** * Enable/disable Diffie-Hellman key pair cache. Valid values: `enable`, `disable`. */ dhKeypairCache?: pulumi.Input<string>; /** * Number of key pairs to pre-generate for each Diffie-Hellman group (per-worker). */ dhKeypairCount?: pulumi.Input<number>; /** * Enable/disable Diffie-Hellman key pair cache CPU throttling. Valid values: `enable`, `disable`. */ dhKeypairThrottle?: pulumi.Input<string>; /** * Use software (CPU) or hardware (CPX) to perform Diffie-Hellman calculations. Valid values: `software`, `hardware`. */ dhMode?: pulumi.Input<string>; /** * Enable/disable multiprocess Diffie-Hellman daemon for IKE. Valid values: `enable`, `disable`. */ dhMultiprocess?: pulumi.Input<string>; /** * Number of Diffie-Hellman workers to start. */ dhWorkerCount?: pulumi.Input<number>; /** * Maximum number of IPsec tunnels to negotiate simultaneously. */ embryonicLimit?: pulumi.Input<number>; /** * Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. */ getAllTables?: pulumi.Input<string>; /** * Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. * * The `dhGroup1` block supports: */ vdomparam?: pulumi.Input<string>; } /** * The set of arguments for constructing a Ike resource. */ export interface IkeArgs { /** * Diffie-Hellman group 1 (MODP-768). The structure of `dhGroup1` block is documented below. */ dhGroup1?: pulumi.Input<inputs.system.IkeDhGroup1>; /** * Diffie-Hellman group 14 (MODP-2048). The structure of `dhGroup14` block is documented below. */ dhGroup14?: pulumi.Input<inputs.system.IkeDhGroup14>; /** * Diffie-Hellman group 15 (MODP-3072). The structure of `dhGroup15` block is documented below. */ dhGroup15?: pulumi.Input<inputs.system.IkeDhGroup15>; /** * Diffie-Hellman group 16 (MODP-4096). The structure of `dhGroup16` block is documented below. */ dhGroup16?: pulumi.Input<inputs.system.IkeDhGroup16>; /** * Diffie-Hellman group 17 (MODP-6144). The structure of `dhGroup17` block is documented below. */ dhGroup17?: pulumi.Input<inputs.system.IkeDhGroup17>; /** * Diffie-Hellman group 18 (MODP-8192). The structure of `dhGroup18` block is documented below. */ dhGroup18?: pulumi.Input<inputs.system.IkeDhGroup18>; /** * Diffie-Hellman group 19 (EC-P256). The structure of `dhGroup19` block is documented below. */ dhGroup19?: pulumi.Input<inputs.system.IkeDhGroup19>; /** * Diffie-Hellman group 2 (MODP-1024). The structure of `dhGroup2` block is documented below. */ dhGroup2?: pulumi.Input<inputs.system.IkeDhGroup2>; /** * Diffie-Hellman group 20 (EC-P384). The structure of `dhGroup20` block is documented below. */ dhGroup20?: pulumi.Input<inputs.system.IkeDhGroup20>; /** * Diffie-Hellman group 21 (EC-P521). The structure of `dhGroup21` block is documented below. */ dhGroup21?: pulumi.Input<inputs.system.IkeDhGroup21>; /** * Diffie-Hellman group 27 (EC-P224BP). The structure of `dhGroup27` block is documented below. */ dhGroup27?: pulumi.Input<inputs.system.IkeDhGroup27>; /** * Diffie-Hellman group 28 (EC-P256BP). The structure of `dhGroup28` block is documented below. */ dhGroup28?: pulumi.Input<inputs.system.IkeDhGroup28>; /** * Diffie-Hellman group 29 (EC-P384BP). The structure of `dhGroup29` block is documented below. */ dhGroup29?: pulumi.Input<inputs.system.IkeDhGroup29>; /** * Diffie-Hellman group 30 (EC-P512BP). The structure of `dhGroup30` block is documented below. */ dhGroup30?: pulumi.Input<inputs.system.IkeDhGroup30>; /** * Diffie-Hellman group 31 (EC-X25519). The structure of `dhGroup31` block is documented below. */ dhGroup31?: pulumi.Input<inputs.system.IkeDhGroup31>; /** * Diffie-Hellman group 32 (EC-X448). The structure of `dhGroup32` block is documented below. */ dhGroup32?: pulumi.Input<inputs.system.IkeDhGroup32>; /** * Diffie-Hellman group 5 (MODP-1536). The structure of `dhGroup5` block is documented below. */ dhGroup5?: pulumi.Input<inputs.system.IkeDhGroup5>; /** * Enable/disable Diffie-Hellman key pair cache. Valid values: `enable`, `disable`. */ dhKeypairCache?: pulumi.Input<string>; /** * Number of key pairs to pre-generate for each Diffie-Hellman group (per-worker). */ dhKeypairCount?: pulumi.Input<number>; /** * Enable/disable Diffie-Hellman key pair cache CPU throttling. Valid values: `enable`, `disable`. */ dhKeypairThrottle?: pulumi.Input<string>; /** * Use software (CPU) or hardware (CPX) to perform Diffie-Hellman calculations. Valid values: `software`, `hardware`. */ dhMode?: pulumi.Input<string>; /** * Enable/disable multiprocess Diffie-Hellman daemon for IKE. Valid values: `enable`, `disable`. */ dhMultiprocess?: pulumi.Input<string>; /** * Number of Diffie-Hellman workers to start. */ dhWorkerCount?: pulumi.Input<number>; /** * Maximum number of IPsec tunnels to negotiate simultaneously. */ embryonicLimit?: pulumi.Input<number>; /** * Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. */ getAllTables?: pulumi.Input<string>; /** * Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. * * The `dhGroup1` block supports: */ vdomparam?: pulumi.Input<string>; }