@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
144 lines (143 loc) • 4.65 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a resource to configure IPv4 IP address pools of FortiOS.
*
* !> **Warning:** The resource will be deprecated and replaced by new resource `fortios.firewall.Ippool`, we recommend that you use the new resource.
*
* ## Example Usage
*
* ### Overload Ippool
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumiverse/fortios";
*
* const s1 = new fortios.firewall.ObjectIppool("s1", {
* arpReply: "enable",
* comments: "fdsaf",
* endip: "22.0.0.0",
* startip: "11.0.0.0",
* type: "overload",
* });
* ```
*
* ### One-To-One Ippool
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumiverse/fortios";
*
* const s2 = new fortios.firewall.ObjectIppool("s2", {
* arpReply: "enable",
* comments: "fdsaf",
* endip: "222.0.0.0",
* startip: "121.0.0.0",
* type: "one-to-one",
* });
* ```
*/
export declare class ObjectIppool extends pulumi.CustomResource {
/**
* Get an existing ObjectIppool 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?: ObjectIppoolState, opts?: pulumi.CustomResourceOptions): ObjectIppool;
/**
* Returns true if the given object is an instance of ObjectIppool. 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 ObjectIppool;
/**
* Enable/disable replying to ARP requests when an IP Pool is added to a policy.
*/
readonly arpReply: pulumi.Output<string>;
/**
* Comment.
*/
readonly comments: pulumi.Output<string | undefined>;
/**
* Final IPv4 address (inclusive) in the range for the address pool (format xxx.xxx.xxx.xxx).
*/
readonly endip: pulumi.Output<string>;
/**
* IP pool name.
*/
readonly name: pulumi.Output<string>;
/**
* First IPv4 address (inclusive) in the range for the address pool (format xxx.xxx.xxx.xxx).
*/
readonly startip: pulumi.Output<string>;
/**
* IP pool type(Support overload and one-to-one).
*/
readonly type: pulumi.Output<string>;
/**
* Create a ObjectIppool 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: ObjectIppoolArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ObjectIppool resources.
*/
export interface ObjectIppoolState {
/**
* Enable/disable replying to ARP requests when an IP Pool is added to a policy.
*/
arpReply?: pulumi.Input<string>;
/**
* Comment.
*/
comments?: pulumi.Input<string>;
/**
* Final IPv4 address (inclusive) in the range for the address pool (format xxx.xxx.xxx.xxx).
*/
endip?: pulumi.Input<string>;
/**
* IP pool name.
*/
name?: pulumi.Input<string>;
/**
* First IPv4 address (inclusive) in the range for the address pool (format xxx.xxx.xxx.xxx).
*/
startip?: pulumi.Input<string>;
/**
* IP pool type(Support overload and one-to-one).
*/
type?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ObjectIppool resource.
*/
export interface ObjectIppoolArgs {
/**
* Enable/disable replying to ARP requests when an IP Pool is added to a policy.
*/
arpReply?: pulumi.Input<string>;
/**
* Comment.
*/
comments?: pulumi.Input<string>;
/**
* Final IPv4 address (inclusive) in the range for the address pool (format xxx.xxx.xxx.xxx).
*/
endip: pulumi.Input<string>;
/**
* IP pool name.
*/
name?: pulumi.Input<string>;
/**
* First IPv4 address (inclusive) in the range for the address pool (format xxx.xxx.xxx.xxx).
*/
startip: pulumi.Input<string>;
/**
* IP pool type(Support overload and one-to-one).
*/
type: pulumi.Input<string>;
}