UNPKG

@pulumiverse/fortios

Version:

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

94 lines (93 loc) 3.43 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to configure Network Time Protocol (NTP) servers of FortiOS. * * !> **Warning:** The resource will be deprecated and replaced by new resource `fortios.system.Ntp`, we recommend that you use the new resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumiverse/fortios"; * * const test2 = new fortios.system.SettingNtp("test2", { * ntpservers: [ * "1.1.1.1", * "3.3.3.3", * ], * ntpsync: "disable", * type: "custom", * }); * ``` */ export declare class SettingNtp extends pulumi.CustomResource { /** * Get an existing SettingNtp 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?: SettingNtpState, opts?: pulumi.CustomResourceOptions): SettingNtp; /** * Returns true if the given object is an instance of SettingNtp. 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 SettingNtp; /** * Configure the FortiGate to connect to any available third-party NTP server. */ readonly ntpservers: pulumi.Output<string[]>; /** * Enable/disable setting the FortiGate system time by synchronizing with an NTP Server. */ readonly ntpsync: pulumi.Output<string>; /** * Use the FortiGuard NTP server or any other available NTP Server. */ readonly type: pulumi.Output<string>; /** * Create a SettingNtp 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: SettingNtpArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SettingNtp resources. */ export interface SettingNtpState { /** * Configure the FortiGate to connect to any available third-party NTP server. */ ntpservers?: pulumi.Input<pulumi.Input<string>[]>; /** * Enable/disable setting the FortiGate system time by synchronizing with an NTP Server. */ ntpsync?: pulumi.Input<string>; /** * Use the FortiGuard NTP server or any other available NTP Server. */ type?: pulumi.Input<string>; } /** * The set of arguments for constructing a SettingNtp resource. */ export interface SettingNtpArgs { /** * Configure the FortiGate to connect to any available third-party NTP server. */ ntpservers?: pulumi.Input<pulumi.Input<string>[]>; /** * Enable/disable setting the FortiGate system time by synchronizing with an NTP Server. */ ntpsync?: pulumi.Input<string>; /** * Use the FortiGuard NTP server or any other available NTP Server. */ type: pulumi.Input<string>; }