1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. getNtp
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system.getNtp

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Use this data source to get information on fortios system ntp

    Using getNtp

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNtp(args: GetNtpArgs, opts?: InvokeOptions): Promise<GetNtpResult>
    function getNtpOutput(args: GetNtpOutputArgs, opts?: InvokeOptions): Output<GetNtpResult>
    def get_ntp(vdomparam: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetNtpResult
    def get_ntp_output(vdomparam: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetNtpResult]
    func LookupNtp(ctx *Context, args *LookupNtpArgs, opts ...InvokeOption) (*LookupNtpResult, error)
    func LookupNtpOutput(ctx *Context, args *LookupNtpOutputArgs, opts ...InvokeOption) LookupNtpResultOutput

    > Note: This function is named LookupNtp in the Go SDK.

    public static class GetNtp 
    {
        public static Task<GetNtpResult> InvokeAsync(GetNtpArgs args, InvokeOptions? opts = null)
        public static Output<GetNtpResult> Invoke(GetNtpInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNtpResult> getNtp(GetNtpArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: fortios:system/getNtp:getNtp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Vdomparam string
    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
    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
    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
    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 str
    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
    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.

    getNtp Result

    The following output properties are available:

    Authentication string
    Enable/disable MD5/SHA1 authentication.
    Id string
    The provider-assigned unique ID for this managed resource.
    Interfaces List<Pulumiverse.Fortios.System.Outputs.GetNtpInterface>
    Specify outgoing interface to reach server.
    Key string
    Key for MD5/SHA1 authentication.
    KeyId int
    Key ID for authentication.
    KeyType string
    Select NTP authentication type.
    Ntpservers List<Pulumiverse.Fortios.System.Outputs.GetNtpNtpserver>
    Configure the FortiGate to connect to any available third-party NTP server. The structure of ntpserver block is documented below.
    Ntpsync string
    Enable/disable setting the FortiGate system time by synchronizing with an NTP Server.
    ServerMode 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.
    SourceIp string
    Source IP address for communication to the NTP server.
    SourceIp6 string
    Source IPv6 address for communication to the NTP server.
    Syncinterval int
    NTP synchronization interval (1 - 1440 min).
    Type string
    Use the FortiGuard NTP server or any other available NTP Server.
    Vdomparam string
    Authentication string
    Enable/disable MD5/SHA1 authentication.
    Id string
    The provider-assigned unique ID for this managed resource.
    Interfaces []GetNtpInterface
    Specify outgoing interface to reach server.
    Key string
    Key for MD5/SHA1 authentication.
    KeyId int
    Key ID for authentication.
    KeyType string
    Select NTP authentication type.
    Ntpservers []GetNtpNtpserver
    Configure the FortiGate to connect to any available third-party NTP server. The structure of ntpserver block is documented below.
    Ntpsync string
    Enable/disable setting the FortiGate system time by synchronizing with an NTP Server.
    ServerMode 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.
    SourceIp string
    Source IP address for communication to the NTP server.
    SourceIp6 string
    Source IPv6 address for communication to the NTP server.
    Syncinterval int
    NTP synchronization interval (1 - 1440 min).
    Type string
    Use the FortiGuard NTP server or any other available NTP Server.
    Vdomparam string
    authentication String
    Enable/disable MD5/SHA1 authentication.
    id String
    The provider-assigned unique ID for this managed resource.
    interfaces List<GetNtpInterface>
    Specify outgoing interface to reach server.
    key String
    Key for MD5/SHA1 authentication.
    keyId Integer
    Key ID for authentication.
    keyType String
    Select NTP authentication type.
    ntpservers List<GetNtpNtpserver>
    Configure the FortiGate to connect to any available third-party NTP server. The structure of ntpserver block is documented below.
    ntpsync String
    Enable/disable setting the FortiGate system time by synchronizing with an NTP Server.
    serverMode 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.
    sourceIp String
    Source IP address for communication to the NTP server.
    sourceIp6 String
    Source IPv6 address for communication to the NTP server.
    syncinterval Integer
    NTP synchronization interval (1 - 1440 min).
    type String
    Use the FortiGuard NTP server or any other available NTP Server.
    vdomparam String
    authentication string
    Enable/disable MD5/SHA1 authentication.
    id string
    The provider-assigned unique ID for this managed resource.
    interfaces GetNtpInterface[]
    Specify outgoing interface to reach server.
    key string
    Key for MD5/SHA1 authentication.
    keyId number
    Key ID for authentication.
    keyType string
    Select NTP authentication type.
    ntpservers GetNtpNtpserver[]
    Configure the FortiGate to connect to any available third-party NTP server. The structure of ntpserver block is documented below.
    ntpsync string
    Enable/disable setting the FortiGate system time by synchronizing with an NTP Server.
    serverMode 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.
    sourceIp string
    Source IP address for communication to the NTP server.
    sourceIp6 string
    Source IPv6 address for communication to the NTP server.
    syncinterval number
    NTP synchronization interval (1 - 1440 min).
    type string
    Use the FortiGuard NTP server or any other available NTP Server.
    vdomparam string
    authentication str
    Enable/disable MD5/SHA1 authentication.
    id str
    The provider-assigned unique ID for this managed resource.
    interfaces Sequence[GetNtpInterface]
    Specify outgoing interface to reach server.
    key str
    Key for MD5/SHA1 authentication.
    key_id int
    Key ID for authentication.
    key_type str
    Select NTP authentication type.
    ntpservers Sequence[GetNtpNtpserver]
    Configure the FortiGate to connect to any available third-party NTP server. The structure of ntpserver block is documented below.
    ntpsync str
    Enable/disable setting the FortiGate system time by synchronizing with an NTP Server.
    server_mode str
    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.
    source_ip str
    Source IP address for communication to the NTP server.
    source_ip6 str
    Source IPv6 address for communication to the NTP server.
    syncinterval int
    NTP synchronization interval (1 - 1440 min).
    type str
    Use the FortiGuard NTP server or any other available NTP Server.
    vdomparam str
    authentication String
    Enable/disable MD5/SHA1 authentication.
    id String
    The provider-assigned unique ID for this managed resource.
    interfaces List<Property Map>
    Specify outgoing interface to reach server.
    key String
    Key for MD5/SHA1 authentication.
    keyId Number
    Key ID for authentication.
    keyType String
    Select NTP authentication type.
    ntpservers List<Property Map>
    Configure the FortiGate to connect to any available third-party NTP server. The structure of ntpserver block is documented below.
    ntpsync String
    Enable/disable setting the FortiGate system time by synchronizing with an NTP Server.
    serverMode 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.
    sourceIp String
    Source IP address for communication to the NTP server.
    sourceIp6 String
    Source IPv6 address for communication to the NTP server.
    syncinterval Number
    NTP synchronization interval (1 - 1440 min).
    type String
    Use the FortiGuard NTP server or any other available NTP Server.
    vdomparam String

    Supporting Types

    GetNtpInterface

    InterfaceName string
    Interface name.
    InterfaceName string
    Interface name.
    interfaceName String
    Interface name.
    interfaceName string
    Interface name.
    interface_name str
    Interface name.
    interfaceName String
    Interface name.

    GetNtpNtpserver

    Authentication string
    Enable/disable MD5/SHA1 authentication.
    Id int
    NTP server ID.
    Interface string
    Specify outgoing interface to reach server.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server.
    IpType string
    Choose to connect to IPv4 or/and IPv6 NTP server.
    Key string
    Key for MD5/SHA1 authentication.
    KeyId int
    Key ID for authentication.
    KeyType string
    Select NTP authentication type.
    Ntpv3 string
    Enable to use NTPv3 instead of NTPv4.
    Server string
    IP address or hostname of the NTP Server.
    Authentication string
    Enable/disable MD5/SHA1 authentication.
    Id int
    NTP server ID.
    Interface string
    Specify outgoing interface to reach server.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server.
    IpType string
    Choose to connect to IPv4 or/and IPv6 NTP server.
    Key string
    Key for MD5/SHA1 authentication.
    KeyId int
    Key ID for authentication.
    KeyType string
    Select NTP authentication type.
    Ntpv3 string
    Enable to use NTPv3 instead of NTPv4.
    Server string
    IP address or hostname of the NTP Server.
    authentication String
    Enable/disable MD5/SHA1 authentication.
    id Integer
    NTP server ID.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server.
    interface_ String
    Specify outgoing interface to reach server.
    ipType String
    Choose to connect to IPv4 or/and IPv6 NTP server.
    key String
    Key for MD5/SHA1 authentication.
    keyId Integer
    Key ID for authentication.
    keyType String
    Select NTP authentication type.
    ntpv3 String
    Enable to use NTPv3 instead of NTPv4.
    server String
    IP address or hostname of the NTP Server.
    authentication string
    Enable/disable MD5/SHA1 authentication.
    id number
    NTP server ID.
    interface string
    Specify outgoing interface to reach server.
    interfaceSelectMethod string
    Specify how to select outgoing interface to reach server.
    ipType string
    Choose to connect to IPv4 or/and IPv6 NTP server.
    key string
    Key for MD5/SHA1 authentication.
    keyId number
    Key ID for authentication.
    keyType string
    Select NTP authentication type.
    ntpv3 string
    Enable to use NTPv3 instead of NTPv4.
    server string
    IP address or hostname of the NTP Server.
    authentication str
    Enable/disable MD5/SHA1 authentication.
    id int
    NTP server ID.
    interface str
    Specify outgoing interface to reach server.
    interface_select_method str
    Specify how to select outgoing interface to reach server.
    ip_type str
    Choose to connect to IPv4 or/and IPv6 NTP server.
    key str
    Key for MD5/SHA1 authentication.
    key_id int
    Key ID for authentication.
    key_type str
    Select NTP authentication type.
    ntpv3 str
    Enable to use NTPv3 instead of NTPv4.
    server str
    IP address or hostname of the NTP Server.
    authentication String
    Enable/disable MD5/SHA1 authentication.
    id Number
    NTP server ID.
    interface String
    Specify outgoing interface to reach server.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server.
    ipType String
    Choose to connect to IPv4 or/and IPv6 NTP server.
    key String
    Key for MD5/SHA1 authentication.
    keyId Number
    Key ID for authentication.
    keyType String
    Select NTP authentication type.
    ntpv3 String
    Enable to use NTPv3 instead of NTPv4.
    server String
    IP address or hostname of the NTP Server.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse