Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm.getAntiSpywareProfile
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
AntiSpywareProfile data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Look up anti-spyware-profile by ID
const scmAntiSpywareProfileDs = scm.getAntiSpywareProfile({
id: "7720ab77-d9fe-42c1-8001-6ef2202aae8c",
});
export const scmAntiSpywareProfileOutput = {
profileId: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.id),
folder: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.folder),
name: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.name),
description: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.description),
cloudInlineAnalysis: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.cloudInlineAnalysis),
};
import pulumi
import pulumi_scm as scm
# Look up anti-spyware-profile by ID
scm_anti_spyware_profile_ds = scm.get_anti_spyware_profile(id="7720ab77-d9fe-42c1-8001-6ef2202aae8c")
pulumi.export("scmAntiSpywareProfileOutput", {
"profileId": scm_anti_spyware_profile_ds.id,
"folder": scm_anti_spyware_profile_ds.folder,
"name": scm_anti_spyware_profile_ds.name,
"description": scm_anti_spyware_profile_ds.description,
"cloudInlineAnalysis": scm_anti_spyware_profile_ds.cloud_inline_analysis,
})
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 anti-spyware-profile by ID
scmAntiSpywareProfileDs, err := scm.LookupAntiSpywareProfile(ctx, &scm.LookupAntiSpywareProfileArgs{
Id: "7720ab77-d9fe-42c1-8001-6ef2202aae8c",
}, nil)
if err != nil {
return err
}
ctx.Export("scmAntiSpywareProfileOutput", pulumi.Map{
"profileId": scmAntiSpywareProfileDs.Id,
"folder": scmAntiSpywareProfileDs.Folder,
"name": scmAntiSpywareProfileDs.Name,
"description": scmAntiSpywareProfileDs.Description,
"cloudInlineAnalysis": scmAntiSpywareProfileDs.CloudInlineAnalysis,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Look up anti-spyware-profile by ID
var scmAntiSpywareProfileDs = Scm.GetAntiSpywareProfile.Invoke(new()
{
Id = "7720ab77-d9fe-42c1-8001-6ef2202aae8c",
});
return new Dictionary<string, object?>
{
["scmAntiSpywareProfileOutput"] =
{
{ "profileId", scmAntiSpywareProfileDs.Apply(getAntiSpywareProfileResult => getAntiSpywareProfileResult.Id) },
{ "folder", scmAntiSpywareProfileDs.Apply(getAntiSpywareProfileResult => getAntiSpywareProfileResult.Folder) },
{ "name", scmAntiSpywareProfileDs.Apply(getAntiSpywareProfileResult => getAntiSpywareProfileResult.Name) },
{ "description", scmAntiSpywareProfileDs.Apply(getAntiSpywareProfileResult => getAntiSpywareProfileResult.Description) },
{ "cloudInlineAnalysis", scmAntiSpywareProfileDs.Apply(getAntiSpywareProfileResult => getAntiSpywareProfileResult.CloudInlineAnalysis) },
},
};
});
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.GetAntiSpywareProfileArgs;
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 anti-spyware-profile by ID
final var scmAntiSpywareProfileDs = ScmFunctions.getAntiSpywareProfile(GetAntiSpywareProfileArgs.builder()
.id("7720ab77-d9fe-42c1-8001-6ef2202aae8c")
.build());
ctx.export("scmAntiSpywareProfileOutput", Map.ofEntries(
Map.entry("profileId", scmAntiSpywareProfileDs.id()),
Map.entry("folder", scmAntiSpywareProfileDs.folder()),
Map.entry("name", scmAntiSpywareProfileDs.name()),
Map.entry("description", scmAntiSpywareProfileDs.description()),
Map.entry("cloudInlineAnalysis", scmAntiSpywareProfileDs.cloudInlineAnalysis())
));
}
}
variables:
# Look up anti-spyware-profile by ID
scmAntiSpywareProfileDs:
fn::invoke:
function: scm:getAntiSpywareProfile
arguments:
id: 7720ab77-d9fe-42c1-8001-6ef2202aae8c
outputs:
# Output values of anti-spyware-profile
scmAntiSpywareProfileOutput:
profileId: ${scmAntiSpywareProfileDs.id}
folder: ${scmAntiSpywareProfileDs.folder}
name: ${scmAntiSpywareProfileDs.name}
description: ${scmAntiSpywareProfileDs.description}
cloudInlineAnalysis: ${scmAntiSpywareProfileDs.cloudInlineAnalysis}
Using getAntiSpywareProfile
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 getAntiSpywareProfile(args: GetAntiSpywareProfileArgs, opts?: InvokeOptions): Promise<GetAntiSpywareProfileResult>
function getAntiSpywareProfileOutput(args: GetAntiSpywareProfileOutputArgs, opts?: InvokeOptions): Output<GetAntiSpywareProfileResult>def get_anti_spyware_profile(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAntiSpywareProfileResult
def get_anti_spyware_profile_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAntiSpywareProfileResult]func LookupAntiSpywareProfile(ctx *Context, args *LookupAntiSpywareProfileArgs, opts ...InvokeOption) (*LookupAntiSpywareProfileResult, error)
func LookupAntiSpywareProfileOutput(ctx *Context, args *LookupAntiSpywareProfileOutputArgs, opts ...InvokeOption) LookupAntiSpywareProfileResultOutput> Note: This function is named LookupAntiSpywareProfile in the Go SDK.
public static class GetAntiSpywareProfile
{
public static Task<GetAntiSpywareProfileResult> InvokeAsync(GetAntiSpywareProfileArgs args, InvokeOptions? opts = null)
public static Output<GetAntiSpywareProfileResult> Invoke(GetAntiSpywareProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAntiSpywareProfileResult> getAntiSpywareProfile(GetAntiSpywareProfileArgs args, InvokeOptions options)
public static Output<GetAntiSpywareProfileResult> getAntiSpywareProfile(GetAntiSpywareProfileArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getAntiSpywareProfile:getAntiSpywareProfile
arguments:
# arguments dictionaryThe following arguments are supported:
getAntiSpywareProfile Result
The following output properties are available:
- Cloud
Inline boolAnalysis - Cloud inline analysis
- Description string
- Description
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the anti-spyware profile
- Inline
Exception List<string>Edl Urls - Inline exception edl url
- Inline
Exception List<string>Ip Addresses - Inline exception ip address
- Mica
Engine List<GetSpyware Enableds Anti Spyware Profile Mica Engine Spyware Enabled> - Mica engine spyware enabled
- Name string
- The name of the anti-spyware profile
- Rules
List<Get
Anti Spyware Profile Rule> - Rules
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Threat
Exceptions List<GetAnti Spyware Profile Threat Exception> - Threat exception
- Cloud
Inline boolAnalysis - Cloud inline analysis
- Description string
- Description
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the anti-spyware profile
- Inline
Exception []stringEdl Urls - Inline exception edl url
- Inline
Exception []stringIp Addresses - Inline exception ip address
- Mica
Engine []GetSpyware Enableds Anti Spyware Profile Mica Engine Spyware Enabled - Mica engine spyware enabled
- Name string
- The name of the anti-spyware profile
- Rules
[]Get
Anti Spyware Profile Rule - Rules
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Threat
Exceptions []GetAnti Spyware Profile Threat Exception - Threat exception
- cloud
Inline BooleanAnalysis - Cloud inline analysis
- description String
- Description
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the anti-spyware profile
- inline
Exception List<String>Edl Urls - Inline exception edl url
- inline
Exception List<String>Ip Addresses - Inline exception ip address
- mica
Engine List<GetSpyware Enableds Anti Spyware Profile Mica Engine Spyware Enabled> - Mica engine spyware enabled
- name String
- The name of the anti-spyware profile
- rules
List<Get
Anti Spyware Profile Rule> - Rules
- snippet String
- The snippet in which the resource is defined
- tfid String
- threat
Exceptions List<GetAnti Spyware Profile Threat Exception> - Threat exception
- cloud
Inline booleanAnalysis - Cloud inline analysis
- description string
- Description
- device string
- The device in which the resource is defined
- folder string
- The folder in which the resource is defined
- id string
- The UUID of the anti-spyware profile
- inline
Exception string[]Edl Urls - Inline exception edl url
- inline
Exception string[]Ip Addresses - Inline exception ip address
- mica
Engine GetSpyware Enableds Anti Spyware Profile Mica Engine Spyware Enabled[] - Mica engine spyware enabled
- name string
- The name of the anti-spyware profile
- rules
Get
Anti Spyware Profile Rule[] - Rules
- snippet string
- The snippet in which the resource is defined
- tfid string
- threat
Exceptions GetAnti Spyware Profile Threat Exception[] - Threat exception
- cloud_
inline_ boolanalysis - Cloud inline analysis
- description str
- Description
- device str
- The device in which the resource is defined
- folder str
- The folder in which the resource is defined
- id str
- The UUID of the anti-spyware profile
- inline_
exception_ Sequence[str]edl_ urls - Inline exception edl url
- inline_
exception_ Sequence[str]ip_ addresses - Inline exception ip address
- mica_
engine_ Sequence[Getspyware_ enableds Anti Spyware Profile Mica Engine Spyware Enabled] - Mica engine spyware enabled
- name str
- The name of the anti-spyware profile
- rules
Sequence[Get
Anti Spyware Profile Rule] - Rules
- snippet str
- The snippet in which the resource is defined
- tfid str
- threat_
exceptions Sequence[GetAnti Spyware Profile Threat Exception] - Threat exception
- cloud
Inline BooleanAnalysis - Cloud inline analysis
- description String
- Description
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the anti-spyware profile
- inline
Exception List<String>Edl Urls - Inline exception edl url
- inline
Exception List<String>Ip Addresses - Inline exception ip address
- mica
Engine List<Property Map>Spyware Enableds - Mica engine spyware enabled
- name String
- The name of the anti-spyware profile
- rules List<Property Map>
- Rules
- snippet String
- The snippet in which the resource is defined
- tfid String
- threat
Exceptions List<Property Map> - Threat exception
Supporting Types
GetAntiSpywareProfileMicaEngineSpywareEnabled
- Inline
Policy stringAction - Inline policy action
- Name string
- Name
- Inline
Policy stringAction - Inline policy action
- Name string
- Name
- inline
Policy StringAction - Inline policy action
- name String
- Name
- inline
Policy stringAction - Inline policy action
- name string
- Name
- inline_
policy_ straction - Inline policy action
- name str
- Name
- inline
Policy StringAction - Inline policy action
- name String
- Name
GetAntiSpywareProfileRule
- Action
Get
Anti Spyware Profile Rule Action - anti spyware profiles rules default action
- Category string
- Category
- Name string
- Name
- Packet
Capture string - Packet capture
- Severities List<string>
- Severity
- Threat
Name string - Threat name
- Action
Get
Anti Spyware Profile Rule Action - anti spyware profiles rules default action
- Category string
- Category
- Name string
- Name
- Packet
Capture string - Packet capture
- Severities []string
- Severity
- Threat
Name string - Threat name
- action
Get
Anti Spyware Profile Rule Action - anti spyware profiles rules default action
- category String
- Category
- name String
- Name
- packet
Capture String - Packet capture
- severities List<String>
- Severity
- threat
Name String - Threat name
- action
Get
Anti Spyware Profile Rule Action - anti spyware profiles rules default action
- category string
- Category
- name string
- Name
- packet
Capture string - Packet capture
- severities string[]
- Severity
- threat
Name string - Threat name
- action
Get
Anti Spyware Profile Rule Action - anti spyware profiles rules default action
- category str
- Category
- name str
- Name
- packet_
capture str - Packet capture
- severities Sequence[str]
- Severity
- threat_
name str - Threat name
- action Property Map
- anti spyware profiles rules default action
- category String
- Category
- name String
- Name
- packet
Capture String - Packet capture
- severities List<String>
- Severity
- threat
Name String - Threat name
GetAntiSpywareProfileRuleAction
- Alert
Get
Anti Spyware Profile Rule Action Alert - Alert
- Allow
Get
Anti Spyware Profile Rule Action Allow - Allow
- Block
Ip GetAnti Spyware Profile Rule Action Block Ip - anti spyware profiles rules action block ip
- Drop
Get
Anti Spyware Profile Rule Action Drop - Drop
- Reset
Both GetAnti Spyware Profile Rule Action Reset Both - Reset both
- Reset
Client GetAnti Spyware Profile Rule Action Reset Client - Reset client
- Reset
Server GetAnti Spyware Profile Rule Action Reset Server - Reset server
- Alert
Get
Anti Spyware Profile Rule Action Alert - Alert
- Allow
Get
Anti Spyware Profile Rule Action Allow - Allow
- Block
Ip GetAnti Spyware Profile Rule Action Block Ip - anti spyware profiles rules action block ip
- Drop
Get
Anti Spyware Profile Rule Action Drop - Drop
- Reset
Both GetAnti Spyware Profile Rule Action Reset Both - Reset both
- Reset
Client GetAnti Spyware Profile Rule Action Reset Client - Reset client
- Reset
Server GetAnti Spyware Profile Rule Action Reset Server - Reset server
- alert
Get
Anti Spyware Profile Rule Action Alert - Alert
- allow
Get
Anti Spyware Profile Rule Action Allow - Allow
- block
Ip GetAnti Spyware Profile Rule Action Block Ip - anti spyware profiles rules action block ip
- drop
Get
Anti Spyware Profile Rule Action Drop - Drop
- reset
Both GetAnti Spyware Profile Rule Action Reset Both - Reset both
- reset
Client GetAnti Spyware Profile Rule Action Reset Client - Reset client
- reset
Server GetAnti Spyware Profile Rule Action Reset Server - Reset server
- alert
Get
Anti Spyware Profile Rule Action Alert - Alert
- allow
Get
Anti Spyware Profile Rule Action Allow - Allow
- block
Ip GetAnti Spyware Profile Rule Action Block Ip - anti spyware profiles rules action block ip
- drop
Get
Anti Spyware Profile Rule Action Drop - Drop
- reset
Both GetAnti Spyware Profile Rule Action Reset Both - Reset both
- reset
Client GetAnti Spyware Profile Rule Action Reset Client - Reset client
- reset
Server GetAnti Spyware Profile Rule Action Reset Server - Reset server
- alert
Get
Anti Spyware Profile Rule Action Alert - Alert
- allow
Get
Anti Spyware Profile Rule Action Allow - Allow
- block_
ip GetAnti Spyware Profile Rule Action Block Ip - anti spyware profiles rules action block ip
- drop
Get
Anti Spyware Profile Rule Action Drop - Drop
- reset_
both GetAnti Spyware Profile Rule Action Reset Both - Reset both
- reset_
client GetAnti Spyware Profile Rule Action Reset Client - Reset client
- reset_
server GetAnti Spyware Profile Rule Action Reset Server - Reset server
- alert Property Map
- Alert
- allow Property Map
- Allow
- block
Ip Property Map - anti spyware profiles rules action block ip
- drop Property Map
- Drop
- reset
Both Property Map - Reset both
- reset
Client Property Map - Reset client
- reset
Server Property Map - Reset server
GetAntiSpywareProfileRuleActionBlockIp
GetAntiSpywareProfileThreatException
- Action
Get
Anti Spyware Profile Threat Exception Action - anti spyware profiles threat exception default action
- Exempt
Ips List<GetAnti Spyware Profile Threat Exception Exempt Ip> - Exempt ip
- Name string
- Name
- Notes string
- Notes
- Packet
Capture string - Packet capture
- Action
Get
Anti Spyware Profile Threat Exception Action - anti spyware profiles threat exception default action
- Exempt
Ips []GetAnti Spyware Profile Threat Exception Exempt Ip - Exempt ip
- Name string
- Name
- Notes string
- Notes
- Packet
Capture string - Packet capture
- action
Get
Anti Spyware Profile Threat Exception Action - anti spyware profiles threat exception default action
- exempt
Ips List<GetAnti Spyware Profile Threat Exception Exempt Ip> - Exempt ip
- name String
- Name
- notes String
- Notes
- packet
Capture String - Packet capture
- action
Get
Anti Spyware Profile Threat Exception Action - anti spyware profiles threat exception default action
- exempt
Ips GetAnti Spyware Profile Threat Exception Exempt Ip[] - Exempt ip
- name string
- Name
- notes string
- Notes
- packet
Capture string - Packet capture
- action
Get
Anti Spyware Profile Threat Exception Action - anti spyware profiles threat exception default action
- exempt_
ips Sequence[GetAnti Spyware Profile Threat Exception Exempt Ip] - Exempt ip
- name str
- Name
- notes str
- Notes
- packet_
capture str - Packet capture
- action Property Map
- anti spyware profiles threat exception default action
- exempt
Ips List<Property Map> - Exempt ip
- name String
- Name
- notes String
- Notes
- packet
Capture String - Packet capture
GetAntiSpywareProfileThreatExceptionAction
- Alert
Get
Anti Spyware Profile Threat Exception Action Alert - Alert
- Allow
Get
Anti Spyware Profile Threat Exception Action Allow - Allow
- Block
Ip GetAnti Spyware Profile Threat Exception Action Block Ip - anti spyware profiles threat exception action block ip
- Default
Get
Anti Spyware Profile Threat Exception Action Default - Default
- Drop
Get
Anti Spyware Profile Threat Exception Action Drop - Drop
- Reset
Both GetAnti Spyware Profile Threat Exception Action Reset Both - Reset both
- Reset
Client GetAnti Spyware Profile Threat Exception Action Reset Client - Reset client
- Reset
Server GetAnti Spyware Profile Threat Exception Action Reset Server - Reset server
- Alert
Get
Anti Spyware Profile Threat Exception Action Alert - Alert
- Allow
Get
Anti Spyware Profile Threat Exception Action Allow - Allow
- Block
Ip GetAnti Spyware Profile Threat Exception Action Block Ip - anti spyware profiles threat exception action block ip
- Default
Get
Anti Spyware Profile Threat Exception Action Default - Default
- Drop
Get
Anti Spyware Profile Threat Exception Action Drop - Drop
- Reset
Both GetAnti Spyware Profile Threat Exception Action Reset Both - Reset both
- Reset
Client GetAnti Spyware Profile Threat Exception Action Reset Client - Reset client
- Reset
Server GetAnti Spyware Profile Threat Exception Action Reset Server - Reset server
- alert
Get
Anti Spyware Profile Threat Exception Action Alert - Alert
- allow
Get
Anti Spyware Profile Threat Exception Action Allow - Allow
- block
Ip GetAnti Spyware Profile Threat Exception Action Block Ip - anti spyware profiles threat exception action block ip
- default_
Get
Anti Spyware Profile Threat Exception Action Default - Default
- drop
Get
Anti Spyware Profile Threat Exception Action Drop - Drop
- reset
Both GetAnti Spyware Profile Threat Exception Action Reset Both - Reset both
- reset
Client GetAnti Spyware Profile Threat Exception Action Reset Client - Reset client
- reset
Server GetAnti Spyware Profile Threat Exception Action Reset Server - Reset server
- alert
Get
Anti Spyware Profile Threat Exception Action Alert - Alert
- allow
Get
Anti Spyware Profile Threat Exception Action Allow - Allow
- block
Ip GetAnti Spyware Profile Threat Exception Action Block Ip - anti spyware profiles threat exception action block ip
- default
Get
Anti Spyware Profile Threat Exception Action Default - Default
- drop
Get
Anti Spyware Profile Threat Exception Action Drop - Drop
- reset
Both GetAnti Spyware Profile Threat Exception Action Reset Both - Reset both
- reset
Client GetAnti Spyware Profile Threat Exception Action Reset Client - Reset client
- reset
Server GetAnti Spyware Profile Threat Exception Action Reset Server - Reset server
- alert
Get
Anti Spyware Profile Threat Exception Action Alert - Alert
- allow
Get
Anti Spyware Profile Threat Exception Action Allow - Allow
- block_
ip GetAnti Spyware Profile Threat Exception Action Block Ip - anti spyware profiles threat exception action block ip
- default
Get
Anti Spyware Profile Threat Exception Action Default - Default
- drop
Get
Anti Spyware Profile Threat Exception Action Drop - Drop
- reset_
both GetAnti Spyware Profile Threat Exception Action Reset Both - Reset both
- reset_
client GetAnti Spyware Profile Threat Exception Action Reset Client - Reset client
- reset_
server GetAnti Spyware Profile Threat Exception Action Reset Server - Reset server
- alert Property Map
- Alert
- allow Property Map
- Allow
- block
Ip Property Map - anti spyware profiles threat exception action block ip
- default Property Map
- Default
- drop Property Map
- Drop
- reset
Both Property Map - Reset both
- reset
Client Property Map - Reset client
- reset
Server Property Map - Reset server
GetAntiSpywareProfileThreatExceptionActionBlockIp
GetAntiSpywareProfileThreatExceptionExemptIp
- Name string
- Name
- Name string
- Name
- name String
- Name
- name string
- Name
- name str
- Name
- name String
- Name
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
