Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
LogForwardingProfile data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
//
// Data source to retrieve a single SCM Log Forwarding Profile object by its ID.
//
// Replace the ID with the UUID of the SCM Log Forwarding Profile you want to find.
const scmLogForwardingProf = scm.getLogForwardingProfile({
id: "712dc61d-94ed-45e4-82b7-b2d86669a2bf",
});
export const scmLogForwardingProfileDetails = {
profileId: scmLogForwardingProf.then(scmLogForwardingProf => scmLogForwardingProf.id),
folder: scmLogForwardingProf.then(scmLogForwardingProf => scmLogForwardingProf.folder),
name: scmLogForwardingProf.then(scmLogForwardingProf => scmLogForwardingProf.name),
description: scmLogForwardingProf.then(scmLogForwardingProf => scmLogForwardingProf.description),
};
import pulumi
import pulumi_scm as scm
#
# Data source to retrieve a single SCM Log Forwarding Profile object by its ID.
#
# Replace the ID with the UUID of the SCM Log Forwarding Profile you want to find.
scm_log_forwarding_prof = scm.get_log_forwarding_profile(id="712dc61d-94ed-45e4-82b7-b2d86669a2bf")
pulumi.export("scmLogForwardingProfileDetails", {
"profileId": scm_log_forwarding_prof.id,
"folder": scm_log_forwarding_prof.folder,
"name": scm_log_forwarding_prof.name,
"description": scm_log_forwarding_prof.description,
})
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 {
// Data source to retrieve a single SCM Log Forwarding Profile object by its ID.
//
// Replace the ID with the UUID of the SCM Log Forwarding Profile you want to find.
scmLogForwardingProf, err := scm.LookupLogForwardingProfile(ctx, &scm.LookupLogForwardingProfileArgs{
Id: "712dc61d-94ed-45e4-82b7-b2d86669a2bf",
}, nil)
if err != nil {
return err
}
ctx.Export("scmLogForwardingProfileDetails", pulumi.StringMap{
"profileId": scmLogForwardingProf.Id,
"folder": scmLogForwardingProf.Folder,
"name": scmLogForwardingProf.Name,
"description": scmLogForwardingProf.Description,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
//
// Data source to retrieve a single SCM Log Forwarding Profile object by its ID.
//
// Replace the ID with the UUID of the SCM Log Forwarding Profile you want to find.
var scmLogForwardingProf = Scm.GetLogForwardingProfile.Invoke(new()
{
Id = "712dc61d-94ed-45e4-82b7-b2d86669a2bf",
});
return new Dictionary<string, object?>
{
["scmLogForwardingProfileDetails"] =
{
{ "profileId", scmLogForwardingProf.Apply(getLogForwardingProfileResult => getLogForwardingProfileResult.Id) },
{ "folder", scmLogForwardingProf.Apply(getLogForwardingProfileResult => getLogForwardingProfileResult.Folder) },
{ "name", scmLogForwardingProf.Apply(getLogForwardingProfileResult => getLogForwardingProfileResult.Name) },
{ "description", scmLogForwardingProf.Apply(getLogForwardingProfileResult => getLogForwardingProfileResult.Description) },
},
};
});
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.GetLogForwardingProfileArgs;
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) {
//
// Data source to retrieve a single SCM Log Forwarding Profile object by its ID.
//
// Replace the ID with the UUID of the SCM Log Forwarding Profile you want to find.
final var scmLogForwardingProf = ScmFunctions.getLogForwardingProfile(GetLogForwardingProfileArgs.builder()
.id("712dc61d-94ed-45e4-82b7-b2d86669a2bf")
.build());
ctx.export("scmLogForwardingProfileDetails", Map.ofEntries(
Map.entry("profileId", scmLogForwardingProf.id()),
Map.entry("folder", scmLogForwardingProf.folder()),
Map.entry("name", scmLogForwardingProf.name()),
Map.entry("description", scmLogForwardingProf.description())
));
}
}
variables:
#
# Data source to retrieve a single SCM Log Forwarding Profile object by its ID.
#
# Replace the ID with the UUID of the SCM Log Forwarding Profile you want to find.
scmLogForwardingProf:
fn::invoke:
function: scm:getLogForwardingProfile
arguments:
id: 712dc61d-94ed-45e4-82b7-b2d86669a2bf
outputs:
# Output the details of the single SCM Log Forwarding Profile object found.
scmLogForwardingProfileDetails:
profileId: ${scmLogForwardingProf.id}
folder: ${scmLogForwardingProf.folder}
name: ${scmLogForwardingProf.name}
description: ${scmLogForwardingProf.description}
Using getLogForwardingProfile
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 getLogForwardingProfile(args: GetLogForwardingProfileArgs, opts?: InvokeOptions): Promise<GetLogForwardingProfileResult>
function getLogForwardingProfileOutput(args: GetLogForwardingProfileOutputArgs, opts?: InvokeOptions): Output<GetLogForwardingProfileResult>def get_log_forwarding_profile(device: Optional[str] = None,
folder: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogForwardingProfileResult
def get_log_forwarding_profile_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogForwardingProfileResult]func LookupLogForwardingProfile(ctx *Context, args *LookupLogForwardingProfileArgs, opts ...InvokeOption) (*LookupLogForwardingProfileResult, error)
func LookupLogForwardingProfileOutput(ctx *Context, args *LookupLogForwardingProfileOutputArgs, opts ...InvokeOption) LookupLogForwardingProfileResultOutput> Note: This function is named LookupLogForwardingProfile in the Go SDK.
public static class GetLogForwardingProfile
{
public static Task<GetLogForwardingProfileResult> InvokeAsync(GetLogForwardingProfileArgs args, InvokeOptions? opts = null)
public static Output<GetLogForwardingProfileResult> Invoke(GetLogForwardingProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLogForwardingProfileResult> getLogForwardingProfile(GetLogForwardingProfileArgs args, InvokeOptions options)
public static Output<GetLogForwardingProfileResult> getLogForwardingProfile(GetLogForwardingProfileArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getLogForwardingProfile:getLogForwardingProfile
arguments:
# arguments dictionaryThe following arguments are supported:
getLogForwardingProfile Result
The following output properties are available:
- Description string
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- The UUID of the log server profile
- Match
Lists List<GetLog Forwarding Profile Match List> - Name string
- Snippet string
- Tfid string
- Description string
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- The UUID of the log server profile
- Match
Lists []GetLog Forwarding Profile Match List - Name string
- Snippet string
- Tfid string
- description String
- device String
- The device in which the resource is defined
- folder String
- id String
- The UUID of the log server profile
- match
Lists List<GetLog Forwarding Profile Match List> - name String
- snippet String
- tfid String
- description string
- device string
- The device in which the resource is defined
- folder string
- id string
- The UUID of the log server profile
- match
Lists GetLog Forwarding Profile Match List[] - name string
- snippet string
- tfid string
- description str
- device str
- The device in which the resource is defined
- folder str
- id str
- The UUID of the log server profile
- match_
lists Sequence[GetLog Forwarding Profile Match List] - name str
- snippet str
- tfid str
- description String
- device String
- The device in which the resource is defined
- folder String
- id String
- The UUID of the log server profile
- match
Lists List<Property Map> - name String
- snippet String
- tfid String
Supporting Types
GetLogForwardingProfileMatchList
- Action
Desc string - Match profile description
- Filter string
- Filter match criteria
- Log
Type string - Log type
- Name string
- Name of the match profile
- Send
Emails List<string> - A list of email server profiles
- Send
Https List<string> - A list of HTTP server profiles
- Send
Snmptraps List<string> - A list of SNMP server profiles
- Send
Syslogs List<string> - A list of syslog server profiles
- Action
Desc string - Match profile description
- Filter string
- Filter match criteria
- Log
Type string - Log type
- Name string
- Name of the match profile
- Send
Emails []string - A list of email server profiles
- Send
Https []string - A list of HTTP server profiles
- Send
Snmptraps []string - A list of SNMP server profiles
- Send
Syslogs []string - A list of syslog server profiles
- action
Desc String - Match profile description
- filter String
- Filter match criteria
- log
Type String - Log type
- name String
- Name of the match profile
- send
Emails List<String> - A list of email server profiles
- send
Https List<String> - A list of HTTP server profiles
- send
Snmptraps List<String> - A list of SNMP server profiles
- send
Syslogs List<String> - A list of syslog server profiles
- action
Desc string - Match profile description
- filter string
- Filter match criteria
- log
Type string - Log type
- name string
- Name of the match profile
- send
Emails string[] - A list of email server profiles
- send
Https string[] - A list of HTTP server profiles
- send
Snmptraps string[] - A list of SNMP server profiles
- send
Syslogs string[] - A list of syslog server profiles
- action_
desc str - Match profile description
- filter str
- Filter match criteria
- log_
type str - Log type
- name str
- Name of the match profile
- send_
emails Sequence[str] - A list of email server profiles
- send_
https Sequence[str] - A list of HTTP server profiles
- send_
snmptraps Sequence[str] - A list of SNMP server profiles
- send_
syslogs Sequence[str] - A list of syslog server profiles
- action
Desc String - Match profile description
- filter String
- Filter match criteria
- log
Type String - Log type
- name String
- Name of the match profile
- send
Emails List<String> - A list of email server profiles
- send
Https List<String> - A list of HTTP server profiles
- send
Snmptraps List<String> - A list of SNMP server profiles
- send
Syslogs List<String> - A list of syslog server profiles
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.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
