Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm.getVlanInterface
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
VlanInterface data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Look up vlan interface by its ID.
const scmVlanInterfaceDs = scm.getVlanInterface({
id: "3f9382a3-5c93-46d9-ae06-a632c2d9ce0c",
});
export const vlanInterfaceDataSourceResults = {
id: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.id),
name: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.name),
comment: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.comment),
vlanTag: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.vlanTag),
ip: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.ips),
folder: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.folder),
};
import pulumi
import pulumi_scm as scm
# Look up vlan interface by its ID.
scm_vlan_interface_ds = scm.get_vlan_interface(id="3f9382a3-5c93-46d9-ae06-a632c2d9ce0c")
pulumi.export("vlanInterfaceDataSourceResults", {
"id": scm_vlan_interface_ds.id,
"name": scm_vlan_interface_ds.name,
"comment": scm_vlan_interface_ds.comment,
"vlanTag": scm_vlan_interface_ds.vlan_tag,
"ip": scm_vlan_interface_ds.ips,
"folder": scm_vlan_interface_ds.folder,
})
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 {
// Look up vlan interface by its ID.
scmVlanInterfaceDs, err := scm.LookupVlanInterface(ctx, &scm.LookupVlanInterfaceArgs{
Id: "3f9382a3-5c93-46d9-ae06-a632c2d9ce0c",
}, nil)
if err != nil {
return err
}
ctx.Export("vlanInterfaceDataSourceResults", pulumi.Map{
"id": scmVlanInterfaceDs.Id,
"name": scmVlanInterfaceDs.Name,
"comment": scmVlanInterfaceDs.Comment,
"vlanTag": scmVlanInterfaceDs.VlanTag,
"ip": scmVlanInterfaceDs.Ips,
"folder": scmVlanInterfaceDs.Folder,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Look up vlan interface by its ID.
var scmVlanInterfaceDs = Scm.GetVlanInterface.Invoke(new()
{
Id = "3f9382a3-5c93-46d9-ae06-a632c2d9ce0c",
});
return new Dictionary<string, object?>
{
["vlanInterfaceDataSourceResults"] =
{
{ "id", scmVlanInterfaceDs.Apply(getVlanInterfaceResult => getVlanInterfaceResult.Id) },
{ "name", scmVlanInterfaceDs.Apply(getVlanInterfaceResult => getVlanInterfaceResult.Name) },
{ "comment", scmVlanInterfaceDs.Apply(getVlanInterfaceResult => getVlanInterfaceResult.Comment) },
{ "vlanTag", scmVlanInterfaceDs.Apply(getVlanInterfaceResult => getVlanInterfaceResult.VlanTag) },
{ "ip", scmVlanInterfaceDs.Apply(getVlanInterfaceResult => getVlanInterfaceResult.Ips) },
{ "folder", scmVlanInterfaceDs.Apply(getVlanInterfaceResult => getVlanInterfaceResult.Folder) },
},
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetVlanInterfaceArgs;
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) {
// Look up vlan interface by its ID.
final var scmVlanInterfaceDs = ScmFunctions.getVlanInterface(GetVlanInterfaceArgs.builder()
.id("3f9382a3-5c93-46d9-ae06-a632c2d9ce0c")
.build());
ctx.export("vlanInterfaceDataSourceResults", Map.ofEntries(
Map.entry("id", scmVlanInterfaceDs.id()),
Map.entry("name", scmVlanInterfaceDs.name()),
Map.entry("comment", scmVlanInterfaceDs.comment()),
Map.entry("vlanTag", scmVlanInterfaceDs.vlanTag()),
Map.entry("ip", scmVlanInterfaceDs.ips()),
Map.entry("folder", scmVlanInterfaceDs.folder())
));
}
}
variables:
# Look up vlan interface by its ID.
scmVlanInterfaceDs:
fn::invoke:
function: scm:getVlanInterface
arguments:
id: 3f9382a3-5c93-46d9-ae06-a632c2d9ce0c
outputs:
# Output various attributes from the found vlan interface to verify the lookups were successful.
vlanInterfaceDataSourceResults:
id: ${scmVlanInterfaceDs.id}
name: ${scmVlanInterfaceDs.name}
comment: ${scmVlanInterfaceDs.comment}
vlanTag: ${scmVlanInterfaceDs.vlanTag}
ip: ${scmVlanInterfaceDs.ips}
folder: ${scmVlanInterfaceDs.folder}
Using getVlanInterface
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVlanInterface(args: GetVlanInterfaceArgs, opts?: InvokeOptions): Promise<GetVlanInterfaceResult>
function getVlanInterfaceOutput(args: GetVlanInterfaceOutputArgs, opts?: InvokeOptions): Output<GetVlanInterfaceResult>def get_vlan_interface(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVlanInterfaceResult
def get_vlan_interface_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVlanInterfaceResult]func LookupVlanInterface(ctx *Context, args *LookupVlanInterfaceArgs, opts ...InvokeOption) (*LookupVlanInterfaceResult, error)
func LookupVlanInterfaceOutput(ctx *Context, args *LookupVlanInterfaceOutputArgs, opts ...InvokeOption) LookupVlanInterfaceResultOutput> Note: This function is named LookupVlanInterface in the Go SDK.
public static class GetVlanInterface
{
public static Task<GetVlanInterfaceResult> InvokeAsync(GetVlanInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetVlanInterfaceResult> Invoke(GetVlanInterfaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVlanInterfaceResult> getVlanInterface(GetVlanInterfaceArgs args, InvokeOptions options)
public static Output<GetVlanInterfaceResult> getVlanInterface(GetVlanInterfaceArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getVlanInterface:getVlanInterface
arguments:
# arguments dictionaryThe following arguments are supported:
getVlanInterface Result
The following output properties are available:
- Arps
List<Get
Vlan Interface Arp> - ARP configuration
- Comment string
- Description
- Ddns
Config GetVlan Interface Ddns Config - Dynamic DNS configuration specific to the Vlan Interfaces.
- Default
Value string - Default interface assignment
- Device string
- The device in which the resource is defined
- Dhcp
Client GetVlan Interface Dhcp Client - Vlan interfaces DHCP Client Object
- Folder string
- The folder in which the resource is defined
- Id string
- UUID of the resource
- Interface
Management stringProfile - Interface management profile
- Ips
List<Get
Vlan Interface Ip> - VLAN Interface IP Parent
- Mtu int
- MTU
- Name string
- L3 sub-interface name
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Vlan
Tag string - VLAN tag
- Arps
[]Get
Vlan Interface Arp - ARP configuration
- Comment string
- Description
- Ddns
Config GetVlan Interface Ddns Config - Dynamic DNS configuration specific to the Vlan Interfaces.
- Default
Value string - Default interface assignment
- Device string
- The device in which the resource is defined
- Dhcp
Client GetVlan Interface Dhcp Client - Vlan interfaces DHCP Client Object
- Folder string
- The folder in which the resource is defined
- Id string
- UUID of the resource
- Interface
Management stringProfile - Interface management profile
- Ips
[]Get
Vlan Interface Ip - VLAN Interface IP Parent
- Mtu int
- MTU
- Name string
- L3 sub-interface name
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Vlan
Tag string - VLAN tag
- arps
List<Get
Vlan Interface Arp> - ARP configuration
- comment String
- Description
- ddns
Config GetVlan Interface Ddns Config - Dynamic DNS configuration specific to the Vlan Interfaces.
- default
Value String - Default interface assignment
- device String
- The device in which the resource is defined
- dhcp
Client GetVlan Interface Dhcp Client - Vlan interfaces DHCP Client Object
- folder String
- The folder in which the resource is defined
- id String
- UUID of the resource
- interface
Management StringProfile - Interface management profile
- ips
List<Get
Vlan Interface Ip> - VLAN Interface IP Parent
- mtu Integer
- MTU
- name String
- L3 sub-interface name
- snippet String
- The snippet in which the resource is defined
- tfid String
- vlan
Tag String - VLAN tag
- arps
Get
Vlan Interface Arp[] - ARP configuration
- comment string
- Description
- ddns
Config GetVlan Interface Ddns Config - Dynamic DNS configuration specific to the Vlan Interfaces.
- default
Value string - Default interface assignment
- device string
- The device in which the resource is defined
- dhcp
Client GetVlan Interface Dhcp Client - Vlan interfaces DHCP Client Object
- folder string
- The folder in which the resource is defined
- id string
- UUID of the resource
- interface
Management stringProfile - Interface management profile
- ips
Get
Vlan Interface Ip[] - VLAN Interface IP Parent
- mtu number
- MTU
- name string
- L3 sub-interface name
- snippet string
- The snippet in which the resource is defined
- tfid string
- vlan
Tag string - VLAN tag
- arps
Sequence[Get
Vlan Interface Arp] - ARP configuration
- comment str
- Description
- ddns_
config GetVlan Interface Ddns Config - Dynamic DNS configuration specific to the Vlan Interfaces.
- default_
value str - Default interface assignment
- device str
- The device in which the resource is defined
- dhcp_
client GetVlan Interface Dhcp Client - Vlan interfaces DHCP Client Object
- folder str
- The folder in which the resource is defined
- id str
- UUID of the resource
- interface_
management_ strprofile - Interface management profile
- ips
Sequence[Get
Vlan Interface Ip] - VLAN Interface IP Parent
- mtu int
- MTU
- name str
- L3 sub-interface name
- snippet str
- The snippet in which the resource is defined
- tfid str
- vlan_
tag str - VLAN tag
- arps List<Property Map>
- ARP configuration
- comment String
- Description
- ddns
Config Property Map - Dynamic DNS configuration specific to the Vlan Interfaces.
- default
Value String - Default interface assignment
- device String
- The device in which the resource is defined
- dhcp
Client Property Map - Vlan interfaces DHCP Client Object
- folder String
- The folder in which the resource is defined
- id String
- UUID of the resource
- interface
Management StringProfile - Interface management profile
- ips List<Property Map>
- VLAN Interface IP Parent
- mtu Number
- MTU
- name String
- L3 sub-interface name
- snippet String
- The snippet in which the resource is defined
- tfid String
- vlan
Tag String - VLAN tag
Supporting Types
GetVlanInterfaceArp
- hw
Address String - MAC address
- interface_ String
- ARP interface
- name String
- IP address
- hw_
address str - MAC address
- interface str
- ARP interface
- name str
- IP address
GetVlanInterfaceDdnsConfig
- Ddns
Cert stringProfile - Certificate profile
- Ddns
Enabled bool - Enable DDNS?
- Ddns
Hostname string - Ddns hostname
- Ddns
Ip string - IP to register (static only)
- Ddns
Update intInterval - Update interval (days)
- Ddns
Vendor string - DDNS vendor
- Ddns
Vendor stringConfig - DDNS vendor
- Ddns
Cert stringProfile - Certificate profile
- Ddns
Enabled bool - Enable DDNS?
- Ddns
Hostname string - Ddns hostname
- Ddns
Ip string - IP to register (static only)
- Ddns
Update intInterval - Update interval (days)
- Ddns
Vendor string - DDNS vendor
- Ddns
Vendor stringConfig - DDNS vendor
- ddns
Cert StringProfile - Certificate profile
- ddns
Enabled Boolean - Enable DDNS?
- ddns
Hostname String - Ddns hostname
- ddns
Ip String - IP to register (static only)
- ddns
Update IntegerInterval - Update interval (days)
- ddns
Vendor String - DDNS vendor
- ddns
Vendor StringConfig - DDNS vendor
- ddns
Cert stringProfile - Certificate profile
- ddns
Enabled boolean - Enable DDNS?
- ddns
Hostname string - Ddns hostname
- ddns
Ip string - IP to register (static only)
- ddns
Update numberInterval - Update interval (days)
- ddns
Vendor string - DDNS vendor
- ddns
Vendor stringConfig - DDNS vendor
- ddns_
cert_ strprofile - Certificate profile
- ddns_
enabled bool - Enable DDNS?
- ddns_
hostname str - Ddns hostname
- ddns_
ip str - IP to register (static only)
- ddns_
update_ intinterval - Update interval (days)
- ddns_
vendor str - DDNS vendor
- ddns_
vendor_ strconfig - DDNS vendor
- ddns
Cert StringProfile - Certificate profile
- ddns
Enabled Boolean - Enable DDNS?
- ddns
Hostname String - Ddns hostname
- ddns
Ip String - IP to register (static only)
- ddns
Update NumberInterval - Update interval (days)
- ddns
Vendor String - DDNS vendor
- ddns
Vendor StringConfig - DDNS vendor
GetVlanInterfaceDhcpClient
- 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 GetVlan Interface Dhcp Client Send Hostname - 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 GetVlan Interface Dhcp Client Send Hostname - 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 GetVlan Interface Dhcp Client Send Hostname - 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 GetVlan Interface Dhcp Client Send Hostname - 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 GetVlan Interface Dhcp Client Send Hostname - 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 - Send hostname
GetVlanInterfaceDhcpClientSendHostname
GetVlanInterfaceIp
- Name string
- VLAN Interface IP address(es)
- Name string
- VLAN Interface IP address(es)
- name String
- VLAN Interface IP address(es)
- name string
- VLAN Interface IP address(es)
- name str
- VLAN Interface IP address(es)
- name String
- VLAN 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.
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
