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

fortios.system.Ptp

Explore with Pulumi AI

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

    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)
    public Ptp(String name, PtpArgs args)
    public Ptp(String name, PtpArgs args, CustomResourceOptions options)
    
    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=[{
            "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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Ptp resource accepts the following input properties:

    Interface string
    PTP slave will reply through this interface.
    DelayMechanism string
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
    RequestInterval int
    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
    ServerInterfaces List<Pulumiverse.Fortios.System.Inputs.PtpServerInterface>
    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.
    ServerMode 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.
    DelayMechanism string
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
    RequestInterval int
    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
    ServerInterfaces []PtpServerInterfaceArgs
    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.
    ServerMode 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.
    delayMechanism String
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
    requestInterval Integer
    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
    serverInterfaces List<PtpServerInterface>
    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.
    serverMode 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.
    delayMechanism string
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    dynamicSortSubtable string
    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 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
    requestInterval number
    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
    serverInterfaces PtpServerInterface[]
    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.
    serverMode 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_subtable str
    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_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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[PtpServerInterfaceArgs]
    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.
    delayMechanism String
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
    requestInterval Number
    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
    serverInterfaces 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.
    serverMode 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.
    The following state arguments are supported:
    DelayMechanism string
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
    RequestInterval int
    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
    ServerInterfaces List<Pulumiverse.Fortios.System.Inputs.PtpServerInterface>
    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.
    ServerMode 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.
    DelayMechanism string
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
    RequestInterval int
    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
    ServerInterfaces []PtpServerInterfaceArgs
    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.
    ServerMode 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.
    delayMechanism String
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
    requestInterval Integer
    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
    serverInterfaces List<PtpServerInterface>
    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.
    serverMode 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.
    delayMechanism string
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    dynamicSortSubtable string
    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 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
    requestInterval number
    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
    serverInterfaces PtpServerInterface[]
    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.
    serverMode 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_subtable str
    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_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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[PtpServerInterfaceArgs]
    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.
    delayMechanism String
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
    requestInterval Number
    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the slave to the master.
    serverInterfaces 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.
    serverMode 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

    DelayMechanism string
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    Id int
    ID.
    ServerInterfaceName string
    Interface name.
    DelayMechanism string
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    Id int
    ID.
    ServerInterfaceName string
    Interface name.
    delayMechanism String
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    id Integer
    ID.
    serverInterfaceName String
    Interface name.
    delayMechanism string
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    id number
    ID.
    serverInterfaceName string
    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_name str
    Interface name.
    delayMechanism String
    End to end delay detection or peer to peer delay detection. Valid values: E2E, P2P.
    id Number
    ID.
    serverInterfaceName String
    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.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse