1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectAntivirusProfileOutbreakprevention
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectAntivirusProfileOutbreakprevention

Explore with Pulumi AI

Configure Virus Outbreak Prevention settings.

This resource is a sub resource for variable outbreak_prevention of resource fortimanager.ObjectAntivirusProfile. Conflict and overwrite may occur if use both of them.

Create ObjectAntivirusProfileOutbreakprevention Resource

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

Constructor syntax

new ObjectAntivirusProfileOutbreakprevention(name: string, args: ObjectAntivirusProfileOutbreakpreventionArgs, opts?: CustomResourceOptions);
@overload
def ObjectAntivirusProfileOutbreakprevention(resource_name: str,
                                             args: ObjectAntivirusProfileOutbreakpreventionArgs,
                                             opts: Optional[ResourceOptions] = None)

@overload
def ObjectAntivirusProfileOutbreakprevention(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             profile: Optional[str] = None,
                                             adom: Optional[str] = None,
                                             external_blocklist: Optional[str] = None,
                                             ftgd_service: Optional[str] = None,
                                             object_antivirus_profile_outbreakprevention_id: Optional[str] = None,
                                             scopetype: Optional[str] = None)
func NewObjectAntivirusProfileOutbreakprevention(ctx *Context, name string, args ObjectAntivirusProfileOutbreakpreventionArgs, opts ...ResourceOption) (*ObjectAntivirusProfileOutbreakprevention, error)
public ObjectAntivirusProfileOutbreakprevention(string name, ObjectAntivirusProfileOutbreakpreventionArgs args, CustomResourceOptions? opts = null)
public ObjectAntivirusProfileOutbreakprevention(String name, ObjectAntivirusProfileOutbreakpreventionArgs args)
public ObjectAntivirusProfileOutbreakprevention(String name, ObjectAntivirusProfileOutbreakpreventionArgs args, CustomResourceOptions options)
type: fortimanager:ObjectAntivirusProfileOutbreakprevention
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectAntivirusProfileOutbreakpreventionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectAntivirusProfileOutbreakpreventionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectAntivirusProfileOutbreakpreventionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectAntivirusProfileOutbreakpreventionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectAntivirusProfileOutbreakpreventionArgs
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 objectAntivirusProfileOutbreakpreventionResource = new Fortimanager.ObjectAntivirusProfileOutbreakprevention("objectAntivirusProfileOutbreakpreventionResource", new()
{
    Profile = "string",
    Adom = "string",
    ExternalBlocklist = "string",
    FtgdService = "string",
    ObjectAntivirusProfileOutbreakpreventionId = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectAntivirusProfileOutbreakprevention(ctx, "objectAntivirusProfileOutbreakpreventionResource", &fortimanager.ObjectAntivirusProfileOutbreakpreventionArgs{
Profile: pulumi.String("string"),
Adom: pulumi.String("string"),
ExternalBlocklist: pulumi.String("string"),
FtgdService: pulumi.String("string"),
ObjectAntivirusProfileOutbreakpreventionId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectAntivirusProfileOutbreakpreventionResource = new ObjectAntivirusProfileOutbreakprevention("objectAntivirusProfileOutbreakpreventionResource", ObjectAntivirusProfileOutbreakpreventionArgs.builder()
    .profile("string")
    .adom("string")
    .externalBlocklist("string")
    .ftgdService("string")
    .objectAntivirusProfileOutbreakpreventionId("string")
    .scopetype("string")
    .build());
Copy
object_antivirus_profile_outbreakprevention_resource = fortimanager.ObjectAntivirusProfileOutbreakprevention("objectAntivirusProfileOutbreakpreventionResource",
    profile="string",
    adom="string",
    external_blocklist="string",
    ftgd_service="string",
    object_antivirus_profile_outbreakprevention_id="string",
    scopetype="string")
Copy
const objectAntivirusProfileOutbreakpreventionResource = new fortimanager.ObjectAntivirusProfileOutbreakprevention("objectAntivirusProfileOutbreakpreventionResource", {
    profile: "string",
    adom: "string",
    externalBlocklist: "string",
    ftgdService: "string",
    objectAntivirusProfileOutbreakpreventionId: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectAntivirusProfileOutbreakprevention
properties:
    adom: string
    externalBlocklist: string
    ftgdService: string
    objectAntivirusProfileOutbreakpreventionId: string
    profile: string
    scopetype: string
Copy

ObjectAntivirusProfileOutbreakprevention 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 ObjectAntivirusProfileOutbreakprevention resource accepts the following input properties:

Profile This property is required. string
Profile.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ExternalBlocklist string
Enable/disable external malware blocklist. Valid values: disable, enable.
FtgdService string
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
ObjectAntivirusProfileOutbreakpreventionId string
an identifier for the resource.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Profile This property is required. string
Profile.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ExternalBlocklist string
Enable/disable external malware blocklist. Valid values: disable, enable.
FtgdService string
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
ObjectAntivirusProfileOutbreakpreventionId string
an identifier for the resource.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. String
Profile.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
externalBlocklist String
Enable/disable external malware blocklist. Valid values: disable, enable.
ftgdService String
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
objectAntivirusProfileOutbreakpreventionId String
an identifier for the resource.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. string
Profile.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
externalBlocklist string
Enable/disable external malware blocklist. Valid values: disable, enable.
ftgdService string
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
objectAntivirusProfileOutbreakpreventionId string
an identifier for the resource.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. str
Profile.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
external_blocklist str
Enable/disable external malware blocklist. Valid values: disable, enable.
ftgd_service str
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
object_antivirus_profile_outbreakprevention_id str
an identifier for the resource.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. String
Profile.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
externalBlocklist String
Enable/disable external malware blocklist. Valid values: disable, enable.
ftgdService String
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
objectAntivirusProfileOutbreakpreventionId String
an identifier for the resource.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

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

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

Look up Existing ObjectAntivirusProfileOutbreakprevention Resource

Get an existing ObjectAntivirusProfileOutbreakprevention 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?: ObjectAntivirusProfileOutbreakpreventionState, opts?: CustomResourceOptions): ObjectAntivirusProfileOutbreakprevention
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        external_blocklist: Optional[str] = None,
        ftgd_service: Optional[str] = None,
        object_antivirus_profile_outbreakprevention_id: Optional[str] = None,
        profile: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectAntivirusProfileOutbreakprevention
func GetObjectAntivirusProfileOutbreakprevention(ctx *Context, name string, id IDInput, state *ObjectAntivirusProfileOutbreakpreventionState, opts ...ResourceOption) (*ObjectAntivirusProfileOutbreakprevention, error)
public static ObjectAntivirusProfileOutbreakprevention Get(string name, Input<string> id, ObjectAntivirusProfileOutbreakpreventionState? state, CustomResourceOptions? opts = null)
public static ObjectAntivirusProfileOutbreakprevention get(String name, Output<String> id, ObjectAntivirusProfileOutbreakpreventionState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectAntivirusProfileOutbreakprevention    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ExternalBlocklist string
Enable/disable external malware blocklist. Valid values: disable, enable.
FtgdService string
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
ObjectAntivirusProfileOutbreakpreventionId string
an identifier for the resource.
Profile string
Profile.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ExternalBlocklist string
Enable/disable external malware blocklist. Valid values: disable, enable.
FtgdService string
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
ObjectAntivirusProfileOutbreakpreventionId string
an identifier for the resource.
Profile string
Profile.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
externalBlocklist String
Enable/disable external malware blocklist. Valid values: disable, enable.
ftgdService String
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
objectAntivirusProfileOutbreakpreventionId String
an identifier for the resource.
profile String
Profile.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
externalBlocklist string
Enable/disable external malware blocklist. Valid values: disable, enable.
ftgdService string
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
objectAntivirusProfileOutbreakpreventionId string
an identifier for the resource.
profile string
Profile.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
external_blocklist str
Enable/disable external malware blocklist. Valid values: disable, enable.
ftgd_service str
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
object_antivirus_profile_outbreakprevention_id str
an identifier for the resource.
profile str
Profile.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
externalBlocklist String
Enable/disable external malware blocklist. Valid values: disable, enable.
ftgdService String
Enable/disable FortiGuard Virus outbreak prevention service. Valid values: disable, enable.
objectAntivirusProfileOutbreakpreventionId String
an identifier for the resource.
profile String
Profile.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Import

ObjectAntivirus ProfileOutbreakPrevention can be imported using any of these accepted formats:

Set import_options = [“profile=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectAntivirusProfileOutbreakprevention:ObjectAntivirusProfileOutbreakprevention labelname ObjectAntivirusProfileOutbreakPrevention
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.