1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getAntiSpywareProfile
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
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 dictionary

    The following arguments are supported:

    Id string
    The UUID of the anti-spyware profile
    Name string
    The name of the anti-spyware profile
    Id string
    The UUID of the anti-spyware profile
    Name string
    The name of the anti-spyware profile
    id String
    The UUID of the anti-spyware profile
    name String
    The name of the anti-spyware profile
    id string
    The UUID of the anti-spyware profile
    name string
    The name of the anti-spyware profile
    id str
    The UUID of the anti-spyware profile
    name str
    The name of the anti-spyware profile
    id String
    The UUID of the anti-spyware profile
    name String
    The name of the anti-spyware profile

    getAntiSpywareProfile Result

    The following output properties are available:

    CloudInlineAnalysis bool
    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
    InlineExceptionEdlUrls List<string>
    Inline exception edl url
    InlineExceptionIpAddresses List<string>
    Inline exception ip address
    MicaEngineSpywareEnableds List<GetAntiSpywareProfileMicaEngineSpywareEnabled>
    Mica engine spyware enabled
    Name string
    The name of the anti-spyware profile
    Rules List<GetAntiSpywareProfileRule>
    Rules
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    ThreatExceptions List<GetAntiSpywareProfileThreatException>
    Threat exception
    CloudInlineAnalysis bool
    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
    InlineExceptionEdlUrls []string
    Inline exception edl url
    InlineExceptionIpAddresses []string
    Inline exception ip address
    MicaEngineSpywareEnableds []GetAntiSpywareProfileMicaEngineSpywareEnabled
    Mica engine spyware enabled
    Name string
    The name of the anti-spyware profile
    Rules []GetAntiSpywareProfileRule
    Rules
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    ThreatExceptions []GetAntiSpywareProfileThreatException
    Threat exception
    cloudInlineAnalysis Boolean
    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
    inlineExceptionEdlUrls List<String>
    Inline exception edl url
    inlineExceptionIpAddresses List<String>
    Inline exception ip address
    micaEngineSpywareEnableds List<GetAntiSpywareProfileMicaEngineSpywareEnabled>
    Mica engine spyware enabled
    name String
    The name of the anti-spyware profile
    rules List<GetAntiSpywareProfileRule>
    Rules
    snippet String
    The snippet in which the resource is defined
    tfid String
    threatExceptions List<GetAntiSpywareProfileThreatException>
    Threat exception
    cloudInlineAnalysis boolean
    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
    inlineExceptionEdlUrls string[]
    Inline exception edl url
    inlineExceptionIpAddresses string[]
    Inline exception ip address
    micaEngineSpywareEnableds GetAntiSpywareProfileMicaEngineSpywareEnabled[]
    Mica engine spyware enabled
    name string
    The name of the anti-spyware profile
    rules GetAntiSpywareProfileRule[]
    Rules
    snippet string
    The snippet in which the resource is defined
    tfid string
    threatExceptions GetAntiSpywareProfileThreatException[]
    Threat exception
    cloud_inline_analysis bool
    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_edl_urls Sequence[str]
    Inline exception edl url
    inline_exception_ip_addresses Sequence[str]
    Inline exception ip address
    mica_engine_spyware_enableds Sequence[GetAntiSpywareProfileMicaEngineSpywareEnabled]
    Mica engine spyware enabled
    name str
    The name of the anti-spyware profile
    rules Sequence[GetAntiSpywareProfileRule]
    Rules
    snippet str
    The snippet in which the resource is defined
    tfid str
    threat_exceptions Sequence[GetAntiSpywareProfileThreatException]
    Threat exception
    cloudInlineAnalysis Boolean
    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
    inlineExceptionEdlUrls List<String>
    Inline exception edl url
    inlineExceptionIpAddresses List<String>
    Inline exception ip address
    micaEngineSpywareEnableds List<Property Map>
    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
    threatExceptions List<Property Map>
    Threat exception

    Supporting Types

    GetAntiSpywareProfileMicaEngineSpywareEnabled

    InlinePolicyAction string
    Inline policy action
    Name string
    Name
    InlinePolicyAction string
    Inline policy action
    Name string
    Name
    inlinePolicyAction String
    Inline policy action
    name String
    Name
    inlinePolicyAction string
    Inline policy action
    name string
    Name
    inline_policy_action str
    Inline policy action
    name str
    Name
    inlinePolicyAction String
    Inline policy action
    name String
    Name

    GetAntiSpywareProfileRule

    Action GetAntiSpywareProfileRuleAction
    anti spyware profiles rules default action
    Category string
    Category
    Name string
    Name
    PacketCapture string
    Packet capture
    Severities List<string>
    Severity
    ThreatName string
    Threat name
    Action GetAntiSpywareProfileRuleAction
    anti spyware profiles rules default action
    Category string
    Category
    Name string
    Name
    PacketCapture string
    Packet capture
    Severities []string
    Severity
    ThreatName string
    Threat name
    action GetAntiSpywareProfileRuleAction
    anti spyware profiles rules default action
    category String
    Category
    name String
    Name
    packetCapture String
    Packet capture
    severities List<String>
    Severity
    threatName String
    Threat name
    action GetAntiSpywareProfileRuleAction
    anti spyware profiles rules default action
    category string
    Category
    name string
    Name
    packetCapture string
    Packet capture
    severities string[]
    Severity
    threatName string
    Threat name
    action GetAntiSpywareProfileRuleAction
    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
    packetCapture String
    Packet capture
    severities List<String>
    Severity
    threatName String
    Threat name

    GetAntiSpywareProfileRuleAction

    alert Property Map
    Alert
    allow Property Map
    Allow
    blockIp Property Map
    anti spyware profiles rules action block ip
    drop Property Map
    Drop
    resetBoth Property Map
    Reset both
    resetClient Property Map
    Reset client
    resetServer Property Map
    Reset server

    GetAntiSpywareProfileRuleActionBlockIp

    Duration int
    Duration
    TrackBy string
    Track by
    Duration int
    Duration
    TrackBy string
    Track by
    duration Integer
    Duration
    trackBy String
    Track by
    duration number
    Duration
    trackBy string
    Track by
    duration int
    Duration
    track_by str
    Track by
    duration Number
    Duration
    trackBy String
    Track by

    GetAntiSpywareProfileThreatException

    Action GetAntiSpywareProfileThreatExceptionAction
    anti spyware profiles threat exception default action
    ExemptIps List<GetAntiSpywareProfileThreatExceptionExemptIp>
    Exempt ip
    Name string
    Name
    Notes string
    Notes
    PacketCapture string
    Packet capture
    Action GetAntiSpywareProfileThreatExceptionAction
    anti spyware profiles threat exception default action
    ExemptIps []GetAntiSpywareProfileThreatExceptionExemptIp
    Exempt ip
    Name string
    Name
    Notes string
    Notes
    PacketCapture string
    Packet capture
    action GetAntiSpywareProfileThreatExceptionAction
    anti spyware profiles threat exception default action
    exemptIps List<GetAntiSpywareProfileThreatExceptionExemptIp>
    Exempt ip
    name String
    Name
    notes String
    Notes
    packetCapture String
    Packet capture
    action GetAntiSpywareProfileThreatExceptionAction
    anti spyware profiles threat exception default action
    exemptIps GetAntiSpywareProfileThreatExceptionExemptIp[]
    Exempt ip
    name string
    Name
    notes string
    Notes
    packetCapture string
    Packet capture
    action GetAntiSpywareProfileThreatExceptionAction
    anti spyware profiles threat exception default action
    exempt_ips Sequence[GetAntiSpywareProfileThreatExceptionExemptIp]
    Exempt ip
    name str
    Name
    notes str
    Notes
    packet_capture str
    Packet capture
    action Property Map
    anti spyware profiles threat exception default action
    exemptIps List<Property Map>
    Exempt ip
    name String
    Name
    notes String
    Notes
    packetCapture String
    Packet capture

    GetAntiSpywareProfileThreatExceptionAction

    alert Property Map
    Alert
    allow Property Map
    Allow
    blockIp Property Map
    anti spyware profiles threat exception action block ip
    default Property Map
    Default
    drop Property Map
    Drop
    resetBoth Property Map
    Reset both
    resetClient Property Map
    Reset client
    resetServer Property Map
    Reset server

    GetAntiSpywareProfileThreatExceptionActionBlockIp

    Duration int
    Duration
    TrackBy string
    Track by
    Duration int
    Duration
    TrackBy string
    Track by
    duration Integer
    Duration
    trackBy String
    Track by
    duration number
    Duration
    trackBy string
    Track by
    duration int
    Duration
    track_by str
    Track by
    duration Number
    Duration
    trackBy String
    Track by

    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 scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate