Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi
Strata Cloud ManagerViewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi
TunnelInterface data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Look up tunnel interface by its ID.
const scmTunnelIntfDs = scm.getTunnelInterface({
id: "ddad1e64-0b64-41a4-b361-c6191169a8f1",
});
export const scmTunnelInterfaceDataSourceResults = {
id: scmTunnelIntfDs.then(scmTunnelIntfDs => scmTunnelIntfDs.id),
name: scmTunnelIntfDs.then(scmTunnelIntfDs => scmTunnelIntfDs.name),
comment: scmTunnelIntfDs.then(scmTunnelIntfDs => scmTunnelIntfDs.comment),
ip: scmTunnelIntfDs.then(scmTunnelIntfDs => scmTunnelIntfDs.ips),
folder: scmTunnelIntfDs.then(scmTunnelIntfDs => scmTunnelIntfDs.folder),
};
import pulumi
import pulumi_scm as scm
# Look up tunnel interface by its ID.
scm_tunnel_intf_ds = scm.get_tunnel_interface(id="ddad1e64-0b64-41a4-b361-c6191169a8f1")
pulumi.export("scmTunnelInterfaceDataSourceResults", {
"id": scm_tunnel_intf_ds.id,
"name": scm_tunnel_intf_ds.name,
"comment": scm_tunnel_intf_ds.comment,
"ip": scm_tunnel_intf_ds.ips,
"folder": scm_tunnel_intf_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 tunnel interface by its ID.
scmTunnelIntfDs, err := scm.GetTunnelInterface(ctx, &scm.LookupTunnelInterfaceArgs{
Id: "ddad1e64-0b64-41a4-b361-c6191169a8f1",
}, nil)
if err != nil {
return err
}
ctx.Export("scmTunnelInterfaceDataSourceResults", pulumi.Map{
"id": scmTunnelIntfDs.Id,
"name": scmTunnelIntfDs.Name,
"comment": scmTunnelIntfDs.Comment,
"ip": scmTunnelIntfDs.Ips,
"folder": scmTunnelIntfDs.Folder,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Look up tunnel interface by its ID.
var scmTunnelIntfDs = Scm.GetTunnelInterface.Invoke(new()
{
Id = "ddad1e64-0b64-41a4-b361-c6191169a8f1",
});
return new Dictionary<string, object?>
{
["scmTunnelInterfaceDataSourceResults"] = new Dictionary<string, object?>
{
["id"] = scmTunnelIntfDs.Apply(getTunnelInterfaceResult => getTunnelInterfaceResult.Id),
["name"] = scmTunnelIntfDs.Apply(getTunnelInterfaceResult => getTunnelInterfaceResult.Name),
["comment"] = scmTunnelIntfDs.Apply(getTunnelInterfaceResult => getTunnelInterfaceResult.Comment),
["ip"] = scmTunnelIntfDs.Apply(getTunnelInterfaceResult => getTunnelInterfaceResult.Ips),
["folder"] = scmTunnelIntfDs.Apply(getTunnelInterfaceResult => getTunnelInterfaceResult.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.GetTunnelInterfaceArgs;
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) {
// Look up tunnel interface by its ID.
final var scmTunnelIntfDs = ScmFunctions.getTunnelInterface(GetTunnelInterfaceArgs.builder()
.id("ddad1e64-0b64-41a4-b361-c6191169a8f1")
.build());
ctx.export("scmTunnelInterfaceDataSourceResults", Map.ofEntries(
Map.entry("id", scmTunnelIntfDs.id()),
Map.entry("name", scmTunnelIntfDs.name()),
Map.entry("comment", scmTunnelIntfDs.comment()),
Map.entry("ip", scmTunnelIntfDs.ips()),
Map.entry("folder", scmTunnelIntfDs.folder())
));
}
}
variables:
# Look up tunnel interface by its ID.
scmTunnelIntfDs:
fn::invoke:
function: scm:getTunnelInterface
arguments:
id: ddad1e64-0b64-41a4-b361-c6191169a8f1
outputs:
# Output various attributes from the found tunnel interface to verify the lookups were successful.
scmTunnelInterfaceDataSourceResults:
id: ${scmTunnelIntfDs.id}
name: ${scmTunnelIntfDs.name}
comment: ${scmTunnelIntfDs.comment}
ip: ${scmTunnelIntfDs.ips}
folder: ${scmTunnelIntfDs.folder}
terraform {
required_providers {
scm = {
source = "pulumi/scm"
}
}
}
data "scm_tunnel_interface" "scmTunnelIntfDs" {
id = "ddad1e64-0b64-41a4-b361-c6191169a8f1"
}
# Look up tunnel interface by its ID.
# Output various attributes from the found tunnel interface to verify the lookups were successful.
output "scmTunnelInterfaceDataSourceResults" {
value = {
"id" = data.scm_tunnel_interface.scmTunnelIntfDs.id
"name" = data.scm_tunnel_interface.scmTunnelIntfDs.name
"comment" = data.scm_tunnel_interface.scmTunnelIntfDs.comment
"ip" = data.scm_tunnel_interface.scmTunnelIntfDs.ips
"folder" = data.scm_tunnel_interface.scmTunnelIntfDs.folder
}
}
Using getTunnelInterface
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 getTunnelInterface(args: GetTunnelInterfaceArgs, opts?: InvokeOptions): Promise<GetTunnelInterfaceResult>
function getTunnelInterfaceOutput(args: GetTunnelInterfaceOutputArgs, opts?: InvokeOutputOptions): Output<GetTunnelInterfaceResult>def get_tunnel_interface(device: Optional[str] = None,
folder: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTunnelInterfaceResult
def get_tunnel_interface_output(device: pulumi.Input[Optional[str]] = None,
folder: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
snippet: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTunnelInterfaceResult]func LookupTunnelInterface(ctx *Context, args *LookupTunnelInterfaceArgs, opts ...InvokeOption) (*LookupTunnelInterfaceResult, error)
func LookupTunnelInterfaceOutput(ctx *Context, args *LookupTunnelInterfaceOutputArgs, opts ...InvokeOption) LookupTunnelInterfaceResultOutput> Note: This function is named LookupTunnelInterface in the Go SDK.
public static class GetTunnelInterface
{
public static Task<GetTunnelInterfaceResult> InvokeAsync(GetTunnelInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetTunnelInterfaceResult> Invoke(GetTunnelInterfaceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTunnelInterfaceResult> Invoke(GetTunnelInterfaceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTunnelInterfaceResult> getTunnelInterface(GetTunnelInterfaceArgs args, InvokeOptions options)
public static Output<GetTunnelInterfaceResult> getTunnelInterface(GetTunnelInterfaceArgs args, InvokeOptions options)
public static Output<GetTunnelInterfaceResult> getTunnelInterface(GetTunnelInterfaceArgs args, InvokeOutputOptions options)
fn::invoke:
function: scm:index/getTunnelInterface:getTunnelInterface
arguments:
# arguments dictionarydata "scm_get_tunnel_interface" "name" {
# arguments
}The following arguments are supported:
getTunnelInterface Result
The following output properties are available:
- Comment string
- Description for tunnel interface
- Default
Value string - Default interface assignment for tunnel interface
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Id string
- UUID of the resource for tunnel interface
- Interface
Management stringProfile - Interface management profile for tunnel interface
- Ips
List<Get
Tunnel Interface Ip> - Tunnel Interface IP Parent
- Ipv6
Get
Tunnel Interface Ipv6 - Tunnel Interface IPv6 Configuration
- Mtu int
- MTU for tunnel interface
- Name string
- L3 sub-interface name for tunnel interface
- Netflow
Profile string - Name of Netflow Profile to assign to Interface
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- The Terraform ID.
- Comment string
- Description for tunnel interface
- Default
Value string - Default interface assignment for tunnel interface
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Id string
- UUID of the resource for tunnel interface
- Interface
Management stringProfile - Interface management profile for tunnel interface
- Ips
[]Get
Tunnel Interface Ip - Tunnel Interface IP Parent
- Ipv6
Get
Tunnel Interface Ipv6 - Tunnel Interface IPv6 Configuration
- Mtu int
- MTU for tunnel interface
- Name string
- L3 sub-interface name for tunnel interface
- Netflow
Profile string - Name of Netflow Profile to assign to Interface
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- The Terraform ID.
- comment string
- Description for tunnel interface
- default_
value string - Default interface assignment for tunnel interface
- device string
- The device in which the resource is defined
- folder string
- The folder in which the resource is defined
- id string
- UUID of the resource for tunnel interface
- interface_
management_ stringprofile - Interface management profile for tunnel interface
- ips list(object)
- Tunnel Interface IP Parent
- ipv6 object
- Tunnel Interface IPv6 Configuration
- mtu number
- MTU for tunnel interface
- name string
- L3 sub-interface name for tunnel interface
- netflow_
profile string - Name of Netflow Profile to assign to Interface
- snippet string
- The snippet in which the resource is defined
- tfid string
- The Terraform ID.
- comment String
- Description for tunnel interface
- default
Value String - Default interface assignment for tunnel interface
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- id String
- UUID of the resource for tunnel interface
- interface
Management StringProfile - Interface management profile for tunnel interface
- ips
List<Get
Tunnel Interface Ip> - Tunnel Interface IP Parent
- ipv6
Get
Tunnel Interface Ipv6 - Tunnel Interface IPv6 Configuration
- mtu Integer
- MTU for tunnel interface
- name String
- L3 sub-interface name for tunnel interface
- netflow
Profile String - Name of Netflow Profile to assign to Interface
- snippet String
- The snippet in which the resource is defined
- tfid String
- The Terraform ID.
- comment string
- Description for tunnel interface
- default
Value string - Default interface assignment for tunnel interface
- device string
- The device in which the resource is defined
- folder string
- The folder in which the resource is defined
- id string
- UUID of the resource for tunnel interface
- interface
Management stringProfile - Interface management profile for tunnel interface
- ips
Get
Tunnel Interface Ip[] - Tunnel Interface IP Parent
- ipv6
Get
Tunnel Interface Ipv6 - Tunnel Interface IPv6 Configuration
- mtu number
- MTU for tunnel interface
- name string
- L3 sub-interface name for tunnel interface
- netflow
Profile string - Name of Netflow Profile to assign to Interface
- snippet string
- The snippet in which the resource is defined
- tfid string
- The Terraform ID.
- comment str
- Description for tunnel interface
- default_
value str - Default interface assignment for tunnel interface
- device str
- The device in which the resource is defined
- folder str
- The folder in which the resource is defined
- id str
- UUID of the resource for tunnel interface
- interface_
management_ strprofile - Interface management profile for tunnel interface
- ips
Sequence[Get
Tunnel Interface Ip] - Tunnel Interface IP Parent
- ipv6
Get
Tunnel Interface Ipv6 - Tunnel Interface IPv6 Configuration
- mtu int
- MTU for tunnel interface
- name str
- L3 sub-interface name for tunnel interface
- netflow_
profile str - Name of Netflow Profile to assign to Interface
- snippet str
- The snippet in which the resource is defined
- tfid str
- The Terraform ID.
- comment String
- Description for tunnel interface
- default
Value String - Default interface assignment for tunnel interface
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- id String
- UUID of the resource for tunnel interface
- interface
Management StringProfile - Interface management profile for tunnel interface
- ips List<Property Map>
- Tunnel Interface IP Parent
- ipv6 Property Map
- Tunnel Interface IPv6 Configuration
- mtu Number
- MTU for tunnel interface
- name String
- L3 sub-interface name for tunnel interface
- netflow
Profile String - Name of Netflow Profile to assign to Interface
- snippet String
- The snippet in which the resource is defined
- tfid String
- The Terraform ID.
Supporting Types
GetTunnelInterfaceIp
- Name string
- Tunnel Interface IP address(es)
- Name string
- Tunnel Interface IP address(es)
- name string
- Tunnel Interface IP address(es)
- name String
- Tunnel Interface IP address(es)
- name string
- Tunnel Interface IP address(es)
- name str
- Tunnel Interface IP address(es)
- name String
- Tunnel Interface IP address(es)
GetTunnelInterfaceIpv6
- Addresses
List<Get
Tunnel Interface Ipv6Address> - IPv6 Address Parent for tunnel interface
- Enabled bool
- Enable IPv6 for tunnel interface
- Interface
Id string - Interface ID for tunnel interface
- Addresses
[]Get
Tunnel Interface Ipv6Address - IPv6 Address Parent for tunnel interface
- Enabled bool
- Enable IPv6 for tunnel interface
- Interface
Id string - Interface ID for tunnel interface
- addresses list(object)
- IPv6 Address Parent for tunnel interface
- enabled bool
- Enable IPv6 for tunnel interface
- interface_
id string - Interface ID for tunnel interface
- addresses
List<Get
Tunnel Interface Ipv6Address> - IPv6 Address Parent for tunnel interface
- enabled Boolean
- Enable IPv6 for tunnel interface
- interface
Id String - Interface ID for tunnel interface
- addresses
Get
Tunnel Interface Ipv6Address[] - IPv6 Address Parent for tunnel interface
- enabled boolean
- Enable IPv6 for tunnel interface
- interface
Id string - Interface ID for tunnel interface
- addresses
Sequence[Get
Tunnel Interface Ipv6Address] - IPv6 Address Parent for tunnel interface
- enabled bool
- Enable IPv6 for tunnel interface
- interface_
id str - Interface ID for tunnel interface
- addresses List<Property Map>
- IPv6 Address Parent for tunnel interface
- enabled Boolean
- Enable IPv6 for tunnel interface
- interface
Id String - Interface ID for tunnel interface
GetTunnelInterfaceIpv6Address
- Anycast
Get
Tunnel Interface Ipv6Address Anycast - Anycast for tunnel interface
- Enable
On boolInterface - Enable Address on Interface for tunnel interface
- Name string
- IPv6 Address for tunnel interface
- Prefix
Get
Tunnel Interface Ipv6Address Prefix - Use interface ID as host portion for tunnel interface
- Anycast
Get
Tunnel Interface Ipv6Address Anycast - Anycast for tunnel interface
- Enable
On boolInterface - Enable Address on Interface for tunnel interface
- Name string
- IPv6 Address for tunnel interface
- Prefix
Get
Tunnel Interface Ipv6Address Prefix - Use interface ID as host portion for tunnel interface
- anycast
Get
Tunnel Interface Ipv6Address Anycast - Anycast for tunnel interface
- enable
On BooleanInterface - Enable Address on Interface for tunnel interface
- name String
- IPv6 Address for tunnel interface
- prefix
Get
Tunnel Interface Ipv6Address Prefix - Use interface ID as host portion for tunnel interface
- anycast
Get
Tunnel Interface Ipv6Address Anycast - Anycast for tunnel interface
- enable
On booleanInterface - Enable Address on Interface for tunnel interface
- name string
- IPv6 Address for tunnel interface
- prefix
Get
Tunnel Interface Ipv6Address Prefix - Use interface ID as host portion for tunnel interface
- anycast
Get
Tunnel Interface Ipv6Address Anycast - Anycast for tunnel interface
- enable_
on_ boolinterface - Enable Address on Interface for tunnel interface
- name str
- IPv6 Address for tunnel interface
- prefix
Get
Tunnel Interface Ipv6Address Prefix - Use interface ID as host portion for tunnel interface
- anycast Property Map
- Anycast for tunnel interface
- enable
On BooleanInterface - Enable Address on Interface for tunnel interface
- name String
- IPv6 Address for tunnel interface
- prefix Property Map
- Use interface ID as host portion for tunnel interface
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud ManagerViewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi