nexus.RepositoryCargoProxy
Use this resource to create an NPM proxy repository.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nexus from "@pulumi/nexus";
const cratesio = new nexus.RepositoryCargoProxy("cratesio", {
    httpClient: {
        autoBlock: true,
        blocked: false,
    },
    negativeCache: {
        enabled: true,
        ttl: 1440,
    },
    online: true,
    proxy: {
        contentMaxAge: 1440,
        metadataMaxAge: 1440,
        remoteUrl: "https://index.crates.io/",
    },
    storage: {
        blobStoreName: "default",
        strictContentTypeValidation: true,
    },
});
import pulumi
import pulumi_nexus as nexus
cratesio = nexus.RepositoryCargoProxy("cratesio",
    http_client={
        "auto_block": True,
        "blocked": False,
    },
    negative_cache={
        "enabled": True,
        "ttl": 1440,
    },
    online=True,
    proxy={
        "content_max_age": 1440,
        "metadata_max_age": 1440,
        "remote_url": "https://index.crates.io/",
    },
    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.NewRepositoryCargoProxy(ctx, "cratesio", &nexus.RepositoryCargoProxyArgs{
			HttpClient: &nexus.RepositoryCargoProxyHttpClientArgs{
				AutoBlock: pulumi.Bool(true),
				Blocked:   pulumi.Bool(false),
			},
			NegativeCache: &nexus.RepositoryCargoProxyNegativeCacheArgs{
				Enabled: pulumi.Bool(true),
				Ttl:     pulumi.Float64(1440),
			},
			Online: pulumi.Bool(true),
			Proxy: &nexus.RepositoryCargoProxyProxyArgs{
				ContentMaxAge:  pulumi.Float64(1440),
				MetadataMaxAge: pulumi.Float64(1440),
				RemoteUrl:      pulumi.String("https://index.crates.io/"),
			},
			Storage: &nexus.RepositoryCargoProxyStorageArgs{
				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 cratesio = new Nexus.RepositoryCargoProxy("cratesio", new()
    {
        HttpClient = new Nexus.Inputs.RepositoryCargoProxyHttpClientArgs
        {
            AutoBlock = true,
            Blocked = false,
        },
        NegativeCache = new Nexus.Inputs.RepositoryCargoProxyNegativeCacheArgs
        {
            Enabled = true,
            Ttl = 1440,
        },
        Online = true,
        Proxy = new Nexus.Inputs.RepositoryCargoProxyProxyArgs
        {
            ContentMaxAge = 1440,
            MetadataMaxAge = 1440,
            RemoteUrl = "https://index.crates.io/",
        },
        Storage = new Nexus.Inputs.RepositoryCargoProxyStorageArgs
        {
            BlobStoreName = "default",
            StrictContentTypeValidation = true,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nexus.RepositoryCargoProxy;
import com.pulumi.nexus.RepositoryCargoProxyArgs;
import com.pulumi.nexus.inputs.RepositoryCargoProxyHttpClientArgs;
import com.pulumi.nexus.inputs.RepositoryCargoProxyNegativeCacheArgs;
import com.pulumi.nexus.inputs.RepositoryCargoProxyProxyArgs;
import com.pulumi.nexus.inputs.RepositoryCargoProxyStorageArgs;
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 cratesio = new RepositoryCargoProxy("cratesio", RepositoryCargoProxyArgs.builder()
            .httpClient(RepositoryCargoProxyHttpClientArgs.builder()
                .autoBlock(true)
                .blocked(false)
                .build())
            .negativeCache(RepositoryCargoProxyNegativeCacheArgs.builder()
                .enabled(true)
                .ttl(1440)
                .build())
            .online(true)
            .proxy(RepositoryCargoProxyProxyArgs.builder()
                .contentMaxAge(1440)
                .metadataMaxAge(1440)
                .remoteUrl("https://index.crates.io/")
                .build())
            .storage(RepositoryCargoProxyStorageArgs.builder()
                .blobStoreName("default")
                .strictContentTypeValidation(true)
                .build())
            .build());
    }
}
resources:
  cratesio:
    type: nexus:RepositoryCargoProxy
    properties:
      httpClient:
        autoBlock: true
        blocked: false
      negativeCache:
        enabled: true
        ttl: 1440
      online: true
      proxy:
        contentMaxAge: 1440
        metadataMaxAge: 1440
        remoteUrl: https://index.crates.io/
      storage:
        blobStoreName: default
        strictContentTypeValidation: true
Create RepositoryCargoProxy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RepositoryCargoProxy(name: string, args: RepositoryCargoProxyArgs, opts?: CustomResourceOptions);@overload
def RepositoryCargoProxy(resource_name: str,
                         args: RepositoryCargoProxyArgs,
                         opts: Optional[ResourceOptions] = None)
@overload
def RepositoryCargoProxy(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         http_client: Optional[RepositoryCargoProxyHttpClientArgs] = None,
                         negative_cache: Optional[RepositoryCargoProxyNegativeCacheArgs] = None,
                         proxy: Optional[RepositoryCargoProxyProxyArgs] = None,
                         storage: Optional[RepositoryCargoProxyStorageArgs] = None,
                         cleanups: Optional[Sequence[RepositoryCargoProxyCleanupArgs]] = None,
                         name: Optional[str] = None,
                         online: Optional[bool] = None,
                         routing_rule: Optional[str] = None)func NewRepositoryCargoProxy(ctx *Context, name string, args RepositoryCargoProxyArgs, opts ...ResourceOption) (*RepositoryCargoProxy, error)public RepositoryCargoProxy(string name, RepositoryCargoProxyArgs args, CustomResourceOptions? opts = null)
public RepositoryCargoProxy(String name, RepositoryCargoProxyArgs args)
public RepositoryCargoProxy(String name, RepositoryCargoProxyArgs args, CustomResourceOptions options)
type: nexus:RepositoryCargoProxy
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 RepositoryCargoProxyArgs
- 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 RepositoryCargoProxyArgs
- 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 RepositoryCargoProxyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RepositoryCargoProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RepositoryCargoProxyArgs
- 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 repositoryCargoProxyResource = new Nexus.RepositoryCargoProxy("repositoryCargoProxyResource", new()
{
    HttpClient = new Nexus.Inputs.RepositoryCargoProxyHttpClientArgs
    {
        AutoBlock = false,
        Blocked = false,
        Authentication = new Nexus.Inputs.RepositoryCargoProxyHttpClientAuthenticationArgs
        {
            Type = "string",
            NtlmDomain = "string",
            NtlmHost = "string",
            Password = "string",
            Username = "string",
        },
        Connection = new Nexus.Inputs.RepositoryCargoProxyHttpClientConnectionArgs
        {
            EnableCircularRedirects = false,
            EnableCookies = false,
            Retries = 0,
            Timeout = 0,
            UseTrustStore = false,
            UserAgentSuffix = "string",
        },
    },
    NegativeCache = new Nexus.Inputs.RepositoryCargoProxyNegativeCacheArgs
    {
        Enabled = false,
        Ttl = 0,
    },
    Proxy = new Nexus.Inputs.RepositoryCargoProxyProxyArgs
    {
        RemoteUrl = "string",
        ContentMaxAge = 0,
        MetadataMaxAge = 0,
    },
    Storage = new Nexus.Inputs.RepositoryCargoProxyStorageArgs
    {
        BlobStoreName = "string",
        StrictContentTypeValidation = false,
    },
    Cleanups = new[]
    {
        new Nexus.Inputs.RepositoryCargoProxyCleanupArgs
        {
            PolicyNames = new[]
            {
                "string",
            },
        },
    },
    Name = "string",
    Online = false,
    RoutingRule = "string",
});
example, err := nexus.NewRepositoryCargoProxy(ctx, "repositoryCargoProxyResource", &nexus.RepositoryCargoProxyArgs{
	HttpClient: &nexus.RepositoryCargoProxyHttpClientArgs{
		AutoBlock: pulumi.Bool(false),
		Blocked:   pulumi.Bool(false),
		Authentication: &nexus.RepositoryCargoProxyHttpClientAuthenticationArgs{
			Type:       pulumi.String("string"),
			NtlmDomain: pulumi.String("string"),
			NtlmHost:   pulumi.String("string"),
			Password:   pulumi.String("string"),
			Username:   pulumi.String("string"),
		},
		Connection: &nexus.RepositoryCargoProxyHttpClientConnectionArgs{
			EnableCircularRedirects: pulumi.Bool(false),
			EnableCookies:           pulumi.Bool(false),
			Retries:                 pulumi.Float64(0),
			Timeout:                 pulumi.Float64(0),
			UseTrustStore:           pulumi.Bool(false),
			UserAgentSuffix:         pulumi.String("string"),
		},
	},
	NegativeCache: &nexus.RepositoryCargoProxyNegativeCacheArgs{
		Enabled: pulumi.Bool(false),
		Ttl:     pulumi.Float64(0),
	},
	Proxy: &nexus.RepositoryCargoProxyProxyArgs{
		RemoteUrl:      pulumi.String("string"),
		ContentMaxAge:  pulumi.Float64(0),
		MetadataMaxAge: pulumi.Float64(0),
	},
	Storage: &nexus.RepositoryCargoProxyStorageArgs{
		BlobStoreName:               pulumi.String("string"),
		StrictContentTypeValidation: pulumi.Bool(false),
	},
	Cleanups: nexus.RepositoryCargoProxyCleanupArray{
		&nexus.RepositoryCargoProxyCleanupArgs{
			PolicyNames: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Name:        pulumi.String("string"),
	Online:      pulumi.Bool(false),
	RoutingRule: pulumi.String("string"),
})
var repositoryCargoProxyResource = new RepositoryCargoProxy("repositoryCargoProxyResource", RepositoryCargoProxyArgs.builder()
    .httpClient(RepositoryCargoProxyHttpClientArgs.builder()
        .autoBlock(false)
        .blocked(false)
        .authentication(RepositoryCargoProxyHttpClientAuthenticationArgs.builder()
            .type("string")
            .ntlmDomain("string")
            .ntlmHost("string")
            .password("string")
            .username("string")
            .build())
        .connection(RepositoryCargoProxyHttpClientConnectionArgs.builder()
            .enableCircularRedirects(false)
            .enableCookies(false)
            .retries(0.0)
            .timeout(0.0)
            .useTrustStore(false)
            .userAgentSuffix("string")
            .build())
        .build())
    .negativeCache(RepositoryCargoProxyNegativeCacheArgs.builder()
        .enabled(false)
        .ttl(0.0)
        .build())
    .proxy(RepositoryCargoProxyProxyArgs.builder()
        .remoteUrl("string")
        .contentMaxAge(0.0)
        .metadataMaxAge(0.0)
        .build())
    .storage(RepositoryCargoProxyStorageArgs.builder()
        .blobStoreName("string")
        .strictContentTypeValidation(false)
        .build())
    .cleanups(RepositoryCargoProxyCleanupArgs.builder()
        .policyNames("string")
        .build())
    .name("string")
    .online(false)
    .routingRule("string")
    .build());
repository_cargo_proxy_resource = nexus.RepositoryCargoProxy("repositoryCargoProxyResource",
    http_client={
        "auto_block": False,
        "blocked": False,
        "authentication": {
            "type": "string",
            "ntlm_domain": "string",
            "ntlm_host": "string",
            "password": "string",
            "username": "string",
        },
        "connection": {
            "enable_circular_redirects": False,
            "enable_cookies": False,
            "retries": 0,
            "timeout": 0,
            "use_trust_store": False,
            "user_agent_suffix": "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 repositoryCargoProxyResource = new nexus.RepositoryCargoProxy("repositoryCargoProxyResource", {
    httpClient: {
        autoBlock: false,
        blocked: false,
        authentication: {
            type: "string",
            ntlmDomain: "string",
            ntlmHost: "string",
            password: "string",
            username: "string",
        },
        connection: {
            enableCircularRedirects: false,
            enableCookies: false,
            retries: 0,
            timeout: 0,
            useTrustStore: false,
            userAgentSuffix: "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:RepositoryCargoProxy
properties:
    cleanups:
        - policyNames:
            - string
    httpClient:
        authentication:
            ntlmDomain: string
            ntlmHost: string
            password: string
            type: string
            username: string
        autoBlock: false
        blocked: false
        connection:
            enableCircularRedirects: false
            enableCookies: false
            retries: 0
            timeout: 0
            useTrustStore: false
            userAgentSuffix: string
    name: string
    negativeCache:
        enabled: false
        ttl: 0
    online: false
    proxy:
        contentMaxAge: 0
        metadataMaxAge: 0
        remoteUrl: string
    routingRule: string
    storage:
        blobStoreName: string
        strictContentTypeValidation: false
RepositoryCargoProxy 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 RepositoryCargoProxy resource accepts the following input properties:
- HttpClient RepositoryCargo Proxy Http Client 
- HTTP Client configuration for proxy repositories
- NegativeCache RepositoryCargo Proxy Negative Cache 
- Configuration of the negative cache handling
- Proxy
RepositoryCargo Proxy Proxy 
- Configuration for the proxy repository
- Storage
RepositoryCargo Proxy Storage 
- The storage configuration of the repository
- Cleanups
List<RepositoryCargo Proxy Cleanup> 
- Cleanup policies
- Name string
- A unique identifier for this repository
- Online bool
- Whether this repository accepts incoming requests
- RoutingRule string
- The name of the routing rule assigned to this repository
- HttpClient RepositoryCargo Proxy Http Client Args 
- HTTP Client configuration for proxy repositories
- NegativeCache RepositoryCargo Proxy Negative Cache Args 
- Configuration of the negative cache handling
- Proxy
RepositoryCargo Proxy Proxy Args 
- Configuration for the proxy repository
- Storage
RepositoryCargo Proxy Storage Args 
- The storage configuration of the repository
- Cleanups
[]RepositoryCargo Proxy Cleanup Args 
- Cleanup policies
- Name string
- A unique identifier for this repository
- Online bool
- Whether this repository accepts incoming requests
- RoutingRule string
- The name of the routing rule assigned to this repository
- httpClient RepositoryCargo Proxy Http Client 
- HTTP Client configuration for proxy repositories
- negativeCache RepositoryCargo Proxy Negative Cache 
- Configuration of the negative cache handling
- proxy
RepositoryCargo Proxy Proxy 
- Configuration for the proxy repository
- storage
RepositoryCargo Proxy Storage 
- The storage configuration of the repository
- cleanups
List<RepositoryCargo Proxy Cleanup> 
- Cleanup policies
- name String
- A unique identifier for this repository
- online Boolean
- Whether this repository accepts incoming requests
- routingRule String
- The name of the routing rule assigned to this repository
- httpClient RepositoryCargo Proxy Http Client 
- HTTP Client configuration for proxy repositories
- negativeCache RepositoryCargo Proxy Negative Cache 
- Configuration of the negative cache handling
- proxy
RepositoryCargo Proxy Proxy 
- Configuration for the proxy repository
- storage
RepositoryCargo Proxy Storage 
- The storage configuration of the repository
- cleanups
RepositoryCargo Proxy Cleanup[] 
- Cleanup policies
- name string
- A unique identifier for this repository
- online boolean
- Whether this repository accepts incoming requests
- routingRule string
- The name of the routing rule assigned to this repository
- http_client RepositoryCargo Proxy Http Client Args 
- HTTP Client configuration for proxy repositories
- negative_cache RepositoryCargo Proxy Negative Cache Args 
- Configuration of the negative cache handling
- proxy
RepositoryCargo Proxy Proxy Args 
- Configuration for the proxy repository
- storage
RepositoryCargo Proxy Storage Args 
- The storage configuration of the repository
- cleanups
Sequence[RepositoryCargo 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
- httpClient Property Map
- HTTP Client configuration for proxy repositories
- negativeCache 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
- routingRule String
- The name of the routing rule assigned to this repository
Outputs
All input properties are implicitly available as output properties. Additionally, the RepositoryCargoProxy 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 RepositoryCargoProxy Resource
Get an existing RepositoryCargoProxy 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?: RepositoryCargoProxyState, opts?: CustomResourceOptions): RepositoryCargoProxy@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cleanups: Optional[Sequence[RepositoryCargoProxyCleanupArgs]] = None,
        http_client: Optional[RepositoryCargoProxyHttpClientArgs] = None,
        name: Optional[str] = None,
        negative_cache: Optional[RepositoryCargoProxyNegativeCacheArgs] = None,
        online: Optional[bool] = None,
        proxy: Optional[RepositoryCargoProxyProxyArgs] = None,
        routing_rule: Optional[str] = None,
        storage: Optional[RepositoryCargoProxyStorageArgs] = None) -> RepositoryCargoProxyfunc GetRepositoryCargoProxy(ctx *Context, name string, id IDInput, state *RepositoryCargoProxyState, opts ...ResourceOption) (*RepositoryCargoProxy, error)public static RepositoryCargoProxy Get(string name, Input<string> id, RepositoryCargoProxyState? state, CustomResourceOptions? opts = null)public static RepositoryCargoProxy get(String name, Output<String> id, RepositoryCargoProxyState state, CustomResourceOptions options)resources:  _:    type: nexus:RepositoryCargoProxy    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<RepositoryCargo Proxy Cleanup> 
- Cleanup policies
- HttpClient RepositoryCargo Proxy Http Client 
- HTTP Client configuration for proxy repositories
- Name string
- A unique identifier for this repository
- NegativeCache RepositoryCargo Proxy Negative Cache 
- Configuration of the negative cache handling
- Online bool
- Whether this repository accepts incoming requests
- Proxy
RepositoryCargo Proxy Proxy 
- Configuration for the proxy repository
- RoutingRule string
- The name of the routing rule assigned to this repository
- Storage
RepositoryCargo Proxy Storage 
- The storage configuration of the repository
- Cleanups
[]RepositoryCargo Proxy Cleanup Args 
- Cleanup policies
- HttpClient RepositoryCargo Proxy Http Client Args 
- HTTP Client configuration for proxy repositories
- Name string
- A unique identifier for this repository
- NegativeCache RepositoryCargo Proxy Negative Cache Args 
- Configuration of the negative cache handling
- Online bool
- Whether this repository accepts incoming requests
- Proxy
RepositoryCargo Proxy Proxy Args 
- Configuration for the proxy repository
- RoutingRule string
- The name of the routing rule assigned to this repository
- Storage
RepositoryCargo Proxy Storage Args 
- The storage configuration of the repository
- cleanups
List<RepositoryCargo Proxy Cleanup> 
- Cleanup policies
- httpClient RepositoryCargo Proxy Http Client 
- HTTP Client configuration for proxy repositories
- name String
- A unique identifier for this repository
- negativeCache RepositoryCargo Proxy Negative Cache 
- Configuration of the negative cache handling
- online Boolean
- Whether this repository accepts incoming requests
- proxy
RepositoryCargo Proxy Proxy 
- Configuration for the proxy repository
- routingRule String
- The name of the routing rule assigned to this repository
- storage
RepositoryCargo Proxy Storage 
- The storage configuration of the repository
- cleanups
RepositoryCargo Proxy Cleanup[] 
- Cleanup policies
- httpClient RepositoryCargo Proxy Http Client 
- HTTP Client configuration for proxy repositories
- name string
- A unique identifier for this repository
- negativeCache RepositoryCargo Proxy Negative Cache 
- Configuration of the negative cache handling
- online boolean
- Whether this repository accepts incoming requests
- proxy
RepositoryCargo Proxy Proxy 
- Configuration for the proxy repository
- routingRule string
- The name of the routing rule assigned to this repository
- storage
RepositoryCargo Proxy Storage 
- The storage configuration of the repository
- cleanups
Sequence[RepositoryCargo Proxy Cleanup Args] 
- Cleanup policies
- http_client RepositoryCargo Proxy Http Client Args 
- HTTP Client configuration for proxy repositories
- name str
- A unique identifier for this repository
- negative_cache RepositoryCargo Proxy Negative Cache Args 
- Configuration of the negative cache handling
- online bool
- Whether this repository accepts incoming requests
- proxy
RepositoryCargo Proxy Proxy Args 
- Configuration for the proxy repository
- routing_rule str
- The name of the routing rule assigned to this repository
- storage
RepositoryCargo Proxy Storage Args 
- The storage configuration of the repository
- cleanups List<Property Map>
- Cleanup policies
- httpClient Property Map
- HTTP Client configuration for proxy repositories
- name String
- A unique identifier for this repository
- negativeCache Property Map
- Configuration of the negative cache handling
- online Boolean
- Whether this repository accepts incoming requests
- proxy Property Map
- Configuration for the proxy repository
- routingRule String
- The name of the routing rule assigned to this repository
- storage Property Map
- The storage configuration of the repository
Supporting Types
RepositoryCargoProxyCleanup, RepositoryCargoProxyCleanupArgs        
- 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
RepositoryCargoProxyHttpClient, RepositoryCargoProxyHttpClientArgs          
- AutoBlock 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
RepositoryCargo Proxy Http Client Authentication 
- Authentication configuration of the HTTP client
- Connection
RepositoryCargo Proxy Http Client Connection 
- Connection configuration of the HTTP client
- AutoBlock 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
RepositoryCargo Proxy Http Client Authentication 
- Authentication configuration of the HTTP client
- Connection
RepositoryCargo Proxy Http Client Connection 
- Connection configuration of the HTTP client
- autoBlock 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
RepositoryCargo Proxy Http Client Authentication 
- Authentication configuration of the HTTP client
- connection
RepositoryCargo Proxy Http Client Connection 
- Connection configuration of the HTTP client
- autoBlock 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
RepositoryCargo Proxy Http Client Authentication 
- Authentication configuration of the HTTP client
- connection
RepositoryCargo 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
RepositoryCargo Proxy Http Client Authentication 
- Authentication configuration of the HTTP client
- connection
RepositoryCargo Proxy Http Client Connection 
- Connection configuration of the HTTP client
- autoBlock 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
RepositoryCargoProxyHttpClientAuthentication, RepositoryCargoProxyHttpClientAuthenticationArgs            
- Type string
- Authentication type. Possible values: ntlmorusername
- NtlmDomain string
- The ntlm domain to connect
- NtlmHost string
- The ntlm host to connect
- Password string
- The password used by the proxy repository
- Username string
- The username used by the proxy repository
- Type string
- Authentication type. Possible values: ntlmorusername
- NtlmDomain string
- The ntlm domain to connect
- NtlmHost string
- The ntlm host to connect
- Password string
- The password used by the proxy repository
- Username string
- The username used by the proxy repository
- type String
- Authentication type. Possible values: ntlmorusername
- ntlmDomain String
- The ntlm domain to connect
- ntlmHost String
- The ntlm host to connect
- password String
- The password used by the proxy repository
- username String
- The username used by the proxy repository
- type string
- Authentication type. Possible values: ntlmorusername
- ntlmDomain string
- The ntlm domain to connect
- ntlmHost string
- The ntlm host to connect
- password string
- The password used by the proxy repository
- username string
- The username used by the proxy repository
- type str
- Authentication type. Possible values: ntlmorusername
- 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
- username str
- The username used by the proxy repository
- type String
- Authentication type. Possible values: ntlmorusername
- ntlmDomain String
- The ntlm domain to connect
- ntlmHost String
- The ntlm host to connect
- password String
- The password used by the proxy repository
- username String
- The username used by the proxy repository
RepositoryCargoProxyHttpClientConnection, RepositoryCargoProxyHttpClientConnectionArgs            
- EnableCircular 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
- UseTrust boolStore 
- Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- UserAgent stringSuffix 
- Custom fragment to append to User-Agent header in HTTP requests
- EnableCircular 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
- UseTrust boolStore 
- Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- UserAgent stringSuffix 
- Custom fragment to append to User-Agent header in HTTP requests
- enableCircular 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
- useTrust BooleanStore 
- Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- userAgent StringSuffix 
- Custom fragment to append to User-Agent header in HTTP requests
- enableCircular 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
- useTrust booleanStore 
- Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- userAgent 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
- enableCircular 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
- useTrust BooleanStore 
- Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
- userAgent StringSuffix 
- Custom fragment to append to User-Agent header in HTTP requests
RepositoryCargoProxyNegativeCache, RepositoryCargoProxyNegativeCacheArgs          
RepositoryCargoProxyProxy, RepositoryCargoProxyProxyArgs        
- RemoteUrl string
- Location of the remote repository being proxied
- ContentMax doubleAge 
- How long (in minutes) to cache artifacts before rechecking the remote repository
- MetadataMax doubleAge 
- How long (in minutes) to cache metadata before rechecking the remote repository.
- RemoteUrl string
- Location of the remote repository being proxied
- ContentMax float64Age 
- How long (in minutes) to cache artifacts before rechecking the remote repository
- MetadataMax float64Age 
- How long (in minutes) to cache metadata before rechecking the remote repository.
- remoteUrl String
- Location of the remote repository being proxied
- contentMax DoubleAge 
- How long (in minutes) to cache artifacts before rechecking the remote repository
- metadataMax DoubleAge 
- How long (in minutes) to cache metadata before rechecking the remote repository.
- remoteUrl string
- Location of the remote repository being proxied
- contentMax numberAge 
- How long (in minutes) to cache artifacts before rechecking the remote repository
- metadataMax 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.
- remoteUrl String
- Location of the remote repository being proxied
- contentMax NumberAge 
- How long (in minutes) to cache artifacts before rechecking the remote repository
- metadataMax NumberAge 
- How long (in minutes) to cache metadata before rechecking the remote repository.
RepositoryCargoProxyStorage, RepositoryCargoProxyStorageArgs        
- BlobStore stringName 
- Blob store used to store repository contents
- StrictContent boolType Validation 
- Whether to validate uploaded content's MIME type appropriate for the repository format
- BlobStore stringName 
- Blob store used to store repository contents
- StrictContent boolType Validation 
- Whether to validate uploaded content's MIME type appropriate for the repository format
- blobStore StringName 
- Blob store used to store repository contents
- strictContent BooleanType Validation 
- Whether to validate uploaded content's MIME type appropriate for the repository format
- blobStore stringName 
- Blob store used to store repository contents
- strictContent 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
- blobStore StringName 
- Blob store used to store repository contents
- strictContent 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/repositoryCargoProxy:RepositoryCargoProxy cargo_central cargo-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 nexusTerraform Provider.
