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 str
The Exocale [Zone][zone] name.
- id str
The Elastic IP (EIP) ID to match (conflicts with
ip_address
andlabels
).- ip_
address str The EIP IPv4 or IPv6 address to match (conflicts with
id
andlabels
).- labels Mapping[str, str]
The EIP labels to match (conflicts with
ip_address
andid
).
getElasticIP Result
The following output properties are available:
- Address
Family string The Elastic IP (EIP) address family (
inet4
orinet6
).- Cidr string
The Elastic IP (EIP) CIDR.
- Description string
The Elastic IP (EIP) description.
- Healthchecks
List<Pulumiverse.
Exoscale. Outputs. Get Elastic IPHealthcheck> (Block) The managed EIP healthcheck configuration. Structure is documented below.
- Reverse
Dns string Domain name for reverse DNS record.
- Zone string
- Id string
- Ip
Address string - Labels Dictionary<string, string>
A map of key/value labels.
- Address
Family string The Elastic IP (EIP) address family (
inet4
orinet6
).- Cidr string
The Elastic IP (EIP) CIDR.
- Description string
The Elastic IP (EIP) description.
- Healthchecks
[]Get
Elastic IPHealthcheck (Block) The managed EIP healthcheck configuration. Structure is documented below.
- Reverse
Dns string Domain name for reverse DNS record.
- Zone string
- Id string
- Ip
Address string - Labels map[string]string
A map of key/value labels.
- address
Family String The Elastic IP (EIP) address family (
inet4
orinet6
).- cidr String
The Elastic IP (EIP) CIDR.
- description String
The Elastic IP (EIP) description.
- healthchecks
List<Get
Elastic IPHealthcheck> (Block) The managed EIP healthcheck configuration. Structure is documented below.
- reverse
Dns String Domain name for reverse DNS record.
- zone String
- id String
- ip
Address String - labels Map<String,String>
A map of key/value labels.
- address
Family string The Elastic IP (EIP) address family (
inet4
orinet6
).- cidr string
The Elastic IP (EIP) CIDR.
- description string
The Elastic IP (EIP) description.
- healthchecks
Get
Elastic IPHealthcheck[] (Block) The managed EIP healthcheck configuration. Structure is documented below.
- reverse
Dns string Domain name for reverse DNS record.
- zone string
- id string
- ip
Address string - labels {[key: string]: string}
A map of key/value labels.
- address_
family str The Elastic IP (EIP) address family (
inet4
orinet6
).- cidr str
The Elastic IP (EIP) CIDR.
- description str
The Elastic IP (EIP) description.
- healthchecks
Sequence[Get
Elastic IPHealthcheck] (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.
- address
Family String The Elastic IP (EIP) address family (
inet4
orinet6
).- 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.
- reverse
Dns String Domain name for reverse DNS record.
- zone String
- id String
- ip
Address 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.
- 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 boolVerify Disable TLS certificate verification for healthcheck in
https
mode.- Tls
Sni 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.
- 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 boolVerify Disable TLS certificate verification for healthcheck in
https
mode.- Tls
Sni 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.
- strikes
Fail Integer The number of failed healthcheck attempts before considering the target unhealthy.
- strikes
Ok Integer The number of successful healthcheck attempts before considering the target healthy.
- timeout Integer
The time in seconds before considering a healthcheck probing failed.
- tls
Skip BooleanVerify Disable TLS certificate verification for healthcheck in
https
mode.- tls
Sni 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.
- strikes
Fail number The number of failed healthcheck attempts before considering the target unhealthy.
- strikes
Ok number The number of successful healthcheck attempts before considering the target healthy.
- timeout number
The time in seconds before considering a healthcheck probing failed.
- tls
Skip booleanVerify Disable TLS certificate verification for healthcheck in
https
mode.- tls
Sni 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_ boolverify 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.
- strikes
Fail Number The number of failed healthcheck attempts before considering the target unhealthy.
- strikes
Ok Number The number of successful healthcheck attempts before considering the target healthy.
- timeout Number
The time in seconds before considering a healthcheck probing failed.
- tls
Skip BooleanVerify Disable TLS certificate verification for healthcheck in
https
mode.- tls
Sni 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.