@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
219 lines (218 loc) • 7.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* This resource can manage a Advanced Malware Protection Policy Definition .
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = new sdwan.AdvancedMalwareProtectionPolicyDefinition("example", {
* name: "Example",
* description: "My description",
* mode: "security",
* matchAllVpn: false,
* targetVpns: ["1"],
* alertLogLevel: "critical",
* ampCloudRegion: "apjc",
* ampCloudRegionEstServer: "apjc",
* fileAnalysis: false,
* });
* ```
*
* ## Import
*
* The `pulumi import` command can be used, for example:
*
* ```sh
* $ pulumi import sdwan:index/advancedMalwareProtectionPolicyDefinition:AdvancedMalwareProtectionPolicyDefinition example "f6b2c44c-693c-4763-b010-895aa3d236bd"
* ```
*/
export declare class AdvancedMalwareProtectionPolicyDefinition extends pulumi.CustomResource {
/**
* Get an existing AdvancedMalwareProtectionPolicyDefinition 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?: AdvancedMalwareProtectionPolicyDefinitionState, opts?: pulumi.CustomResourceOptions): AdvancedMalwareProtectionPolicyDefinition;
/**
* Returns true if the given object is an instance of AdvancedMalwareProtectionPolicyDefinition. 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 AdvancedMalwareProtectionPolicyDefinition;
/**
* File reputation alerts Log level - Choices: `critical`, `warning`, `info`
*/
readonly alertLogLevel: pulumi.Output<string | undefined>;
/**
* AMP Cloud Region - Choices: `nam`, `eu`, `apjc`
*/
readonly ampCloudRegion: pulumi.Output<string | undefined>;
/**
* AMP Cloud Region - Choices: `nam`, `eu`, `apjc`
*/
readonly ampCloudRegionEstServer: pulumi.Output<string | undefined>;
/**
* The description of the policy definition
*/
readonly description: pulumi.Output<string>;
/**
* Should file analysis be enabled
*/
readonly fileAnalysis: pulumi.Output<boolean | undefined>;
/**
* File analysis alerts Log level - Choices: `critical`, `warning`, `info`
*/
readonly fileAnalysisAlertLogLevel: pulumi.Output<string | undefined>;
/**
* TG Cloud Region - Choices: `nam`, `eu`
*/
readonly fileAnalysisCloudRegion: pulumi.Output<string | undefined>;
/**
* List of file type
*/
readonly fileAnalysisFileTypes: pulumi.Output<string[] | undefined>;
/**
* Should match all VPNs
*/
readonly matchAllVpn: pulumi.Output<boolean | undefined>;
/**
* The policy mode - Choices: `security`, `unified` - Default value: `security`
*/
readonly mode: pulumi.Output<string>;
/**
* The name of the policy definition
*/
readonly name: pulumi.Output<string>;
/**
* List of VPN IDs
*/
readonly targetVpns: pulumi.Output<string[] | undefined>;
/**
* The version of the object
*/
readonly version: pulumi.Output<number>;
/**
* Create a AdvancedMalwareProtectionPolicyDefinition 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: AdvancedMalwareProtectionPolicyDefinitionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering AdvancedMalwareProtectionPolicyDefinition resources.
*/
export interface AdvancedMalwareProtectionPolicyDefinitionState {
/**
* File reputation alerts Log level - Choices: `critical`, `warning`, `info`
*/
alertLogLevel?: pulumi.Input<string>;
/**
* AMP Cloud Region - Choices: `nam`, `eu`, `apjc`
*/
ampCloudRegion?: pulumi.Input<string>;
/**
* AMP Cloud Region - Choices: `nam`, `eu`, `apjc`
*/
ampCloudRegionEstServer?: pulumi.Input<string>;
/**
* The description of the policy definition
*/
description?: pulumi.Input<string>;
/**
* Should file analysis be enabled
*/
fileAnalysis?: pulumi.Input<boolean>;
/**
* File analysis alerts Log level - Choices: `critical`, `warning`, `info`
*/
fileAnalysisAlertLogLevel?: pulumi.Input<string>;
/**
* TG Cloud Region - Choices: `nam`, `eu`
*/
fileAnalysisCloudRegion?: pulumi.Input<string>;
/**
* List of file type
*/
fileAnalysisFileTypes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Should match all VPNs
*/
matchAllVpn?: pulumi.Input<boolean>;
/**
* The policy mode - Choices: `security`, `unified` - Default value: `security`
*/
mode?: pulumi.Input<string>;
/**
* The name of the policy definition
*/
name?: pulumi.Input<string>;
/**
* List of VPN IDs
*/
targetVpns?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The version of the object
*/
version?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a AdvancedMalwareProtectionPolicyDefinition resource.
*/
export interface AdvancedMalwareProtectionPolicyDefinitionArgs {
/**
* File reputation alerts Log level - Choices: `critical`, `warning`, `info`
*/
alertLogLevel?: pulumi.Input<string>;
/**
* AMP Cloud Region - Choices: `nam`, `eu`, `apjc`
*/
ampCloudRegion?: pulumi.Input<string>;
/**
* AMP Cloud Region - Choices: `nam`, `eu`, `apjc`
*/
ampCloudRegionEstServer?: pulumi.Input<string>;
/**
* The description of the policy definition
*/
description: pulumi.Input<string>;
/**
* Should file analysis be enabled
*/
fileAnalysis?: pulumi.Input<boolean>;
/**
* File analysis alerts Log level - Choices: `critical`, `warning`, `info`
*/
fileAnalysisAlertLogLevel?: pulumi.Input<string>;
/**
* TG Cloud Region - Choices: `nam`, `eu`
*/
fileAnalysisCloudRegion?: pulumi.Input<string>;
/**
* List of file type
*/
fileAnalysisFileTypes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Should match all VPNs
*/
matchAllVpn?: pulumi.Input<boolean>;
/**
* The policy mode - Choices: `security`, `unified` - Default value: `security`
*/
mode?: pulumi.Input<string>;
/**
* The name of the policy definition
*/
name?: pulumi.Input<string>;
/**
* List of VPN IDs
*/
targetVpns?: pulumi.Input<pulumi.Input<string>[]>;
}