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

spectrocloud.RegistryOci

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.RegistryOci("r1", {
        credentials: {
            arn: "arn:aws:iam::123456:role/stage-demo-ecr",
            credentialType: "sts",
            externalId: "sofiwhgowbrgiornM=",
        },
        endpoint: "123456.dkr.ecr.us-west-1.amazonaws.com",
        isPrivate: true,
        type: "ecr",
    });
    // basic
    
    import pulumi
    import pulumi_spectrocloud as spectrocloud
    
    r1 = spectrocloud.RegistryOci("r1",
        credentials={
            "arn": "arn:aws:iam::123456:role/stage-demo-ecr",
            "credential_type": "sts",
            "external_id": "sofiwhgowbrgiornM=",
        },
        endpoint="123456.dkr.ecr.us-west-1.amazonaws.com",
        is_private=True,
        type="ecr")
    # basic
    
    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.NewRegistryOci(ctx, "r1", &spectrocloud.RegistryOciArgs{
    			Credentials: &spectrocloud.RegistryOciCredentialsArgs{
    				Arn:            pulumi.String("arn:aws:iam::123456:role/stage-demo-ecr"),
    				CredentialType: pulumi.String("sts"),
    				ExternalId:     pulumi.String("sofiwhgowbrgiornM="),
    			},
    			Endpoint:  pulumi.String("123456.dkr.ecr.us-west-1.amazonaws.com"),
    			IsPrivate: pulumi.Bool(true),
    			Type:      pulumi.String("ecr"),
    		})
    		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.RegistryOci("r1", new()
        {
            Credentials = new Spectrocloud.Inputs.RegistryOciCredentialsArgs
            {
                Arn = "arn:aws:iam::123456:role/stage-demo-ecr",
                CredentialType = "sts",
                ExternalId = "sofiwhgowbrgiornM=",
            },
            Endpoint = "123456.dkr.ecr.us-west-1.amazonaws.com",
            IsPrivate = true,
            Type = "ecr",
        });
    
        // basic
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.spectrocloud.RegistryOci;
    import com.pulumi.spectrocloud.RegistryOciArgs;
    import com.pulumi.spectrocloud.inputs.RegistryOciCredentialsArgs;
    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 RegistryOci("r1", RegistryOciArgs.builder()
                .credentials(RegistryOciCredentialsArgs.builder()
                    .arn("arn:aws:iam::123456:role/stage-demo-ecr")
                    .credentialType("sts")
                    .externalId("sofiwhgowbrgiornM=")
                    .build())
                .endpoint("123456.dkr.ecr.us-west-1.amazonaws.com")
                .isPrivate(true)
                .type("ecr")
                .build());
    
            // basic
        }
    }
    
    resources:
      r1:
        type: spectrocloud:RegistryOci
        properties:
          credentials:
            arn: arn:aws:iam::123456:role/stage-demo-ecr
            credentialType: sts
            externalId: sofiwhgowbrgiornM=
          endpoint: 123456.dkr.ecr.us-west-1.amazonaws.com
          isPrivate: true
          type: ecr
    

    Create RegistryOci Resource

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

    Constructor syntax

    new RegistryOci(name: string, args: RegistryOciArgs, opts?: CustomResourceOptions);
    @overload
    def RegistryOci(resource_name: str,
                    args: RegistryOciArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def RegistryOci(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    credentials: Optional[RegistryOciCredentialsArgs] = None,
                    endpoint: Optional[str] = None,
                    is_private: Optional[bool] = None,
                    type: Optional[str] = None,
                    base_content_path: Optional[str] = None,
                    endpoint_suffix: Optional[str] = None,
                    is_synchronization: Optional[bool] = None,
                    name: Optional[str] = None,
                    provider_type: Optional[str] = None,
                    registry_oci_id: Optional[str] = None,
                    timeouts: Optional[RegistryOciTimeoutsArgs] = None)
    func NewRegistryOci(ctx *Context, name string, args RegistryOciArgs, opts ...ResourceOption) (*RegistryOci, error)
    public RegistryOci(string name, RegistryOciArgs args, CustomResourceOptions? opts = null)
    public RegistryOci(String name, RegistryOciArgs args)
    public RegistryOci(String name, RegistryOciArgs args, CustomResourceOptions options)
    
    type: spectrocloud:RegistryOci
    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 RegistryOciArgs
    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 RegistryOciArgs
    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 RegistryOciArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegistryOciArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RegistryOciArgs
    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 registryOciResource = new Spectrocloud.RegistryOci("registryOciResource", new()
    {
        Credentials = new Spectrocloud.Inputs.RegistryOciCredentialsArgs
        {
            CredentialType = "string",
            AccessKey = "string",
            Arn = "string",
            ExternalId = "string",
            Password = "string",
            SecretKey = "string",
            TlsConfig = new Spectrocloud.Inputs.RegistryOciCredentialsTlsConfigArgs
            {
                Certificate = "string",
                InsecureSkipVerify = false,
            },
            Username = "string",
        },
        Endpoint = "string",
        IsPrivate = false,
        Type = "string",
        BaseContentPath = "string",
        EndpointSuffix = "string",
        IsSynchronization = false,
        Name = "string",
        ProviderType = "string",
        RegistryOciId = "string",
        Timeouts = new Spectrocloud.Inputs.RegistryOciTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := spectrocloud.NewRegistryOci(ctx, "registryOciResource", &spectrocloud.RegistryOciArgs{
    	Credentials: &spectrocloud.RegistryOciCredentialsArgs{
    		CredentialType: pulumi.String("string"),
    		AccessKey:      pulumi.String("string"),
    		Arn:            pulumi.String("string"),
    		ExternalId:     pulumi.String("string"),
    		Password:       pulumi.String("string"),
    		SecretKey:      pulumi.String("string"),
    		TlsConfig: &spectrocloud.RegistryOciCredentialsTlsConfigArgs{
    			Certificate:        pulumi.String("string"),
    			InsecureSkipVerify: pulumi.Bool(false),
    		},
    		Username: pulumi.String("string"),
    	},
    	Endpoint:          pulumi.String("string"),
    	IsPrivate:         pulumi.Bool(false),
    	Type:              pulumi.String("string"),
    	BaseContentPath:   pulumi.String("string"),
    	EndpointSuffix:    pulumi.String("string"),
    	IsSynchronization: pulumi.Bool(false),
    	Name:              pulumi.String("string"),
    	ProviderType:      pulumi.String("string"),
    	RegistryOciId:     pulumi.String("string"),
    	Timeouts: &spectrocloud.RegistryOciTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var registryOciResource = new RegistryOci("registryOciResource", RegistryOciArgs.builder()
        .credentials(RegistryOciCredentialsArgs.builder()
            .credentialType("string")
            .accessKey("string")
            .arn("string")
            .externalId("string")
            .password("string")
            .secretKey("string")
            .tlsConfig(RegistryOciCredentialsTlsConfigArgs.builder()
                .certificate("string")
                .insecureSkipVerify(false)
                .build())
            .username("string")
            .build())
        .endpoint("string")
        .isPrivate(false)
        .type("string")
        .baseContentPath("string")
        .endpointSuffix("string")
        .isSynchronization(false)
        .name("string")
        .providerType("string")
        .registryOciId("string")
        .timeouts(RegistryOciTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    registry_oci_resource = spectrocloud.RegistryOci("registryOciResource",
        credentials={
            "credential_type": "string",
            "access_key": "string",
            "arn": "string",
            "external_id": "string",
            "password": "string",
            "secret_key": "string",
            "tls_config": {
                "certificate": "string",
                "insecure_skip_verify": False,
            },
            "username": "string",
        },
        endpoint="string",
        is_private=False,
        type="string",
        base_content_path="string",
        endpoint_suffix="string",
        is_synchronization=False,
        name="string",
        provider_type="string",
        registry_oci_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const registryOciResource = new spectrocloud.RegistryOci("registryOciResource", {
        credentials: {
            credentialType: "string",
            accessKey: "string",
            arn: "string",
            externalId: "string",
            password: "string",
            secretKey: "string",
            tlsConfig: {
                certificate: "string",
                insecureSkipVerify: false,
            },
            username: "string",
        },
        endpoint: "string",
        isPrivate: false,
        type: "string",
        baseContentPath: "string",
        endpointSuffix: "string",
        isSynchronization: false,
        name: "string",
        providerType: "string",
        registryOciId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: spectrocloud:RegistryOci
    properties:
        baseContentPath: string
        credentials:
            accessKey: string
            arn: string
            credentialType: string
            externalId: string
            password: string
            secretKey: string
            tlsConfig:
                certificate: string
                insecureSkipVerify: false
            username: string
        endpoint: string
        endpointSuffix: string
        isPrivate: false
        isSynchronization: false
        name: string
        providerType: string
        registryOciId: string
        timeouts:
            create: string
            delete: string
            update: string
        type: string
    

    RegistryOci 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 RegistryOci resource accepts the following input properties:

    Credentials RegistryOciCredentials
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    Endpoint string
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    IsPrivate bool
    Specifies whether the registry is private or public. Private registries require authentication to access.
    Type string
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    BaseContentPath string
    The relative path to the endpoint specified.
    EndpointSuffix string
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    IsSynchronization bool
    Specifies whether the registry is synchronized.
    Name string
    The name of the OCI registry.
    ProviderType string
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    RegistryOciId string
    The ID of this resource.
    Timeouts RegistryOciTimeouts
    Credentials RegistryOciCredentialsArgs
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    Endpoint string
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    IsPrivate bool
    Specifies whether the registry is private or public. Private registries require authentication to access.
    Type string
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    BaseContentPath string
    The relative path to the endpoint specified.
    EndpointSuffix string
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    IsSynchronization bool
    Specifies whether the registry is synchronized.
    Name string
    The name of the OCI registry.
    ProviderType string
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    RegistryOciId string
    The ID of this resource.
    Timeouts RegistryOciTimeoutsArgs
    credentials RegistryOciCredentials
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    endpoint String
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    isPrivate Boolean
    Specifies whether the registry is private or public. Private registries require authentication to access.
    type String
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    baseContentPath String
    The relative path to the endpoint specified.
    endpointSuffix String
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    isSynchronization Boolean
    Specifies whether the registry is synchronized.
    name String
    The name of the OCI registry.
    providerType String
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    registryOciId String
    The ID of this resource.
    timeouts RegistryOciTimeouts
    credentials RegistryOciCredentials
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    endpoint string
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    isPrivate boolean
    Specifies whether the registry is private or public. Private registries require authentication to access.
    type string
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    baseContentPath string
    The relative path to the endpoint specified.
    endpointSuffix string
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    isSynchronization boolean
    Specifies whether the registry is synchronized.
    name string
    The name of the OCI registry.
    providerType string
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    registryOciId string
    The ID of this resource.
    timeouts RegistryOciTimeouts
    credentials RegistryOciCredentialsArgs
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    endpoint str
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    is_private bool
    Specifies whether the registry is private or public. Private registries require authentication to access.
    type str
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    base_content_path str
    The relative path to the endpoint specified.
    endpoint_suffix str
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    is_synchronization bool
    Specifies whether the registry is synchronized.
    name str
    The name of the OCI registry.
    provider_type str
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    registry_oci_id str
    The ID of this resource.
    timeouts RegistryOciTimeoutsArgs
    credentials Property Map
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    endpoint String
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    isPrivate Boolean
    Specifies whether the registry is private or public. Private registries require authentication to access.
    type String
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    baseContentPath String
    The relative path to the endpoint specified.
    endpointSuffix String
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    isSynchronization Boolean
    Specifies whether the registry is synchronized.
    name String
    The name of the OCI registry.
    providerType String
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    registryOciId String
    The ID of this resource.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RegistryOci 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 RegistryOci Resource

    Get an existing RegistryOci 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?: RegistryOciState, opts?: CustomResourceOptions): RegistryOci
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            base_content_path: Optional[str] = None,
            credentials: Optional[RegistryOciCredentialsArgs] = None,
            endpoint: Optional[str] = None,
            endpoint_suffix: Optional[str] = None,
            is_private: Optional[bool] = None,
            is_synchronization: Optional[bool] = None,
            name: Optional[str] = None,
            provider_type: Optional[str] = None,
            registry_oci_id: Optional[str] = None,
            timeouts: Optional[RegistryOciTimeoutsArgs] = None,
            type: Optional[str] = None) -> RegistryOci
    func GetRegistryOci(ctx *Context, name string, id IDInput, state *RegistryOciState, opts ...ResourceOption) (*RegistryOci, error)
    public static RegistryOci Get(string name, Input<string> id, RegistryOciState? state, CustomResourceOptions? opts = null)
    public static RegistryOci get(String name, Output<String> id, RegistryOciState state, CustomResourceOptions options)
    resources:  _:    type: spectrocloud:RegistryOci    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:
    BaseContentPath string
    The relative path to the endpoint specified.
    Credentials RegistryOciCredentials
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    Endpoint string
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    EndpointSuffix string
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    IsPrivate bool
    Specifies whether the registry is private or public. Private registries require authentication to access.
    IsSynchronization bool
    Specifies whether the registry is synchronized.
    Name string
    The name of the OCI registry.
    ProviderType string
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    RegistryOciId string
    The ID of this resource.
    Timeouts RegistryOciTimeouts
    Type string
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    BaseContentPath string
    The relative path to the endpoint specified.
    Credentials RegistryOciCredentialsArgs
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    Endpoint string
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    EndpointSuffix string
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    IsPrivate bool
    Specifies whether the registry is private or public. Private registries require authentication to access.
    IsSynchronization bool
    Specifies whether the registry is synchronized.
    Name string
    The name of the OCI registry.
    ProviderType string
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    RegistryOciId string
    The ID of this resource.
    Timeouts RegistryOciTimeoutsArgs
    Type string
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    baseContentPath String
    The relative path to the endpoint specified.
    credentials RegistryOciCredentials
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    endpoint String
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    endpointSuffix String
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    isPrivate Boolean
    Specifies whether the registry is private or public. Private registries require authentication to access.
    isSynchronization Boolean
    Specifies whether the registry is synchronized.
    name String
    The name of the OCI registry.
    providerType String
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    registryOciId String
    The ID of this resource.
    timeouts RegistryOciTimeouts
    type String
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    baseContentPath string
    The relative path to the endpoint specified.
    credentials RegistryOciCredentials
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    endpoint string
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    endpointSuffix string
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    isPrivate boolean
    Specifies whether the registry is private or public. Private registries require authentication to access.
    isSynchronization boolean
    Specifies whether the registry is synchronized.
    name string
    The name of the OCI registry.
    providerType string
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    registryOciId string
    The ID of this resource.
    timeouts RegistryOciTimeouts
    type string
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    base_content_path str
    The relative path to the endpoint specified.
    credentials RegistryOciCredentialsArgs
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    endpoint str
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    endpoint_suffix str
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    is_private bool
    Specifies whether the registry is private or public. Private registries require authentication to access.
    is_synchronization bool
    Specifies whether the registry is synchronized.
    name str
    The name of the OCI registry.
    provider_type str
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    registry_oci_id str
    The ID of this resource.
    timeouts RegistryOciTimeoutsArgs
    type str
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
    baseContentPath String
    The relative path to the endpoint specified.
    credentials Property Map
    Authentication credentials to access the private OCI registry. Required if is_private is set to true
    endpoint String
    The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
    endpointSuffix String
    Specifies a suffix to append to the endpoint. This field is optional, but some registries (e.g., JFrog) may require it. The final registry URL is constructed by appending this suffix to the endpoint.
    isPrivate Boolean
    Specifies whether the registry is private or public. Private registries require authentication to access.
    isSynchronization Boolean
    Specifies whether the registry is synchronized.
    name String
    The name of the OCI registry.
    providerType String
    The type of provider used for interacting with the registry. Supported value's are helm, zarf and pack, The default is 'helm'. zarf is allowed with type="basic"
    registryOciId String
    The ID of this resource.
    timeouts Property Map
    type String
    The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).

    Supporting Types

    RegistryOciCredentials, RegistryOciCredentialsArgs

    CredentialType string
    The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
    AccessKey string
    The access key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    Arn string
    The Amazon Resource Name (ARN) used for AWS-based authentication. Required if 'credential_type' is 'sts'.
    ExternalId string
    The external ID used for AWS STS (Security Token Service) authentication. Required if 'credential_type' is 'sts'.
    Password string
    The password for basic authentication. Required if 'credential_type' is 'basic'.
    SecretKey string
    The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    TlsConfig RegistryOciCredentialsTlsConfig
    TLS configuration for the registry.
    Username string
    The username for basic authentication. Required if 'credential_type' is 'basic'.
    CredentialType string
    The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
    AccessKey string
    The access key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    Arn string
    The Amazon Resource Name (ARN) used for AWS-based authentication. Required if 'credential_type' is 'sts'.
    ExternalId string
    The external ID used for AWS STS (Security Token Service) authentication. Required if 'credential_type' is 'sts'.
    Password string
    The password for basic authentication. Required if 'credential_type' is 'basic'.
    SecretKey string
    The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    TlsConfig RegistryOciCredentialsTlsConfig
    TLS configuration for the registry.
    Username string
    The username for basic authentication. Required if 'credential_type' is 'basic'.
    credentialType String
    The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
    accessKey String
    The access key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    arn String
    The Amazon Resource Name (ARN) used for AWS-based authentication. Required if 'credential_type' is 'sts'.
    externalId String
    The external ID used for AWS STS (Security Token Service) authentication. Required if 'credential_type' is 'sts'.
    password String
    The password for basic authentication. Required if 'credential_type' is 'basic'.
    secretKey String
    The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    tlsConfig RegistryOciCredentialsTlsConfig
    TLS configuration for the registry.
    username String
    The username for basic authentication. Required if 'credential_type' is 'basic'.
    credentialType string
    The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
    accessKey string
    The access key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    arn string
    The Amazon Resource Name (ARN) used for AWS-based authentication. Required if 'credential_type' is 'sts'.
    externalId string
    The external ID used for AWS STS (Security Token Service) authentication. Required if 'credential_type' is 'sts'.
    password string
    The password for basic authentication. Required if 'credential_type' is 'basic'.
    secretKey string
    The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    tlsConfig RegistryOciCredentialsTlsConfig
    TLS configuration for the registry.
    username string
    The username for basic authentication. Required if 'credential_type' is 'basic'.
    credential_type str
    The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
    access_key str
    The access key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    arn str
    The Amazon Resource Name (ARN) used for AWS-based authentication. Required if 'credential_type' is 'sts'.
    external_id str
    The external ID used for AWS STS (Security Token Service) authentication. Required if 'credential_type' is 'sts'.
    password str
    The password for basic authentication. Required if 'credential_type' is 'basic'.
    secret_key str
    The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    tls_config RegistryOciCredentialsTlsConfig
    TLS configuration for the registry.
    username str
    The username for basic authentication. Required if 'credential_type' is 'basic'.
    credentialType String
    The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
    accessKey String
    The access key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    arn String
    The Amazon Resource Name (ARN) used for AWS-based authentication. Required if 'credential_type' is 'sts'.
    externalId String
    The external ID used for AWS STS (Security Token Service) authentication. Required if 'credential_type' is 'sts'.
    password String
    The password for basic authentication. Required if 'credential_type' is 'basic'.
    secretKey String
    The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
    tlsConfig Property Map
    TLS configuration for the registry.
    username String
    The username for basic authentication. Required if 'credential_type' is 'basic'.

    RegistryOciCredentialsTlsConfig, RegistryOciCredentialsTlsConfigArgs

    Certificate string
    Specifies the TLS certificate used for secure communication. Required for enabling SSL/TLS encryption.
    InsecureSkipVerify bool
    Disables TLS certificate verification when set to true. Use with caution as it may expose connections to security risks.
    Certificate string
    Specifies the TLS certificate used for secure communication. Required for enabling SSL/TLS encryption.
    InsecureSkipVerify bool
    Disables TLS certificate verification when set to true. Use with caution as it may expose connections to security risks.
    certificate String
    Specifies the TLS certificate used for secure communication. Required for enabling SSL/TLS encryption.
    insecureSkipVerify Boolean
    Disables TLS certificate verification when set to true. Use with caution as it may expose connections to security risks.
    certificate string
    Specifies the TLS certificate used for secure communication. Required for enabling SSL/TLS encryption.
    insecureSkipVerify boolean
    Disables TLS certificate verification when set to true. Use with caution as it may expose connections to security risks.
    certificate str
    Specifies the TLS certificate used for secure communication. Required for enabling SSL/TLS encryption.
    insecure_skip_verify bool
    Disables TLS certificate verification when set to true. Use with caution as it may expose connections to security risks.
    certificate String
    Specifies the TLS certificate used for secure communication. Required for enabling SSL/TLS encryption.
    insecureSkipVerify Boolean
    Disables TLS certificate verification when set to true. Use with caution as it may expose connections to security risks.

    RegistryOciTimeouts, RegistryOciTimeoutsArgs

    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