@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
166 lines (165 loc) • 7.06 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Configure AntiVirus settings.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumiverse/fortios";
*
* const trname = new fortios.antivirus.Settings("trname", {
* defaultDb: "extended",
* grayware: "enable",
* });
* ```
*
* ## Import
*
* Antivirus Settings can be imported using any of these accepted formats:
*
* ```sh
* $ pulumi import fortios:antivirus/settings:Settings labelname AntivirusSettings
* ```
*
* If you do not want to import arguments of block:
*
* $ export "FORTIOS_IMPORT_TABLE"="false"
*
* ```sh
* $ pulumi import fortios:antivirus/settings:Settings labelname AntivirusSettings
* ```
*
* $ unset "FORTIOS_IMPORT_TABLE"
*/
export declare class Settings extends pulumi.CustomResource {
/**
* Get an existing Settings resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SettingsState, opts?: pulumi.CustomResourceOptions): Settings;
/**
* Returns true if the given object is an instance of Settings. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Settings;
/**
* Enable/disable cache of clean scan results (default = enable). Valid values: `enable`, `disable`.
*/
readonly cacheCleanResult: pulumi.Output<string>;
/**
* Enable/disable cache of infected scan results (default = enable). Valid values: `enable`, `disable`.
*/
readonly cacheInfectedResult: pulumi.Output<string>;
/**
* Select the AV database to be used for AV scanning. Valid values: `normal`, `extended`, `extreme`.
*/
readonly defaultDb: pulumi.Output<string>;
/**
* Enable/disable grayware detection when an AntiVirus profile is applied to traffic. Valid values: `enable`, `disable`.
*/
readonly grayware: pulumi.Output<string>;
/**
* Use machine learning based malware detection. Valid values: `enable`, `monitor`, `disable`.
*/
readonly machineLearningDetection: pulumi.Output<string>;
/**
* Override the large file scan timeout value in seconds (30 - 3600). Zero is the default value and is used to disable this command. When disabled, the daemon adjusts the large file scan timeout based on the file size.
*/
readonly overrideTimeout: pulumi.Output<number>;
/**
* Enable/disable the use of Extreme AVDB. Valid values: `enable`, `disable`.
*/
readonly useExtremeDb: pulumi.Output<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.
*/
readonly vdomparam: pulumi.Output<string>;
/**
* Create a Settings resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: SettingsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Settings resources.
*/
export interface SettingsState {
/**
* Enable/disable cache of clean scan results (default = enable). Valid values: `enable`, `disable`.
*/
cacheCleanResult?: pulumi.Input<string>;
/**
* Enable/disable cache of infected scan results (default = enable). Valid values: `enable`, `disable`.
*/
cacheInfectedResult?: pulumi.Input<string>;
/**
* Select the AV database to be used for AV scanning. Valid values: `normal`, `extended`, `extreme`.
*/
defaultDb?: pulumi.Input<string>;
/**
* Enable/disable grayware detection when an AntiVirus profile is applied to traffic. Valid values: `enable`, `disable`.
*/
grayware?: pulumi.Input<string>;
/**
* Use machine learning based malware detection. Valid values: `enable`, `monitor`, `disable`.
*/
machineLearningDetection?: pulumi.Input<string>;
/**
* Override the large file scan timeout value in seconds (30 - 3600). Zero is the default value and is used to disable this command. When disabled, the daemon adjusts the large file scan timeout based on the file size.
*/
overrideTimeout?: pulumi.Input<number>;
/**
* Enable/disable the use of Extreme AVDB. Valid values: `enable`, `disable`.
*/
useExtremeDb?: pulumi.Input<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.
*/
vdomparam?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Settings resource.
*/
export interface SettingsArgs {
/**
* Enable/disable cache of clean scan results (default = enable). Valid values: `enable`, `disable`.
*/
cacheCleanResult?: pulumi.Input<string>;
/**
* Enable/disable cache of infected scan results (default = enable). Valid values: `enable`, `disable`.
*/
cacheInfectedResult?: pulumi.Input<string>;
/**
* Select the AV database to be used for AV scanning. Valid values: `normal`, `extended`, `extreme`.
*/
defaultDb?: pulumi.Input<string>;
/**
* Enable/disable grayware detection when an AntiVirus profile is applied to traffic. Valid values: `enable`, `disable`.
*/
grayware?: pulumi.Input<string>;
/**
* Use machine learning based malware detection. Valid values: `enable`, `monitor`, `disable`.
*/
machineLearningDetection?: pulumi.Input<string>;
/**
* Override the large file scan timeout value in seconds (30 - 3600). Zero is the default value and is used to disable this command. When disabled, the daemon adjusts the large file scan timeout based on the file size.
*/
overrideTimeout?: pulumi.Input<number>;
/**
* Enable/disable the use of Extreme AVDB. Valid values: `enable`, `disable`.
*/
useExtremeDb?: pulumi.Input<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.
*/
vdomparam?: pulumi.Input<string>;
}