nexus.RepositoryMavenProxy
Explore with Pulumi AI
Use this resource to create a maven proxy repository.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nexus from "@pulumi/nexus";
const mavenCentral = new nexus.RepositoryMavenProxy("mavenCentral", {
httpClient: {
autoBlock: true,
blocked: false,
},
maven: {
layoutPolicy: "PERMISSIVE",
versionPolicy: "RELEASE",
},
negativeCache: {
enabled: true,
ttl: 1440,
},
online: true,
proxy: {
contentMaxAge: 1440,
metadataMaxAge: 1440,
remoteUrl: "https://repo1.maven.org/maven2/",
},
storage: {
blobStoreName: "default",
strictContentTypeValidation: true,
},
});
import pulumi
import pulumi_nexus as nexus
maven_central = nexus.RepositoryMavenProxy("mavenCentral",
http_client={
"auto_block": True,
"blocked": False,
},
maven={
"layout_policy": "PERMISSIVE",
"version_policy": "RELEASE",
},
negative_cache={
"enabled": True,
"ttl": 1440,
},
online=True,
proxy={
"content_max_age": 1440,
"metadata_max_age": 1440,
"remote_url": "https://repo1.maven.org/maven2/",
},
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 {
_, err := nexus.NewRepositoryMavenProxy(ctx, "mavenCentral", &nexus.RepositoryMavenProxyArgs{
HttpClient: &nexus.RepositoryMavenProxyHttpClientArgs{
AutoBlock: pulumi.Bool(true),
Blocked: pulumi.Bool(false),
},
Maven: &nexus.RepositoryMavenProxyMavenArgs{
LayoutPolicy: pulumi.String("PERMISSIVE"),
VersionPolicy: pulumi.String("RELEASE"),
},
NegativeCache: &nexus.RepositoryMavenProxyNegativeCacheArgs{
Enabled: pulumi.Bool(true),
Ttl: pulumi.Float64(1440),
},
Online: pulumi.Bool(true),
Proxy: &nexus.RepositoryMavenProxyProxyArgs{
ContentMaxAge: pulumi.Float64(1440),
MetadataMaxAge: pulumi.Float64(1440),
RemoteUrl: pulumi.String("https://repo1.maven.org/maven2/"),
},
Storage: &nexus.RepositoryMavenProxyStorageArgs{
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 mavenCentral = new Nexus.RepositoryMavenProxy("mavenCentral", new()
{
HttpClient = new Nexus.Inputs.RepositoryMavenProxyHttpClientArgs
{
AutoBlock = true,
Blocked = false,
},
Maven = new Nexus.Inputs.RepositoryMavenProxyMavenArgs
{
LayoutPolicy = "PERMISSIVE",
VersionPolicy = "RELEASE",
},
NegativeCache = new Nexus.Inputs.RepositoryMavenProxyNegativeCacheArgs
{
Enabled = true,
Ttl = 1440,
},
Online = true,
Proxy = new Nexus.Inputs.RepositoryMavenProxyProxyArgs
{
ContentMaxAge = 1440,
MetadataMaxAge = 1440,
RemoteUrl = "https://repo1.maven.org/maven2/",
},
Storage = new Nexus.Inputs.RepositoryMavenProxyStorageArgs
{
BlobStoreName = "default",
StrictContentTypeValidation = true,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nexus.RepositoryMavenProxy;
import com.pulumi.nexus.RepositoryMavenProxyArgs;
import com.pulumi.nexus.inputs.RepositoryMavenProxyHttpClientArgs;
import com.pulumi.nexus.inputs.RepositoryMavenProxyMavenArgs;
import com.pulumi.nexus.inputs.RepositoryMavenProxyNegativeCacheArgs;
import com.pulumi.nexus.inputs.RepositoryMavenProxyProxyArgs;
import com.pulumi.nexus.inputs.RepositoryMavenProxyStorageArgs;
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 mavenCentral = new RepositoryMavenProxy("mavenCentral", RepositoryMavenProxyArgs.builder()
.httpClient(RepositoryMavenProxyHttpClientArgs.builder()
.autoBlock(true)
.blocked(false)
.build())
.maven(RepositoryMavenProxyMavenArgs.builder()
.layoutPolicy("PERMISSIVE")
.versionPolicy("RELEASE")
.build())
.negativeCache(RepositoryMavenProxyNegativeCacheArgs.builder()
.enabled(true)
.ttl(1440)
.build())
.online(true)
.proxy(RepositoryMavenProxyProxyArgs.builder()
.contentMaxAge(1440)
.metadataMaxAge(1440)
.remoteUrl("https://repo1.maven.org/maven2/")
.build())
.storage(RepositoryMavenProxyStorageArgs.builder()
.blobStoreName("default")
.strictContentTypeValidation(true)
.build())
.build());
}
}
resources:
mavenCentral:
type: nexus:RepositoryMavenProxy
properties:
httpClient:
autoBlock: true
blocked: false
maven:
layoutPolicy: PERMISSIVE
versionPolicy: RELEASE
negativeCache:
enabled: true
ttl: 1440
online: true
proxy:
contentMaxAge: 1440
metadataMaxAge: 1440
remoteUrl: https://repo1.maven.org/maven2/
storage:
blobStoreName: default
strictContentTypeValidation: true
Create RepositoryMavenProxy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RepositoryMavenProxy(name: string, args: RepositoryMavenProxyArgs, opts?: CustomResourceOptions);
@overload
def RepositoryMavenProxy(resource_name: str,
args: RepositoryMavenProxyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RepositoryMavenProxy(resource_name: str,
opts: Optional[ResourceOptions] = None,
http_client: Optional[RepositoryMavenProxyHttpClientArgs] = None,
maven: Optional[RepositoryMavenProxyMavenArgs] = None,
negative_cache: Optional[RepositoryMavenProxyNegativeCacheArgs] = None,
proxy: Optional[RepositoryMavenProxyProxyArgs] = None,
storage: Optional[RepositoryMavenProxyStorageArgs] = None,
cleanups: Optional[Sequence[RepositoryMavenProxyCleanupArgs]] = None,
name: Optional[str] = None,
online: Optional[bool] = None,
routing_rule: Optional[str] = None)
func NewRepositoryMavenProxy(ctx *Context, name string, args RepositoryMavenProxyArgs, opts ...ResourceOption) (*RepositoryMavenProxy, error)
public RepositoryMavenProxy(string name, RepositoryMavenProxyArgs args, CustomResourceOptions? opts = null)
public RepositoryMavenProxy(String name, RepositoryMavenProxyArgs args)
public RepositoryMavenProxy(String name, RepositoryMavenProxyArgs args, CustomResourceOptions options)
type: nexus:RepositoryMavenProxy
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 RepositoryMavenProxyArgs
- 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 RepositoryMavenProxyArgs
- 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 RepositoryMavenProxyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RepositoryMavenProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RepositoryMavenProxyArgs
- 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 repositoryMavenProxyResource = new Nexus.RepositoryMavenProxy("repositoryMavenProxyResource", new()
{
HttpClient = new Nexus.Inputs.RepositoryMavenProxyHttpClientArgs
{
AutoBlock = false,
Blocked = false,
Authentication = new Nexus.Inputs.RepositoryMavenProxyHttpClientAuthenticationArgs
{
Type = "string",
NtlmDomain = "string",
NtlmHost = "string",
Password = "string",
Preemptive = false,
Username = "string",
},
Connection = new Nexus.Inputs.RepositoryMavenProxyHttpClientConnectionArgs
{
EnableCircularRedirects = false,
EnableCookies = false,
Retries = 0,
Timeout = 0,
UseTrustStore = false,
UserAgentSuffix = "string",
},
},
Maven = new Nexus.Inputs.RepositoryMavenProxyMavenArgs
{
LayoutPolicy = "string",
VersionPolicy = "string",
ContentDisposition = "string",
},
NegativeCache = new Nexus.Inputs.RepositoryMavenProxyNegativeCacheArgs
{
Enabled = false,
Ttl = 0,
},
Proxy = new Nexus.Inputs.RepositoryMavenProxyProxyArgs
{
RemoteUrl = "string",
ContentMaxAge = 0,
MetadataMaxAge = 0,
},
Storage = new Nexus.Inputs.RepositoryMavenProxyStorageArgs
{
BlobStoreName = "string",
StrictContentTypeValidation = false,
},
Cleanups = new[]
{
new Nexus.Inputs.RepositoryMavenProxyCleanupArgs
{
PolicyNames = new[]
{
"string",
},
},
},
Name = "string",
Online = false,
RoutingRule = "string",
});
example, err := nexus.NewRepositoryMavenProxy(ctx, "repositoryMavenProxyResource", &nexus.RepositoryMavenProxyArgs{
HttpClient: &nexus.RepositoryMavenProxyHttpClientArgs{
AutoBlock: pulumi.Bool(false),
Blocked: pulumi.Bool(false),
Authentication: &nexus.RepositoryMavenProxyHttpClientAuthenticationArgs{
Type: pulumi.String("string"),
NtlmDomain: pulumi.String("string"),
NtlmHost: pulumi.String("string"),
Password: pulumi.String("string"),
Preemptive: pulumi.Bool(false),
Username: pulumi.String("string"),
},
Connection: &nexus.RepositoryMavenProxyHttpClientConnectionArgs{
EnableCircularRedirects: pulumi.Bool(false),
EnableCookies: pulumi.Bool(false),
Retries: pulumi.Float64(0),
Timeout: pulumi.Float64(0),
UseTrustStore: pulumi.Bool(false),
UserAgentSuffix: pulumi.String("string"),
},
},
Maven: &nexus.RepositoryMavenProxyMavenArgs{
LayoutPolicy: pulumi.String("string"),
VersionPolicy: pulumi.String("string"),
ContentDisposition: pulumi.String("string"),
},
NegativeCache: &nexus.RepositoryMavenProxyNegativeCacheArgs{
Enabled: pulumi.Bool(false),
Ttl: pulumi.Float64(0),
},
Proxy: &nexus.RepositoryMavenProxyProxyArgs{
RemoteUrl: pulumi.String("string"),
ContentMaxAge: pulumi.Float64(0),
MetadataMaxAge: pulumi.Float64(0),
},
Storage: &nexus.RepositoryMavenProxyStorageArgs{
BlobStoreName: pulumi.String("string"),
StrictContentTypeValidation: pulumi.Bool(false),
},
Cleanups: nexus.RepositoryMavenProxyCleanupArray{
&nexus.RepositoryMavenProxyCleanupArgs{
PolicyNames: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
Online: pulumi.Bool(false),
RoutingRule: pulumi.String("string"),
})
var repositoryMavenProxyResource = new RepositoryMavenProxy("repositoryMavenProxyResource", RepositoryMavenProxyArgs.builder()
.httpClient(RepositoryMavenProxyHttpClientArgs.builder()
.autoBlock(false)
.blocked(false)
.authentication(RepositoryMavenProxyHttpClientAuthenticationArgs.builder()
.type("string")
.ntlmDomain("string")
.ntlmHost("string")
.password("string")
.preemptive(false)
.username("string")
.build())
.connection(RepositoryMavenProxyHttpClientConnectionArgs.builder()
.enableCircularRedirects(false)
.enableCookies(false)
.retries(0)
.timeout(0)
.useTrustStore(false)
.userAgentSuffix("string")
.build())
.build())
.maven(RepositoryMavenProxyMavenArgs.builder()
.layoutPolicy("string")
.versionPolicy("string")
.contentDisposition("string")
.build())
.negativeCache(RepositoryMavenProxyNegativeCacheArgs.builder()
.enabled(false)
.ttl(0)
.build())
.proxy(RepositoryMavenProxyProxyArgs.builder()
.remoteUrl("string")
.contentMaxAge(0)
.metadataMaxAge(0)
.build())
.storage(RepositoryMavenProxyStorageArgs.builder()
.blobStoreName("string")
.strictContentTypeValidation(false)
.build())
.cleanups(RepositoryMavenProxyCleanupArgs.builder()
.policyNames("string")
.build())
.name("string")
.online(false)
.routingRule("string")
.build());
repository_maven_proxy_resource = nexus.RepositoryMavenProxy("repositoryMavenProxyResource",
http_client={
"auto_block": False,
"blocked": False,
"authentication": {
"type": "string",
"ntlm_domain": "string",
"ntlm_host": "string",
"password": "string",
"preemptive": False,
"username": "string",
},
"connection": {
"enable_circular_redirects": False,
"enable_cookies": False,
"retries": 0,
"timeout": 0,
"use_trust_store": False,
"user_agent_suffix": "string",
},
},
maven={
"layout_policy": "string",
"version_policy": "string",
"content_disposition": "string",
},
negative_cache={
"enabled": False,
"ttl": 0,
},
proxy={
"remote_url": "string",
"content_max_age": 0,
"metadata_max_age": 0,
},
storage={
"blob_store_name": "string",
"strict_content_type_validation": False,
},
cleanups=[{
"policy_names": ["string"],
}],
name="string",
online=False,
routing_rule="string")
const repositoryMavenProxyResource = new nexus.RepositoryMavenProxy("repositoryMavenProxyResource", {
httpClient: {
autoBlock: false,
blocked: false,
authentication: {
type: "string",
ntlmDomain: "string",
ntlmHost: "string",
password: "string",
preemptive: false,
username: "string",
},
connection: {
enableCircularRedirects: false,
enableCookies: false,
retries: 0,
timeout: 0,
useTrustStore: false,
userAgentSuffix: "string",
},
},
maven: {
layoutPolicy: "string",
versionPolicy: "string",
contentDisposition: "string",
},
negativeCache: {
enabled: false,
ttl: 0,
},
proxy: {
remoteUrl: "string",
contentMaxAge: 0,
metadataMaxAge: 0,
},
storage: {
blobStoreName: "string",
strictContentTypeValidation: false,
},
cleanups: [{
policyNames: ["string"],
}],
name: "string",
online: false,
routingRule: "string",
});
type: nexus:RepositoryMavenProxy
properties:
cleanups:
- policyNames:
- string
httpClient:
authentication:
ntlmDomain: string
ntlmHost: string
password: string
preemptive: false
type: string
username: string
autoBlock: false
blocked: false
connection:
enableCircularRedirects: false
enableCookies: false
retries: 0
timeout: 0
useTrustStore: false
userAgentSuffix: string
maven:
contentDisposition: string
layoutPolicy: string
versionPolicy: string
name: string
negativeCache:
enabled: false
ttl: 0
online: false
proxy:
contentMaxAge: 0
metadataMaxAge: 0
remoteUrl: string
routingRule: string
storage:
blobStoreName: string
strictContentTypeValidation: false
RepositoryMavenProxy 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 RepositoryMavenProxy resource accepts the following input properties:
- Http
Client RepositoryMaven Proxy Http Client - HTTP Client configuration for proxy repositories
- Maven
Repository
Maven Proxy Maven - Maven contains additional data of maven repository
- Negative
Cache RepositoryMaven Proxy Negative Cache - Configuration of the negative cache handling
- Proxy
Repository
Maven Proxy Proxy - Configuration for the proxy repository
- Storage
Repository
Maven Proxy Storage - The storage configuration of the repository
- Cleanups
List<Repository
Maven Proxy Cleanup> - Cleanup policies
- Name string
- A unique identifier for this repository
- Online bool
- Whether this repository accepts incoming requests
- Routing
Rule string - The name of the routing rule assigned to this repository
- Http
Client RepositoryMaven Proxy Http Client Args - HTTP Client configuration for proxy repositories
- Maven
Repository
Maven Proxy Maven Args - Maven contains additional data of maven repository
- Negative
Cache RepositoryMaven Proxy Negative Cache Args - Configuration of the negative cache handling
- Proxy
Repository
Maven Proxy Proxy Args - Configuration for the proxy repository
- Storage
Repository
Maven Proxy Storage Args - The storage configuration of the repository
- Cleanups
[]Repository
Maven Proxy Cleanup Args - Cleanup policies
- Name string
- A unique identifier for this repository
- Online bool
- Whether this repository accepts incoming requests
- Routing
Rule string - The name of the routing rule assigned to this repository
- http
Client RepositoryMaven Proxy Http Client - HTTP Client configuration for proxy repositories
- maven
Repository
Maven Proxy Maven - Maven contains additional data of maven repository
- negative
Cache RepositoryMaven Proxy Negative Cache - Configuration of the negative cache handling
- proxy
Repository
Maven Proxy Proxy - Configuration for the proxy repository
- storage
Repository
Maven Proxy Storage - The storage configuration of the repository
- cleanups
List<Repository
Maven Proxy Cleanup> - Cleanup policies
- name String
- A unique identifier for this repository
- online Boolean
- Whether this repository accepts incoming requests
- routing
Rule String - The name of the routing rule assigned to this repository
- http
Client RepositoryMaven Proxy Http Client - HTTP Client configuration for proxy repositories
- maven
Repository
Maven Proxy Maven - Maven contains additional data of maven repository
- negative
Cache RepositoryMaven Proxy Negative Cache - Configuration of the negative cache handling
- proxy
Repository
Maven Proxy Proxy - Configuration for the proxy repository
- storage
Repository
Maven Proxy Storage - The storage configuration of the repository
- cleanups
Repository
Maven Proxy Cleanup[] - Cleanup policies
- name string
- A unique identifier for this repository
- online boolean
- Whether this repository accepts incoming requests
- routing
Rule string - The name of the routing rule assigned to this repository
- http_
client RepositoryMaven Proxy Http Client Args - HTTP Client configuration for proxy repositories
- maven
Repository
Maven Proxy Maven Args - Maven contains additional data of maven repository
- negative_
cache RepositoryMaven Proxy Negative Cache Args - Configuration of the negative cache handling
- proxy
Repository
Maven Proxy Proxy Args - Configuration for the proxy repository
- storage
Repository
Maven Proxy Storage Args - The storage configuration of the repository
- cleanups
Sequence[Repository
Maven Proxy Cleanup Args] - Cleanup policies
- name str
- A unique identifier for this repository
- online bool
- Whether this repository accepts incoming requests
- routing_
rule str - The name of the routing rule assigned to this repository
- http
Client Property Map - HTTP Client configuration for proxy repositories
- maven Property Map
- Maven contains additional data of maven repository
- negative
Cache Property Map - Configuration of the negative cache handling
- proxy Property Map
- Configuration for the proxy repository
- storage Property Map
- The storage configuration of the repository
- cleanups List<Property Map>
- Cleanup policies
- name String
- A unique identifier for this repository
- online Boolean
- Whether this repository accepts incoming requests
- routing
Rule String - The name of the routing rule assigned to this repository
Outputs
All input properties are implicitly available as output properties. Additionally, the RepositoryMavenProxy 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 RepositoryMavenProxy Resource
Get an existing RepositoryMavenProxy 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?: RepositoryMavenProxyState, opts?: CustomResourceOptions): RepositoryMavenProxy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cleanups: Optional[Sequence[RepositoryMavenProxyCleanupArgs]] = None,
http_client: Optional[RepositoryMavenProxyHttpClientArgs] = None,
maven: Optional[RepositoryMavenProxyMavenArgs] = None,
name: Optional[str] = None,
negative_cache: Optional[RepositoryMavenProxyNegativeCacheArgs] = None,
online: Optional[bool] = None,
proxy: Optional[RepositoryMavenProxyProxyArgs] = None,
routing_rule: Optional[str] = None,
storage: Optional[RepositoryMavenProxyStorageArgs] = None) -> RepositoryMavenProxy
func GetRepositoryMavenProxy(ctx *Context, name string, id IDInput, state *RepositoryMavenProxyState, opts ...ResourceOption) (*RepositoryMavenProxy, error)
public static RepositoryMavenProxy Get(string name, Input<string> id, RepositoryMavenProxyState? state, CustomResourceOptions? opts = null)
public static RepositoryMavenProxy get(String name, Output<String> id, RepositoryMavenProxyState state, CustomResourceOptions options)
resources: _: type: nexus:RepositoryMavenProxy 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.
- Cleanups
List<Repository
Maven Proxy Cleanup> - Cleanup policies
- Http
Client RepositoryMaven Proxy Http Client - HTTP Client configuration for proxy repositories
- Maven
Repository
Maven Proxy Maven - Maven contains additional data of maven repository
- Name string
- A unique identifier for this repository
- Negative
Cache RepositoryMaven Proxy Negative Cache - Configuration of the negative cache handling
- Online bool
- Whether this repository accepts incoming requests
- Proxy
Repository
Maven Proxy Proxy - Configuration for the proxy repository
- Routing
Rule string - The name of the routing rule assigned to this repository
- Storage
Repository
Maven Proxy Storage - The storage configuration of the repository
- Cleanups
[]Repository
Maven Proxy Cleanup Args - Cleanup policies
- Http
Client RepositoryMaven Proxy Http Client Args - HTTP Client configuration for proxy repositories
- Maven
Repository
Maven Proxy Maven Args - Maven contains additional data of maven repository
- Name string
- A unique identifier for this repository
- Negative
Cache RepositoryMaven Proxy Negative Cache Args - Configuration of the negative cache handling
- Online bool
- Whether this repository accepts incoming requests
- Proxy
Repository
Maven Proxy Proxy Args - Configuration for the proxy repository
- Routing
Rule string - The name of the routing rule assigned to this repository
- Storage
Repository
Maven Proxy Storage Args - The storage configuration of the repository
- cleanups
List<Repository
Maven Proxy Cleanup> - Cleanup policies
- http
Client RepositoryMaven Proxy Http Client - HTTP Client configuration for proxy repositories
- maven
Repository
Maven Proxy Maven - Maven contains additional data of maven repository
- name String
- A unique identifier for this repository
- negative
Cache RepositoryMaven Proxy Negative Cache - Configuration of the negative cache handling
- online Boolean
- Whether this repository accepts incoming requests
- proxy
Repository
Maven Proxy Proxy - Configuration for the proxy repository
- routing
Rule String - The name of the routing rule assigned to this repository
- storage
Repository
Maven Proxy Storage - The storage configuration of the repository
- cleanups
Repository
Maven Proxy Cleanup[] - Cleanup policies
- http
Client RepositoryMaven Proxy Http Client - HTTP Client configuration for proxy repositories
- maven
Repository
Maven Proxy Maven - Maven contains additional data of maven repository
- name string
- A unique identifier for this repository
- negative
Cache RepositoryMaven Proxy Negative Cache - Configuration of the negative cache handling
- online boolean
- Whether this repository accepts incoming requests
- proxy
Repository
Maven Proxy Proxy - Configuration for the proxy repository
- routing
Rule string - The name of the routing rule assigned to this repository
- storage
Repository
Maven Proxy Storage - The storage configuration of the repository
- cleanups
Sequence[Repository
Maven Proxy Cleanup Args] - Cleanup policies
- http_
client RepositoryMaven Proxy Http Client Args - HTTP Client configuration for proxy repositories
- maven
Repository
Maven Proxy Maven Args - Maven contains additional data of maven repository
- name str
- A unique identifier for this repository
- negative_
cache RepositoryMaven Proxy Negative Cache Args - Configuration of the negative cache handling
- online bool
- Whether this repository accepts incoming requests
- proxy
Repository
Maven Proxy Proxy Args - Configuration for the proxy repository
- routing_
rule str - The name of the routing rule assigned to this repository
- storage
Repository
Maven Proxy Storage Args - The storage configuration of the repository
- cleanups List<Property Map>
- Cleanup policies
- http
Client Property Map - HTTP Client configuration for proxy repositories
- maven Property Map
- Maven contains additional data of maven repository
- name String
- A unique identifier for this repository
- negative
Cache Property Map - Configuration of the negative cache handling
- online Boolean
- Whether this repository accepts incoming requests
- proxy Property Map
- Configuration for the proxy repository
- routing
Rule String - The name of the routing rule assigned to this repository
- storage Property Map
- The storage configuration of the repository
Supporting Types
RepositoryMavenProxyCleanup, RepositoryMavenProxyCleanupArgs
- Policy
Names List<string> - List of policy names
- Policy
Names []string - List of policy names
- policy
Names List<String> - List of policy names
- policy
Names string[] - List of policy names
- policy_
names Sequence[str] - List of policy names
- policy
Names List<String> - List of policy names
RepositoryMavenProxyHttpClient, RepositoryMavenProxyHttpClientArgs
- Auto
Block bool - Whether to auto-block outbound connections if remote peer is detected as unreachable/unresponsive
- Blocked bool
- Whether to block outbound connections on the repository
- Authentication
Repository
Maven Proxy Http Client Authentication - Authentication configuration of the HTTP client
- Connection
Repository
Maven Proxy Http Client Connection - Connection configuration of the HTTP client
- Auto
Block bool - Whether to auto-block outbound connections if remote peer is detected as unreachable/unresponsive
- Blocked bool
- Whether to block outbound connections on the repository
- Authentication
Repository
Maven Proxy Http Client Authentication - Authentication configuration of the HTTP client
- Connection
Repository
Maven Proxy Http Client Connection - Connection configuration of the HTTP client
- auto
Block Boolean - Whether to auto-block outbound connections if remote peer is detected as unreachable/unresponsive
- blocked Boolean
- Whether to block outbound connections on the repository
- authentication
Repository
Maven Proxy Http Client Authentication - Authentication configuration of the HTTP client
- connection
Repository
Maven Proxy Http Client Connection - Connection configuration of the HTTP client
- auto
Block boolean - Whether to auto-block outbound connections if remote peer is detected as unreachable/unresponsive
- blocked boolean
- Whether to block outbound connections on the repository
- authentication
Repository
Maven Proxy Http Client Authentication - Authentication configuration of the HTTP client
- connection
Repository
Maven Proxy Http Client Connection - Connection configuration of the HTTP client
- auto_
block bool - Whether to auto-block outbound connections if remote peer is detected as unreachable/unresponsive
- blocked bool
- Whether to block outbound connections on the repository
- authentication
Repository
Maven Proxy Http Client Authentication - Authentication configuration of the HTTP client
- connection
Repository
Maven Proxy Http Client Connection - Connection configuration of the HTTP client
- auto
Block Boolean - Whether to auto-block outbound connections if remote peer is detected as unreachable/unresponsive
- blocked Boolean
- Whether to block outbound connections on the repository
- authentication Property Map
- Authentication configuration of the HTTP client
- connection Property Map
- Connection configuration of the HTTP client
RepositoryMavenProxyHttpClientAuthentication, RepositoryMavenProxyHttpClientAuthenticationArgs
- Type string
- Authentication type. Possible values:
ntlm
orusername
- Ntlm
Domain string - The ntlm domain to connect
- Ntlm
Host string - The ntlm host to connect
- Password string
- The password used by the proxy repository
- Preemptive bool
- Whether to use pre-emptive authentication. Use with caution. Defaults to false.
- Username string
- The username used by the proxy repository
- Type string
- Authentication type. Possible values:
ntlm
orusername
- Ntlm
Domain string - The ntlm domain to connect
- Ntlm
Host string - The ntlm host to connect
- Password string
- The password used by the proxy repository
- Preemptive bool
- Whether to use pre-emptive authentication. Use with caution. Defaults to false.
- Username string
- The username used by the proxy repository
- type String
- Authentication type. Possible values:
ntlm
orusername
- ntlm
Domain String - The ntlm domain to connect
- ntlm
Host String - The ntlm host to connect
- password String
- The password used by the proxy repository
- preemptive Boolean
- Whether to use pre-emptive authentication. Use with caution. Defaults to false.
- username String
- The username used by the proxy repository
- type string
- Authentication type. Possible values:
ntlm
orusername
- ntlm
Domain string - The ntlm domain to connect
- ntlm
Host string - The ntlm host to connect
- password string
- The password used by the proxy repository
- preemptive boolean
- Whether to use pre-emptive authentication. Use with caution. Defaults to false.
- username string
- The username used by the proxy repository
- type str
- Authentication type. Possible values:
ntlm
orusername
- ntlm_
domain str - The ntlm domain to connect
- ntlm_
host str - The ntlm host to connect
- password str
- The password used by the proxy repository
- preemptive bool
- Whether to use pre-emptive authentication. Use with caution. Defaults to false.
- username str
- The username used by the proxy repository
- type String
- Authentication type. Possible values:
ntlm
orusername
- ntlm
Domain String - The ntlm domain to connect
- ntlm
Host String - The ntlm host to connect
- password String
- The password used by the proxy repository
- preemptive Boolean
- Whether to use pre-emptive authentication. Use with caution. Defaults to false.
- username String
- The username used by the proxy repository
RepositoryMavenProxyHttpClientConnection, RepositoryMavenProxyHttpClientConnectionArgs
- Enable
Circular boolRedirects - Whether to enable redirects to the same location (may be required by some servers)
- bool
- Whether to allow cookies to be stored and used
- Retries double
- Total retries if the initial connection attempt suffers a timeout
- Timeout double
- Seconds to wait for activity before stopping and retrying the connection
- Use
Trust boolStore - Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- User
Agent stringSuffix - Custom fragment to append to User-Agent header in HTTP requests
- Enable
Circular boolRedirects - Whether to enable redirects to the same location (may be required by some servers)
- bool
- Whether to allow cookies to be stored and used
- Retries float64
- Total retries if the initial connection attempt suffers a timeout
- Timeout float64
- Seconds to wait for activity before stopping and retrying the connection
- Use
Trust boolStore - Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- User
Agent stringSuffix - Custom fragment to append to User-Agent header in HTTP requests
- enable
Circular BooleanRedirects - Whether to enable redirects to the same location (may be required by some servers)
- Boolean
- Whether to allow cookies to be stored and used
- retries Double
- Total retries if the initial connection attempt suffers a timeout
- timeout Double
- Seconds to wait for activity before stopping and retrying the connection
- use
Trust BooleanStore - Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- user
Agent StringSuffix - Custom fragment to append to User-Agent header in HTTP requests
- enable
Circular booleanRedirects - Whether to enable redirects to the same location (may be required by some servers)
- boolean
- Whether to allow cookies to be stored and used
- retries number
- Total retries if the initial connection attempt suffers a timeout
- timeout number
- Seconds to wait for activity before stopping and retrying the connection
- use
Trust booleanStore - Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- user
Agent stringSuffix - Custom fragment to append to User-Agent header in HTTP requests
- enable_
circular_ boolredirects - Whether to enable redirects to the same location (may be required by some servers)
- bool
- Whether to allow cookies to be stored and used
- retries float
- Total retries if the initial connection attempt suffers a timeout
- timeout float
- Seconds to wait for activity before stopping and retrying the connection
- use_
trust_ boolstore - Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- user_
agent_ strsuffix - Custom fragment to append to User-Agent header in HTTP requests
- enable
Circular BooleanRedirects - Whether to enable redirects to the same location (may be required by some servers)
- Boolean
- Whether to allow cookies to be stored and used
- retries Number
- Total retries if the initial connection attempt suffers a timeout
- timeout Number
- Seconds to wait for activity before stopping and retrying the connection
- use
Trust BooleanStore - Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- user
Agent StringSuffix - Custom fragment to append to User-Agent header in HTTP requests
RepositoryMavenProxyMaven, RepositoryMavenProxyMavenArgs
- Layout
Policy string - Validate that all paths are maven artifact or metadata paths. Possible Value:
STRICT
orPERMISSIVE
- Version
Policy string - What type of artifacts does this repository store? Possible Value:
RELEASE
,SNAPSHOT
orMIXED
- Content
Disposition string - Add Content-Disposition header as 'Attachment' to disable some content from being inline in a browse. Possible Value:
INLINE
orATTACHMENT
- Layout
Policy string - Validate that all paths are maven artifact or metadata paths. Possible Value:
STRICT
orPERMISSIVE
- Version
Policy string - What type of artifacts does this repository store? Possible Value:
RELEASE
,SNAPSHOT
orMIXED
- Content
Disposition string - Add Content-Disposition header as 'Attachment' to disable some content from being inline in a browse. Possible Value:
INLINE
orATTACHMENT
- layout
Policy String - Validate that all paths are maven artifact or metadata paths. Possible Value:
STRICT
orPERMISSIVE
- version
Policy String - What type of artifacts does this repository store? Possible Value:
RELEASE
,SNAPSHOT
orMIXED
- content
Disposition String - Add Content-Disposition header as 'Attachment' to disable some content from being inline in a browse. Possible Value:
INLINE
orATTACHMENT
- layout
Policy string - Validate that all paths are maven artifact or metadata paths. Possible Value:
STRICT
orPERMISSIVE
- version
Policy string - What type of artifacts does this repository store? Possible Value:
RELEASE
,SNAPSHOT
orMIXED
- content
Disposition string - Add Content-Disposition header as 'Attachment' to disable some content from being inline in a browse. Possible Value:
INLINE
orATTACHMENT
- layout_
policy str - Validate that all paths are maven artifact or metadata paths. Possible Value:
STRICT
orPERMISSIVE
- version_
policy str - What type of artifacts does this repository store? Possible Value:
RELEASE
,SNAPSHOT
orMIXED
- content_
disposition str - Add Content-Disposition header as 'Attachment' to disable some content from being inline in a browse. Possible Value:
INLINE
orATTACHMENT
- layout
Policy String - Validate that all paths are maven artifact or metadata paths. Possible Value:
STRICT
orPERMISSIVE
- version
Policy String - What type of artifacts does this repository store? Possible Value:
RELEASE
,SNAPSHOT
orMIXED
- content
Disposition String - Add Content-Disposition header as 'Attachment' to disable some content from being inline in a browse. Possible Value:
INLINE
orATTACHMENT
RepositoryMavenProxyNegativeCache, RepositoryMavenProxyNegativeCacheArgs
RepositoryMavenProxyProxy, RepositoryMavenProxyProxyArgs
- Remote
Url string - Location of the remote repository being proxied
- Content
Max doubleAge - How long (in minutes) to cache artifacts before rechecking the remote repository
- Metadata
Max doubleAge - How long (in minutes) to cache metadata before rechecking the remote repository.
- Remote
Url string - Location of the remote repository being proxied
- Content
Max float64Age - How long (in minutes) to cache artifacts before rechecking the remote repository
- Metadata
Max float64Age - How long (in minutes) to cache metadata before rechecking the remote repository.
- remote
Url String - Location of the remote repository being proxied
- content
Max DoubleAge - How long (in minutes) to cache artifacts before rechecking the remote repository
- metadata
Max DoubleAge - How long (in minutes) to cache metadata before rechecking the remote repository.
- remote
Url string - Location of the remote repository being proxied
- content
Max numberAge - How long (in minutes) to cache artifacts before rechecking the remote repository
- metadata
Max numberAge - How long (in minutes) to cache metadata before rechecking the remote repository.
- remote_
url str - Location of the remote repository being proxied
- content_
max_ floatage - How long (in minutes) to cache artifacts before rechecking the remote repository
- metadata_
max_ floatage - How long (in minutes) to cache metadata before rechecking the remote repository.
- remote
Url String - Location of the remote repository being proxied
- content
Max NumberAge - How long (in minutes) to cache artifacts before rechecking the remote repository
- metadata
Max NumberAge - How long (in minutes) to cache metadata before rechecking the remote repository.
RepositoryMavenProxyStorage, RepositoryMavenProxyStorageArgs
- Blob
Store stringName - Blob store used to store repository contents
- Strict
Content boolType Validation - Whether to validate uploaded content's MIME type appropriate for the repository format
- Blob
Store stringName - Blob store used to store repository contents
- Strict
Content boolType Validation - Whether to validate uploaded content's MIME type appropriate for the repository format
- blob
Store StringName - Blob store used to store repository contents
- strict
Content BooleanType Validation - Whether to validate uploaded content's MIME type appropriate for the repository format
- blob
Store stringName - Blob store used to store repository contents
- strict
Content booleanType Validation - Whether to validate uploaded content's MIME type appropriate for the repository format
- blob_
store_ strname - Blob store used to store repository contents
- strict_
content_ booltype_ validation - Whether to validate uploaded content's MIME type appropriate for the repository format
- blob
Store StringName - Blob store used to store repository contents
- strict
Content BooleanType Validation - Whether to validate uploaded content's MIME type appropriate for the repository format
Import
import using the name of repository
$ pulumi import nexus:index/repositoryMavenProxy:RepositoryMavenProxy maven_central maven-central
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.