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

exoscale.getCompute

Explore with Pulumi AI

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

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

    Hostname string

    The instance hostname to match.

    Id string

    The compute instance ID to match.

    Tags Dictionary<string, string>

    The instance tags to match (map of key/value).

    Hostname string

    The instance hostname to match.

    Id string

    The compute instance ID to match.

    Tags map[string]string

    The instance tags to match (map of key/value).

    hostname String

    The instance hostname to match.

    id String

    The compute instance ID to match.

    tags Map<String,String>

    The instance tags to match (map of key/value).

    hostname string

    The instance hostname to match.

    id string

    The compute instance ID to match.

    tags {[key: string]: string}

    The instance tags to match (map of key/value).

    hostname str

    The instance hostname to match.

    id str

    The compute instance ID to match.

    tags Mapping[str, str]

    The instance tags to match (map of key/value).

    hostname String

    The instance hostname to match.

    id String

    The compute instance ID to match.

    tags Map<String>

    The instance tags to match (map of key/value).

    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

    DiskSize int

    Size of the Compute instance disk

    Ip6Address string

    Compute instance public ipv6 address (if ipv6 is enabled)

    IpAddress string

    Compute instance public ipv4 address

    Memory int

    Memory allocated for the Compute instance

    PrivateNetworkIpAddresses List<string>

    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.

    Tags 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

    DiskSize int

    Size of the Compute instance disk

    Ip6Address string

    Compute instance public ipv6 address (if ipv6 is enabled)

    IpAddress string

    Compute instance public ipv4 address

    Memory int

    Memory allocated for the Compute instance

    PrivateNetworkIpAddresses []string

    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.

    Tags 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

    diskSize Integer

    Size of the Compute instance disk

    ip6Address String

    Compute instance public ipv6 address (if ipv6 is enabled)

    ipAddress String

    Compute instance public ipv4 address

    memory Integer

    Memory allocated for the Compute instance

    privateNetworkIpAddresses List<String>

    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.

    tags 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

    diskSize number

    Size of the Compute instance disk

    ip6Address string

    Compute instance public ipv6 address (if ipv6 is enabled)

    ipAddress string

    Compute instance public ipv4 address

    memory number

    Memory allocated for the Compute instance

    privateNetworkIpAddresses string[]

    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.

    tags {[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_ip_addresses Sequence[str]

    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.

    tags 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

    diskSize Number

    Size of the Compute instance disk

    ip6Address String

    Compute instance public ipv6 address (if ipv6 is enabled)

    ipAddress String

    Compute instance public ipv4 address

    memory Number

    Memory allocated for the Compute instance

    privateNetworkIpAddresses List<String>

    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.

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

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