1. Packages
  2. Packages
  3. Strata Cloud Manager Provider
  4. API Docs
  5. ForwardingProfileUserLocation
Viewing docs for Strata Cloud Manager v1.0.6
published on Saturday, Apr 25, 2026 by Pulumi
scm logo
Viewing docs for Strata Cloud Manager v1.0.6
published on Saturday, Apr 25, 2026 by Pulumi

    ForwardingProfileUserLocation resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // This file is embedded using go:embed
    // IP addresses only
    const scmUserLocation1 = new scm.ForwardingProfileUserLocation("scm_user_location_1", {
        folder: "Mobile Users",
        name: "tf_user_location_1",
        description: "Made by Pulumi",
        ipAddresses: [
            "10.0.0.0/8",
            "192.168.1.0/24",
        ],
    });
    // Internal host detection only
    const scmUserLocation2 = new scm.ForwardingProfileUserLocation("scm_user_location_2", {
        folder: "Mobile Users",
        name: "tf_user_location_2",
        description: "Internal host detection test",
        internalHostDetection: {
            ipAddress: "10.10.0.1",
            fqdn: "internal.corp.example.com",
        },
    });
    // Multiple IP addresses with wildcard
    const scmUserLocation4 = new scm.ForwardingProfileUserLocation("scm_user_location_4", {
        folder: "Mobile Users",
        name: "tf_user_location_4",
        description: "Multiple IP ranges for office locations",
        ipAddresses: [
            "10.0.0.0/8",
            "172.16.0.0/12",
            "192.168.0.0/16",
            "203.0.113.0/24",
        ],
    });
    
    import pulumi
    import pulumi_scm as scm
    
    # This file is embedded using go:embed
    # IP addresses only
    scm_user_location1 = scm.ForwardingProfileUserLocation("scm_user_location_1",
        folder="Mobile Users",
        name="tf_user_location_1",
        description="Made by Pulumi",
        ip_addresses=[
            "10.0.0.0/8",
            "192.168.1.0/24",
        ])
    # Internal host detection only
    scm_user_location2 = scm.ForwardingProfileUserLocation("scm_user_location_2",
        folder="Mobile Users",
        name="tf_user_location_2",
        description="Internal host detection test",
        internal_host_detection={
            "ip_address": "10.10.0.1",
            "fqdn": "internal.corp.example.com",
        })
    # Multiple IP addresses with wildcard
    scm_user_location4 = scm.ForwardingProfileUserLocation("scm_user_location_4",
        folder="Mobile Users",
        name="tf_user_location_4",
        description="Multiple IP ranges for office locations",
        ip_addresses=[
            "10.0.0.0/8",
            "172.16.0.0/12",
            "192.168.0.0/16",
            "203.0.113.0/24",
        ])
    
    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 {
    		// This file is embedded using go:embed
    		// IP addresses only
    		_, err := scm.NewForwardingProfileUserLocation(ctx, "scm_user_location_1", &scm.ForwardingProfileUserLocationArgs{
    			Folder:      pulumi.String("Mobile Users"),
    			Name:        pulumi.String("tf_user_location_1"),
    			Description: pulumi.String("Made by Pulumi"),
    			IpAddresses: pulumi.StringArray{
    				pulumi.String("10.0.0.0/8"),
    				pulumi.String("192.168.1.0/24"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Internal host detection only
    		_, err = scm.NewForwardingProfileUserLocation(ctx, "scm_user_location_2", &scm.ForwardingProfileUserLocationArgs{
    			Folder:      pulumi.String("Mobile Users"),
    			Name:        pulumi.String("tf_user_location_2"),
    			Description: pulumi.String("Internal host detection test"),
    			InternalHostDetection: &scm.ForwardingProfileUserLocationInternalHostDetectionArgs{
    				IpAddress: pulumi.String("10.10.0.1"),
    				Fqdn:      pulumi.String("internal.corp.example.com"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Multiple IP addresses with wildcard
    		_, err = scm.NewForwardingProfileUserLocation(ctx, "scm_user_location_4", &scm.ForwardingProfileUserLocationArgs{
    			Folder:      pulumi.String("Mobile Users"),
    			Name:        pulumi.String("tf_user_location_4"),
    			Description: pulumi.String("Multiple IP ranges for office locations"),
    			IpAddresses: pulumi.StringArray{
    				pulumi.String("10.0.0.0/8"),
    				pulumi.String("172.16.0.0/12"),
    				pulumi.String("192.168.0.0/16"),
    				pulumi.String("203.0.113.0/24"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // This file is embedded using go:embed
        // IP addresses only
        var scmUserLocation1 = new Scm.Index.ForwardingProfileUserLocation("scm_user_location_1", new()
        {
            Folder = "Mobile Users",
            Name = "tf_user_location_1",
            Description = "Made by Pulumi",
            IpAddresses = new[]
            {
                "10.0.0.0/8",
                "192.168.1.0/24",
            },
        });
    
        // Internal host detection only
        var scmUserLocation2 = new Scm.Index.ForwardingProfileUserLocation("scm_user_location_2", new()
        {
            Folder = "Mobile Users",
            Name = "tf_user_location_2",
            Description = "Internal host detection test",
            InternalHostDetection = new Scm.Inputs.ForwardingProfileUserLocationInternalHostDetectionArgs
            {
                IpAddress = "10.10.0.1",
                Fqdn = "internal.corp.example.com",
            },
        });
    
        // Multiple IP addresses with wildcard
        var scmUserLocation4 = new Scm.Index.ForwardingProfileUserLocation("scm_user_location_4", new()
        {
            Folder = "Mobile Users",
            Name = "tf_user_location_4",
            Description = "Multiple IP ranges for office locations",
            IpAddresses = new[]
            {
                "10.0.0.0/8",
                "172.16.0.0/12",
                "192.168.0.0/16",
                "203.0.113.0/24",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ForwardingProfileUserLocation;
    import com.pulumi.scm.ForwardingProfileUserLocationArgs;
    import com.pulumi.scm.inputs.ForwardingProfileUserLocationInternalHostDetectionArgs;
    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) {
            // This file is embedded using go:embed
            // IP addresses only
            var scmUserLocation1 = new ForwardingProfileUserLocation("scmUserLocation1", ForwardingProfileUserLocationArgs.builder()
                .folder("Mobile Users")
                .name("tf_user_location_1")
                .description("Made by Pulumi")
                .ipAddresses(            
                    "10.0.0.0/8",
                    "192.168.1.0/24")
                .build());
    
            // Internal host detection only
            var scmUserLocation2 = new ForwardingProfileUserLocation("scmUserLocation2", ForwardingProfileUserLocationArgs.builder()
                .folder("Mobile Users")
                .name("tf_user_location_2")
                .description("Internal host detection test")
                .internalHostDetection(ForwardingProfileUserLocationInternalHostDetectionArgs.builder()
                    .ipAddress("10.10.0.1")
                    .fqdn("internal.corp.example.com")
                    .build())
                .build());
    
            // Multiple IP addresses with wildcard
            var scmUserLocation4 = new ForwardingProfileUserLocation("scmUserLocation4", ForwardingProfileUserLocationArgs.builder()
                .folder("Mobile Users")
                .name("tf_user_location_4")
                .description("Multiple IP ranges for office locations")
                .ipAddresses(            
                    "10.0.0.0/8",
                    "172.16.0.0/12",
                    "192.168.0.0/16",
                    "203.0.113.0/24")
                .build());
    
        }
    }
    
    resources:
      # This file is embedded using go:embed
    
      # IP addresses only
      scmUserLocation1:
        type: scm:ForwardingProfileUserLocation
        name: scm_user_location_1
        properties:
          folder: Mobile Users
          name: tf_user_location_1
          description: Made by Pulumi
          ipAddresses:
            - 10.0.0.0/8
            - 192.168.1.0/24
      # Internal host detection only
      scmUserLocation2:
        type: scm:ForwardingProfileUserLocation
        name: scm_user_location_2
        properties:
          folder: Mobile Users
          name: tf_user_location_2
          description: Internal host detection test
          internalHostDetection:
            ipAddress: 10.10.0.1
            fqdn: internal.corp.example.com
      # Multiple IP addresses with wildcard
      scmUserLocation4:
        type: scm:ForwardingProfileUserLocation
        name: scm_user_location_4
        properties:
          folder: Mobile Users
          name: tf_user_location_4
          description: Multiple IP ranges for office locations
          ipAddresses:
            - 10.0.0.0/8
            - 172.16.0.0/12
            - 192.168.0.0/16
            - 203.0.113.0/24
    

    Create ForwardingProfileUserLocation Resource

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

    Constructor syntax

    new ForwardingProfileUserLocation(name: string, args?: ForwardingProfileUserLocationArgs, opts?: CustomResourceOptions);
    @overload
    def ForwardingProfileUserLocation(resource_name: str,
                                      args: Optional[ForwardingProfileUserLocationArgs] = None,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ForwardingProfileUserLocation(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      description: Optional[str] = None,
                                      folder: Optional[str] = None,
                                      internal_host_detection: Optional[ForwardingProfileUserLocationInternalHostDetectionArgs] = None,
                                      ip_addresses: Optional[Sequence[str]] = None,
                                      name: Optional[str] = None)
    func NewForwardingProfileUserLocation(ctx *Context, name string, args *ForwardingProfileUserLocationArgs, opts ...ResourceOption) (*ForwardingProfileUserLocation, error)
    public ForwardingProfileUserLocation(string name, ForwardingProfileUserLocationArgs? args = null, CustomResourceOptions? opts = null)
    public ForwardingProfileUserLocation(String name, ForwardingProfileUserLocationArgs args)
    public ForwardingProfileUserLocation(String name, ForwardingProfileUserLocationArgs args, CustomResourceOptions options)
    
    type: scm:ForwardingProfileUserLocation
    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 ForwardingProfileUserLocationArgs
    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 ForwardingProfileUserLocationArgs
    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 ForwardingProfileUserLocationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ForwardingProfileUserLocationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ForwardingProfileUserLocationArgs
    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 forwardingProfileUserLocationResource = new Scm.ForwardingProfileUserLocation("forwardingProfileUserLocationResource", new()
    {
        Description = "string",
        Folder = "string",
        InternalHostDetection = new Scm.Inputs.ForwardingProfileUserLocationInternalHostDetectionArgs
        {
            Fqdn = "string",
            IpAddress = "string",
        },
        IpAddresses = new[]
        {
            "string",
        },
        Name = "string",
    });
    
    example, err := scm.NewForwardingProfileUserLocation(ctx, "forwardingProfileUserLocationResource", &scm.ForwardingProfileUserLocationArgs{
    	Description: pulumi.String("string"),
    	Folder:      pulumi.String("string"),
    	InternalHostDetection: &scm.ForwardingProfileUserLocationInternalHostDetectionArgs{
    		Fqdn:      pulumi.String("string"),
    		IpAddress: pulumi.String("string"),
    	},
    	IpAddresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var forwardingProfileUserLocationResource = new ForwardingProfileUserLocation("forwardingProfileUserLocationResource", ForwardingProfileUserLocationArgs.builder()
        .description("string")
        .folder("string")
        .internalHostDetection(ForwardingProfileUserLocationInternalHostDetectionArgs.builder()
            .fqdn("string")
            .ipAddress("string")
            .build())
        .ipAddresses("string")
        .name("string")
        .build());
    
    forwarding_profile_user_location_resource = scm.ForwardingProfileUserLocation("forwardingProfileUserLocationResource",
        description="string",
        folder="string",
        internal_host_detection={
            "fqdn": "string",
            "ip_address": "string",
        },
        ip_addresses=["string"],
        name="string")
    
    const forwardingProfileUserLocationResource = new scm.ForwardingProfileUserLocation("forwardingProfileUserLocationResource", {
        description: "string",
        folder: "string",
        internalHostDetection: {
            fqdn: "string",
            ipAddress: "string",
        },
        ipAddresses: ["string"],
        name: "string",
    });
    
    type: scm:ForwardingProfileUserLocation
    properties:
        description: string
        folder: string
        internalHostDetection:
            fqdn: string
            ipAddress: string
        ipAddresses:
            - string
        name: string
    

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

    Description string
    Description of the user location
    Folder string
    The folder in which the resource is defined
    InternalHostDetection ForwardingProfileUserLocationInternalHostDetection
    Configuration for detecting internal hosts using IP address and FQDN
    IpAddresses List<string>
    List of IP addresses that define the user location
    Name string
    alphanumeric string [ 0-9a-zA-Z._-]
    Description string
    Description of the user location
    Folder string
    The folder in which the resource is defined
    InternalHostDetection ForwardingProfileUserLocationInternalHostDetectionArgs
    Configuration for detecting internal hosts using IP address and FQDN
    IpAddresses []string
    List of IP addresses that define the user location
    Name string
    alphanumeric string [ 0-9a-zA-Z._-]
    description String
    Description of the user location
    folder String
    The folder in which the resource is defined
    internalHostDetection ForwardingProfileUserLocationInternalHostDetection
    Configuration for detecting internal hosts using IP address and FQDN
    ipAddresses List<String>
    List of IP addresses that define the user location
    name String
    alphanumeric string [ 0-9a-zA-Z._-]
    description string
    Description of the user location
    folder string
    The folder in which the resource is defined
    internalHostDetection ForwardingProfileUserLocationInternalHostDetection
    Configuration for detecting internal hosts using IP address and FQDN
    ipAddresses string[]
    List of IP addresses that define the user location
    name string
    alphanumeric string [ 0-9a-zA-Z._-]
    description str
    Description of the user location
    folder str
    The folder in which the resource is defined
    internal_host_detection ForwardingProfileUserLocationInternalHostDetectionArgs
    Configuration for detecting internal hosts using IP address and FQDN
    ip_addresses Sequence[str]
    List of IP addresses that define the user location
    name str
    alphanumeric string [ 0-9a-zA-Z._-]
    description String
    Description of the user location
    folder String
    The folder in which the resource is defined
    internalHostDetection Property Map
    Configuration for detecting internal hosts using IP address and FQDN
    ipAddresses List<String>
    List of IP addresses that define the user location
    name String
    alphanumeric string [ 0-9a-zA-Z._-]

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ForwardingProfileUserLocation 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 ForwardingProfileUserLocation Resource

    Get an existing ForwardingProfileUserLocation 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?: ForwardingProfileUserLocationState, opts?: CustomResourceOptions): ForwardingProfileUserLocation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            folder: Optional[str] = None,
            internal_host_detection: Optional[ForwardingProfileUserLocationInternalHostDetectionArgs] = None,
            ip_addresses: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            tfid: Optional[str] = None) -> ForwardingProfileUserLocation
    func GetForwardingProfileUserLocation(ctx *Context, name string, id IDInput, state *ForwardingProfileUserLocationState, opts ...ResourceOption) (*ForwardingProfileUserLocation, error)
    public static ForwardingProfileUserLocation Get(string name, Input<string> id, ForwardingProfileUserLocationState? state, CustomResourceOptions? opts = null)
    public static ForwardingProfileUserLocation get(String name, Output<String> id, ForwardingProfileUserLocationState state, CustomResourceOptions options)
    resources:  _:    type: scm:ForwardingProfileUserLocation    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:
    Description string
    Description of the user location
    Folder string
    The folder in which the resource is defined
    InternalHostDetection ForwardingProfileUserLocationInternalHostDetection
    Configuration for detecting internal hosts using IP address and FQDN
    IpAddresses List<string>
    List of IP addresses that define the user location
    Name string
    alphanumeric string [ 0-9a-zA-Z._-]
    Tfid string
    The Terraform ID.
    Description string
    Description of the user location
    Folder string
    The folder in which the resource is defined
    InternalHostDetection ForwardingProfileUserLocationInternalHostDetectionArgs
    Configuration for detecting internal hosts using IP address and FQDN
    IpAddresses []string
    List of IP addresses that define the user location
    Name string
    alphanumeric string [ 0-9a-zA-Z._-]
    Tfid string
    The Terraform ID.
    description String
    Description of the user location
    folder String
    The folder in which the resource is defined
    internalHostDetection ForwardingProfileUserLocationInternalHostDetection
    Configuration for detecting internal hosts using IP address and FQDN
    ipAddresses List<String>
    List of IP addresses that define the user location
    name String
    alphanumeric string [ 0-9a-zA-Z._-]
    tfid String
    The Terraform ID.
    description string
    Description of the user location
    folder string
    The folder in which the resource is defined
    internalHostDetection ForwardingProfileUserLocationInternalHostDetection
    Configuration for detecting internal hosts using IP address and FQDN
    ipAddresses string[]
    List of IP addresses that define the user location
    name string
    alphanumeric string [ 0-9a-zA-Z._-]
    tfid string
    The Terraform ID.
    description str
    Description of the user location
    folder str
    The folder in which the resource is defined
    internal_host_detection ForwardingProfileUserLocationInternalHostDetectionArgs
    Configuration for detecting internal hosts using IP address and FQDN
    ip_addresses Sequence[str]
    List of IP addresses that define the user location
    name str
    alphanumeric string [ 0-9a-zA-Z._-]
    tfid str
    The Terraform ID.
    description String
    Description of the user location
    folder String
    The folder in which the resource is defined
    internalHostDetection Property Map
    Configuration for detecting internal hosts using IP address and FQDN
    ipAddresses List<String>
    List of IP addresses that define the user location
    name String
    alphanumeric string [ 0-9a-zA-Z._-]
    tfid String
    The Terraform ID.

    Supporting Types

    ForwardingProfileUserLocationInternalHostDetection, ForwardingProfileUserLocationInternalHostDetectionArgs

    Fqdn string
    user location fqdn
    IpAddress string
    user location ip address
    Fqdn string
    user location fqdn
    IpAddress string
    user location ip address
    fqdn String
    user location fqdn
    ipAddress String
    user location ip address
    fqdn string
    user location fqdn
    ipAddress string
    user location ip address
    fqdn str
    user location fqdn
    ip_address str
    user location ip address
    fqdn String
    user location fqdn
    ipAddress String
    user location ip address

    Import

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

    $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example folder:::id
    

    or

    $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example :snippet::id
    

    or

    $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation 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
    Viewing docs for Strata Cloud Manager v1.0.6
    published on Saturday, Apr 25, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.