1. Packages
  2. Equinix Metal (Deprecated)
  3. API Docs
  4. getReservedIpBlock

This package is deprecated. We recommend using the new Equinix package.

Equinix Metal v3.2.1 published on Thursday, Dec 30, 2021 by DEPRECATED

equinix-metal.getReservedIpBlock

Explore with Pulumi AI

equinix-metal logo

This package is deprecated. We recommend using the new Equinix package.

Equinix Metal v3.2.1 published on Thursday, Dec 30, 2021 by DEPRECATED

    Use this data source to find IP address blocks in Equinix Metal. You can use IP address or a block ID for lookup.

    Using getReservedIpBlock

    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 getReservedIpBlock(args: GetReservedIpBlockArgs, opts?: InvokeOptions): Promise<GetReservedIpBlockResult>
    function getReservedIpBlockOutput(args: GetReservedIpBlockOutputArgs, opts?: InvokeOptions): Output<GetReservedIpBlockResult>
    def get_reserved_ip_block(id: Optional[str] = None,
                              ip_address: Optional[str] = None,
                              project_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetReservedIpBlockResult
    def get_reserved_ip_block_output(id: Optional[pulumi.Input[str]] = None,
                              ip_address: Optional[pulumi.Input[str]] = None,
                              project_id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetReservedIpBlockResult]
    func LookupReservedIpBlock(ctx *Context, args *LookupReservedIpBlockArgs, opts ...InvokeOption) (*LookupReservedIpBlockResult, error)
    func LookupReservedIpBlockOutput(ctx *Context, args *LookupReservedIpBlockOutputArgs, opts ...InvokeOption) LookupReservedIpBlockResultOutput

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

    public static class GetReservedIpBlock 
    {
        public static Task<GetReservedIpBlockResult> InvokeAsync(GetReservedIpBlockArgs args, InvokeOptions? opts = null)
        public static Output<GetReservedIpBlockResult> Invoke(GetReservedIpBlockInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetReservedIpBlockResult> getReservedIpBlock(GetReservedIpBlockArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: equinix-metal:index/getReservedIpBlock:getReservedIpBlock
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    UUID of the IP address block to look up
    IpAddress string
    Block containing this IP address will be returned
    ProjectId string
    UUID of the project where the searched block should be
    Id string
    UUID of the IP address block to look up
    IpAddress string
    Block containing this IP address will be returned
    ProjectId string
    UUID of the project where the searched block should be
    id String
    UUID of the IP address block to look up
    ipAddress String
    Block containing this IP address will be returned
    projectId String
    UUID of the project where the searched block should be
    id string
    UUID of the IP address block to look up
    ipAddress string
    Block containing this IP address will be returned
    projectId string
    UUID of the project where the searched block should be
    id str
    UUID of the IP address block to look up
    ip_address str
    Block containing this IP address will be returned
    project_id str
    UUID of the project where the searched block should be
    id String
    UUID of the IP address block to look up
    ipAddress String
    Block containing this IP address will be returned
    projectId String
    UUID of the project where the searched block should be

    getReservedIpBlock Result

    The following output properties are available:

    Address string
    AddressFamily int
    Cidr int
    CidrNotation string
    Facility string
    Gateway string
    Global bool
    Id string
    Manageable bool
    Management bool
    Metro string
    Netmask string
    Network string
    ProjectId string
    Public bool
    Quantity int
    Type string
    IpAddress string
    Address string
    AddressFamily int
    Cidr int
    CidrNotation string
    Facility string
    Gateway string
    Global bool
    Id string
    Manageable bool
    Management bool
    Metro string
    Netmask string
    Network string
    ProjectId string
    Public bool
    Quantity int
    Type string
    IpAddress string
    address String
    addressFamily Integer
    cidr Integer
    cidrNotation String
    facility String
    gateway String
    global Boolean
    id String
    manageable Boolean
    management Boolean
    metro String
    netmask String
    network String
    projectId String
    public_ Boolean
    quantity Integer
    type String
    ipAddress String
    address string
    addressFamily number
    cidr number
    cidrNotation string
    facility string
    gateway string
    global boolean
    id string
    manageable boolean
    management boolean
    metro string
    netmask string
    network string
    projectId string
    public boolean
    quantity number
    type string
    ipAddress string
    address String
    addressFamily Number
    cidr Number
    cidrNotation String
    facility String
    gateway String
    global Boolean
    id String
    manageable Boolean
    management Boolean
    metro String
    netmask String
    network String
    projectId String
    public Boolean
    quantity Number
    type String
    ipAddress String

    Package Details

    Repository
    Equinix Metal pulumi/pulumi-equinix-metal
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the metal Terraform Provider.
    equinix-metal logo

    This package is deprecated. We recommend using the new Equinix package.

    Equinix Metal v3.2.1 published on Thursday, Dec 30, 2021 by DEPRECATED