exoscale logo
Exoscale v0.43.0, Jan 8 23

exoscale.getComputeInstance

Using getComputeInstance

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getComputeInstance(args: GetComputeInstanceArgs, opts?: InvokeOptions): Promise<GetComputeInstanceResult>
function getComputeInstanceOutput(args: GetComputeInstanceOutputArgs, opts?: InvokeOptions): Output<GetComputeInstanceResult>
def get_compute_instance(anti_affinity_group_ids: Optional[Sequence[str]] = None,
                         id: Optional[str] = None,
                         labels: Optional[Mapping[str, str]] = None,
                         name: Optional[str] = None,
                         zone: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetComputeInstanceResult
def get_compute_instance_output(anti_affinity_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         zone: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetComputeInstanceResult]
func LookupComputeInstance(ctx *Context, args *LookupComputeInstanceArgs, opts ...InvokeOption) (*LookupComputeInstanceResult, error)
func LookupComputeInstanceOutput(ctx *Context, args *LookupComputeInstanceOutputArgs, opts ...InvokeOption) LookupComputeInstanceResultOutput

> Note: This function is named LookupComputeInstance in the Go SDK.

public static class GetComputeInstance 
{
    public static Task<GetComputeInstanceResult> InvokeAsync(GetComputeInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeInstanceResult> Invoke(GetComputeInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetComputeInstanceResult> getComputeInstance(GetComputeInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: exoscale:index/getComputeInstance:getComputeInstance
  arguments:
    # arguments dictionary

The following arguments are supported:

Zone string

The Exoscale [Zone][zone] name.

AntiAffinityGroupIds List<string>
Id string

The compute instance ID to match (conflicts with name).

Labels Dictionary<string, string>

A map of key/value labels.

Name string

The instance name to match (conflicts with id).

Zone string

The Exoscale [Zone][zone] name.

AntiAffinityGroupIds []string
Id string

The compute instance ID to match (conflicts with name).

Labels map[string]string

A map of key/value labels.

Name string

The instance name to match (conflicts with id).

zone String

The Exoscale [Zone][zone] name.

antiAffinityGroupIds List<String>
id String

The compute instance ID to match (conflicts with name).

labels Map<String,String>

A map of key/value labels.

name String

The instance name to match (conflicts with id).

zone string

The Exoscale [Zone][zone] name.

antiAffinityGroupIds string[]
id string

The compute instance ID to match (conflicts with name).

labels {[key: string]: string}

A map of key/value labels.

name string

The instance name to match (conflicts with id).

zone str

The Exoscale [Zone][zone] name.

anti_affinity_group_ids Sequence[str]
id str

The compute instance ID to match (conflicts with name).

labels Mapping[str, str]

A map of key/value labels.

name str

The instance name to match (conflicts with id).

zone String

The Exoscale [Zone][zone] name.

antiAffinityGroupIds List<String>
id String

The compute instance ID to match (conflicts with name).

labels Map<String>

A map of key/value labels.

name String

The instance name to match (conflicts with id).

getComputeInstance Result

The following output properties are available:

CreatedAt string

The compute instance creation date.

DeployTargetId string

A deploy target ID.

DiskSize int

The instance disk size (GiB).

ElasticIpIds List<string>

The list of attached exoscale.ElasticIP (IDs).

Ipv6 bool

Whether IPv6 is enabled on the instance.

Ipv6Address string

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

ManagerId string

The instance manager ID, if any.

ManagerType string

The instance manager type (instance pool, SKS node pool, etc.), if any.

PrivateNetworkIds List<string>
PublicIpAddress string

The instance (main network interface) IPv4 address.

ReverseDns string

Domain name for reverse DNS record.

SecurityGroupIds List<string>

The list of attached exoscale.SecurityGroup (IDs).

SshKey string

The exoscale.SSHKey (name) authorized on the instance.

State string

The instance state.

TemplateId string

The instance exoscale.getComputeTemplate ID.

Type string

The instance type.

UserData string

The instance [cloud-init][cloud-init] configuration.

Zone string
AntiAffinityGroupIds List<string>
Id string
Labels Dictionary<string, string>

A map of key/value labels.

Name string
CreatedAt string

The compute instance creation date.

DeployTargetId string

A deploy target ID.

DiskSize int

The instance disk size (GiB).

ElasticIpIds []string

The list of attached exoscale.ElasticIP (IDs).

Ipv6 bool

Whether IPv6 is enabled on the instance.

Ipv6Address string

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

ManagerId string

The instance manager ID, if any.

ManagerType string

The instance manager type (instance pool, SKS node pool, etc.), if any.

PrivateNetworkIds []string
PublicIpAddress string

The instance (main network interface) IPv4 address.

ReverseDns string

Domain name for reverse DNS record.

SecurityGroupIds []string

The list of attached exoscale.SecurityGroup (IDs).

SshKey string

The exoscale.SSHKey (name) authorized on the instance.

State string

The instance state.

TemplateId string

The instance exoscale.getComputeTemplate ID.

Type string

The instance type.

UserData string

The instance [cloud-init][cloud-init] configuration.

Zone string
AntiAffinityGroupIds []string
Id string
Labels map[string]string

A map of key/value labels.

Name string
createdAt String

The compute instance creation date.

deployTargetId String

A deploy target ID.

diskSize Integer

The instance disk size (GiB).

elasticIpIds List<String>

The list of attached exoscale.ElasticIP (IDs).

ipv6 Boolean

Whether IPv6 is enabled on the instance.

ipv6Address String

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

managerId String

The instance manager ID, if any.

managerType String

The instance manager type (instance pool, SKS node pool, etc.), if any.

privateNetworkIds List<String>
publicIpAddress String

The instance (main network interface) IPv4 address.

reverseDns String

Domain name for reverse DNS record.

securityGroupIds List<String>

The list of attached exoscale.SecurityGroup (IDs).

sshKey String

The exoscale.SSHKey (name) authorized on the instance.

state String

The instance state.

templateId String

The instance exoscale.getComputeTemplate ID.

type String

The instance type.

userData String

The instance [cloud-init][cloud-init] configuration.

zone String
antiAffinityGroupIds List<String>
id String
labels Map<String,String>

A map of key/value labels.

name String
createdAt string

The compute instance creation date.

deployTargetId string

A deploy target ID.

diskSize number

The instance disk size (GiB).

elasticIpIds string[]

The list of attached exoscale.ElasticIP (IDs).

ipv6 boolean

Whether IPv6 is enabled on the instance.

ipv6Address string

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

managerId string

The instance manager ID, if any.

managerType string

The instance manager type (instance pool, SKS node pool, etc.), if any.

privateNetworkIds string[]
publicIpAddress string

The instance (main network interface) IPv4 address.

reverseDns string

Domain name for reverse DNS record.

securityGroupIds string[]

The list of attached exoscale.SecurityGroup (IDs).

sshKey string

The exoscale.SSHKey (name) authorized on the instance.

state string

The instance state.

templateId string

The instance exoscale.getComputeTemplate ID.

type string

The instance type.

userData string

The instance [cloud-init][cloud-init] configuration.

zone string
antiAffinityGroupIds string[]
id string
labels {[key: string]: string}

A map of key/value labels.

name string
created_at str

The compute instance creation date.

deploy_target_id str

A deploy target ID.

disk_size int

The instance disk size (GiB).

elastic_ip_ids Sequence[str]

The list of attached exoscale.ElasticIP (IDs).

ipv6 bool

Whether IPv6 is enabled on the instance.

ipv6_address str

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

manager_id str

The instance manager ID, if any.

manager_type str

The instance manager type (instance pool, SKS node pool, etc.), if any.

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

The list of attached exoscale.SecurityGroup (IDs).

ssh_key str

The exoscale.SSHKey (name) authorized on the instance.

state str

The instance state.

template_id str

The instance exoscale.getComputeTemplate ID.

type str

The instance type.

user_data str

The instance [cloud-init][cloud-init] configuration.

zone str
anti_affinity_group_ids Sequence[str]
id str
labels Mapping[str, str]

A map of key/value labels.

name str
createdAt String

The compute instance creation date.

deployTargetId String

A deploy target ID.

diskSize Number

The instance disk size (GiB).

elasticIpIds List<String>

The list of attached exoscale.ElasticIP (IDs).

ipv6 Boolean

Whether IPv6 is enabled on the instance.

ipv6Address String

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

managerId String

The instance manager ID, if any.

managerType String

The instance manager type (instance pool, SKS node pool, etc.), if any.

privateNetworkIds List<String>
publicIpAddress String

The instance (main network interface) IPv4 address.

reverseDns String

Domain name for reverse DNS record.

securityGroupIds List<String>

The list of attached exoscale.SecurityGroup (IDs).

sshKey String

The exoscale.SSHKey (name) authorized on the instance.

state String

The instance state.

templateId String

The instance exoscale.getComputeTemplate ID.

type String

The instance type.

userData String

The instance [cloud-init][cloud-init] configuration.

zone String
antiAffinityGroupIds List<String>
id String
labels Map<String>

A map of key/value labels.

name String

Package Details

Repository
exoscale pulumiverse/pulumi-exoscale
License
Apache-2.0
Notes

This Pulumi package is based on the exoscale Terraform Provider.