1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. LoopbackInterface
Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi
scm logo
Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi

    LoopbackInterface resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    //
    // Creates a loopback interface with static ipv4 address
    //
    const scmLoopbackIntf = new scm.LoopbackInterface("scm_loopback_intf", {
        name: "$scm_loopback_intf",
        comment: "Managed by Pulumi",
        folder: "ngfw-shared",
        ips: [{
            name: "198.18.1.1/32",
        }],
    });
    //
    // Creates a loopback interface with static ipv4 address, with default value loopback.123
    //
    const scmLoopbackIntf2 = new scm.LoopbackInterface("scm_loopback_intf_2", {
        name: "$scm_loopback_intf_2",
        comment: "Managed by Pulumi",
        folder: "ngfw-shared",
        defaultValue: "loopback.123",
        ips: [{
            name: "198.18.1.2/32",
        }],
    });
    //
    // Creates an ip subnet variable used in the subsequent example
    //
    const scmIpv6Prefix = new scm.Variable("scm_ipv6_prefix", {
        folder: "ngfw-shared",
        name: "$scm_ipv6_prefix",
        description: "Managed by Pulumi",
        type: "ip-netmask",
        value: "2001:0db8:abcd:0001::/64",
    });
    //
    // Creates a loopback interface with ipv6 address, with default value loopback.321
    //
    const scmLoopbackIntf3 = new scm.LoopbackInterface("scm_loopback_intf_3", {
        name: "$scm_loopback_intf3",
        comment: "Managed by Pulumi",
        folder: "ngfw-shared",
        defaultValue: "loopback.321",
        ipv6: {
            enabled: true,
            interfaceId: "EUI-64",
            addresses: [{
                name: "$scm_ipv6_prefix",
                prefix: {},
            }],
        },
    }, {
        dependsOn: [scmIpv6Prefix],
    });
    
    import pulumi
    import pulumi_scm as scm
    
    #
    # Creates a loopback interface with static ipv4 address
    #
    scm_loopback_intf = scm.LoopbackInterface("scm_loopback_intf",
        name="$scm_loopback_intf",
        comment="Managed by Pulumi",
        folder="ngfw-shared",
        ips=[{
            "name": "198.18.1.1/32",
        }])
    #
    # Creates a loopback interface with static ipv4 address, with default value loopback.123
    #
    scm_loopback_intf2 = scm.LoopbackInterface("scm_loopback_intf_2",
        name="$scm_loopback_intf_2",
        comment="Managed by Pulumi",
        folder="ngfw-shared",
        default_value="loopback.123",
        ips=[{
            "name": "198.18.1.2/32",
        }])
    #
    # Creates an ip subnet variable used in the subsequent example
    #
    scm_ipv6_prefix = scm.Variable("scm_ipv6_prefix",
        folder="ngfw-shared",
        name="$scm_ipv6_prefix",
        description="Managed by Pulumi",
        type="ip-netmask",
        value="2001:0db8:abcd:0001::/64")
    #
    # Creates a loopback interface with ipv6 address, with default value loopback.321
    #
    scm_loopback_intf3 = scm.LoopbackInterface("scm_loopback_intf_3",
        name="$scm_loopback_intf3",
        comment="Managed by Pulumi",
        folder="ngfw-shared",
        default_value="loopback.321",
        ipv6={
            "enabled": True,
            "interface_id": "EUI-64",
            "addresses": [{
                "name": "$scm_ipv6_prefix",
                "prefix": {},
            }],
        },
        opts = pulumi.ResourceOptions(depends_on=[scm_ipv6_prefix]))
    
    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 loopback interface with static ipv4 address
    		_, err := scm.NewLoopbackInterface(ctx, "scm_loopback_intf", &scm.LoopbackInterfaceArgs{
    			Name:    pulumi.String("$scm_loopback_intf"),
    			Comment: pulumi.String("Managed by Pulumi"),
    			Folder:  pulumi.String("ngfw-shared"),
    			Ips: scm.LoopbackInterfaceIpArray{
    				&scm.LoopbackInterfaceIpArgs{
    					Name: pulumi.String("198.18.1.1/32"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Creates a loopback interface with static ipv4 address, with default value loopback.123
    		_, err = scm.NewLoopbackInterface(ctx, "scm_loopback_intf_2", &scm.LoopbackInterfaceArgs{
    			Name:         pulumi.String("$scm_loopback_intf_2"),
    			Comment:      pulumi.String("Managed by Pulumi"),
    			Folder:       pulumi.String("ngfw-shared"),
    			DefaultValue: pulumi.String("loopback.123"),
    			Ips: scm.LoopbackInterfaceIpArray{
    				&scm.LoopbackInterfaceIpArgs{
    					Name: pulumi.String("198.18.1.2/32"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Creates an ip subnet variable used in the subsequent example
    		scmIpv6Prefix, err := scm.NewVariable(ctx, "scm_ipv6_prefix", &scm.VariableArgs{
    			Folder:      pulumi.String("ngfw-shared"),
    			Name:        pulumi.String("$scm_ipv6_prefix"),
    			Description: pulumi.String("Managed by Pulumi"),
    			Type:        pulumi.String("ip-netmask"),
    			Value:       pulumi.String("2001:0db8:abcd:0001::/64"),
    		})
    		if err != nil {
    			return err
    		}
    		// Creates a loopback interface with ipv6 address, with default value loopback.321
    		_, err = scm.NewLoopbackInterface(ctx, "scm_loopback_intf_3", &scm.LoopbackInterfaceArgs{
    			Name:         pulumi.String("$scm_loopback_intf3"),
    			Comment:      pulumi.String("Managed by Pulumi"),
    			Folder:       pulumi.String("ngfw-shared"),
    			DefaultValue: pulumi.String("loopback.321"),
    			Ipv6: &scm.LoopbackInterfaceIpv6Args{
    				Enabled:     pulumi.Bool(true),
    				InterfaceId: pulumi.String("EUI-64"),
    				Addresses: scm.LoopbackInterfaceIpv6AddressArray{
    					&scm.LoopbackInterfaceIpv6AddressArgs{
    						Name:   pulumi.String("$scm_ipv6_prefix"),
    						Prefix: &scm.LoopbackInterfaceIpv6AddressPrefixArgs{},
    					},
    				},
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			scmIpv6Prefix,
    		}))
    		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 loopback interface with static ipv4 address
        //
        var scmLoopbackIntf = new Scm.LoopbackInterface("scm_loopback_intf", new()
        {
            Name = "$scm_loopback_intf",
            Comment = "Managed by Pulumi",
            Folder = "ngfw-shared",
            Ips = new[]
            {
                new Scm.Inputs.LoopbackInterfaceIpArgs
                {
                    Name = "198.18.1.1/32",
                },
            },
        });
    
        //
        // Creates a loopback interface with static ipv4 address, with default value loopback.123
        //
        var scmLoopbackIntf2 = new Scm.LoopbackInterface("scm_loopback_intf_2", new()
        {
            Name = "$scm_loopback_intf_2",
            Comment = "Managed by Pulumi",
            Folder = "ngfw-shared",
            DefaultValue = "loopback.123",
            Ips = new[]
            {
                new Scm.Inputs.LoopbackInterfaceIpArgs
                {
                    Name = "198.18.1.2/32",
                },
            },
        });
    
        //
        // Creates an ip subnet variable used in the subsequent example
        //
        var scmIpv6Prefix = new Scm.Variable("scm_ipv6_prefix", new()
        {
            Folder = "ngfw-shared",
            Name = "$scm_ipv6_prefix",
            Description = "Managed by Pulumi",
            Type = "ip-netmask",
            Value = "2001:0db8:abcd:0001::/64",
        });
    
        //
        // Creates a loopback interface with ipv6 address, with default value loopback.321
        //
        var scmLoopbackIntf3 = new Scm.LoopbackInterface("scm_loopback_intf_3", new()
        {
            Name = "$scm_loopback_intf3",
            Comment = "Managed by Pulumi",
            Folder = "ngfw-shared",
            DefaultValue = "loopback.321",
            Ipv6 = new Scm.Inputs.LoopbackInterfaceIpv6Args
            {
                Enabled = true,
                InterfaceId = "EUI-64",
                Addresses = new[]
                {
                    new Scm.Inputs.LoopbackInterfaceIpv6AddressArgs
                    {
                        Name = "$scm_ipv6_prefix",
                        Prefix = null,
                    },
                },
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                scmIpv6Prefix,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.LoopbackInterface;
    import com.pulumi.scm.LoopbackInterfaceArgs;
    import com.pulumi.scm.inputs.LoopbackInterfaceIpArgs;
    import com.pulumi.scm.Variable;
    import com.pulumi.scm.VariableArgs;
    import com.pulumi.scm.inputs.LoopbackInterfaceIpv6Args;
    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 loopback interface with static ipv4 address
            //
            var scmLoopbackIntf = new LoopbackInterface("scmLoopbackIntf", LoopbackInterfaceArgs.builder()
                .name("$scm_loopback_intf")
                .comment("Managed by Pulumi")
                .folder("ngfw-shared")
                .ips(LoopbackInterfaceIpArgs.builder()
    %!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression))
                    .build());
    
                //
                // Creates a loopback interface with static ipv4 address, with default value loopback.123
                //
                var scmLoopbackIntf2 = new LoopbackInterface("scmLoopbackIntf2", LoopbackInterfaceArgs.builder()
                    .name("$scm_loopback_intf_2")
                    .comment("Managed by Pulumi")
                    .folder("ngfw-shared")
                    .defaultValue("loopback.123")
                    .ips(LoopbackInterfaceIpArgs.builder()
    %!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression))
                        .build());
    
                    //
                    // Creates an ip subnet variable used in the subsequent example
                    //
                    var scmIpv6Prefix = new Variable("scmIpv6Prefix", VariableArgs.builder()
                        .folder("ngfw-shared")
                        .name("$scm_ipv6_prefix")
                        .description("Managed by Pulumi")
                        .type("ip-netmask")
                        .value("2001:0db8:abcd:0001::/64")
                        .build());
    
                    //
                    // Creates a loopback interface with ipv6 address, with default value loopback.321
                    //
                    var scmLoopbackIntf3 = new LoopbackInterface("scmLoopbackIntf3", LoopbackInterfaceArgs.builder()
                        .name("$scm_loopback_intf3")
                        .comment("Managed by Pulumi")
                        .folder("ngfw-shared")
                        .defaultValue("loopback.321")
                        .ipv6(LoopbackInterfaceIpv6Args.builder()
                            .enabled(true)
                            .interfaceId("EUI-64")
                            .addresses(LoopbackInterfaceIpv6AddressArgs.builder()
                                .name("$scm_ipv6_prefix")
                                .prefix(LoopbackInterfaceIpv6AddressPrefixArgs.builder()
                                    .build())
                                .build())
                            .build())
                        .build(), CustomResourceOptions.builder()
                            .dependsOn(scmIpv6Prefix)
                            .build());
    
                }
    }
    
    resources:
      #
      # Creates a loopback interface with static ipv4 address
      #
      scmLoopbackIntf:
        type: scm:LoopbackInterface
        name: scm_loopback_intf
        properties:
          name: $scm_loopback_intf
          comment: Managed by Pulumi
          folder: ngfw-shared
          ips:
            - name: 198.18.1.1/32
      #
      # Creates a loopback interface with static ipv4 address, with default value loopback.123
      #
      scmLoopbackIntf2:
        type: scm:LoopbackInterface
        name: scm_loopback_intf_2
        properties:
          name: $scm_loopback_intf_2
          comment: Managed by Pulumi
          folder: ngfw-shared
          defaultValue: loopback.123
          ips:
            - name: 198.18.1.2/32
      #
      # Creates an ip subnet variable used in the subsequent example
      #
      scmIpv6Prefix:
        type: scm:Variable
        name: scm_ipv6_prefix
        properties:
          folder: ngfw-shared
          name: $scm_ipv6_prefix
          description: Managed by Pulumi
          type: ip-netmask
          value: 2001:0db8:abcd:0001::/64
      #
      # Creates a loopback interface with ipv6 address, with default value loopback.321
      #
      scmLoopbackIntf3:
        type: scm:LoopbackInterface
        name: scm_loopback_intf_3
        properties:
          name: $scm_loopback_intf3
          comment: Managed by Pulumi
          folder: ngfw-shared
          defaultValue: loopback.321
          ipv6:
            enabled: true
            interfaceId: EUI-64
            addresses:
              - name: $scm_ipv6_prefix
                prefix: {}
        options:
          dependsOn:
            - ${scmIpv6Prefix}
    

    Create LoopbackInterface Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LoopbackInterface(name: string, args?: LoopbackInterfaceArgs, opts?: CustomResourceOptions);
    @overload
    def LoopbackInterface(resource_name: str,
                          args: Optional[LoopbackInterfaceArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def LoopbackInterface(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          comment: Optional[str] = None,
                          default_value: Optional[str] = None,
                          device: Optional[str] = None,
                          folder: Optional[str] = None,
                          interface_management_profile: Optional[str] = None,
                          ips: Optional[Sequence[LoopbackInterfaceIpArgs]] = None,
                          ipv6: Optional[LoopbackInterfaceIpv6Args] = None,
                          mtu: Optional[int] = None,
                          name: Optional[str] = None,
                          snippet: Optional[str] = None)
    func NewLoopbackInterface(ctx *Context, name string, args *LoopbackInterfaceArgs, opts ...ResourceOption) (*LoopbackInterface, error)
    public LoopbackInterface(string name, LoopbackInterfaceArgs? args = null, CustomResourceOptions? opts = null)
    public LoopbackInterface(String name, LoopbackInterfaceArgs args)
    public LoopbackInterface(String name, LoopbackInterfaceArgs args, CustomResourceOptions options)
    
    type: scm:LoopbackInterface
    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 LoopbackInterfaceArgs
    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 LoopbackInterfaceArgs
    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 LoopbackInterfaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LoopbackInterfaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LoopbackInterfaceArgs
    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 loopbackInterfaceResource = new Scm.LoopbackInterface("loopbackInterfaceResource", new()
    {
        Comment = "string",
        DefaultValue = "string",
        Device = "string",
        Folder = "string",
        InterfaceManagementProfile = "string",
        Ips = new[]
        {
            new Scm.Inputs.LoopbackInterfaceIpArgs
            {
                Name = "string",
            },
        },
        Ipv6 = new Scm.Inputs.LoopbackInterfaceIpv6Args
        {
            Addresses = new[]
            {
                new Scm.Inputs.LoopbackInterfaceIpv6AddressArgs
                {
                    Anycast = null,
                    EnableOnInterface = false,
                    Name = "string",
                    Prefix = null,
                },
            },
            Enabled = false,
            InterfaceId = "string",
        },
        Mtu = 0,
        Name = "string",
        Snippet = "string",
    });
    
    example, err := scm.NewLoopbackInterface(ctx, "loopbackInterfaceResource", &scm.LoopbackInterfaceArgs{
    	Comment:                    pulumi.String("string"),
    	DefaultValue:               pulumi.String("string"),
    	Device:                     pulumi.String("string"),
    	Folder:                     pulumi.String("string"),
    	InterfaceManagementProfile: pulumi.String("string"),
    	Ips: scm.LoopbackInterfaceIpArray{
    		&scm.LoopbackInterfaceIpArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	Ipv6: &scm.LoopbackInterfaceIpv6Args{
    		Addresses: scm.LoopbackInterfaceIpv6AddressArray{
    			&scm.LoopbackInterfaceIpv6AddressArgs{
    				Anycast:           &scm.LoopbackInterfaceIpv6AddressAnycastArgs{},
    				EnableOnInterface: pulumi.Bool(false),
    				Name:              pulumi.String("string"),
    				Prefix:            &scm.LoopbackInterfaceIpv6AddressPrefixArgs{},
    			},
    		},
    		Enabled:     pulumi.Bool(false),
    		InterfaceId: pulumi.String("string"),
    	},
    	Mtu:     pulumi.Int(0),
    	Name:    pulumi.String("string"),
    	Snippet: pulumi.String("string"),
    })
    
    var loopbackInterfaceResource = new LoopbackInterface("loopbackInterfaceResource", LoopbackInterfaceArgs.builder()
        .comment("string")
        .defaultValue("string")
        .device("string")
        .folder("string")
        .interfaceManagementProfile("string")
        .ips(LoopbackInterfaceIpArgs.builder()
            .name("string")
            .build())
        .ipv6(LoopbackInterfaceIpv6Args.builder()
            .addresses(LoopbackInterfaceIpv6AddressArgs.builder()
                .anycast(LoopbackInterfaceIpv6AddressAnycastArgs.builder()
                    .build())
                .enableOnInterface(false)
                .name("string")
                .prefix(LoopbackInterfaceIpv6AddressPrefixArgs.builder()
                    .build())
                .build())
            .enabled(false)
            .interfaceId("string")
            .build())
        .mtu(0)
        .name("string")
        .snippet("string")
        .build());
    
    loopback_interface_resource = scm.LoopbackInterface("loopbackInterfaceResource",
        comment="string",
        default_value="string",
        device="string",
        folder="string",
        interface_management_profile="string",
        ips=[{
            "name": "string",
        }],
        ipv6={
            "addresses": [{
                "anycast": {},
                "enable_on_interface": False,
                "name": "string",
                "prefix": {},
            }],
            "enabled": False,
            "interface_id": "string",
        },
        mtu=0,
        name="string",
        snippet="string")
    
    const loopbackInterfaceResource = new scm.LoopbackInterface("loopbackInterfaceResource", {
        comment: "string",
        defaultValue: "string",
        device: "string",
        folder: "string",
        interfaceManagementProfile: "string",
        ips: [{
            name: "string",
        }],
        ipv6: {
            addresses: [{
                anycast: {},
                enableOnInterface: false,
                name: "string",
                prefix: {},
            }],
            enabled: false,
            interfaceId: "string",
        },
        mtu: 0,
        name: "string",
        snippet: "string",
    });
    
    type: scm:LoopbackInterface
    properties:
        comment: string
        defaultValue: string
        device: string
        folder: string
        interfaceManagementProfile: string
        ips:
            - name: string
        ipv6:
            addresses:
                - anycast: {}
                  enableOnInterface: false
                  name: string
                  prefix: {}
            enabled: false
            interfaceId: string
        mtu: 0
        name: string
        snippet: string
    

    LoopbackInterface 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 LoopbackInterface resource accepts the following input properties:

    Comment string
    Description for loopback interface
    DefaultValue 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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    InterfaceManagementProfile string
    Interface management profile for loopback interface
    Ips List<LoopbackInterfaceIp>
    Loopback IP Parent
    Ipv6 LoopbackInterfaceIpv6
    Loopback IPv6 Configuration
    Mtu int
    MTU for loopback interface
    Name string
    Loopback Interface name
    Snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Comment string
    Description for loopback interface
    DefaultValue 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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    InterfaceManagementProfile string
    Interface management profile for loopback interface
    Ips []LoopbackInterfaceIpArgs
    Loopback IP Parent
    Ipv6 LoopbackInterfaceIpv6Args
    Loopback IPv6 Configuration
    Mtu int
    MTU for loopback interface
    Name string
    Loopback Interface name
    Snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    comment String
    Description for loopback interface
    defaultValue 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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    interfaceManagementProfile String
    Interface management profile for loopback interface
    ips List<LoopbackInterfaceIp>
    Loopback IP Parent
    ipv6 LoopbackInterfaceIpv6
    Loopback IPv6 Configuration
    mtu Integer
    MTU for loopback interface
    name String
    Loopback Interface name
    snippet String

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    comment string
    Description for loopback interface
    defaultValue 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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    interfaceManagementProfile string
    Interface management profile for loopback interface
    ips LoopbackInterfaceIp[]
    Loopback IP Parent
    ipv6 LoopbackInterfaceIpv6
    Loopback IPv6 Configuration
    mtu number
    MTU for loopback interface
    name string
    Loopback Interface name
    snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    interface_management_profile str
    Interface management profile for loopback interface
    ips Sequence[LoopbackInterfaceIpArgs]
    Loopback IP Parent
    ipv6 LoopbackInterfaceIpv6Args
    Loopback IPv6 Configuration
    mtu int
    MTU for loopback interface
    name str
    Loopback Interface name
    snippet str

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    comment String
    Description for loopback interface
    defaultValue 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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    interfaceManagementProfile String
    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
    snippet String

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LoopbackInterface resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    The Terraform ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    The Terraform ID.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    The Terraform ID.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    The Terraform ID.
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    The Terraform ID.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    The Terraform ID.

    Look up Existing LoopbackInterface Resource

    Get an existing LoopbackInterface 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?: LoopbackInterfaceState, opts?: CustomResourceOptions): LoopbackInterface
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            default_value: Optional[str] = None,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            interface_management_profile: Optional[str] = None,
            ips: Optional[Sequence[LoopbackInterfaceIpArgs]] = None,
            ipv6: Optional[LoopbackInterfaceIpv6Args] = None,
            mtu: Optional[int] = None,
            name: Optional[str] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None) -> LoopbackInterface
    func GetLoopbackInterface(ctx *Context, name string, id IDInput, state *LoopbackInterfaceState, opts ...ResourceOption) (*LoopbackInterface, error)
    public static LoopbackInterface Get(string name, Input<string> id, LoopbackInterfaceState? state, CustomResourceOptions? opts = null)
    public static LoopbackInterface get(String name, Output<String> id, LoopbackInterfaceState state, CustomResourceOptions options)
    resources:  _:    type: scm:LoopbackInterface    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.
    The following state arguments are supported:
    Comment string
    Description for loopback interface
    DefaultValue 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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    InterfaceManagementProfile string
    Interface management profile for loopback interface
    Ips List<LoopbackInterfaceIp>
    Loopback IP Parent
    Ipv6 LoopbackInterfaceIpv6
    Loopback IPv6 Configuration
    Mtu int
    MTU for loopback interface
    Name string
    Loopback Interface name
    Snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Tfid string
    The Terraform ID.
    Comment string
    Description for loopback interface
    DefaultValue 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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    InterfaceManagementProfile string
    Interface management profile for loopback interface
    Ips []LoopbackInterfaceIpArgs
    Loopback IP Parent
    Ipv6 LoopbackInterfaceIpv6Args
    Loopback IPv6 Configuration
    Mtu int
    MTU for loopback interface
    Name string
    Loopback Interface name
    Snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Tfid string
    The Terraform ID.
    comment String
    Description for loopback interface
    defaultValue 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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    interfaceManagementProfile String
    Interface management profile for loopback interface
    ips List<LoopbackInterfaceIp>
    Loopback IP Parent
    ipv6 LoopbackInterfaceIpv6
    Loopback IPv6 Configuration
    mtu Integer
    MTU for loopback interface
    name String
    Loopback Interface name
    snippet String

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    tfid String
    The Terraform ID.
    comment string
    Description for loopback interface
    defaultValue 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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    interfaceManagementProfile string
    Interface management profile for loopback interface
    ips LoopbackInterfaceIp[]
    Loopback IP Parent
    ipv6 LoopbackInterfaceIpv6
    Loopback IPv6 Configuration
    mtu number
    MTU for loopback interface
    name string
    Loopback Interface name
    snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    tfid string
    The Terraform ID.
    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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    interface_management_profile str
    Interface management profile for loopback interface
    ips Sequence[LoopbackInterfaceIpArgs]
    Loopback IP Parent
    ipv6 LoopbackInterfaceIpv6Args
    Loopback IPv6 Configuration
    mtu int
    MTU for loopback interface
    name str
    Loopback Interface name
    snippet str

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    tfid str
    The Terraform ID.
    comment String
    Description for loopback interface
    defaultValue 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

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    interfaceManagementProfile String
    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
    snippet String

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    tfid String
    The Terraform ID.

    Supporting Types

    LoopbackInterfaceIp, LoopbackInterfaceIpArgs

    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)

    LoopbackInterfaceIpv6, LoopbackInterfaceIpv6Args

    Addresses List<LoopbackInterfaceIpv6Address>
    IPv6 Address Parent for loopback interface
    Enabled bool
    Enable IPv6 for loopback interface
    InterfaceId string
    Interface ID for loopback interface
    Addresses []LoopbackInterfaceIpv6Address
    IPv6 Address Parent for loopback interface
    Enabled bool
    Enable IPv6 for loopback interface
    InterfaceId string
    Interface ID for loopback interface
    addresses List<LoopbackInterfaceIpv6Address>
    IPv6 Address Parent for loopback interface
    enabled Boolean
    Enable IPv6 for loopback interface
    interfaceId String
    Interface ID for loopback interface
    addresses LoopbackInterfaceIpv6Address[]
    IPv6 Address Parent for loopback interface
    enabled boolean
    Enable IPv6 for loopback interface
    interfaceId string
    Interface ID for loopback interface
    addresses Sequence[LoopbackInterfaceIpv6Address]
    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
    interfaceId String
    Interface ID for loopback interface

    LoopbackInterfaceIpv6Address, LoopbackInterfaceIpv6AddressArgs

    Anycast LoopbackInterfaceIpv6AddressAnycast
    Anycast for loopback interface
    EnableOnInterface bool
    Enable Address on Interface for loopback interface
    Name string
    IPv6 Address for loopback interface
    Prefix LoopbackInterfaceIpv6AddressPrefix
    Use interface ID as host portion for loopback interface
    Anycast LoopbackInterfaceIpv6AddressAnycast
    Anycast for loopback interface
    EnableOnInterface bool
    Enable Address on Interface for loopback interface
    Name string
    IPv6 Address for loopback interface
    Prefix LoopbackInterfaceIpv6AddressPrefix
    Use interface ID as host portion for loopback interface
    anycast LoopbackInterfaceIpv6AddressAnycast
    Anycast for loopback interface
    enableOnInterface Boolean
    Enable Address on Interface for loopback interface
    name String
    IPv6 Address for loopback interface
    prefix LoopbackInterfaceIpv6AddressPrefix
    Use interface ID as host portion for loopback interface
    anycast LoopbackInterfaceIpv6AddressAnycast
    Anycast for loopback interface
    enableOnInterface boolean
    Enable Address on Interface for loopback interface
    name string
    IPv6 Address for loopback interface
    prefix LoopbackInterfaceIpv6AddressPrefix
    Use interface ID as host portion for loopback interface
    anycast LoopbackInterfaceIpv6AddressAnycast
    Anycast for loopback interface
    enable_on_interface bool
    Enable Address on Interface for loopback interface
    name str
    IPv6 Address for loopback interface
    prefix LoopbackInterfaceIpv6AddressPrefix
    Use interface ID as host portion for loopback interface
    anycast Property Map
    Anycast for loopback interface
    enableOnInterface Boolean
    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

    Import

    The following command can be used to import a resource not managed by Terraform:

    terraform import scm_loopback_interface.example folder:::id
    

    or

    terraform import scm_loopback_interface.example :snippet::id
    

    or

    terraform import scm_loopback_interface.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 scm Terraform Provider.
    scm logo
    Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate