Exoscale

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

getInstancePool

Using getInstancePool

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 getInstancePool(args: GetInstancePoolArgs, opts?: InvokeOptions): Promise<GetInstancePoolResult>
function getInstancePoolOutput(args: GetInstancePoolOutputArgs, opts?: InvokeOptions): Output<GetInstancePoolResult>
def get_instance_pool(id: Optional[str] = None,
                      labels: Optional[Mapping[str, str]] = None,
                      name: Optional[str] = None,
                      zone: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetInstancePoolResult
def get_instance_pool_output(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[GetInstancePoolResult]
func LookupInstancePool(ctx *Context, args *LookupInstancePoolArgs, opts ...InvokeOption) (*LookupInstancePoolResult, error)
func LookupInstancePoolOutput(ctx *Context, args *LookupInstancePoolOutputArgs, opts ...InvokeOption) LookupInstancePoolResultOutput

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

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

The following arguments are supported:

Zone string

The Exoscale [Zone][zone] name.

Id string

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

Labels Dictionary<string, string>

A map of key/value labels.

Name string

The pool name to match (conflicts with id).

Zone string

The Exoscale [Zone][zone] name.

Id string

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

Labels map[string]string

A map of key/value labels.

Name string

The pool name to match (conflicts with id).

zone String

The Exoscale [Zone][zone] name.

id String

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

labels Map<String,String>

A map of key/value labels.

name String

The pool name to match (conflicts with id).

zone string

The Exoscale [Zone][zone] name.

id string

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

labels {[key: string]: string}

A map of key/value labels.

name string

The pool name to match (conflicts with id).

zone str

The Exoscale [Zone][zone] name.

id str

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

labels Mapping[str, str]

A map of key/value labels.

name str

The pool name to match (conflicts with id).

zone String

The Exoscale [Zone][zone] name.

id String

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

labels Map<String>

A map of key/value labels.

name String

The pool name to match (conflicts with id).

getInstancePool Result

The following output properties are available:

AffinityGroupIds List<string>

The list of attached exoscale.AntiAffinityGroup (IDs).

DeployTargetId string

The deploy target ID.

Description string

The instance pool description.

DiskSize int

The managed instances disk size.

ElasticIpIds List<string>

The list of attached exoscale.ElasticIP (IDs).

InstancePrefix string

The string used to prefix the managed instances name.

InstanceType string

The managed instances type.

Instances List<Pulumiverse.Exoscale.Outputs.GetInstancePoolInstance>

The list of managed instances. Structure is documented below.

Ipv6 bool

Whether IPv6 is enabled on managed instances.

KeyPair string

The exoscale.SSHKey (name) authorized on the managed instances.

NetworkIds List<string>

The list of attached exoscale.PrivateNetwork (IDs).

SecurityGroupIds List<string>

The list of attached exoscale.SecurityGroup (IDs).

Size int

The number managed instances.

State string

The pool state.

TemplateId string

The managed instances exoscale.getComputeTemplate ID.

UserData string

[cloud-init][cloud-init] configuration.

Zone string
Id string

The compute instance ID.

Labels Dictionary<string, string>

A map of key/value labels.

Name string

The instance name.

AffinityGroupIds []string

The list of attached exoscale.AntiAffinityGroup (IDs).

DeployTargetId string

The deploy target ID.

Description string

The instance pool description.

DiskSize int

The managed instances disk size.

ElasticIpIds []string

The list of attached exoscale.ElasticIP (IDs).

InstancePrefix string

The string used to prefix the managed instances name.

InstanceType string

The managed instances type.

Instances []GetInstancePoolInstance

The list of managed instances. Structure is documented below.

Ipv6 bool

Whether IPv6 is enabled on managed instances.

KeyPair string

The exoscale.SSHKey (name) authorized on the managed instances.

NetworkIds []string

The list of attached exoscale.PrivateNetwork (IDs).

SecurityGroupIds []string

The list of attached exoscale.SecurityGroup (IDs).

Size int

The number managed instances.

State string

The pool state.

TemplateId string

The managed instances exoscale.getComputeTemplate ID.

UserData string

[cloud-init][cloud-init] configuration.

Zone string
Id string

The compute instance ID.

Labels map[string]string

A map of key/value labels.

Name string

The instance name.

affinityGroupIds List<String>

The list of attached exoscale.AntiAffinityGroup (IDs).

deployTargetId String

The deploy target ID.

description String

The instance pool description.

diskSize Integer

The managed instances disk size.

elasticIpIds List<String>

The list of attached exoscale.ElasticIP (IDs).

instancePrefix String

The string used to prefix the managed instances name.

instanceType String

The managed instances type.

instances List<GetInstancePoolInstance>

The list of managed instances. Structure is documented below.

ipv6 Boolean

Whether IPv6 is enabled on managed instances.

keyPair String

The exoscale.SSHKey (name) authorized on the managed instances.

networkIds List<String>

The list of attached exoscale.PrivateNetwork (IDs).

securityGroupIds List<String>

The list of attached exoscale.SecurityGroup (IDs).

size Integer

The number managed instances.

state String

The pool state.

templateId String

The managed instances exoscale.getComputeTemplate ID.

userData String

[cloud-init][cloud-init] configuration.

zone String
id String

The compute instance ID.

labels Map<String,String>

A map of key/value labels.

name String

The instance name.

affinityGroupIds string[]

The list of attached exoscale.AntiAffinityGroup (IDs).

deployTargetId string

The deploy target ID.

description string

The instance pool description.

diskSize number

The managed instances disk size.

elasticIpIds string[]

The list of attached exoscale.ElasticIP (IDs).

instancePrefix string

The string used to prefix the managed instances name.

instanceType string

The managed instances type.

instances GetInstancePoolInstance[]

The list of managed instances. Structure is documented below.

ipv6 boolean

Whether IPv6 is enabled on managed instances.

keyPair string

The exoscale.SSHKey (name) authorized on the managed instances.

networkIds string[]

The list of attached exoscale.PrivateNetwork (IDs).

securityGroupIds string[]

The list of attached exoscale.SecurityGroup (IDs).

size number

The number managed instances.

state string

The pool state.

templateId string

The managed instances exoscale.getComputeTemplate ID.

userData string

[cloud-init][cloud-init] configuration.

zone string
id string

The compute instance ID.

labels {[key: string]: string}

A map of key/value labels.

name string

The instance name.

affinity_group_ids Sequence[str]

The list of attached exoscale.AntiAffinityGroup (IDs).

deploy_target_id str

The deploy target ID.

description str

The instance pool description.

disk_size int

The managed instances disk size.

elastic_ip_ids Sequence[str]

The list of attached exoscale.ElasticIP (IDs).

instance_prefix str

The string used to prefix the managed instances name.

instance_type str

The managed instances type.

instances Sequence[GetInstancePoolInstance]

The list of managed instances. Structure is documented below.

ipv6 bool

Whether IPv6 is enabled on managed instances.

key_pair str

The exoscale.SSHKey (name) authorized on the managed instances.

network_ids Sequence[str]

The list of attached exoscale.PrivateNetwork (IDs).

security_group_ids Sequence[str]

The list of attached exoscale.SecurityGroup (IDs).

size int

The number managed instances.

state str

The pool state.

template_id str

The managed instances exoscale.getComputeTemplate ID.

user_data str

[cloud-init][cloud-init] configuration.

zone str
id str

The compute instance ID.

labels Mapping[str, str]

A map of key/value labels.

name str

The instance name.

affinityGroupIds List<String>

The list of attached exoscale.AntiAffinityGroup (IDs).

deployTargetId String

The deploy target ID.

description String

The instance pool description.

diskSize Number

The managed instances disk size.

elasticIpIds List<String>

The list of attached exoscale.ElasticIP (IDs).

instancePrefix String

The string used to prefix the managed instances name.

instanceType String

The managed instances type.

instances List<Property Map>

The list of managed instances. Structure is documented below.

ipv6 Boolean

Whether IPv6 is enabled on managed instances.

keyPair String

The exoscale.SSHKey (name) authorized on the managed instances.

networkIds List<String>

The list of attached exoscale.PrivateNetwork (IDs).

securityGroupIds List<String>

The list of attached exoscale.SecurityGroup (IDs).

size Number

The number managed instances.

state String

The pool state.

templateId String

The managed instances exoscale.getComputeTemplate ID.

userData String

[cloud-init][cloud-init] configuration.

zone String
id String

The compute instance ID.

labels Map<String>

A map of key/value labels.

name String

The instance name.

Supporting Types

GetInstancePoolInstance

Ipv6Address string

The instance (main network interface) IPv6 address.

PublicIpAddress string

The instance (main network interface) IPv4 address.

Id string

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

Name string

The pool name to match (conflicts with id).

Ipv6Address string

The instance (main network interface) IPv6 address.

PublicIpAddress string

The instance (main network interface) IPv4 address.

Id string

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

Name string

The pool name to match (conflicts with id).

ipv6Address String

The instance (main network interface) IPv6 address.

publicIpAddress String

The instance (main network interface) IPv4 address.

id String

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

name String

The pool name to match (conflicts with id).

ipv6Address string

The instance (main network interface) IPv6 address.

publicIpAddress string

The instance (main network interface) IPv4 address.

id string

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

name string

The pool name to match (conflicts with id).

ipv6_address str

The instance (main network interface) IPv6 address.

public_ip_address str

The instance (main network interface) IPv4 address.

id str

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

name str

The pool name to match (conflicts with id).

ipv6Address String

The instance (main network interface) IPv6 address.

publicIpAddress String

The instance (main network interface) IPv4 address.

id String

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

name String

The pool name to match (conflicts with id).

Package Details

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

This Pulumi package is based on the exoscale Terraform Provider.