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

infoblox.Ipv4Network

Explore with Pulumi AI

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

    Create Ipv4Network Resource

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

    Constructor syntax

    new Ipv4Network(name: string, args?: Ipv4NetworkArgs, opts?: CustomResourceOptions);
    @overload
    def Ipv4Network(resource_name: str,
                    args: Optional[Ipv4NetworkArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ipv4Network(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    allocate_prefix_len: Optional[float] = None,
                    cidr: Optional[str] = None,
                    comment: Optional[str] = None,
                    ext_attrs: Optional[str] = None,
                    filter_params: Optional[str] = None,
                    gateway: Optional[str] = None,
                    ipv4_network_id: Optional[str] = None,
                    network_view: Optional[str] = None,
                    object: Optional[str] = None,
                    parent_cidr: Optional[str] = None,
                    reserve_ip: Optional[float] = None,
                    reserve_ipv6: Optional[float] = None)
    func NewIpv4Network(ctx *Context, name string, args *Ipv4NetworkArgs, opts ...ResourceOption) (*Ipv4Network, error)
    public Ipv4Network(string name, Ipv4NetworkArgs? args = null, CustomResourceOptions? opts = null)
    public Ipv4Network(String name, Ipv4NetworkArgs args)
    public Ipv4Network(String name, Ipv4NetworkArgs args, CustomResourceOptions options)
    
    type: infoblox:Ipv4Network
    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 Ipv4NetworkArgs
    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 Ipv4NetworkArgs
    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 Ipv4NetworkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Ipv4NetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Ipv4NetworkArgs
    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 ipv4NetworkResource = new Infoblox.Ipv4Network("ipv4NetworkResource", new()
    {
        AllocatePrefixLen = 0,
        Cidr = "string",
        Comment = "string",
        ExtAttrs = "string",
        FilterParams = "string",
        Gateway = "string",
        Ipv4NetworkId = "string",
        NetworkView = "string",
        Object = "string",
        ParentCidr = "string",
        ReserveIp = 0,
        ReserveIpv6 = 0,
    });
    
    example, err := infoblox.NewIpv4Network(ctx, "ipv4NetworkResource", &infoblox.Ipv4NetworkArgs{
    	AllocatePrefixLen: pulumi.Float64(0),
    	Cidr:              pulumi.String("string"),
    	Comment:           pulumi.String("string"),
    	ExtAttrs:          pulumi.String("string"),
    	FilterParams:      pulumi.String("string"),
    	Gateway:           pulumi.String("string"),
    	Ipv4NetworkId:     pulumi.String("string"),
    	NetworkView:       pulumi.String("string"),
    	Object:            pulumi.String("string"),
    	ParentCidr:        pulumi.String("string"),
    	ReserveIp:         pulumi.Float64(0),
    	ReserveIpv6:       pulumi.Float64(0),
    })
    
    var ipv4NetworkResource = new Ipv4Network("ipv4NetworkResource", Ipv4NetworkArgs.builder()
        .allocatePrefixLen(0)
        .cidr("string")
        .comment("string")
        .extAttrs("string")
        .filterParams("string")
        .gateway("string")
        .ipv4NetworkId("string")
        .networkView("string")
        .object("string")
        .parentCidr("string")
        .reserveIp(0)
        .reserveIpv6(0)
        .build());
    
    ipv4_network_resource = infoblox.Ipv4Network("ipv4NetworkResource",
        allocate_prefix_len=0,
        cidr="string",
        comment="string",
        ext_attrs="string",
        filter_params="string",
        gateway="string",
        ipv4_network_id="string",
        network_view="string",
        object="string",
        parent_cidr="string",
        reserve_ip=0,
        reserve_ipv6=0)
    
    const ipv4NetworkResource = new infoblox.Ipv4Network("ipv4NetworkResource", {
        allocatePrefixLen: 0,
        cidr: "string",
        comment: "string",
        extAttrs: "string",
        filterParams: "string",
        gateway: "string",
        ipv4NetworkId: "string",
        networkView: "string",
        object: "string",
        parentCidr: "string",
        reserveIp: 0,
        reserveIpv6: 0,
    });
    
    type: infoblox:Ipv4Network
    properties:
        allocatePrefixLen: 0
        cidr: string
        comment: string
        extAttrs: string
        filterParams: string
        gateway: string
        ipv4NetworkId: string
        networkView: string
        object: string
        parentCidr: string
        reserveIp: 0
        reserveIpv6: 0
    

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

    AllocatePrefixLen double
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    Cidr string
    The network block in cidr format.
    Comment string
    A string describing the network
    ExtAttrs string
    The Extensible attributes of the Network
    FilterParams string
    The parent network/network-container block's extensible attributes.
    Gateway string
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    Ipv4NetworkId string
    NetworkView string
    Network view name available in NIOS Server.
    Object string
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    ParentCidr string
    The parent network container block in cidr format to allocate from.
    ReserveIp double
    The number of IP's you want to reserve in IPv4 Network.
    ReserveIpv6 double
    The number of IP's you want to reserve in IPv6 Network
    AllocatePrefixLen float64
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    Cidr string
    The network block in cidr format.
    Comment string
    A string describing the network
    ExtAttrs string
    The Extensible attributes of the Network
    FilterParams string
    The parent network/network-container block's extensible attributes.
    Gateway string
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    Ipv4NetworkId string
    NetworkView string
    Network view name available in NIOS Server.
    Object string
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    ParentCidr string
    The parent network container block in cidr format to allocate from.
    ReserveIp float64
    The number of IP's you want to reserve in IPv4 Network.
    ReserveIpv6 float64
    The number of IP's you want to reserve in IPv6 Network
    allocatePrefixLen Double
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    cidr String
    The network block in cidr format.
    comment String
    A string describing the network
    extAttrs String
    The Extensible attributes of the Network
    filterParams String
    The parent network/network-container block's extensible attributes.
    gateway String
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    ipv4NetworkId String
    networkView String
    Network view name available in NIOS Server.
    object String
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    parentCidr String
    The parent network container block in cidr format to allocate from.
    reserveIp Double
    The number of IP's you want to reserve in IPv4 Network.
    reserveIpv6 Double
    The number of IP's you want to reserve in IPv6 Network
    allocatePrefixLen number
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    cidr string
    The network block in cidr format.
    comment string
    A string describing the network
    extAttrs string
    The Extensible attributes of the Network
    filterParams string
    The parent network/network-container block's extensible attributes.
    gateway string
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    ipv4NetworkId string
    networkView string
    Network view name available in NIOS Server.
    object string
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    parentCidr string
    The parent network container block in cidr format to allocate from.
    reserveIp number
    The number of IP's you want to reserve in IPv4 Network.
    reserveIpv6 number
    The number of IP's you want to reserve in IPv6 Network
    allocate_prefix_len float
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    cidr str
    The network block in cidr format.
    comment str
    A string describing the network
    ext_attrs str
    The Extensible attributes of the Network
    filter_params str
    The parent network/network-container block's extensible attributes.
    gateway str
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    ipv4_network_id str
    network_view str
    Network view name available in NIOS Server.
    object str
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    parent_cidr str
    The parent network container block in cidr format to allocate from.
    reserve_ip float
    The number of IP's you want to reserve in IPv4 Network.
    reserve_ipv6 float
    The number of IP's you want to reserve in IPv6 Network
    allocatePrefixLen Number
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    cidr String
    The network block in cidr format.
    comment String
    A string describing the network
    extAttrs String
    The Extensible attributes of the Network
    filterParams String
    The parent network/network-container block's extensible attributes.
    gateway String
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    ipv4NetworkId String
    networkView String
    Network view name available in NIOS Server.
    object String
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    parentCidr String
    The parent network container block in cidr format to allocate from.
    reserveIp Number
    The number of IP's you want to reserve in IPv4 Network.
    reserveIpv6 Number
    The number of IP's you want to reserve in IPv6 Network

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Ipv4Network 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 Ipv4Network Resource

    Get an existing Ipv4Network 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?: Ipv4NetworkState, opts?: CustomResourceOptions): Ipv4Network
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allocate_prefix_len: Optional[float] = None,
            cidr: Optional[str] = None,
            comment: Optional[str] = None,
            ext_attrs: Optional[str] = None,
            filter_params: Optional[str] = None,
            gateway: Optional[str] = None,
            internal_id: Optional[str] = None,
            ipv4_network_id: Optional[str] = None,
            network_view: Optional[str] = None,
            object: Optional[str] = None,
            parent_cidr: Optional[str] = None,
            ref: Optional[str] = None,
            reserve_ip: Optional[float] = None,
            reserve_ipv6: Optional[float] = None) -> Ipv4Network
    func GetIpv4Network(ctx *Context, name string, id IDInput, state *Ipv4NetworkState, opts ...ResourceOption) (*Ipv4Network, error)
    public static Ipv4Network Get(string name, Input<string> id, Ipv4NetworkState? state, CustomResourceOptions? opts = null)
    public static Ipv4Network get(String name, Output<String> id, Ipv4NetworkState state, CustomResourceOptions options)
    resources:  _:    type: infoblox:Ipv4Network    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:
    AllocatePrefixLen double
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    Cidr string
    The network block in cidr format.
    Comment string
    A string describing the network
    ExtAttrs string
    The Extensible attributes of the Network
    FilterParams string
    The parent network/network-container block's extensible attributes.
    Gateway string
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    InternalId string
    Ipv4NetworkId string
    NetworkView string
    Network view name available in NIOS Server.
    Object string
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    ParentCidr string
    The parent network container block in cidr format to allocate from.
    Ref string
    NIOS object's reference, not to be set by a user.
    ReserveIp double
    The number of IP's you want to reserve in IPv4 Network.
    ReserveIpv6 double
    The number of IP's you want to reserve in IPv6 Network
    AllocatePrefixLen float64
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    Cidr string
    The network block in cidr format.
    Comment string
    A string describing the network
    ExtAttrs string
    The Extensible attributes of the Network
    FilterParams string
    The parent network/network-container block's extensible attributes.
    Gateway string
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    InternalId string
    Ipv4NetworkId string
    NetworkView string
    Network view name available in NIOS Server.
    Object string
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    ParentCidr string
    The parent network container block in cidr format to allocate from.
    Ref string
    NIOS object's reference, not to be set by a user.
    ReserveIp float64
    The number of IP's you want to reserve in IPv4 Network.
    ReserveIpv6 float64
    The number of IP's you want to reserve in IPv6 Network
    allocatePrefixLen Double
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    cidr String
    The network block in cidr format.
    comment String
    A string describing the network
    extAttrs String
    The Extensible attributes of the Network
    filterParams String
    The parent network/network-container block's extensible attributes.
    gateway String
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    internalId String
    ipv4NetworkId String
    networkView String
    Network view name available in NIOS Server.
    object String
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    parentCidr String
    The parent network container block in cidr format to allocate from.
    ref String
    NIOS object's reference, not to be set by a user.
    reserveIp Double
    The number of IP's you want to reserve in IPv4 Network.
    reserveIpv6 Double
    The number of IP's you want to reserve in IPv6 Network
    allocatePrefixLen number
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    cidr string
    The network block in cidr format.
    comment string
    A string describing the network
    extAttrs string
    The Extensible attributes of the Network
    filterParams string
    The parent network/network-container block's extensible attributes.
    gateway string
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    internalId string
    ipv4NetworkId string
    networkView string
    Network view name available in NIOS Server.
    object string
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    parentCidr string
    The parent network container block in cidr format to allocate from.
    ref string
    NIOS object's reference, not to be set by a user.
    reserveIp number
    The number of IP's you want to reserve in IPv4 Network.
    reserveIpv6 number
    The number of IP's you want to reserve in IPv6 Network
    allocate_prefix_len float
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    cidr str
    The network block in cidr format.
    comment str
    A string describing the network
    ext_attrs str
    The Extensible attributes of the Network
    filter_params str
    The parent network/network-container block's extensible attributes.
    gateway str
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    internal_id str
    ipv4_network_id str
    network_view str
    Network view name available in NIOS Server.
    object str
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    parent_cidr str
    The parent network container block in cidr format to allocate from.
    ref str
    NIOS object's reference, not to be set by a user.
    reserve_ip float
    The number of IP's you want to reserve in IPv4 Network.
    reserve_ipv6 float
    The number of IP's you want to reserve in IPv6 Network
    allocatePrefixLen Number
    Set the parameter's value > 0 to allocate next available network with corresponding prefix length from the network container defined by 'parent_cidr'
    cidr String
    The network block in cidr format.
    comment String
    A string describing the network
    extAttrs String
    The Extensible attributes of the Network
    filterParams String
    The parent network/network-container block's extensible attributes.
    gateway String
    Gateway's IP address of the network. By default, the first IP address is set as gateway address; if the value is 'none' then the network has no gateway.
    internalId String
    ipv4NetworkId String
    networkView String
    Network view name available in NIOS Server.
    object String
    The parent object from which the network will be allocated. Valid values are 'networkcontainer' and 'network'. Default value is 'networkcontainer'.
    parentCidr String
    The parent network container block in cidr format to allocate from.
    ref String
    NIOS object's reference, not to be set by a user.
    reserveIp Number
    The number of IP's you want to reserve in IPv4 Network.
    reserveIpv6 Number
    The number of IP's you want to reserve in IPv6 Network

    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