exoscale.getElasticIP
Explore with Pulumi AI
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 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> The managed EIP healthcheck configuration.
- Reverse
Dns string Domain name for reverse DNS record.
- Zone string
The Exocale Zone name.
- Id string
The Elastic IP (EIP) ID to match (conflicts with
ip_address
andlabels
).- Ip
Address string The EIP IPv4 or IPv6 address to match (conflicts with
id
andlabels
).- Labels Dictionary<string, string>
The EIP labels to match (conflicts with
ip_address
andid
).
- 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 The managed EIP healthcheck configuration.
- Reverse
Dns string Domain name for reverse DNS record.
- Zone string
The Exocale Zone name.
- Id string
The Elastic IP (EIP) ID to match (conflicts with
ip_address
andlabels
).- Ip
Address string The EIP IPv4 or IPv6 address to match (conflicts with
id
andlabels
).- Labels map[string]string
The EIP labels to match (conflicts with
ip_address
andid
).
- 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> The managed EIP healthcheck configuration.
- reverse
Dns String Domain name for reverse DNS record.
- zone String
The Exocale Zone name.
- id String
The Elastic IP (EIP) ID to match (conflicts with
ip_address
andlabels
).- ip
Address String The EIP IPv4 or IPv6 address to match (conflicts with
id
andlabels
).- labels Map<String,String>
The EIP labels to match (conflicts with
ip_address
andid
).
- 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[] The managed EIP healthcheck configuration.
- reverse
Dns string Domain name for reverse DNS record.
- zone string
The Exocale Zone name.
- id string
The Elastic IP (EIP) ID to match (conflicts with
ip_address
andlabels
).- ip
Address string The EIP IPv4 or IPv6 address to match (conflicts with
id
andlabels
).- labels {[key: string]: string}
The EIP labels to match (conflicts with
ip_address
andid
).
- 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] The managed EIP healthcheck configuration.
- reverse_
dns str Domain name for reverse DNS record.
- zone str
The Exocale 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
).
- 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>
The managed EIP healthcheck configuration.
- reverse
Dns String Domain name for reverse DNS record.
- zone String
The Exocale Zone name.
- id String
The Elastic IP (EIP) ID to match (conflicts with
ip_address
andlabels
).- ip
Address String The EIP IPv4 or IPv6 address to match (conflicts with
id
andlabels
).- labels Map<String>
The EIP labels to match (conflicts with
ip_address
andid
).
Supporting Types
GetElasticIPHealthcheck
- Interval int
- Mode string
- Port int
- Strikes
Fail int - Strikes
Ok int - Timeout int
- Tls
Skip boolVerify - Tls
Sni string - Uri string
- Interval int
- Mode string
- Port int
- Strikes
Fail int - Strikes
Ok int - Timeout int
- Tls
Skip boolVerify - Tls
Sni string - Uri string
- interval Integer
- mode String
- port Integer
- strikes
Fail Integer - strikes
Ok Integer - timeout Integer
- tls
Skip BooleanVerify - tls
Sni String - uri String
- interval number
- mode string
- port number
- strikes
Fail number - strikes
Ok number - timeout number
- tls
Skip booleanVerify - tls
Sni string - uri string
- interval int
- mode str
- port int
- strikes_
fail int - strikes_
ok int - timeout int
- tls_
skip_ boolverify - tls_
sni str - uri str
- interval Number
- mode String
- port Number
- strikes
Fail Number - strikes
Ok Number - timeout Number
- tls
Skip BooleanVerify - tls
Sni String - uri String
Package Details
- Repository
- exoscale pulumiverse/pulumi-exoscale
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
exoscale
Terraform Provider.