infoblox.Ipv4Network
Explore with Pulumi AI
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:
- Allocate
Prefix doubleLen - 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
- Ext
Attrs string - The Extensible attributes of the Network
- Filter
Params 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.
- Ipv4Network
Id string - Network
View 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'.
- Parent
Cidr string - The parent network container block in cidr format to allocate from.
- Reserve
Ip double - The number of IP's you want to reserve in IPv4 Network.
- Reserve
Ipv6 double - The number of IP's you want to reserve in IPv6 Network
- Allocate
Prefix float64Len - 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
- Ext
Attrs string - The Extensible attributes of the Network
- Filter
Params 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.
- Ipv4Network
Id string - Network
View 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'.
- Parent
Cidr string - The parent network container block in cidr format to allocate from.
- Reserve
Ip float64 - The number of IP's you want to reserve in IPv4 Network.
- Reserve
Ipv6 float64 - The number of IP's you want to reserve in IPv6 Network
- allocate
Prefix DoubleLen - 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
- ext
Attrs String - The Extensible attributes of the Network
- filter
Params 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.
- ipv4Network
Id String - network
View 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'.
- parent
Cidr String - The parent network container block in cidr format to allocate from.
- reserve
Ip Double - The number of IP's you want to reserve in IPv4 Network.
- reserve
Ipv6 Double - The number of IP's you want to reserve in IPv6 Network
- allocate
Prefix numberLen - 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
- ext
Attrs string - The Extensible attributes of the Network
- filter
Params 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.
- ipv4Network
Id string - network
View 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'.
- parent
Cidr string - The parent network container block in cidr format to allocate from.
- reserve
Ip number - The number of IP's you want to reserve in IPv4 Network.
- reserve
Ipv6 number - The number of IP's you want to reserve in IPv6 Network
- allocate_
prefix_ floatlen - 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_ strid - 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
- allocate
Prefix NumberLen - 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
- ext
Attrs String - The Extensible attributes of the Network
- filter
Params 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.
- ipv4Network
Id String - network
View 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'.
- parent
Cidr String - The parent network container block in cidr format to allocate from.
- reserve
Ip Number - The number of IP's you want to reserve in IPv4 Network.
- reserve
Ipv6 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.
- Internal
Id 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.
- Internal
Id 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.
- internal
Id 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.
- internal
Id 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.
- internal
Id 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.
- Allocate
Prefix doubleLen - 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
- Ext
Attrs string - The Extensible attributes of the Network
- Filter
Params 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.
- Internal
Id string - Ipv4Network
Id string - Network
View 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'.
- Parent
Cidr 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.
- Reserve
Ip double - The number of IP's you want to reserve in IPv4 Network.
- Reserve
Ipv6 double - The number of IP's you want to reserve in IPv6 Network
- Allocate
Prefix float64Len - 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
- Ext
Attrs string - The Extensible attributes of the Network
- Filter
Params 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.
- Internal
Id string - Ipv4Network
Id string - Network
View 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'.
- Parent
Cidr 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.
- Reserve
Ip float64 - The number of IP's you want to reserve in IPv4 Network.
- Reserve
Ipv6 float64 - The number of IP's you want to reserve in IPv6 Network
- allocate
Prefix DoubleLen - 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
- ext
Attrs String - The Extensible attributes of the Network
- filter
Params 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.
- internal
Id String - ipv4Network
Id String - network
View 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'.
- parent
Cidr 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.
- reserve
Ip Double - The number of IP's you want to reserve in IPv4 Network.
- reserve
Ipv6 Double - The number of IP's you want to reserve in IPv6 Network
- allocate
Prefix numberLen - 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
- ext
Attrs string - The Extensible attributes of the Network
- filter
Params 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.
- internal
Id string - ipv4Network
Id string - network
View 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'.
- parent
Cidr 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.
- reserve
Ip number - The number of IP's you want to reserve in IPv4 Network.
- reserve
Ipv6 number - The number of IP's you want to reserve in IPv6 Network
- allocate_
prefix_ floatlen - 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_ strid - 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
- allocate
Prefix NumberLen - 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
- ext
Attrs String - The Extensible attributes of the Network
- filter
Params 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.
- internal
Id String - ipv4Network
Id String - network
View 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'.
- parent
Cidr 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.
- reserve
Ip Number - The number of IP's you want to reserve in IPv4 Network.
- reserve
Ipv6 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.