spectrocloud 0.23.4 published on Monday, Apr 14, 2025 by spectrocloud
spectrocloud.getAppliance
Explore with Pulumi AI
spectrocloud 0.23.4 published on Monday, Apr 14, 2025 by spectrocloud
Provides details about a single appliance used for Edge Native cluster provisioning.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
const testAppliance = spectrocloud.getAppliance({
id: "test-dec9",
});
export const same = testAppliance;
import pulumi
import pulumi_spectrocloud as spectrocloud
test_appliance = spectrocloud.get_appliance(id="test-dec9")
pulumi.export("same", test_appliance)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
testAppliance, err := spectrocloud.LookupAppliance(ctx, &spectrocloud.LookupApplianceArgs{
Id: pulumi.StringRef("test-dec9"),
}, nil)
if err != nil {
return err
}
ctx.Export("same", testAppliance)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Spectrocloud = Pulumi.Spectrocloud;
return await Deployment.RunAsync(() =>
{
var testAppliance = Spectrocloud.GetAppliance.Invoke(new()
{
Id = "test-dec9",
});
return new Dictionary<string, object?>
{
["same"] = testAppliance,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spectrocloud.SpectrocloudFunctions;
import com.pulumi.spectrocloud.inputs.GetApplianceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testAppliance = SpectrocloudFunctions.getAppliance(GetApplianceArgs.builder()
.id("test-dec9")
.build());
ctx.export("same", testAppliance.applyValue(getApplianceResult -> getApplianceResult));
}
}
variables:
testAppliance:
fn::invoke:
function: spectrocloud:getAppliance
arguments:
id: test-dec9
outputs:
same: ${testAppliance}
Using getAppliance
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 getAppliance(args: GetApplianceArgs, opts?: InvokeOptions): Promise<GetApplianceResult>
function getApplianceOutput(args: GetApplianceOutputArgs, opts?: InvokeOptions): Output<GetApplianceResult>
def get_appliance(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApplianceResult
def get_appliance_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplianceResult]
func LookupAppliance(ctx *Context, args *LookupApplianceArgs, opts ...InvokeOption) (*LookupApplianceResult, error)
func LookupApplianceOutput(ctx *Context, args *LookupApplianceOutputArgs, opts ...InvokeOption) LookupApplianceResultOutput
> Note: This function is named LookupAppliance
in the Go SDK.
public static class GetAppliance
{
public static Task<GetApplianceResult> InvokeAsync(GetApplianceArgs args, InvokeOptions? opts = null)
public static Output<GetApplianceResult> Invoke(GetApplianceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplianceResult> getAppliance(GetApplianceArgs args, InvokeOptions options)
public static Output<GetApplianceResult> getAppliance(GetApplianceArgs args, InvokeOptions options)
fn::invoke:
function: spectrocloud:index/getAppliance:getAppliance
arguments:
# arguments dictionary
The following arguments are supported:
getAppliance Result
The following output properties are available:
- Architecture string
- The architecture of the appliance. Supported values are: 'amd64', and 'arm64'.
- Health string
- The health of the appliance. Supported values are: 'healthy', and 'unhealthy'.
- Id string
- ID of the appliance registered in Palette.
- Status string
- The status of the appliance. Supported values are: 'ready', 'in-use', and 'unpaired'.
- Dictionary<string, string>
- The tags of the appliance.
- Name string
- The name of the appliance.
- Architecture string
- The architecture of the appliance. Supported values are: 'amd64', and 'arm64'.
- Health string
- The health of the appliance. Supported values are: 'healthy', and 'unhealthy'.
- Id string
- ID of the appliance registered in Palette.
- Status string
- The status of the appliance. Supported values are: 'ready', 'in-use', and 'unpaired'.
- map[string]string
- The tags of the appliance.
- Name string
- The name of the appliance.
- architecture String
- The architecture of the appliance. Supported values are: 'amd64', and 'arm64'.
- health String
- The health of the appliance. Supported values are: 'healthy', and 'unhealthy'.
- id String
- ID of the appliance registered in Palette.
- status String
- The status of the appliance. Supported values are: 'ready', 'in-use', and 'unpaired'.
- Map<String,String>
- The tags of the appliance.
- name String
- The name of the appliance.
- architecture string
- The architecture of the appliance. Supported values are: 'amd64', and 'arm64'.
- health string
- The health of the appliance. Supported values are: 'healthy', and 'unhealthy'.
- id string
- ID of the appliance registered in Palette.
- status string
- The status of the appliance. Supported values are: 'ready', 'in-use', and 'unpaired'.
- {[key: string]: string}
- The tags of the appliance.
- name string
- The name of the appliance.
- architecture str
- The architecture of the appliance. Supported values are: 'amd64', and 'arm64'.
- health str
- The health of the appliance. Supported values are: 'healthy', and 'unhealthy'.
- id str
- ID of the appliance registered in Palette.
- status str
- The status of the appliance. Supported values are: 'ready', 'in-use', and 'unpaired'.
- Mapping[str, str]
- The tags of the appliance.
- name str
- The name of the appliance.
- architecture String
- The architecture of the appliance. Supported values are: 'amd64', and 'arm64'.
- health String
- The health of the appliance. Supported values are: 'healthy', and 'unhealthy'.
- id String
- ID of the appliance registered in Palette.
- status String
- The status of the appliance. Supported values are: 'ready', 'in-use', and 'unpaired'.
- Map<String>
- The tags of the appliance.
- name String
- The name of the appliance.
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloud
Terraform Provider.
spectrocloud 0.23.4 published on Monday, Apr 14, 2025 by spectrocloud