UNPKG

@pulumi/juniper-mist

Version:

A Pulumi package for creating and managing Juniper Mist resources.

164 lines 5.75 kB
import * as pulumi from "@pulumi/pulumi"; /** * This resource manages the Org Antivirus Profile. * * An Antivirus Profile is used to configure the Antivirus feature on SRX devices. It specifies which content the Antivirus should analyse and which content should be ignored. * * The Antivirus profiles can be used within the following resources: * * `mist_org_servicepolicy.antivirus` * * `mist_org_gatewaytemplate.service_policies.antivirus` * * `mist_org_deviceprofile_gateway.service_policies.antivirus` * * `mist_device_gateway.service_policies.antivirus` * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as junipermist from "@pulumi/juniper-mist"; * * const avprofileOne = new junipermist.org.Avprofile("avprofile_one", { * orgId: terraformTest.id, * fallbackAction: "block", * maxFilesize: 5000, * mimeWhitelists: ["image/png"], * name: "avprofile_one", * protocols: [ * "ftp", * "http", * "imap", * "pop3", * "smtp", * ], * urlWhitelists: ["www.google.fr"], * }); * ``` * * ## Import * * Using `pulumi import`, import `junipermist.org.Avprofile` with: * IDP Profile can be imported by specifying the orgId and the avprofileId * * ```sh * $ pulumi import junipermist:org/avprofile:Avprofile avprofile_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309 * ``` */ export declare class Avprofile extends pulumi.CustomResource { /** * Get an existing Avprofile 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?: AvprofileState, opts?: pulumi.CustomResourceOptions): Avprofile; /** * Returns true if the given object is an instance of Avprofile. 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 Avprofile; /** * Action to take when antivirus scanning cannot complete */ readonly fallbackAction: pulumi.Output<string | undefined>; /** * Maximum file size scanned by this antivirus profile, in KB */ readonly maxFilesize: pulumi.Output<number>; /** * Content MIME types exempted from antivirus scanning */ readonly mimeWhitelists: pulumi.Output<string[]>; /** * Display name of the antivirus profile */ readonly name: pulumi.Output<string>; /** * Owning organization identifier for this antivirus profile */ readonly orgId: pulumi.Output<string>; /** * Network protocols inspected by this antivirus profile */ readonly protocols: pulumi.Output<string[]>; /** * Allowed URL entries exempted from antivirus scanning */ readonly urlWhitelists: pulumi.Output<string[]>; /** * Create a Avprofile 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: AvprofileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Avprofile resources. */ export interface AvprofileState { /** * Action to take when antivirus scanning cannot complete */ fallbackAction?: pulumi.Input<string | undefined>; /** * Maximum file size scanned by this antivirus profile, in KB */ maxFilesize?: pulumi.Input<number | undefined>; /** * Content MIME types exempted from antivirus scanning */ mimeWhitelists?: pulumi.Input<pulumi.Input<string>[] | undefined>; /** * Display name of the antivirus profile */ name?: pulumi.Input<string | undefined>; /** * Owning organization identifier for this antivirus profile */ orgId?: pulumi.Input<string | undefined>; /** * Network protocols inspected by this antivirus profile */ protocols?: pulumi.Input<pulumi.Input<string>[] | undefined>; /** * Allowed URL entries exempted from antivirus scanning */ urlWhitelists?: pulumi.Input<pulumi.Input<string>[] | undefined>; } /** * The set of arguments for constructing a Avprofile resource. */ export interface AvprofileArgs { /** * Action to take when antivirus scanning cannot complete */ fallbackAction?: pulumi.Input<string | undefined>; /** * Maximum file size scanned by this antivirus profile, in KB */ maxFilesize?: pulumi.Input<number | undefined>; /** * Content MIME types exempted from antivirus scanning */ mimeWhitelists?: pulumi.Input<pulumi.Input<string>[] | undefined>; /** * Display name of the antivirus profile */ name?: pulumi.Input<string | undefined>; /** * Owning organization identifier for this antivirus profile */ orgId: pulumi.Input<string>; /** * Network protocols inspected by this antivirus profile */ protocols: pulumi.Input<pulumi.Input<string>[]>; /** * Allowed URL entries exempted from antivirus scanning */ urlWhitelists?: pulumi.Input<pulumi.Input<string>[] | undefined>; } //# sourceMappingURL=avprofile.d.ts.map