1. Packages
  2. Nexus Provider
  3. API Docs
  4. RepositoryDockerHosted
nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers

nexus.RepositoryDockerHosted

Explore with Pulumi AI

Use this resource to create a hosted docker repository.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as nexus from "@pulumi/nexus";

const example = new nexus.RepositoryDockerHosted("example", {
    docker: {
        forceBasicAuth: false,
        subdomain: "docker",
        v1Enabled: false,
    },
    online: true,
    storage: {
        blobStoreName: "default",
        strictContentTypeValidation: true,
        writePolicy: "ALLOW",
    },
});
Copy
import pulumi
import pulumi_nexus as nexus

example = nexus.RepositoryDockerHosted("example",
    docker={
        "force_basic_auth": False,
        "subdomain": "docker",
        "v1_enabled": False,
    },
    online=True,
    storage={
        "blob_store_name": "default",
        "strict_content_type_validation": True,
        "write_policy": "ALLOW",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/nexus/v2/nexus"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nexus.NewRepositoryDockerHosted(ctx, "example", &nexus.RepositoryDockerHostedArgs{
			Docker: &nexus.RepositoryDockerHostedDockerArgs{
				ForceBasicAuth: pulumi.Bool(false),
				Subdomain:      pulumi.String("docker"),
				V1Enabled:      pulumi.Bool(false),
			},
			Online: pulumi.Bool(true),
			Storage: &nexus.RepositoryDockerHostedStorageArgs{
				BlobStoreName:               pulumi.String("default"),
				StrictContentTypeValidation: pulumi.Bool(true),
				WritePolicy:                 pulumi.String("ALLOW"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nexus = Pulumi.Nexus;

return await Deployment.RunAsync(() => 
{
    var example = new Nexus.RepositoryDockerHosted("example", new()
    {
        Docker = new Nexus.Inputs.RepositoryDockerHostedDockerArgs
        {
            ForceBasicAuth = false,
            Subdomain = "docker",
            V1Enabled = false,
        },
        Online = true,
        Storage = new Nexus.Inputs.RepositoryDockerHostedStorageArgs
        {
            BlobStoreName = "default",
            StrictContentTypeValidation = true,
            WritePolicy = "ALLOW",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nexus.RepositoryDockerHosted;
import com.pulumi.nexus.RepositoryDockerHostedArgs;
import com.pulumi.nexus.inputs.RepositoryDockerHostedDockerArgs;
import com.pulumi.nexus.inputs.RepositoryDockerHostedStorageArgs;
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 example = new RepositoryDockerHosted("example", RepositoryDockerHostedArgs.builder()
            .docker(RepositoryDockerHostedDockerArgs.builder()
                .forceBasicAuth(false)
                .subdomain("docker")
                .v1Enabled(false)
                .build())
            .online(true)
            .storage(RepositoryDockerHostedStorageArgs.builder()
                .blobStoreName("default")
                .strictContentTypeValidation(true)
                .writePolicy("ALLOW")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: nexus:RepositoryDockerHosted
    properties:
      docker:
        forceBasicAuth: false
        subdomain: docker
        v1Enabled: false
      online: true
      storage:
        blobStoreName: default
        strictContentTypeValidation: true
        writePolicy: ALLOW
Copy

Create RepositoryDockerHosted Resource

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

Constructor syntax

new RepositoryDockerHosted(name: string, args: RepositoryDockerHostedArgs, opts?: CustomResourceOptions);
@overload
def RepositoryDockerHosted(resource_name: str,
                           args: RepositoryDockerHostedArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def RepositoryDockerHosted(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           docker: Optional[RepositoryDockerHostedDockerArgs] = None,
                           storage: Optional[RepositoryDockerHostedStorageArgs] = None,
                           cleanups: Optional[Sequence[RepositoryDockerHostedCleanupArgs]] = None,
                           component: Optional[RepositoryDockerHostedComponentArgs] = None,
                           name: Optional[str] = None,
                           online: Optional[bool] = None)
func NewRepositoryDockerHosted(ctx *Context, name string, args RepositoryDockerHostedArgs, opts ...ResourceOption) (*RepositoryDockerHosted, error)
public RepositoryDockerHosted(string name, RepositoryDockerHostedArgs args, CustomResourceOptions? opts = null)
public RepositoryDockerHosted(String name, RepositoryDockerHostedArgs args)
public RepositoryDockerHosted(String name, RepositoryDockerHostedArgs args, CustomResourceOptions options)
type: nexus:RepositoryDockerHosted
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. RepositoryDockerHostedArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. RepositoryDockerHostedArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. RepositoryDockerHostedArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. RepositoryDockerHostedArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. RepositoryDockerHostedArgs
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 repositoryDockerHostedResource = new Nexus.RepositoryDockerHosted("repositoryDockerHostedResource", new()
{
    Docker = new Nexus.Inputs.RepositoryDockerHostedDockerArgs
    {
        ForceBasicAuth = false,
        V1Enabled = false,
        HttpPort = 0,
        HttpsPort = 0,
        Subdomain = "string",
    },
    Storage = new Nexus.Inputs.RepositoryDockerHostedStorageArgs
    {
        BlobStoreName = "string",
        StrictContentTypeValidation = false,
        LatestPolicy = false,
        WritePolicy = "string",
    },
    Cleanups = new[]
    {
        new Nexus.Inputs.RepositoryDockerHostedCleanupArgs
        {
            PolicyNames = new[]
            {
                "string",
            },
        },
    },
    Component = new Nexus.Inputs.RepositoryDockerHostedComponentArgs
    {
        ProprietaryComponents = false,
    },
    Name = "string",
    Online = false,
});
Copy
example, err := nexus.NewRepositoryDockerHosted(ctx, "repositoryDockerHostedResource", &nexus.RepositoryDockerHostedArgs{
	Docker: &nexus.RepositoryDockerHostedDockerArgs{
		ForceBasicAuth: pulumi.Bool(false),
		V1Enabled:      pulumi.Bool(false),
		HttpPort:       pulumi.Float64(0),
		HttpsPort:      pulumi.Float64(0),
		Subdomain:      pulumi.String("string"),
	},
	Storage: &nexus.RepositoryDockerHostedStorageArgs{
		BlobStoreName:               pulumi.String("string"),
		StrictContentTypeValidation: pulumi.Bool(false),
		LatestPolicy:                pulumi.Bool(false),
		WritePolicy:                 pulumi.String("string"),
	},
	Cleanups: nexus.RepositoryDockerHostedCleanupArray{
		&nexus.RepositoryDockerHostedCleanupArgs{
			PolicyNames: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Component: &nexus.RepositoryDockerHostedComponentArgs{
		ProprietaryComponents: pulumi.Bool(false),
	},
	Name:   pulumi.String("string"),
	Online: pulumi.Bool(false),
})
Copy
var repositoryDockerHostedResource = new RepositoryDockerHosted("repositoryDockerHostedResource", RepositoryDockerHostedArgs.builder()
    .docker(RepositoryDockerHostedDockerArgs.builder()
        .forceBasicAuth(false)
        .v1Enabled(false)
        .httpPort(0)
        .httpsPort(0)
        .subdomain("string")
        .build())
    .storage(RepositoryDockerHostedStorageArgs.builder()
        .blobStoreName("string")
        .strictContentTypeValidation(false)
        .latestPolicy(false)
        .writePolicy("string")
        .build())
    .cleanups(RepositoryDockerHostedCleanupArgs.builder()
        .policyNames("string")
        .build())
    .component(RepositoryDockerHostedComponentArgs.builder()
        .proprietaryComponents(false)
        .build())
    .name("string")
    .online(false)
    .build());
Copy
repository_docker_hosted_resource = nexus.RepositoryDockerHosted("repositoryDockerHostedResource",
    docker={
        "force_basic_auth": False,
        "v1_enabled": False,
        "http_port": 0,
        "https_port": 0,
        "subdomain": "string",
    },
    storage={
        "blob_store_name": "string",
        "strict_content_type_validation": False,
        "latest_policy": False,
        "write_policy": "string",
    },
    cleanups=[{
        "policy_names": ["string"],
    }],
    component={
        "proprietary_components": False,
    },
    name="string",
    online=False)
Copy
const repositoryDockerHostedResource = new nexus.RepositoryDockerHosted("repositoryDockerHostedResource", {
    docker: {
        forceBasicAuth: false,
        v1Enabled: false,
        httpPort: 0,
        httpsPort: 0,
        subdomain: "string",
    },
    storage: {
        blobStoreName: "string",
        strictContentTypeValidation: false,
        latestPolicy: false,
        writePolicy: "string",
    },
    cleanups: [{
        policyNames: ["string"],
    }],
    component: {
        proprietaryComponents: false,
    },
    name: "string",
    online: false,
});
Copy
type: nexus:RepositoryDockerHosted
properties:
    cleanups:
        - policyNames:
            - string
    component:
        proprietaryComponents: false
    docker:
        forceBasicAuth: false
        httpPort: 0
        httpsPort: 0
        subdomain: string
        v1Enabled: false
    name: string
    online: false
    storage:
        blobStoreName: string
        latestPolicy: false
        strictContentTypeValidation: false
        writePolicy: string
Copy

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

Docker This property is required. RepositoryDockerHostedDocker
docker contains the configuration of the docker repository
Storage This property is required. RepositoryDockerHostedStorage
The storage configuration of the repository docker hosted
Cleanups List<RepositoryDockerHostedCleanup>
Cleanup policies
Component RepositoryDockerHostedComponent
Component configuration for the hosted repository
Name string
A unique identifier for this repository
Online bool
Whether this repository accepts incoming requests
Docker This property is required. RepositoryDockerHostedDockerArgs
docker contains the configuration of the docker repository
Storage This property is required. RepositoryDockerHostedStorageArgs
The storage configuration of the repository docker hosted
Cleanups []RepositoryDockerHostedCleanupArgs
Cleanup policies
Component RepositoryDockerHostedComponentArgs
Component configuration for the hosted repository
Name string
A unique identifier for this repository
Online bool
Whether this repository accepts incoming requests
docker This property is required. RepositoryDockerHostedDocker
docker contains the configuration of the docker repository
storage This property is required. RepositoryDockerHostedStorage
The storage configuration of the repository docker hosted
cleanups List<RepositoryDockerHostedCleanup>
Cleanup policies
component RepositoryDockerHostedComponent
Component configuration for the hosted repository
name String
A unique identifier for this repository
online Boolean
Whether this repository accepts incoming requests
docker This property is required. RepositoryDockerHostedDocker
docker contains the configuration of the docker repository
storage This property is required. RepositoryDockerHostedStorage
The storage configuration of the repository docker hosted
cleanups RepositoryDockerHostedCleanup[]
Cleanup policies
component RepositoryDockerHostedComponent
Component configuration for the hosted repository
name string
A unique identifier for this repository
online boolean
Whether this repository accepts incoming requests
docker This property is required. RepositoryDockerHostedDockerArgs
docker contains the configuration of the docker repository
storage This property is required. RepositoryDockerHostedStorageArgs
The storage configuration of the repository docker hosted
cleanups Sequence[RepositoryDockerHostedCleanupArgs]
Cleanup policies
component RepositoryDockerHostedComponentArgs
Component configuration for the hosted repository
name str
A unique identifier for this repository
online bool
Whether this repository accepts incoming requests
docker This property is required. Property Map
docker contains the configuration of the docker repository
storage This property is required. Property Map
The storage configuration of the repository docker hosted
cleanups List<Property Map>
Cleanup policies
component Property Map
Component configuration for the hosted repository
name String
A unique identifier for this repository
online Boolean
Whether this repository accepts incoming requests

Outputs

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

Get an existing RepositoryDockerHosted 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?: RepositoryDockerHostedState, opts?: CustomResourceOptions): RepositoryDockerHosted
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cleanups: Optional[Sequence[RepositoryDockerHostedCleanupArgs]] = None,
        component: Optional[RepositoryDockerHostedComponentArgs] = None,
        docker: Optional[RepositoryDockerHostedDockerArgs] = None,
        name: Optional[str] = None,
        online: Optional[bool] = None,
        storage: Optional[RepositoryDockerHostedStorageArgs] = None) -> RepositoryDockerHosted
func GetRepositoryDockerHosted(ctx *Context, name string, id IDInput, state *RepositoryDockerHostedState, opts ...ResourceOption) (*RepositoryDockerHosted, error)
public static RepositoryDockerHosted Get(string name, Input<string> id, RepositoryDockerHostedState? state, CustomResourceOptions? opts = null)
public static RepositoryDockerHosted get(String name, Output<String> id, RepositoryDockerHostedState state, CustomResourceOptions options)
resources:  _:    type: nexus:RepositoryDockerHosted    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Cleanups List<RepositoryDockerHostedCleanup>
Cleanup policies
Component RepositoryDockerHostedComponent
Component configuration for the hosted repository
Docker RepositoryDockerHostedDocker
docker contains the configuration of the docker repository
Name string
A unique identifier for this repository
Online bool
Whether this repository accepts incoming requests
Storage RepositoryDockerHostedStorage
The storage configuration of the repository docker hosted
Cleanups []RepositoryDockerHostedCleanupArgs
Cleanup policies
Component RepositoryDockerHostedComponentArgs
Component configuration for the hosted repository
Docker RepositoryDockerHostedDockerArgs
docker contains the configuration of the docker repository
Name string
A unique identifier for this repository
Online bool
Whether this repository accepts incoming requests
Storage RepositoryDockerHostedStorageArgs
The storage configuration of the repository docker hosted
cleanups List<RepositoryDockerHostedCleanup>
Cleanup policies
component RepositoryDockerHostedComponent
Component configuration for the hosted repository
docker RepositoryDockerHostedDocker
docker contains the configuration of the docker repository
name String
A unique identifier for this repository
online Boolean
Whether this repository accepts incoming requests
storage RepositoryDockerHostedStorage
The storage configuration of the repository docker hosted
cleanups RepositoryDockerHostedCleanup[]
Cleanup policies
component RepositoryDockerHostedComponent
Component configuration for the hosted repository
docker RepositoryDockerHostedDocker
docker contains the configuration of the docker repository
name string
A unique identifier for this repository
online boolean
Whether this repository accepts incoming requests
storage RepositoryDockerHostedStorage
The storage configuration of the repository docker hosted
cleanups Sequence[RepositoryDockerHostedCleanupArgs]
Cleanup policies
component RepositoryDockerHostedComponentArgs
Component configuration for the hosted repository
docker RepositoryDockerHostedDockerArgs
docker contains the configuration of the docker repository
name str
A unique identifier for this repository
online bool
Whether this repository accepts incoming requests
storage RepositoryDockerHostedStorageArgs
The storage configuration of the repository docker hosted
cleanups List<Property Map>
Cleanup policies
component Property Map
Component configuration for the hosted repository
docker Property Map
docker contains the configuration of the docker repository
name String
A unique identifier for this repository
online Boolean
Whether this repository accepts incoming requests
storage Property Map
The storage configuration of the repository docker hosted

Supporting Types

RepositoryDockerHostedCleanup
, RepositoryDockerHostedCleanupArgs

PolicyNames List<string>
List of policy names
PolicyNames []string
List of policy names
policyNames List<String>
List of policy names
policyNames string[]
List of policy names
policy_names Sequence[str]
List of policy names
policyNames List<String>
List of policy names

RepositoryDockerHostedComponent
, RepositoryDockerHostedComponentArgs

ProprietaryComponents This property is required. bool
Components in this repository count as proprietary for namespace conflict attacks (requires Sonatype Nexus Firewall)
ProprietaryComponents This property is required. bool
Components in this repository count as proprietary for namespace conflict attacks (requires Sonatype Nexus Firewall)
proprietaryComponents This property is required. Boolean
Components in this repository count as proprietary for namespace conflict attacks (requires Sonatype Nexus Firewall)
proprietaryComponents This property is required. boolean
Components in this repository count as proprietary for namespace conflict attacks (requires Sonatype Nexus Firewall)
proprietary_components This property is required. bool
Components in this repository count as proprietary for namespace conflict attacks (requires Sonatype Nexus Firewall)
proprietaryComponents This property is required. Boolean
Components in this repository count as proprietary for namespace conflict attacks (requires Sonatype Nexus Firewall)

RepositoryDockerHostedDocker
, RepositoryDockerHostedDockerArgs

ForceBasicAuth This property is required. bool
Whether to force authentication (Docker Bearer Token Realm required if false)
V1Enabled This property is required. bool
Whether to allow clients to use the V1 API to interact with this repository
HttpPort double
Create an HTTP connector at specified port
HttpsPort double
Create an HTTPS connector at specified port
Subdomain string
Pro-only: Whether to allow clients to use subdomain routing connector
ForceBasicAuth This property is required. bool
Whether to force authentication (Docker Bearer Token Realm required if false)
V1Enabled This property is required. bool
Whether to allow clients to use the V1 API to interact with this repository
HttpPort float64
Create an HTTP connector at specified port
HttpsPort float64
Create an HTTPS connector at specified port
Subdomain string
Pro-only: Whether to allow clients to use subdomain routing connector
forceBasicAuth This property is required. Boolean
Whether to force authentication (Docker Bearer Token Realm required if false)
v1Enabled This property is required. Boolean
Whether to allow clients to use the V1 API to interact with this repository
httpPort Double
Create an HTTP connector at specified port
httpsPort Double
Create an HTTPS connector at specified port
subdomain String
Pro-only: Whether to allow clients to use subdomain routing connector
forceBasicAuth This property is required. boolean
Whether to force authentication (Docker Bearer Token Realm required if false)
v1Enabled This property is required. boolean
Whether to allow clients to use the V1 API to interact with this repository
httpPort number
Create an HTTP connector at specified port
httpsPort number
Create an HTTPS connector at specified port
subdomain string
Pro-only: Whether to allow clients to use subdomain routing connector
force_basic_auth This property is required. bool
Whether to force authentication (Docker Bearer Token Realm required if false)
v1_enabled This property is required. bool
Whether to allow clients to use the V1 API to interact with this repository
http_port float
Create an HTTP connector at specified port
https_port float
Create an HTTPS connector at specified port
subdomain str
Pro-only: Whether to allow clients to use subdomain routing connector
forceBasicAuth This property is required. Boolean
Whether to force authentication (Docker Bearer Token Realm required if false)
v1Enabled This property is required. Boolean
Whether to allow clients to use the V1 API to interact with this repository
httpPort Number
Create an HTTP connector at specified port
httpsPort Number
Create an HTTPS connector at specified port
subdomain String
Pro-only: Whether to allow clients to use subdomain routing connector

RepositoryDockerHostedStorage
, RepositoryDockerHostedStorageArgs

BlobStoreName This property is required. string
Blob store used to store repository contents
StrictContentTypeValidation This property is required. bool
Whether to validate uploaded content's MIME type appropriate for the repository format
LatestPolicy bool
Whether to allow redeploying the 'latest' tag but defer to the Deployment Policy for all other tags. Only usable with writepolicy "ALLOWONCE"
WritePolicy string
Controls if deployments of and updates to assets are allowed
BlobStoreName This property is required. string
Blob store used to store repository contents
StrictContentTypeValidation This property is required. bool
Whether to validate uploaded content's MIME type appropriate for the repository format
LatestPolicy bool
Whether to allow redeploying the 'latest' tag but defer to the Deployment Policy for all other tags. Only usable with writepolicy "ALLOWONCE"
WritePolicy string
Controls if deployments of and updates to assets are allowed
blobStoreName This property is required. String
Blob store used to store repository contents
strictContentTypeValidation This property is required. Boolean
Whether to validate uploaded content's MIME type appropriate for the repository format
latestPolicy Boolean
Whether to allow redeploying the 'latest' tag but defer to the Deployment Policy for all other tags. Only usable with writepolicy "ALLOWONCE"
writePolicy String
Controls if deployments of and updates to assets are allowed
blobStoreName This property is required. string
Blob store used to store repository contents
strictContentTypeValidation This property is required. boolean
Whether to validate uploaded content's MIME type appropriate for the repository format
latestPolicy boolean
Whether to allow redeploying the 'latest' tag but defer to the Deployment Policy for all other tags. Only usable with writepolicy "ALLOWONCE"
writePolicy string
Controls if deployments of and updates to assets are allowed
blob_store_name This property is required. str
Blob store used to store repository contents
strict_content_type_validation This property is required. bool
Whether to validate uploaded content's MIME type appropriate for the repository format
latest_policy bool
Whether to allow redeploying the 'latest' tag but defer to the Deployment Policy for all other tags. Only usable with writepolicy "ALLOWONCE"
write_policy str
Controls if deployments of and updates to assets are allowed
blobStoreName This property is required. String
Blob store used to store repository contents
strictContentTypeValidation This property is required. Boolean
Whether to validate uploaded content's MIME type appropriate for the repository format
latestPolicy Boolean
Whether to allow redeploying the 'latest' tag but defer to the Deployment Policy for all other tags. Only usable with writepolicy "ALLOWONCE"
writePolicy String
Controls if deployments of and updates to assets are allowed

Import

import using the name of repository

$ pulumi import nexus:index/repositoryDockerHosted:RepositoryDockerHosted example example
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
nexus datadrivers/terraform-provider-nexus
License
Notes
This Pulumi package is based on the nexus Terraform Provider.