WildfireAntiVirusProfile resource
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=[{
"description": "string",
"filename": "string",
"name": "string",
}],
name="string",
packet_capture=False,
rules=[{
"analysis": "string",
"applications": ["string"],
"direction": "string",
"file_types": ["string"],
"name": "string",
}],
snippet="string",
threat_exceptions=[{
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WildfireAntiVirusProfile resource accepts the following input properties:
- Description string
- Description
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Mlav
Exceptions List<WildfireAnti Virus Profile Mlav Exception> - Mlav exception
- Name string
- Name
- Packet
Capture bool - Packet capture
- Rules
List<Wildfire
Anti Virus Profile Rule> - Rules
- Snippet string
- The snippet in which the resource is defined
- Threat
Exceptions List<WildfireAnti Virus Profile Threat Exception> - Threat exception
- Description string
- Description
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Mlav
Exceptions []WildfireAnti Virus Profile Mlav Exception Args - Mlav exception
- Name string
- Name
- Packet
Capture bool - Packet capture
- Rules
[]Wildfire
Anti Virus Profile Rule Args - Rules
- Snippet string
- The snippet in which the resource is defined
- Threat
Exceptions []WildfireAnti Virus Profile Threat Exception Args - Threat exception
- description String
- Description
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- mlav
Exceptions List<WildfireAnti Virus Profile Mlav Exception> - Mlav exception
- name String
- Name
- packet
Capture Boolean - Packet capture
- rules
List<Wildfire
Anti Virus Profile Rule> - Rules
- snippet String
- The snippet in which the resource is defined
- threat
Exceptions List<WildfireAnti Virus Profile Threat Exception> - Threat exception
- description string
- Description
- device string
- The device in which the resource is defined
- folder string
- The folder in which the resource is defined
- mlav
Exceptions WildfireAnti Virus Profile Mlav Exception[] - Mlav exception
- name string
- Name
- packet
Capture boolean - Packet capture
- rules
Wildfire
Anti Virus Profile Rule[] - Rules
- snippet string
- The snippet in which the resource is defined
- threat
Exceptions WildfireAnti Virus Profile Threat Exception[] - Threat exception
- description str
- Description
- device str
- The device in which the resource is defined
- folder str
- The folder in which the resource is defined
- mlav_
exceptions Sequence[WildfireAnti Virus Profile Mlav Exception Args] - Mlav exception
- name str
- Name
- packet_
capture bool - Packet capture
- rules
Sequence[Wildfire
Anti Virus Profile Rule Args] - Rules
- snippet str
- The snippet in which the resource is defined
- threat_
exceptions Sequence[WildfireAnti Virus Profile Threat Exception Args] - Threat exception
- description String
- Description
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- mlav
Exceptions List<Property Map> - Mlav exception
- name String
- Name
- packet
Capture Boolean - Packet capture
- rules List<Property Map>
- Rules
- snippet String
- The snippet in which the resource is defined
- threat
Exceptions List<Property Map> - Threat exception
Outputs
All input properties are implicitly available as output properties. Additionally, the WildfireAntiVirusProfile resource produces the following output properties:
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) -> WildfireAntiVirusProfilefunc 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)resources: _: type: scm:WildfireAntiVirusProfile get: id: ${id}- 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.
- Description string
- Description
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Mlav
Exceptions List<WildfireAnti Virus Profile Mlav Exception> - Mlav exception
- Name string
- Name
- Packet
Capture bool - Packet capture
- Rules
List<Wildfire
Anti Virus Profile Rule> - Rules
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Threat
Exceptions List<WildfireAnti Virus Profile Threat Exception> - Threat exception
- Description string
- Description
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Mlav
Exceptions []WildfireAnti Virus Profile Mlav Exception Args - Mlav exception
- Name string
- Name
- Packet
Capture bool - Packet capture
- Rules
[]Wildfire
Anti Virus Profile Rule Args - Rules
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Threat
Exceptions []WildfireAnti Virus Profile Threat Exception Args - Threat exception
- description String
- Description
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- mlav
Exceptions List<WildfireAnti Virus Profile Mlav Exception> - Mlav exception
- name String
- Name
- packet
Capture Boolean - Packet capture
- rules
List<Wildfire
Anti Virus Profile Rule> - Rules
- snippet String
- The snippet in which the resource is defined
- tfid String
- threat
Exceptions List<WildfireAnti Virus Profile Threat Exception> - Threat exception
- description string
- Description
- device string
- The device in which the resource is defined
- folder string
- The folder in which the resource is defined
- mlav
Exceptions WildfireAnti Virus Profile Mlav Exception[] - Mlav exception
- name string
- Name
- packet
Capture boolean - Packet capture
- rules
Wildfire
Anti Virus Profile Rule[] - Rules
- snippet string
- The snippet in which the resource is defined
- tfid string
- threat
Exceptions WildfireAnti Virus Profile Threat Exception[] - Threat exception
- description str
- Description
- device str
- The device in which the resource is defined
- folder str
- The folder in which the resource is defined
- mlav_
exceptions Sequence[WildfireAnti Virus Profile Mlav Exception Args] - Mlav exception
- name str
- Name
- packet_
capture bool - Packet capture
- rules
Sequence[Wildfire
Anti Virus Profile Rule Args] - Rules
- snippet str
- The snippet in which the resource is defined
- tfid str
- threat_
exceptions Sequence[WildfireAnti Virus Profile Threat Exception Args] - Threat exception
- description String
- Description
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- mlav
Exceptions List<Property Map> - Mlav exception
- name String
- Name
- packet
Capture Boolean - Packet capture
- 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
WildfireAntiVirusProfileMlavException, WildfireAntiVirusProfileMlavExceptionArgs
- Description string
- Description
- Filename string
- Filename
- Name string
- Name
- Description string
- Description
- Filename string
- Filename
- Name string
- Name
- description String
- Description
- filename String
- Filename
- name String
- Name
- description string
- Description
- filename string
- Filename
- name string
- Name
- description str
- Description
- filename str
- Filename
- name str
- Name
- description String
- Description
- filename String
- Filename
- name String
- Name
WildfireAntiVirusProfileRule, WildfireAntiVirusProfileRuleArgs
- Analysis string
- Analysis
- Applications List<string>
- Application
- Direction string
- Direction
- File
Types List<string> - File type
- Name string
- Name
- Analysis string
- Analysis
- Applications []string
- Application
- Direction string
- Direction
- File
Types []string - File type
- Name string
- Name
- analysis String
- Analysis
- applications List<String>
- Application
- direction String
- Direction
- file
Types List<String> - File type
- name String
- Name
- analysis string
- Analysis
- applications string[]
- Application
- direction string
- Direction
- file
Types string[] - File type
- name string
- Name
- analysis str
- Analysis
- applications Sequence[str]
- Application
- direction str
- Direction
- file_
types Sequence[str] - File type
- name str
- Name
- analysis String
- Analysis
- applications List<String>
- Application
- direction String
- Direction
- file
Types List<String> - File type
- name String
- Name
WildfireAntiVirusProfileThreatException, WildfireAntiVirusProfileThreatExceptionArgs
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
