exoscale.Compute
Explore with Pulumi AI
!> WARNING: This resource is DEPRECATED and will be removed in the next major version. Please use exoscale.ComputeInstance instead (or refer to the ad-hoc migration guide).
Manage Exoscale Compute Instances.
Create Compute Resource
new Compute(name: string, args: ComputeArgs, opts?: CustomResourceOptions);
@overload
def Compute(resource_name: str,
opts: Optional[ResourceOptions] = None,
affinity_group_ids: Optional[Sequence[str]] = None,
affinity_groups: Optional[Sequence[str]] = None,
disk_size: Optional[int] = None,
display_name: Optional[str] = None,
hostname: Optional[str] = None,
ip4: Optional[bool] = None,
ip6: Optional[bool] = None,
key_pair: Optional[str] = None,
keyboard: Optional[str] = None,
reverse_dns: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
security_groups: Optional[Sequence[str]] = None,
size: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template: Optional[str] = None,
template_id: Optional[str] = None,
user_data: Optional[str] = None,
zone: Optional[str] = None)
@overload
def Compute(resource_name: str,
args: ComputeArgs,
opts: Optional[ResourceOptions] = None)
func NewCompute(ctx *Context, name string, args ComputeArgs, opts ...ResourceOption) (*Compute, error)
public Compute(string name, ComputeArgs args, CustomResourceOptions? opts = null)
public Compute(String name, ComputeArgs args)
public Compute(String name, ComputeArgs args, CustomResourceOptions options)
type: exoscale:Compute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ComputeArgs
- 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 ComputeArgs
- 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 ComputeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ComputeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ComputeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Compute 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 Compute resource accepts the following input properties:
- Disk
Size int The instance disk size (GiB; at least
10
).- Zone string
❗ The Exoscale Zone name.
- Affinity
Group List<string>Ids ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- Affinity
Groups List<string> ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- Display
Name string The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- Hostname string
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- Ip4 bool
Request an IPv4 address on the default NIC
- Ip6 bool
Request an IPv6 address on the default NIC
- Key
Pair string ❗ The SSH keypair (name) to authorize in the instance.
- Keyboard string
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- Reverse
Dns string The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- Security
Group List<string>Ids A list of security groups (IDs; conflicts with
security_groups
).- Security
Groups List<string> A list of security groups (names; conflicts with
security_group_ids
).- Size string
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- State string
The instance state (
Running
orStopped
; default:Running
)- Dictionary<string, string>
Map of tags (key/value). To remove all tags, set
tags = {}
.- Template string
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- Template
Id string ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- User
Data string cloud-init configuration.
- Disk
Size int The instance disk size (GiB; at least
10
).- Zone string
❗ The Exoscale Zone name.
- Affinity
Group []stringIds ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- Affinity
Groups []string ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- Display
Name string The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- Hostname string
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- Ip4 bool
Request an IPv4 address on the default NIC
- Ip6 bool
Request an IPv6 address on the default NIC
- Key
Pair string ❗ The SSH keypair (name) to authorize in the instance.
- Keyboard string
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- Reverse
Dns string The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- Security
Group []stringIds A list of security groups (IDs; conflicts with
security_groups
).- Security
Groups []string A list of security groups (names; conflicts with
security_group_ids
).- Size string
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- State string
The instance state (
Running
orStopped
; default:Running
)- map[string]string
Map of tags (key/value). To remove all tags, set
tags = {}
.- Template string
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- Template
Id string ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- User
Data string cloud-init configuration.
- disk
Size Integer The instance disk size (GiB; at least
10
).- zone String
❗ The Exoscale Zone name.
- affinity
Group List<String>Ids ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- affinity
Groups List<String> ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- display
Name String The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- hostname String
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- ip4 Boolean
Request an IPv4 address on the default NIC
- ip6 Boolean
Request an IPv6 address on the default NIC
- key
Pair String ❗ The SSH keypair (name) to authorize in the instance.
- keyboard String
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- reverse
Dns String The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- security
Group List<String>Ids A list of security groups (IDs; conflicts with
security_groups
).- security
Groups List<String> A list of security groups (names; conflicts with
security_group_ids
).- size String
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- state String
The instance state (
Running
orStopped
; default:Running
)- Map<String,String>
Map of tags (key/value). To remove all tags, set
tags = {}
.- template String
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- template
Id String ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- user
Data String cloud-init configuration.
- disk
Size number The instance disk size (GiB; at least
10
).- zone string
❗ The Exoscale Zone name.
- affinity
Group string[]Ids ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- affinity
Groups string[] ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- display
Name string The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- hostname string
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- ip4 boolean
Request an IPv4 address on the default NIC
- ip6 boolean
Request an IPv6 address on the default NIC
- key
Pair string ❗ The SSH keypair (name) to authorize in the instance.
- keyboard string
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- reverse
Dns string The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- security
Group string[]Ids A list of security groups (IDs; conflicts with
security_groups
).- security
Groups string[] A list of security groups (names; conflicts with
security_group_ids
).- size string
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- state string
The instance state (
Running
orStopped
; default:Running
)- {[key: string]: string}
Map of tags (key/value). To remove all tags, set
tags = {}
.- template string
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- template
Id string ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- user
Data string cloud-init configuration.
- disk_
size int The instance disk size (GiB; at least
10
).- zone str
❗ The Exoscale Zone name.
- affinity_
group_ Sequence[str]ids ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- affinity_
groups Sequence[str] ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- display_
name str The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- hostname str
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- ip4 bool
Request an IPv4 address on the default NIC
- ip6 bool
Request an IPv6 address on the default NIC
- key_
pair str ❗ The SSH keypair (name) to authorize in the instance.
- keyboard str
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- reverse_
dns str The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- security_
group_ Sequence[str]ids A list of security groups (IDs; conflicts with
security_groups
).- security_
groups Sequence[str] A list of security groups (names; conflicts with
security_group_ids
).- size str
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- state str
The instance state (
Running
orStopped
; default:Running
)- Mapping[str, str]
Map of tags (key/value). To remove all tags, set
tags = {}
.- template str
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- template_
id str ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- user_
data str cloud-init configuration.
- disk
Size Number The instance disk size (GiB; at least
10
).- zone String
❗ The Exoscale Zone name.
- affinity
Group List<String>Ids ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- affinity
Groups List<String> ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- display
Name String The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- hostname String
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- ip4 Boolean
Request an IPv4 address on the default NIC
- ip6 Boolean
Request an IPv6 address on the default NIC
- key
Pair String ❗ The SSH keypair (name) to authorize in the instance.
- keyboard String
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- reverse
Dns String The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- security
Group List<String>Ids A list of security groups (IDs; conflicts with
security_groups
).- security
Groups List<String> A list of security groups (names; conflicts with
security_group_ids
).- size String
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- state String
The instance state (
Running
orStopped
; default:Running
)- Map<String>
Map of tags (key/value). To remove all tags, set
tags = {}
.- template String
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- template
Id String ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- user
Data String cloud-init configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the Compute resource produces the following output properties:
- Gateway string
- Id string
The provider-assigned unique ID for this managed resource.
- Ip6Address string
The instance (main network interface) IPv6 address (if enabled).
- Ip6Cidr string
- Ip
Address string The instance (main network interface) IPv4 address.
- Name string
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- Password string
The instance initial password and/or encrypted password.
- User
Data boolBase64 was the cloud-init configuration base64 encoded
- Username string
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute
- Gateway string
- Id string
The provider-assigned unique ID for this managed resource.
- Ip6Address string
The instance (main network interface) IPv6 address (if enabled).
- Ip6Cidr string
- Ip
Address string The instance (main network interface) IPv4 address.
- Name string
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- Password string
The instance initial password and/or encrypted password.
- User
Data boolBase64 was the cloud-init configuration base64 encoded
- Username string
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute
- gateway String
- id String
The provider-assigned unique ID for this managed resource.
- ip6Address String
The instance (main network interface) IPv6 address (if enabled).
- ip6Cidr String
- ip
Address String The instance (main network interface) IPv4 address.
- name String
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- password String
The instance initial password and/or encrypted password.
- user
Data BooleanBase64 was the cloud-init configuration base64 encoded
- username String
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute
- gateway string
- id string
The provider-assigned unique ID for this managed resource.
- ip6Address string
The instance (main network interface) IPv6 address (if enabled).
- ip6Cidr string
- ip
Address string The instance (main network interface) IPv4 address.
- name string
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- password string
The instance initial password and/or encrypted password.
- user
Data booleanBase64 was the cloud-init configuration base64 encoded
- username string
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute
- gateway str
- id str
The provider-assigned unique ID for this managed resource.
- ip6_
address str The instance (main network interface) IPv6 address (if enabled).
- ip6_
cidr str - ip_
address str The instance (main network interface) IPv4 address.
- name str
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- password str
The instance initial password and/or encrypted password.
- user_
data_ boolbase64 was the cloud-init configuration base64 encoded
- username str
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute
- gateway String
- id String
The provider-assigned unique ID for this managed resource.
- ip6Address String
The instance (main network interface) IPv6 address (if enabled).
- ip6Cidr String
- ip
Address String The instance (main network interface) IPv4 address.
- name String
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- password String
The instance initial password and/or encrypted password.
- user
Data BooleanBase64 was the cloud-init configuration base64 encoded
- username String
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute
Look up Existing Compute Resource
Get an existing Compute 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?: ComputeState, opts?: CustomResourceOptions): Compute
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
affinity_group_ids: Optional[Sequence[str]] = None,
affinity_groups: Optional[Sequence[str]] = None,
disk_size: Optional[int] = None,
display_name: Optional[str] = None,
gateway: Optional[str] = None,
hostname: Optional[str] = None,
ip4: Optional[bool] = None,
ip6: Optional[bool] = None,
ip6_address: Optional[str] = None,
ip6_cidr: Optional[str] = None,
ip_address: Optional[str] = None,
key_pair: Optional[str] = None,
keyboard: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
reverse_dns: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
security_groups: Optional[Sequence[str]] = None,
size: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template: Optional[str] = None,
template_id: Optional[str] = None,
user_data: Optional[str] = None,
user_data_base64: Optional[bool] = None,
username: Optional[str] = None,
zone: Optional[str] = None) -> Compute
func GetCompute(ctx *Context, name string, id IDInput, state *ComputeState, opts ...ResourceOption) (*Compute, error)
public static Compute Get(string name, Input<string> id, ComputeState? state, CustomResourceOptions? opts = null)
public static Compute get(String name, Output<String> id, ComputeState 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.
- Affinity
Group List<string>Ids ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- Affinity
Groups List<string> ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- Disk
Size int The instance disk size (GiB; at least
10
).- Display
Name string The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- Gateway string
- Hostname string
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- Ip4 bool
Request an IPv4 address on the default NIC
- Ip6 bool
Request an IPv6 address on the default NIC
- Ip6Address string
The instance (main network interface) IPv6 address (if enabled).
- Ip6Cidr string
- Ip
Address string The instance (main network interface) IPv4 address.
- Key
Pair string ❗ The SSH keypair (name) to authorize in the instance.
- Keyboard string
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- Name string
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- Password string
The instance initial password and/or encrypted password.
- Reverse
Dns string The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- Security
Group List<string>Ids A list of security groups (IDs; conflicts with
security_groups
).- Security
Groups List<string> A list of security groups (names; conflicts with
security_group_ids
).- Size string
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- State string
The instance state (
Running
orStopped
; default:Running
)- Dictionary<string, string>
Map of tags (key/value). To remove all tags, set
tags = {}
.- Template string
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- Template
Id string ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- User
Data string cloud-init configuration.
- User
Data boolBase64 was the cloud-init configuration base64 encoded
- Username string
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute- Zone string
❗ The Exoscale Zone name.
- Affinity
Group []stringIds ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- Affinity
Groups []string ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- Disk
Size int The instance disk size (GiB; at least
10
).- Display
Name string The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- Gateway string
- Hostname string
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- Ip4 bool
Request an IPv4 address on the default NIC
- Ip6 bool
Request an IPv6 address on the default NIC
- Ip6Address string
The instance (main network interface) IPv6 address (if enabled).
- Ip6Cidr string
- Ip
Address string The instance (main network interface) IPv4 address.
- Key
Pair string ❗ The SSH keypair (name) to authorize in the instance.
- Keyboard string
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- Name string
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- Password string
The instance initial password and/or encrypted password.
- Reverse
Dns string The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- Security
Group []stringIds A list of security groups (IDs; conflicts with
security_groups
).- Security
Groups []string A list of security groups (names; conflicts with
security_group_ids
).- Size string
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- State string
The instance state (
Running
orStopped
; default:Running
)- map[string]string
Map of tags (key/value). To remove all tags, set
tags = {}
.- Template string
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- Template
Id string ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- User
Data string cloud-init configuration.
- User
Data boolBase64 was the cloud-init configuration base64 encoded
- Username string
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute- Zone string
❗ The Exoscale Zone name.
- affinity
Group List<String>Ids ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- affinity
Groups List<String> ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- disk
Size Integer The instance disk size (GiB; at least
10
).- display
Name String The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- gateway String
- hostname String
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- ip4 Boolean
Request an IPv4 address on the default NIC
- ip6 Boolean
Request an IPv6 address on the default NIC
- ip6Address String
The instance (main network interface) IPv6 address (if enabled).
- ip6Cidr String
- ip
Address String The instance (main network interface) IPv4 address.
- key
Pair String ❗ The SSH keypair (name) to authorize in the instance.
- keyboard String
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- name String
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- password String
The instance initial password and/or encrypted password.
- reverse
Dns String The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- security
Group List<String>Ids A list of security groups (IDs; conflicts with
security_groups
).- security
Groups List<String> A list of security groups (names; conflicts with
security_group_ids
).- size String
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- state String
The instance state (
Running
orStopped
; default:Running
)- Map<String,String>
Map of tags (key/value). To remove all tags, set
tags = {}
.- template String
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- template
Id String ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- user
Data String cloud-init configuration.
- user
Data BooleanBase64 was the cloud-init configuration base64 encoded
- username String
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute- zone String
❗ The Exoscale Zone name.
- affinity
Group string[]Ids ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- affinity
Groups string[] ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- disk
Size number The instance disk size (GiB; at least
10
).- display
Name string The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- gateway string
- hostname string
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- ip4 boolean
Request an IPv4 address on the default NIC
- ip6 boolean
Request an IPv6 address on the default NIC
- ip6Address string
The instance (main network interface) IPv6 address (if enabled).
- ip6Cidr string
- ip
Address string The instance (main network interface) IPv4 address.
- key
Pair string ❗ The SSH keypair (name) to authorize in the instance.
- keyboard string
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- name string
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- password string
The instance initial password and/or encrypted password.
- reverse
Dns string The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- security
Group string[]Ids A list of security groups (IDs; conflicts with
security_groups
).- security
Groups string[] A list of security groups (names; conflicts with
security_group_ids
).- size string
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- state string
The instance state (
Running
orStopped
; default:Running
)- {[key: string]: string}
Map of tags (key/value). To remove all tags, set
tags = {}
.- template string
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- template
Id string ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- user
Data string cloud-init configuration.
- user
Data booleanBase64 was the cloud-init configuration base64 encoded
- username string
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute- zone string
❗ The Exoscale Zone name.
- affinity_
group_ Sequence[str]ids ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- affinity_
groups Sequence[str] ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- disk_
size int The instance disk size (GiB; at least
10
).- display_
name str The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- gateway str
- hostname str
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- ip4 bool
Request an IPv4 address on the default NIC
- ip6 bool
Request an IPv6 address on the default NIC
- ip6_
address str The instance (main network interface) IPv6 address (if enabled).
- ip6_
cidr str - ip_
address str The instance (main network interface) IPv4 address.
- key_
pair str ❗ The SSH keypair (name) to authorize in the instance.
- keyboard str
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- name str
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- password str
The instance initial password and/or encrypted password.
- reverse_
dns str The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- security_
group_ Sequence[str]ids A list of security groups (IDs; conflicts with
security_groups
).- security_
groups Sequence[str] A list of security groups (names; conflicts with
security_group_ids
).- size str
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- state str
The instance state (
Running
orStopped
; default:Running
)- Mapping[str, str]
Map of tags (key/value). To remove all tags, set
tags = {}
.- template str
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- template_
id str ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- user_
data str cloud-init configuration.
- user_
data_ boolbase64 was the cloud-init configuration base64 encoded
- username str
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute- zone str
❗ The Exoscale Zone name.
- affinity
Group List<String>Ids ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with
affinity_groups
).- affinity
Groups List<String> ❗ A list of anti-affinity groups (names; at creation time only; conflicts with
affinity_group_ids
).- disk
Size Number The instance disk size (GiB; at least
10
).- display
Name String The displayed instance name. Note: if the
hostname
attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen (" - ") characters; it can be changed to any character during a later update. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically.- gateway String
- hostname String
The instance hostname, must contain only alphanumeric and hyphen (
-
) characters. If neitherdisplay_name
orhostname
attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.- ip4 Boolean
Request an IPv4 address on the default NIC
- ip6 Boolean
Request an IPv6 address on the default NIC
- ip6Address String
The instance (main network interface) IPv6 address (if enabled).
- ip6Cidr String
- ip
Address String The instance (main network interface) IPv4 address.
- key
Pair String ❗ The SSH keypair (name) to authorize in the instance.
- keyboard String
The keyboard layout configuration (
de
,de-ch
,es
,fi
,fr
,fr-be
,fr-ch
,is
,it
,jp
,nl-be
,no
,pt
,uk
,us
; at creation time only).- name String
The instance hostname. Please use the
hostname
argument instead.use
hostname
attribute instead- password String
The instance initial password and/or encrypted password.
- reverse
Dns String The instance reverse DNS record (must end with a
.
; e.g:my-instance.example.net.
).- security
Group List<String>Ids A list of security groups (IDs; conflicts with
security_groups
).- security
Groups List<String> A list of security groups (names; conflicts with
security_group_ids
).- size String
The instance size (
Tiny
,Small
,Medium
,Large
, etc.)- state String
The instance state (
Running
orStopped
; default:Running
)- Map<String>
Map of tags (key/value). To remove all tags, set
tags = {}
.- template String
❗ The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the
template_id
attribute instead.- template
Id String ❗ The compute instance template (ID). Usage of the
exoscale.getComputeTemplate
data source is recommended.- user
Data String cloud-init configuration.
- user
Data BooleanBase64 was the cloud-init configuration base64 encoded
- username String
The user to use to connect to the instance. If you've referenced a custom template in the resource, use the
exoscale.getComputeTemplate
data sourceusername
attribute instead.broken, use
compute_template
data sourceusername
attribute- zone String
❗ The Exoscale Zone name.
Package Details
- Repository
- exoscale pulumiverse/pulumi-exoscale
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
exoscale
Terraform Provider.