Viewing docs for Strata Cloud Manager v1.0.6
published on Saturday, Apr 25, 2026 by Pulumi
published on Saturday, Apr 25, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v1.0.6
published on Saturday, Apr 25, 2026 by Pulumi
published on Saturday, Apr 25, 2026 by Pulumi
ForwardingProfileUserLocation data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Look up the user location with IP addresses by its ID.
const scmForwardingProfileUserLocation1Ds = scm.getForwardingProfileUserLocation({
id: "847948c9-8973-48aa-8496-212f572ab859",
});
// Look up the user location with internal host detection by its ID.
const scmForwardingProfileUserLocation2Ds = scm.getForwardingProfileUserLocation({
id: "ee149f5a-533e-48be-8492-e3aa6b20acf2",
});
// Look up the user location with multiple IP ranges by its ID.
const scmForwardingProfileUserLocation4Ds = scm.getForwardingProfileUserLocation({
id: "23293d0f-0403-4549-870f-c6c04cd6c95c",
});
export const forwardingProfileUserLocationDataSourceResults = {
ipAddressesObject: scmForwardingProfileUserLocation1Ds,
internalHostDetectionObject: scmForwardingProfileUserLocation2Ds,
multiIpRangeObject: scmForwardingProfileUserLocation4Ds,
};
import pulumi
import pulumi_scm as scm
# Look up the user location with IP addresses by its ID.
scm_forwarding_profile_user_location1_ds = scm.get_forwarding_profile_user_location(id="847948c9-8973-48aa-8496-212f572ab859")
# Look up the user location with internal host detection by its ID.
scm_forwarding_profile_user_location2_ds = scm.get_forwarding_profile_user_location(id="ee149f5a-533e-48be-8492-e3aa6b20acf2")
# Look up the user location with multiple IP ranges by its ID.
scm_forwarding_profile_user_location4_ds = scm.get_forwarding_profile_user_location(id="23293d0f-0403-4549-870f-c6c04cd6c95c")
pulumi.export("forwardingProfileUserLocationDataSourceResults", {
"ipAddressesObject": scm_forwarding_profile_user_location1_ds,
"internalHostDetectionObject": scm_forwarding_profile_user_location2_ds,
"multiIpRangeObject": scm_forwarding_profile_user_location4_ds,
})
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 the user location with IP addresses by its ID.
scmForwardingProfileUserLocation1Ds, err := scm.GetForwardingProfileUserLocation(ctx, &scm.LookupForwardingProfileUserLocationArgs{
Id: "847948c9-8973-48aa-8496-212f572ab859",
}, nil)
if err != nil {
return err
}
// Look up the user location with internal host detection by its ID.
scmForwardingProfileUserLocation2Ds, err := scm.GetForwardingProfileUserLocation(ctx, &scm.LookupForwardingProfileUserLocationArgs{
Id: "ee149f5a-533e-48be-8492-e3aa6b20acf2",
}, nil)
if err != nil {
return err
}
// Look up the user location with multiple IP ranges by its ID.
scmForwardingProfileUserLocation4Ds, err := scm.GetForwardingProfileUserLocation(ctx, &scm.LookupForwardingProfileUserLocationArgs{
Id: "23293d0f-0403-4549-870f-c6c04cd6c95c",
}, nil)
if err != nil {
return err
}
ctx.Export("forwardingProfileUserLocationDataSourceResults", scm.GetForwardingProfileUserLocationResultMap{
"ipAddressesObject": scmForwardingProfileUserLocation1Ds,
"internalHostDetectionObject": scmForwardingProfileUserLocation2Ds,
"multiIpRangeObject": scmForwardingProfileUserLocation4Ds,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Look up the user location with IP addresses by its ID.
var scmForwardingProfileUserLocation1Ds = Scm.Index.GetForwardingProfileUserLocation.Invoke(new()
{
Id = "847948c9-8973-48aa-8496-212f572ab859",
});
// Look up the user location with internal host detection by its ID.
var scmForwardingProfileUserLocation2Ds = Scm.Index.GetForwardingProfileUserLocation.Invoke(new()
{
Id = "ee149f5a-533e-48be-8492-e3aa6b20acf2",
});
// Look up the user location with multiple IP ranges by its ID.
var scmForwardingProfileUserLocation4Ds = Scm.Index.GetForwardingProfileUserLocation.Invoke(new()
{
Id = "23293d0f-0403-4549-870f-c6c04cd6c95c",
});
return new Dictionary<string, object?>
{
["forwardingProfileUserLocationDataSourceResults"] =
{
{ "ipAddressesObject", scmForwardingProfileUserLocation1Ds },
{ "internalHostDetectionObject", scmForwardingProfileUserLocation2Ds },
{ "multiIpRangeObject", scmForwardingProfileUserLocation4Ds },
},
};
});
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.GetForwardingProfileUserLocationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Look up the user location with IP addresses by its ID.
final var scmForwardingProfileUserLocation1Ds = ScmFunctions.getForwardingProfileUserLocation(GetForwardingProfileUserLocationArgs.builder()
.id("847948c9-8973-48aa-8496-212f572ab859")
.build());
// Look up the user location with internal host detection by its ID.
final var scmForwardingProfileUserLocation2Ds = ScmFunctions.getForwardingProfileUserLocation(GetForwardingProfileUserLocationArgs.builder()
.id("ee149f5a-533e-48be-8492-e3aa6b20acf2")
.build());
// Look up the user location with multiple IP ranges by its ID.
final var scmForwardingProfileUserLocation4Ds = ScmFunctions.getForwardingProfileUserLocation(GetForwardingProfileUserLocationArgs.builder()
.id("23293d0f-0403-4549-870f-c6c04cd6c95c")
.build());
ctx.export("forwardingProfileUserLocationDataSourceResults", Map.ofEntries(
Map.entry("ipAddressesObject", scmForwardingProfileUserLocation1Ds),
Map.entry("internalHostDetectionObject", scmForwardingProfileUserLocation2Ds),
Map.entry("multiIpRangeObject", scmForwardingProfileUserLocation4Ds)
));
}
}
variables:
# Look up the user location with IP addresses by its ID.
scmForwardingProfileUserLocation1Ds:
fn::invoke:
function: scm:getForwardingProfileUserLocation
arguments:
id: 847948c9-8973-48aa-8496-212f572ab859
# Look up the user location with internal host detection by its ID.
scmForwardingProfileUserLocation2Ds:
fn::invoke:
function: scm:getForwardingProfileUserLocation
arguments:
id: ee149f5a-533e-48be-8492-e3aa6b20acf2
# Look up the user location with multiple IP ranges by its ID.
scmForwardingProfileUserLocation4Ds:
fn::invoke:
function: scm:getForwardingProfileUserLocation
arguments:
id: 23293d0f-0403-4549-870f-c6c04cd6c95c
outputs:
# Output various attributes from the found objects to verify the lookups were successful.
forwardingProfileUserLocationDataSourceResults:
ipAddressesObject: ${scmForwardingProfileUserLocation1Ds}
internalHostDetectionObject: ${scmForwardingProfileUserLocation2Ds}
multiIpRangeObject: ${scmForwardingProfileUserLocation4Ds}
Using getForwardingProfileUserLocation
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 getForwardingProfileUserLocation(args: GetForwardingProfileUserLocationArgs, opts?: InvokeOptions): Promise<GetForwardingProfileUserLocationResult>
function getForwardingProfileUserLocationOutput(args: GetForwardingProfileUserLocationOutputArgs, opts?: InvokeOptions): Output<GetForwardingProfileUserLocationResult>def get_forwarding_profile_user_location(folder: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetForwardingProfileUserLocationResult
def get_forwarding_profile_user_location_output(folder: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetForwardingProfileUserLocationResult]func LookupForwardingProfileUserLocation(ctx *Context, args *LookupForwardingProfileUserLocationArgs, opts ...InvokeOption) (*LookupForwardingProfileUserLocationResult, error)
func LookupForwardingProfileUserLocationOutput(ctx *Context, args *LookupForwardingProfileUserLocationOutputArgs, opts ...InvokeOption) LookupForwardingProfileUserLocationResultOutput> Note: This function is named LookupForwardingProfileUserLocation in the Go SDK.
public static class GetForwardingProfileUserLocation
{
public static Task<GetForwardingProfileUserLocationResult> InvokeAsync(GetForwardingProfileUserLocationArgs args, InvokeOptions? opts = null)
public static Output<GetForwardingProfileUserLocationResult> Invoke(GetForwardingProfileUserLocationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetForwardingProfileUserLocationResult> getForwardingProfileUserLocation(GetForwardingProfileUserLocationArgs args, InvokeOptions options)
public static Output<GetForwardingProfileUserLocationResult> getForwardingProfileUserLocation(GetForwardingProfileUserLocationArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getForwardingProfileUserLocation:getForwardingProfileUserLocation
arguments:
# arguments dictionaryThe following arguments are supported:
getForwardingProfileUserLocation Result
The following output properties are available:
- Description string
- Description of the user location
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the user location
- Internal
Host GetDetection Forwarding Profile User Location Internal Host Detection - Configuration for detecting internal hosts using IP address and FQDN
- Ip
Addresses 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
- Id string
- The UUID of the user location
- Internal
Host GetDetection Forwarding Profile User Location Internal Host Detection - Configuration for detecting internal hosts using IP address and FQDN
- Ip
Addresses []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
- id String
- The UUID of the user location
- internal
Host GetDetection Forwarding Profile User Location Internal Host Detection - Configuration for detecting internal hosts using IP address and FQDN
- ip
Addresses 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
- id string
- The UUID of the user location
- internal
Host GetDetection Forwarding Profile User Location Internal Host Detection - Configuration for detecting internal hosts using IP address and FQDN
- ip
Addresses 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
- id str
- The UUID of the user location
- internal_
host_ Getdetection Forwarding Profile User Location Internal Host Detection - 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
- id String
- The UUID of the user location
- internal
Host Property MapDetection - Configuration for detecting internal hosts using IP address and FQDN
- ip
Addresses 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
GetForwardingProfileUserLocationInternalHostDetection
- fqdn str
- user location fqdn
- ip_
address str - user location ip address
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Viewing docs for Strata Cloud Manager v1.0.6
published on Saturday, Apr 25, 2026 by Pulumi
published on Saturday, Apr 25, 2026 by Pulumi
