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

exoscale.Compute

Explore with Pulumi AI

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

    !> 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:

    DiskSize int

    The instance disk size (GiB; at least 10).

    Zone string

    ❗ The Exoscale Zone name.

    AffinityGroupIds List<string>

    ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

    AffinityGroups List<string>

    ❗ A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

    DisplayName 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 neither display_name or hostname attributes are set, a random value will be generated automatically.

    Hostname string

    The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname 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

    KeyPair 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).

    ReverseDns string

    The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

    SecurityGroupIds List<string>

    A list of security groups (IDs; conflicts with security_groups).

    SecurityGroups 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 or Stopped; default: Running)

    Tags 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.

    TemplateId string

    ❗ The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

    UserData string

    cloud-init configuration.

    DiskSize int

    The instance disk size (GiB; at least 10).

    Zone string

    ❗ The Exoscale Zone name.

    AffinityGroupIds []string

    ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

    AffinityGroups []string

    ❗ A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

    DisplayName 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 neither display_name or hostname attributes are set, a random value will be generated automatically.

    Hostname string

    The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname 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

    KeyPair 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).

    ReverseDns string

    The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

    SecurityGroupIds []string

    A list of security groups (IDs; conflicts with security_groups).

    SecurityGroups []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 or Stopped; default: Running)

    Tags 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.

    TemplateId string

    ❗ The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

    UserData string

    cloud-init configuration.

    diskSize Integer

    The instance disk size (GiB; at least 10).

    zone String

    ❗ The Exoscale Zone name.

    affinityGroupIds List<String>

    ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

    affinityGroups List<String>

    ❗ A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

    displayName 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 neither display_name or hostname attributes are set, a random value will be generated automatically.

    hostname String

    The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname 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

    keyPair 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).

    reverseDns String

    The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

    securityGroupIds List<String>

    A list of security groups (IDs; conflicts with security_groups).

    securityGroups 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 or Stopped; default: Running)

    tags 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.

    templateId String

    ❗ The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

    userData String

    cloud-init configuration.

    diskSize number

    The instance disk size (GiB; at least 10).

    zone string

    ❗ The Exoscale Zone name.

    affinityGroupIds string[]

    ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

    affinityGroups string[]

    ❗ A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

    displayName 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 neither display_name or hostname attributes are set, a random value will be generated automatically.

    hostname string

    The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname 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

    keyPair 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).

    reverseDns string

    The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

    securityGroupIds string[]

    A list of security groups (IDs; conflicts with security_groups).

    securityGroups 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 or Stopped; default: Running)

    tags {[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.

    templateId string

    ❗ The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

    userData string

    cloud-init configuration.

    disk_size int

    The instance disk size (GiB; at least 10).

    zone str

    ❗ The Exoscale Zone name.

    affinity_group_ids Sequence[str]

    ❗ 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 neither display_name or hostname attributes are set, a random value will be generated automatically.

    hostname str

    The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname 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_ids Sequence[str]

    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 or Stopped; default: Running)

    tags 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.

    diskSize Number

    The instance disk size (GiB; at least 10).

    zone String

    ❗ The Exoscale Zone name.

    affinityGroupIds List<String>

    ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

    affinityGroups List<String>

    ❗ A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

    displayName 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 neither display_name or hostname attributes are set, a random value will be generated automatically.

    hostname String

    The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname 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

    keyPair 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).

    reverseDns String

    The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

    securityGroupIds List<String>

    A list of security groups (IDs; conflicts with security_groups).

    securityGroups 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 or Stopped; default: Running)

    tags 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.

    templateId String

    ❗ The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

    userData 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
    IpAddress string

    The instance (main network interface) IPv4 address.

    Name string

    The instance hostname. Please use the hostname argument instead.

    Deprecated:

    use hostname attribute instead

    Password string

    The instance initial password and/or encrypted password.

    UserDataBase64 bool

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username 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
    IpAddress string

    The instance (main network interface) IPv4 address.

    Name string

    The instance hostname. Please use the hostname argument instead.

    Deprecated:

    use hostname attribute instead

    Password string

    The instance initial password and/or encrypted password.

    UserDataBase64 bool

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username 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
    ipAddress String

    The instance (main network interface) IPv4 address.

    name String

    The instance hostname. Please use the hostname argument instead.

    Deprecated:

    use hostname attribute instead

    password String

    The instance initial password and/or encrypted password.

    userDataBase64 Boolean

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username 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
    ipAddress string

    The instance (main network interface) IPv4 address.

    name string

    The instance hostname. Please use the hostname argument instead.

    Deprecated:

    use hostname attribute instead

    password string

    The instance initial password and/or encrypted password.

    userDataBase64 boolean

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username 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.

    Deprecated:

    use hostname attribute instead

    password str

    The instance initial password and/or encrypted password.

    user_data_base64 bool

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username 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
    ipAddress String

    The instance (main network interface) IPv4 address.

    name String

    The instance hostname. Please use the hostname argument instead.

    Deprecated:

    use hostname attribute instead

    password String

    The instance initial password and/or encrypted password.

    userDataBase64 Boolean

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username 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.
    The following state arguments are supported:
    AffinityGroupIds List<string>

    ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

    AffinityGroups List<string>

    ❗ A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

    DiskSize int

    The instance disk size (GiB; at least 10).

    DisplayName 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 neither display_name or hostname 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 neither display_name or hostname 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
    IpAddress string

    The instance (main network interface) IPv4 address.

    KeyPair 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.

    Deprecated:

    use hostname attribute instead

    Password string

    The instance initial password and/or encrypted password.

    ReverseDns string

    The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

    SecurityGroupIds List<string>

    A list of security groups (IDs; conflicts with security_groups).

    SecurityGroups 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 or Stopped; default: Running)

    Tags 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.

    TemplateId string

    ❗ The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

    UserData string

    cloud-init configuration.

    UserDataBase64 bool

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username attribute

    Zone string

    ❗ The Exoscale Zone name.

    AffinityGroupIds []string

    ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

    AffinityGroups []string

    ❗ A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

    DiskSize int

    The instance disk size (GiB; at least 10).

    DisplayName 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 neither display_name or hostname 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 neither display_name or hostname 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
    IpAddress string

    The instance (main network interface) IPv4 address.

    KeyPair 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.

    Deprecated:

    use hostname attribute instead

    Password string

    The instance initial password and/or encrypted password.

    ReverseDns string

    The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

    SecurityGroupIds []string

    A list of security groups (IDs; conflicts with security_groups).

    SecurityGroups []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 or Stopped; default: Running)

    Tags 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.

    TemplateId string

    ❗ The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

    UserData string

    cloud-init configuration.

    UserDataBase64 bool

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username attribute

    Zone string

    ❗ The Exoscale Zone name.

    affinityGroupIds List<String>

    ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

    affinityGroups List<String>

    ❗ A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

    diskSize Integer

    The instance disk size (GiB; at least 10).

    displayName 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 neither display_name or hostname 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 neither display_name or hostname 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
    ipAddress String

    The instance (main network interface) IPv4 address.

    keyPair 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.

    Deprecated:

    use hostname attribute instead

    password String

    The instance initial password and/or encrypted password.

    reverseDns String

    The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

    securityGroupIds List<String>

    A list of security groups (IDs; conflicts with security_groups).

    securityGroups 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 or Stopped; default: Running)

    tags 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.

    templateId String

    ❗ The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

    userData String

    cloud-init configuration.

    userDataBase64 Boolean

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username attribute

    zone String

    ❗ The Exoscale Zone name.

    affinityGroupIds string[]

    ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

    affinityGroups string[]

    ❗ A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

    diskSize number

    The instance disk size (GiB; at least 10).

    displayName 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 neither display_name or hostname 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 neither display_name or hostname 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
    ipAddress string

    The instance (main network interface) IPv4 address.

    keyPair 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.

    Deprecated:

    use hostname attribute instead

    password string

    The instance initial password and/or encrypted password.

    reverseDns string

    The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

    securityGroupIds string[]

    A list of security groups (IDs; conflicts with security_groups).

    securityGroups 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 or Stopped; default: Running)

    tags {[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.

    templateId string

    ❗ The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

    userData string

    cloud-init configuration.

    userDataBase64 boolean

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username attribute

    zone string

    ❗ The Exoscale Zone name.

    affinity_group_ids Sequence[str]

    ❗ 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 neither display_name or hostname 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 neither display_name or hostname 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.

    Deprecated:

    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_ids Sequence[str]

    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 or Stopped; default: Running)

    tags 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_base64 bool

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username attribute

    zone str

    ❗ The Exoscale Zone name.

    affinityGroupIds List<String>

    ❗ A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

    affinityGroups List<String>

    ❗ A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

    diskSize Number

    The instance disk size (GiB; at least 10).

    displayName 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 neither display_name or hostname 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 neither display_name or hostname 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
    ipAddress String

    The instance (main network interface) IPv4 address.

    keyPair 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.

    Deprecated:

    use hostname attribute instead

    password String

    The instance initial password and/or encrypted password.

    reverseDns String

    The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

    securityGroupIds List<String>

    A list of security groups (IDs; conflicts with security_groups).

    securityGroups 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 or Stopped; default: Running)

    tags 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.

    templateId String

    ❗ The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

    userData String

    cloud-init configuration.

    userDataBase64 Boolean

    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 source username attribute instead.

    Deprecated:

    broken, use compute_template data source username 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.

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