Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
fortios.system.getNtp
Explore with Pulumi AI
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. Get Ntp Interface> - Specify outgoing interface to reach server.
- Key string
- Key for MD5/SHA1 authentication.
- Key
Id int - Key ID for authentication.
- Key
Type string - Key type for authentication (MD5, SHA1).
- Ntpservers
List<Pulumiverse.
Fortios. System. Outputs. Get Ntp Ntpserver> - 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.
- Server
Mode 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.
- Source
Ip string - Source IP address for communication to the NTP server.
- Source
Ip6 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
[]Get
Ntp Interface - Specify outgoing interface to reach server.
- Key string
- Key for MD5/SHA1 authentication.
- Key
Id int - Key ID for authentication.
- Key
Type string - Key type for authentication (MD5, SHA1).
- Ntpservers
[]Get
Ntp Ntpserver - 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.
- Server
Mode 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.
- Source
Ip string - Source IP address for communication to the NTP server.
- Source
Ip6 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<Get
Ntp Interface> - Specify outgoing interface to reach server.
- key String
- Key for MD5/SHA1 authentication.
- key
Id Integer - Key ID for authentication.
- key
Type String - Key type for authentication (MD5, SHA1).
- ntpservers
List<Get
Ntp Ntpserver> - 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.
- server
Mode 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.
- source
Ip String - Source IP address for communication to the NTP server.
- source
Ip6 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
Get
Ntp Interface[] - Specify outgoing interface to reach server.
- key string
- Key for MD5/SHA1 authentication.
- key
Id number - Key ID for authentication.
- key
Type string - Key type for authentication (MD5, SHA1).
- ntpservers
Get
Ntp Ntpserver[] - 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.
- server
Mode 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.
- source
Ip string - Source IP address for communication to the NTP server.
- source
Ip6 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[Get
Ntp Interface] - Specify outgoing interface to reach server.
- key str
- Key for MD5/SHA1 authentication.
- key_
id int - Key ID for authentication.
- key_
type str - Key type for authentication (MD5, SHA1).
- ntpservers
Sequence[Get
Ntp Ntpserver] - 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.
- key
Id Number - Key ID for authentication.
- key
Type String - Key type for authentication (MD5, SHA1).
- 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.
- server
Mode 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.
- source
Ip String - Source IP address for communication to the NTP server.
- source
Ip6 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
- Interface
Name string - Interface name.
- Interface
Name string - Interface name.
- interface
Name String - Interface name.
- interface
Name string - Interface name.
- interface_
name str - Interface name.
- interface
Name String - Interface name.
GetNtpNtpserver
- Authentication string
- Enable/disable MD5/SHA1 authentication.
- Id int
- NTP server ID.
- Interface string
- Specify outgoing interface to reach server.
- Interface
Select stringMethod - Specify how to select outgoing interface to reach server.
- Ip
Type string - Choose to connect to IPv4 or/and IPv6 NTP server.
- Key string
- Key for MD5/SHA1 authentication.
- Key
Id int - Key ID for authentication.
- 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.
- Interface
Select stringMethod - Specify how to select outgoing interface to reach server.
- Ip
Type string - Choose to connect to IPv4 or/and IPv6 NTP server.
- Key string
- Key for MD5/SHA1 authentication.
- Key
Id int - Key ID for authentication.
- 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.
- interface
Select StringMethod - Specify how to select outgoing interface to reach server.
- interface_ String
- Specify outgoing interface to reach server.
- ip
Type String - Choose to connect to IPv4 or/and IPv6 NTP server.
- key String
- Key for MD5/SHA1 authentication.
- key
Id Integer - Key ID for authentication.
- 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.
- interface
Select stringMethod - Specify how to select outgoing interface to reach server.
- ip
Type string - Choose to connect to IPv4 or/and IPv6 NTP server.
- key string
- Key for MD5/SHA1 authentication.
- key
Id number - Key ID for authentication.
- 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_ strmethod - 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.
- 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.
- interface
Select StringMethod - Specify how to select outgoing interface to reach server.
- ip
Type String - Choose to connect to IPv4 or/and IPv6 NTP server.
- key String
- Key for MD5/SHA1 authentication.
- key
Id Number - Key ID for authentication.
- 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.