published on Friday, Oct 16, 2026 by Pulumi
Strata Cloud Managerpublished on Friday, Oct 16, 2026 by Pulumi
Layer3Subinterface resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
//
// Creates a ethernet interface used as parent-interface for subsequent examples
//
const scmParentInterface = new scm.EthernetInterface("scm_parent_interface", {
name: "$scm_tf_parent_interface",
comment: "Managed by Pulumi",
folder: "ngfw-shared",
layer3: {},
});
//
// Creates a layer3 sub-interface with static ip address
//
const scmL3Subinterface = new scm.Layer3Subinterface("scm_l3_subinterface", {
name: "$scm_tf_parent_interface.100",
comment: "Managed by Pulumi",
folder: "ngfw-shared",
tag: 100,
parentInterface: "$scm_tf_parent_interface",
ips: [{
name: "198.18.1.1/32",
}],
adjustTcpMss: {
enable: true,
ipv4MssAdjustment: 40,
ipv6MssAdjustment: 60,
},
}, {
dependsOn: [scmParentInterface],
});
const scmParentDhcpInterface = new scm.EthernetInterface("scm_parent_dhcp_interface", {
name: "$scm_parent_tf_dhcp_interface",
comment: "Managed by Pulumi",
folder: "ngfw-shared",
layer3: {},
});
//
// Creates a layer3 sub-interface with dhcp
//
const scmL3DhcpSubinterface = new scm.Layer3Subinterface("scm_l3_dhcp_subinterface", {
name: "$scm_parent_tf_dhcp_interface.100",
comment: "Managed by Pulumi",
folder: "ngfw-shared",
tag: 100,
parentInterface: "$scm_parent_tf_dhcp_interface",
dhcpClient: {
enable: true,
createDefaultRoute: true,
defaultRouteMetric: 20,
sendHostname: {
enable: true,
hostname: "client-vlan50-host",
},
},
}, {
dependsOn: [scmParentDhcpInterface],
});
//
// Creates an ethernet interface used as parent-interface for the pppoe example
//
const scmParentPppoeInterface = new scm.EthernetInterface("scm_parent_pppoe_interface", {
name: "$scm_parent_tf_pppoe_interface",
comment: "Managed by Pulumi",
folder: "ngfw-shared",
layer3: {},
});
//
// Creates a layer3 sub-interface with pppoe
//
const scmL3PppoeSubinterface = new scm.Layer3Subinterface("scm_l3_pppoe_subinterface", {
name: "$scm_parent_tf_pppoe_interface.100",
comment: "Managed by Pulumi",
folder: "ngfw-shared",
tag: 100,
parentInterface: "$scm_parent_tf_pppoe_interface",
pppoe: {
enable: true,
username: "testname",
password: "testpass",
authentication: "auto",
defaultRouteMetric: 10,
},
}, {
dependsOn: [scmParentPppoeInterface],
});
import pulumi
import pulumi_scm as scm
#
# Creates a ethernet interface used as parent-interface for subsequent examples
#
scm_parent_interface = scm.EthernetInterface("scm_parent_interface",
name="$scm_tf_parent_interface",
comment="Managed by Pulumi",
folder="ngfw-shared",
layer3={})
#
# Creates a layer3 sub-interface with static ip address
#
scm_l3_subinterface = scm.Layer3Subinterface("scm_l3_subinterface",
name="$scm_tf_parent_interface.100",
comment="Managed by Pulumi",
folder="ngfw-shared",
tag=100,
parent_interface="$scm_tf_parent_interface",
ips=[{
"name": "198.18.1.1/32",
}],
adjust_tcp_mss={
"enable": True,
"ipv4_mss_adjustment": 40,
"ipv6_mss_adjustment": 60,
},
opts = pulumi.ResourceOptions(depends_on=[scm_parent_interface]))
scm_parent_dhcp_interface = scm.EthernetInterface("scm_parent_dhcp_interface",
name="$scm_parent_tf_dhcp_interface",
comment="Managed by Pulumi",
folder="ngfw-shared",
layer3={})
#
# Creates a layer3 sub-interface with dhcp
#
scm_l3_dhcp_subinterface = scm.Layer3Subinterface("scm_l3_dhcp_subinterface",
name="$scm_parent_tf_dhcp_interface.100",
comment="Managed by Pulumi",
folder="ngfw-shared",
tag=100,
parent_interface="$scm_parent_tf_dhcp_interface",
dhcp_client={
"enable": True,
"create_default_route": True,
"default_route_metric": 20,
"send_hostname": {
"enable": True,
"hostname": "client-vlan50-host",
},
},
opts = pulumi.ResourceOptions(depends_on=[scm_parent_dhcp_interface]))
#
# Creates an ethernet interface used as parent-interface for the pppoe example
#
scm_parent_pppoe_interface = scm.EthernetInterface("scm_parent_pppoe_interface",
name="$scm_parent_tf_pppoe_interface",
comment="Managed by Pulumi",
folder="ngfw-shared",
layer3={})
#
# Creates a layer3 sub-interface with pppoe
#
scm_l3_pppoe_subinterface = scm.Layer3Subinterface("scm_l3_pppoe_subinterface",
name="$scm_parent_tf_pppoe_interface.100",
comment="Managed by Pulumi",
folder="ngfw-shared",
tag=100,
parent_interface="$scm_parent_tf_pppoe_interface",
pppoe={
"enable": True,
"username": "testname",
"password": "testpass",
"authentication": "auto",
"default_route_metric": 10,
},
opts = pulumi.ResourceOptions(depends_on=[scm_parent_pppoe_interface]))
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Creates a ethernet interface used as parent-interface for subsequent examples
scmParentInterface, err := scm.NewEthernetInterface(ctx, "scm_parent_interface", &scm.EthernetInterfaceArgs{
Name: pulumi.String("$scm_tf_parent_interface"),
Comment: pulumi.String("Managed by Pulumi"),
Folder: pulumi.String("ngfw-shared"),
Layer3: &scm.EthernetInterfaceLayer3Args{},
})
if err != nil {
return err
}
// Creates a layer3 sub-interface with static ip address
_, err = scm.NewLayer3Subinterface(ctx, "scm_l3_subinterface", &scm.Layer3SubinterfaceArgs{
Name: pulumi.String("$scm_tf_parent_interface.100"),
Comment: pulumi.String("Managed by Pulumi"),
Folder: pulumi.String("ngfw-shared"),
Tag: pulumi.Int(100),
ParentInterface: pulumi.String("$scm_tf_parent_interface"),
Ips: scm.Layer3SubinterfaceIpArray{
&scm.Layer3SubinterfaceIpArgs{
Name: pulumi.String("198.18.1.1/32"),
},
},
AdjustTcpMss: &scm.Layer3SubinterfaceAdjustTcpMssArgs{
Enable: pulumi.Bool(true),
Ipv4MssAdjustment: pulumi.Int(40),
Ipv6MssAdjustment: pulumi.Int(60),
},
}, pulumi.DependsOn([]pulumi.Resource{
scmParentInterface,
}))
if err != nil {
return err
}
scmParentDhcpInterface, err := scm.NewEthernetInterface(ctx, "scm_parent_dhcp_interface", &scm.EthernetInterfaceArgs{
Name: pulumi.String("$scm_parent_tf_dhcp_interface"),
Comment: pulumi.String("Managed by Pulumi"),
Folder: pulumi.String("ngfw-shared"),
Layer3: &scm.EthernetInterfaceLayer3Args{},
})
if err != nil {
return err
}
// Creates a layer3 sub-interface with dhcp
_, err = scm.NewLayer3Subinterface(ctx, "scm_l3_dhcp_subinterface", &scm.Layer3SubinterfaceArgs{
Name: pulumi.String("$scm_parent_tf_dhcp_interface.100"),
Comment: pulumi.String("Managed by Pulumi"),
Folder: pulumi.String("ngfw-shared"),
Tag: pulumi.Int(100),
ParentInterface: pulumi.String("$scm_parent_tf_dhcp_interface"),
DhcpClient: &scm.Layer3SubinterfaceDhcpClientArgs{
Enable: pulumi.Bool(true),
CreateDefaultRoute: pulumi.Bool(true),
DefaultRouteMetric: pulumi.Int(20),
SendHostname: &scm.Layer3SubinterfaceDhcpClientSendHostnameArgs{
Enable: pulumi.Bool(true),
Hostname: pulumi.String("client-vlan50-host"),
},
},
}, pulumi.DependsOn([]pulumi.Resource{
scmParentDhcpInterface,
}))
if err != nil {
return err
}
// Creates an ethernet interface used as parent-interface for the pppoe example
scmParentPppoeInterface, err := scm.NewEthernetInterface(ctx, "scm_parent_pppoe_interface", &scm.EthernetInterfaceArgs{
Name: pulumi.String("$scm_parent_tf_pppoe_interface"),
Comment: pulumi.String("Managed by Pulumi"),
Folder: pulumi.String("ngfw-shared"),
Layer3: &scm.EthernetInterfaceLayer3Args{},
})
if err != nil {
return err
}
// Creates a layer3 sub-interface with pppoe
_, err = scm.NewLayer3Subinterface(ctx, "scm_l3_pppoe_subinterface", &scm.Layer3SubinterfaceArgs{
Name: pulumi.String("$scm_parent_tf_pppoe_interface.100"),
Comment: pulumi.String("Managed by Pulumi"),
Folder: pulumi.String("ngfw-shared"),
Tag: pulumi.Int(100),
ParentInterface: pulumi.String("$scm_parent_tf_pppoe_interface"),
Pppoe: &scm.Layer3SubinterfacePppoeArgs{
Enable: pulumi.Bool(true),
Username: pulumi.String("testname"),
Password: pulumi.String("testpass"),
Authentication: pulumi.String("auto"),
DefaultRouteMetric: pulumi.Int(10),
},
}, pulumi.DependsOn([]pulumi.Resource{
scmParentPppoeInterface,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
//
// Creates a ethernet interface used as parent-interface for subsequent examples
//
var scmParentInterface = new Scm.EthernetInterface("scm_parent_interface", new()
{
Name = "$scm_tf_parent_interface",
Comment = "Managed by Pulumi",
Folder = "ngfw-shared",
Layer3 = new() { },
});
//
// Creates a layer3 sub-interface with static ip address
//
var scmL3Subinterface = new Scm.Layer3Subinterface("scm_l3_subinterface", new()
{
Name = "$scm_tf_parent_interface.100",
Comment = "Managed by Pulumi",
Folder = "ngfw-shared",
Tag = 100,
ParentInterface = "$scm_tf_parent_interface",
Ips = new[]
{
new Scm.Inputs.Layer3SubinterfaceIpArgs
{
Name = "198.18.1.1/32",
},
},
AdjustTcpMss = new Scm.Inputs.Layer3SubinterfaceAdjustTcpMssArgs
{
Enable = true,
Ipv4MssAdjustment = 40,
Ipv6MssAdjustment = 60,
},
}, new CustomResourceOptions
{
DependsOn =
{
scmParentInterface,
},
});
var scmParentDhcpInterface = new Scm.EthernetInterface("scm_parent_dhcp_interface", new()
{
Name = "$scm_parent_tf_dhcp_interface",
Comment = "Managed by Pulumi",
Folder = "ngfw-shared",
Layer3 = new() { },
});
//
// Creates a layer3 sub-interface with dhcp
//
var scmL3DhcpSubinterface = new Scm.Layer3Subinterface("scm_l3_dhcp_subinterface", new()
{
Name = "$scm_parent_tf_dhcp_interface.100",
Comment = "Managed by Pulumi",
Folder = "ngfw-shared",
Tag = 100,
ParentInterface = "$scm_parent_tf_dhcp_interface",
DhcpClient = new Scm.Inputs.Layer3SubinterfaceDhcpClientArgs
{
Enable = true,
CreateDefaultRoute = true,
DefaultRouteMetric = 20,
SendHostname = new Scm.Inputs.Layer3SubinterfaceDhcpClientSendHostnameArgs
{
Enable = true,
Hostname = "client-vlan50-host",
},
},
}, new CustomResourceOptions
{
DependsOn =
{
scmParentDhcpInterface,
},
});
//
// Creates an ethernet interface used as parent-interface for the pppoe example
//
var scmParentPppoeInterface = new Scm.EthernetInterface("scm_parent_pppoe_interface", new()
{
Name = "$scm_parent_tf_pppoe_interface",
Comment = "Managed by Pulumi",
Folder = "ngfw-shared",
Layer3 = new() { },
});
//
// Creates a layer3 sub-interface with pppoe
//
var scmL3PppoeSubinterface = new Scm.Layer3Subinterface("scm_l3_pppoe_subinterface", new()
{
Name = "$scm_parent_tf_pppoe_interface.100",
Comment = "Managed by Pulumi",
Folder = "ngfw-shared",
Tag = 100,
ParentInterface = "$scm_parent_tf_pppoe_interface",
Pppoe = new Scm.Inputs.Layer3SubinterfacePppoeArgs
{
Enable = true,
Username = "testname",
Password = "testpass",
Authentication = "auto",
DefaultRouteMetric = 10,
},
}, new CustomResourceOptions
{
DependsOn =
{
scmParentPppoeInterface,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.EthernetInterface;
import com.pulumi.scm.EthernetInterfaceArgs;
import com.pulumi.scm.inputs.EthernetInterfaceLayer3Args;
import com.pulumi.scm.Layer3Subinterface;
import com.pulumi.scm.Layer3SubinterfaceArgs;
import com.pulumi.scm.inputs.Layer3SubinterfaceIpArgs;
import com.pulumi.scm.inputs.Layer3SubinterfaceAdjustTcpMssArgs;
import com.pulumi.scm.inputs.Layer3SubinterfaceDhcpClientArgs;
import com.pulumi.scm.inputs.Layer3SubinterfaceDhcpClientSendHostnameArgs;
import com.pulumi.scm.inputs.Layer3SubinterfacePppoeArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.ArrayList;
import java.util.Arrays;
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) {
//
// Creates a ethernet interface used as parent-interface for subsequent examples
//
var scmParentInterface = new EthernetInterface("scmParentInterface", EthernetInterfaceArgs.builder()
.name("$scm_tf_parent_interface")
.comment("Managed by Pulumi")
.folder("ngfw-shared")
.layer3(EthernetInterfaceLayer3Args.builder()
.build())
.build());
//
// Creates a layer3 sub-interface with static ip address
//
var scmL3Subinterface = new Layer3Subinterface("scmL3Subinterface", Layer3SubinterfaceArgs.builder()
.name("$scm_tf_parent_interface.100")
.comment("Managed by Pulumi")
.folder("ngfw-shared")
.tag(100)
.parentInterface("$scm_tf_parent_interface")
.ips(Layer3SubinterfaceIpArgs.builder()
.name("198.18.1.1/32")
.build())
.adjustTcpMss(Layer3SubinterfaceAdjustTcpMssArgs.builder()
.enable(true)
.ipv4MssAdjustment(40)
.ipv6MssAdjustment(60)
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(scmParentInterface)
.build());
var scmParentDhcpInterface = new EthernetInterface("scmParentDhcpInterface", EthernetInterfaceArgs.builder()
.name("$scm_parent_tf_dhcp_interface")
.comment("Managed by Pulumi")
.folder("ngfw-shared")
.layer3(EthernetInterfaceLayer3Args.builder()
.build())
.build());
//
// Creates a layer3 sub-interface with dhcp
//
var scmL3DhcpSubinterface = new Layer3Subinterface("scmL3DhcpSubinterface", Layer3SubinterfaceArgs.builder()
.name("$scm_parent_tf_dhcp_interface.100")
.comment("Managed by Pulumi")
.folder("ngfw-shared")
.tag(100)
.parentInterface("$scm_parent_tf_dhcp_interface")
.dhcpClient(Layer3SubinterfaceDhcpClientArgs.builder()
.enable(true)
.createDefaultRoute(true)
.defaultRouteMetric(20)
.sendHostname(Layer3SubinterfaceDhcpClientSendHostnameArgs.builder()
.enable(true)
.hostname("client-vlan50-host")
.build())
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(scmParentDhcpInterface)
.build());
//
// Creates an ethernet interface used as parent-interface for the pppoe example
//
var scmParentPppoeInterface = new EthernetInterface("scmParentPppoeInterface", EthernetInterfaceArgs.builder()
.name("$scm_parent_tf_pppoe_interface")
.comment("Managed by Pulumi")
.folder("ngfw-shared")
.layer3(EthernetInterfaceLayer3Args.builder()
.build())
.build());
//
// Creates a layer3 sub-interface with pppoe
//
var scmL3PppoeSubinterface = new Layer3Subinterface("scmL3PppoeSubinterface", Layer3SubinterfaceArgs.builder()
.name("$scm_parent_tf_pppoe_interface.100")
.comment("Managed by Pulumi")
.folder("ngfw-shared")
.tag(100)
.parentInterface("$scm_parent_tf_pppoe_interface")
.pppoe(Layer3SubinterfacePppoeArgs.builder()
.enable(true)
.username("testname")
.password("testpass")
.authentication("auto")
.defaultRouteMetric(10)
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(scmParentPppoeInterface)
.build());
}
}
resources:
#
# Creates a ethernet interface used as parent-interface for subsequent examples
#
scmParentInterface:
type: scm:EthernetInterface
name: scm_parent_interface
properties:
name: $scm_tf_parent_interface
comment: Managed by Pulumi
folder: ngfw-shared
layer3: {}
#
# Creates a layer3 sub-interface with static ip address
#
scmL3Subinterface:
type: scm:Layer3Subinterface
name: scm_l3_subinterface
properties:
name: $scm_tf_parent_interface.100
comment: Managed by Pulumi
folder: ngfw-shared
tag: 100
parentInterface: $scm_tf_parent_interface
ips:
- name: 198.18.1.1/32
adjustTcpMss:
enable: true
ipv4MssAdjustment: 40
ipv6MssAdjustment: 60
options:
dependsOn:
- ${scmParentInterface}
scmParentDhcpInterface:
type: scm:EthernetInterface
name: scm_parent_dhcp_interface
properties:
name: $scm_parent_tf_dhcp_interface
comment: Managed by Pulumi
folder: ngfw-shared
layer3: {}
#
# Creates a layer3 sub-interface with dhcp
#
scmL3DhcpSubinterface:
type: scm:Layer3Subinterface
name: scm_l3_dhcp_subinterface
properties:
name: $scm_parent_tf_dhcp_interface.100
comment: Managed by Pulumi
folder: ngfw-shared
tag: 100
parentInterface: $scm_parent_tf_dhcp_interface
dhcpClient:
enable: true
createDefaultRoute: true
defaultRouteMetric: 20
sendHostname:
enable: true
hostname: client-vlan50-host
options:
dependsOn:
- ${scmParentDhcpInterface}
#
# Creates an ethernet interface used as parent-interface for the pppoe example
#
scmParentPppoeInterface:
type: scm:EthernetInterface
name: scm_parent_pppoe_interface
properties:
name: $scm_parent_tf_pppoe_interface
comment: Managed by Pulumi
folder: ngfw-shared
layer3: {}
#
# Creates a layer3 sub-interface with pppoe
#
scmL3PppoeSubinterface:
type: scm:Layer3Subinterface
name: scm_l3_pppoe_subinterface
properties:
name: $scm_parent_tf_pppoe_interface.100
comment: Managed by Pulumi
folder: ngfw-shared
tag: 100
parentInterface: $scm_parent_tf_pppoe_interface
pppoe:
enable: true
username: testname
password: testpass
authentication: auto
defaultRouteMetric: 10
options:
dependsOn:
- ${scmParentPppoeInterface}
terraform {
required_providers {
scm = {
source = "pulumi/scm"
}
}
}
#
# Creates a ethernet interface used as parent-interface for subsequent examples
#
resource "scm_ethernet_interface" "scm_parent_interface" {
lifecycle {
create_before_destroy = true
}
name = "$scm_tf_parent_interface"
comment = "Managed by Pulumi"
folder = "ngfw-shared"
layer3 = {}
}
#
# Creates a layer3 sub-interface with static ip address
#
resource "scm_layer3_subinterface" "scm_l3_subinterface" {
depends_on = [scm_ethernet_interface.scm_parent_interface]
lifecycle {
create_before_destroy = true
}
name = "$scm_tf_parent_interface.100"
comment = "Managed by Pulumi"
folder = "ngfw-shared"
tag = 100
parent_interface = "$scm_tf_parent_interface"
ips {
name = "198.18.1.1/32"
}
adjust_tcp_mss = {
enable = true
ipv4_mss_adjustment = 40
ipv6_mss_adjustment = 60
}
}
resource "scm_ethernet_interface" "scm_parent_dhcp_interface" {
lifecycle {
create_before_destroy = true
}
name = "$scm_parent_tf_dhcp_interface"
comment = "Managed by Pulumi"
folder = "ngfw-shared"
layer3 = {}
}
#
# Creates a layer3 sub-interface with dhcp
#
resource "scm_layer3_subinterface" "scm_l3_dhcp_subinterface" {
depends_on = [scm_ethernet_interface.scm_parent_dhcp_interface]
lifecycle {
create_before_destroy = true
}
name = "$scm_parent_tf_dhcp_interface.100"
comment = "Managed by Pulumi"
folder = "ngfw-shared"
tag = 100
parent_interface = "$scm_parent_tf_dhcp_interface"
dhcp_client = {
enable = true
create_default_route = true
default_route_metric = 20
send_hostname = {
enable = true
hostname = "client-vlan50-host"
}
}
}
#
# Creates an ethernet interface used as parent-interface for the pppoe example
#
resource "scm_ethernet_interface" "scm_parent_pppoe_interface" {
lifecycle {
create_before_destroy = true
}
name = "$scm_parent_tf_pppoe_interface"
comment = "Managed by Pulumi"
folder = "ngfw-shared"
layer3 = {}
}
#
# Creates a layer3 sub-interface with pppoe
#
resource "scm_layer3_subinterface" "scm_l3_pppoe_subinterface" {
depends_on = [scm_ethernet_interface.scm_parent_pppoe_interface]
lifecycle {
create_before_destroy = true
}
name = "$scm_parent_tf_pppoe_interface.100"
comment = "Managed by Pulumi"
folder = "ngfw-shared"
tag = 100
parent_interface = "$scm_parent_tf_pppoe_interface"
pppoe = {
enable = true
username = "testname"
password = "testpass"
authentication = "auto"
default_route_metric = 10
}
}
Create Layer3Subinterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Layer3Subinterface(name: string, args?: Layer3SubinterfaceArgs, opts?: CustomResourceOptions);@overload
def Layer3Subinterface(resource_name: str,
args: Optional[Layer3SubinterfaceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Layer3Subinterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
adjust_tcp_mss: Optional[Layer3SubinterfaceAdjustTcpMssArgs] = None,
arps: Optional[Sequence[Layer3SubinterfaceArpArgs]] = None,
comment: Optional[str] = None,
ddns_config: Optional[Layer3SubinterfaceDdnsConfigArgs] = None,
device: Optional[str] = None,
dhcp_client: Optional[Layer3SubinterfaceDhcpClientArgs] = None,
folder: Optional[str] = None,
interface_management_profile: Optional[str] = None,
ips: Optional[Sequence[Layer3SubinterfaceIpArgs]] = None,
mtu: Optional[int] = None,
name: Optional[str] = None,
netflow_profile: Optional[str] = None,
parent_interface: Optional[str] = None,
pppoe: Optional[Layer3SubinterfacePppoeArgs] = None,
snippet: Optional[str] = None,
tag: Optional[int] = None)func NewLayer3Subinterface(ctx *Context, name string, args *Layer3SubinterfaceArgs, opts ...ResourceOption) (*Layer3Subinterface, error)public Layer3Subinterface(string name, Layer3SubinterfaceArgs? args = null, CustomResourceOptions? opts = null)
public Layer3Subinterface(String name, Layer3SubinterfaceArgs args)
public Layer3Subinterface(String name, Layer3SubinterfaceArgs args, CustomResourceOptions options)
type: scm:Layer3Subinterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "scm_layer3_subinterface" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args Layer3SubinterfaceArgs
- 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 Layer3SubinterfaceArgs
- 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 Layer3SubinterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Layer3SubinterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Layer3SubinterfaceArgs
- 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 layer3SubinterfaceResource = new Scm.Layer3Subinterface("layer3SubinterfaceResource", new()
{
AdjustTcpMss = new Scm.Inputs.Layer3SubinterfaceAdjustTcpMssArgs
{
Enable = false,
Ipv4MssAdjustment = 0,
Ipv6MssAdjustment = 0,
},
Arps = new[]
{
new Scm.Inputs.Layer3SubinterfaceArpArgs
{
HwAddress = "string",
Name = "string",
},
},
Comment = "string",
DdnsConfig = new Scm.Inputs.Layer3SubinterfaceDdnsConfigArgs
{
DdnsCertProfile = "string",
DdnsHostname = "string",
DdnsVendor = "string",
DdnsVendorConfig = "string",
DdnsEnabled = false,
DdnsIp = "string",
DdnsUpdateInterval = 0,
},
Device = "string",
DhcpClient = new Scm.Inputs.Layer3SubinterfaceDhcpClientArgs
{
CreateDefaultRoute = false,
DefaultRouteMetric = 0,
Enable = false,
SendHostname = new Scm.Inputs.Layer3SubinterfaceDhcpClientSendHostnameArgs
{
Enable = false,
Hostname = "string",
},
},
Folder = "string",
InterfaceManagementProfile = "string",
Ips = new[]
{
new Scm.Inputs.Layer3SubinterfaceIpArgs
{
Name = "string",
},
},
Mtu = 0,
Name = "string",
NetflowProfile = "string",
ParentInterface = "string",
Pppoe = new Scm.Inputs.Layer3SubinterfacePppoeArgs
{
Password = "string",
Username = "string",
AccessConcentrator = "string",
Authentication = "string",
DefaultRouteMetric = 0,
Enable = false,
Passive = new Scm.Inputs.Layer3SubinterfacePppoePassiveArgs
{
Enable = false,
},
Service = "string",
StaticAddress = new Scm.Inputs.Layer3SubinterfacePppoeStaticAddressArgs
{
Ip = "string",
},
},
Snippet = "string",
Tag = 0,
});
example, err := scm.NewLayer3Subinterface(ctx, "layer3SubinterfaceResource", &scm.Layer3SubinterfaceArgs{
AdjustTcpMss: &scm.Layer3SubinterfaceAdjustTcpMssArgs{
Enable: pulumi.Bool(false),
Ipv4MssAdjustment: pulumi.Int(0),
Ipv6MssAdjustment: pulumi.Int(0),
},
Arps: scm.Layer3SubinterfaceArpArray{
&scm.Layer3SubinterfaceArpArgs{
HwAddress: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
Comment: pulumi.String("string"),
DdnsConfig: &scm.Layer3SubinterfaceDdnsConfigArgs{
DdnsCertProfile: pulumi.String("string"),
DdnsHostname: pulumi.String("string"),
DdnsVendor: pulumi.String("string"),
DdnsVendorConfig: pulumi.String("string"),
DdnsEnabled: pulumi.Bool(false),
DdnsIp: pulumi.String("string"),
DdnsUpdateInterval: pulumi.Int(0),
},
Device: pulumi.String("string"),
DhcpClient: &scm.Layer3SubinterfaceDhcpClientArgs{
CreateDefaultRoute: pulumi.Bool(false),
DefaultRouteMetric: pulumi.Int(0),
Enable: pulumi.Bool(false),
SendHostname: &scm.Layer3SubinterfaceDhcpClientSendHostnameArgs{
Enable: pulumi.Bool(false),
Hostname: pulumi.String("string"),
},
},
Folder: pulumi.String("string"),
InterfaceManagementProfile: pulumi.String("string"),
Ips: scm.Layer3SubinterfaceIpArray{
&scm.Layer3SubinterfaceIpArgs{
Name: pulumi.String("string"),
},
},
Mtu: pulumi.Int(0),
Name: pulumi.String("string"),
NetflowProfile: pulumi.String("string"),
ParentInterface: pulumi.String("string"),
Pppoe: &scm.Layer3SubinterfacePppoeArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
AccessConcentrator: pulumi.String("string"),
Authentication: pulumi.String("string"),
DefaultRouteMetric: pulumi.Int(0),
Enable: pulumi.Bool(false),
Passive: &scm.Layer3SubinterfacePppoePassiveArgs{
Enable: pulumi.Bool(false),
},
Service: pulumi.String("string"),
StaticAddress: &scm.Layer3SubinterfacePppoeStaticAddressArgs{
Ip: pulumi.String("string"),
},
},
Snippet: pulumi.String("string"),
Tag: pulumi.Int(0),
})
resource "scm_layer3_subinterface" "layer3SubinterfaceResource" {
lifecycle {
create_before_destroy = true
}
adjust_tcp_mss = {
enable = false
ipv4_mss_adjustment = 0
ipv6_mss_adjustment = 0
}
arps {
hw_address = "string"
name = "string"
}
comment = "string"
ddns_config = {
ddns_cert_profile = "string"
ddns_hostname = "string"
ddns_vendor = "string"
ddns_vendor_config = "string"
ddns_enabled = false
ddns_ip = "string"
ddns_update_interval = 0
}
device = "string"
dhcp_client = {
create_default_route = false
default_route_metric = 0
enable = false
send_hostname = {
enable = false
hostname = "string"
}
}
folder = "string"
interface_management_profile = "string"
ips {
name = "string"
}
mtu = 0
name = "string"
netflow_profile = "string"
parent_interface = "string"
pppoe = {
password = "string"
username = "string"
access_concentrator = "string"
authentication = "string"
default_route_metric = 0
enable = false
passive = {
enable = false
}
service = "string"
static_address = {
ip = "string"
}
}
snippet = "string"
tag = 0
}
var layer3SubinterfaceResource = new Layer3Subinterface("layer3SubinterfaceResource", Layer3SubinterfaceArgs.builder()
.adjustTcpMss(Layer3SubinterfaceAdjustTcpMssArgs.builder()
.enable(false)
.ipv4MssAdjustment(0)
.ipv6MssAdjustment(0)
.build())
.arps(Layer3SubinterfaceArpArgs.builder()
.hwAddress("string")
.name("string")
.build())
.comment("string")
.ddnsConfig(Layer3SubinterfaceDdnsConfigArgs.builder()
.ddnsCertProfile("string")
.ddnsHostname("string")
.ddnsVendor("string")
.ddnsVendorConfig("string")
.ddnsEnabled(false)
.ddnsIp("string")
.ddnsUpdateInterval(0)
.build())
.device("string")
.dhcpClient(Layer3SubinterfaceDhcpClientArgs.builder()
.createDefaultRoute(false)
.defaultRouteMetric(0)
.enable(false)
.sendHostname(Layer3SubinterfaceDhcpClientSendHostnameArgs.builder()
.enable(false)
.hostname("string")
.build())
.build())
.folder("string")
.interfaceManagementProfile("string")
.ips(Layer3SubinterfaceIpArgs.builder()
.name("string")
.build())
.mtu(0)
.name("string")
.netflowProfile("string")
.parentInterface("string")
.pppoe(Layer3SubinterfacePppoeArgs.builder()
.password("string")
.username("string")
.accessConcentrator("string")
.authentication("string")
.defaultRouteMetric(0)
.enable(false)
.passive(Layer3SubinterfacePppoePassiveArgs.builder()
.enable(false)
.build())
.service("string")
.staticAddress(Layer3SubinterfacePppoeStaticAddressArgs.builder()
.ip("string")
.build())
.build())
.snippet("string")
.tag(0)
.build());
layer3_subinterface_resource = scm.Layer3Subinterface("layer3SubinterfaceResource",
adjust_tcp_mss={
"enable": False,
"ipv4_mss_adjustment": 0,
"ipv6_mss_adjustment": 0,
},
arps=[{
"hw_address": "string",
"name": "string",
}],
comment="string",
ddns_config={
"ddns_cert_profile": "string",
"ddns_hostname": "string",
"ddns_vendor": "string",
"ddns_vendor_config": "string",
"ddns_enabled": False,
"ddns_ip": "string",
"ddns_update_interval": 0,
},
device="string",
dhcp_client={
"create_default_route": False,
"default_route_metric": 0,
"enable": False,
"send_hostname": {
"enable": False,
"hostname": "string",
},
},
folder="string",
interface_management_profile="string",
ips=[{
"name": "string",
}],
mtu=0,
name="string",
netflow_profile="string",
parent_interface="string",
pppoe={
"password": "string",
"username": "string",
"access_concentrator": "string",
"authentication": "string",
"default_route_metric": 0,
"enable": False,
"passive": {
"enable": False,
},
"service": "string",
"static_address": {
"ip": "string",
},
},
snippet="string",
tag=0)
const layer3SubinterfaceResource = new scm.Layer3Subinterface("layer3SubinterfaceResource", {
adjustTcpMss: {
enable: false,
ipv4MssAdjustment: 0,
ipv6MssAdjustment: 0,
},
arps: [{
hwAddress: "string",
name: "string",
}],
comment: "string",
ddnsConfig: {
ddnsCertProfile: "string",
ddnsHostname: "string",
ddnsVendor: "string",
ddnsVendorConfig: "string",
ddnsEnabled: false,
ddnsIp: "string",
ddnsUpdateInterval: 0,
},
device: "string",
dhcpClient: {
createDefaultRoute: false,
defaultRouteMetric: 0,
enable: false,
sendHostname: {
enable: false,
hostname: "string",
},
},
folder: "string",
interfaceManagementProfile: "string",
ips: [{
name: "string",
}],
mtu: 0,
name: "string",
netflowProfile: "string",
parentInterface: "string",
pppoe: {
password: "string",
username: "string",
accessConcentrator: "string",
authentication: "string",
defaultRouteMetric: 0,
enable: false,
passive: {
enable: false,
},
service: "string",
staticAddress: {
ip: "string",
},
},
snippet: "string",
tag: 0,
});
type: scm:Layer3Subinterface
properties:
adjustTcpMss:
enable: false
ipv4MssAdjustment: 0
ipv6MssAdjustment: 0
arps:
- hwAddress: string
name: string
comment: string
ddnsConfig:
ddnsCertProfile: string
ddnsEnabled: false
ddnsHostname: string
ddnsIp: string
ddnsUpdateInterval: 0
ddnsVendor: string
ddnsVendorConfig: string
device: string
dhcpClient:
createDefaultRoute: false
defaultRouteMetric: 0
enable: false
sendHostname:
enable: false
hostname: string
folder: string
interfaceManagementProfile: string
ips:
- name: string
mtu: 0
name: string
netflowProfile: string
parentInterface: string
pppoe:
accessConcentrator: string
authentication: string
defaultRouteMetric: 0
enable: false
passive:
enable: false
password: string
service: string
staticAddress:
ip: string
username: string
snippet: string
tag: 0
Layer3Subinterface 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 Layer3Subinterface resource accepts the following input properties:
- Adjust
Tcp Layer3SubinterfaceMss Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- Arps
List<Layer3Subinterface
Arp> - Layer 3 sub Interfaces ARP configuration
- Comment string
- Description
- Ddns
Config Layer3SubinterfaceDdns Config - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- Device string
- The device in which the resource is defined
- Dhcp
Client Layer3SubinterfaceDhcp Client - Layer3 sub interfaces DHCP Client Object
- Folder string
- The folder in which the resource is defined
- Interface
Management stringProfile - Interface management profile
- Ips
List<Layer3Subinterface
Ip> - L3 sub-interface IP Parent
- Mtu int
- MTU
- Name string
- L3 sub-interface name
- Netflow
Profile string - Name of Netflow Profile to assign to Interface
- Parent
Interface string - Parent interface
- Pppoe
Layer3Subinterface
Pppoe - PPPoE configuration for the interface
- Snippet string
- The snippet in which the resource is defined
- Tag int
- VLAN tag
- Adjust
Tcp Layer3SubinterfaceMss Adjust Tcp Mss Args - TCP MSS adjustment settings for the interface
- Arps
[]Layer3Subinterface
Arp Args - Layer 3 sub Interfaces ARP configuration
- Comment string
- Description
- Ddns
Config Layer3SubinterfaceDdns Config Args - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- Device string
- The device in which the resource is defined
- Dhcp
Client Layer3SubinterfaceDhcp Client Args - Layer3 sub interfaces DHCP Client Object
- Folder string
- The folder in which the resource is defined
- Interface
Management stringProfile - Interface management profile
- Ips
[]Layer3Subinterface
Ip Args - L3 sub-interface IP Parent
- Mtu int
- MTU
- Name string
- L3 sub-interface name
- Netflow
Profile string - Name of Netflow Profile to assign to Interface
- Parent
Interface string - Parent interface
- Pppoe
Layer3Subinterface
Pppoe Args - PPPoE configuration for the interface
- Snippet string
- The snippet in which the resource is defined
- Tag int
- VLAN tag
- adjust_
tcp_ objectmss - TCP MSS adjustment settings for the interface
- arps list(object)
- Layer 3 sub Interfaces ARP configuration
- comment string
- Description
- ddns_
config object - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- device string
- The device in which the resource is defined
- dhcp_
client object - Layer3 sub interfaces DHCP Client Object
- folder string
- The folder in which the resource is defined
- interface_
management_ stringprofile - Interface management profile
- ips list(object)
- L3 sub-interface IP Parent
- mtu number
- MTU
- name string
- L3 sub-interface name
- netflow_
profile string - Name of Netflow Profile to assign to Interface
- parent_
interface string - Parent interface
- pppoe object
- PPPoE configuration for the interface
- snippet string
- The snippet in which the resource is defined
- tag number
- VLAN tag
- adjust
Tcp Layer3SubinterfaceMss Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- arps
List<Layer3Subinterface
Arp> - Layer 3 sub Interfaces ARP configuration
- comment String
- Description
- ddns
Config Layer3SubinterfaceDdns Config - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- device String
- The device in which the resource is defined
- dhcp
Client Layer3SubinterfaceDhcp Client - Layer3 sub interfaces DHCP Client Object
- folder String
- The folder in which the resource is defined
- interface
Management StringProfile - Interface management profile
- ips
List<Layer3Subinterface
Ip> - L3 sub-interface IP Parent
- mtu Integer
- MTU
- name String
- L3 sub-interface name
- netflow
Profile String - Name of Netflow Profile to assign to Interface
- parent
Interface String - Parent interface
- pppoe
Layer3Subinterface
Pppoe - PPPoE configuration for the interface
- snippet String
- The snippet in which the resource is defined
- tag Integer
- VLAN tag
- adjust
Tcp Layer3SubinterfaceMss Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- arps
Layer3Subinterface
Arp[] - Layer 3 sub Interfaces ARP configuration
- comment string
- Description
- ddns
Config Layer3SubinterfaceDdns Config - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- device string
- The device in which the resource is defined
- dhcp
Client Layer3SubinterfaceDhcp Client - Layer3 sub interfaces DHCP Client Object
- folder string
- The folder in which the resource is defined
- interface
Management stringProfile - Interface management profile
- ips
Layer3Subinterface
Ip[] - L3 sub-interface IP Parent
- mtu number
- MTU
- name string
- L3 sub-interface name
- netflow
Profile string - Name of Netflow Profile to assign to Interface
- parent
Interface string - Parent interface
- pppoe
Layer3Subinterface
Pppoe - PPPoE configuration for the interface
- snippet string
- The snippet in which the resource is defined
- tag number
- VLAN tag
- adjust_
tcp_ Layer3Subinterfacemss Adjust Tcp Mss Args - TCP MSS adjustment settings for the interface
- arps
Sequence[Layer3Subinterface
Arp Args] - Layer 3 sub Interfaces ARP configuration
- comment str
- Description
- ddns_
config Layer3SubinterfaceDdns Config Args - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- device str
- The device in which the resource is defined
- dhcp_
client Layer3SubinterfaceDhcp Client Args - Layer3 sub interfaces DHCP Client Object
- folder str
- The folder in which the resource is defined
- interface_
management_ strprofile - Interface management profile
- ips
Sequence[Layer3Subinterface
Ip Args] - L3 sub-interface IP Parent
- mtu int
- MTU
- name str
- L3 sub-interface name
- netflow_
profile str - Name of Netflow Profile to assign to Interface
- parent_
interface str - Parent interface
- pppoe
Layer3Subinterface
Pppoe Args - PPPoE configuration for the interface
- snippet str
- The snippet in which the resource is defined
- tag int
- VLAN tag
- adjust
Tcp Property MapMss - TCP MSS adjustment settings for the interface
- arps List<Property Map>
- Layer 3 sub Interfaces ARP configuration
- comment String
- Description
- ddns
Config Property Map - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- device String
- The device in which the resource is defined
- dhcp
Client Property Map - Layer3 sub interfaces DHCP Client Object
- folder String
- The folder in which the resource is defined
- interface
Management StringProfile - Interface management profile
- ips List<Property Map>
- L3 sub-interface IP Parent
- mtu Number
- MTU
- name String
- L3 sub-interface name
- netflow
Profile String - Name of Netflow Profile to assign to Interface
- parent
Interface String - Parent interface
- pppoe Property Map
- PPPoE configuration for the interface
- snippet String
- The snippet in which the resource is defined
- tag Number
- VLAN tag
Outputs
All input properties are implicitly available as output properties. Additionally, the Layer3Subinterface resource produces the following output properties:
- Encrypted
Values Dictionary<string, string> - Map of sensitive values returned from the API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- The Terraform ID.
- Encrypted
Values map[string]string - Map of sensitive values returned from the API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- The Terraform ID.
- encrypted_
values map(string) - Map of sensitive values returned from the API.
- id string
- The provider-assigned unique ID for this managed resource.
- tfid string
- The Terraform ID.
- encrypted
Values Map<String,String> - Map of sensitive values returned from the API.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- The Terraform ID.
- encrypted
Values {[key: string]: string} - Map of sensitive values returned from the API.
- id string
- The provider-assigned unique ID for this managed resource.
- tfid string
- The Terraform ID.
- encrypted_
values Mapping[str, str] - Map of sensitive values returned from the API.
- id str
- The provider-assigned unique ID for this managed resource.
- tfid str
- The Terraform ID.
- encrypted
Values Map<String> - Map of sensitive values returned from the API.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- The Terraform ID.
Look up Existing Layer3Subinterface Resource
Get an existing Layer3Subinterface 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?: Layer3SubinterfaceState, opts?: CustomResourceOptions): Layer3Subinterface@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adjust_tcp_mss: Optional[Layer3SubinterfaceAdjustTcpMssArgs] = None,
arps: Optional[Sequence[Layer3SubinterfaceArpArgs]] = None,
comment: Optional[str] = None,
ddns_config: Optional[Layer3SubinterfaceDdnsConfigArgs] = None,
device: Optional[str] = None,
dhcp_client: Optional[Layer3SubinterfaceDhcpClientArgs] = None,
encrypted_values: Optional[Mapping[str, str]] = None,
folder: Optional[str] = None,
interface_management_profile: Optional[str] = None,
ips: Optional[Sequence[Layer3SubinterfaceIpArgs]] = None,
mtu: Optional[int] = None,
name: Optional[str] = None,
netflow_profile: Optional[str] = None,
parent_interface: Optional[str] = None,
pppoe: Optional[Layer3SubinterfacePppoeArgs] = None,
snippet: Optional[str] = None,
tag: Optional[int] = None,
tfid: Optional[str] = None) -> Layer3Subinterfacefunc GetLayer3Subinterface(ctx *Context, name string, id IDInput, state *Layer3SubinterfaceState, opts ...ResourceOption) (*Layer3Subinterface, error)public static Layer3Subinterface Get(string name, Input<string> id, Layer3SubinterfaceState? state, CustomResourceOptions? opts = null)public static Layer3Subinterface get(String name, Output<String> id, Layer3SubinterfaceState state, CustomResourceOptions options)resources: _: type: scm:Layer3Subinterface get: id: ${id}import {
to = scm_layer3_subinterface.example
id = "${id}"
}
- 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.
- Adjust
Tcp Layer3SubinterfaceMss Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- Arps
List<Layer3Subinterface
Arp> - Layer 3 sub Interfaces ARP configuration
- Comment string
- Description
- Ddns
Config Layer3SubinterfaceDdns Config - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- Device string
- The device in which the resource is defined
- Dhcp
Client Layer3SubinterfaceDhcp Client - Layer3 sub interfaces DHCP Client Object
- Encrypted
Values Dictionary<string, string> - Map of sensitive values returned from the API.
- Folder string
- The folder in which the resource is defined
- Interface
Management stringProfile - Interface management profile
- Ips
List<Layer3Subinterface
Ip> - L3 sub-interface IP Parent
- Mtu int
- MTU
- Name string
- L3 sub-interface name
- Netflow
Profile string - Name of Netflow Profile to assign to Interface
- Parent
Interface string - Parent interface
- Pppoe
Layer3Subinterface
Pppoe - PPPoE configuration for the interface
- Snippet string
- The snippet in which the resource is defined
- Tag int
- VLAN tag
- Tfid string
- The Terraform ID.
- Adjust
Tcp Layer3SubinterfaceMss Adjust Tcp Mss Args - TCP MSS adjustment settings for the interface
- Arps
[]Layer3Subinterface
Arp Args - Layer 3 sub Interfaces ARP configuration
- Comment string
- Description
- Ddns
Config Layer3SubinterfaceDdns Config Args - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- Device string
- The device in which the resource is defined
- Dhcp
Client Layer3SubinterfaceDhcp Client Args - Layer3 sub interfaces DHCP Client Object
- Encrypted
Values map[string]string - Map of sensitive values returned from the API.
- Folder string
- The folder in which the resource is defined
- Interface
Management stringProfile - Interface management profile
- Ips
[]Layer3Subinterface
Ip Args - L3 sub-interface IP Parent
- Mtu int
- MTU
- Name string
- L3 sub-interface name
- Netflow
Profile string - Name of Netflow Profile to assign to Interface
- Parent
Interface string - Parent interface
- Pppoe
Layer3Subinterface
Pppoe Args - PPPoE configuration for the interface
- Snippet string
- The snippet in which the resource is defined
- Tag int
- VLAN tag
- Tfid string
- The Terraform ID.
- adjust_
tcp_ objectmss - TCP MSS adjustment settings for the interface
- arps list(object)
- Layer 3 sub Interfaces ARP configuration
- comment string
- Description
- ddns_
config object - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- device string
- The device in which the resource is defined
- dhcp_
client object - Layer3 sub interfaces DHCP Client Object
- encrypted_
values map(string) - Map of sensitive values returned from the API.
- folder string
- The folder in which the resource is defined
- interface_
management_ stringprofile - Interface management profile
- ips list(object)
- L3 sub-interface IP Parent
- mtu number
- MTU
- name string
- L3 sub-interface name
- netflow_
profile string - Name of Netflow Profile to assign to Interface
- parent_
interface string - Parent interface
- pppoe object
- PPPoE configuration for the interface
- snippet string
- The snippet in which the resource is defined
- tag number
- VLAN tag
- tfid string
- The Terraform ID.
- adjust
Tcp Layer3SubinterfaceMss Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- arps
List<Layer3Subinterface
Arp> - Layer 3 sub Interfaces ARP configuration
- comment String
- Description
- ddns
Config Layer3SubinterfaceDdns Config - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- device String
- The device in which the resource is defined
- dhcp
Client Layer3SubinterfaceDhcp Client - Layer3 sub interfaces DHCP Client Object
- encrypted
Values Map<String,String> - Map of sensitive values returned from the API.
- folder String
- The folder in which the resource is defined
- interface
Management StringProfile - Interface management profile
- ips
List<Layer3Subinterface
Ip> - L3 sub-interface IP Parent
- mtu Integer
- MTU
- name String
- L3 sub-interface name
- netflow
Profile String - Name of Netflow Profile to assign to Interface
- parent
Interface String - Parent interface
- pppoe
Layer3Subinterface
Pppoe - PPPoE configuration for the interface
- snippet String
- The snippet in which the resource is defined
- tag Integer
- VLAN tag
- tfid String
- The Terraform ID.
- adjust
Tcp Layer3SubinterfaceMss Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- arps
Layer3Subinterface
Arp[] - Layer 3 sub Interfaces ARP configuration
- comment string
- Description
- ddns
Config Layer3SubinterfaceDdns Config - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- device string
- The device in which the resource is defined
- dhcp
Client Layer3SubinterfaceDhcp Client - Layer3 sub interfaces DHCP Client Object
- encrypted
Values {[key: string]: string} - Map of sensitive values returned from the API.
- folder string
- The folder in which the resource is defined
- interface
Management stringProfile - Interface management profile
- ips
Layer3Subinterface
Ip[] - L3 sub-interface IP Parent
- mtu number
- MTU
- name string
- L3 sub-interface name
- netflow
Profile string - Name of Netflow Profile to assign to Interface
- parent
Interface string - Parent interface
- pppoe
Layer3Subinterface
Pppoe - PPPoE configuration for the interface
- snippet string
- The snippet in which the resource is defined
- tag number
- VLAN tag
- tfid string
- The Terraform ID.
- adjust_
tcp_ Layer3Subinterfacemss Adjust Tcp Mss Args - TCP MSS adjustment settings for the interface
- arps
Sequence[Layer3Subinterface
Arp Args] - Layer 3 sub Interfaces ARP configuration
- comment str
- Description
- ddns_
config Layer3SubinterfaceDdns Config Args - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- device str
- The device in which the resource is defined
- dhcp_
client Layer3SubinterfaceDhcp Client Args - Layer3 sub interfaces DHCP Client Object
- encrypted_
values Mapping[str, str] - Map of sensitive values returned from the API.
- folder str
- The folder in which the resource is defined
- interface_
management_ strprofile - Interface management profile
- ips
Sequence[Layer3Subinterface
Ip Args] - L3 sub-interface IP Parent
- mtu int
- MTU
- name str
- L3 sub-interface name
- netflow_
profile str - Name of Netflow Profile to assign to Interface
- parent_
interface str - Parent interface
- pppoe
Layer3Subinterface
Pppoe Args - PPPoE configuration for the interface
- snippet str
- The snippet in which the resource is defined
- tag int
- VLAN tag
- tfid str
- The Terraform ID.
- adjust
Tcp Property MapMss - TCP MSS adjustment settings for the interface
- arps List<Property Map>
- Layer 3 sub Interfaces ARP configuration
- comment String
- Description
- ddns
Config Property Map - Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
- device String
- The device in which the resource is defined
- dhcp
Client Property Map - Layer3 sub interfaces DHCP Client Object
- encrypted
Values Map<String> - Map of sensitive values returned from the API.
- folder String
- The folder in which the resource is defined
- interface
Management StringProfile - Interface management profile
- ips List<Property Map>
- L3 sub-interface IP Parent
- mtu Number
- MTU
- name String
- L3 sub-interface name
- netflow
Profile String - Name of Netflow Profile to assign to Interface
- parent
Interface String - Parent interface
- pppoe Property Map
- PPPoE configuration for the interface
- snippet String
- The snippet in which the resource is defined
- tag Number
- VLAN tag
- tfid String
- The Terraform ID.
Supporting Types
Layer3SubinterfaceAdjustTcpMss, Layer3SubinterfaceAdjustTcpMssArgs
- Enable bool
- Enable TCP MSS adjustment on the interface
- Ipv4Mss
Adjustment int - IPv4 MSS adjustment size in bytes
- Ipv6Mss
Adjustment int - IPv6 MSS adjustment size in bytes
- Enable bool
- Enable TCP MSS adjustment on the interface
- Ipv4Mss
Adjustment int - IPv4 MSS adjustment size in bytes
- Ipv6Mss
Adjustment int - IPv6 MSS adjustment size in bytes
- enable bool
- Enable TCP MSS adjustment on the interface
- ipv4_
mss_ numberadjustment - IPv4 MSS adjustment size in bytes
- ipv6_
mss_ numberadjustment - IPv6 MSS adjustment size in bytes
- enable Boolean
- Enable TCP MSS adjustment on the interface
- ipv4Mss
Adjustment Integer - IPv4 MSS adjustment size in bytes
- ipv6Mss
Adjustment Integer - IPv6 MSS adjustment size in bytes
- enable boolean
- Enable TCP MSS adjustment on the interface
- ipv4Mss
Adjustment number - IPv4 MSS adjustment size in bytes
- ipv6Mss
Adjustment number - IPv6 MSS adjustment size in bytes
- enable bool
- Enable TCP MSS adjustment on the interface
- ipv4_
mss_ intadjustment - IPv4 MSS adjustment size in bytes
- ipv6_
mss_ intadjustment - IPv6 MSS adjustment size in bytes
- enable Boolean
- Enable TCP MSS adjustment on the interface
- ipv4Mss
Adjustment Number - IPv4 MSS adjustment size in bytes
- ipv6Mss
Adjustment Number - IPv6 MSS adjustment size in bytes
Layer3SubinterfaceArp, Layer3SubinterfaceArpArgs
- hw_
address string - MAC address
- name string
- IP address
- hw_
address str - MAC address
- name str
- IP address
Layer3SubinterfaceDdnsConfig, Layer3SubinterfaceDdnsConfigArgs
- Ddns
Cert stringProfile - Certificate profile
- Ddns
Hostname string - Ddns hostname
- Ddns
Vendor string - DDNS vendor
- Ddns
Vendor stringConfig - DDNS vendor
- Ddns
Enabled bool - Enable DDNS?
- Ddns
Ip string - IP to register (static only)
- Ddns
Update intInterval - Update interval (days)
- Ddns
Cert stringProfile - Certificate profile
- Ddns
Hostname string - Ddns hostname
- Ddns
Vendor string - DDNS vendor
- Ddns
Vendor stringConfig - DDNS vendor
- Ddns
Enabled bool - Enable DDNS?
- Ddns
Ip string - IP to register (static only)
- Ddns
Update intInterval - Update interval (days)
- ddns_
cert_ stringprofile - Certificate profile
- ddns_
hostname string - Ddns hostname
- ddns_
vendor string - DDNS vendor
- ddns_
vendor_ stringconfig - DDNS vendor
- ddns_
enabled bool - Enable DDNS?
- ddns_
ip string - IP to register (static only)
- ddns_
update_ numberinterval - Update interval (days)
- ddns
Cert StringProfile - Certificate profile
- ddns
Hostname String - Ddns hostname
- ddns
Vendor String - DDNS vendor
- ddns
Vendor StringConfig - DDNS vendor
- ddns
Enabled Boolean - Enable DDNS?
- ddns
Ip String - IP to register (static only)
- ddns
Update IntegerInterval - Update interval (days)
- ddns
Cert stringProfile - Certificate profile
- ddns
Hostname string - Ddns hostname
- ddns
Vendor string - DDNS vendor
- ddns
Vendor stringConfig - DDNS vendor
- ddns
Enabled boolean - Enable DDNS?
- ddns
Ip string - IP to register (static only)
- ddns
Update numberInterval - Update interval (days)
- ddns_
cert_ strprofile - Certificate profile
- ddns_
hostname str - Ddns hostname
- ddns_
vendor str - DDNS vendor
- ddns_
vendor_ strconfig - DDNS vendor
- ddns_
enabled bool - Enable DDNS?
- ddns_
ip str - IP to register (static only)
- ddns_
update_ intinterval - Update interval (days)
- ddns
Cert StringProfile - Certificate profile
- ddns
Hostname String - Ddns hostname
- ddns
Vendor String - DDNS vendor
- ddns
Vendor StringConfig - DDNS vendor
- ddns
Enabled Boolean - Enable DDNS?
- ddns
Ip String - IP to register (static only)
- ddns
Update NumberInterval - Update interval (days)
Layer3SubinterfaceDhcpClient, Layer3SubinterfaceDhcpClientArgs
- Create
Default boolRoute - Automatically create default route pointing to default gateway provided by server
- Default
Route intMetric - Metric of the default route created
- Enable bool
- Enable DHCP?
- Send
Hostname Layer3SubinterfaceDhcp Client Send Hostname - Layer3 sub interfaces DHCP Client Send hostname
- Create
Default boolRoute - Automatically create default route pointing to default gateway provided by server
- Default
Route intMetric - Metric of the default route created
- Enable bool
- Enable DHCP?
- Send
Hostname Layer3SubinterfaceDhcp Client Send Hostname - Layer3 sub interfaces DHCP Client Send hostname
- create_
default_ boolroute - Automatically create default route pointing to default gateway provided by server
- default_
route_ numbermetric - Metric of the default route created
- enable bool
- Enable DHCP?
- send_
hostname object - Layer3 sub interfaces DHCP Client Send hostname
- create
Default BooleanRoute - Automatically create default route pointing to default gateway provided by server
- default
Route IntegerMetric - Metric of the default route created
- enable Boolean
- Enable DHCP?
- send
Hostname Layer3SubinterfaceDhcp Client Send Hostname - Layer3 sub interfaces DHCP Client Send hostname
- create
Default booleanRoute - Automatically create default route pointing to default gateway provided by server
- default
Route numberMetric - Metric of the default route created
- enable boolean
- Enable DHCP?
- send
Hostname Layer3SubinterfaceDhcp Client Send Hostname - Layer3 sub interfaces DHCP Client Send hostname
- create_
default_ boolroute - Automatically create default route pointing to default gateway provided by server
- default_
route_ intmetric - Metric of the default route created
- enable bool
- Enable DHCP?
- send_
hostname Layer3SubinterfaceDhcp Client Send Hostname - Layer3 sub interfaces DHCP Client Send hostname
- create
Default BooleanRoute - Automatically create default route pointing to default gateway provided by server
- default
Route NumberMetric - Metric of the default route created
- enable Boolean
- Enable DHCP?
- send
Hostname Property Map - Layer3 sub interfaces DHCP Client Send hostname
Layer3SubinterfaceDhcpClientSendHostname, Layer3SubinterfaceDhcpClientSendHostnameArgs
Layer3SubinterfaceIp, Layer3SubinterfaceIpArgs
- Name string
- L3 sub-interface IP address(es)
- Name string
- L3 sub-interface IP address(es)
- name string
- L3 sub-interface IP address(es)
- name String
- L3 sub-interface IP address(es)
- name string
- L3 sub-interface IP address(es)
- name str
- L3 sub-interface IP address(es)
- name String
- L3 sub-interface IP address(es)
Layer3SubinterfacePppoe, Layer3SubinterfacePppoeArgs
- Password string
- Password
- Username string
- Username
- Access
Concentrator string - Access concentrator
- Authentication string
- Authentication protocol. Possible values are
CHAP,PAPandauto. - Default
Route intMetric - Metric of the default route created
- Enable bool
- Enable PPPoE on the interface
- Passive
Layer3Subinterface
Pppoe Passive - Passive
- Service string
- Service
- Static
Address Layer3SubinterfacePppoe Static Address - Static address
- Password string
- Password
- Username string
- Username
- Access
Concentrator string - Access concentrator
- Authentication string
- Authentication protocol. Possible values are
CHAP,PAPandauto. - Default
Route intMetric - Metric of the default route created
- Enable bool
- Enable PPPoE on the interface
- Passive
Layer3Subinterface
Pppoe Passive - Passive
- Service string
- Service
- Static
Address Layer3SubinterfacePppoe Static Address - Static address
- password string
- Password
- username string
- Username
- access_
concentrator string - Access concentrator
- authentication string
- Authentication protocol. Possible values are
CHAP,PAPandauto. - default_
route_ numbermetric - Metric of the default route created
- enable bool
- Enable PPPoE on the interface
- passive object
- Passive
- service string
- Service
- static_
address object - Static address
- password String
- Password
- username String
- Username
- access
Concentrator String - Access concentrator
- authentication String
- Authentication protocol. Possible values are
CHAP,PAPandauto. - default
Route IntegerMetric - Metric of the default route created
- enable Boolean
- Enable PPPoE on the interface
- passive
Layer3Subinterface
Pppoe Passive - Passive
- service String
- Service
- static
Address Layer3SubinterfacePppoe Static Address - Static address
- password string
- Password
- username string
- Username
- access
Concentrator string - Access concentrator
- authentication string
- Authentication protocol. Possible values are
CHAP,PAPandauto. - default
Route numberMetric - Metric of the default route created
- enable boolean
- Enable PPPoE on the interface
- passive
Layer3Subinterface
Pppoe Passive - Passive
- service string
- Service
- static
Address Layer3SubinterfacePppoe Static Address - Static address
- password str
- Password
- username str
- Username
- access_
concentrator str - Access concentrator
- authentication str
- Authentication protocol. Possible values are
CHAP,PAPandauto. - default_
route_ intmetric - Metric of the default route created
- enable bool
- Enable PPPoE on the interface
- passive
Layer3Subinterface
Pppoe Passive - Passive
- service str
- Service
- static_
address Layer3SubinterfacePppoe Static Address - Static address
- password String
- Password
- username String
- Username
- access
Concentrator String - Access concentrator
- authentication String
- Authentication protocol. Possible values are
CHAP,PAPandauto. - default
Route NumberMetric - Metric of the default route created
- enable Boolean
- Enable PPPoE on the interface
- passive Property Map
- Passive
- service String
- Service
- static
Address Property Map - Static address
Layer3SubinterfacePppoePassive, Layer3SubinterfacePppoePassiveArgs
- Enable bool
- Passive Mode enabled
- Enable bool
- Passive Mode enabled
- enable bool
- Passive Mode enabled
- enable Boolean
- Passive Mode enabled
- enable boolean
- Passive Mode enabled
- enable bool
- Passive Mode enabled
- enable Boolean
- Passive Mode enabled
Layer3SubinterfacePppoeStaticAddress, Layer3SubinterfacePppoeStaticAddressArgs
- Ip string
- Static IP address
- Ip string
- Static IP address
- ip string
- Static IP address
- ip String
- Static IP address
- ip string
- Static IP address
- ip str
- Static IP address
- ip String
- Static IP address
Import
The following command can be used to import a resource not managed by Terraform:
$ pulumi import scm:index/layer3Subinterface:Layer3Subinterface example folder:::id
or
$ pulumi import scm:index/layer3Subinterface:Layer3Subinterface example :snippet::id
or
$ pulumi import scm:index/layer3Subinterface:Layer3Subinterface example ::device:id
Note: Please provide just one of folder, snippet, or device for the import command.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Managerpublished on Friday, Oct 16, 2026 by Pulumi