Exoscale

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

getComputeTemplate

Using getComputeTemplate

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 getComputeTemplate(args: GetComputeTemplateArgs, opts?: InvokeOptions): Promise<GetComputeTemplateResult>
function getComputeTemplateOutput(args: GetComputeTemplateOutputArgs, opts?: InvokeOptions): Output<GetComputeTemplateResult>
def get_compute_template(filter: Optional[str] = None,
                         id: Optional[str] = None,
                         name: Optional[str] = None,
                         zone: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetComputeTemplateResult
def get_compute_template_output(filter: Optional[pulumi.Input[str]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         zone: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetComputeTemplateResult]
func GetComputeTemplate(ctx *Context, args *GetComputeTemplateArgs, opts ...InvokeOption) (*GetComputeTemplateResult, error)
func GetComputeTemplateOutput(ctx *Context, args *GetComputeTemplateOutputArgs, opts ...InvokeOption) GetComputeTemplateResultOutput

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

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

The following arguments are supported:

Zone string

The Exoscale [Zone][zone] name.

Filter string

A template category filter (default: featured); among:

Id string

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

Name string

The template name to match (conflicts with id).

Zone string

The Exoscale [Zone][zone] name.

Filter string

A template category filter (default: featured); among:

Id string

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

Name string

The template name to match (conflicts with id).

zone String

The Exoscale [Zone][zone] name.

filter String

A template category filter (default: featured); among:

id String

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

name String

The template name to match (conflicts with id).

zone string

The Exoscale [Zone][zone] name.

filter string

A template category filter (default: featured); among:

id string

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

name string

The template name to match (conflicts with id).

zone str

The Exoscale [Zone][zone] name.

filter str

A template category filter (default: featured); among:

id str

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

name str

The template name to match (conflicts with id).

zone String

The Exoscale [Zone][zone] name.

filter String

A template category filter (default: featured); among:

id String

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

name String

The template name to match (conflicts with id).

getComputeTemplate Result

The following output properties are available:

Username string

Username to use to log into a compute instance based on this template

Zone string
Filter string
Id string
Name string
Username string

Username to use to log into a compute instance based on this template

Zone string
Filter string
Id string
Name string
username String

Username to use to log into a compute instance based on this template

zone String
filter String
id String
name String
username string

Username to use to log into a compute instance based on this template

zone string
filter string
id string
name string
username str

Username to use to log into a compute instance based on this template

zone str
filter str
id str
name str
username String

Username to use to log into a compute instance based on this template

zone String
filter String
id String
name String

Package Details

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

This Pulumi package is based on the exoscale Terraform Provider.