1. Packages
  2. Civo
  3. API Docs
  4. getReservedIp
Civo v2.4.1 published on Thursday, Aug 22, 2024 by Pulumi

civo.getReservedIp

Explore with Pulumi AI

civo logo
Civo v2.4.1 published on Thursday, Aug 22, 2024 by Pulumi

    Using getReservedIp

    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 getReservedIp(args: GetReservedIpArgs, opts?: InvokeOptions): Promise<GetReservedIpResult>
    function getReservedIpOutput(args: GetReservedIpOutputArgs, opts?: InvokeOptions): Output<GetReservedIpResult>
    def get_reserved_ip(id: Optional[str] = None,
                        name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetReservedIpResult
    def get_reserved_ip_output(id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetReservedIpResult]
    func LookupReservedIp(ctx *Context, args *LookupReservedIpArgs, opts ...InvokeOption) (*LookupReservedIpResult, error)
    func LookupReservedIpOutput(ctx *Context, args *LookupReservedIpOutputArgs, opts ...InvokeOption) LookupReservedIpResultOutput

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

    public static class GetReservedIp 
    {
        public static Task<GetReservedIpResult> InvokeAsync(GetReservedIpArgs args, InvokeOptions? opts = null)
        public static Output<GetReservedIpResult> Invoke(GetReservedIpInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetReservedIpResult> getReservedIp(GetReservedIpArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: civo:index/getReservedIp:getReservedIp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ID for the ip address
    Name string
    Name for the ip address
    Id string
    ID for the ip address
    Name string
    Name for the ip address
    id String
    ID for the ip address
    name String
    Name for the ip address
    id string
    ID for the ip address
    name string
    Name for the ip address
    id str
    ID for the ip address
    name str
    Name for the ip address
    id String
    ID for the ip address
    name String
    Name for the ip address

    getReservedIp Result

    The following output properties are available:

    InstanceId string
    The ID of the instance the IP is attached to
    InstanceName string
    The name of the instance the IP is attached to
    Ip string
    The IP Address requested
    Region string
    The region the ip address is in
    Id string
    ID for the ip address
    Name string
    Name for the ip address
    InstanceId string
    The ID of the instance the IP is attached to
    InstanceName string
    The name of the instance the IP is attached to
    Ip string
    The IP Address requested
    Region string
    The region the ip address is in
    Id string
    ID for the ip address
    Name string
    Name for the ip address
    instanceId String
    The ID of the instance the IP is attached to
    instanceName String
    The name of the instance the IP is attached to
    ip String
    The IP Address requested
    region String
    The region the ip address is in
    id String
    ID for the ip address
    name String
    Name for the ip address
    instanceId string
    The ID of the instance the IP is attached to
    instanceName string
    The name of the instance the IP is attached to
    ip string
    The IP Address requested
    region string
    The region the ip address is in
    id string
    ID for the ip address
    name string
    Name for the ip address
    instance_id str
    The ID of the instance the IP is attached to
    instance_name str
    The name of the instance the IP is attached to
    ip str
    The IP Address requested
    region str
    The region the ip address is in
    id str
    ID for the ip address
    name str
    Name for the ip address
    instanceId String
    The ID of the instance the IP is attached to
    instanceName String
    The name of the instance the IP is attached to
    ip String
    The IP Address requested
    region String
    The region the ip address is in
    id String
    ID for the ip address
    name String
    Name for the ip address

    Package Details

    Repository
    Civo pulumi/pulumi-civo
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the civo Terraform Provider.
    civo logo
    Civo v2.4.1 published on Thursday, Aug 22, 2024 by Pulumi