1. Packages
  2. Fortios
  3. API Docs
  4. virtualpatch
  5. Profile
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.virtualpatch.Profile

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure virtual-patch profile. Applies to FortiOS Version >= 7.4.1.

    Create Profile Resource

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

    Constructor syntax

    new Profile(name: string, args?: ProfileArgs, opts?: CustomResourceOptions);
    @overload
    def Profile(resource_name: str,
                args: Optional[ProfileArgs] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Profile(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                action: Optional[str] = None,
                comment: Optional[str] = None,
                dynamic_sort_subtable: Optional[str] = None,
                exemptions: Optional[Sequence[ProfileExemptionArgs]] = None,
                get_all_tables: Optional[str] = None,
                log: Optional[str] = None,
                name: Optional[str] = None,
                severity: Optional[str] = None,
                vdomparam: Optional[str] = None)
    func NewProfile(ctx *Context, name string, args *ProfileArgs, opts ...ResourceOption) (*Profile, error)
    public Profile(string name, ProfileArgs? args = null, CustomResourceOptions? opts = null)
    public Profile(String name, ProfileArgs args)
    public Profile(String name, ProfileArgs args, CustomResourceOptions options)
    
    type: fortios:virtualpatch:Profile
    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 ProfileArgs
    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 ProfileArgs
    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 ProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProfileArgs
    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 exampleprofileResourceResourceFromVirtualpatchprofile = new Fortios.Virtualpatch.Profile("exampleprofileResourceResourceFromVirtualpatchprofile", new()
    {
        Action = "string",
        Comment = "string",
        DynamicSortSubtable = "string",
        Exemptions = new[]
        {
            new Fortios.Virtualpatch.Inputs.ProfileExemptionArgs
            {
                Devices = new[]
                {
                    new Fortios.Virtualpatch.Inputs.ProfileExemptionDeviceArgs
                    {
                        Mac = "string",
                    },
                },
                Id = 0,
                Rules = new[]
                {
                    new Fortios.Virtualpatch.Inputs.ProfileExemptionRuleArgs
                    {
                        Id = 0,
                    },
                },
                Status = "string",
            },
        },
        GetAllTables = "string",
        Log = "string",
        Name = "string",
        Severity = "string",
        Vdomparam = "string",
    });
    
    example, err := virtualpatch.NewProfile(ctx, "exampleprofileResourceResourceFromVirtualpatchprofile", &virtualpatch.ProfileArgs{
    	Action:              pulumi.String("string"),
    	Comment:             pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	Exemptions: virtualpatch.ProfileExemptionArray{
    		&virtualpatch.ProfileExemptionArgs{
    			Devices: virtualpatch.ProfileExemptionDeviceArray{
    				&virtualpatch.ProfileExemptionDeviceArgs{
    					Mac: pulumi.String("string"),
    				},
    			},
    			Id: pulumi.Int(0),
    			Rules: virtualpatch.ProfileExemptionRuleArray{
    				&virtualpatch.ProfileExemptionRuleArgs{
    					Id: pulumi.Int(0),
    				},
    			},
    			Status: pulumi.String("string"),
    		},
    	},
    	GetAllTables: pulumi.String("string"),
    	Log:          pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	Severity:     pulumi.String("string"),
    	Vdomparam:    pulumi.String("string"),
    })
    
    var exampleprofileResourceResourceFromVirtualpatchprofile = new Profile("exampleprofileResourceResourceFromVirtualpatchprofile", ProfileArgs.builder()
        .action("string")
        .comment("string")
        .dynamicSortSubtable("string")
        .exemptions(ProfileExemptionArgs.builder()
            .devices(ProfileExemptionDeviceArgs.builder()
                .mac("string")
                .build())
            .id(0)
            .rules(ProfileExemptionRuleArgs.builder()
                .id(0)
                .build())
            .status("string")
            .build())
        .getAllTables("string")
        .log("string")
        .name("string")
        .severity("string")
        .vdomparam("string")
        .build());
    
    exampleprofile_resource_resource_from_virtualpatchprofile = fortios.virtualpatch.Profile("exampleprofileResourceResourceFromVirtualpatchprofile",
        action="string",
        comment="string",
        dynamic_sort_subtable="string",
        exemptions=[{
            "devices": [{
                "mac": "string",
            }],
            "id": 0,
            "rules": [{
                "id": 0,
            }],
            "status": "string",
        }],
        get_all_tables="string",
        log="string",
        name="string",
        severity="string",
        vdomparam="string")
    
    const exampleprofileResourceResourceFromVirtualpatchprofile = new fortios.virtualpatch.Profile("exampleprofileResourceResourceFromVirtualpatchprofile", {
        action: "string",
        comment: "string",
        dynamicSortSubtable: "string",
        exemptions: [{
            devices: [{
                mac: "string",
            }],
            id: 0,
            rules: [{
                id: 0,
            }],
            status: "string",
        }],
        getAllTables: "string",
        log: "string",
        name: "string",
        severity: "string",
        vdomparam: "string",
    });
    
    type: fortios:virtualpatch:Profile
    properties:
        action: string
        comment: string
        dynamicSortSubtable: string
        exemptions:
            - devices:
                - mac: string
              id: 0
              rules:
                - id: 0
              status: string
        getAllTables: string
        log: string
        name: string
        severity: string
        vdomparam: string
    

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

    Action string
    Action (pass/block). Valid values: pass, block.
    Comment string
    Comment.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Exemptions List<Pulumiverse.Fortios.Virtualpatch.Inputs.ProfileExemption>
    Exempt devices or rules. The structure of exemption block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Log string
    Enable/disable logging of detection. Valid values: enable, disable.
    Name string
    Profile name.
    Severity string
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Action string
    Action (pass/block). Valid values: pass, block.
    Comment string
    Comment.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Exemptions []ProfileExemptionArgs
    Exempt devices or rules. The structure of exemption block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Log string
    Enable/disable logging of detection. Valid values: enable, disable.
    Name string
    Profile name.
    Severity string
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    action String
    Action (pass/block). Valid values: pass, block.
    comment String
    Comment.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    exemptions List<ProfileExemption>
    Exempt devices or rules. The structure of exemption block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    log String
    Enable/disable logging of detection. Valid values: enable, disable.
    name String
    Profile name.
    severity String
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    action string
    Action (pass/block). Valid values: pass, block.
    comment string
    Comment.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    exemptions ProfileExemption[]
    Exempt devices or rules. The structure of exemption block is documented below.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    log string
    Enable/disable logging of detection. Valid values: enable, disable.
    name string
    Profile name.
    severity string
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    action str
    Action (pass/block). Valid values: pass, block.
    comment str
    Comment.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    exemptions Sequence[ProfileExemptionArgs]
    Exempt devices or rules. The structure of exemption block is documented below.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    log str
    Enable/disable logging of detection. Valid values: enable, disable.
    name str
    Profile name.
    severity str
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    action String
    Action (pass/block). Valid values: pass, block.
    comment String
    Comment.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    exemptions List<Property Map>
    Exempt devices or rules. The structure of exemption block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    log String
    Enable/disable logging of detection. Valid values: enable, disable.
    name String
    Profile name.
    severity String
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Profile 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 Profile Resource

    Get an existing Profile 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?: ProfileState, opts?: CustomResourceOptions): Profile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[str] = None,
            comment: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            exemptions: Optional[Sequence[ProfileExemptionArgs]] = None,
            get_all_tables: Optional[str] = None,
            log: Optional[str] = None,
            name: Optional[str] = None,
            severity: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Profile
    func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
    public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
    public static Profile get(String name, Output<String> id, ProfileState 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:
    Action string
    Action (pass/block). Valid values: pass, block.
    Comment string
    Comment.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Exemptions List<Pulumiverse.Fortios.Virtualpatch.Inputs.ProfileExemption>
    Exempt devices or rules. The structure of exemption block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Log string
    Enable/disable logging of detection. Valid values: enable, disable.
    Name string
    Profile name.
    Severity string
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Action string
    Action (pass/block). Valid values: pass, block.
    Comment string
    Comment.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Exemptions []ProfileExemptionArgs
    Exempt devices or rules. The structure of exemption block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Log string
    Enable/disable logging of detection. Valid values: enable, disable.
    Name string
    Profile name.
    Severity string
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    action String
    Action (pass/block). Valid values: pass, block.
    comment String
    Comment.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    exemptions List<ProfileExemption>
    Exempt devices or rules. The structure of exemption block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    log String
    Enable/disable logging of detection. Valid values: enable, disable.
    name String
    Profile name.
    severity String
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    action string
    Action (pass/block). Valid values: pass, block.
    comment string
    Comment.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    exemptions ProfileExemption[]
    Exempt devices or rules. The structure of exemption block is documented below.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    log string
    Enable/disable logging of detection. Valid values: enable, disable.
    name string
    Profile name.
    severity string
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    action str
    Action (pass/block). Valid values: pass, block.
    comment str
    Comment.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    exemptions Sequence[ProfileExemptionArgs]
    Exempt devices or rules. The structure of exemption block is documented below.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    log str
    Enable/disable logging of detection. Valid values: enable, disable.
    name str
    Profile name.
    severity str
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    action String
    Action (pass/block). Valid values: pass, block.
    comment String
    Comment.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    exemptions List<Property Map>
    Exempt devices or rules. The structure of exemption block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    log String
    Enable/disable logging of detection. Valid values: enable, disable.
    name String
    Profile name.
    severity String
    Relative severity of the signature (low, medium, high, critical). Valid values: low, medium, high, critical.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    ProfileExemption, ProfileExemptionArgs

    Devices List<Pulumiverse.Fortios.Virtualpatch.Inputs.ProfileExemptionDevice>
    Device MAC addresses. The structure of device block is documented below.
    Id int
    IDs.
    Rules List<Pulumiverse.Fortios.Virtualpatch.Inputs.ProfileExemptionRule>
    Patch signature rule IDs. The structure of rule block is documented below.
    Status string
    Enable/disable exemption. Valid values: enable, disable.
    Devices []ProfileExemptionDevice
    Device MAC addresses. The structure of device block is documented below.
    Id int
    IDs.
    Rules []ProfileExemptionRule
    Patch signature rule IDs. The structure of rule block is documented below.
    Status string
    Enable/disable exemption. Valid values: enable, disable.
    devices List<ProfileExemptionDevice>
    Device MAC addresses. The structure of device block is documented below.
    id Integer
    IDs.
    rules List<ProfileExemptionRule>
    Patch signature rule IDs. The structure of rule block is documented below.
    status String
    Enable/disable exemption. Valid values: enable, disable.
    devices ProfileExemptionDevice[]
    Device MAC addresses. The structure of device block is documented below.
    id number
    IDs.
    rules ProfileExemptionRule[]
    Patch signature rule IDs. The structure of rule block is documented below.
    status string
    Enable/disable exemption. Valid values: enable, disable.
    devices Sequence[ProfileExemptionDevice]
    Device MAC addresses. The structure of device block is documented below.
    id int
    IDs.
    rules Sequence[ProfileExemptionRule]
    Patch signature rule IDs. The structure of rule block is documented below.
    status str
    Enable/disable exemption. Valid values: enable, disable.
    devices List<Property Map>
    Device MAC addresses. The structure of device block is documented below.
    id Number
    IDs.
    rules List<Property Map>
    Patch signature rule IDs. The structure of rule block is documented below.
    status String
    Enable/disable exemption. Valid values: enable, disable.

    ProfileExemptionDevice, ProfileExemptionDeviceArgs

    Mac string
    Device MAC address.
    Mac string
    Device MAC address.
    mac String
    Device MAC address.
    mac string
    Device MAC address.
    mac str
    Device MAC address.
    mac String
    Device MAC address.

    ProfileExemptionRule, ProfileExemptionRuleArgs

    Id int
    Rule IDs.
    Id int
    Rule IDs.
    id Integer
    Rule IDs.
    id number
    Rule IDs.
    id int
    Rule IDs.
    id Number
    Rule IDs.

    Import

    VirtualPatch Profile can be imported using any of these accepted formats:

    $ pulumi import fortios:virtualpatch/profile:Profile labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:virtualpatch/profile:Profile labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

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

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse