Exoscale

v0.42.0 published on Sunday, Nov 27, 2022 by Pulumiverse

ComputeInstance

Import

An existing compute instance may be imported by <ID>@<zone>console

 $ pulumi import exoscale:index/computeInstance:ComputeInstance \

exoscale_compute_instance.my_instance \

f81d4fae-7dec-11d0-a765-00a0c91e6bf6@ch-gva-2

Create ComputeInstance Resource

new ComputeInstance(name: string, args: ComputeInstanceArgs, opts?: CustomResourceOptions);
@overload
def ComputeInstance(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    anti_affinity_group_ids: Optional[Sequence[str]] = None,
                    deploy_target_id: Optional[str] = None,
                    disk_size: Optional[int] = None,
                    elastic_ip_ids: Optional[Sequence[str]] = None,
                    ipv6: Optional[bool] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    name: Optional[str] = None,
                    network_interfaces: Optional[Sequence[ComputeInstanceNetworkInterfaceArgs]] = None,
                    security_group_ids: Optional[Sequence[str]] = None,
                    ssh_key: Optional[str] = None,
                    state: Optional[str] = None,
                    template_id: Optional[str] = None,
                    type: Optional[str] = None,
                    user_data: Optional[str] = None,
                    zone: Optional[str] = None)
@overload
def ComputeInstance(resource_name: str,
                    args: ComputeInstanceArgs,
                    opts: Optional[ResourceOptions] = None)
func NewComputeInstance(ctx *Context, name string, args ComputeInstanceArgs, opts ...ResourceOption) (*ComputeInstance, error)
public ComputeInstance(string name, ComputeInstanceArgs args, CustomResourceOptions? opts = null)
public ComputeInstance(String name, ComputeInstanceArgs args)
public ComputeInstance(String name, ComputeInstanceArgs args, CustomResourceOptions options)
type: exoscale:ComputeInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ComputeInstanceArgs
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 ComputeInstanceArgs
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 ComputeInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ComputeInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ComputeInstanceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ComputeInstance 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 ComputeInstance resource accepts the following input properties:

TemplateId string

The exoscale.getComputeTemplate (ID) to use when creating the instance.

Type string

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

Zone string

The Exoscale [Zone][zone] name.

AntiAffinityGroupIds List<string>

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

DeployTargetId string

A deploy target ID.

DiskSize int

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

ElasticIpIds List<string>

A list of exoscale.ElasticIP (IDs) to attach to the instance.

Ipv6 bool

Enable IPv6 on the instance (boolean; default: false).

Labels Dictionary<string, string>

A map of key/value labels.

Name string

The compute instance name.

NetworkInterfaces List<Pulumiverse.Exoscale.Inputs.ComputeInstanceNetworkInterfaceArgs>

Private network interfaces (may be specified multiple times). Structure is documented below.

SecurityGroupIds List<string>

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

SshKey string

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

State string

The instance state (running or stopped; default: running).

UserData string

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

TemplateId string

The exoscale.getComputeTemplate (ID) to use when creating the instance.

Type string

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

Zone string

The Exoscale [Zone][zone] name.

AntiAffinityGroupIds []string

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

DeployTargetId string

A deploy target ID.

DiskSize int

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

ElasticIpIds []string

A list of exoscale.ElasticIP (IDs) to attach to the instance.

Ipv6 bool

Enable IPv6 on the instance (boolean; default: false).

Labels map[string]string

A map of key/value labels.

Name string

The compute instance name.

NetworkInterfaces []ComputeInstanceNetworkInterfaceArgs

Private network interfaces (may be specified multiple times). Structure is documented below.

SecurityGroupIds []string

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

SshKey string

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

State string

The instance state (running or stopped; default: running).

UserData string

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

templateId String

The exoscale.getComputeTemplate (ID) to use when creating the instance.

type String

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

zone String

The Exoscale [Zone][zone] name.

antiAffinityGroupIds List<String>

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

deployTargetId String

A deploy target ID.

diskSize Integer

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

elasticIpIds List<String>

A list of exoscale.ElasticIP (IDs) to attach to the instance.

ipv6 Boolean

Enable IPv6 on the instance (boolean; default: false).

labels Map<String,String>

A map of key/value labels.

name String

The compute instance name.

networkInterfaces List<ComputeInstanceNetworkInterfaceArgs>

Private network interfaces (may be specified multiple times). Structure is documented below.

securityGroupIds List<String>

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

sshKey String

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

state String

The instance state (running or stopped; default: running).

userData String

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

templateId string

The exoscale.getComputeTemplate (ID) to use when creating the instance.

type string

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

zone string

The Exoscale [Zone][zone] name.

antiAffinityGroupIds string[]

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

deployTargetId string

A deploy target ID.

diskSize number

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

elasticIpIds string[]

A list of exoscale.ElasticIP (IDs) to attach to the instance.

ipv6 boolean

Enable IPv6 on the instance (boolean; default: false).

labels {[key: string]: string}

A map of key/value labels.

name string

The compute instance name.

networkInterfaces ComputeInstanceNetworkInterfaceArgs[]

Private network interfaces (may be specified multiple times). Structure is documented below.

securityGroupIds string[]

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

sshKey string

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

state string

The instance state (running or stopped; default: running).

userData string

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

template_id str

The exoscale.getComputeTemplate (ID) to use when creating the instance.

type str

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

zone str

The Exoscale [Zone][zone] name.

anti_affinity_group_ids Sequence[str]

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

deploy_target_id str

A deploy target ID.

disk_size int

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

elastic_ip_ids Sequence[str]

A list of exoscale.ElasticIP (IDs) to attach to the instance.

ipv6 bool

Enable IPv6 on the instance (boolean; default: false).

labels Mapping[str, str]

A map of key/value labels.

name str

The compute instance name.

network_interfaces Sequence[ComputeInstanceNetworkInterfaceArgs]

Private network interfaces (may be specified multiple times). Structure is documented below.

security_group_ids Sequence[str]

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

ssh_key str

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

state str

The instance state (running or stopped; default: running).

user_data str

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

templateId String

The exoscale.getComputeTemplate (ID) to use when creating the instance.

type String

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

zone String

The Exoscale [Zone][zone] name.

antiAffinityGroupIds List<String>

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

deployTargetId String

A deploy target ID.

diskSize Number

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

elasticIpIds List<String>

A list of exoscale.ElasticIP (IDs) to attach to the instance.

ipv6 Boolean

Enable IPv6 on the instance (boolean; default: false).

labels Map<String>

A map of key/value labels.

name String

The compute instance name.

networkInterfaces List<Property Map>

Private network interfaces (may be specified multiple times). Structure is documented below.

securityGroupIds List<String>

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

sshKey String

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

state String

The instance state (running or stopped; default: running).

userData String

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

Outputs

All input properties are implicitly available as output properties. Additionally, the ComputeInstance resource produces the following output properties:

CreatedAt string

The instance creation date.

Id string

The provider-assigned unique ID for this managed resource.

Ipv6Address string

The instance (main network interface) IPv6 address (if enabled).

PrivateNetworkIds List<string>

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

PublicIpAddress string

The instance (main network interface) IPv4 address.

CreatedAt string

The instance creation date.

Id string

The provider-assigned unique ID for this managed resource.

Ipv6Address string

The instance (main network interface) IPv6 address (if enabled).

PrivateNetworkIds []string

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

PublicIpAddress string

The instance (main network interface) IPv4 address.

createdAt String

The instance creation date.

id String

The provider-assigned unique ID for this managed resource.

ipv6Address String

The instance (main network interface) IPv6 address (if enabled).

privateNetworkIds List<String>

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

publicIpAddress String

The instance (main network interface) IPv4 address.

createdAt string

The instance creation date.

id string

The provider-assigned unique ID for this managed resource.

ipv6Address string

The instance (main network interface) IPv6 address (if enabled).

privateNetworkIds string[]

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

publicIpAddress string

The instance (main network interface) IPv4 address.

created_at str

The instance creation date.

id str

The provider-assigned unique ID for this managed resource.

ipv6_address str

The instance (main network interface) IPv6 address (if enabled).

private_network_ids Sequence[str]

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

public_ip_address str

The instance (main network interface) IPv4 address.

createdAt String

The instance creation date.

id String

The provider-assigned unique ID for this managed resource.

ipv6Address String

The instance (main network interface) IPv6 address (if enabled).

privateNetworkIds List<String>

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

publicIpAddress String

The instance (main network interface) IPv4 address.

Look up Existing ComputeInstance Resource

Get an existing ComputeInstance 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?: ComputeInstanceState, opts?: CustomResourceOptions): ComputeInstance
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        anti_affinity_group_ids: Optional[Sequence[str]] = None,
        created_at: Optional[str] = None,
        deploy_target_id: Optional[str] = None,
        disk_size: Optional[int] = None,
        elastic_ip_ids: Optional[Sequence[str]] = None,
        ipv6: Optional[bool] = None,
        ipv6_address: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        network_interfaces: Optional[Sequence[ComputeInstanceNetworkInterfaceArgs]] = None,
        private_network_ids: Optional[Sequence[str]] = None,
        public_ip_address: Optional[str] = None,
        security_group_ids: Optional[Sequence[str]] = None,
        ssh_key: Optional[str] = None,
        state: Optional[str] = None,
        template_id: Optional[str] = None,
        type: Optional[str] = None,
        user_data: Optional[str] = None,
        zone: Optional[str] = None) -> ComputeInstance
func GetComputeInstance(ctx *Context, name string, id IDInput, state *ComputeInstanceState, opts ...ResourceOption) (*ComputeInstance, error)
public static ComputeInstance Get(string name, Input<string> id, ComputeInstanceState? state, CustomResourceOptions? opts = null)
public static ComputeInstance get(String name, Output<String> id, ComputeInstanceState 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.
The following state arguments are supported:
AntiAffinityGroupIds List<string>

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

CreatedAt string

The instance creation date.

DeployTargetId string

A deploy target ID.

DiskSize int

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

ElasticIpIds List<string>

A list of exoscale.ElasticIP (IDs) to attach to the instance.

Ipv6 bool

Enable IPv6 on the instance (boolean; default: false).

Ipv6Address string

The instance (main network interface) IPv6 address (if enabled).

Labels Dictionary<string, string>

A map of key/value labels.

Name string

The compute instance name.

NetworkInterfaces List<Pulumiverse.Exoscale.Inputs.ComputeInstanceNetworkInterfaceArgs>

Private network interfaces (may be specified multiple times). Structure is documented below.

PrivateNetworkIds List<string>

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

PublicIpAddress string

The instance (main network interface) IPv4 address.

SecurityGroupIds List<string>

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

SshKey string

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

State string

The instance state (running or stopped; default: running).

TemplateId string

The exoscale.getComputeTemplate (ID) to use when creating the instance.

Type string

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

UserData string

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

Zone string

The Exoscale [Zone][zone] name.

AntiAffinityGroupIds []string

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

CreatedAt string

The instance creation date.

DeployTargetId string

A deploy target ID.

DiskSize int

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

ElasticIpIds []string

A list of exoscale.ElasticIP (IDs) to attach to the instance.

Ipv6 bool

Enable IPv6 on the instance (boolean; default: false).

Ipv6Address string

The instance (main network interface) IPv6 address (if enabled).

Labels map[string]string

A map of key/value labels.

Name string

The compute instance name.

NetworkInterfaces []ComputeInstanceNetworkInterfaceArgs

Private network interfaces (may be specified multiple times). Structure is documented below.

PrivateNetworkIds []string

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

PublicIpAddress string

The instance (main network interface) IPv4 address.

SecurityGroupIds []string

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

SshKey string

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

State string

The instance state (running or stopped; default: running).

TemplateId string

The exoscale.getComputeTemplate (ID) to use when creating the instance.

Type string

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

UserData string

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

Zone string

The Exoscale [Zone][zone] name.

antiAffinityGroupIds List<String>

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

createdAt String

The instance creation date.

deployTargetId String

A deploy target ID.

diskSize Integer

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

elasticIpIds List<String>

A list of exoscale.ElasticIP (IDs) to attach to the instance.

ipv6 Boolean

Enable IPv6 on the instance (boolean; default: false).

ipv6Address String

The instance (main network interface) IPv6 address (if enabled).

labels Map<String,String>

A map of key/value labels.

name String

The compute instance name.

networkInterfaces List<ComputeInstanceNetworkInterfaceArgs>

Private network interfaces (may be specified multiple times). Structure is documented below.

privateNetworkIds List<String>

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

publicIpAddress String

The instance (main network interface) IPv4 address.

securityGroupIds List<String>

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

sshKey String

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

state String

The instance state (running or stopped; default: running).

templateId String

The exoscale.getComputeTemplate (ID) to use when creating the instance.

type String

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

userData String

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

zone String

The Exoscale [Zone][zone] name.

antiAffinityGroupIds string[]

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

createdAt string

The instance creation date.

deployTargetId string

A deploy target ID.

diskSize number

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

elasticIpIds string[]

A list of exoscale.ElasticIP (IDs) to attach to the instance.

ipv6 boolean

Enable IPv6 on the instance (boolean; default: false).

ipv6Address string

The instance (main network interface) IPv6 address (if enabled).

labels {[key: string]: string}

A map of key/value labels.

name string

The compute instance name.

networkInterfaces ComputeInstanceNetworkInterfaceArgs[]

Private network interfaces (may be specified multiple times). Structure is documented below.

privateNetworkIds string[]

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

publicIpAddress string

The instance (main network interface) IPv4 address.

securityGroupIds string[]

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

sshKey string

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

state string

The instance state (running or stopped; default: running).

templateId string

The exoscale.getComputeTemplate (ID) to use when creating the instance.

type string

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

userData string

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

zone string

The Exoscale [Zone][zone] name.

anti_affinity_group_ids Sequence[str]

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

created_at str

The instance creation date.

deploy_target_id str

A deploy target ID.

disk_size int

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

elastic_ip_ids Sequence[str]

A list of exoscale.ElasticIP (IDs) to attach to the instance.

ipv6 bool

Enable IPv6 on the instance (boolean; default: false).

ipv6_address str

The instance (main network interface) IPv6 address (if enabled).

labels Mapping[str, str]

A map of key/value labels.

name str

The compute instance name.

network_interfaces Sequence[ComputeInstanceNetworkInterfaceArgs]

Private network interfaces (may be specified multiple times). Structure is documented below.

private_network_ids Sequence[str]

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

public_ip_address str

The instance (main network interface) IPv4 address.

security_group_ids Sequence[str]

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

ssh_key str

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

state str

The instance state (running or stopped; default: running).

template_id str

The exoscale.getComputeTemplate (ID) to use when creating the instance.

type str

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

user_data str

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

zone str

The Exoscale [Zone][zone] name.

antiAffinityGroupIds List<String>

A list of exoscale.AntiAffinityGroup (IDs) to attach to the instance (may only be set at creation time).

createdAt String

The instance creation date.

deployTargetId String

A deploy target ID.

diskSize Number

The instance disk size (GiB; at least 10). WARNING: updating this attribute stops/restarts the instance.

elasticIpIds List<String>

A list of exoscale.ElasticIP (IDs) to attach to the instance.

ipv6 Boolean

Enable IPv6 on the instance (boolean; default: false).

ipv6Address String

The instance (main network interface) IPv6 address (if enabled).

labels Map<String>

A map of key/value labels.

name String

The compute instance name.

networkInterfaces List<Property Map>

Private network interfaces (may be specified multiple times). Structure is documented below.

privateNetworkIds List<String>

(Deprecated) A list of private networks (IDs) attached to the instance. Please use the network_interface.*.network_id argument instead.

Deprecated:

Use the network_interface block instead.

publicIpAddress String

The instance (main network interface) IPv4 address.

securityGroupIds List<String>

A list of exoscale.SecurityGroup (IDs) to attach to the instance.

sshKey String

The exoscale.SSHKey (name) to authorize in the instance (may only be set at creation time).

state String

The instance state (running or stopped; default: running).

templateId String

The exoscale.getComputeTemplate (ID) to use when creating the instance.

type String

The instance type (<family>.<size>, e.g. standard.medium; use the [Exoscale CLI][cli] - exo compute instance-type list - for the list of available types). WARNING: updating this attribute stops/restarts the instance.

userData String

[cloud-init][cloud-init] configuration (no need to base64-encode or gzip it as the provider will take care of it).

zone String

The Exoscale [Zone][zone] name.

Supporting Types

ComputeInstanceNetworkInterface

NetworkId string

The exoscale.PrivateNetwork (ID) to attach to the instance.

IpAddress string

The IPv4 address to request as static DHCP lease if the network interface is attached to a managed private network.

NetworkId string

The exoscale.PrivateNetwork (ID) to attach to the instance.

IpAddress string

The IPv4 address to request as static DHCP lease if the network interface is attached to a managed private network.

networkId String

The exoscale.PrivateNetwork (ID) to attach to the instance.

ipAddress String

The IPv4 address to request as static DHCP lease if the network interface is attached to a managed private network.

networkId string

The exoscale.PrivateNetwork (ID) to attach to the instance.

ipAddress string

The IPv4 address to request as static DHCP lease if the network interface is attached to a managed private network.

network_id str

The exoscale.PrivateNetwork (ID) to attach to the instance.

ip_address str

The IPv4 address to request as static DHCP lease if the network interface is attached to a managed private network.

networkId String

The exoscale.PrivateNetwork (ID) to attach to the instance.

ipAddress String

The IPv4 address to request as static DHCP lease if the network interface is attached to a managed private network.

Package Details

Repository
https://github.com/pulumiverse/pulumi-exoscale
License
Apache-2.0
Notes

This Pulumi package is based on the exoscale Terraform Provider.