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_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_parent_interface.100",
comment: "Managed by Pulumi",
folder: "ngfw-shared",
tag: 100,
parentInterface: "$scm_parent_interface",
ips: [{
name: "198.18.1.1/32",
}],
}, {
dependsOn: [scmParentInterface],
});
const scmParentDhcpInterface = new scm.EthernetInterface("scm_parent_dhcp_interface", {
name: "$scm_parent_dhcp_interface",
comment: "Managed by Pulumi",
folder: "All",
layer3: {},
});
//
// Creates a layer3 sub-interface with dhcp
//
const scmL3DhcpSubinterface = new scm.Layer3Subinterface("scm_l3_dhcp_subinterface", {
name: "$scm_parent_dhcp_interface.100",
comment: "Managed by Pulumi",
folder: "All",
tag: 100,
parentInterface: "$scm_parent_dhcp_interface",
dhcpClient: {
enable: true,
createDefaultRoute: true,
defaultRouteMetric: 20,
sendHostname: {
enable: true,
hostname: "client-vlan50-host",
},
},
}, {
dependsOn: [scmParentDhcpInterface],
});
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_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_parent_interface.100",
comment="Managed by Pulumi",
folder="ngfw-shared",
tag=100,
parent_interface="$scm_parent_interface",
ips=[{
"name": "198.18.1.1/32",
}],
opts = pulumi.ResourceOptions(depends_on=[scm_parent_interface]))
scm_parent_dhcp_interface = scm.EthernetInterface("scm_parent_dhcp_interface",
name="$scm_parent_dhcp_interface",
comment="Managed by Pulumi",
folder="All",
layer3={})
#
# Creates a layer3 sub-interface with dhcp
#
scm_l3_dhcp_subinterface = scm.Layer3Subinterface("scm_l3_dhcp_subinterface",
name="$scm_parent_dhcp_interface.100",
comment="Managed by Pulumi",
folder="All",
tag=100,
parent_interface="$scm_parent_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]))
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_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_parent_interface.100"),
Comment: pulumi.String("Managed by Pulumi"),
Folder: pulumi.String("ngfw-shared"),
Tag: pulumi.Int(100),
ParentInterface: pulumi.String("$scm_parent_interface"),
Ips: scm.Layer3SubinterfaceIpArray{
&scm.Layer3SubinterfaceIpArgs{
Name: pulumi.String("198.18.1.1/32"),
},
},
}, 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_dhcp_interface"),
Comment: pulumi.String("Managed by Pulumi"),
Folder: pulumi.String("All"),
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_dhcp_interface.100"),
Comment: pulumi.String("Managed by Pulumi"),
Folder: pulumi.String("All"),
Tag: pulumi.Int(100),
ParentInterface: pulumi.String("$scm_parent_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
}
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_parent_interface",
Comment = "Managed by Pulumi",
Folder = "ngfw-shared",
Layer3 = null,
});
//
// Creates a layer3 sub-interface with static ip address
//
var scmL3Subinterface = new Scm.Layer3Subinterface("scm_l3_subinterface", new()
{
Name = "$scm_parent_interface.100",
Comment = "Managed by Pulumi",
Folder = "ngfw-shared",
Tag = 100,
ParentInterface = "$scm_parent_interface",
Ips = new[]
{
new Scm.Inputs.Layer3SubinterfaceIpArgs
{
Name = "198.18.1.1/32",
},
},
}, new CustomResourceOptions
{
DependsOn =
{
scmParentInterface,
},
});
var scmParentDhcpInterface = new Scm.EthernetInterface("scm_parent_dhcp_interface", new()
{
Name = "$scm_parent_dhcp_interface",
Comment = "Managed by Pulumi",
Folder = "All",
Layer3 = null,
});
//
// Creates a layer3 sub-interface with dhcp
//
var scmL3DhcpSubinterface = new Scm.Layer3Subinterface("scm_l3_dhcp_subinterface", new()
{
Name = "$scm_parent_dhcp_interface.100",
Comment = "Managed by Pulumi",
Folder = "All",
Tag = 100,
ParentInterface = "$scm_parent_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,
},
});
});
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.Layer3SubinterfaceDhcpClientArgs;
import com.pulumi.scm.inputs.Layer3SubinterfaceDhcpClientSendHostnameArgs;
import com.pulumi.resources.CustomResourceOptions;
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) {
//
// Creates a ethernet interface used as parent-interface for subsequent examples
//
var scmParentInterface = new EthernetInterface("scmParentInterface", EthernetInterfaceArgs.builder()
.name("$scm_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_parent_interface.100")
.comment("Managed by Pulumi")
.folder("ngfw-shared")
.tag(100)
.parentInterface("$scm_parent_interface")
.ips(Layer3SubinterfaceIpArgs.builder()
.name("198.18.1.1/32")
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(scmParentInterface)
.build());
var scmParentDhcpInterface = new EthernetInterface("scmParentDhcpInterface", EthernetInterfaceArgs.builder()
.name("$scm_parent_dhcp_interface")
.comment("Managed by Pulumi")
.folder("All")
.layer3(EthernetInterfaceLayer3Args.builder()
.build())
.build());
//
// Creates a layer3 sub-interface with dhcp
//
var scmL3DhcpSubinterface = new Layer3Subinterface("scmL3DhcpSubinterface", Layer3SubinterfaceArgs.builder()
.name("$scm_parent_dhcp_interface.100")
.comment("Managed by Pulumi")
.folder("All")
.tag(100)
.parentInterface("$scm_parent_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());
}
}
resources:
#
# Creates a ethernet interface used as parent-interface for subsequent examples
#
scmParentInterface:
type: scm:EthernetInterface
name: scm_parent_interface
properties:
name: $scm_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_parent_interface.100
comment: Managed by Pulumi
folder: ngfw-shared
tag: 100
parentInterface: $scm_parent_interface
ips:
- name: 198.18.1.1/32
options:
dependsOn:
- ${scmParentInterface}
scmParentDhcpInterface:
type: scm:EthernetInterface
name: scm_parent_dhcp_interface
properties:
name: $scm_parent_dhcp_interface
comment: Managed by Pulumi
folder: All
layer3: {}
#
# Creates a layer3 sub-interface with dhcp
#
scmL3DhcpSubinterface:
type: scm:Layer3Subinterface
name: scm_l3_dhcp_subinterface
properties:
name: $scm_parent_dhcp_interface.100
comment: Managed by Pulumi
folder: All
tag: 100
parentInterface: $scm_parent_dhcp_interface
dhcpClient:
enable: true
createDefaultRoute: true
defaultRouteMetric: 20
sendHostname:
enable: true
hostname: client-vlan50-host
options:
dependsOn:
- ${scmParentDhcpInterface}
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,
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,
parent_interface: Optional[str] = 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.
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()
{
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",
ParentInterface = "string",
Snippet = "string",
Tag = 0,
});
example, err := scm.NewLayer3Subinterface(ctx, "layer3SubinterfaceResource", &scm.Layer3SubinterfaceArgs{
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"),
ParentInterface: pulumi.String("string"),
Snippet: pulumi.String("string"),
Tag: pulumi.Int(0),
})
var layer3SubinterfaceResource = new Layer3Subinterface("layer3SubinterfaceResource", Layer3SubinterfaceArgs.builder()
.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")
.parentInterface("string")
.snippet("string")
.tag(0)
.build());
layer3_subinterface_resource = scm.Layer3Subinterface("layer3SubinterfaceResource",
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",
parent_interface="string",
snippet="string",
tag=0)
const layer3SubinterfaceResource = new scm.Layer3Subinterface("layer3SubinterfaceResource", {
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",
parentInterface: "string",
snippet: "string",
tag: 0,
});
type: scm:Layer3Subinterface
properties:
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
parentInterface: 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:
- 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
- Parent
Interface string - Parent interface
- Snippet string
- The snippet in which the resource is defined
- Tag int
- VLAN tag
- 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
- Parent
Interface string - Parent interface
- Snippet string
- The snippet in which the resource is defined
- Tag int
- VLAN tag
- 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
- parent
Interface String - Parent interface
- snippet String
- The snippet in which the resource is defined
- tag Integer
- VLAN tag
- 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
- parent
Interface string - Parent interface
- snippet string
- The snippet in which the resource is defined
- tag number
- VLAN tag
- 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
- parent_
interface str - Parent interface
- snippet str
- The snippet in which the resource is defined
- tag int
- VLAN tag
- 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
- parent
Interface String - Parent 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:
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,
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,
parent_interface: Optional[str] = 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}- 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.
- 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
- Parent
Interface string - Parent interface
- Snippet string
- The snippet in which the resource is defined
- Tag int
- VLAN tag
- Tfid string
- 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
- Parent
Interface string - Parent interface
- Snippet string
- The snippet in which the resource is defined
- Tag int
- VLAN tag
- Tfid string
- 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
- parent
Interface String - Parent interface
- snippet String
- The snippet in which the resource is defined
- tag Integer
- VLAN tag
- tfid String
- 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
- parent
Interface string - Parent interface
- snippet string
- The snippet in which the resource is defined
- tag number
- VLAN tag
- tfid string
- 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
- parent_
interface str - Parent interface
- snippet str
- The snippet in which the resource is defined
- tag int
- VLAN tag
- tfid str
- 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
- parent
Interface String - Parent interface
- snippet String
- The snippet in which the resource is defined
- tag Number
- VLAN tag
- tfid String
Supporting Types
Layer3SubinterfaceArp, Layer3SubinterfaceArpArgs
- 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 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 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 str
- L3 sub-interface IP address(es)
- name String
- L3 sub-interface IP address(es)
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
