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

netaddr.getAddressListMac

Explore with Pulumi AI

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

    Retrieves all mac addresses in a range.

    Using getAddressListMac

    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 getAddressListMac(args: GetAddressListMacArgs, opts?: InvokeOptions): Promise<GetAddressListMacResult>
    function getAddressListMacOutput(args: GetAddressListMacOutputArgs, opts?: InvokeOptions): Output<GetAddressListMacResult>
    def get_address_list_mac(id: Optional[str] = None,
                             range_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAddressListMacResult
    def get_address_list_mac_output(id: Optional[pulumi.Input[str]] = None,
                             range_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetAddressListMacResult]
    func GetAddressListMac(ctx *Context, args *GetAddressListMacArgs, opts ...InvokeOption) (*GetAddressListMacResult, error)
    func GetAddressListMacOutput(ctx *Context, args *GetAddressListMacOutputArgs, opts ...InvokeOption) GetAddressListMacResultOutput

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

    public static class GetAddressListMac 
    {
        public static Task<GetAddressListMacResult> InvokeAsync(GetAddressListMacArgs args, InvokeOptions? opts = null)
        public static Output<GetAddressListMacResult> Invoke(GetAddressListMacInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAddressListMacResult> getAddressListMac(GetAddressListMacArgs args, InvokeOptions options)
    public static Output<GetAddressListMacResult> getAddressListMac(GetAddressListMacArgs args, InvokeOptions options)
    
    fn::invoke:
      function: netaddr:index/getAddressListMac:getAddressListMac
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getAddressListMac Result

    The following output properties are available:

    Addresses List<GetAddressListMacAddress>
    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 []GetAddressListMacAddress
    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<GetAddressListMacAddress>
    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 GetAddressListMacAddress[]
    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[GetAddressListMacAddress]
    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

    GetAddressListMacAddress

    Address string
    Name string
    Address string
    Name string
    address String
    name String
    address string
    name string
    address str
    name str
    address String
    name String

    Package Details

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