1. Packages
  2. Infoblox Provider
  3. API Docs
  4. Ipv4Range
infoblox 2.10.0 published on Friday, Apr 25, 2025 by infobloxopen

infoblox.Ipv4Range

Explore with Pulumi AI

infoblox logo
infoblox 2.10.0 published on Friday, Apr 25, 2025 by infobloxopen

    # Range Resource

    The infoblox.Ipv4Range resource enables you to perform create, update and delete operations on Network Range in a NIOS appliance. The resource represents the ‘range’ WAPI object in NIOS.

    The following list describes the parameters you can define in the resource block of the Network Range object:

    • name: optional, specifies the display name. Example: network-range.
    • comment: optional, comment for the range, maximum 256 characters. Example: test range.
    • network: optional, The network to which this range belongs, in IPv4 Address/CIDR format. Example: 21.20.2.0/24.
    • network_view: optional, The name of the network view in which this range resides. Example: default.
    • start_addr: required, The IPv4 Address starting address of the range. Example: 21.20.2.20.
    • end_addr: required, The IPv4 Address end address of the range. Example: 21.20.2.40
    • disable: optional, Determines whether a range is disabled or not. When this is set to False, the range is enabled. Default value: false.
    • ext_attrs: optional, Extensible attributes associated with the object. Example: "{\"*Site\":\"Antarctica\"}"
    • failover_association: optional, The name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service. server_association_type must be set to FAILOVER or FAILOVER_MS if you want the failover association specified here to serve the range.
    • server_association_type: optional, The type of server that is going to serve the range. Valid values are FAILOVER,MEMBER,MS_FAILOVER,MS_SERVER,NONE. Default value: NONE.
    • ms_server: optional, specifies the IP address of the Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER if you want the server specified here to serve the range. Example: 10.23.23.2
    • options: optional, specifies an array of DHCP option structs that lists the DHCP options associated with the object. The description of the fields of options is as follows:
      • name: required, specifies the Name of the DHCP option. Example: domain-name-servers.
      • num: required, specifies the code of the DHCP option. Example: 6.
      • value: required, specifies the value of the option. Example: 11.22.33.44.
      • vendor_class: optional, specifies the name of the space this DHCP option is associated to. Default value is DHCP.
      • use_option: optional, only applies to special options that are displayed separately from other options and have a use flag. These options are router, router-templates, domain-name-servers, domain-name, broadcast-address, broadcast-address-offset, dhcp-lease-time, and dhcp6.name-servers.
    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    
    • use_options: optional, Use option is a flag that indicates whether the options field are used or not. The default value is false. Example: false
    • member: optional, specifies the member that will provide service for this range. server_association_type needs to be set to MEMBER if you want the server specified here to serve the range. member has the following three fields name, ipv4addr and ipv6addr. At least one of name, ipv4addr, or ipv6addr is required in the member block. The description of the fields of member is as follows:
      • name: optional, specifies the name of the Grid member. Example: infoblox.localdomain.
      • ipv4addr: optional, specifies the IPv4 Address of the Grid Member. Example: 11.10.1.0.
      • ipv6addr: optional, specifies the IPv6 address of the member. Example: 2403:8600:80cf:e10c:3a00::1192.

    Example for member:

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    
    • template : optional, If set on creation, the range will be created according to the values specified in the named template. Example: range_template

    !> When configuring the options parameter, you must define the default option dhcp-lease-time to avoid the undesirable changes that can occur when the next pulumi up command runs. The sub parameters name, num, and value are required. An example block is as follows:

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    

    Create Ipv4Range Resource

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

    Constructor syntax

    new Ipv4Range(name: string, args: Ipv4RangeArgs, opts?: CustomResourceOptions);
    @overload
    def Ipv4Range(resource_name: str,
                  args: Ipv4RangeArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ipv4Range(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  end_addr: Optional[str] = None,
                  start_addr: Optional[str] = None,
                  name: Optional[str] = None,
                  network: Optional[str] = None,
                  failover_association: Optional[str] = None,
                  ipv4_range_id: Optional[str] = None,
                  member: Optional[Mapping[str, str]] = None,
                  ms_server: Optional[str] = None,
                  comment: Optional[str] = None,
                  ext_attrs: Optional[str] = None,
                  network_view: Optional[str] = None,
                  options: Optional[Sequence[Ipv4RangeOptionArgs]] = None,
                  server_association_type: Optional[str] = None,
                  disable: Optional[bool] = None,
                  template: Optional[str] = None,
                  use_options: Optional[bool] = None)
    func NewIpv4Range(ctx *Context, name string, args Ipv4RangeArgs, opts ...ResourceOption) (*Ipv4Range, error)
    public Ipv4Range(string name, Ipv4RangeArgs args, CustomResourceOptions? opts = null)
    public Ipv4Range(String name, Ipv4RangeArgs args)
    public Ipv4Range(String name, Ipv4RangeArgs args, CustomResourceOptions options)
    
    type: infoblox:Ipv4Range
    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 Ipv4RangeArgs
    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 Ipv4RangeArgs
    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 Ipv4RangeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Ipv4RangeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Ipv4RangeArgs
    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 ipv4RangeResource = new Infoblox.Ipv4Range("ipv4RangeResource", new()
    {
        EndAddr = "string",
        StartAddr = "string",
        Name = "string",
        Network = "string",
        FailoverAssociation = "string",
        Ipv4RangeId = "string",
        Member = 
        {
            { "string", "string" },
        },
        MsServer = "string",
        Comment = "string",
        ExtAttrs = "string",
        NetworkView = "string",
        Options = new[]
        {
            new Infoblox.Inputs.Ipv4RangeOptionArgs
            {
                Name = "string",
                Num = 0,
                UseOption = false,
                Value = "string",
                VendorClass = "string",
            },
        },
        ServerAssociationType = "string",
        Disable = false,
        Template = "string",
        UseOptions = false,
    });
    
    example, err := infoblox.NewIpv4Range(ctx, "ipv4RangeResource", &infoblox.Ipv4RangeArgs{
    	EndAddr:             pulumi.String("string"),
    	StartAddr:           pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	Network:             pulumi.String("string"),
    	FailoverAssociation: pulumi.String("string"),
    	Ipv4RangeId:         pulumi.String("string"),
    	Member: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	MsServer:    pulumi.String("string"),
    	Comment:     pulumi.String("string"),
    	ExtAttrs:    pulumi.String("string"),
    	NetworkView: pulumi.String("string"),
    	Options: infoblox.Ipv4RangeOptionArray{
    		&infoblox.Ipv4RangeOptionArgs{
    			Name:        pulumi.String("string"),
    			Num:         pulumi.Float64(0),
    			UseOption:   pulumi.Bool(false),
    			Value:       pulumi.String("string"),
    			VendorClass: pulumi.String("string"),
    		},
    	},
    	ServerAssociationType: pulumi.String("string"),
    	Disable:               pulumi.Bool(false),
    	Template:              pulumi.String("string"),
    	UseOptions:            pulumi.Bool(false),
    })
    
    var ipv4RangeResource = new Ipv4Range("ipv4RangeResource", Ipv4RangeArgs.builder()
        .endAddr("string")
        .startAddr("string")
        .name("string")
        .network("string")
        .failoverAssociation("string")
        .ipv4RangeId("string")
        .member(Map.of("string", "string"))
        .msServer("string")
        .comment("string")
        .extAttrs("string")
        .networkView("string")
        .options(Ipv4RangeOptionArgs.builder()
            .name("string")
            .num(0.0)
            .useOption(false)
            .value("string")
            .vendorClass("string")
            .build())
        .serverAssociationType("string")
        .disable(false)
        .template("string")
        .useOptions(false)
        .build());
    
    ipv4_range_resource = infoblox.Ipv4Range("ipv4RangeResource",
        end_addr="string",
        start_addr="string",
        name="string",
        network="string",
        failover_association="string",
        ipv4_range_id="string",
        member={
            "string": "string",
        },
        ms_server="string",
        comment="string",
        ext_attrs="string",
        network_view="string",
        options=[{
            "name": "string",
            "num": 0,
            "use_option": False,
            "value": "string",
            "vendor_class": "string",
        }],
        server_association_type="string",
        disable=False,
        template="string",
        use_options=False)
    
    const ipv4RangeResource = new infoblox.Ipv4Range("ipv4RangeResource", {
        endAddr: "string",
        startAddr: "string",
        name: "string",
        network: "string",
        failoverAssociation: "string",
        ipv4RangeId: "string",
        member: {
            string: "string",
        },
        msServer: "string",
        comment: "string",
        extAttrs: "string",
        networkView: "string",
        options: [{
            name: "string",
            num: 0,
            useOption: false,
            value: "string",
            vendorClass: "string",
        }],
        serverAssociationType: "string",
        disable: false,
        template: "string",
        useOptions: false,
    });
    
    type: infoblox:Ipv4Range
    properties:
        comment: string
        disable: false
        endAddr: string
        extAttrs: string
        failoverAssociation: string
        ipv4RangeId: string
        member:
            string: string
        msServer: string
        name: string
        network: string
        networkView: string
        options:
            - name: string
              num: 0
              useOption: false
              value: string
              vendorClass: string
        serverAssociationType: string
        startAddr: string
        template: string
        useOptions: false
    

    Ipv4Range 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 Ipv4Range resource accepts the following input properties:

    EndAddr string
    The IPv4 Address end address of the range.
    StartAddr string
    The IPv4 Address starting address of the range.
    Comment string
    Comment for the range; maximum 256 characters.
    Disable bool
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    ExtAttrs string
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    FailoverAssociation string
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    Ipv4RangeId string
    Member Dictionary<string, string>
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    MsServer string
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    Name string
    Name of the range.
    Network string
    The network to which this range belongs, in IPv4 Address/CIDR format.
    NetworkView string
    The name of the network view in which this range resides.
    Options List<Ipv4RangeOption>
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    ServerAssociationType string
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    Template string
    If set on creation, the range will be created according to the values specified in the named template.
    UseOptions bool
    Use flag for options.
    EndAddr string
    The IPv4 Address end address of the range.
    StartAddr string
    The IPv4 Address starting address of the range.
    Comment string
    Comment for the range; maximum 256 characters.
    Disable bool
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    ExtAttrs string
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    FailoverAssociation string
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    Ipv4RangeId string
    Member map[string]string
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    MsServer string
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    Name string
    Name of the range.
    Network string
    The network to which this range belongs, in IPv4 Address/CIDR format.
    NetworkView string
    The name of the network view in which this range resides.
    Options []Ipv4RangeOptionArgs
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    ServerAssociationType string
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    Template string
    If set on creation, the range will be created according to the values specified in the named template.
    UseOptions bool
    Use flag for options.
    endAddr String
    The IPv4 Address end address of the range.
    startAddr String
    The IPv4 Address starting address of the range.
    comment String
    Comment for the range; maximum 256 characters.
    disable Boolean
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    extAttrs String
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    failoverAssociation String
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    ipv4RangeId String
    member Map<String,String>
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    msServer String
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    name String
    Name of the range.
    network String
    The network to which this range belongs, in IPv4 Address/CIDR format.
    networkView String
    The name of the network view in which this range resides.
    options List<Ipv4RangeOption>
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    serverAssociationType String
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    template String
    If set on creation, the range will be created according to the values specified in the named template.
    useOptions Boolean
    Use flag for options.
    endAddr string
    The IPv4 Address end address of the range.
    startAddr string
    The IPv4 Address starting address of the range.
    comment string
    Comment for the range; maximum 256 characters.
    disable boolean
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    extAttrs string
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    failoverAssociation string
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    ipv4RangeId string
    member {[key: string]: string}
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    msServer string
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    name string
    Name of the range.
    network string
    The network to which this range belongs, in IPv4 Address/CIDR format.
    networkView string
    The name of the network view in which this range resides.
    options Ipv4RangeOption[]
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    serverAssociationType string
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    template string
    If set on creation, the range will be created according to the values specified in the named template.
    useOptions boolean
    Use flag for options.
    end_addr str
    The IPv4 Address end address of the range.
    start_addr str
    The IPv4 Address starting address of the range.
    comment str
    Comment for the range; maximum 256 characters.
    disable bool
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    ext_attrs str
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    failover_association str
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    ipv4_range_id str
    member Mapping[str, str]
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    ms_server str
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    name str
    Name of the range.
    network str
    The network to which this range belongs, in IPv4 Address/CIDR format.
    network_view str
    The name of the network view in which this range resides.
    options Sequence[Ipv4RangeOptionArgs]
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    server_association_type str
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    template str
    If set on creation, the range will be created according to the values specified in the named template.
    use_options bool
    Use flag for options.
    endAddr String
    The IPv4 Address end address of the range.
    startAddr String
    The IPv4 Address starting address of the range.
    comment String
    Comment for the range; maximum 256 characters.
    disable Boolean
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    extAttrs String
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    failoverAssociation String
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    ipv4RangeId String
    member Map<String>
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    msServer String
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    name String
    Name of the range.
    network String
    The network to which this range belongs, in IPv4 Address/CIDR format.
    networkView String
    The name of the network view in which this range resides.
    options List<Property Map>
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    serverAssociationType String
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    template String
    If set on creation, the range will be created according to the values specified in the named template.
    useOptions Boolean
    Use flag for options.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    InternalId string
    Ref string
    NIOS object's reference, not to be set by a user.
    Id string
    The provider-assigned unique ID for this managed resource.
    InternalId string
    Ref string
    NIOS object's reference, not to be set by a user.
    id String
    The provider-assigned unique ID for this managed resource.
    internalId String
    ref String
    NIOS object's reference, not to be set by a user.
    id string
    The provider-assigned unique ID for this managed resource.
    internalId string
    ref string
    NIOS object's reference, not to be set by a user.
    id str
    The provider-assigned unique ID for this managed resource.
    internal_id str
    ref str
    NIOS object's reference, not to be set by a user.
    id String
    The provider-assigned unique ID for this managed resource.
    internalId String
    ref String
    NIOS object's reference, not to be set by a user.

    Look up Existing Ipv4Range Resource

    Get an existing Ipv4Range 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?: Ipv4RangeState, opts?: CustomResourceOptions): Ipv4Range
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            disable: Optional[bool] = None,
            end_addr: Optional[str] = None,
            ext_attrs: Optional[str] = None,
            failover_association: Optional[str] = None,
            internal_id: Optional[str] = None,
            ipv4_range_id: Optional[str] = None,
            member: Optional[Mapping[str, str]] = None,
            ms_server: Optional[str] = None,
            name: Optional[str] = None,
            network: Optional[str] = None,
            network_view: Optional[str] = None,
            options: Optional[Sequence[Ipv4RangeOptionArgs]] = None,
            ref: Optional[str] = None,
            server_association_type: Optional[str] = None,
            start_addr: Optional[str] = None,
            template: Optional[str] = None,
            use_options: Optional[bool] = None) -> Ipv4Range
    func GetIpv4Range(ctx *Context, name string, id IDInput, state *Ipv4RangeState, opts ...ResourceOption) (*Ipv4Range, error)
    public static Ipv4Range Get(string name, Input<string> id, Ipv4RangeState? state, CustomResourceOptions? opts = null)
    public static Ipv4Range get(String name, Output<String> id, Ipv4RangeState state, CustomResourceOptions options)
    resources:  _:    type: infoblox:Ipv4Range    get:      id: ${id}
    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:
    Comment string
    Comment for the range; maximum 256 characters.
    Disable bool
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    EndAddr string
    The IPv4 Address end address of the range.
    ExtAttrs string
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    FailoverAssociation string
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    InternalId string
    Ipv4RangeId string
    Member Dictionary<string, string>
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    MsServer string
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    Name string
    Name of the range.
    Network string
    The network to which this range belongs, in IPv4 Address/CIDR format.
    NetworkView string
    The name of the network view in which this range resides.
    Options List<Ipv4RangeOption>
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    Ref string
    NIOS object's reference, not to be set by a user.
    ServerAssociationType string
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    StartAddr string
    The IPv4 Address starting address of the range.
    Template string
    If set on creation, the range will be created according to the values specified in the named template.
    UseOptions bool
    Use flag for options.
    Comment string
    Comment for the range; maximum 256 characters.
    Disable bool
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    EndAddr string
    The IPv4 Address end address of the range.
    ExtAttrs string
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    FailoverAssociation string
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    InternalId string
    Ipv4RangeId string
    Member map[string]string
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    MsServer string
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    Name string
    Name of the range.
    Network string
    The network to which this range belongs, in IPv4 Address/CIDR format.
    NetworkView string
    The name of the network view in which this range resides.
    Options []Ipv4RangeOptionArgs
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    Ref string
    NIOS object's reference, not to be set by a user.
    ServerAssociationType string
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    StartAddr string
    The IPv4 Address starting address of the range.
    Template string
    If set on creation, the range will be created according to the values specified in the named template.
    UseOptions bool
    Use flag for options.
    comment String
    Comment for the range; maximum 256 characters.
    disable Boolean
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    endAddr String
    The IPv4 Address end address of the range.
    extAttrs String
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    failoverAssociation String
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    internalId String
    ipv4RangeId String
    member Map<String,String>
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    msServer String
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    name String
    Name of the range.
    network String
    The network to which this range belongs, in IPv4 Address/CIDR format.
    networkView String
    The name of the network view in which this range resides.
    options List<Ipv4RangeOption>
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    ref String
    NIOS object's reference, not to be set by a user.
    serverAssociationType String
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    startAddr String
    The IPv4 Address starting address of the range.
    template String
    If set on creation, the range will be created according to the values specified in the named template.
    useOptions Boolean
    Use flag for options.
    comment string
    Comment for the range; maximum 256 characters.
    disable boolean
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    endAddr string
    The IPv4 Address end address of the range.
    extAttrs string
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    failoverAssociation string
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    internalId string
    ipv4RangeId string
    member {[key: string]: string}
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    msServer string
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    name string
    Name of the range.
    network string
    The network to which this range belongs, in IPv4 Address/CIDR format.
    networkView string
    The name of the network view in which this range resides.
    options Ipv4RangeOption[]
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    ref string
    NIOS object's reference, not to be set by a user.
    serverAssociationType string
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    startAddr string
    The IPv4 Address starting address of the range.
    template string
    If set on creation, the range will be created according to the values specified in the named template.
    useOptions boolean
    Use flag for options.
    comment str
    Comment for the range; maximum 256 characters.
    disable bool
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    end_addr str
    The IPv4 Address end address of the range.
    ext_attrs str
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    failover_association str
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    internal_id str
    ipv4_range_id str
    member Mapping[str, str]
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    ms_server str
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    name str
    Name of the range.
    network str
    The network to which this range belongs, in IPv4 Address/CIDR format.
    network_view str
    The name of the network view in which this range resides.
    options Sequence[Ipv4RangeOptionArgs]
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    ref str
    NIOS object's reference, not to be set by a user.
    server_association_type str
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    start_addr str
    The IPv4 Address starting address of the range.
    template str
    If set on creation, the range will be created according to the values specified in the named template.
    use_options bool
    Use flag for options.
    comment String
    Comment for the range; maximum 256 characters.
    disable Boolean
    Determines whether a range is disabled or not. When this is set to False, the range is enabled.
    endAddr String
    The IPv4 Address end address of the range.
    extAttrs String
    Extensible attributes of the range to be added/updated, as a map in JSON format.
    failoverAssociation String
    TThe name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service.
    internalId String
    ipv4RangeId String
    member Map<String>
    The member that will provide service for this range. server_association_type needs to be set to ‘MEMBER’ if you wantthe server specified here to serve the range.
    msServer String
    The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER +if you want the server specified here to serve the range. For searching by this field you should use a HTTP method that contains abody (POST or PUT) with MS DHCP server structure and the request should have option _method=GET.
    name String
    Name of the range.
    network String
    The network to which this range belongs, in IPv4 Address/CIDR format.
    networkView String
    The name of the network view in which this range resides.
    options List<Property Map>
    An array of DHCP option structs that lists the DHCP options associated with the object. An option sets thevalue of a DHCP option that has been defined in an option space. DHCP options describe network configuration settingsand various services available on the network. These options occur as variable-length fields at the end of DHCP messages.When defining a DHCP option, at least a ‘name’ or a ‘num’ is required.
    ref String
    NIOS object's reference, not to be set by a user.
    serverAssociationType String
    The type of server that is going to serve the range. The valid values are: 'FAILOVER', 'MEMBER', 'NONE'.'MS_FAILOVER','MS_SERVER'
    startAddr String
    The IPv4 Address starting address of the range.
    template String
    If set on creation, the range will be created according to the values specified in the named template.
    useOptions Boolean
    Use flag for options.

    Supporting Types

    Ipv4RangeOption, Ipv4RangeOptionArgs

    Name string
    Name of the DHCP option.
    Num double
    The code of the DHCP option.
    UseOption bool
    Only applies to special options that are displayed separately from other options and have a use flag. These options are: routers, router-templates, domain-name-servers, domain-name, broadcast-address, broadcast-address-offset, dhcp-lease-time, dhcp6.name-servers
    Value string
    Value of the DHCP option.
    VendorClass string
    The name of the space this DHCP option is associated to.
    Name string
    Name of the DHCP option.
    Num float64
    The code of the DHCP option.
    UseOption bool
    Only applies to special options that are displayed separately from other options and have a use flag. These options are: routers, router-templates, domain-name-servers, domain-name, broadcast-address, broadcast-address-offset, dhcp-lease-time, dhcp6.name-servers
    Value string
    Value of the DHCP option.
    VendorClass string
    The name of the space this DHCP option is associated to.
    name String
    Name of the DHCP option.
    num Double
    The code of the DHCP option.
    useOption Boolean
    Only applies to special options that are displayed separately from other options and have a use flag. These options are: routers, router-templates, domain-name-servers, domain-name, broadcast-address, broadcast-address-offset, dhcp-lease-time, dhcp6.name-servers
    value String
    Value of the DHCP option.
    vendorClass String
    The name of the space this DHCP option is associated to.
    name string
    Name of the DHCP option.
    num number
    The code of the DHCP option.
    useOption boolean
    Only applies to special options that are displayed separately from other options and have a use flag. These options are: routers, router-templates, domain-name-servers, domain-name, broadcast-address, broadcast-address-offset, dhcp-lease-time, dhcp6.name-servers
    value string
    Value of the DHCP option.
    vendorClass string
    The name of the space this DHCP option is associated to.
    name str
    Name of the DHCP option.
    num float
    The code of the DHCP option.
    use_option bool
    Only applies to special options that are displayed separately from other options and have a use flag. These options are: routers, router-templates, domain-name-servers, domain-name, broadcast-address, broadcast-address-offset, dhcp-lease-time, dhcp6.name-servers
    value str
    Value of the DHCP option.
    vendor_class str
    The name of the space this DHCP option is associated to.
    name String
    Name of the DHCP option.
    num Number
    The code of the DHCP option.
    useOption Boolean
    Only applies to special options that are displayed separately from other options and have a use flag. These options are: routers, router-templates, domain-name-servers, domain-name, broadcast-address, broadcast-address-offset, dhcp-lease-time, dhcp6.name-servers
    value String
    Value of the DHCP option.
    vendorClass String
    The name of the space this DHCP option is associated to.

    Package Details

    Repository
    infoblox infobloxopen/terraform-provider-infoblox
    License
    Notes
    This Pulumi package is based on the infoblox Terraform Provider.
    infoblox logo
    infoblox 2.10.0 published on Friday, Apr 25, 2025 by infobloxopen