1. Packages
  2. Spectrocloud Provider
  3. API Docs
  4. getRegistryHelm
spectrocloud 0.23.4 published on Monday, Apr 14, 2025 by spectrocloud

spectrocloud.getRegistryHelm

Explore with Pulumi AI

spectrocloud logo
spectrocloud 0.23.4 published on Monday, Apr 14, 2025 by spectrocloud

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as spectrocloud from "@pulumi/spectrocloud";
    
    const registry1 = spectrocloud.getRegistryHelm({
        name: "spectro-helm-repo",
    });
    export const test = registry1;
    
    import pulumi
    import pulumi_spectrocloud as spectrocloud
    
    registry1 = spectrocloud.get_registry_helm(name="spectro-helm-repo")
    pulumi.export("test", registry1)
    
    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 {
    		registry1, err := spectrocloud.LookupRegistryHelm(ctx, &spectrocloud.LookupRegistryHelmArgs{
    			Name: "spectro-helm-repo",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("test", registry1)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Spectrocloud = Pulumi.Spectrocloud;
    
    return await Deployment.RunAsync(() => 
    {
        var registry1 = Spectrocloud.GetRegistryHelm.Invoke(new()
        {
            Name = "spectro-helm-repo",
        });
    
        return new Dictionary<string, object?>
        {
            ["test"] = registry1,
        };
    });
    
    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) {
            final var registry1 = SpectrocloudFunctions.getRegistryHelm(GetRegistryHelmArgs.builder()
                .name("spectro-helm-repo")
                .build());
    
            ctx.export("test", registry1.applyValue(getRegistryHelmResult -> getRegistryHelmResult));
        }
    }
    
    variables:
      registry1:
        fn::invoke:
          function: spectrocloud:getRegistryHelm
          arguments:
            name: spectro-helm-repo
    outputs:
      test: ${registry1}
    

    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 dictionary

    The following arguments are supported:

    Name string
    Id string
    The ID of this resource.
    Name string
    Id string
    The ID of this resource.
    name String
    id String
    The ID of this resource.
    name string
    id string
    The ID of this resource.
    name str
    id str
    The ID of this resource.
    name String
    id String
    The ID of this resource.

    getRegistryHelm Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Name string
    Id string
    The ID of this resource.
    Name string
    id String
    The ID of this resource.
    name String
    id string
    The ID of this resource.
    name string
    id str
    The ID of this resource.
    name str
    id String
    The ID of this resource.
    name String

    Package Details

    Repository
    spectrocloud spectrocloud/terraform-provider-spectrocloud
    License
    Notes
    This Pulumi package is based on the spectrocloud Terraform Provider.
    spectrocloud logo
    spectrocloud 0.23.4 published on Monday, Apr 14, 2025 by spectrocloud