1. Packages
  2. Fortios
  3. API Docs
  4. networking
  5. InterfacePort
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.networking.InterfacePort

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Provides a resource to configure interface settings of FortiOS.

    !> Warning: The resource will be deprecated and replaced by new resource fortios.system.Interface, we recommend that you use the new resource.

    Example Usage

    Loopback Interface

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const loopback1 = new fortios.networking.InterfacePort("loopback1", {
        alias: "cc1",
        allowaccess: "ping http",
        description: "description",
        ip: "23.123.33.10 255.255.255.0",
        mode: "static",
        role: "lan",
        status: "up",
        type: "loopback",
        vdom: "root",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    loopback1 = fortios.networking.InterfacePort("loopback1",
        alias="cc1",
        allowaccess="ping http",
        description="description",
        ip="23.123.33.10 255.255.255.0",
        mode="static",
        role="lan",
        status="up",
        type="loopback",
        vdom="root")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/networking"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networking.NewInterfacePort(ctx, "loopback1", &networking.InterfacePortArgs{
    			Alias:       pulumi.String("cc1"),
    			Allowaccess: pulumi.String("ping http"),
    			Description: pulumi.String("description"),
    			Ip:          pulumi.String("23.123.33.10 255.255.255.0"),
    			Mode:        pulumi.String("static"),
    			Role:        pulumi.String("lan"),
    			Status:      pulumi.String("up"),
    			Type:        pulumi.String("loopback"),
    			Vdom:        pulumi.String("root"),
    		})
    		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 loopback1 = new Fortios.Networking.InterfacePort("loopback1", new()
        {
            Alias = "cc1",
            Allowaccess = "ping http",
            Description = "description",
            Ip = "23.123.33.10 255.255.255.0",
            Mode = "static",
            Role = "lan",
            Status = "up",
            Type = "loopback",
            Vdom = "root",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.networking.InterfacePort;
    import com.pulumi.fortios.networking.InterfacePortArgs;
    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 loopback1 = new InterfacePort("loopback1", InterfacePortArgs.builder()        
                .alias("cc1")
                .allowaccess("ping http")
                .description("description")
                .ip("23.123.33.10 255.255.255.0")
                .mode("static")
                .role("lan")
                .status("up")
                .type("loopback")
                .vdom("root")
                .build());
    
        }
    }
    
    resources:
      loopback1:
        type: fortios:networking:InterfacePort
        properties:
          alias: cc1
          allowaccess: ping http
          description: description
          ip: 23.123.33.10 255.255.255.0
          mode: static
          role: lan
          status: up
          type: loopback
          vdom: root
    

    VLAN Interface

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const vlan1 = new fortios.networking.InterfacePort("vlan1", {
        allowaccess: "ping",
        defaultgw: "enable",
        distance: "33",
        "interface": "port2",
        ip: "3.123.33.10 255.255.255.0",
        mode: "static",
        role: "lan",
        type: "vlan",
        vdom: "root",
        vlanid: "3",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    vlan1 = fortios.networking.InterfacePort("vlan1",
        allowaccess="ping",
        defaultgw="enable",
        distance="33",
        interface="port2",
        ip="3.123.33.10 255.255.255.0",
        mode="static",
        role="lan",
        type="vlan",
        vdom="root",
        vlanid="3")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/networking"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networking.NewInterfacePort(ctx, "vlan1", &networking.InterfacePortArgs{
    			Allowaccess: pulumi.String("ping"),
    			Defaultgw:   pulumi.String("enable"),
    			Distance:    pulumi.String("33"),
    			Interface:   pulumi.String("port2"),
    			Ip:          pulumi.String("3.123.33.10 255.255.255.0"),
    			Mode:        pulumi.String("static"),
    			Role:        pulumi.String("lan"),
    			Type:        pulumi.String("vlan"),
    			Vdom:        pulumi.String("root"),
    			Vlanid:      pulumi.String("3"),
    		})
    		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 vlan1 = new Fortios.Networking.InterfacePort("vlan1", new()
        {
            Allowaccess = "ping",
            Defaultgw = "enable",
            Distance = "33",
            Interface = "port2",
            Ip = "3.123.33.10 255.255.255.0",
            Mode = "static",
            Role = "lan",
            Type = "vlan",
            Vdom = "root",
            Vlanid = "3",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.networking.InterfacePort;
    import com.pulumi.fortios.networking.InterfacePortArgs;
    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 vlan1 = new InterfacePort("vlan1", InterfacePortArgs.builder()        
                .allowaccess("ping")
                .defaultgw("enable")
                .distance("33")
                .interface_("port2")
                .ip("3.123.33.10 255.255.255.0")
                .mode("static")
                .role("lan")
                .type("vlan")
                .vdom("root")
                .vlanid("3")
                .build());
    
        }
    }
    
    resources:
      vlan1:
        type: fortios:networking:InterfacePort
        properties:
          allowaccess: ping
          defaultgw: enable
          distance: '33'
          interface: port2
          ip: 3.123.33.10 255.255.255.0
          mode: static
          role: lan
          type: vlan
          vdom: root
          vlanid: '3'
    

    Physical Interface

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const test1 = new fortios.networking.InterfacePort("test1", {
        alias: "dkeeew",
        allowaccess: "ping https",
        defaultgw: "enable",
        description: "description",
        deviceIdentification: "enable",
        distance: "33",
        dnsServerOverride: "enable",
        ip: "93.133.133.110 255.255.255.0",
        mode: "static",
        mtu: "2933",
        mtuOverride: "enable",
        role: "lan",
        speed: "auto",
        status: "up",
        tcpMss: "3232",
        type: "physical",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    test1 = fortios.networking.InterfacePort("test1",
        alias="dkeeew",
        allowaccess="ping https",
        defaultgw="enable",
        description="description",
        device_identification="enable",
        distance="33",
        dns_server_override="enable",
        ip="93.133.133.110 255.255.255.0",
        mode="static",
        mtu="2933",
        mtu_override="enable",
        role="lan",
        speed="auto",
        status="up",
        tcp_mss="3232",
        type="physical")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/networking"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networking.NewInterfacePort(ctx, "test1", &networking.InterfacePortArgs{
    			Alias:                pulumi.String("dkeeew"),
    			Allowaccess:          pulumi.String("ping https"),
    			Defaultgw:            pulumi.String("enable"),
    			Description:          pulumi.String("description"),
    			DeviceIdentification: pulumi.String("enable"),
    			Distance:             pulumi.String("33"),
    			DnsServerOverride:    pulumi.String("enable"),
    			Ip:                   pulumi.String("93.133.133.110 255.255.255.0"),
    			Mode:                 pulumi.String("static"),
    			Mtu:                  pulumi.String("2933"),
    			MtuOverride:          pulumi.String("enable"),
    			Role:                 pulumi.String("lan"),
    			Speed:                pulumi.String("auto"),
    			Status:               pulumi.String("up"),
    			TcpMss:               pulumi.String("3232"),
    			Type:                 pulumi.String("physical"),
    		})
    		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 test1 = new Fortios.Networking.InterfacePort("test1", new()
        {
            Alias = "dkeeew",
            Allowaccess = "ping https",
            Defaultgw = "enable",
            Description = "description",
            DeviceIdentification = "enable",
            Distance = "33",
            DnsServerOverride = "enable",
            Ip = "93.133.133.110 255.255.255.0",
            Mode = "static",
            Mtu = "2933",
            MtuOverride = "enable",
            Role = "lan",
            Speed = "auto",
            Status = "up",
            TcpMss = "3232",
            Type = "physical",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.networking.InterfacePort;
    import com.pulumi.fortios.networking.InterfacePortArgs;
    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 test1 = new InterfacePort("test1", InterfacePortArgs.builder()        
                .alias("dkeeew")
                .allowaccess("ping https")
                .defaultgw("enable")
                .description("description")
                .deviceIdentification("enable")
                .distance("33")
                .dnsServerOverride("enable")
                .ip("93.133.133.110 255.255.255.0")
                .mode("static")
                .mtu("2933")
                .mtuOverride("enable")
                .role("lan")
                .speed("auto")
                .status("up")
                .tcpMss("3232")
                .type("physical")
                .build());
    
        }
    }
    
    resources:
      test1:
        type: fortios:networking:InterfacePort
        properties:
          alias: dkeeew
          allowaccess: ping https
          defaultgw: enable
          description: description
          deviceIdentification: enable
          distance: '33'
          dnsServerOverride: enable
          ip: 93.133.133.110 255.255.255.0
          mode: static
          mtu: '2933'
          mtuOverride: enable
          role: lan
          speed: auto
          status: up
          tcpMss: '3232'
          type: physical
    

    Create InterfacePort Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InterfacePort(name: string, args: InterfacePortArgs, opts?: CustomResourceOptions);
    @overload
    def InterfacePort(resource_name: str,
                      args: InterfacePortArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def InterfacePort(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      type: Optional[str] = None,
                      mtu: Optional[str] = None,
                      vlanid: Optional[str] = None,
                      mode: Optional[str] = None,
                      device_identification: Optional[str] = None,
                      distance: Optional[str] = None,
                      dns_server_override: Optional[str] = None,
                      interface: Optional[str] = None,
                      ip: Optional[str] = None,
                      description: Optional[str] = None,
                      defaultgw: Optional[str] = None,
                      name: Optional[str] = None,
                      mtu_override: Optional[str] = None,
                      role: Optional[str] = None,
                      speed: Optional[str] = None,
                      status: Optional[str] = None,
                      tcp_mss: Optional[str] = None,
                      allowaccess: Optional[str] = None,
                      vdom: Optional[str] = None,
                      alias: Optional[str] = None)
    func NewInterfacePort(ctx *Context, name string, args InterfacePortArgs, opts ...ResourceOption) (*InterfacePort, error)
    public InterfacePort(string name, InterfacePortArgs args, CustomResourceOptions? opts = null)
    public InterfacePort(String name, InterfacePortArgs args)
    public InterfacePort(String name, InterfacePortArgs args, CustomResourceOptions options)
    
    type: fortios:networking:InterfacePort
    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 InterfacePortArgs
    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 InterfacePortArgs
    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 InterfacePortArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InterfacePortArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InterfacePortArgs
    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 interfacePortResource = new Fortios.Networking.InterfacePort("interfacePortResource", new()
    {
        Type = "string",
        Mtu = "string",
        Vlanid = "string",
        Mode = "string",
        DeviceIdentification = "string",
        Distance = "string",
        DnsServerOverride = "string",
        Interface = "string",
        Ip = "string",
        Description = "string",
        Defaultgw = "string",
        Name = "string",
        MtuOverride = "string",
        Role = "string",
        Speed = "string",
        Status = "string",
        TcpMss = "string",
        Allowaccess = "string",
        Vdom = "string",
        Alias = "string",
    });
    
    example, err := networking.NewInterfacePort(ctx, "interfacePortResource", &networking.InterfacePortArgs{
    	Type:                 pulumi.String("string"),
    	Mtu:                  pulumi.String("string"),
    	Vlanid:               pulumi.String("string"),
    	Mode:                 pulumi.String("string"),
    	DeviceIdentification: pulumi.String("string"),
    	Distance:             pulumi.String("string"),
    	DnsServerOverride:    pulumi.String("string"),
    	Interface:            pulumi.String("string"),
    	Ip:                   pulumi.String("string"),
    	Description:          pulumi.String("string"),
    	Defaultgw:            pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    	MtuOverride:          pulumi.String("string"),
    	Role:                 pulumi.String("string"),
    	Speed:                pulumi.String("string"),
    	Status:               pulumi.String("string"),
    	TcpMss:               pulumi.String("string"),
    	Allowaccess:          pulumi.String("string"),
    	Vdom:                 pulumi.String("string"),
    	Alias:                pulumi.String("string"),
    })
    
    var interfacePortResource = new InterfacePort("interfacePortResource", InterfacePortArgs.builder()
        .type("string")
        .mtu("string")
        .vlanid("string")
        .mode("string")
        .deviceIdentification("string")
        .distance("string")
        .dnsServerOverride("string")
        .interface_("string")
        .ip("string")
        .description("string")
        .defaultgw("string")
        .name("string")
        .mtuOverride("string")
        .role("string")
        .speed("string")
        .status("string")
        .tcpMss("string")
        .allowaccess("string")
        .vdom("string")
        .alias("string")
        .build());
    
    interface_port_resource = fortios.networking.InterfacePort("interfacePortResource",
        type="string",
        mtu="string",
        vlanid="string",
        mode="string",
        device_identification="string",
        distance="string",
        dns_server_override="string",
        interface="string",
        ip="string",
        description="string",
        defaultgw="string",
        name="string",
        mtu_override="string",
        role="string",
        speed="string",
        status="string",
        tcp_mss="string",
        allowaccess="string",
        vdom="string",
        alias="string")
    
    const interfacePortResource = new fortios.networking.InterfacePort("interfacePortResource", {
        type: "string",
        mtu: "string",
        vlanid: "string",
        mode: "string",
        deviceIdentification: "string",
        distance: "string",
        dnsServerOverride: "string",
        "interface": "string",
        ip: "string",
        description: "string",
        defaultgw: "string",
        name: "string",
        mtuOverride: "string",
        role: "string",
        speed: "string",
        status: "string",
        tcpMss: "string",
        allowaccess: "string",
        vdom: "string",
        alias: "string",
    });
    
    type: fortios:networking:InterfacePort
    properties:
        alias: string
        allowaccess: string
        defaultgw: string
        description: string
        deviceIdentification: string
        distance: string
        dnsServerOverride: string
        interface: string
        ip: string
        mode: string
        mtu: string
        mtuOverride: string
        name: string
        role: string
        speed: string
        status: string
        tcpMss: string
        type: string
        vdom: string
        vlanid: string
    

    InterfacePort 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 InterfacePort resource accepts the following input properties:

    Type string
    Interface type (support physical, vlan, loopback).
    Alias string
    Alias will be displayed with the interface name to make it easier to distinguish.
    Allowaccess string
    Permitted types of management access to this interface.
    Defaultgw string
    Enable to get the gateway IP from the DHCP or PPPoE server.
    Description string
    Description.
    DeviceIdentification string
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    Distance string
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    DnsServerOverride string
    Enable/disable use DNS acquired by DHCP or PPPoE.
    Interface string
    Interface name.
    Ip string
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    Mode string
    Addressing mode.
    Mtu string
    MTU value for this interface.
    MtuOverride string
    Enable to set a custom MTU for this interface.
    Name string
    Name.
    Role string
    Interface role.
    Speed string
    Interface speed. The default setting and the options available depend on the interface hardware.
    Status string
    Bring the interface up or shut the interface down.
    TcpMss string
    TCP maximum segment size. 0 means do not change segment size.
    Vdom string
    Interface is in this virtual domain (VDOM).
    Vlanid string
    VLAN ID.
    Type string
    Interface type (support physical, vlan, loopback).
    Alias string
    Alias will be displayed with the interface name to make it easier to distinguish.
    Allowaccess string
    Permitted types of management access to this interface.
    Defaultgw string
    Enable to get the gateway IP from the DHCP or PPPoE server.
    Description string
    Description.
    DeviceIdentification string
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    Distance string
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    DnsServerOverride string
    Enable/disable use DNS acquired by DHCP or PPPoE.
    Interface string
    Interface name.
    Ip string
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    Mode string
    Addressing mode.
    Mtu string
    MTU value for this interface.
    MtuOverride string
    Enable to set a custom MTU for this interface.
    Name string
    Name.
    Role string
    Interface role.
    Speed string
    Interface speed. The default setting and the options available depend on the interface hardware.
    Status string
    Bring the interface up or shut the interface down.
    TcpMss string
    TCP maximum segment size. 0 means do not change segment size.
    Vdom string
    Interface is in this virtual domain (VDOM).
    Vlanid string
    VLAN ID.
    type String
    Interface type (support physical, vlan, loopback).
    alias String
    Alias will be displayed with the interface name to make it easier to distinguish.
    allowaccess String
    Permitted types of management access to this interface.
    defaultgw String
    Enable to get the gateway IP from the DHCP or PPPoE server.
    description String
    Description.
    deviceIdentification String
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    distance String
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    dnsServerOverride String
    Enable/disable use DNS acquired by DHCP or PPPoE.
    interface_ String
    Interface name.
    ip String
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    mode String
    Addressing mode.
    mtu String
    MTU value for this interface.
    mtuOverride String
    Enable to set a custom MTU for this interface.
    name String
    Name.
    role String
    Interface role.
    speed String
    Interface speed. The default setting and the options available depend on the interface hardware.
    status String
    Bring the interface up or shut the interface down.
    tcpMss String
    TCP maximum segment size. 0 means do not change segment size.
    vdom String
    Interface is in this virtual domain (VDOM).
    vlanid String
    VLAN ID.
    type string
    Interface type (support physical, vlan, loopback).
    alias string
    Alias will be displayed with the interface name to make it easier to distinguish.
    allowaccess string
    Permitted types of management access to this interface.
    defaultgw string
    Enable to get the gateway IP from the DHCP or PPPoE server.
    description string
    Description.
    deviceIdentification string
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    distance string
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    dnsServerOverride string
    Enable/disable use DNS acquired by DHCP or PPPoE.
    interface string
    Interface name.
    ip string
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    mode string
    Addressing mode.
    mtu string
    MTU value for this interface.
    mtuOverride string
    Enable to set a custom MTU for this interface.
    name string
    Name.
    role string
    Interface role.
    speed string
    Interface speed. The default setting and the options available depend on the interface hardware.
    status string
    Bring the interface up or shut the interface down.
    tcpMss string
    TCP maximum segment size. 0 means do not change segment size.
    vdom string
    Interface is in this virtual domain (VDOM).
    vlanid string
    VLAN ID.
    type str
    Interface type (support physical, vlan, loopback).
    alias str
    Alias will be displayed with the interface name to make it easier to distinguish.
    allowaccess str
    Permitted types of management access to this interface.
    defaultgw str
    Enable to get the gateway IP from the DHCP or PPPoE server.
    description str
    Description.
    device_identification str
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    distance str
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    dns_server_override str
    Enable/disable use DNS acquired by DHCP or PPPoE.
    interface str
    Interface name.
    ip str
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    mode str
    Addressing mode.
    mtu str
    MTU value for this interface.
    mtu_override str
    Enable to set a custom MTU for this interface.
    name str
    Name.
    role str
    Interface role.
    speed str
    Interface speed. The default setting and the options available depend on the interface hardware.
    status str
    Bring the interface up or shut the interface down.
    tcp_mss str
    TCP maximum segment size. 0 means do not change segment size.
    vdom str
    Interface is in this virtual domain (VDOM).
    vlanid str
    VLAN ID.
    type String
    Interface type (support physical, vlan, loopback).
    alias String
    Alias will be displayed with the interface name to make it easier to distinguish.
    allowaccess String
    Permitted types of management access to this interface.
    defaultgw String
    Enable to get the gateway IP from the DHCP or PPPoE server.
    description String
    Description.
    deviceIdentification String
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    distance String
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    dnsServerOverride String
    Enable/disable use DNS acquired by DHCP or PPPoE.
    interface String
    Interface name.
    ip String
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    mode String
    Addressing mode.
    mtu String
    MTU value for this interface.
    mtuOverride String
    Enable to set a custom MTU for this interface.
    name String
    Name.
    role String
    Interface role.
    speed String
    Interface speed. The default setting and the options available depend on the interface hardware.
    status String
    Bring the interface up or shut the interface down.
    tcpMss String
    TCP maximum segment size. 0 means do not change segment size.
    vdom String
    Interface is in this virtual domain (VDOM).
    vlanid String
    VLAN ID.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InterfacePort 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 InterfacePort Resource

    Get an existing InterfacePort 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?: InterfacePortState, opts?: CustomResourceOptions): InterfacePort
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alias: Optional[str] = None,
            allowaccess: Optional[str] = None,
            defaultgw: Optional[str] = None,
            description: Optional[str] = None,
            device_identification: Optional[str] = None,
            distance: Optional[str] = None,
            dns_server_override: Optional[str] = None,
            interface: Optional[str] = None,
            ip: Optional[str] = None,
            mode: Optional[str] = None,
            mtu: Optional[str] = None,
            mtu_override: Optional[str] = None,
            name: Optional[str] = None,
            role: Optional[str] = None,
            speed: Optional[str] = None,
            status: Optional[str] = None,
            tcp_mss: Optional[str] = None,
            type: Optional[str] = None,
            vdom: Optional[str] = None,
            vlanid: Optional[str] = None) -> InterfacePort
    func GetInterfacePort(ctx *Context, name string, id IDInput, state *InterfacePortState, opts ...ResourceOption) (*InterfacePort, error)
    public static InterfacePort Get(string name, Input<string> id, InterfacePortState? state, CustomResourceOptions? opts = null)
    public static InterfacePort get(String name, Output<String> id, InterfacePortState 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:
    Alias string
    Alias will be displayed with the interface name to make it easier to distinguish.
    Allowaccess string
    Permitted types of management access to this interface.
    Defaultgw string
    Enable to get the gateway IP from the DHCP or PPPoE server.
    Description string
    Description.
    DeviceIdentification string
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    Distance string
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    DnsServerOverride string
    Enable/disable use DNS acquired by DHCP or PPPoE.
    Interface string
    Interface name.
    Ip string
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    Mode string
    Addressing mode.
    Mtu string
    MTU value for this interface.
    MtuOverride string
    Enable to set a custom MTU for this interface.
    Name string
    Name.
    Role string
    Interface role.
    Speed string
    Interface speed. The default setting and the options available depend on the interface hardware.
    Status string
    Bring the interface up or shut the interface down.
    TcpMss string
    TCP maximum segment size. 0 means do not change segment size.
    Type string
    Interface type (support physical, vlan, loopback).
    Vdom string
    Interface is in this virtual domain (VDOM).
    Vlanid string
    VLAN ID.
    Alias string
    Alias will be displayed with the interface name to make it easier to distinguish.
    Allowaccess string
    Permitted types of management access to this interface.
    Defaultgw string
    Enable to get the gateway IP from the DHCP or PPPoE server.
    Description string
    Description.
    DeviceIdentification string
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    Distance string
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    DnsServerOverride string
    Enable/disable use DNS acquired by DHCP or PPPoE.
    Interface string
    Interface name.
    Ip string
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    Mode string
    Addressing mode.
    Mtu string
    MTU value for this interface.
    MtuOverride string
    Enable to set a custom MTU for this interface.
    Name string
    Name.
    Role string
    Interface role.
    Speed string
    Interface speed. The default setting and the options available depend on the interface hardware.
    Status string
    Bring the interface up or shut the interface down.
    TcpMss string
    TCP maximum segment size. 0 means do not change segment size.
    Type string
    Interface type (support physical, vlan, loopback).
    Vdom string
    Interface is in this virtual domain (VDOM).
    Vlanid string
    VLAN ID.
    alias String
    Alias will be displayed with the interface name to make it easier to distinguish.
    allowaccess String
    Permitted types of management access to this interface.
    defaultgw String
    Enable to get the gateway IP from the DHCP or PPPoE server.
    description String
    Description.
    deviceIdentification String
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    distance String
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    dnsServerOverride String
    Enable/disable use DNS acquired by DHCP or PPPoE.
    interface_ String
    Interface name.
    ip String
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    mode String
    Addressing mode.
    mtu String
    MTU value for this interface.
    mtuOverride String
    Enable to set a custom MTU for this interface.
    name String
    Name.
    role String
    Interface role.
    speed String
    Interface speed. The default setting and the options available depend on the interface hardware.
    status String
    Bring the interface up or shut the interface down.
    tcpMss String
    TCP maximum segment size. 0 means do not change segment size.
    type String
    Interface type (support physical, vlan, loopback).
    vdom String
    Interface is in this virtual domain (VDOM).
    vlanid String
    VLAN ID.
    alias string
    Alias will be displayed with the interface name to make it easier to distinguish.
    allowaccess string
    Permitted types of management access to this interface.
    defaultgw string
    Enable to get the gateway IP from the DHCP or PPPoE server.
    description string
    Description.
    deviceIdentification string
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    distance string
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    dnsServerOverride string
    Enable/disable use DNS acquired by DHCP or PPPoE.
    interface string
    Interface name.
    ip string
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    mode string
    Addressing mode.
    mtu string
    MTU value for this interface.
    mtuOverride string
    Enable to set a custom MTU for this interface.
    name string
    Name.
    role string
    Interface role.
    speed string
    Interface speed. The default setting and the options available depend on the interface hardware.
    status string
    Bring the interface up or shut the interface down.
    tcpMss string
    TCP maximum segment size. 0 means do not change segment size.
    type string
    Interface type (support physical, vlan, loopback).
    vdom string
    Interface is in this virtual domain (VDOM).
    vlanid string
    VLAN ID.
    alias str
    Alias will be displayed with the interface name to make it easier to distinguish.
    allowaccess str
    Permitted types of management access to this interface.
    defaultgw str
    Enable to get the gateway IP from the DHCP or PPPoE server.
    description str
    Description.
    device_identification str
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    distance str
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    dns_server_override str
    Enable/disable use DNS acquired by DHCP or PPPoE.
    interface str
    Interface name.
    ip str
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    mode str
    Addressing mode.
    mtu str
    MTU value for this interface.
    mtu_override str
    Enable to set a custom MTU for this interface.
    name str
    Name.
    role str
    Interface role.
    speed str
    Interface speed. The default setting and the options available depend on the interface hardware.
    status str
    Bring the interface up or shut the interface down.
    tcp_mss str
    TCP maximum segment size. 0 means do not change segment size.
    type str
    Interface type (support physical, vlan, loopback).
    vdom str
    Interface is in this virtual domain (VDOM).
    vlanid str
    VLAN ID.
    alias String
    Alias will be displayed with the interface name to make it easier to distinguish.
    allowaccess String
    Permitted types of management access to this interface.
    defaultgw String
    Enable to get the gateway IP from the DHCP or PPPoE server.
    description String
    Description.
    deviceIdentification String
    Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
    distance String
    Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
    dnsServerOverride String
    Enable/disable use DNS acquired by DHCP or PPPoE.
    interface String
    Interface name.
    ip String
    Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
    mode String
    Addressing mode.
    mtu String
    MTU value for this interface.
    mtuOverride String
    Enable to set a custom MTU for this interface.
    name String
    Name.
    role String
    Interface role.
    speed String
    Interface speed. The default setting and the options available depend on the interface hardware.
    status String
    Bring the interface up or shut the interface down.
    tcpMss String
    TCP maximum segment size. 0 means do not change segment size.
    type String
    Interface type (support physical, vlan, loopback).
    vdom String
    Interface is in this virtual domain (VDOM).
    vlanid String
    VLAN ID.

    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.5 published on Tuesday, Apr 9, 2024 by pulumiverse