exoscale.ElasticIP
Explore with Pulumi AI
Import
An existing Elastic IP (EIP) may be imported by <ID>@<zone>
$ pulumi import exoscale:index/elasticIP:ElasticIP \
exoscale_elastic_ip.my_elastic_ip \
f81d4fae-7dec-11d0-a765-00a0c91e6bf6@ch-gva-2
Create ElasticIP Resource
new ElasticIP(name: string, args: ElasticIPArgs, opts?: CustomResourceOptions);
@overload
def ElasticIP(resource_name: str,
opts: Optional[ResourceOptions] = None,
address_family: Optional[str] = None,
description: Optional[str] = None,
healthcheck: Optional[ElasticIPHealthcheckArgs] = None,
labels: Optional[Mapping[str, str]] = None,
reverse_dns: Optional[str] = None,
zone: Optional[str] = None)
@overload
def ElasticIP(resource_name: str,
args: ElasticIPArgs,
opts: Optional[ResourceOptions] = None)
func NewElasticIP(ctx *Context, name string, args ElasticIPArgs, opts ...ResourceOption) (*ElasticIP, error)
public ElasticIP(string name, ElasticIPArgs args, CustomResourceOptions? opts = null)
public ElasticIP(String name, ElasticIPArgs args)
public ElasticIP(String name, ElasticIPArgs args, CustomResourceOptions options)
type: exoscale:ElasticIP
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ElasticIPArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ElasticIPArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ElasticIPArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ElasticIPArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ElasticIPArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ElasticIP Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ElasticIP resource accepts the following input properties:
- Zone string
❗ The Exoscale Zone name.
- Address
Family string ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- Description string
A free-form text describing the Elastic IP (EIP).
- Healthcheck
Pulumiverse.
Exoscale. Inputs. Elastic IPHealthcheck Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- Labels Dictionary<string, string>
A map of key/value labels.
- Reverse
Dns string Domain name for reverse DNS record.
- Zone string
❗ The Exoscale Zone name.
- Address
Family string ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- Description string
A free-form text describing the Elastic IP (EIP).
- Healthcheck
Elastic
IPHealthcheck Args Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- Labels map[string]string
A map of key/value labels.
- Reverse
Dns string Domain name for reverse DNS record.
- zone String
❗ The Exoscale Zone name.
- address
Family String ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- description String
A free-form text describing the Elastic IP (EIP).
- healthcheck
Elastic
IPHealthcheck Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- labels Map<String,String>
A map of key/value labels.
- reverse
Dns String Domain name for reverse DNS record.
- zone string
❗ The Exoscale Zone name.
- address
Family string ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- description string
A free-form text describing the Elastic IP (EIP).
- healthcheck
Elastic
IPHealthcheck Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- labels {[key: string]: string}
A map of key/value labels.
- reverse
Dns string Domain name for reverse DNS record.
- zone str
❗ The Exoscale Zone name.
- address_
family str ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- description str
A free-form text describing the Elastic IP (EIP).
- healthcheck
Elastic
IPHealthcheck Args Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- labels Mapping[str, str]
A map of key/value labels.
- reverse_
dns str Domain name for reverse DNS record.
- zone String
❗ The Exoscale Zone name.
- address
Family String ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- description String
A free-form text describing the Elastic IP (EIP).
- healthcheck Property Map
Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- labels Map<String>
A map of key/value labels.
- reverse
Dns String Domain name for reverse DNS record.
Outputs
All input properties are implicitly available as output properties. Additionally, the ElasticIP resource produces the following output properties:
- cidr str
The Elastic IP (EIP) CIDR.
- id str
The provider-assigned unique ID for this managed resource.
- ip_
address str The Elastic IP (EIP) IPv4 or IPv6 address.
Look up Existing ElasticIP Resource
Get an existing ElasticIP resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ElasticIPState, opts?: CustomResourceOptions): ElasticIP
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address_family: Optional[str] = None,
cidr: Optional[str] = None,
description: Optional[str] = None,
healthcheck: Optional[ElasticIPHealthcheckArgs] = None,
ip_address: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
reverse_dns: Optional[str] = None,
zone: Optional[str] = None) -> ElasticIP
func GetElasticIP(ctx *Context, name string, id IDInput, state *ElasticIPState, opts ...ResourceOption) (*ElasticIP, error)
public static ElasticIP Get(string name, Input<string> id, ElasticIPState? state, CustomResourceOptions? opts = null)
public static ElasticIP get(String name, Output<String> id, ElasticIPState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Address
Family string ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- Cidr string
The Elastic IP (EIP) CIDR.
- Description string
A free-form text describing the Elastic IP (EIP).
- Healthcheck
Pulumiverse.
Exoscale. Inputs. Elastic IPHealthcheck Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- Ip
Address string The Elastic IP (EIP) IPv4 or IPv6 address.
- Labels Dictionary<string, string>
A map of key/value labels.
- Reverse
Dns string Domain name for reverse DNS record.
- Zone string
❗ The Exoscale Zone name.
- Address
Family string ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- Cidr string
The Elastic IP (EIP) CIDR.
- Description string
A free-form text describing the Elastic IP (EIP).
- Healthcheck
Elastic
IPHealthcheck Args Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- Ip
Address string The Elastic IP (EIP) IPv4 or IPv6 address.
- Labels map[string]string
A map of key/value labels.
- Reverse
Dns string Domain name for reverse DNS record.
- Zone string
❗ The Exoscale Zone name.
- address
Family String ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- cidr String
The Elastic IP (EIP) CIDR.
- description String
A free-form text describing the Elastic IP (EIP).
- healthcheck
Elastic
IPHealthcheck Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- ip
Address String The Elastic IP (EIP) IPv4 or IPv6 address.
- labels Map<String,String>
A map of key/value labels.
- reverse
Dns String Domain name for reverse DNS record.
- zone String
❗ The Exoscale Zone name.
- address
Family string ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- cidr string
The Elastic IP (EIP) CIDR.
- description string
A free-form text describing the Elastic IP (EIP).
- healthcheck
Elastic
IPHealthcheck Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- ip
Address string The Elastic IP (EIP) IPv4 or IPv6 address.
- labels {[key: string]: string}
A map of key/value labels.
- reverse
Dns string Domain name for reverse DNS record.
- zone string
❗ The Exoscale Zone name.
- address_
family str ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- cidr str
The Elastic IP (EIP) CIDR.
- description str
A free-form text describing the Elastic IP (EIP).
- healthcheck
Elastic
IPHealthcheck Args Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- ip_
address str The Elastic IP (EIP) IPv4 or IPv6 address.
- labels Mapping[str, str]
A map of key/value labels.
- reverse_
dns str Domain name for reverse DNS record.
- zone str
❗ The Exoscale Zone name.
- address
Family String ❗ The Elastic IP (EIP) address family (
inet4
orinet6
; default:inet4
).- cidr String
The Elastic IP (EIP) CIDR.
- description String
A free-form text describing the Elastic IP (EIP).
- healthcheck Property Map
Healthcheck configuration for managed EIPs. It can not be added to an existing Unmanaged EIP.
- ip
Address String The Elastic IP (EIP) IPv4 or IPv6 address.
- labels Map<String>
A map of key/value labels.
- reverse
Dns String Domain name for reverse DNS record.
- zone String
❗ The Exoscale Zone name.
Supporting Types
ElasticIPHealthcheck, ElasticIPHealthcheckArgs
- Mode string
The healthcheck mode (
tcp
,http
orhttps
; may only be set at creation time).- Port int
The healthcheck target port (must be between
1
and65535
).- Interval int
The healthcheck interval (seconds; must be between
5
and300
; default:10
).- Strikes
Fail int The number of failed healthcheck attempts before considering the target unhealthy (must be between
1
and20
; default:2
).- Strikes
Ok int The number of successful healthcheck attempts before considering the target healthy (must be between
1
and20
; default:3
).- Timeout int
The time before considering a healthcheck probing failed (seconds; must be between
2
and60
; default:3
).- Tls
Skip boolVerify Disable TLS certificate verification for healthcheck in
https
mode (boolean; default:false
).- Tls
Sni string The healthcheck server name to present with SNI in
https
mode.- Uri string
The healthcheck target URI (required in
http(s)
modes).
- Mode string
The healthcheck mode (
tcp
,http
orhttps
; may only be set at creation time).- Port int
The healthcheck target port (must be between
1
and65535
).- Interval int
The healthcheck interval (seconds; must be between
5
and300
; default:10
).- Strikes
Fail int The number of failed healthcheck attempts before considering the target unhealthy (must be between
1
and20
; default:2
).- Strikes
Ok int The number of successful healthcheck attempts before considering the target healthy (must be between
1
and20
; default:3
).- Timeout int
The time before considering a healthcheck probing failed (seconds; must be between
2
and60
; default:3
).- Tls
Skip boolVerify Disable TLS certificate verification for healthcheck in
https
mode (boolean; default:false
).- Tls
Sni string The healthcheck server name to present with SNI in
https
mode.- Uri string
The healthcheck target URI (required in
http(s)
modes).
- mode String
The healthcheck mode (
tcp
,http
orhttps
; may only be set at creation time).- port Integer
The healthcheck target port (must be between
1
and65535
).- interval Integer
The healthcheck interval (seconds; must be between
5
and300
; default:10
).- strikes
Fail Integer The number of failed healthcheck attempts before considering the target unhealthy (must be between
1
and20
; default:2
).- strikes
Ok Integer The number of successful healthcheck attempts before considering the target healthy (must be between
1
and20
; default:3
).- timeout Integer
The time before considering a healthcheck probing failed (seconds; must be between
2
and60
; default:3
).- tls
Skip BooleanVerify Disable TLS certificate verification for healthcheck in
https
mode (boolean; default:false
).- tls
Sni String The healthcheck server name to present with SNI in
https
mode.- uri String
The healthcheck target URI (required in
http(s)
modes).
- mode string
The healthcheck mode (
tcp
,http
orhttps
; may only be set at creation time).- port number
The healthcheck target port (must be between
1
and65535
).- interval number
The healthcheck interval (seconds; must be between
5
and300
; default:10
).- strikes
Fail number The number of failed healthcheck attempts before considering the target unhealthy (must be between
1
and20
; default:2
).- strikes
Ok number The number of successful healthcheck attempts before considering the target healthy (must be between
1
and20
; default:3
).- timeout number
The time before considering a healthcheck probing failed (seconds; must be between
2
and60
; default:3
).- tls
Skip booleanVerify Disable TLS certificate verification for healthcheck in
https
mode (boolean; default:false
).- tls
Sni string The healthcheck server name to present with SNI in
https
mode.- uri string
The healthcheck target URI (required in
http(s)
modes).
- mode str
The healthcheck mode (
tcp
,http
orhttps
; may only be set at creation time).- port int
The healthcheck target port (must be between
1
and65535
).- interval int
The healthcheck interval (seconds; must be between
5
and300
; default:10
).- strikes_
fail int The number of failed healthcheck attempts before considering the target unhealthy (must be between
1
and20
; default:2
).- strikes_
ok int The number of successful healthcheck attempts before considering the target healthy (must be between
1
and20
; default:3
).- timeout int
The time before considering a healthcheck probing failed (seconds; must be between
2
and60
; default:3
).- tls_
skip_ boolverify Disable TLS certificate verification for healthcheck in
https
mode (boolean; default:false
).- tls_
sni str The healthcheck server name to present with SNI in
https
mode.- uri str
The healthcheck target URI (required in
http(s)
modes).
- mode String
The healthcheck mode (
tcp
,http
orhttps
; may only be set at creation time).- port Number
The healthcheck target port (must be between
1
and65535
).- interval Number
The healthcheck interval (seconds; must be between
5
and300
; default:10
).- strikes
Fail Number The number of failed healthcheck attempts before considering the target unhealthy (must be between
1
and20
; default:2
).- strikes
Ok Number The number of successful healthcheck attempts before considering the target healthy (must be between
1
and20
; default:3
).- timeout Number
The time before considering a healthcheck probing failed (seconds; must be between
2
and60
; default:3
).- tls
Skip BooleanVerify Disable TLS certificate verification for healthcheck in
https
mode (boolean; default:false
).- tls
Sni String The healthcheck server name to present with SNI in
https
mode.- uri String
The healthcheck target URI (required in
http(s)
modes).
Package Details
- Repository
- exoscale pulumiverse/pulumi-exoscale
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
exoscale
Terraform Provider.