1. Packages
  2. Exoscale
  3. API Docs
  4. ComputeInstance
Exoscale v0.52.3 published on Monday, Sep 18, 2023 by Pulumiverse

exoscale.ComputeInstance

Explore with Pulumi AI

exoscale logo
Exoscale v0.52.3 published on Monday, Sep 18, 2023 by Pulumiverse

    Import

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

     $ 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,
                        private: Optional[bool] = None,
                        reverse_dns: 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)
    @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 exoscalecomputetemplate (ID) to use when creating the instance.

    Type string

    The instance type (<family>.<size>, e.g. standard.medium; use the Exoscale 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 name.

    AntiAffinityGroupIds List<string>

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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.ComputeInstanceNetworkInterface>

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

    Private bool

    Whether the instance is private (no public IP addresses; default: false)

    ReverseDns string

    Domain name for reverse DNS record.

    SecurityGroupIds List<string>

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    SshKey string

    The exoscalesshkey (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 configuration.

    TemplateId string

    ❗ The exoscalecomputetemplate (ID) to use when creating the instance.

    Type string

    The instance type (<family>.<size>, e.g. standard.medium; use the Exoscale 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 name.

    AntiAffinityGroupIds []string

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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.

    Private bool

    Whether the instance is private (no public IP addresses; default: false)

    ReverseDns string

    Domain name for reverse DNS record.

    SecurityGroupIds []string

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    SshKey string

    The exoscalesshkey (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 configuration.

    templateId String

    ❗ The exoscalecomputetemplate (ID) to use when creating the instance.

    type String

    The instance type (<family>.<size>, e.g. standard.medium; use the Exoscale 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 name.

    antiAffinityGroupIds List<String>

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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<ComputeInstanceNetworkInterface>

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

    private_ Boolean

    Whether the instance is private (no public IP addresses; default: false)

    reverseDns String

    Domain name for reverse DNS record.

    securityGroupIds List<String>

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    sshKey String

    The exoscalesshkey (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 configuration.

    templateId string

    ❗ The exoscalecomputetemplate (ID) to use when creating the instance.

    type string

    The instance type (<family>.<size>, e.g. standard.medium; use the Exoscale 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 name.

    antiAffinityGroupIds string[]

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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 ComputeInstanceNetworkInterface[]

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

    private boolean

    Whether the instance is private (no public IP addresses; default: false)

    reverseDns string

    Domain name for reverse DNS record.

    securityGroupIds string[]

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    sshKey string

    The exoscalesshkey (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 configuration.

    template_id str

    ❗ The exoscalecomputetemplate (ID) to use when creating the instance.

    type str

    The instance type (<family>.<size>, e.g. standard.medium; use the Exoscale 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 name.

    anti_affinity_group_ids Sequence[str]

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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.

    private bool

    Whether the instance is private (no public IP addresses; default: false)

    reverse_dns str

    Domain name for reverse DNS record.

    security_group_ids Sequence[str]

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    ssh_key str

    The exoscalesshkey (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 configuration.

    templateId String

    ❗ The exoscalecomputetemplate (ID) to use when creating the instance.

    type String

    The instance type (<family>.<size>, e.g. standard.medium; use the Exoscale 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 name.

    antiAffinityGroupIds List<String>

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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.

    private Boolean

    Whether the instance is private (no public IP addresses; default: false)

    reverseDns String

    Domain name for reverse DNS record.

    securityGroupIds List<String>

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    sshKey String

    The exoscalesshkey (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 configuration.

    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>

    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

    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>

    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[]

    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]

    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>

    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: Optional[bool] = None,
            private_network_ids: Optional[Sequence[str]] = None,
            public_ip_address: Optional[str] = None,
            reverse_dns: 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 exoscaleantiaffinity_group (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 exoscaleelasticip (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.ComputeInstanceNetworkInterface>

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

    Private bool

    Whether the instance is private (no public IP addresses; default: false)

    PrivateNetworkIds List<string>

    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.

    ReverseDns string

    Domain name for reverse DNS record.

    SecurityGroupIds List<string>

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    SshKey string

    The exoscalesshkey (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 exoscalecomputetemplate (ID) to use when creating the instance.

    Type string

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

    UserData string

    cloud-init configuration.

    Zone string

    ❗ The Exoscale Zone name.

    AntiAffinityGroupIds []string

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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.

    Private bool

    Whether the instance is private (no public IP addresses; default: false)

    PrivateNetworkIds []string

    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.

    ReverseDns string

    Domain name for reverse DNS record.

    SecurityGroupIds []string

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    SshKey string

    The exoscalesshkey (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 exoscalecomputetemplate (ID) to use when creating the instance.

    Type string

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

    UserData string

    cloud-init configuration.

    Zone string

    ❗ The Exoscale Zone name.

    antiAffinityGroupIds List<String>

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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<ComputeInstanceNetworkInterface>

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

    privateNetworkIds List<String>

    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.

    private_ Boolean

    Whether the instance is private (no public IP addresses; default: false)

    publicIpAddress String

    The instance (main network interface) IPv4 address.

    reverseDns String

    Domain name for reverse DNS record.

    securityGroupIds List<String>

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    sshKey String

    The exoscalesshkey (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 exoscalecomputetemplate (ID) to use when creating the instance.

    type String

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

    userData String

    cloud-init configuration.

    zone String

    ❗ The Exoscale Zone name.

    antiAffinityGroupIds string[]

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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 ComputeInstanceNetworkInterface[]

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

    private boolean

    Whether the instance is private (no public IP addresses; default: false)

    privateNetworkIds string[]

    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.

    reverseDns string

    Domain name for reverse DNS record.

    securityGroupIds string[]

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    sshKey string

    The exoscalesshkey (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 exoscalecomputetemplate (ID) to use when creating the instance.

    type string

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

    userData string

    cloud-init configuration.

    zone string

    ❗ The Exoscale Zone name.

    anti_affinity_group_ids Sequence[str]

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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 bool

    Whether the instance is private (no public IP addresses; default: false)

    private_network_ids Sequence[str]

    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.

    reverse_dns str

    Domain name for reverse DNS record.

    security_group_ids Sequence[str]

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    ssh_key str

    The exoscalesshkey (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 exoscalecomputetemplate (ID) to use when creating the instance.

    type str

    The instance type (<family>.<size>, e.g. standard.medium; use the Exoscale 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 configuration.

    zone str

    ❗ The Exoscale Zone name.

    antiAffinityGroupIds List<String>

    ❗ A list of exoscaleantiaffinity_group (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 exoscaleelasticip (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.

    private Boolean

    Whether the instance is private (no public IP addresses; default: false)

    privateNetworkIds List<String>

    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.

    reverseDns String

    Domain name for reverse DNS record.

    securityGroupIds List<String>

    A list of exoscalesecuritygroup (IDs) to attach to the instance.

    sshKey String

    The exoscalesshkey (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 exoscalecomputetemplate (ID) to use when creating the instance.

    type String

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

    userData String

    cloud-init configuration.

    zone String

    ❗ The Exoscale Zone name.

    Supporting Types

    ComputeInstanceNetworkInterface, ComputeInstanceNetworkInterfaceArgs

    NetworkId string

    The exoscaleprivatenetwork (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 exoscaleprivatenetwork (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 exoscaleprivatenetwork (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 exoscaleprivatenetwork (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 exoscaleprivatenetwork (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 exoscaleprivatenetwork (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
    exoscale pulumiverse/pulumi-exoscale
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the exoscale Terraform Provider.

    exoscale logo
    Exoscale v0.52.3 published on Monday, Sep 18, 2023 by Pulumiverse