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
LoopbackInterface data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Look up loopback interface by its ID.
const scmLoopbackIntfDs = scm.getLoopbackInterface({
id: "ddad1e64-0b64-41a4-b361-c6199769a8f1",
});
export const scmLoopbackInterfaceDataSourceResults = {
id: scmLoopbackIntfDs.then(scmLoopbackIntfDs => scmLoopbackIntfDs.id),
name: scmLoopbackIntfDs.then(scmLoopbackIntfDs => scmLoopbackIntfDs.name),
comment: scmLoopbackIntfDs.then(scmLoopbackIntfDs => scmLoopbackIntfDs.comment),
ip: scmLoopbackIntfDs.then(scmLoopbackIntfDs => scmLoopbackIntfDs.ips),
folder: scmLoopbackIntfDs.then(scmLoopbackIntfDs => scmLoopbackIntfDs.folder),
};
import pulumi
import pulumi_scm as scm
# Look up loopback interface by its ID.
scm_loopback_intf_ds = scm.get_loopback_interface(id="ddad1e64-0b64-41a4-b361-c6199769a8f1")
pulumi.export("scmLoopbackInterfaceDataSourceResults", {
"id": scm_loopback_intf_ds.id,
"name": scm_loopback_intf_ds.name,
"comment": scm_loopback_intf_ds.comment,
"ip": scm_loopback_intf_ds.ips,
"folder": scm_loopback_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 loopback interface by its ID.
scmLoopbackIntfDs, err := scm.GetLoopbackInterface(ctx, &scm.LookupLoopbackInterfaceArgs{
Id: "ddad1e64-0b64-41a4-b361-c6199769a8f1",
}, nil)
if err != nil {
return err
}
ctx.Export("scmLoopbackInterfaceDataSourceResults", pulumi.Map{
"id": scmLoopbackIntfDs.Id,
"name": scmLoopbackIntfDs.Name,
"comment": scmLoopbackIntfDs.Comment,
"ip": scmLoopbackIntfDs.Ips,
"folder": scmLoopbackIntfDs.Folder,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Look up loopback interface by its ID.
var scmLoopbackIntfDs = Scm.GetLoopbackInterface.Invoke(new()
{
Id = "ddad1e64-0b64-41a4-b361-c6199769a8f1",
});
return new Dictionary<string, object?>
{
["scmLoopbackInterfaceDataSourceResults"] = new Dictionary<string, object?>
{
["id"] = scmLoopbackIntfDs.Apply(getLoopbackInterfaceResult => getLoopbackInterfaceResult.Id),
["name"] = scmLoopbackIntfDs.Apply(getLoopbackInterfaceResult => getLoopbackInterfaceResult.Name),
["comment"] = scmLoopbackIntfDs.Apply(getLoopbackInterfaceResult => getLoopbackInterfaceResult.Comment),
["ip"] = scmLoopbackIntfDs.Apply(getLoopbackInterfaceResult => getLoopbackInterfaceResult.Ips),
["folder"] = scmLoopbackIntfDs.Apply(getLoopbackInterfaceResult => getLoopbackInterfaceResult.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.GetLoopbackInterfaceArgs;
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 loopback interface by its ID.
final var scmLoopbackIntfDs = ScmFunctions.getLoopbackInterface(GetLoopbackInterfaceArgs.builder()
.id("ddad1e64-0b64-41a4-b361-c6199769a8f1")
.build());
ctx.export("scmLoopbackInterfaceDataSourceResults", Map.ofEntries(
Map.entry("id", scmLoopbackIntfDs.id()),
Map.entry("name", scmLoopbackIntfDs.name()),
Map.entry("comment", scmLoopbackIntfDs.comment()),
Map.entry("ip", scmLoopbackIntfDs.ips()),
Map.entry("folder", scmLoopbackIntfDs.folder())
));
}
}
variables:
# Look up loopback interface by its ID.
scmLoopbackIntfDs:
fn::invoke:
function: scm:getLoopbackInterface
arguments:
id: ddad1e64-0b64-41a4-b361-c6199769a8f1
outputs:
# Output various attributes from the found loopback interface to verify the lookups were successful.
scmLoopbackInterfaceDataSourceResults:
id: ${scmLoopbackIntfDs.id}
name: ${scmLoopbackIntfDs.name}
comment: ${scmLoopbackIntfDs.comment}
ip: ${scmLoopbackIntfDs.ips}
folder: ${scmLoopbackIntfDs.folder}
terraform {
required_providers {
scm = {
source = "pulumi/scm"
}
}
}
data "scm_loopback_interface" "scmLoopbackIntfDs" {
id = "ddad1e64-0b64-41a4-b361-c6199769a8f1"
}
# Look up loopback interface by its ID.
# Output various attributes from the found loopback interface to verify the lookups were successful.
output "scmLoopbackInterfaceDataSourceResults" {
value = {
"id" = data.scm_loopback_interface.scmLoopbackIntfDs.id
"name" = data.scm_loopback_interface.scmLoopbackIntfDs.name
"comment" = data.scm_loopback_interface.scmLoopbackIntfDs.comment
"ip" = data.scm_loopback_interface.scmLoopbackIntfDs.ips
"folder" = data.scm_loopback_interface.scmLoopbackIntfDs.folder
}
}
Using getLoopbackInterface
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 getLoopbackInterface(args: GetLoopbackInterfaceArgs, opts?: InvokeOptions): Promise<GetLoopbackInterfaceResult>
function getLoopbackInterfaceOutput(args: GetLoopbackInterfaceOutputArgs, opts?: InvokeOutputOptions): Output<GetLoopbackInterfaceResult>def get_loopback_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) -> GetLoopbackInterfaceResult
def get_loopback_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[GetLoopbackInterfaceResult]func LookupLoopbackInterface(ctx *Context, args *LookupLoopbackInterfaceArgs, opts ...InvokeOption) (*LookupLoopbackInterfaceResult, error)
func LookupLoopbackInterfaceOutput(ctx *Context, args *LookupLoopbackInterfaceOutputArgs, opts ...InvokeOption) LookupLoopbackInterfaceResultOutput> Note: This function is named LookupLoopbackInterface in the Go SDK.
public static class GetLoopbackInterface
{
public static Task<GetLoopbackInterfaceResult> InvokeAsync(GetLoopbackInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetLoopbackInterfaceResult> Invoke(GetLoopbackInterfaceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetLoopbackInterfaceResult> Invoke(GetLoopbackInterfaceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetLoopbackInterfaceResult> getLoopbackInterface(GetLoopbackInterfaceArgs args, InvokeOptions options)
public static Output<GetLoopbackInterfaceResult> getLoopbackInterface(GetLoopbackInterfaceArgs args, InvokeOptions options)
public static Output<GetLoopbackInterfaceResult> getLoopbackInterface(GetLoopbackInterfaceArgs args, InvokeOutputOptions options)
fn::invoke:
function: scm:index/getLoopbackInterface:getLoopbackInterface
arguments:
# arguments dictionarydata "scm_get_loopback_interface" "name" {
# arguments
}The following arguments are supported:
getLoopbackInterface Result
The following output properties are available:
- Adjust
Tcp GetMss Loopback Interface Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- Comment string
- Description for loopback interface
- Default
Value string - Default interface assignment for loopback 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 loopback interface
- Interface
Management stringProfile - Interface management profile for loopback interface
- Ips
List<Get
Loopback Interface Ip> - Loopback IP Parent
- Ipv6
Get
Loopback Interface Ipv6 - Loopback IPv6 Configuration
- Mtu int
- MTU for loopback interface
- Name string
- Loopback Interface name
- 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.
- Adjust
Tcp GetMss Loopback Interface Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- Comment string
- Description for loopback interface
- Default
Value string - Default interface assignment for loopback 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 loopback interface
- Interface
Management stringProfile - Interface management profile for loopback interface
- Ips
[]Get
Loopback Interface Ip - Loopback IP Parent
- Ipv6
Get
Loopback Interface Ipv6 - Loopback IPv6 Configuration
- Mtu int
- MTU for loopback interface
- Name string
- Loopback Interface name
- 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.
- adjust_
tcp_ objectmss - TCP MSS adjustment settings for the interface
- comment string
- Description for loopback interface
- default_
value string - Default interface assignment for loopback 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 loopback interface
- interface_
management_ stringprofile - Interface management profile for loopback interface
- ips list(object)
- Loopback IP Parent
- ipv6 object
- Loopback IPv6 Configuration
- mtu number
- MTU for loopback interface
- name string
- Loopback Interface name
- 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.
- adjust
Tcp GetMss Loopback Interface Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- comment String
- Description for loopback interface
- default
Value String - Default interface assignment for loopback 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 loopback interface
- interface
Management StringProfile - Interface management profile for loopback interface
- ips
List<Get
Loopback Interface Ip> - Loopback IP Parent
- ipv6
Get
Loopback Interface Ipv6 - Loopback IPv6 Configuration
- mtu Integer
- MTU for loopback interface
- name String
- Loopback Interface name
- 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.
- adjust
Tcp GetMss Loopback Interface Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- comment string
- Description for loopback interface
- default
Value string - Default interface assignment for loopback 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 loopback interface
- interface
Management stringProfile - Interface management profile for loopback interface
- ips
Get
Loopback Interface Ip[] - Loopback IP Parent
- ipv6
Get
Loopback Interface Ipv6 - Loopback IPv6 Configuration
- mtu number
- MTU for loopback interface
- name string
- Loopback Interface name
- 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.
- adjust_
tcp_ Getmss Loopback Interface Adjust Tcp Mss - TCP MSS adjustment settings for the interface
- comment str
- Description for loopback interface
- default_
value str - Default interface assignment for loopback 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 loopback interface
- interface_
management_ strprofile - Interface management profile for loopback interface
- ips
Sequence[Get
Loopback Interface Ip] - Loopback IP Parent
- ipv6
Get
Loopback Interface Ipv6 - Loopback IPv6 Configuration
- mtu int
- MTU for loopback interface
- name str
- Loopback Interface name
- 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.
- adjust
Tcp Property MapMss - TCP MSS adjustment settings for the interface
- comment String
- Description for loopback interface
- default
Value String - Default interface assignment for loopback 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 loopback interface
- interface
Management StringProfile - Interface management profile for loopback interface
- ips List<Property Map>
- Loopback IP Parent
- ipv6 Property Map
- Loopback IPv6 Configuration
- mtu Number
- MTU for loopback interface
- name String
- Loopback Interface name
- 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
GetLoopbackInterfaceAdjustTcpMss
- 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
GetLoopbackInterfaceIp
- Name string
- Loopback IP address(es)
- Name string
- Loopback IP address(es)
- name string
- Loopback IP address(es)
- name String
- Loopback IP address(es)
- name string
- Loopback IP address(es)
- name str
- Loopback IP address(es)
- name String
- Loopback IP address(es)
GetLoopbackInterfaceIpv6
- Addresses
List<Get
Loopback Interface Ipv6Address> - IPv6 Address Parent for loopback interface
- Enabled bool
- Enable IPv6 for loopback interface
- Interface
Id string - Interface ID for loopback interface
- Addresses
[]Get
Loopback Interface Ipv6Address - IPv6 Address Parent for loopback interface
- Enabled bool
- Enable IPv6 for loopback interface
- Interface
Id string - Interface ID for loopback interface
- addresses list(object)
- IPv6 Address Parent for loopback interface
- enabled bool
- Enable IPv6 for loopback interface
- interface_
id string - Interface ID for loopback interface
- addresses
List<Get
Loopback Interface Ipv6Address> - IPv6 Address Parent for loopback interface
- enabled Boolean
- Enable IPv6 for loopback interface
- interface
Id String - Interface ID for loopback interface
- addresses
Get
Loopback Interface Ipv6Address[] - IPv6 Address Parent for loopback interface
- enabled boolean
- Enable IPv6 for loopback interface
- interface
Id string - Interface ID for loopback interface
- addresses
Sequence[Get
Loopback Interface Ipv6Address] - IPv6 Address Parent for loopback interface
- enabled bool
- Enable IPv6 for loopback interface
- interface_
id str - Interface ID for loopback interface
- addresses List<Property Map>
- IPv6 Address Parent for loopback interface
- enabled Boolean
- Enable IPv6 for loopback interface
- interface
Id String - Interface ID for loopback interface
GetLoopbackInterfaceIpv6Address
- Anycast
Get
Loopback Interface Ipv6Address Anycast - Anycast for loopback interface
- Enable
On boolInterface - Enable Address on Interface for loopback interface
- Name string
- IPv6 Address for loopback interface
- Prefix
Get
Loopback Interface Ipv6Address Prefix - Use interface ID as host portion for loopback interface
- Anycast
Get
Loopback Interface Ipv6Address Anycast - Anycast for loopback interface
- Enable
On boolInterface - Enable Address on Interface for loopback interface
- Name string
- IPv6 Address for loopback interface
- Prefix
Get
Loopback Interface Ipv6Address Prefix - Use interface ID as host portion for loopback interface
- anycast
Get
Loopback Interface Ipv6Address Anycast - Anycast for loopback interface
- enable
On BooleanInterface - Enable Address on Interface for loopback interface
- name String
- IPv6 Address for loopback interface
- prefix
Get
Loopback Interface Ipv6Address Prefix - Use interface ID as host portion for loopback interface
- anycast
Get
Loopback Interface Ipv6Address Anycast - Anycast for loopback interface
- enable
On booleanInterface - Enable Address on Interface for loopback interface
- name string
- IPv6 Address for loopback interface
- prefix
Get
Loopback Interface Ipv6Address Prefix - Use interface ID as host portion for loopback interface
- anycast
Get
Loopback Interface Ipv6Address Anycast - Anycast for loopback interface
- enable_
on_ boolinterface - Enable Address on Interface for loopback interface
- name str
- IPv6 Address for loopback interface
- prefix
Get
Loopback Interface Ipv6Address Prefix - Use interface ID as host portion for loopback interface
- anycast Property Map
- Anycast for loopback interface
- enable
On BooleanInterface - Enable Address on Interface for loopback interface
- name String
- IPv6 Address for loopback interface
- prefix Property Map
- Use interface ID as host portion for loopback 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