Viewing docs for spectrocloud 0.28.3
published on Friday, Mar 6, 2026 by spectrocloud
published on Friday, Mar 6, 2026 by spectrocloud
Viewing docs for spectrocloud 0.28.3
published on Friday, Mar 6, 2026 by spectrocloud
published on Friday, Mar 6, 2026 by spectrocloud
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
// Data source to retrieve details of a specific SpectroCloud Helm registry by name
const myHelmRegistry = spectrocloud.getRegistryHelm({
name: "my-helm-registry",
});
export const helmRegistryId = myHelmRegistry.then(myHelmRegistry => myHelmRegistry.id);
import pulumi
import pulumi_spectrocloud as spectrocloud
# Data source to retrieve details of a specific SpectroCloud Helm registry by name
my_helm_registry = spectrocloud.get_registry_helm(name="my-helm-registry")
pulumi.export("helmRegistryId", my_helm_registry.id)
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 {
// Data source to retrieve details of a specific SpectroCloud Helm registry by name
myHelmRegistry, err := spectrocloud.LookupRegistryHelm(ctx, &spectrocloud.LookupRegistryHelmArgs{
Name: "my-helm-registry",
}, nil)
if err != nil {
return err
}
ctx.Export("helmRegistryId", myHelmRegistry.Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Spectrocloud = Pulumi.Spectrocloud;
return await Deployment.RunAsync(() =>
{
// Data source to retrieve details of a specific SpectroCloud Helm registry by name
var myHelmRegistry = Spectrocloud.GetRegistryHelm.Invoke(new()
{
Name = "my-helm-registry",
});
return new Dictionary<string, object?>
{
["helmRegistryId"] = myHelmRegistry.Apply(getRegistryHelmResult => getRegistryHelmResult.Id),
};
});
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.GetRegistryHelmArgs;
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) {
// Data source to retrieve details of a specific SpectroCloud Helm registry by name
final var myHelmRegistry = SpectrocloudFunctions.getRegistryHelm(GetRegistryHelmArgs.builder()
.name("my-helm-registry")
.build());
ctx.export("helmRegistryId", myHelmRegistry.id());
}
}
variables:
# Data source to retrieve details of a specific SpectroCloud Helm registry by name
myHelmRegistry:
fn::invoke:
function: spectrocloud:getRegistryHelm
arguments:
name: my-helm-registry
outputs:
# Output the ID of the retrieved Helm registry
helmRegistryId: ${myHelmRegistry.id}
Using getRegistryHelm
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 getRegistryHelm(args: GetRegistryHelmArgs, opts?: InvokeOptions): Promise<GetRegistryHelmResult>
function getRegistryHelmOutput(args: GetRegistryHelmOutputArgs, opts?: InvokeOptions): Output<GetRegistryHelmResult>def get_registry_helm(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegistryHelmResult
def get_registry_helm_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegistryHelmResult]func LookupRegistryHelm(ctx *Context, args *LookupRegistryHelmArgs, opts ...InvokeOption) (*LookupRegistryHelmResult, error)
func LookupRegistryHelmOutput(ctx *Context, args *LookupRegistryHelmOutputArgs, opts ...InvokeOption) LookupRegistryHelmResultOutput> Note: This function is named LookupRegistryHelm in the Go SDK.
public static class GetRegistryHelm
{
public static Task<GetRegistryHelmResult> InvokeAsync(GetRegistryHelmArgs args, InvokeOptions? opts = null)
public static Output<GetRegistryHelmResult> Invoke(GetRegistryHelmInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegistryHelmResult> getRegistryHelm(GetRegistryHelmArgs args, InvokeOptions options)
public static Output<GetRegistryHelmResult> getRegistryHelm(GetRegistryHelmArgs args, InvokeOptions options)
fn::invoke:
function: spectrocloud:index/getRegistryHelm:getRegistryHelm
arguments:
# arguments dictionaryThe following arguments are supported:
getRegistryHelm Result
The following output properties are available:
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloudTerraform Provider.
Viewing docs for spectrocloud 0.28.3
published on Friday, Mar 6, 2026 by spectrocloud
published on Friday, Mar 6, 2026 by spectrocloud
