UNPKG

@pulumiverse/fortios

Version:

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

87 lines (86 loc) 2.95 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information on fortios system ntp */ export declare function getNtp(args?: GetNtpArgs, opts?: pulumi.InvokeOptions): Promise<GetNtpResult>; /** * A collection of arguments for invoking getNtp. */ export interface GetNtpArgs { /** * 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 getNtp. */ export interface GetNtpResult { /** * Enable/disable MD5/SHA1 authentication. */ readonly authentication: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Specify outgoing interface to reach server. */ readonly interfaces: outputs.system.GetNtpInterface[]; /** * Key for MD5/SHA1 authentication. */ readonly key: string; /** * Key ID for authentication. */ readonly keyId: number; /** * Select NTP authentication type. */ readonly keyType: string; /** * Configure the FortiGate to connect to any available third-party NTP server. The structure of `ntpserver` block is documented below. */ readonly ntpservers: outputs.system.GetNtpNtpserver[]; /** * Enable/disable setting the FortiGate system time by synchronizing with an NTP Server. */ readonly ntpsync: string; /** * Enable/disable FortiGate NTP Server Mode. Your FortiGate becomes an NTP server for other devices on your network. The FortiGate relays NTP requests to its configured NTP server. */ readonly serverMode: string; /** * Source IP address for communication to the NTP server. */ readonly sourceIp: string; /** * Source IPv6 address for communication to the NTP server. */ readonly sourceIp6: string; /** * NTP synchronization interval (1 - 1440 min). */ readonly syncinterval: number; /** * Use the FortiGuard NTP server or any other available NTP Server. */ readonly type: string; readonly vdomparam?: string; } /** * Use this data source to get information on fortios system ntp */ export declare function getNtpOutput(args?: GetNtpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNtpResult>; /** * A collection of arguments for invoking getNtp. */ export interface GetNtpOutputArgs { /** * 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>; }