exoscale.getCompute
Explore with Pulumi AI
!> WARNING: This data source is DEPRECATED and will be removed in the next major version. Please use exoscale.ComputeInstance instead.
Using getCompute
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 getCompute(args: GetComputeArgs, opts?: InvokeOptions): Promise<GetComputeResult>
function getComputeOutput(args: GetComputeOutputArgs, opts?: InvokeOptions): Output<GetComputeResult>
def get_compute(hostname: Optional[str] = None,
id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetComputeResult
def get_compute_output(hostname: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetComputeResult]
func LookupCompute(ctx *Context, args *LookupComputeArgs, opts ...InvokeOption) (*LookupComputeResult, error)
func LookupComputeOutput(ctx *Context, args *LookupComputeOutputArgs, opts ...InvokeOption) LookupComputeResultOutput
> Note: This function is named LookupCompute
in the Go SDK.
public static class GetCompute
{
public static Task<GetComputeResult> InvokeAsync(GetComputeArgs args, InvokeOptions? opts = null)
public static Output<GetComputeResult> Invoke(GetComputeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetComputeResult> getCompute(GetComputeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: exoscale:index/getCompute:getCompute
arguments:
# arguments dictionary
The following arguments are supported:
getCompute Result
The following output properties are available:
- Cpu int
Number of cpu the Compute instance is running with
- Created string
Date when the Compute instance was created
- Disk
Size int Size of the Compute instance disk
- Ip6Address string
Compute instance public ipv6 address (if ipv6 is enabled)
- Ip
Address string Compute instance public ipv4 address
- Memory int
Memory allocated for the Compute instance
- Private
Network List<string>Ip Addresses List of Compute instance private IP addresses (in managed Private Networks only)
- Size string
Current size of the Compute instance
- State string
State of the Compute instance
- Template string
Name of the template for the Compute instance
- Zone string
Name of the availability zone for the Compute instance
- Hostname string
The instance hostname to match.
- Id string
The compute instance ID to match.
- Dictionary<string, string>
The instance tags to match (map of key/value).
- Cpu int
Number of cpu the Compute instance is running with
- Created string
Date when the Compute instance was created
- Disk
Size int Size of the Compute instance disk
- Ip6Address string
Compute instance public ipv6 address (if ipv6 is enabled)
- Ip
Address string Compute instance public ipv4 address
- Memory int
Memory allocated for the Compute instance
- Private
Network []stringIp Addresses List of Compute instance private IP addresses (in managed Private Networks only)
- Size string
Current size of the Compute instance
- State string
State of the Compute instance
- Template string
Name of the template for the Compute instance
- Zone string
Name of the availability zone for the Compute instance
- Hostname string
The instance hostname to match.
- Id string
The compute instance ID to match.
- map[string]string
The instance tags to match (map of key/value).
- cpu Integer
Number of cpu the Compute instance is running with
- created String
Date when the Compute instance was created
- disk
Size Integer Size of the Compute instance disk
- ip6Address String
Compute instance public ipv6 address (if ipv6 is enabled)
- ip
Address String Compute instance public ipv4 address
- memory Integer
Memory allocated for the Compute instance
- private
Network List<String>Ip Addresses List of Compute instance private IP addresses (in managed Private Networks only)
- size String
Current size of the Compute instance
- state String
State of the Compute instance
- template String
Name of the template for the Compute instance
- zone String
Name of the availability zone for the Compute instance
- hostname String
The instance hostname to match.
- id String
The compute instance ID to match.
- Map<String,String>
The instance tags to match (map of key/value).
- cpu number
Number of cpu the Compute instance is running with
- created string
Date when the Compute instance was created
- disk
Size number Size of the Compute instance disk
- ip6Address string
Compute instance public ipv6 address (if ipv6 is enabled)
- ip
Address string Compute instance public ipv4 address
- memory number
Memory allocated for the Compute instance
- private
Network string[]Ip Addresses List of Compute instance private IP addresses (in managed Private Networks only)
- size string
Current size of the Compute instance
- state string
State of the Compute instance
- template string
Name of the template for the Compute instance
- zone string
Name of the availability zone for the Compute instance
- hostname string
The instance hostname to match.
- id string
The compute instance ID to match.
- {[key: string]: string}
The instance tags to match (map of key/value).
- cpu int
Number of cpu the Compute instance is running with
- created str
Date when the Compute instance was created
- disk_
size int Size of the Compute instance disk
- ip6_
address str Compute instance public ipv6 address (if ipv6 is enabled)
- ip_
address str Compute instance public ipv4 address
- memory int
Memory allocated for the Compute instance
- private_
network_ Sequence[str]ip_ addresses List of Compute instance private IP addresses (in managed Private Networks only)
- size str
Current size of the Compute instance
- state str
State of the Compute instance
- template str
Name of the template for the Compute instance
- zone str
Name of the availability zone for the Compute instance
- hostname str
The instance hostname to match.
- id str
The compute instance ID to match.
- Mapping[str, str]
The instance tags to match (map of key/value).
- cpu Number
Number of cpu the Compute instance is running with
- created String
Date when the Compute instance was created
- disk
Size Number Size of the Compute instance disk
- ip6Address String
Compute instance public ipv6 address (if ipv6 is enabled)
- ip
Address String Compute instance public ipv4 address
- memory Number
Memory allocated for the Compute instance
- private
Network List<String>Ip Addresses List of Compute instance private IP addresses (in managed Private Networks only)
- size String
Current size of the Compute instance
- state String
State of the Compute instance
- template String
Name of the template for the Compute instance
- zone String
Name of the availability zone for the Compute instance
- hostname String
The instance hostname to match.
- id String
The compute instance ID to match.
- Map<String>
The instance tags to match (map of key/value).
Package Details
- Repository
- exoscale pulumiverse/pulumi-exoscale
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
exoscale
Terraform Provider.