published on Saturday, Apr 25, 2026 by Pulumi
published on Saturday, Apr 25, 2026 by Pulumi
ForwardingProfileDestination resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Basic forwarding profile destination with FQDN
const exampleBasicFqdn = new scm.ForwardingProfileDestination("example_basic_fqdn", {
folder: "Mobile Users",
name: "example-dest-fqdn",
fqdns: [{
name: "example.com",
port: 443,
}],
});
// Forwarding profile destination with IP addresses
const exampleIpAddresses = new scm.ForwardingProfileDestination("example_ip_addresses", {
folder: "Mobile Users",
name: "example-dest-ip",
description: "Managed by Terraform - Destination profile with IP addresses",
ipAddresses: [
{
name: "10.0.0.0/8",
port: 443,
},
{
name: "192.168.1.100",
port: 8080,
},
],
});
// Forwarding profile destination with both FQDN and IP addresses
const exampleMixed = new scm.ForwardingProfileDestination("example_mixed", {
folder: "Mobile Users",
name: "corp-destinations",
description: "Corporate destinations profile with mixed types",
fqdns: [
{
name: "*.corporate.com",
port: 443,
},
{
name: "api.example.com",
port: 8443,
},
],
ipAddresses: [
{
name: "10.10.0.0/16",
port: 443,
},
{
name: "172.16.0.1",
port: 80,
},
],
});
import pulumi
import pulumi_scm as scm
# Basic forwarding profile destination with FQDN
example_basic_fqdn = scm.ForwardingProfileDestination("example_basic_fqdn",
folder="Mobile Users",
name="example-dest-fqdn",
fqdns=[{
"name": "example.com",
"port": 443,
}])
# Forwarding profile destination with IP addresses
example_ip_addresses = scm.ForwardingProfileDestination("example_ip_addresses",
folder="Mobile Users",
name="example-dest-ip",
description="Managed by Terraform - Destination profile with IP addresses",
ip_addresses=[
{
"name": "10.0.0.0/8",
"port": 443,
},
{
"name": "192.168.1.100",
"port": 8080,
},
])
# Forwarding profile destination with both FQDN and IP addresses
example_mixed = scm.ForwardingProfileDestination("example_mixed",
folder="Mobile Users",
name="corp-destinations",
description="Corporate destinations profile with mixed types",
fqdns=[
{
"name": "*.corporate.com",
"port": 443,
},
{
"name": "api.example.com",
"port": 8443,
},
],
ip_addresses=[
{
"name": "10.10.0.0/16",
"port": 443,
},
{
"name": "172.16.0.1",
"port": 80,
},
])
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 {
// Basic forwarding profile destination with FQDN
_, err := scm.NewForwardingProfileDestination(ctx, "example_basic_fqdn", &scm.ForwardingProfileDestinationArgs{
Folder: pulumi.String("Mobile Users"),
Name: pulumi.String("example-dest-fqdn"),
Fqdns: scm.ForwardingProfileDestinationFqdnArray{
&scm.ForwardingProfileDestinationFqdnArgs{
Name: pulumi.String("example.com"),
Port: pulumi.Int(443),
},
},
})
if err != nil {
return err
}
// Forwarding profile destination with IP addresses
_, err = scm.NewForwardingProfileDestination(ctx, "example_ip_addresses", &scm.ForwardingProfileDestinationArgs{
Folder: pulumi.String("Mobile Users"),
Name: pulumi.String("example-dest-ip"),
Description: pulumi.String("Managed by Terraform - Destination profile with IP addresses"),
IpAddresses: scm.ForwardingProfileDestinationIpAddressArray{
&scm.ForwardingProfileDestinationIpAddressArgs{
Name: pulumi.String("10.0.0.0/8"),
Port: pulumi.Int(443),
},
&scm.ForwardingProfileDestinationIpAddressArgs{
Name: pulumi.String("192.168.1.100"),
Port: pulumi.Int(8080),
},
},
})
if err != nil {
return err
}
// Forwarding profile destination with both FQDN and IP addresses
_, err = scm.NewForwardingProfileDestination(ctx, "example_mixed", &scm.ForwardingProfileDestinationArgs{
Folder: pulumi.String("Mobile Users"),
Name: pulumi.String("corp-destinations"),
Description: pulumi.String("Corporate destinations profile with mixed types"),
Fqdns: scm.ForwardingProfileDestinationFqdnArray{
&scm.ForwardingProfileDestinationFqdnArgs{
Name: pulumi.String("*.corporate.com"),
Port: pulumi.Int(443),
},
&scm.ForwardingProfileDestinationFqdnArgs{
Name: pulumi.String("api.example.com"),
Port: pulumi.Int(8443),
},
},
IpAddresses: scm.ForwardingProfileDestinationIpAddressArray{
&scm.ForwardingProfileDestinationIpAddressArgs{
Name: pulumi.String("10.10.0.0/16"),
Port: pulumi.Int(443),
},
&scm.ForwardingProfileDestinationIpAddressArgs{
Name: pulumi.String("172.16.0.1"),
Port: pulumi.Int(80),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Basic forwarding profile destination with FQDN
var exampleBasicFqdn = new Scm.Index.ForwardingProfileDestination("example_basic_fqdn", new()
{
Folder = "Mobile Users",
Name = "example-dest-fqdn",
Fqdns = new[]
{
new Scm.Inputs.ForwardingProfileDestinationFqdnArgs
{
Name = "example.com",
Port = 443,
},
},
});
// Forwarding profile destination with IP addresses
var exampleIpAddresses = new Scm.Index.ForwardingProfileDestination("example_ip_addresses", new()
{
Folder = "Mobile Users",
Name = "example-dest-ip",
Description = "Managed by Terraform - Destination profile with IP addresses",
IpAddresses = new[]
{
new Scm.Inputs.ForwardingProfileDestinationIpAddressArgs
{
Name = "10.0.0.0/8",
Port = 443,
},
new Scm.Inputs.ForwardingProfileDestinationIpAddressArgs
{
Name = "192.168.1.100",
Port = 8080,
},
},
});
// Forwarding profile destination with both FQDN and IP addresses
var exampleMixed = new Scm.Index.ForwardingProfileDestination("example_mixed", new()
{
Folder = "Mobile Users",
Name = "corp-destinations",
Description = "Corporate destinations profile with mixed types",
Fqdns = new[]
{
new Scm.Inputs.ForwardingProfileDestinationFqdnArgs
{
Name = "*.corporate.com",
Port = 443,
},
new Scm.Inputs.ForwardingProfileDestinationFqdnArgs
{
Name = "api.example.com",
Port = 8443,
},
},
IpAddresses = new[]
{
new Scm.Inputs.ForwardingProfileDestinationIpAddressArgs
{
Name = "10.10.0.0/16",
Port = 443,
},
new Scm.Inputs.ForwardingProfileDestinationIpAddressArgs
{
Name = "172.16.0.1",
Port = 80,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ForwardingProfileDestination;
import com.pulumi.scm.ForwardingProfileDestinationArgs;
import com.pulumi.scm.inputs.ForwardingProfileDestinationFqdnArgs;
import com.pulumi.scm.inputs.ForwardingProfileDestinationIpAddressArgs;
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) {
// Basic forwarding profile destination with FQDN
var exampleBasicFqdn = new ForwardingProfileDestination("exampleBasicFqdn", ForwardingProfileDestinationArgs.builder()
.folder("Mobile Users")
.name("example-dest-fqdn")
.fqdns(ForwardingProfileDestinationFqdnArgs.builder()
.name("example.com")
.port(443)
.build())
.build());
// Forwarding profile destination with IP addresses
var exampleIpAddresses = new ForwardingProfileDestination("exampleIpAddresses", ForwardingProfileDestinationArgs.builder()
.folder("Mobile Users")
.name("example-dest-ip")
.description("Managed by Terraform - Destination profile with IP addresses")
.ipAddresses(
ForwardingProfileDestinationIpAddressArgs.builder()
.name("10.0.0.0/8")
.port(443)
.build(),
ForwardingProfileDestinationIpAddressArgs.builder()
.name("192.168.1.100")
.port(8080)
.build())
.build());
// Forwarding profile destination with both FQDN and IP addresses
var exampleMixed = new ForwardingProfileDestination("exampleMixed", ForwardingProfileDestinationArgs.builder()
.folder("Mobile Users")
.name("corp-destinations")
.description("Corporate destinations profile with mixed types")
.fqdns(
ForwardingProfileDestinationFqdnArgs.builder()
.name("*.corporate.com")
.port(443)
.build(),
ForwardingProfileDestinationFqdnArgs.builder()
.name("api.example.com")
.port(8443)
.build())
.ipAddresses(
ForwardingProfileDestinationIpAddressArgs.builder()
.name("10.10.0.0/16")
.port(443)
.build(),
ForwardingProfileDestinationIpAddressArgs.builder()
.name("172.16.0.1")
.port(80)
.build())
.build());
}
}
resources:
# Basic forwarding profile destination with FQDN
exampleBasicFqdn:
type: scm:ForwardingProfileDestination
name: example_basic_fqdn
properties:
folder: Mobile Users
name: example-dest-fqdn
fqdns:
- name: example.com
port: 443
# Forwarding profile destination with IP addresses
exampleIpAddresses:
type: scm:ForwardingProfileDestination
name: example_ip_addresses
properties:
folder: Mobile Users
name: example-dest-ip
description: Managed by Terraform - Destination profile with IP addresses
ipAddresses:
- name: 10.0.0.0/8
port: 443
- name: 192.168.1.100
port: 8080
# Forwarding profile destination with both FQDN and IP addresses
exampleMixed:
type: scm:ForwardingProfileDestination
name: example_mixed
properties:
folder: Mobile Users
name: corp-destinations
description: Corporate destinations profile with mixed types
fqdns:
- name: '*.corporate.com'
port: 443
- name: api.example.com
port: 8443
ipAddresses:
- name: 10.10.0.0/16
port: 443
- name: 172.16.0.1
port: 80
Create ForwardingProfileDestination Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ForwardingProfileDestination(name: string, args?: ForwardingProfileDestinationArgs, opts?: CustomResourceOptions);@overload
def ForwardingProfileDestination(resource_name: str,
args: Optional[ForwardingProfileDestinationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ForwardingProfileDestination(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
folder: Optional[str] = None,
fqdns: Optional[Sequence[ForwardingProfileDestinationFqdnArgs]] = None,
ip_addresses: Optional[Sequence[ForwardingProfileDestinationIpAddressArgs]] = None,
name: Optional[str] = None)func NewForwardingProfileDestination(ctx *Context, name string, args *ForwardingProfileDestinationArgs, opts ...ResourceOption) (*ForwardingProfileDestination, error)public ForwardingProfileDestination(string name, ForwardingProfileDestinationArgs? args = null, CustomResourceOptions? opts = null)
public ForwardingProfileDestination(String name, ForwardingProfileDestinationArgs args)
public ForwardingProfileDestination(String name, ForwardingProfileDestinationArgs args, CustomResourceOptions options)
type: scm:ForwardingProfileDestination
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 ForwardingProfileDestinationArgs
- 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 ForwardingProfileDestinationArgs
- 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 ForwardingProfileDestinationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ForwardingProfileDestinationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ForwardingProfileDestinationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ForwardingProfileDestination 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 ForwardingProfileDestination resource accepts the following input properties:
- Description string
- description of the destination
- Folder string
- The folder in which the resource is defined
- Fqdns
List<Forwarding
Profile Destination Fqdn> - List of FQDN based destination entries
- Ip
Addresses List<ForwardingProfile Destination Ip Address> - List of IP address based destination entries
- Name string
- alphanumeric string [ 0-9a-zA-Z._ -]
- Description string
- description of the destination
- Folder string
- The folder in which the resource is defined
- Fqdns
[]Forwarding
Profile Destination Fqdn Args - List of FQDN based destination entries
- Ip
Addresses []ForwardingProfile Destination Ip Address Args - List of IP address based destination entries
- Name string
- alphanumeric string [ 0-9a-zA-Z._ -]
- description String
- description of the destination
- folder String
- The folder in which the resource is defined
- fqdns
List<Forwarding
Profile Destination Fqdn> - List of FQDN based destination entries
- ip
Addresses List<ForwardingProfile Destination Ip Address> - List of IP address based destination entries
- name String
- alphanumeric string [ 0-9a-zA-Z._ -]
- description string
- description of the destination
- folder string
- The folder in which the resource is defined
- fqdns
Forwarding
Profile Destination Fqdn[] - List of FQDN based destination entries
- ip
Addresses ForwardingProfile Destination Ip Address[] - List of IP address based destination entries
- name string
- alphanumeric string [ 0-9a-zA-Z._ -]
- description str
- description of the destination
- folder str
- The folder in which the resource is defined
- fqdns
Sequence[Forwarding
Profile Destination Fqdn Args] - List of FQDN based destination entries
- ip_
addresses Sequence[ForwardingProfile Destination Ip Address Args] - List of IP address based destination entries
- name str
- alphanumeric string [ 0-9a-zA-Z._ -]
- description String
- description of the destination
- folder String
- The folder in which the resource is defined
- fqdns List<Property Map>
- List of FQDN based destination entries
- ip
Addresses List<Property Map> - List of IP address based destination entries
- name String
- alphanumeric string [ 0-9a-zA-Z._ -]
Outputs
All input properties are implicitly available as output properties. Additionally, the ForwardingProfileDestination resource produces the following output properties:
Look up Existing ForwardingProfileDestination Resource
Get an existing ForwardingProfileDestination 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?: ForwardingProfileDestinationState, opts?: CustomResourceOptions): ForwardingProfileDestination@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
folder: Optional[str] = None,
fqdns: Optional[Sequence[ForwardingProfileDestinationFqdnArgs]] = None,
ip_addresses: Optional[Sequence[ForwardingProfileDestinationIpAddressArgs]] = None,
name: Optional[str] = None,
tfid: Optional[str] = None) -> ForwardingProfileDestinationfunc GetForwardingProfileDestination(ctx *Context, name string, id IDInput, state *ForwardingProfileDestinationState, opts ...ResourceOption) (*ForwardingProfileDestination, error)public static ForwardingProfileDestination Get(string name, Input<string> id, ForwardingProfileDestinationState? state, CustomResourceOptions? opts = null)public static ForwardingProfileDestination get(String name, Output<String> id, ForwardingProfileDestinationState state, CustomResourceOptions options)resources: _: type: scm:ForwardingProfileDestination 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.
- Description string
- description of the destination
- Folder string
- The folder in which the resource is defined
- Fqdns
List<Forwarding
Profile Destination Fqdn> - List of FQDN based destination entries
- Ip
Addresses List<ForwardingProfile Destination Ip Address> - List of IP address based destination entries
- Name string
- alphanumeric string [ 0-9a-zA-Z._ -]
- Tfid string
- The Terraform ID.
- Description string
- description of the destination
- Folder string
- The folder in which the resource is defined
- Fqdns
[]Forwarding
Profile Destination Fqdn Args - List of FQDN based destination entries
- Ip
Addresses []ForwardingProfile Destination Ip Address Args - List of IP address based destination entries
- Name string
- alphanumeric string [ 0-9a-zA-Z._ -]
- Tfid string
- The Terraform ID.
- description String
- description of the destination
- folder String
- The folder in which the resource is defined
- fqdns
List<Forwarding
Profile Destination Fqdn> - List of FQDN based destination entries
- ip
Addresses List<ForwardingProfile Destination Ip Address> - List of IP address based destination entries
- name String
- alphanumeric string [ 0-9a-zA-Z._ -]
- tfid String
- The Terraform ID.
- description string
- description of the destination
- folder string
- The folder in which the resource is defined
- fqdns
Forwarding
Profile Destination Fqdn[] - List of FQDN based destination entries
- ip
Addresses ForwardingProfile Destination Ip Address[] - List of IP address based destination entries
- name string
- alphanumeric string [ 0-9a-zA-Z._ -]
- tfid string
- The Terraform ID.
- description str
- description of the destination
- folder str
- The folder in which the resource is defined
- fqdns
Sequence[Forwarding
Profile Destination Fqdn Args] - List of FQDN based destination entries
- ip_
addresses Sequence[ForwardingProfile Destination Ip Address Args] - List of IP address based destination entries
- name str
- alphanumeric string [ 0-9a-zA-Z._ -]
- tfid str
- The Terraform ID.
- description String
- description of the destination
- folder String
- The folder in which the resource is defined
- fqdns List<Property Map>
- List of FQDN based destination entries
- ip
Addresses List<Property Map> - List of IP address based destination entries
- name String
- alphanumeric string [ 0-9a-zA-Z._ -]
- tfid String
- The Terraform ID.
Supporting Types
ForwardingProfileDestinationFqdn, ForwardingProfileDestinationFqdnArgs
ForwardingProfileDestinationIpAddress, ForwardingProfileDestinationIpAddressArgs
Import
The following command can be used to import a resource not managed by Terraform:
$ pulumi import scm:index/forwardingProfileDestination:ForwardingProfileDestination example folder:::id
or
$ pulumi import scm:index/forwardingProfileDestination:ForwardingProfileDestination example :snippet::id
or
$ pulumi import scm:index/forwardingProfileDestination:ForwardingProfileDestination 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
scmTerraform Provider.
published on Saturday, Apr 25, 2026 by Pulumi
