UNPKG

@pulumiverse/fortios

Version:

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

103 lines (102 loc) 3.81 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information on an fortios system clustersync */ export declare function getClustersync(args: GetClustersyncArgs, opts?: pulumi.InvokeOptions): Promise<GetClustersyncResult>; /** * A collection of arguments for invoking getClustersync. */ export interface GetClustersyncArgs { /** * Specify the syncId of the desired system clustersync. */ syncId: number; /** * Specifies the vdom to which the data source 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. */ vdomparam?: string; } /** * A collection of values returned by getClustersync. */ export interface GetClustersyncResult { /** * List of interfaces to be turned down before session synchronization is complete. The structure of `downIntfsBeforeSessSync` block is documented below. */ readonly downIntfsBeforeSessSyncs: outputs.system.GetClustersyncDownIntfsBeforeSessSync[]; /** * Heartbeat interval (1 - 10 sec). */ readonly hbInterval: number; /** * Lost heartbeat threshold (1 - 10). */ readonly hbLostThreshold: number; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * IKE heartbeat interval (1 - 60 secs). */ readonly ikeHeartbeatInterval: number; /** * Enable/disable IKE HA monitor. */ readonly ikeMonitor: string; /** * IKE HA monitor interval (10 - 300 secs). */ readonly ikeMonitorInterval: number; /** * Enable/disable IPsec tunnel synchronization. */ readonly ipsecTunnelSync: string; /** * IP address of the interface on the peer unit that is used for the session synchronization link. */ readonly peerip: string; /** * VDOM that contains the session synchronization link interface on the peer unit. Usually both peers would have the same peervd. */ readonly peervd: string; /** * Enable/disable IKE route announcement on the backup unit. */ readonly secondaryAddIpsecRoutes: string; /** * Add one or more filters if you only want to synchronize some sessions. Use the filter to configure the types of sessions to synchronize. The structure of `sessionSyncFilter` block is documented below. */ readonly sessionSyncFilters: outputs.system.GetClustersyncSessionSyncFilter[]; /** * Enable/disable IKE route announcement on the backup unit. */ readonly slaveAddIkeRoutes: string; /** * Sync ID. */ readonly syncId: number; /** * Sessions from these VDOMs are synchronized using this session synchronization configuration. The structure of `syncvd` block is documented below. */ readonly syncvds: outputs.system.GetClustersyncSyncvd[]; readonly vdomparam?: string; } /** * Use this data source to get information on an fortios system clustersync */ export declare function getClustersyncOutput(args: GetClustersyncOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClustersyncResult>; /** * A collection of arguments for invoking getClustersync. */ export interface GetClustersyncOutputArgs { /** * Specify the syncId of the desired system clustersync. */ syncId: pulumi.Input<number>; /** * Specifies the vdom to which the data source 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. */ vdomparam?: pulumi.Input<string>; }