UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

171 lines (170 loc) 5.94 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to configure firewall virtual IPs (VIPs) of FortiOS. * * !> **Warning:** The resource will be deprecated and replaced by new resource `fortios.firewall.Vip`, we recommend that you use the new resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumiverse/fortios"; * * const v11 = new fortios.firewall.ObjectVip("v11", { * comment: "fdsafdsafds", * extintf: "port3", * extip: "11.1.1.1-21.1.1.1", * extport: "2-3", * mappedips: ["22.2.2.2-32.2.2.2"], * mappedport: "4-5", * portforward: "enable", * protocol: "tcp", * }); * ``` */ export declare class ObjectVip extends pulumi.CustomResource { /** * Get an existing ObjectVip 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?: ObjectVipState, opts?: pulumi.CustomResourceOptions): ObjectVip; /** * Returns true if the given object is an instance of ObjectVip. 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 ObjectVip; /** * Comment. */ readonly comment: pulumi.Output<string | undefined>; /** * Interface connected to the source network that receives the packets that will be forwarded to the destination network. */ readonly extintf: pulumi.Output<string>; /** * IP address or address range on the external interface that you want to map to an address or address range on the * destination network. */ readonly extip: pulumi.Output<string>; /** * Incoming port number range that you want to map to a port number range on the destination network. */ readonly extport: pulumi.Output<string>; /** * IP address or address range on the destination network to which the external IP address is mapped. */ readonly mappedips: pulumi.Output<string[]>; /** * Port number range on the destination network to which the external port number range is mapped. */ readonly mappedport: pulumi.Output<string>; /** * Virtual IP name. */ readonly name: pulumi.Output<string>; /** * Enable/disable port forwarding. */ readonly portforward: pulumi.Output<string>; /** * Protocol to use when forwarding packets. */ readonly protocol: pulumi.Output<string>; /** * Create a ObjectVip 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: ObjectVipArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ObjectVip resources. */ export interface ObjectVipState { /** * Comment. */ comment?: pulumi.Input<string>; /** * Interface connected to the source network that receives the packets that will be forwarded to the destination network. */ extintf?: pulumi.Input<string>; /** * IP address or address range on the external interface that you want to map to an address or address range on the * destination network. */ extip?: pulumi.Input<string>; /** * Incoming port number range that you want to map to a port number range on the destination network. */ extport?: pulumi.Input<string>; /** * IP address or address range on the destination network to which the external IP address is mapped. */ mappedips?: pulumi.Input<pulumi.Input<string>[]>; /** * Port number range on the destination network to which the external port number range is mapped. */ mappedport?: pulumi.Input<string>; /** * Virtual IP name. */ name?: pulumi.Input<string>; /** * Enable/disable port forwarding. */ portforward?: pulumi.Input<string>; /** * Protocol to use when forwarding packets. */ protocol?: pulumi.Input<string>; } /** * The set of arguments for constructing a ObjectVip resource. */ export interface ObjectVipArgs { /** * Comment. */ comment?: pulumi.Input<string>; /** * Interface connected to the source network that receives the packets that will be forwarded to the destination network. */ extintf?: pulumi.Input<string>; /** * IP address or address range on the external interface that you want to map to an address or address range on the * destination network. */ extip: pulumi.Input<string>; /** * Incoming port number range that you want to map to a port number range on the destination network. */ extport?: pulumi.Input<string>; /** * IP address or address range on the destination network to which the external IP address is mapped. */ mappedips: pulumi.Input<pulumi.Input<string>[]>; /** * Port number range on the destination network to which the external port number range is mapped. */ mappedport?: pulumi.Input<string>; /** * Virtual IP name. */ name?: pulumi.Input<string>; /** * Enable/disable port forwarding. */ portforward?: pulumi.Input<string>; /** * Protocol to use when forwarding packets. */ protocol?: pulumi.Input<string>; }