1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getAntiSpywareProfileList
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

    Retrieves a listing of config items.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // Fetch a list of all anti-spyware profiles
    const allAntiSpywareProfiles = scm.getAntiSpywareProfileList({
        folder: "All",
    });
    export const scmAntiSpywareProfileList = allAntiSpywareProfiles.then(allAntiSpywareProfiles => allAntiSpywareProfiles.datas);
    
    import pulumi
    import pulumi_scm as scm
    
    # Fetch a list of all anti-spyware profiles
    all_anti_spyware_profiles = scm.get_anti_spyware_profile_list(folder="All")
    pulumi.export("scmAntiSpywareProfileList", all_anti_spyware_profiles.datas)
    
    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 {
    		// Fetch a list of all anti-spyware profiles
    		allAntiSpywareProfiles, err := scm.GetAntiSpywareProfileList(ctx, &scm.GetAntiSpywareProfileListArgs{
    			Folder: pulumi.StringRef("All"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scmAntiSpywareProfileList", allAntiSpywareProfiles.Datas)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // Fetch a list of all anti-spyware profiles
        var allAntiSpywareProfiles = Scm.GetAntiSpywareProfileList.Invoke(new()
        {
            Folder = "All",
        });
    
        return new Dictionary<string, object?>
        {
            ["scmAntiSpywareProfileList"] = allAntiSpywareProfiles.Apply(getAntiSpywareProfileListResult => getAntiSpywareProfileListResult.Datas),
        };
    });
    
    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.GetAntiSpywareProfileListArgs;
    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) {
            // Fetch a list of all anti-spyware profiles
            final var allAntiSpywareProfiles = ScmFunctions.getAntiSpywareProfileList(GetAntiSpywareProfileListArgs.builder()
                .folder("All")
                .build());
    
            ctx.export("scmAntiSpywareProfileList", allAntiSpywareProfiles.datas());
        }
    }
    
    variables:
      # Fetch a list of all anti-spyware profiles
      allAntiSpywareProfiles:
        fn::invoke:
          function: scm:getAntiSpywareProfileList
          arguments:
            folder: All
    outputs:
      # Output the raw list of all anti-spyware profiles
      scmAntiSpywareProfileList: ${allAntiSpywareProfiles.datas}
    

    Using getAntiSpywareProfileList

    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 getAntiSpywareProfileList(args: GetAntiSpywareProfileListArgs, opts?: InvokeOptions): Promise<GetAntiSpywareProfileListResult>
    function getAntiSpywareProfileListOutput(args: GetAntiSpywareProfileListOutputArgs, opts?: InvokeOptions): Output<GetAntiSpywareProfileListResult>
    def get_anti_spyware_profile_list(device: Optional[str] = None,
                                      folder: Optional[str] = None,
                                      limit: Optional[int] = None,
                                      name: Optional[str] = None,
                                      offset: Optional[int] = None,
                                      snippet: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetAntiSpywareProfileListResult
    def get_anti_spyware_profile_list_output(device: Optional[pulumi.Input[str]] = None,
                                      folder: Optional[pulumi.Input[str]] = None,
                                      limit: Optional[pulumi.Input[int]] = None,
                                      name: Optional[pulumi.Input[str]] = None,
                                      offset: Optional[pulumi.Input[int]] = None,
                                      snippet: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetAntiSpywareProfileListResult]
    func GetAntiSpywareProfileList(ctx *Context, args *GetAntiSpywareProfileListArgs, opts ...InvokeOption) (*GetAntiSpywareProfileListResult, error)
    func GetAntiSpywareProfileListOutput(ctx *Context, args *GetAntiSpywareProfileListOutputArgs, opts ...InvokeOption) GetAntiSpywareProfileListResultOutput

    > Note: This function is named GetAntiSpywareProfileList in the Go SDK.

    public static class GetAntiSpywareProfileList 
    {
        public static Task<GetAntiSpywareProfileListResult> InvokeAsync(GetAntiSpywareProfileListArgs args, InvokeOptions? opts = null)
        public static Output<GetAntiSpywareProfileListResult> Invoke(GetAntiSpywareProfileListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAntiSpywareProfileListResult> getAntiSpywareProfileList(GetAntiSpywareProfileListArgs args, InvokeOptions options)
    public static Output<GetAntiSpywareProfileListResult> getAntiSpywareProfileList(GetAntiSpywareProfileListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getAntiSpywareProfileList:getAntiSpywareProfileList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    getAntiSpywareProfileList Result

    The following output properties are available:

    Datas List<GetAntiSpywareProfileListData>
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Datas []GetAntiSpywareProfileListData
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    datas List<GetAntiSpywareProfileListData>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    total Integer
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    datas GetAntiSpywareProfileListData[]
    The data.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    total number
    The total number of items.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    datas Sequence[GetAntiSpywareProfileListData]
    The data.
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    total int
    The total number of items.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    datas List<Property Map>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    total Number
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    Supporting Types

    GetAntiSpywareProfileListData

    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<GetAntiSpywareProfileListDataMicaEngineSpywareEnabled>
    Mica engine spyware enabled
    Name string
    The name of the anti-spyware profile
    Rules List<GetAntiSpywareProfileListDataRule>
    Rules
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    ThreatExceptions List<GetAntiSpywareProfileListDataThreatException>
    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 []GetAntiSpywareProfileListDataMicaEngineSpywareEnabled
    Mica engine spyware enabled
    Name string
    The name of the anti-spyware profile
    Rules []GetAntiSpywareProfileListDataRule
    Rules
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    ThreatExceptions []GetAntiSpywareProfileListDataThreatException
    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<GetAntiSpywareProfileListDataMicaEngineSpywareEnabled>
    Mica engine spyware enabled
    name String
    The name of the anti-spyware profile
    rules List<GetAntiSpywareProfileListDataRule>
    Rules
    snippet String
    The snippet in which the resource is defined
    tfid String
    threatExceptions List<GetAntiSpywareProfileListDataThreatException>
    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 GetAntiSpywareProfileListDataMicaEngineSpywareEnabled[]
    Mica engine spyware enabled
    name string
    The name of the anti-spyware profile
    rules GetAntiSpywareProfileListDataRule[]
    Rules
    snippet string
    The snippet in which the resource is defined
    tfid string
    threatExceptions GetAntiSpywareProfileListDataThreatException[]
    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[GetAntiSpywareProfileListDataMicaEngineSpywareEnabled]
    Mica engine spyware enabled
    name str
    The name of the anti-spyware profile
    rules Sequence[GetAntiSpywareProfileListDataRule]
    Rules
    snippet str
    The snippet in which the resource is defined
    tfid str
    threat_exceptions Sequence[GetAntiSpywareProfileListDataThreatException]
    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

    GetAntiSpywareProfileListDataMicaEngineSpywareEnabled

    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

    GetAntiSpywareProfileListDataRule

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

    GetAntiSpywareProfileListDataRuleAction

    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

    GetAntiSpywareProfileListDataRuleActionBlockIp

    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

    GetAntiSpywareProfileListDataThreatException

    Action GetAntiSpywareProfileListDataThreatExceptionAction
    anti spyware profiles threat exception default action
    ExemptIps List<GetAntiSpywareProfileListDataThreatExceptionExemptIp>
    Exempt ip
    Name string
    Name
    Notes string
    Notes
    PacketCapture string
    Packet capture
    Action GetAntiSpywareProfileListDataThreatExceptionAction
    anti spyware profiles threat exception default action
    ExemptIps []GetAntiSpywareProfileListDataThreatExceptionExemptIp
    Exempt ip
    Name string
    Name
    Notes string
    Notes
    PacketCapture string
    Packet capture
    action GetAntiSpywareProfileListDataThreatExceptionAction
    anti spyware profiles threat exception default action
    exemptIps List<GetAntiSpywareProfileListDataThreatExceptionExemptIp>
    Exempt ip
    name String
    Name
    notes String
    Notes
    packetCapture String
    Packet capture
    action GetAntiSpywareProfileListDataThreatExceptionAction
    anti spyware profiles threat exception default action
    exemptIps GetAntiSpywareProfileListDataThreatExceptionExemptIp[]
    Exempt ip
    name string
    Name
    notes string
    Notes
    packetCapture string
    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

    GetAntiSpywareProfileListDataThreatExceptionAction

    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

    GetAntiSpywareProfileListDataThreatExceptionActionBlockIp

    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

    GetAntiSpywareProfileListDataThreatExceptionExemptIp

    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