1. Packages
  2. Spectrocloud Provider
  3. API Docs
  4. RegistryHelm
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

spectrocloud.RegistryHelm

Explore with Pulumi AI

spectrocloud logo
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as spectrocloud from "@pulumi/spectrocloud";
    
    const r1 = new spectrocloud.RegistryHelm("r1", {
        credentials: {
            credentialType: "noAuth",
            password: "def",
            username: "abc",
        },
        endpoint: "https://123456.dkr.ecr.us-west-1.amazonaws.com",
        isPrivate: true,
    });
    
    import pulumi
    import pulumi_spectrocloud as spectrocloud
    
    r1 = spectrocloud.RegistryHelm("r1",
        credentials={
            "credential_type": "noAuth",
            "password": "def",
            "username": "abc",
        },
        endpoint="https://123456.dkr.ecr.us-west-1.amazonaws.com",
        is_private=True)
    
    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 {
    		_, err := spectrocloud.NewRegistryHelm(ctx, "r1", &spectrocloud.RegistryHelmArgs{
    			Credentials: &spectrocloud.RegistryHelmCredentialsArgs{
    				CredentialType: pulumi.String("noAuth"),
    				Password:       pulumi.String("def"),
    				Username:       pulumi.String("abc"),
    			},
    			Endpoint:  pulumi.String("https://123456.dkr.ecr.us-west-1.amazonaws.com"),
    			IsPrivate: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Spectrocloud = Pulumi.Spectrocloud;
    
    return await Deployment.RunAsync(() => 
    {
        var r1 = new Spectrocloud.RegistryHelm("r1", new()
        {
            Credentials = new Spectrocloud.Inputs.RegistryHelmCredentialsArgs
            {
                CredentialType = "noAuth",
                Password = "def",
                Username = "abc",
            },
            Endpoint = "https://123456.dkr.ecr.us-west-1.amazonaws.com",
            IsPrivate = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.spectrocloud.RegistryHelm;
    import com.pulumi.spectrocloud.RegistryHelmArgs;
    import com.pulumi.spectrocloud.inputs.RegistryHelmCredentialsArgs;
    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) {
            var r1 = new RegistryHelm("r1", RegistryHelmArgs.builder()
                .credentials(RegistryHelmCredentialsArgs.builder()
                    .credentialType("noAuth")
                    .password("def")
                    .username("abc")
                    .build())
                .endpoint("https://123456.dkr.ecr.us-west-1.amazonaws.com")
                .isPrivate(true)
                .build());
    
        }
    }
    
    resources:
      r1:
        type: spectrocloud:RegistryHelm
        properties:
          credentials:
            credentialType: noAuth
            password: def
            username: abc
          endpoint: https://123456.dkr.ecr.us-west-1.amazonaws.com
          isPrivate: true
    

    Create RegistryHelm Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RegistryHelm(name: string, args: RegistryHelmArgs, opts?: CustomResourceOptions);
    @overload
    def RegistryHelm(resource_name: str,
                     args: RegistryHelmArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def RegistryHelm(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     credentials: Optional[RegistryHelmCredentialsArgs] = None,
                     endpoint: Optional[str] = None,
                     is_private: Optional[bool] = None,
                     name: Optional[str] = None,
                     registry_helm_id: Optional[str] = None,
                     timeouts: Optional[RegistryHelmTimeoutsArgs] = None)
    func NewRegistryHelm(ctx *Context, name string, args RegistryHelmArgs, opts ...ResourceOption) (*RegistryHelm, error)
    public RegistryHelm(string name, RegistryHelmArgs args, CustomResourceOptions? opts = null)
    public RegistryHelm(String name, RegistryHelmArgs args)
    public RegistryHelm(String name, RegistryHelmArgs args, CustomResourceOptions options)
    
    type: spectrocloud:RegistryHelm
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RegistryHelmArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RegistryHelmArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RegistryHelmArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegistryHelmArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RegistryHelmArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var registryHelmResource = new Spectrocloud.RegistryHelm("registryHelmResource", new()
    {
        Credentials = new Spectrocloud.Inputs.RegistryHelmCredentialsArgs
        {
            CredentialType = "string",
            Password = "string",
            Token = "string",
            Username = "string",
        },
        Endpoint = "string",
        IsPrivate = false,
        Name = "string",
        RegistryHelmId = "string",
        Timeouts = new Spectrocloud.Inputs.RegistryHelmTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := spectrocloud.NewRegistryHelm(ctx, "registryHelmResource", &spectrocloud.RegistryHelmArgs{
    	Credentials: &spectrocloud.RegistryHelmCredentialsArgs{
    		CredentialType: pulumi.String("string"),
    		Password:       pulumi.String("string"),
    		Token:          pulumi.String("string"),
    		Username:       pulumi.String("string"),
    	},
    	Endpoint:       pulumi.String("string"),
    	IsPrivate:      pulumi.Bool(false),
    	Name:           pulumi.String("string"),
    	RegistryHelmId: pulumi.String("string"),
    	Timeouts: &spectrocloud.RegistryHelmTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var registryHelmResource = new RegistryHelm("registryHelmResource", RegistryHelmArgs.builder()
        .credentials(RegistryHelmCredentialsArgs.builder()
            .credentialType("string")
            .password("string")
            .token("string")
            .username("string")
            .build())
        .endpoint("string")
        .isPrivate(false)
        .name("string")
        .registryHelmId("string")
        .timeouts(RegistryHelmTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    registry_helm_resource = spectrocloud.RegistryHelm("registryHelmResource",
        credentials={
            "credential_type": "string",
            "password": "string",
            "token": "string",
            "username": "string",
        },
        endpoint="string",
        is_private=False,
        name="string",
        registry_helm_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const registryHelmResource = new spectrocloud.RegistryHelm("registryHelmResource", {
        credentials: {
            credentialType: "string",
            password: "string",
            token: "string",
            username: "string",
        },
        endpoint: "string",
        isPrivate: false,
        name: "string",
        registryHelmId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: spectrocloud:RegistryHelm
    properties:
        credentials:
            credentialType: string
            password: string
            token: string
            username: string
        endpoint: string
        isPrivate: false
        name: string
        registryHelmId: string
        timeouts:
            create: string
            delete: string
            update: string
    

    RegistryHelm Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RegistryHelm resource accepts the following input properties:

    Credentials RegistryHelmCredentials
    Authentication credentials for accessing the Helm registry.
    Endpoint string
    The URL endpoint of the Helm registry where the charts are hosted.
    IsPrivate bool
    Specifies whether the Helm registry is private or public.
    Name string
    The name of the Helm registry. This must be unique
    RegistryHelmId string
    The ID of this resource.
    Timeouts RegistryHelmTimeouts
    Credentials RegistryHelmCredentialsArgs
    Authentication credentials for accessing the Helm registry.
    Endpoint string
    The URL endpoint of the Helm registry where the charts are hosted.
    IsPrivate bool
    Specifies whether the Helm registry is private or public.
    Name string
    The name of the Helm registry. This must be unique
    RegistryHelmId string
    The ID of this resource.
    Timeouts RegistryHelmTimeoutsArgs
    credentials RegistryHelmCredentials
    Authentication credentials for accessing the Helm registry.
    endpoint String
    The URL endpoint of the Helm registry where the charts are hosted.
    isPrivate Boolean
    Specifies whether the Helm registry is private or public.
    name String
    The name of the Helm registry. This must be unique
    registryHelmId String
    The ID of this resource.
    timeouts RegistryHelmTimeouts
    credentials RegistryHelmCredentials
    Authentication credentials for accessing the Helm registry.
    endpoint string
    The URL endpoint of the Helm registry where the charts are hosted.
    isPrivate boolean
    Specifies whether the Helm registry is private or public.
    name string
    The name of the Helm registry. This must be unique
    registryHelmId string
    The ID of this resource.
    timeouts RegistryHelmTimeouts
    credentials RegistryHelmCredentialsArgs
    Authentication credentials for accessing the Helm registry.
    endpoint str
    The URL endpoint of the Helm registry where the charts are hosted.
    is_private bool
    Specifies whether the Helm registry is private or public.
    name str
    The name of the Helm registry. This must be unique
    registry_helm_id str
    The ID of this resource.
    timeouts RegistryHelmTimeoutsArgs
    credentials Property Map
    Authentication credentials for accessing the Helm registry.
    endpoint String
    The URL endpoint of the Helm registry where the charts are hosted.
    isPrivate Boolean
    Specifies whether the Helm registry is private or public.
    name String
    The name of the Helm registry. This must be unique
    registryHelmId String
    The ID of this resource.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RegistryHelm resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RegistryHelm Resource

    Get an existing RegistryHelm resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RegistryHelmState, opts?: CustomResourceOptions): RegistryHelm
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            credentials: Optional[RegistryHelmCredentialsArgs] = None,
            endpoint: Optional[str] = None,
            is_private: Optional[bool] = None,
            name: Optional[str] = None,
            registry_helm_id: Optional[str] = None,
            timeouts: Optional[RegistryHelmTimeoutsArgs] = None) -> RegistryHelm
    func GetRegistryHelm(ctx *Context, name string, id IDInput, state *RegistryHelmState, opts ...ResourceOption) (*RegistryHelm, error)
    public static RegistryHelm Get(string name, Input<string> id, RegistryHelmState? state, CustomResourceOptions? opts = null)
    public static RegistryHelm get(String name, Output<String> id, RegistryHelmState state, CustomResourceOptions options)
    resources:  _:    type: spectrocloud:RegistryHelm    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Credentials RegistryHelmCredentials
    Authentication credentials for accessing the Helm registry.
    Endpoint string
    The URL endpoint of the Helm registry where the charts are hosted.
    IsPrivate bool
    Specifies whether the Helm registry is private or public.
    Name string
    The name of the Helm registry. This must be unique
    RegistryHelmId string
    The ID of this resource.
    Timeouts RegistryHelmTimeouts
    Credentials RegistryHelmCredentialsArgs
    Authentication credentials for accessing the Helm registry.
    Endpoint string
    The URL endpoint of the Helm registry where the charts are hosted.
    IsPrivate bool
    Specifies whether the Helm registry is private or public.
    Name string
    The name of the Helm registry. This must be unique
    RegistryHelmId string
    The ID of this resource.
    Timeouts RegistryHelmTimeoutsArgs
    credentials RegistryHelmCredentials
    Authentication credentials for accessing the Helm registry.
    endpoint String
    The URL endpoint of the Helm registry where the charts are hosted.
    isPrivate Boolean
    Specifies whether the Helm registry is private or public.
    name String
    The name of the Helm registry. This must be unique
    registryHelmId String
    The ID of this resource.
    timeouts RegistryHelmTimeouts
    credentials RegistryHelmCredentials
    Authentication credentials for accessing the Helm registry.
    endpoint string
    The URL endpoint of the Helm registry where the charts are hosted.
    isPrivate boolean
    Specifies whether the Helm registry is private or public.
    name string
    The name of the Helm registry. This must be unique
    registryHelmId string
    The ID of this resource.
    timeouts RegistryHelmTimeouts
    credentials RegistryHelmCredentialsArgs
    Authentication credentials for accessing the Helm registry.
    endpoint str
    The URL endpoint of the Helm registry where the charts are hosted.
    is_private bool
    Specifies whether the Helm registry is private or public.
    name str
    The name of the Helm registry. This must be unique
    registry_helm_id str
    The ID of this resource.
    timeouts RegistryHelmTimeoutsArgs
    credentials Property Map
    Authentication credentials for accessing the Helm registry.
    endpoint String
    The URL endpoint of the Helm registry where the charts are hosted.
    isPrivate Boolean
    Specifies whether the Helm registry is private or public.
    name String
    The name of the Helm registry. This must be unique
    registryHelmId String
    The ID of this resource.
    timeouts Property Map

    Supporting Types

    RegistryHelmCredentials, RegistryHelmCredentialsArgs

    CredentialType string
    The type of authentication used for the Helm registry. Supported values are 'noAuth' for no authentication, 'basic' for username/password, and 'token' for token-based authentication.
    Password string
    The password for basic authentication. Required if 'credential_type' is set to 'basic'.
    Token string
    The authentication token. Required if 'credential_type' is set to 'token'.
    Username string
    The username for basic authentication. Required if 'credential_type' is set to 'basic'.
    CredentialType string
    The type of authentication used for the Helm registry. Supported values are 'noAuth' for no authentication, 'basic' for username/password, and 'token' for token-based authentication.
    Password string
    The password for basic authentication. Required if 'credential_type' is set to 'basic'.
    Token string
    The authentication token. Required if 'credential_type' is set to 'token'.
    Username string
    The username for basic authentication. Required if 'credential_type' is set to 'basic'.
    credentialType String
    The type of authentication used for the Helm registry. Supported values are 'noAuth' for no authentication, 'basic' for username/password, and 'token' for token-based authentication.
    password String
    The password for basic authentication. Required if 'credential_type' is set to 'basic'.
    token String
    The authentication token. Required if 'credential_type' is set to 'token'.
    username String
    The username for basic authentication. Required if 'credential_type' is set to 'basic'.
    credentialType string
    The type of authentication used for the Helm registry. Supported values are 'noAuth' for no authentication, 'basic' for username/password, and 'token' for token-based authentication.
    password string
    The password for basic authentication. Required if 'credential_type' is set to 'basic'.
    token string
    The authentication token. Required if 'credential_type' is set to 'token'.
    username string
    The username for basic authentication. Required if 'credential_type' is set to 'basic'.
    credential_type str
    The type of authentication used for the Helm registry. Supported values are 'noAuth' for no authentication, 'basic' for username/password, and 'token' for token-based authentication.
    password str
    The password for basic authentication. Required if 'credential_type' is set to 'basic'.
    token str
    The authentication token. Required if 'credential_type' is set to 'token'.
    username str
    The username for basic authentication. Required if 'credential_type' is set to 'basic'.
    credentialType String
    The type of authentication used for the Helm registry. Supported values are 'noAuth' for no authentication, 'basic' for username/password, and 'token' for token-based authentication.
    password String
    The password for basic authentication. Required if 'credential_type' is set to 'basic'.
    token String
    The authentication token. Required if 'credential_type' is set to 'token'.
    username String
    The username for basic authentication. Required if 'credential_type' is set to 'basic'.

    RegistryHelmTimeouts, RegistryHelmTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update 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.5 published on Sunday, Apr 20, 2025 by spectrocloud