1. Packages
  2. Fortios
  3. API Docs
  4. fmg
  5. FirewallObjectIppool
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.fmg.FirewallObjectIppool

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    This resource supports Create/Read/Update/Delete firewall object ippool for FortiManager.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const test1 = new fortios.fmg.FirewallObjectIppool("test1", {
        arpIntf: "any",
        arpReply: "enable",
        associatedIntf: "any",
        comment: "test obj ippool",
        endip: "1.1.10.100",
        startip: "1.1.10.1",
        type: "one-to-one",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    test1 = fortios.fmg.FirewallObjectIppool("test1",
        arp_intf="any",
        arp_reply="enable",
        associated_intf="any",
        comment="test obj ippool",
        endip="1.1.10.100",
        startip="1.1.10.1",
        type="one-to-one")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/fmg"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := fmg.NewFirewallObjectIppool(ctx, "test1", &fmg.FirewallObjectIppoolArgs{
    			ArpIntf:        pulumi.String("any"),
    			ArpReply:       pulumi.String("enable"),
    			AssociatedIntf: pulumi.String("any"),
    			Comment:        pulumi.String("test obj ippool"),
    			Endip:          pulumi.String("1.1.10.100"),
    			Startip:        pulumi.String("1.1.10.1"),
    			Type:           pulumi.String("one-to-one"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var test1 = new Fortios.Fmg.FirewallObjectIppool("test1", new()
        {
            ArpIntf = "any",
            ArpReply = "enable",
            AssociatedIntf = "any",
            Comment = "test obj ippool",
            Endip = "1.1.10.100",
            Startip = "1.1.10.1",
            Type = "one-to-one",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.fmg.FirewallObjectIppool;
    import com.pulumi.fortios.fmg.FirewallObjectIppoolArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test1 = new FirewallObjectIppool("test1", FirewallObjectIppoolArgs.builder()
                .arpIntf("any")
                .arpReply("enable")
                .associatedIntf("any")
                .comment("test obj ippool")
                .endip("1.1.10.100")
                .startip("1.1.10.1")
                .type("one-to-one")
                .build());
    
        }
    }
    
    resources:
      test1:
        type: fortios:fmg:FirewallObjectIppool
        properties:
          arpIntf: any
          arpReply: enable
          associatedIntf: any
          comment: test obj ippool
          endip: 1.1.10.100
          startip: 1.1.10.1
          type: one-to-one
    

    Create FirewallObjectIppool Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FirewallObjectIppool(name: string, args: FirewallObjectIppoolArgs, opts?: CustomResourceOptions);
    @overload
    def FirewallObjectIppool(resource_name: str,
                             args: FirewallObjectIppoolArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def FirewallObjectIppool(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             endip: Optional[str] = None,
                             startip: Optional[str] = None,
                             adom: Optional[str] = None,
                             arp_intf: Optional[str] = None,
                             arp_reply: Optional[str] = None,
                             associated_intf: Optional[str] = None,
                             comment: Optional[str] = None,
                             name: Optional[str] = None,
                             type: Optional[str] = None)
    func NewFirewallObjectIppool(ctx *Context, name string, args FirewallObjectIppoolArgs, opts ...ResourceOption) (*FirewallObjectIppool, error)
    public FirewallObjectIppool(string name, FirewallObjectIppoolArgs args, CustomResourceOptions? opts = null)
    public FirewallObjectIppool(String name, FirewallObjectIppoolArgs args)
    public FirewallObjectIppool(String name, FirewallObjectIppoolArgs args, CustomResourceOptions options)
    
    type: fortios:fmg:FirewallObjectIppool
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FirewallObjectIppoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FirewallObjectIppoolArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FirewallObjectIppoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FirewallObjectIppoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FirewallObjectIppoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var firewallObjectIppoolResource = new Fortios.Fmg.FirewallObjectIppool("firewallObjectIppoolResource", new()
    {
        Endip = "string",
        Startip = "string",
        Adom = "string",
        ArpIntf = "string",
        ArpReply = "string",
        AssociatedIntf = "string",
        Comment = "string",
        Name = "string",
        Type = "string",
    });
    
    example, err := fmg.NewFirewallObjectIppool(ctx, "firewallObjectIppoolResource", &fmg.FirewallObjectIppoolArgs{
    	Endip:          pulumi.String("string"),
    	Startip:        pulumi.String("string"),
    	Adom:           pulumi.String("string"),
    	ArpIntf:        pulumi.String("string"),
    	ArpReply:       pulumi.String("string"),
    	AssociatedIntf: pulumi.String("string"),
    	Comment:        pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	Type:           pulumi.String("string"),
    })
    
    var firewallObjectIppoolResource = new FirewallObjectIppool("firewallObjectIppoolResource", FirewallObjectIppoolArgs.builder()
        .endip("string")
        .startip("string")
        .adom("string")
        .arpIntf("string")
        .arpReply("string")
        .associatedIntf("string")
        .comment("string")
        .name("string")
        .type("string")
        .build());
    
    firewall_object_ippool_resource = fortios.fmg.FirewallObjectIppool("firewallObjectIppoolResource",
        endip="string",
        startip="string",
        adom="string",
        arp_intf="string",
        arp_reply="string",
        associated_intf="string",
        comment="string",
        name="string",
        type="string")
    
    const firewallObjectIppoolResource = new fortios.fmg.FirewallObjectIppool("firewallObjectIppoolResource", {
        endip: "string",
        startip: "string",
        adom: "string",
        arpIntf: "string",
        arpReply: "string",
        associatedIntf: "string",
        comment: "string",
        name: "string",
        type: "string",
    });
    
    type: fortios:fmg:FirewallObjectIppool
    properties:
        adom: string
        arpIntf: string
        arpReply: string
        associatedIntf: string
        comment: string
        endip: string
        name: string
        startip: string
        type: string
    

    FirewallObjectIppool Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The FirewallObjectIppool resource accepts the following input properties:

    Endip string
    Final IPv4 address (inclusive) in the range for the address pool.
    Startip string
    First IPv4 address (inclusive) in the range for the address pool.
    Adom string
    ADOM name. default is 'root'.
    ArpIntf string
    Select an interface that will reply to ARP requests.
    ArpReply string
    Enable/disable replying to ARP request, default is "enable".
    AssociatedIntf string
    Associated interface name.
    Comment string
    Comments.
    Name string
    Ippool name.
    Type string
    Ip pool type, Enum: ["overload", "one-to-one"].
    Endip string
    Final IPv4 address (inclusive) in the range for the address pool.
    Startip string
    First IPv4 address (inclusive) in the range for the address pool.
    Adom string
    ADOM name. default is 'root'.
    ArpIntf string
    Select an interface that will reply to ARP requests.
    ArpReply string
    Enable/disable replying to ARP request, default is "enable".
    AssociatedIntf string
    Associated interface name.
    Comment string
    Comments.
    Name string
    Ippool name.
    Type string
    Ip pool type, Enum: ["overload", "one-to-one"].
    endip String
    Final IPv4 address (inclusive) in the range for the address pool.
    startip String
    First IPv4 address (inclusive) in the range for the address pool.
    adom String
    ADOM name. default is 'root'.
    arpIntf String
    Select an interface that will reply to ARP requests.
    arpReply String
    Enable/disable replying to ARP request, default is "enable".
    associatedIntf String
    Associated interface name.
    comment String
    Comments.
    name String
    Ippool name.
    type String
    Ip pool type, Enum: ["overload", "one-to-one"].
    endip string
    Final IPv4 address (inclusive) in the range for the address pool.
    startip string
    First IPv4 address (inclusive) in the range for the address pool.
    adom string
    ADOM name. default is 'root'.
    arpIntf string
    Select an interface that will reply to ARP requests.
    arpReply string
    Enable/disable replying to ARP request, default is "enable".
    associatedIntf string
    Associated interface name.
    comment string
    Comments.
    name string
    Ippool name.
    type string
    Ip pool type, Enum: ["overload", "one-to-one"].
    endip str
    Final IPv4 address (inclusive) in the range for the address pool.
    startip str
    First IPv4 address (inclusive) in the range for the address pool.
    adom str
    ADOM name. default is 'root'.
    arp_intf str
    Select an interface that will reply to ARP requests.
    arp_reply str
    Enable/disable replying to ARP request, default is "enable".
    associated_intf str
    Associated interface name.
    comment str
    Comments.
    name str
    Ippool name.
    type str
    Ip pool type, Enum: ["overload", "one-to-one"].
    endip String
    Final IPv4 address (inclusive) in the range for the address pool.
    startip String
    First IPv4 address (inclusive) in the range for the address pool.
    adom String
    ADOM name. default is 'root'.
    arpIntf String
    Select an interface that will reply to ARP requests.
    arpReply String
    Enable/disable replying to ARP request, default is "enable".
    associatedIntf String
    Associated interface name.
    comment String
    Comments.
    name String
    Ippool name.
    type String
    Ip pool type, Enum: ["overload", "one-to-one"].

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FirewallObjectIppool resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FirewallObjectIppool Resource

    Get an existing FirewallObjectIppool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FirewallObjectIppoolState, opts?: CustomResourceOptions): FirewallObjectIppool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            arp_intf: Optional[str] = None,
            arp_reply: Optional[str] = None,
            associated_intf: Optional[str] = None,
            comment: Optional[str] = None,
            endip: Optional[str] = None,
            name: Optional[str] = None,
            startip: Optional[str] = None,
            type: Optional[str] = None) -> FirewallObjectIppool
    func GetFirewallObjectIppool(ctx *Context, name string, id IDInput, state *FirewallObjectIppoolState, opts ...ResourceOption) (*FirewallObjectIppool, error)
    public static FirewallObjectIppool Get(string name, Input<string> id, FirewallObjectIppoolState? state, CustomResourceOptions? opts = null)
    public static FirewallObjectIppool get(String name, Output<String> id, FirewallObjectIppoolState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Adom string
    ADOM name. default is 'root'.
    ArpIntf string
    Select an interface that will reply to ARP requests.
    ArpReply string
    Enable/disable replying to ARP request, default is "enable".
    AssociatedIntf string
    Associated interface name.
    Comment string
    Comments.
    Endip string
    Final IPv4 address (inclusive) in the range for the address pool.
    Name string
    Ippool name.
    Startip string
    First IPv4 address (inclusive) in the range for the address pool.
    Type string
    Ip pool type, Enum: ["overload", "one-to-one"].
    Adom string
    ADOM name. default is 'root'.
    ArpIntf string
    Select an interface that will reply to ARP requests.
    ArpReply string
    Enable/disable replying to ARP request, default is "enable".
    AssociatedIntf string
    Associated interface name.
    Comment string
    Comments.
    Endip string
    Final IPv4 address (inclusive) in the range for the address pool.
    Name string
    Ippool name.
    Startip string
    First IPv4 address (inclusive) in the range for the address pool.
    Type string
    Ip pool type, Enum: ["overload", "one-to-one"].
    adom String
    ADOM name. default is 'root'.
    arpIntf String
    Select an interface that will reply to ARP requests.
    arpReply String
    Enable/disable replying to ARP request, default is "enable".
    associatedIntf String
    Associated interface name.
    comment String
    Comments.
    endip String
    Final IPv4 address (inclusive) in the range for the address pool.
    name String
    Ippool name.
    startip String
    First IPv4 address (inclusive) in the range for the address pool.
    type String
    Ip pool type, Enum: ["overload", "one-to-one"].
    adom string
    ADOM name. default is 'root'.
    arpIntf string
    Select an interface that will reply to ARP requests.
    arpReply string
    Enable/disable replying to ARP request, default is "enable".
    associatedIntf string
    Associated interface name.
    comment string
    Comments.
    endip string
    Final IPv4 address (inclusive) in the range for the address pool.
    name string
    Ippool name.
    startip string
    First IPv4 address (inclusive) in the range for the address pool.
    type string
    Ip pool type, Enum: ["overload", "one-to-one"].
    adom str
    ADOM name. default is 'root'.
    arp_intf str
    Select an interface that will reply to ARP requests.
    arp_reply str
    Enable/disable replying to ARP request, default is "enable".
    associated_intf str
    Associated interface name.
    comment str
    Comments.
    endip str
    Final IPv4 address (inclusive) in the range for the address pool.
    name str
    Ippool name.
    startip str
    First IPv4 address (inclusive) in the range for the address pool.
    type str
    Ip pool type, Enum: ["overload", "one-to-one"].
    adom String
    ADOM name. default is 'root'.
    arpIntf String
    Select an interface that will reply to ARP requests.
    arpReply String
    Enable/disable replying to ARP request, default is "enable".
    associatedIntf String
    Associated interface name.
    comment String
    Comments.
    endip String
    Final IPv4 address (inclusive) in the range for the address pool.
    name String
    Ippool name.
    startip String
    First IPv4 address (inclusive) in the range for the address pool.
    type String
    Ip pool type, Enum: ["overload", "one-to-one"].

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse