1. Packages
  2. Netaddr Provider
  3. API Docs
  4. getAddressListIpv4
netaddr 0.5.1 published on Tuesday, Apr 15, 2025 by ferlab-ste-justine

netaddr.getAddressListIpv4

Explore with Pulumi AI

netaddr 0.5.1 published on Tuesday, Apr 15, 2025 by ferlab-ste-justine

Retrieves all ipv4 addresses in a range.

Using getAddressListIpv4

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAddressListIpv4(args: GetAddressListIpv4Args, opts?: InvokeOptions): Promise<GetAddressListIpv4Result>
function getAddressListIpv4Output(args: GetAddressListIpv4OutputArgs, opts?: InvokeOptions): Output<GetAddressListIpv4Result>
Copy
def get_address_list_ipv4(id: Optional[str] = None,
                          range_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetAddressListIpv4Result
def get_address_list_ipv4_output(id: Optional[pulumi.Input[str]] = None,
                          range_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetAddressListIpv4Result]
Copy
func GetAddressListIpv4(ctx *Context, args *GetAddressListIpv4Args, opts ...InvokeOption) (*GetAddressListIpv4Result, error)
func GetAddressListIpv4Output(ctx *Context, args *GetAddressListIpv4OutputArgs, opts ...InvokeOption) GetAddressListIpv4ResultOutput
Copy

> Note: This function is named GetAddressListIpv4 in the Go SDK.

public static class GetAddressListIpv4 
{
    public static Task<GetAddressListIpv4Result> InvokeAsync(GetAddressListIpv4Args args, InvokeOptions? opts = null)
    public static Output<GetAddressListIpv4Result> Invoke(GetAddressListIpv4InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAddressListIpv4Result> getAddressListIpv4(GetAddressListIpv4Args args, InvokeOptions options)
public static Output<GetAddressListIpv4Result> getAddressListIpv4(GetAddressListIpv4Args args, InvokeOptions options)
Copy
fn::invoke:
  function: netaddr:index/getAddressListIpv4:getAddressListIpv4
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

RangeId This property is required. string
Identifier of the address range to get the addresses from.
Id string
The ID of this resource.
RangeId This property is required. string
Identifier of the address range to get the addresses from.
Id string
The ID of this resource.
rangeId This property is required. String
Identifier of the address range to get the addresses from.
id String
The ID of this resource.
rangeId This property is required. string
Identifier of the address range to get the addresses from.
id string
The ID of this resource.
range_id This property is required. str
Identifier of the address range to get the addresses from.
id str
The ID of this resource.
rangeId This property is required. String
Identifier of the address range to get the addresses from.
id String
The ID of this resource.

getAddressListIpv4 Result

The following output properties are available:

Addresses List<GetAddressListIpv4Address>
List of addresses in the range.
Id string
The ID of this resource.
RangeId string
Identifier of the address range to get the addresses from.
Addresses []GetAddressListIpv4Address
List of addresses in the range.
Id string
The ID of this resource.
RangeId string
Identifier of the address range to get the addresses from.
addresses List<GetAddressListIpv4Address>
List of addresses in the range.
id String
The ID of this resource.
rangeId String
Identifier of the address range to get the addresses from.
addresses GetAddressListIpv4Address[]
List of addresses in the range.
id string
The ID of this resource.
rangeId string
Identifier of the address range to get the addresses from.
addresses Sequence[GetAddressListIpv4Address]
List of addresses in the range.
id str
The ID of this resource.
range_id str
Identifier of the address range to get the addresses from.
addresses List<Property Map>
List of addresses in the range.
id String
The ID of this resource.
rangeId String
Identifier of the address range to get the addresses from.

Supporting Types

GetAddressListIpv4Address

Address This property is required. string
Name This property is required. string
Address This property is required. string
Name This property is required. string
address This property is required. String
name This property is required. String
address This property is required. string
name This property is required. string
address This property is required. str
name This property is required. str
address This property is required. String
name This property is required. String

Package Details

Repository
netaddr ferlab-ste-justine/terraform-provider-netaddr
License
Notes
This Pulumi package is based on the netaddr Terraform Provider.
netaddr 0.5.1 published on Tuesday, Apr 15, 2025 by ferlab-ste-justine