spectrocloud.RegistryOci
Explore with Pulumi AI
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
Registry
Oci Credentials - Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- Endpoint string
- 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 string
- The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
- Base
Content stringPath - The relative path to the endpoint specified.
- Endpoint
Suffix 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.
- Is
Synchronization bool - Specifies whether the registry is synchronized.
- Name string
- The name of the OCI registry.
- Provider
Type string - The type of provider used for interacting with the registry. Supported value's are
helm
,zarf
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- Registry
Oci stringId - The ID of this resource.
- Timeouts
Registry
Oci Timeouts
- Credentials
Registry
Oci Credentials Args - Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- Endpoint string
- 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 string
- The type of the registry. Possible values are 'ecr' (Amazon Elastic Container Registry) or 'basic' (for other types of OCI registries).
- Base
Content stringPath - The relative path to the endpoint specified.
- Endpoint
Suffix 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.
- Is
Synchronization bool - Specifies whether the registry is synchronized.
- Name string
- The name of the OCI registry.
- Provider
Type string - The type of provider used for interacting with the registry. Supported value's are
helm
,zarf
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- Registry
Oci stringId - The ID of this resource.
- Timeouts
Registry
Oci Timeouts Args
- credentials
Registry
Oci Credentials - Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- endpoint String
- The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
- is
Private 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).
- base
Content StringPath - The relative path to the endpoint specified.
- endpoint
Suffix 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.
- is
Synchronization Boolean - Specifies whether the registry is synchronized.
- name String
- The name of the OCI registry.
- provider
Type String - The type of provider used for interacting with the registry. Supported value's are
helm
,zarf
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- registry
Oci StringId - The ID of this resource.
- timeouts
Registry
Oci Timeouts
- credentials
Registry
Oci Credentials - Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- endpoint string
- The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
- is
Private 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).
- base
Content stringPath - The relative path to the endpoint specified.
- endpoint
Suffix 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.
- is
Synchronization boolean - Specifies whether the registry is synchronized.
- name string
- The name of the OCI registry.
- provider
Type string - The type of provider used for interacting with the registry. Supported value's are
helm
,zarf
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- registry
Oci stringId - The ID of this resource.
- timeouts
Registry
Oci Timeouts
- credentials
Registry
Oci Credentials Args - Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- 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_ strpath - 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
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- registry_
oci_ strid - The ID of this resource.
- timeouts
Registry
Oci Timeouts Args
- credentials Property Map
- Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- endpoint String
- The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
- is
Private 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).
- base
Content StringPath - The relative path to the endpoint specified.
- endpoint
Suffix 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.
- is
Synchronization Boolean - Specifies whether the registry is synchronized.
- name String
- The name of the OCI registry.
- provider
Type String - The type of provider used for interacting with the registry. Supported value's are
helm
,zarf
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- registry
Oci StringId - 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.
- Base
Content stringPath - The relative path to the endpoint specified.
- Credentials
Registry
Oci Credentials - Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- Endpoint string
- The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
- Endpoint
Suffix 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.
- 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 string
- The name of the OCI registry.
- Provider
Type string - The type of provider used for interacting with the registry. Supported value's are
helm
,zarf
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- Registry
Oci stringId - The ID of this resource.
- Timeouts
Registry
Oci Timeouts - 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 stringPath - The relative path to the endpoint specified.
- Credentials
Registry
Oci Credentials Args - Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- Endpoint string
- The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
- Endpoint
Suffix 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.
- 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 string
- The name of the OCI registry.
- Provider
Type string - The type of provider used for interacting with the registry. Supported value's are
helm
,zarf
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- Registry
Oci stringId - The ID of this resource.
- Timeouts
Registry
Oci Timeouts Args - 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 StringPath - The relative path to the endpoint specified.
- credentials
Registry
Oci Credentials - Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- endpoint String
- The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
- endpoint
Suffix 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.
- is
Private Boolean - Specifies whether the registry is private or public. Private registries require authentication to access.
- is
Synchronization Boolean - Specifies whether the registry is synchronized.
- name String
- The name of the OCI registry.
- provider
Type String - The type of provider used for interacting with the registry. Supported value's are
helm
,zarf
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- registry
Oci StringId - The ID of this resource.
- timeouts
Registry
Oci Timeouts - 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 stringPath - The relative path to the endpoint specified.
- credentials
Registry
Oci Credentials - Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- endpoint string
- The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
- endpoint
Suffix 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.
- is
Private boolean - Specifies whether the registry is private or public. Private registries require authentication to access.
- is
Synchronization boolean - Specifies whether the registry is synchronized.
- name string
- The name of the OCI registry.
- provider
Type string - The type of provider used for interacting with the registry. Supported value's are
helm
,zarf
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- registry
Oci stringId - The ID of this resource.
- timeouts
Registry
Oci Timeouts - 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_ strpath - The relative path to the endpoint specified.
- credentials
Registry
Oci Credentials Args - Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- 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
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- registry_
oci_ strid - The ID of this resource.
- timeouts
Registry
Oci Timeouts Args - 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 StringPath - The relative path to the endpoint specified.
- credentials Property Map
- Authentication credentials to access the private OCI registry. Required if
is_private
is set totrue
- endpoint String
- The URL endpoint of the OCI registry. This is where the container images are hosted and accessed.
- endpoint
Suffix 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.
- is
Private Boolean - Specifies whether the registry is private or public. Private registries require authentication to access.
- is
Synchronization Boolean - Specifies whether the registry is synchronized.
- name String
- The name of the OCI registry.
- provider
Type String - The type of provider used for interacting with the registry. Supported value's are
helm
,zarf
andpack
, The default is 'helm'.zarf
is allowed withtype="basic"
- registry
Oci StringId - 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
- Credential
Type string - The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
- Access
Key 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'.
- External
Id 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'.
- Secret
Key string - The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
- Tls
Config RegistryOci Credentials Tls Config - TLS configuration for the registry.
- Username string
- The username for basic authentication. Required if 'credential_type' is 'basic'.
- Credential
Type string - The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
- Access
Key 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'.
- External
Id 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'.
- Secret
Key string - The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
- Tls
Config RegistryOci Credentials Tls Config - TLS configuration for the registry.
- Username string
- The username for basic authentication. Required if 'credential_type' is 'basic'.
- credential
Type String - The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
- access
Key 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'.
- external
Id 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'.
- secret
Key String - The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
- tls
Config RegistryOci Credentials Tls Config - TLS configuration for the registry.
- username String
- The username for basic authentication. Required if 'credential_type' is 'basic'.
- credential
Type string - The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
- access
Key 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'.
- external
Id 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'.
- secret
Key string - The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
- tls
Config RegistryOci Credentials Tls Config - 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 RegistryOci Credentials Tls Config - TLS configuration for the registry.
- username str
- The username for basic authentication. Required if 'credential_type' is 'basic'.
- credential
Type String - The type of authentication used for accessing the registry. Supported values are 'secret', 'sts', 'basic', and 'noAuth'.
- access
Key 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'.
- external
Id 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'.
- secret
Key String - The secret key for accessing the registry. Required if 'credential_type' is set to 'secret'.
- tls
Config 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.
- Insecure
Skip boolVerify - 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.
- Insecure
Skip boolVerify - 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.
- insecure
Skip BooleanVerify - 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.
- insecure
Skip booleanVerify - 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_ boolverify - 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.
- insecure
Skip BooleanVerify - Disables TLS certificate verification when set to true. Use with caution as it may expose connections to security risks.
RegistryOciTimeouts, RegistryOciTimeoutsArgs
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloud
Terraform Provider.