Use this data source to get an existing hosted npm repository.
data "nexus_repository_npm_hosted" "npm" {
name = "npm"
}
name
(String) A unique identifier for this repositorycleanup
(List of Object) Cleanup policies (see below for nested schema)component
(List of Object) Component configuration for the hosted repository (see below for nested schema)id
(String) Used to identify data source at nexusonline
(Boolean) Whether this repository accepts incoming requestsstorage
(List of Object) The storage configuration of the repository (see below for nested schema)cleanup
Read-Only:
policy_names
(Set of String)component
Read-Only:
proprietary_components
(Boolean)storage
Read-Only:
blob_store_name
(String)strict_content_type_validation
(Boolean)write_policy
(String)