published on Saturday, Apr 25, 2026 by Pulumi
published on Saturday, Apr 25, 2026 by Pulumi
ForwardingProfileSourceApplication resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Basic forwarding profile source application
const exampleBasic = new scm.ForwardingProfileSourceApplication("example_basic", {
folder: "Mobile Users",
name: "example-source-app",
applications: [
"ssl",
"web-browsing",
],
});
// Forwarding profile source application with description
const exampleWithDesc = new scm.ForwardingProfileSourceApplication("example_with_desc", {
folder: "Mobile Users",
name: "example-source-app-detailed",
description: "Managed by Terraform - Source application profile for mobile users",
applications: [
"ssl",
"web-browsing",
"dns",
"ntp",
],
});
// Forwarding profile source application with multiple applications
const exampleMultiApps = new scm.ForwardingProfileSourceApplication("example_multi_apps", {
folder: "Mobile Users",
name: "corp-mobile-apps",
description: "Corporate mobile applications profile",
applications: [
"ssl",
"web-browsing",
"dns",
"ssh",
"ping",
"office365-consumer-access",
"google-base",
],
});
import pulumi
import pulumi_scm as scm
# Basic forwarding profile source application
example_basic = scm.ForwardingProfileSourceApplication("example_basic",
folder="Mobile Users",
name="example-source-app",
applications=[
"ssl",
"web-browsing",
])
# Forwarding profile source application with description
example_with_desc = scm.ForwardingProfileSourceApplication("example_with_desc",
folder="Mobile Users",
name="example-source-app-detailed",
description="Managed by Terraform - Source application profile for mobile users",
applications=[
"ssl",
"web-browsing",
"dns",
"ntp",
])
# Forwarding profile source application with multiple applications
example_multi_apps = scm.ForwardingProfileSourceApplication("example_multi_apps",
folder="Mobile Users",
name="corp-mobile-apps",
description="Corporate mobile applications profile",
applications=[
"ssl",
"web-browsing",
"dns",
"ssh",
"ping",
"office365-consumer-access",
"google-base",
])
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 source application
_, err := scm.NewForwardingProfileSourceApplication(ctx, "example_basic", &scm.ForwardingProfileSourceApplicationArgs{
Folder: pulumi.String("Mobile Users"),
Name: pulumi.String("example-source-app"),
Applications: pulumi.StringArray{
pulumi.String("ssl"),
pulumi.String("web-browsing"),
},
})
if err != nil {
return err
}
// Forwarding profile source application with description
_, err = scm.NewForwardingProfileSourceApplication(ctx, "example_with_desc", &scm.ForwardingProfileSourceApplicationArgs{
Folder: pulumi.String("Mobile Users"),
Name: pulumi.String("example-source-app-detailed"),
Description: pulumi.String("Managed by Terraform - Source application profile for mobile users"),
Applications: pulumi.StringArray{
pulumi.String("ssl"),
pulumi.String("web-browsing"),
pulumi.String("dns"),
pulumi.String("ntp"),
},
})
if err != nil {
return err
}
// Forwarding profile source application with multiple applications
_, err = scm.NewForwardingProfileSourceApplication(ctx, "example_multi_apps", &scm.ForwardingProfileSourceApplicationArgs{
Folder: pulumi.String("Mobile Users"),
Name: pulumi.String("corp-mobile-apps"),
Description: pulumi.String("Corporate mobile applications profile"),
Applications: pulumi.StringArray{
pulumi.String("ssl"),
pulumi.String("web-browsing"),
pulumi.String("dns"),
pulumi.String("ssh"),
pulumi.String("ping"),
pulumi.String("office365-consumer-access"),
pulumi.String("google-base"),
},
})
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 source application
var exampleBasic = new Scm.Index.ForwardingProfileSourceApplication("example_basic", new()
{
Folder = "Mobile Users",
Name = "example-source-app",
Applications = new[]
{
"ssl",
"web-browsing",
},
});
// Forwarding profile source application with description
var exampleWithDesc = new Scm.Index.ForwardingProfileSourceApplication("example_with_desc", new()
{
Folder = "Mobile Users",
Name = "example-source-app-detailed",
Description = "Managed by Terraform - Source application profile for mobile users",
Applications = new[]
{
"ssl",
"web-browsing",
"dns",
"ntp",
},
});
// Forwarding profile source application with multiple applications
var exampleMultiApps = new Scm.Index.ForwardingProfileSourceApplication("example_multi_apps", new()
{
Folder = "Mobile Users",
Name = "corp-mobile-apps",
Description = "Corporate mobile applications profile",
Applications = new[]
{
"ssl",
"web-browsing",
"dns",
"ssh",
"ping",
"office365-consumer-access",
"google-base",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ForwardingProfileSourceApplication;
import com.pulumi.scm.ForwardingProfileSourceApplicationArgs;
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 source application
var exampleBasic = new ForwardingProfileSourceApplication("exampleBasic", ForwardingProfileSourceApplicationArgs.builder()
.folder("Mobile Users")
.name("example-source-app")
.applications(
"ssl",
"web-browsing")
.build());
// Forwarding profile source application with description
var exampleWithDesc = new ForwardingProfileSourceApplication("exampleWithDesc", ForwardingProfileSourceApplicationArgs.builder()
.folder("Mobile Users")
.name("example-source-app-detailed")
.description("Managed by Terraform - Source application profile for mobile users")
.applications(
"ssl",
"web-browsing",
"dns",
"ntp")
.build());
// Forwarding profile source application with multiple applications
var exampleMultiApps = new ForwardingProfileSourceApplication("exampleMultiApps", ForwardingProfileSourceApplicationArgs.builder()
.folder("Mobile Users")
.name("corp-mobile-apps")
.description("Corporate mobile applications profile")
.applications(
"ssl",
"web-browsing",
"dns",
"ssh",
"ping",
"office365-consumer-access",
"google-base")
.build());
}
}
resources:
# Basic forwarding profile source application
exampleBasic:
type: scm:ForwardingProfileSourceApplication
name: example_basic
properties:
folder: Mobile Users
name: example-source-app
applications:
- ssl
- web-browsing
# Forwarding profile source application with description
exampleWithDesc:
type: scm:ForwardingProfileSourceApplication
name: example_with_desc
properties:
folder: Mobile Users
name: example-source-app-detailed
description: Managed by Terraform - Source application profile for mobile users
applications:
- ssl
- web-browsing
- dns
- ntp
# Forwarding profile source application with multiple applications
exampleMultiApps:
type: scm:ForwardingProfileSourceApplication
name: example_multi_apps
properties:
folder: Mobile Users
name: corp-mobile-apps
description: Corporate mobile applications profile
applications:
- ssl
- web-browsing
- dns
- ssh
- ping
- office365-consumer-access
- google-base
Create ForwardingProfileSourceApplication Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ForwardingProfileSourceApplication(name: string, args: ForwardingProfileSourceApplicationArgs, opts?: CustomResourceOptions);@overload
def ForwardingProfileSourceApplication(resource_name: str,
args: ForwardingProfileSourceApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ForwardingProfileSourceApplication(resource_name: str,
opts: Optional[ResourceOptions] = None,
applications: Optional[Sequence[str]] = None,
description: Optional[str] = None,
folder: Optional[str] = None,
name: Optional[str] = None)func NewForwardingProfileSourceApplication(ctx *Context, name string, args ForwardingProfileSourceApplicationArgs, opts ...ResourceOption) (*ForwardingProfileSourceApplication, error)public ForwardingProfileSourceApplication(string name, ForwardingProfileSourceApplicationArgs args, CustomResourceOptions? opts = null)
public ForwardingProfileSourceApplication(String name, ForwardingProfileSourceApplicationArgs args)
public ForwardingProfileSourceApplication(String name, ForwardingProfileSourceApplicationArgs args, CustomResourceOptions options)
type: scm:ForwardingProfileSourceApplication
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 ForwardingProfileSourceApplicationArgs
- 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 ForwardingProfileSourceApplicationArgs
- 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 ForwardingProfileSourceApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ForwardingProfileSourceApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ForwardingProfileSourceApplicationArgs
- 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 forwardingProfileSourceApplicationResource = new Scm.ForwardingProfileSourceApplication("forwardingProfileSourceApplicationResource", new()
{
Applications = new[]
{
"string",
},
Description = "string",
Folder = "string",
Name = "string",
});
example, err := scm.NewForwardingProfileSourceApplication(ctx, "forwardingProfileSourceApplicationResource", &scm.ForwardingProfileSourceApplicationArgs{
Applications: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Folder: pulumi.String("string"),
Name: pulumi.String("string"),
})
var forwardingProfileSourceApplicationResource = new ForwardingProfileSourceApplication("forwardingProfileSourceApplicationResource", ForwardingProfileSourceApplicationArgs.builder()
.applications("string")
.description("string")
.folder("string")
.name("string")
.build());
forwarding_profile_source_application_resource = scm.ForwardingProfileSourceApplication("forwardingProfileSourceApplicationResource",
applications=["string"],
description="string",
folder="string",
name="string")
const forwardingProfileSourceApplicationResource = new scm.ForwardingProfileSourceApplication("forwardingProfileSourceApplicationResource", {
applications: ["string"],
description: "string",
folder: "string",
name: "string",
});
type: scm:ForwardingProfileSourceApplication
properties:
applications:
- string
description: string
folder: string
name: string
ForwardingProfileSourceApplication 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 ForwardingProfileSourceApplication resource accepts the following input properties:
- Applications List<string>
- List of application names to be included in this source application profile
- Description string
- fowarding profile source application description
- Folder string
- The folder in which the resource is defined
- Name string
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- Applications []string
- List of application names to be included in this source application profile
- Description string
- fowarding profile source application description
- Folder string
- The folder in which the resource is defined
- Name string
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- applications List<String>
- List of application names to be included in this source application profile
- description String
- fowarding profile source application description
- folder String
- The folder in which the resource is defined
- name String
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- applications string[]
- List of application names to be included in this source application profile
- description string
- fowarding profile source application description
- folder string
- The folder in which the resource is defined
- name string
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- applications Sequence[str]
- List of application names to be included in this source application profile
- description str
- fowarding profile source application description
- folder str
- The folder in which the resource is defined
- name str
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- applications List<String>
- List of application names to be included in this source application profile
- description String
- fowarding profile source application description
- folder String
- The folder in which the resource is defined
- name String
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
Outputs
All input properties are implicitly available as output properties. Additionally, the ForwardingProfileSourceApplication resource produces the following output properties:
Look up Existing ForwardingProfileSourceApplication Resource
Get an existing ForwardingProfileSourceApplication 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?: ForwardingProfileSourceApplicationState, opts?: CustomResourceOptions): ForwardingProfileSourceApplication@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
applications: Optional[Sequence[str]] = None,
description: Optional[str] = None,
folder: Optional[str] = None,
name: Optional[str] = None,
tfid: Optional[str] = None) -> ForwardingProfileSourceApplicationfunc GetForwardingProfileSourceApplication(ctx *Context, name string, id IDInput, state *ForwardingProfileSourceApplicationState, opts ...ResourceOption) (*ForwardingProfileSourceApplication, error)public static ForwardingProfileSourceApplication Get(string name, Input<string> id, ForwardingProfileSourceApplicationState? state, CustomResourceOptions? opts = null)public static ForwardingProfileSourceApplication get(String name, Output<String> id, ForwardingProfileSourceApplicationState state, CustomResourceOptions options)resources: _: type: scm:ForwardingProfileSourceApplication 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.
- Applications List<string>
- List of application names to be included in this source application profile
- Description string
- fowarding profile source application description
- Folder string
- The folder in which the resource is defined
- Name string
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- Tfid string
- The Terraform ID.
- Applications []string
- List of application names to be included in this source application profile
- Description string
- fowarding profile source application description
- Folder string
- The folder in which the resource is defined
- Name string
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- Tfid string
- The Terraform ID.
- applications List<String>
- List of application names to be included in this source application profile
- description String
- fowarding profile source application description
- folder String
- The folder in which the resource is defined
- name String
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- tfid String
- The Terraform ID.
- applications string[]
- List of application names to be included in this source application profile
- description string
- fowarding profile source application description
- folder string
- The folder in which the resource is defined
- name string
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- tfid string
- The Terraform ID.
- applications Sequence[str]
- List of application names to be included in this source application profile
- description str
- fowarding profile source application description
- folder str
- The folder in which the resource is defined
- name str
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- tfid str
- The Terraform ID.
- applications List<String>
- List of application names to be included in this source application profile
- description String
- fowarding profile source application description
- folder String
- The folder in which the resource is defined
- name String
- The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
- tfid String
- The Terraform ID.
Import
The following command can be used to import a resource not managed by Terraform:
$ pulumi import scm:index/forwardingProfileSourceApplication:ForwardingProfileSourceApplication example folder:::id
or
$ pulumi import scm:index/forwardingProfileSourceApplication:ForwardingProfileSourceApplication example :snippet::id
or
$ pulumi import scm:index/forwardingProfileSourceApplication:ForwardingProfileSourceApplication 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
