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

nexus.RepositoryDockerGroup

Explore with Pulumi AI

nexus logo
nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers

    Use this resource to create a group docker repository.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nexus from "@pulumi/nexus";
    
    const internal = new nexus.RepositoryDockerHosted("internal", {
        docker: {
            forceBasicAuth: false,
            v1Enabled: false,
            subdomain: "docker",
        },
        storage: {
            blobStoreName: "default",
            strictContentTypeValidation: true,
            writePolicy: "ALLOW",
        },
    });
    const dockerhub = new nexus.RepositoryDockerProxy("dockerhub", {
        docker: {
            forceBasicAuth: false,
            v1Enabled: false,
            subdomain: "docker",
        },
        dockerProxy: {
            indexType: "HUB",
        },
        storage: {
            blobStoreName: "default",
            strictContentTypeValidation: true,
        },
        proxy: {
            remoteUrl: "https://registry-1.docker.io",
            contentMaxAge: 1440,
            metadataMaxAge: 1440,
        },
        negativeCache: {
            enabled: true,
            ttl: 1440,
        },
        httpClient: {
            blocked: false,
            autoBlock: true,
        },
    });
    const group = new nexus.RepositoryDockerGroup("group", {
        online: true,
        docker: {
            forceBasicAuth: false,
            httpPort: 8080,
            httpsPort: 8433,
            v1Enabled: false,
            subdomain: "docker",
        },
        group: {
            memberNames: [
                internal.name,
                dockerhub.name,
            ],
            writableMember: internal.name,
        },
        storage: {
            blobStoreName: "default",
            strictContentTypeValidation: true,
        },
    });
    
    import pulumi
    import pulumi_nexus as nexus
    
    internal = nexus.RepositoryDockerHosted("internal",
        docker={
            "force_basic_auth": False,
            "v1_enabled": False,
            "subdomain": "docker",
        },
        storage={
            "blob_store_name": "default",
            "strict_content_type_validation": True,
            "write_policy": "ALLOW",
        })
    dockerhub = nexus.RepositoryDockerProxy("dockerhub",
        docker={
            "force_basic_auth": False,
            "v1_enabled": False,
            "subdomain": "docker",
        },
        docker_proxy={
            "index_type": "HUB",
        },
        storage={
            "blob_store_name": "default",
            "strict_content_type_validation": True,
        },
        proxy={
            "remote_url": "https://registry-1.docker.io",
            "content_max_age": 1440,
            "metadata_max_age": 1440,
        },
        negative_cache={
            "enabled": True,
            "ttl": 1440,
        },
        http_client={
            "blocked": False,
            "auto_block": True,
        })
    group = nexus.RepositoryDockerGroup("group",
        online=True,
        docker={
            "force_basic_auth": False,
            "http_port": 8080,
            "https_port": 8433,
            "v1_enabled": False,
            "subdomain": "docker",
        },
        group={
            "member_names": [
                internal.name,
                dockerhub.name,
            ],
            "writable_member": internal.name,
        },
        storage={
            "blob_store_name": "default",
            "strict_content_type_validation": True,
        })
    
    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 {
    		internal, err := nexus.NewRepositoryDockerHosted(ctx, "internal", &nexus.RepositoryDockerHostedArgs{
    			Docker: &nexus.RepositoryDockerHostedDockerArgs{
    				ForceBasicAuth: pulumi.Bool(false),
    				V1Enabled:      pulumi.Bool(false),
    				Subdomain:      pulumi.String("docker"),
    			},
    			Storage: &nexus.RepositoryDockerHostedStorageArgs{
    				BlobStoreName:               pulumi.String("default"),
    				StrictContentTypeValidation: pulumi.Bool(true),
    				WritePolicy:                 pulumi.String("ALLOW"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		dockerhub, err := nexus.NewRepositoryDockerProxy(ctx, "dockerhub", &nexus.RepositoryDockerProxyArgs{
    			Docker: &nexus.RepositoryDockerProxyDockerArgs{
    				ForceBasicAuth: pulumi.Bool(false),
    				V1Enabled:      pulumi.Bool(false),
    				Subdomain:      pulumi.String("docker"),
    			},
    			DockerProxy: &nexus.RepositoryDockerProxyDockerProxyArgs{
    				IndexType: pulumi.String("HUB"),
    			},
    			Storage: &nexus.RepositoryDockerProxyStorageArgs{
    				BlobStoreName:               pulumi.String("default"),
    				StrictContentTypeValidation: pulumi.Bool(true),
    			},
    			Proxy: &nexus.RepositoryDockerProxyProxyArgs{
    				RemoteUrl:      pulumi.String("https://registry-1.docker.io"),
    				ContentMaxAge:  pulumi.Float64(1440),
    				MetadataMaxAge: pulumi.Float64(1440),
    			},
    			NegativeCache: &nexus.RepositoryDockerProxyNegativeCacheArgs{
    				Enabled: pulumi.Bool(true),
    				Ttl:     pulumi.Float64(1440),
    			},
    			HttpClient: &nexus.RepositoryDockerProxyHttpClientArgs{
    				Blocked:   pulumi.Bool(false),
    				AutoBlock: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = nexus.NewRepositoryDockerGroup(ctx, "group", &nexus.RepositoryDockerGroupArgs{
    			Online: pulumi.Bool(true),
    			Docker: &nexus.RepositoryDockerGroupDockerArgs{
    				ForceBasicAuth: pulumi.Bool(false),
    				HttpPort:       pulumi.Float64(8080),
    				HttpsPort:      pulumi.Float64(8433),
    				V1Enabled:      pulumi.Bool(false),
    				Subdomain:      pulumi.String("docker"),
    			},
    			Group: &nexus.RepositoryDockerGroupGroupArgs{
    				MemberNames: pulumi.StringArray{
    					internal.Name,
    					dockerhub.Name,
    				},
    				WritableMember: internal.Name,
    			},
    			Storage: &nexus.RepositoryDockerGroupStorageArgs{
    				BlobStoreName:               pulumi.String("default"),
    				StrictContentTypeValidation: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nexus = Pulumi.Nexus;
    
    return await Deployment.RunAsync(() => 
    {
        var @internal = new Nexus.RepositoryDockerHosted("internal", new()
        {
            Docker = new Nexus.Inputs.RepositoryDockerHostedDockerArgs
            {
                ForceBasicAuth = false,
                V1Enabled = false,
                Subdomain = "docker",
            },
            Storage = new Nexus.Inputs.RepositoryDockerHostedStorageArgs
            {
                BlobStoreName = "default",
                StrictContentTypeValidation = true,
                WritePolicy = "ALLOW",
            },
        });
    
        var dockerhub = new Nexus.RepositoryDockerProxy("dockerhub", new()
        {
            Docker = new Nexus.Inputs.RepositoryDockerProxyDockerArgs
            {
                ForceBasicAuth = false,
                V1Enabled = false,
                Subdomain = "docker",
            },
            DockerProxy = new Nexus.Inputs.RepositoryDockerProxyDockerProxyArgs
            {
                IndexType = "HUB",
            },
            Storage = new Nexus.Inputs.RepositoryDockerProxyStorageArgs
            {
                BlobStoreName = "default",
                StrictContentTypeValidation = true,
            },
            Proxy = new Nexus.Inputs.RepositoryDockerProxyProxyArgs
            {
                RemoteUrl = "https://registry-1.docker.io",
                ContentMaxAge = 1440,
                MetadataMaxAge = 1440,
            },
            NegativeCache = new Nexus.Inputs.RepositoryDockerProxyNegativeCacheArgs
            {
                Enabled = true,
                Ttl = 1440,
            },
            HttpClient = new Nexus.Inputs.RepositoryDockerProxyHttpClientArgs
            {
                Blocked = false,
                AutoBlock = true,
            },
        });
    
        var @group = new Nexus.RepositoryDockerGroup("group", new()
        {
            Online = true,
            Docker = new Nexus.Inputs.RepositoryDockerGroupDockerArgs
            {
                ForceBasicAuth = false,
                HttpPort = 8080,
                HttpsPort = 8433,
                V1Enabled = false,
                Subdomain = "docker",
            },
            Group = new Nexus.Inputs.RepositoryDockerGroupGroupArgs
            {
                MemberNames = new[]
                {
                    @internal.Name,
                    dockerhub.Name,
                },
                WritableMember = @internal.Name,
            },
            Storage = new Nexus.Inputs.RepositoryDockerGroupStorageArgs
            {
                BlobStoreName = "default",
                StrictContentTypeValidation = true,
            },
        });
    
    });
    
    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 com.pulumi.nexus.RepositoryDockerProxy;
    import com.pulumi.nexus.RepositoryDockerProxyArgs;
    import com.pulumi.nexus.inputs.RepositoryDockerProxyDockerArgs;
    import com.pulumi.nexus.inputs.RepositoryDockerProxyDockerProxyArgs;
    import com.pulumi.nexus.inputs.RepositoryDockerProxyStorageArgs;
    import com.pulumi.nexus.inputs.RepositoryDockerProxyProxyArgs;
    import com.pulumi.nexus.inputs.RepositoryDockerProxyNegativeCacheArgs;
    import com.pulumi.nexus.inputs.RepositoryDockerProxyHttpClientArgs;
    import com.pulumi.nexus.RepositoryDockerGroup;
    import com.pulumi.nexus.RepositoryDockerGroupArgs;
    import com.pulumi.nexus.inputs.RepositoryDockerGroupDockerArgs;
    import com.pulumi.nexus.inputs.RepositoryDockerGroupGroupArgs;
    import com.pulumi.nexus.inputs.RepositoryDockerGroupStorageArgs;
    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 internal = new RepositoryDockerHosted("internal", RepositoryDockerHostedArgs.builder()
                .docker(RepositoryDockerHostedDockerArgs.builder()
                    .forceBasicAuth(false)
                    .v1Enabled(false)
                    .subdomain("docker")
                    .build())
                .storage(RepositoryDockerHostedStorageArgs.builder()
                    .blobStoreName("default")
                    .strictContentTypeValidation(true)
                    .writePolicy("ALLOW")
                    .build())
                .build());
    
            var dockerhub = new RepositoryDockerProxy("dockerhub", RepositoryDockerProxyArgs.builder()
                .docker(RepositoryDockerProxyDockerArgs.builder()
                    .forceBasicAuth(false)
                    .v1Enabled(false)
                    .subdomain("docker")
                    .build())
                .dockerProxy(RepositoryDockerProxyDockerProxyArgs.builder()
                    .indexType("HUB")
                    .build())
                .storage(RepositoryDockerProxyStorageArgs.builder()
                    .blobStoreName("default")
                    .strictContentTypeValidation(true)
                    .build())
                .proxy(RepositoryDockerProxyProxyArgs.builder()
                    .remoteUrl("https://registry-1.docker.io")
                    .contentMaxAge(1440)
                    .metadataMaxAge(1440)
                    .build())
                .negativeCache(RepositoryDockerProxyNegativeCacheArgs.builder()
                    .enabled(true)
                    .ttl(1440)
                    .build())
                .httpClient(RepositoryDockerProxyHttpClientArgs.builder()
                    .blocked(false)
                    .autoBlock(true)
                    .build())
                .build());
    
            var group = new RepositoryDockerGroup("group", RepositoryDockerGroupArgs.builder()
                .online(true)
                .docker(RepositoryDockerGroupDockerArgs.builder()
                    .forceBasicAuth(false)
                    .httpPort(8080)
                    .httpsPort(8433)
                    .v1Enabled(false)
                    .subdomain("docker")
                    .build())
                .group(RepositoryDockerGroupGroupArgs.builder()
                    .memberNames(                
                        internal.name(),
                        dockerhub.name())
                    .writableMember(internal.name())
                    .build())
                .storage(RepositoryDockerGroupStorageArgs.builder()
                    .blobStoreName("default")
                    .strictContentTypeValidation(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      internal:
        type: nexus:RepositoryDockerHosted
        properties:
          docker:
            forceBasicAuth: false
            v1Enabled: false
            subdomain: docker
          storage:
            blobStoreName: default
            strictContentTypeValidation: true
            writePolicy: ALLOW
      dockerhub:
        type: nexus:RepositoryDockerProxy
        properties:
          docker:
            forceBasicAuth: false
            v1Enabled: false
            subdomain: docker
          dockerProxy:
            indexType: HUB
          storage:
            blobStoreName: default
            strictContentTypeValidation: true
          proxy:
            remoteUrl: https://registry-1.docker.io
            contentMaxAge: 1440
            metadataMaxAge: 1440
          negativeCache:
            enabled: true
            ttl: 1440
          httpClient:
            blocked: false
            autoBlock: true
      group:
        type: nexus:RepositoryDockerGroup
        properties:
          online: true
          docker:
            forceBasicAuth: false
            httpPort: 8080
            httpsPort: 8433
            v1Enabled: false
            subdomain: docker
          group:
            memberNames:
              - ${internal.name}
              - ${dockerhub.name}
            writableMember: ${internal.name}
          storage:
            blobStoreName: default
            strictContentTypeValidation: true
    

    Create RepositoryDockerGroup Resource

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

    Constructor syntax

    new RepositoryDockerGroup(name: string, args: RepositoryDockerGroupArgs, opts?: CustomResourceOptions);
    @overload
    def RepositoryDockerGroup(resource_name: str,
                              args: RepositoryDockerGroupArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def RepositoryDockerGroup(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              docker: Optional[RepositoryDockerGroupDockerArgs] = None,
                              group: Optional[RepositoryDockerGroupGroupArgs] = None,
                              storage: Optional[RepositoryDockerGroupStorageArgs] = None,
                              name: Optional[str] = None,
                              online: Optional[bool] = None)
    func NewRepositoryDockerGroup(ctx *Context, name string, args RepositoryDockerGroupArgs, opts ...ResourceOption) (*RepositoryDockerGroup, error)
    public RepositoryDockerGroup(string name, RepositoryDockerGroupArgs args, CustomResourceOptions? opts = null)
    public RepositoryDockerGroup(String name, RepositoryDockerGroupArgs args)
    public RepositoryDockerGroup(String name, RepositoryDockerGroupArgs args, CustomResourceOptions options)
    
    type: nexus:RepositoryDockerGroup
    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 RepositoryDockerGroupArgs
    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 RepositoryDockerGroupArgs
    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 RepositoryDockerGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RepositoryDockerGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RepositoryDockerGroupArgs
    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 repositoryDockerGroupResource = new Nexus.RepositoryDockerGroup("repositoryDockerGroupResource", new()
    {
        Docker = new Nexus.Inputs.RepositoryDockerGroupDockerArgs
        {
            ForceBasicAuth = false,
            V1Enabled = false,
            HttpPort = 0,
            HttpsPort = 0,
            Subdomain = "string",
        },
        Group = new Nexus.Inputs.RepositoryDockerGroupGroupArgs
        {
            MemberNames = new[]
            {
                "string",
            },
            WritableMember = "string",
        },
        Storage = new Nexus.Inputs.RepositoryDockerGroupStorageArgs
        {
            BlobStoreName = "string",
            StrictContentTypeValidation = false,
        },
        Name = "string",
        Online = false,
    });
    
    example, err := nexus.NewRepositoryDockerGroup(ctx, "repositoryDockerGroupResource", &nexus.RepositoryDockerGroupArgs{
    	Docker: &nexus.RepositoryDockerGroupDockerArgs{
    		ForceBasicAuth: pulumi.Bool(false),
    		V1Enabled:      pulumi.Bool(false),
    		HttpPort:       pulumi.Float64(0),
    		HttpsPort:      pulumi.Float64(0),
    		Subdomain:      pulumi.String("string"),
    	},
    	Group: &nexus.RepositoryDockerGroupGroupArgs{
    		MemberNames: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		WritableMember: pulumi.String("string"),
    	},
    	Storage: &nexus.RepositoryDockerGroupStorageArgs{
    		BlobStoreName:               pulumi.String("string"),
    		StrictContentTypeValidation: pulumi.Bool(false),
    	},
    	Name:   pulumi.String("string"),
    	Online: pulumi.Bool(false),
    })
    
    var repositoryDockerGroupResource = new RepositoryDockerGroup("repositoryDockerGroupResource", RepositoryDockerGroupArgs.builder()
        .docker(RepositoryDockerGroupDockerArgs.builder()
            .forceBasicAuth(false)
            .v1Enabled(false)
            .httpPort(0)
            .httpsPort(0)
            .subdomain("string")
            .build())
        .group(RepositoryDockerGroupGroupArgs.builder()
            .memberNames("string")
            .writableMember("string")
            .build())
        .storage(RepositoryDockerGroupStorageArgs.builder()
            .blobStoreName("string")
            .strictContentTypeValidation(false)
            .build())
        .name("string")
        .online(false)
        .build());
    
    repository_docker_group_resource = nexus.RepositoryDockerGroup("repositoryDockerGroupResource",
        docker={
            "force_basic_auth": False,
            "v1_enabled": False,
            "http_port": 0,
            "https_port": 0,
            "subdomain": "string",
        },
        group={
            "member_names": ["string"],
            "writable_member": "string",
        },
        storage={
            "blob_store_name": "string",
            "strict_content_type_validation": False,
        },
        name="string",
        online=False)
    
    const repositoryDockerGroupResource = new nexus.RepositoryDockerGroup("repositoryDockerGroupResource", {
        docker: {
            forceBasicAuth: false,
            v1Enabled: false,
            httpPort: 0,
            httpsPort: 0,
            subdomain: "string",
        },
        group: {
            memberNames: ["string"],
            writableMember: "string",
        },
        storage: {
            blobStoreName: "string",
            strictContentTypeValidation: false,
        },
        name: "string",
        online: false,
    });
    
    type: nexus:RepositoryDockerGroup
    properties:
        docker:
            forceBasicAuth: false
            httpPort: 0
            httpsPort: 0
            subdomain: string
            v1Enabled: false
        group:
            memberNames:
                - string
            writableMember: string
        name: string
        online: false
        storage:
            blobStoreName: string
            strictContentTypeValidation: false
    

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

    Docker RepositoryDockerGroupDocker
    docker contains the configuration of the docker repository
    Group RepositoryDockerGroupGroup
    Configuration for repository group
    Storage RepositoryDockerGroupStorage
    The storage configuration of the repository
    Name string
    A unique identifier for this repository
    Online bool
    Whether this repository accepts incoming requests
    Docker RepositoryDockerGroupDockerArgs
    docker contains the configuration of the docker repository
    Group RepositoryDockerGroupGroupArgs
    Configuration for repository group
    Storage RepositoryDockerGroupStorageArgs
    The storage configuration of the repository
    Name string
    A unique identifier for this repository
    Online bool
    Whether this repository accepts incoming requests
    docker RepositoryDockerGroupDocker
    docker contains the configuration of the docker repository
    group RepositoryDockerGroupGroup
    Configuration for repository group
    storage RepositoryDockerGroupStorage
    The storage configuration of the repository
    name String
    A unique identifier for this repository
    online Boolean
    Whether this repository accepts incoming requests
    docker RepositoryDockerGroupDocker
    docker contains the configuration of the docker repository
    group RepositoryDockerGroupGroup
    Configuration for repository group
    storage RepositoryDockerGroupStorage
    The storage configuration of the repository
    name string
    A unique identifier for this repository
    online boolean
    Whether this repository accepts incoming requests
    docker RepositoryDockerGroupDockerArgs
    docker contains the configuration of the docker repository
    group RepositoryDockerGroupGroupArgs
    Configuration for repository group
    storage RepositoryDockerGroupStorageArgs
    The storage configuration of the repository
    name str
    A unique identifier for this repository
    online bool
    Whether this repository accepts incoming requests
    docker Property Map
    docker contains the configuration of the docker repository
    group Property Map
    Configuration for repository group
    storage Property Map
    The storage configuration of the 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 RepositoryDockerGroup 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 RepositoryDockerGroup Resource

    Get an existing RepositoryDockerGroup 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?: RepositoryDockerGroupState, opts?: CustomResourceOptions): RepositoryDockerGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            docker: Optional[RepositoryDockerGroupDockerArgs] = None,
            group: Optional[RepositoryDockerGroupGroupArgs] = None,
            name: Optional[str] = None,
            online: Optional[bool] = None,
            storage: Optional[RepositoryDockerGroupStorageArgs] = None) -> RepositoryDockerGroup
    func GetRepositoryDockerGroup(ctx *Context, name string, id IDInput, state *RepositoryDockerGroupState, opts ...ResourceOption) (*RepositoryDockerGroup, error)
    public static RepositoryDockerGroup Get(string name, Input<string> id, RepositoryDockerGroupState? state, CustomResourceOptions? opts = null)
    public static RepositoryDockerGroup get(String name, Output<String> id, RepositoryDockerGroupState state, CustomResourceOptions options)
    resources:  _:    type: nexus:RepositoryDockerGroup    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:
    Docker RepositoryDockerGroupDocker
    docker contains the configuration of the docker repository
    Group RepositoryDockerGroupGroup
    Configuration for repository group
    Name string
    A unique identifier for this repository
    Online bool
    Whether this repository accepts incoming requests
    Storage RepositoryDockerGroupStorage
    The storage configuration of the repository
    Docker RepositoryDockerGroupDockerArgs
    docker contains the configuration of the docker repository
    Group RepositoryDockerGroupGroupArgs
    Configuration for repository group
    Name string
    A unique identifier for this repository
    Online bool
    Whether this repository accepts incoming requests
    Storage RepositoryDockerGroupStorageArgs
    The storage configuration of the repository
    docker RepositoryDockerGroupDocker
    docker contains the configuration of the docker repository
    group RepositoryDockerGroupGroup
    Configuration for repository group
    name String
    A unique identifier for this repository
    online Boolean
    Whether this repository accepts incoming requests
    storage RepositoryDockerGroupStorage
    The storage configuration of the repository
    docker RepositoryDockerGroupDocker
    docker contains the configuration of the docker repository
    group RepositoryDockerGroupGroup
    Configuration for repository group
    name string
    A unique identifier for this repository
    online boolean
    Whether this repository accepts incoming requests
    storage RepositoryDockerGroupStorage
    The storage configuration of the repository
    docker RepositoryDockerGroupDockerArgs
    docker contains the configuration of the docker repository
    group RepositoryDockerGroupGroupArgs
    Configuration for repository group
    name str
    A unique identifier for this repository
    online bool
    Whether this repository accepts incoming requests
    storage RepositoryDockerGroupStorageArgs
    The storage configuration of the repository
    docker Property Map
    docker contains the configuration of the docker repository
    group Property Map
    Configuration for repository group
    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

    Supporting Types

    RepositoryDockerGroupDocker, RepositoryDockerGroupDockerArgs

    ForceBasicAuth bool
    Whether to force authentication (Docker Bearer Token Realm required if false)
    V1Enabled 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 bool
    Whether to force authentication (Docker Bearer Token Realm required if false)
    V1Enabled 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 Boolean
    Whether to force authentication (Docker Bearer Token Realm required if false)
    v1Enabled 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 boolean
    Whether to force authentication (Docker Bearer Token Realm required if false)
    v1Enabled 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 bool
    Whether to force authentication (Docker Bearer Token Realm required if false)
    v1_enabled 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 Boolean
    Whether to force authentication (Docker Bearer Token Realm required if false)
    v1Enabled 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

    RepositoryDockerGroupGroup, RepositoryDockerGroupGroupArgs

    MemberNames List<string>
    Member repositories names
    WritableMember string
    Pro-only: This field is for the Group Deployment feature available in NXRM Pro.
    MemberNames []string
    Member repositories names
    WritableMember string
    Pro-only: This field is for the Group Deployment feature available in NXRM Pro.
    memberNames List<String>
    Member repositories names
    writableMember String
    Pro-only: This field is for the Group Deployment feature available in NXRM Pro.
    memberNames string[]
    Member repositories names
    writableMember string
    Pro-only: This field is for the Group Deployment feature available in NXRM Pro.
    member_names Sequence[str]
    Member repositories names
    writable_member str
    Pro-only: This field is for the Group Deployment feature available in NXRM Pro.
    memberNames List<String>
    Member repositories names
    writableMember String
    Pro-only: This field is for the Group Deployment feature available in NXRM Pro.

    RepositoryDockerGroupStorage, RepositoryDockerGroupStorageArgs

    BlobStoreName string
    Blob store used to store repository contents
    StrictContentTypeValidation bool
    Whether to validate uploaded content's MIME type appropriate for the repository format
    BlobStoreName string
    Blob store used to store repository contents
    StrictContentTypeValidation bool
    Whether to validate uploaded content's MIME type appropriate for the repository format
    blobStoreName String
    Blob store used to store repository contents
    strictContentTypeValidation Boolean
    Whether to validate uploaded content's MIME type appropriate for the repository format
    blobStoreName string
    Blob store used to store repository contents
    strictContentTypeValidation boolean
    Whether to validate uploaded content's MIME type appropriate for the repository format
    blob_store_name str
    Blob store used to store repository contents
    strict_content_type_validation bool
    Whether to validate uploaded content's MIME type appropriate for the repository format
    blobStoreName String
    Blob store used to store repository contents
    strictContentTypeValidation Boolean
    Whether to validate uploaded content's MIME type appropriate for the repository format

    Import

    import using the name of repository

    $ pulumi import nexus:index/repositoryDockerGroup:RepositoryDockerGroup group docker-group
    

    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.
    nexus logo
    nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers