exoscale logo
Exoscale v0.46.0, Feb 27 23

exoscale.getElasticIP

Using getElasticIP

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 getElasticIP(args: GetElasticIPArgs, opts?: InvokeOptions): Promise<GetElasticIPResult>
function getElasticIPOutput(args: GetElasticIPOutputArgs, opts?: InvokeOptions): Output<GetElasticIPResult>
def get_elastic_ip(id: Optional[str] = None,
                   ip_address: Optional[str] = None,
                   labels: Optional[Mapping[str, str]] = None,
                   zone: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetElasticIPResult
def get_elastic_ip_output(id: Optional[pulumi.Input[str]] = None,
                   ip_address: Optional[pulumi.Input[str]] = None,
                   labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                   zone: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetElasticIPResult]
func LookupElasticIP(ctx *Context, args *LookupElasticIPArgs, opts ...InvokeOption) (*LookupElasticIPResult, error)
func LookupElasticIPOutput(ctx *Context, args *LookupElasticIPOutputArgs, opts ...InvokeOption) LookupElasticIPResultOutput

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

public static class GetElasticIP 
{
    public static Task<GetElasticIPResult> InvokeAsync(GetElasticIPArgs args, InvokeOptions? opts = null)
    public static Output<GetElasticIPResult> Invoke(GetElasticIPInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetElasticIPResult> getElasticIP(GetElasticIPArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: exoscale:index/getElasticIP:getElasticIP
  arguments:
    # arguments dictionary

The following arguments are supported:

Zone string

The Exocale [Zone][zone] name.

Id string

The Elastic IP (EIP) ID to match (conflicts with ip_address and labels).

IpAddress string

The EIP IPv4 or IPv6 address to match (conflicts with id and labels).

Labels Dictionary<string, string>

The EIP labels to match (conflicts with ip_address and id).

Zone string

The Exocale [Zone][zone] name.

Id string

The Elastic IP (EIP) ID to match (conflicts with ip_address and labels).

IpAddress string

The EIP IPv4 or IPv6 address to match (conflicts with id and labels).

Labels map[string]string

The EIP labels to match (conflicts with ip_address and id).

zone String

The Exocale [Zone][zone] name.

id String

The Elastic IP (EIP) ID to match (conflicts with ip_address and labels).

ipAddress String

The EIP IPv4 or IPv6 address to match (conflicts with id and labels).

labels Map<String,String>

The EIP labels to match (conflicts with ip_address and id).

zone string

The Exocale [Zone][zone] name.

id string

The Elastic IP (EIP) ID to match (conflicts with ip_address and labels).

ipAddress string

The EIP IPv4 or IPv6 address to match (conflicts with id and labels).

labels {[key: string]: string}

The EIP labels to match (conflicts with ip_address and id).

zone str

The Exocale [Zone][zone] name.

id str

The Elastic IP (EIP) ID to match (conflicts with ip_address and labels).

ip_address str

The EIP IPv4 or IPv6 address to match (conflicts with id and labels).

labels Mapping[str, str]

The EIP labels to match (conflicts with ip_address and id).

zone String

The Exocale [Zone][zone] name.

id String

The Elastic IP (EIP) ID to match (conflicts with ip_address and labels).

ipAddress String

The EIP IPv4 or IPv6 address to match (conflicts with id and labels).

labels Map<String>

The EIP labels to match (conflicts with ip_address and id).

getElasticIP Result

The following output properties are available:

AddressFamily string

The Elastic IP (EIP) address family (inet4 or inet6).

Cidr string

The Elastic IP (EIP) CIDR.

Description string

The Elastic IP (EIP) description.

Healthchecks List<Pulumiverse.Exoscale.Outputs.GetElasticIPHealthcheck>

(Block) The managed EIP healthcheck configuration. Structure is documented below.

ReverseDns string

Domain name for reverse DNS record.

Zone string
Id string
IpAddress string
Labels Dictionary<string, string>

A map of key/value labels.

AddressFamily string

The Elastic IP (EIP) address family (inet4 or inet6).

Cidr string

The Elastic IP (EIP) CIDR.

Description string

The Elastic IP (EIP) description.

Healthchecks []GetElasticIPHealthcheck

(Block) The managed EIP healthcheck configuration. Structure is documented below.

ReverseDns string

Domain name for reverse DNS record.

Zone string
Id string
IpAddress string
Labels map[string]string

A map of key/value labels.

addressFamily String

The Elastic IP (EIP) address family (inet4 or inet6).

cidr String

The Elastic IP (EIP) CIDR.

description String

The Elastic IP (EIP) description.

healthchecks List<GetElasticIPHealthcheck>

(Block) The managed EIP healthcheck configuration. Structure is documented below.

reverseDns String

Domain name for reverse DNS record.

zone String
id String
ipAddress String
labels Map<String,String>

A map of key/value labels.

addressFamily string

The Elastic IP (EIP) address family (inet4 or inet6).

cidr string

The Elastic IP (EIP) CIDR.

description string

The Elastic IP (EIP) description.

healthchecks GetElasticIPHealthcheck[]

(Block) The managed EIP healthcheck configuration. Structure is documented below.

reverseDns string

Domain name for reverse DNS record.

zone string
id string
ipAddress string
labels {[key: string]: string}

A map of key/value labels.

address_family str

The Elastic IP (EIP) address family (inet4 or inet6).

cidr str

The Elastic IP (EIP) CIDR.

description str

The Elastic IP (EIP) description.

healthchecks Sequence[GetElasticIPHealthcheck]

(Block) The managed EIP healthcheck configuration. Structure is documented below.

reverse_dns str

Domain name for reverse DNS record.

zone str
id str
ip_address str
labels Mapping[str, str]

A map of key/value labels.

addressFamily String

The Elastic IP (EIP) address family (inet4 or inet6).

cidr String

The Elastic IP (EIP) CIDR.

description String

The Elastic IP (EIP) description.

healthchecks List<Property Map>

(Block) The managed EIP healthcheck configuration. Structure is documented below.

reverseDns String

Domain name for reverse DNS record.

zone String
id String
ipAddress String
labels Map<String>

A map of key/value labels.

Supporting Types

GetElasticIPHealthcheck

Interval int

The healthcheck interval in seconds.

Mode string

The healthcheck mode.

Port int

The healthcheck target port.

StrikesFail int

The number of failed healthcheck attempts before considering the target unhealthy.

StrikesOk int

The number of successful healthcheck attempts before considering the target healthy.

Timeout int

The time in seconds before considering a healthcheck probing failed.

TlsSkipVerify bool

Disable TLS certificate verification for healthcheck in https mode.

TlsSni string

The healthcheck server name to present with SNI in https mode.

Uri string

The healthcheck URI.

Interval int

The healthcheck interval in seconds.

Mode string

The healthcheck mode.

Port int

The healthcheck target port.

StrikesFail int

The number of failed healthcheck attempts before considering the target unhealthy.

StrikesOk int

The number of successful healthcheck attempts before considering the target healthy.

Timeout int

The time in seconds before considering a healthcheck probing failed.

TlsSkipVerify bool

Disable TLS certificate verification for healthcheck in https mode.

TlsSni string

The healthcheck server name to present with SNI in https mode.

Uri string

The healthcheck URI.

interval Integer

The healthcheck interval in seconds.

mode String

The healthcheck mode.

port Integer

The healthcheck target port.

strikesFail Integer

The number of failed healthcheck attempts before considering the target unhealthy.

strikesOk Integer

The number of successful healthcheck attempts before considering the target healthy.

timeout Integer

The time in seconds before considering a healthcheck probing failed.

tlsSkipVerify Boolean

Disable TLS certificate verification for healthcheck in https mode.

tlsSni String

The healthcheck server name to present with SNI in https mode.

uri String

The healthcheck URI.

interval number

The healthcheck interval in seconds.

mode string

The healthcheck mode.

port number

The healthcheck target port.

strikesFail number

The number of failed healthcheck attempts before considering the target unhealthy.

strikesOk number

The number of successful healthcheck attempts before considering the target healthy.

timeout number

The time in seconds before considering a healthcheck probing failed.

tlsSkipVerify boolean

Disable TLS certificate verification for healthcheck in https mode.

tlsSni string

The healthcheck server name to present with SNI in https mode.

uri string

The healthcheck URI.

interval int

The healthcheck interval in seconds.

mode str

The healthcheck mode.

port int

The healthcheck target port.

strikes_fail int

The number of failed healthcheck attempts before considering the target unhealthy.

strikes_ok int

The number of successful healthcheck attempts before considering the target healthy.

timeout int

The time in seconds before considering a healthcheck probing failed.

tls_skip_verify bool

Disable TLS certificate verification for healthcheck in https mode.

tls_sni str

The healthcheck server name to present with SNI in https mode.

uri str

The healthcheck URI.

interval Number

The healthcheck interval in seconds.

mode String

The healthcheck mode.

port Number

The healthcheck target port.

strikesFail Number

The number of failed healthcheck attempts before considering the target unhealthy.

strikesOk Number

The number of successful healthcheck attempts before considering the target healthy.

timeout Number

The time in seconds before considering a healthcheck probing failed.

tlsSkipVerify Boolean

Disable TLS certificate verification for healthcheck in https mode.

tlsSni String

The healthcheck server name to present with SNI in https mode.

uri String

The healthcheck URI.

Package Details

Repository
exoscale pulumiverse/pulumi-exoscale
License
Apache-2.0
Notes

This Pulumi package is based on the exoscale Terraform Provider.