fortios.system.Ptp
Explore with Pulumi AI
Configure system PTP information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.system.Ptp("trname", {
delayMechanism: "E2E",
"interface": "port3",
mode: "multicast",
requestInterval: 1,
status: "enable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.system.Ptp("trname",
delay_mechanism="E2E",
interface="port3",
mode="multicast",
request_interval=1,
status="enable")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := system.NewPtp(ctx, "trname", &system.PtpArgs{
DelayMechanism: pulumi.String("E2E"),
Interface: pulumi.String("port3"),
Mode: pulumi.String("multicast"),
RequestInterval: pulumi.Int(1),
Status: pulumi.String("enable"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.System.Ptp("trname", new()
{
DelayMechanism = "E2E",
Interface = "port3",
Mode = "multicast",
RequestInterval = 1,
Status = "enable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.system.Ptp;
import com.pulumi.fortios.system.PtpArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname = new Ptp("trname", PtpArgs.builder()
.delayMechanism("E2E")
.interface_("port3")
.mode("multicast")
.requestInterval(1)
.status("enable")
.build());
}
}
resources:
trname:
type: fortios:system:Ptp
properties:
delayMechanism: E2E
interface: port3
mode: multicast
requestInterval: 1
status: enable
Create Ptp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ptp(name: string, args: PtpArgs, opts?: CustomResourceOptions);
@overload
def Ptp(resource_name: str,
args: PtpArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Ptp(resource_name: str,
opts: Optional[ResourceOptions] = None,
interface: Optional[str] = None,
delay_mechanism: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
mode: Optional[str] = None,
request_interval: Optional[int] = None,
server_interfaces: Optional[Sequence[PtpServerInterfaceArgs]] = None,
server_mode: Optional[str] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewPtp(ctx *Context, name string, args PtpArgs, opts ...ResourceOption) (*Ptp, error)
public Ptp(string name, PtpArgs args, CustomResourceOptions? opts = null)
type: fortios:system:Ptp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PtpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PtpArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PtpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PtpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PtpArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ptpResource = new Fortios.System.Ptp("ptpResource", new()
{
Interface = "string",
DelayMechanism = "string",
DynamicSortSubtable = "string",
GetAllTables = "string",
Mode = "string",
RequestInterval = 0,
ServerInterfaces = new[]
{
new Fortios.System.Inputs.PtpServerInterfaceArgs
{
DelayMechanism = "string",
Id = 0,
ServerInterfaceName = "string",
},
},
ServerMode = "string",
Status = "string",
Vdomparam = "string",
});
example, err := system.NewPtp(ctx, "ptpResource", &system.PtpArgs{
Interface: pulumi.String("string"),
DelayMechanism: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
Mode: pulumi.String("string"),
RequestInterval: pulumi.Int(0),
ServerInterfaces: system.PtpServerInterfaceArray{
&system.PtpServerInterfaceArgs{
DelayMechanism: pulumi.String("string"),
Id: pulumi.Int(0),
ServerInterfaceName: pulumi.String("string"),
},
},
ServerMode: pulumi.String("string"),
Status: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var ptpResource = new Ptp("ptpResource", PtpArgs.builder()
.interface_("string")
.delayMechanism("string")
.dynamicSortSubtable("string")
.getAllTables("string")
.mode("string")
.requestInterval(0)
.serverInterfaces(PtpServerInterfaceArgs.builder()
.delayMechanism("string")
.id(0)
.serverInterfaceName("string")
.build())
.serverMode("string")
.status("string")
.vdomparam("string")
.build());
ptp_resource = fortios.system.Ptp("ptpResource",
interface="string",
delay_mechanism="string",
dynamic_sort_subtable="string",
get_all_tables="string",
mode="string",
request_interval=0,
server_interfaces=[fortios.system.PtpServerInterfaceArgs(
delay_mechanism="string",
id=0,
server_interface_name="string",
)],
server_mode="string",
status="string",
vdomparam="string")
const ptpResource = new fortios.system.Ptp("ptpResource", {
"interface": "string",
delayMechanism: "string",
dynamicSortSubtable: "string",
getAllTables: "string",
mode: "string",
requestInterval: 0,
serverInterfaces: [{
delayMechanism: "string",
id: 0,
serverInterfaceName: "string",
}],
serverMode: "string",
status: "string",
vdomparam: "string",
});
type: fortios:system:Ptp
properties:
delayMechanism: string
dynamicSortSubtable: string
getAllTables: string
interface: string
mode: string
requestInterval: 0
serverInterfaces:
- delayMechanism: string
id: 0
serverInterfaceName: string
serverMode: string
status: string
vdomparam: string
Ptp Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Ptp resource accepts the following input properties:
- Interface string
- PTP slave will reply through this interface.
- Delay
Mechanism string - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Mode string
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - Request
Interval int - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- Server
Interfaces List<Pulumiverse.Fortios. System. Inputs. Ptp Server Interface> - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - Server
Mode string - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - Status string
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource 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.
- Interface string
- PTP slave will reply through this interface.
- Delay
Mechanism string - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Mode string
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - Request
Interval int - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- Server
Interfaces []PtpServer Interface Args - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - Server
Mode string - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - Status string
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource 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.
- interface_ String
- PTP slave will reply through this interface.
- delay
Mechanism String - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- mode String
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - request
Interval Integer - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- server
Interfaces List<PtpServer Interface> - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - server
Mode String - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - status String
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource 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.
- interface string
- PTP slave will reply through this interface.
- delay
Mechanism string - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- mode string
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - request
Interval number - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- server
Interfaces PtpServer Interface[] - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - server
Mode string - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - status string
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - vdomparam string
- Specifies the vdom to which the resource 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.
- interface str
- PTP slave will reply through this interface.
- delay_
mechanism str - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- mode str
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - request_
interval int - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- server_
interfaces Sequence[PtpServer Interface Args] - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - server_
mode str - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - status str
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - vdomparam str
- Specifies the vdom to which the resource 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.
- interface String
- PTP slave will reply through this interface.
- delay
Mechanism String - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- mode String
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - request
Interval Number - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- server
Interfaces List<Property Map> - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - server
Mode String - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - status String
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ptp resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Ptp Resource
Get an existing Ptp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PtpState, opts?: CustomResourceOptions): Ptp
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
delay_mechanism: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
interface: Optional[str] = None,
mode: Optional[str] = None,
request_interval: Optional[int] = None,
server_interfaces: Optional[Sequence[PtpServerInterfaceArgs]] = None,
server_mode: Optional[str] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None) -> Ptp
func GetPtp(ctx *Context, name string, id IDInput, state *PtpState, opts ...ResourceOption) (*Ptp, error)
public static Ptp Get(string name, Input<string> id, PtpState? state, CustomResourceOptions? opts = null)
public static Ptp get(String name, Output<String> id, PtpState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Delay
Mechanism string - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Interface string
- PTP slave will reply through this interface.
- Mode string
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - Request
Interval int - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- Server
Interfaces List<Pulumiverse.Fortios. System. Inputs. Ptp Server Interface> - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - Server
Mode string - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - Status string
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource 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.
- Delay
Mechanism string - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Interface string
- PTP slave will reply through this interface.
- Mode string
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - Request
Interval int - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- Server
Interfaces []PtpServer Interface Args - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - Server
Mode string - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - Status string
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource 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.
- delay
Mechanism String - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface_ String
- PTP slave will reply through this interface.
- mode String
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - request
Interval Integer - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- server
Interfaces List<PtpServer Interface> - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - server
Mode String - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - status String
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource 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.
- delay
Mechanism string - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface string
- PTP slave will reply through this interface.
- mode string
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - request
Interval number - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- server
Interfaces PtpServer Interface[] - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - server
Mode string - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - status string
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - vdomparam string
- Specifies the vdom to which the resource 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.
- delay_
mechanism str - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface str
- PTP slave will reply through this interface.
- mode str
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - request_
interval int - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- server_
interfaces Sequence[PtpServer Interface Args] - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - server_
mode str - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - status str
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - vdomparam str
- Specifies the vdom to which the resource 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.
- delay
Mechanism String - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface String
- PTP slave will reply through this interface.
- mode String
- Multicast transmission or hybrid transmission. Valid values:
multicast
,hybrid
. - request
Interval Number - The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
- server
Interfaces List<Property Map> - FortiGate interface(s) with PTP server mode enabled. Devices on your network can contact these interfaces for PTP services. The structure of
server_interface
block is documented below. - server
Mode String - Enable/disable FortiGate PTP server mode. Your FortiGate becomes an PTP server for other devices on your network. Valid values:
enable
,disable
. - status String
- Enable/disable setting the FortiGate system time by synchronizing with an PTP Server. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource 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.
Supporting Types
PtpServerInterface, PtpServerInterfaceArgs
- Delay
Mechanism string - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - Id int
- ID.
- Server
Interface stringName - Interface name.
- Delay
Mechanism string - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - Id int
- ID.
- Server
Interface stringName - Interface name.
- delay
Mechanism String - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - id Integer
- ID.
- server
Interface StringName - Interface name.
- delay
Mechanism string - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - id number
- ID.
- server
Interface stringName - Interface name.
- delay_
mechanism str - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - id int
- ID.
- server_
interface_ strname - Interface name.
- delay
Mechanism String - End to end delay detection or peer to peer delay detection. Valid values:
E2E
,P2P
. - id Number
- ID.
- server
Interface StringName - Interface name.
Import
System Ptp can be imported using any of these accepted formats:
$ pulumi import fortios:system/ptp:Ptp labelname SystemPtp
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/ptp:Ptp labelname SystemPtp
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.