<gh_stars>0// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace Pulumiverse.Fortios.Outputs
{

    [OutputType]
    public sealed class FilefilterProfileRule
    {
        /// <summary>
        /// Action taken for matched file. Valid values: `log-only`, `block`.
        /// </summary>
        public readonly string? Action;
        /// <summary>
        /// Comment.
        /// </summary>
        public readonly string? Comment;
        /// <summary>
        /// Traffic direction. (HTTP, FTP, SSH, CIFS only) Valid values: `incoming`, `outgoing`, `any`.
        /// </summary>
        public readonly string? Direction;
        /// <summary>
        /// Select file type. The structure of `file_type` block is documented below.
        /// </summary>
        public readonly ImmutableArray<Outputs.FilefilterProfileRuleFileType> FileTypes;
        /// <summary>
        /// File-filter rule name.
        /// </summary>
        public readonly string? Name;
        /// <summary>
        /// Match password-protected files. Valid values: `yes`, `any`.
        /// </summary>
        public readonly string? PasswordProtected;
        /// <summary>
        /// Protocols to apply rule to. Valid values: `http`, `ftp`, `smtp`, `imap`, `pop3`, `mapi`, `cifs`, `ssh`.
        /// </summary>
        public readonly string? Protocol;

        [OutputConstructor]
        private FilefilterProfileRule(
            string? action,

            string? comment,

            string? direction,

            ImmutableArray<Outputs.FilefilterProfileRuleFileType> fileTypes,

            string? name,

            string? passwordProtected,

            string? protocol)
        {
            Action = action;
            Comment = comment;
            Direction = direction;
            FileTypes = fileTypes;
            Name = name;
            PasswordProtected = passwordProtected;
            Protocol = protocol;
        }
    }
}
