1. Packages
  2. Strata Cloud Manager
  3. API Docs
  4. WildfireAntiVirusProfile
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

scm.WildfireAntiVirusProfile

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

    Retrieves a config item.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const example = new scm.WildfireAntiVirusProfile("example", {folder: "Shared"});
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.WildfireAntiVirusProfile("example", folder="Shared")
    
    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 {
    		_, err := scm.NewWildfireAntiVirusProfile(ctx, "example", &scm.WildfireAntiVirusProfileArgs{
    			Folder: pulumi.String("Shared"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Scm.WildfireAntiVirusProfile("example", new()
        {
            Folder = "Shared",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.WildfireAntiVirusProfile;
    import com.pulumi.scm.WildfireAntiVirusProfileArgs;
    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) {
            var example = new WildfireAntiVirusProfile("example", WildfireAntiVirusProfileArgs.builder()
                .folder("Shared")
                .build());
    
        }
    }
    
    resources:
      example:
        type: scm:WildfireAntiVirusProfile
        properties:
          folder: Shared
    

    Create WildfireAntiVirusProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WildfireAntiVirusProfile(name: string, args?: WildfireAntiVirusProfileArgs, opts?: CustomResourceOptions);
    @overload
    def WildfireAntiVirusProfile(resource_name: str,
                                 args: Optional[WildfireAntiVirusProfileArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def WildfireAntiVirusProfile(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 description: Optional[str] = None,
                                 device: Optional[str] = None,
                                 folder: Optional[str] = None,
                                 mlav_exceptions: Optional[Sequence[WildfireAntiVirusProfileMlavExceptionArgs]] = None,
                                 name: Optional[str] = None,
                                 packet_capture: Optional[bool] = None,
                                 rules: Optional[Sequence[WildfireAntiVirusProfileRuleArgs]] = None,
                                 snippet: Optional[str] = None,
                                 threat_exceptions: Optional[Sequence[WildfireAntiVirusProfileThreatExceptionArgs]] = None)
    func NewWildfireAntiVirusProfile(ctx *Context, name string, args *WildfireAntiVirusProfileArgs, opts ...ResourceOption) (*WildfireAntiVirusProfile, error)
    public WildfireAntiVirusProfile(string name, WildfireAntiVirusProfileArgs? args = null, CustomResourceOptions? opts = null)
    public WildfireAntiVirusProfile(String name, WildfireAntiVirusProfileArgs args)
    public WildfireAntiVirusProfile(String name, WildfireAntiVirusProfileArgs args, CustomResourceOptions options)
    
    type: scm:WildfireAntiVirusProfile
    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 WildfireAntiVirusProfileArgs
    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 WildfireAntiVirusProfileArgs
    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 WildfireAntiVirusProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WildfireAntiVirusProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WildfireAntiVirusProfileArgs
    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 wildfireAntiVirusProfileResource = new Scm.WildfireAntiVirusProfile("wildfireAntiVirusProfileResource", new()
    {
        Description = "string",
        Device = "string",
        Folder = "string",
        MlavExceptions = new[]
        {
            new Scm.Inputs.WildfireAntiVirusProfileMlavExceptionArgs
            {
                Description = "string",
                Filename = "string",
                Name = "string",
            },
        },
        Name = "string",
        PacketCapture = false,
        Rules = new[]
        {
            new Scm.Inputs.WildfireAntiVirusProfileRuleArgs
            {
                Analysis = "string",
                Applications = new[]
                {
                    "string",
                },
                Direction = "string",
                FileTypes = new[]
                {
                    "string",
                },
                Name = "string",
            },
        },
        Snippet = "string",
        ThreatExceptions = new[]
        {
            new Scm.Inputs.WildfireAntiVirusProfileThreatExceptionArgs
            {
                Name = "string",
                Notes = "string",
            },
        },
    });
    
    example, err := scm.NewWildfireAntiVirusProfile(ctx, "wildfireAntiVirusProfileResource", &scm.WildfireAntiVirusProfileArgs{
    	Description: pulumi.String("string"),
    	Device:      pulumi.String("string"),
    	Folder:      pulumi.String("string"),
    	MlavExceptions: scm.WildfireAntiVirusProfileMlavExceptionArray{
    		&scm.WildfireAntiVirusProfileMlavExceptionArgs{
    			Description: pulumi.String("string"),
    			Filename:    pulumi.String("string"),
    			Name:        pulumi.String("string"),
    		},
    	},
    	Name:          pulumi.String("string"),
    	PacketCapture: pulumi.Bool(false),
    	Rules: scm.WildfireAntiVirusProfileRuleArray{
    		&scm.WildfireAntiVirusProfileRuleArgs{
    			Analysis: pulumi.String("string"),
    			Applications: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Direction: pulumi.String("string"),
    			FileTypes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Name: pulumi.String("string"),
    		},
    	},
    	Snippet: pulumi.String("string"),
    	ThreatExceptions: scm.WildfireAntiVirusProfileThreatExceptionArray{
    		&scm.WildfireAntiVirusProfileThreatExceptionArgs{
    			Name:  pulumi.String("string"),
    			Notes: pulumi.String("string"),
    		},
    	},
    })
    
    var wildfireAntiVirusProfileResource = new WildfireAntiVirusProfile("wildfireAntiVirusProfileResource", WildfireAntiVirusProfileArgs.builder()
        .description("string")
        .device("string")
        .folder("string")
        .mlavExceptions(WildfireAntiVirusProfileMlavExceptionArgs.builder()
            .description("string")
            .filename("string")
            .name("string")
            .build())
        .name("string")
        .packetCapture(false)
        .rules(WildfireAntiVirusProfileRuleArgs.builder()
            .analysis("string")
            .applications("string")
            .direction("string")
            .fileTypes("string")
            .name("string")
            .build())
        .snippet("string")
        .threatExceptions(WildfireAntiVirusProfileThreatExceptionArgs.builder()
            .name("string")
            .notes("string")
            .build())
        .build());
    
    wildfire_anti_virus_profile_resource = scm.WildfireAntiVirusProfile("wildfireAntiVirusProfileResource",
        description="string",
        device="string",
        folder="string",
        mlav_exceptions=[scm.WildfireAntiVirusProfileMlavExceptionArgs(
            description="string",
            filename="string",
            name="string",
        )],
        name="string",
        packet_capture=False,
        rules=[scm.WildfireAntiVirusProfileRuleArgs(
            analysis="string",
            applications=["string"],
            direction="string",
            file_types=["string"],
            name="string",
        )],
        snippet="string",
        threat_exceptions=[scm.WildfireAntiVirusProfileThreatExceptionArgs(
            name="string",
            notes="string",
        )])
    
    const wildfireAntiVirusProfileResource = new scm.WildfireAntiVirusProfile("wildfireAntiVirusProfileResource", {
        description: "string",
        device: "string",
        folder: "string",
        mlavExceptions: [{
            description: "string",
            filename: "string",
            name: "string",
        }],
        name: "string",
        packetCapture: false,
        rules: [{
            analysis: "string",
            applications: ["string"],
            direction: "string",
            fileTypes: ["string"],
            name: "string",
        }],
        snippet: "string",
        threatExceptions: [{
            name: "string",
            notes: "string",
        }],
    });
    
    type: scm:WildfireAntiVirusProfile
    properties:
        description: string
        device: string
        folder: string
        mlavExceptions:
            - description: string
              filename: string
              name: string
        name: string
        packetCapture: false
        rules:
            - analysis: string
              applications:
                - string
              direction: string
              fileTypes:
                - string
              name: string
        snippet: string
        threatExceptions:
            - name: string
              notes: string
    

    WildfireAntiVirusProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The WildfireAntiVirusProfile resource accepts the following input properties:

    Description string
    The Description param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    MlavExceptions List<WildfireAntiVirusProfileMlavException>
    The MlavExceptions param.
    Name string
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    PacketCapture bool
    The PacketCapture param.
    Rules List<WildfireAntiVirusProfileRule>
    The Rules param.
    Snippet string
    The Snippet param.
    ThreatExceptions List<WildfireAntiVirusProfileThreatException>
    The ThreatExceptions param.
    Description string
    The Description param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    MlavExceptions []WildfireAntiVirusProfileMlavExceptionArgs
    The MlavExceptions param.
    Name string
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    PacketCapture bool
    The PacketCapture param.
    Rules []WildfireAntiVirusProfileRuleArgs
    The Rules param.
    Snippet string
    The Snippet param.
    ThreatExceptions []WildfireAntiVirusProfileThreatExceptionArgs
    The ThreatExceptions param.
    description String
    The Description param.
    device String
    The Device param.
    folder String
    The Folder param.
    mlavExceptions List<WildfireAntiVirusProfileMlavException>
    The MlavExceptions param.
    name String
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    packetCapture Boolean
    The PacketCapture param.
    rules List<WildfireAntiVirusProfileRule>
    The Rules param.
    snippet String
    The Snippet param.
    threatExceptions List<WildfireAntiVirusProfileThreatException>
    The ThreatExceptions param.
    description string
    The Description param.
    device string
    The Device param.
    folder string
    The Folder param.
    mlavExceptions WildfireAntiVirusProfileMlavException[]
    The MlavExceptions param.
    name string
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    packetCapture boolean
    The PacketCapture param.
    rules WildfireAntiVirusProfileRule[]
    The Rules param.
    snippet string
    The Snippet param.
    threatExceptions WildfireAntiVirusProfileThreatException[]
    The ThreatExceptions param.
    description str
    The Description param.
    device str
    The Device param.
    folder str
    The Folder param.
    mlav_exceptions Sequence[WildfireAntiVirusProfileMlavExceptionArgs]
    The MlavExceptions param.
    name str
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    packet_capture bool
    The PacketCapture param.
    rules Sequence[WildfireAntiVirusProfileRuleArgs]
    The Rules param.
    snippet str
    The Snippet param.
    threat_exceptions Sequence[WildfireAntiVirusProfileThreatExceptionArgs]
    The ThreatExceptions param.
    description String
    The Description param.
    device String
    The Device param.
    folder String
    The Folder param.
    mlavExceptions List<Property Map>
    The MlavExceptions param.
    name String
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    packetCapture Boolean
    The PacketCapture param.
    rules List<Property Map>
    The Rules param.
    snippet String
    The Snippet param.
    threatExceptions List<Property Map>
    The ThreatExceptions param.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WildfireAntiVirusProfile resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String

    Look up Existing WildfireAntiVirusProfile Resource

    Get an existing WildfireAntiVirusProfile 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?: WildfireAntiVirusProfileState, opts?: CustomResourceOptions): WildfireAntiVirusProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            mlav_exceptions: Optional[Sequence[WildfireAntiVirusProfileMlavExceptionArgs]] = None,
            name: Optional[str] = None,
            packet_capture: Optional[bool] = None,
            rules: Optional[Sequence[WildfireAntiVirusProfileRuleArgs]] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None,
            threat_exceptions: Optional[Sequence[WildfireAntiVirusProfileThreatExceptionArgs]] = None) -> WildfireAntiVirusProfile
    func GetWildfireAntiVirusProfile(ctx *Context, name string, id IDInput, state *WildfireAntiVirusProfileState, opts ...ResourceOption) (*WildfireAntiVirusProfile, error)
    public static WildfireAntiVirusProfile Get(string name, Input<string> id, WildfireAntiVirusProfileState? state, CustomResourceOptions? opts = null)
    public static WildfireAntiVirusProfile get(String name, Output<String> id, WildfireAntiVirusProfileState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Description string
    The Description param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    MlavExceptions List<WildfireAntiVirusProfileMlavException>
    The MlavExceptions param.
    Name string
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    PacketCapture bool
    The PacketCapture param.
    Rules List<WildfireAntiVirusProfileRule>
    The Rules param.
    Snippet string
    The Snippet param.
    Tfid string
    ThreatExceptions List<WildfireAntiVirusProfileThreatException>
    The ThreatExceptions param.
    Description string
    The Description param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    MlavExceptions []WildfireAntiVirusProfileMlavExceptionArgs
    The MlavExceptions param.
    Name string
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    PacketCapture bool
    The PacketCapture param.
    Rules []WildfireAntiVirusProfileRuleArgs
    The Rules param.
    Snippet string
    The Snippet param.
    Tfid string
    ThreatExceptions []WildfireAntiVirusProfileThreatExceptionArgs
    The ThreatExceptions param.
    description String
    The Description param.
    device String
    The Device param.
    folder String
    The Folder param.
    mlavExceptions List<WildfireAntiVirusProfileMlavException>
    The MlavExceptions param.
    name String
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    packetCapture Boolean
    The PacketCapture param.
    rules List<WildfireAntiVirusProfileRule>
    The Rules param.
    snippet String
    The Snippet param.
    tfid String
    threatExceptions List<WildfireAntiVirusProfileThreatException>
    The ThreatExceptions param.
    description string
    The Description param.
    device string
    The Device param.
    folder string
    The Folder param.
    mlavExceptions WildfireAntiVirusProfileMlavException[]
    The MlavExceptions param.
    name string
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    packetCapture boolean
    The PacketCapture param.
    rules WildfireAntiVirusProfileRule[]
    The Rules param.
    snippet string
    The Snippet param.
    tfid string
    threatExceptions WildfireAntiVirusProfileThreatException[]
    The ThreatExceptions param.
    description str
    The Description param.
    device str
    The Device param.
    folder str
    The Folder param.
    mlav_exceptions Sequence[WildfireAntiVirusProfileMlavExceptionArgs]
    The MlavExceptions param.
    name str
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    packet_capture bool
    The PacketCapture param.
    rules Sequence[WildfireAntiVirusProfileRuleArgs]
    The Rules param.
    snippet str
    The Snippet param.
    tfid str
    threat_exceptions Sequence[WildfireAntiVirusProfileThreatExceptionArgs]
    The ThreatExceptions param.
    description String
    The Description param.
    device String
    The Device param.
    folder String
    The Folder param.
    mlavExceptions List<Property Map>
    The MlavExceptions param.
    name String
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    packetCapture Boolean
    The PacketCapture param.
    rules List<Property Map>
    The Rules param.
    snippet String
    The Snippet param.
    tfid String
    threatExceptions List<Property Map>
    The ThreatExceptions param.

    Supporting Types

    WildfireAntiVirusProfileMlavException, WildfireAntiVirusProfileMlavExceptionArgs

    Description string
    The Description param.
    Filename string
    The Filename param.
    Name string
    The Name param.
    Description string
    The Description param.
    Filename string
    The Filename param.
    Name string
    The Name param.
    description String
    The Description param.
    filename String
    The Filename param.
    name String
    The Name param.
    description string
    The Description param.
    filename string
    The Filename param.
    name string
    The Name param.
    description str
    The Description param.
    filename str
    The Filename param.
    name str
    The Name param.
    description String
    The Description param.
    filename String
    The Filename param.
    name String
    The Name param.

    WildfireAntiVirusProfileRule, WildfireAntiVirusProfileRuleArgs

    Analysis string
    The Analysis param. String must be one of these: "public-cloud", "private-cloud".
    Applications List<string>
    The Applications param.
    Direction string
    The Direction param. String must be one of these: "download", "upload", "both".
    FileTypes List<string>
    The FileTypes param.
    Name string
    The Name param.
    Analysis string
    The Analysis param. String must be one of these: "public-cloud", "private-cloud".
    Applications []string
    The Applications param.
    Direction string
    The Direction param. String must be one of these: "download", "upload", "both".
    FileTypes []string
    The FileTypes param.
    Name string
    The Name param.
    analysis String
    The Analysis param. String must be one of these: "public-cloud", "private-cloud".
    applications List<String>
    The Applications param.
    direction String
    The Direction param. String must be one of these: "download", "upload", "both".
    fileTypes List<String>
    The FileTypes param.
    name String
    The Name param.
    analysis string
    The Analysis param. String must be one of these: "public-cloud", "private-cloud".
    applications string[]
    The Applications param.
    direction string
    The Direction param. String must be one of these: "download", "upload", "both".
    fileTypes string[]
    The FileTypes param.
    name string
    The Name param.
    analysis str
    The Analysis param. String must be one of these: "public-cloud", "private-cloud".
    applications Sequence[str]
    The Applications param.
    direction str
    The Direction param. String must be one of these: "download", "upload", "both".
    file_types Sequence[str]
    The FileTypes param.
    name str
    The Name param.
    analysis String
    The Analysis param. String must be one of these: "public-cloud", "private-cloud".
    applications List<String>
    The Applications param.
    direction String
    The Direction param. String must be one of these: "download", "upload", "both".
    fileTypes List<String>
    The FileTypes param.
    name String
    The Name param.

    WildfireAntiVirusProfileThreatException, WildfireAntiVirusProfileThreatExceptionArgs

    Name string
    The Name param.
    Notes string
    The Notes param.
    Name string
    The Name param.
    Notes string
    The Notes param.
    name String
    The Name param.
    notes String
    The Notes param.
    name string
    The Name param.
    notes string
    The Notes param.
    name str
    The Name param.
    notes str
    The Notes param.
    name String
    The Name param.
    notes String
    The Notes param.

    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.1.1 published on Friday, May 31, 2024 by Pulumi