1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. artifactregistry
  5. getRepository
Google Cloud v8.25.1 published on Wednesday, Apr 9, 2025 by Pulumi

gcp.artifactregistry.getRepository

Explore with Pulumi AI

Google Cloud v8.25.1 published on Wednesday, Apr 9, 2025 by Pulumi

Get information about a Google Artifact Registry Repository. For more information see the official documentation and API.

Example Usage

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

const my_repo = gcp.artifactregistry.getRepository({
    location: "us-central1",
    repositoryId: "my-repository",
});
Copy
import pulumi
import pulumi_gcp as gcp

my_repo = gcp.artifactregistry.get_repository(location="us-central1",
    repository_id="my-repository")
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/artifactregistry"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := artifactregistry.LookupRepository(ctx, &artifactregistry.LookupRepositoryArgs{
			Location:     "us-central1",
			RepositoryId: "my-repository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var my_repo = Gcp.ArtifactRegistry.GetRepository.Invoke(new()
    {
        Location = "us-central1",
        RepositoryId = "my-repository",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.artifactregistry.ArtifactregistryFunctions;
import com.pulumi.gcp.artifactregistry.inputs.GetRepositoryArgs;
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) {
        final var my-repo = ArtifactregistryFunctions.getRepository(GetRepositoryArgs.builder()
            .location("us-central1")
            .repositoryId("my-repository")
            .build());

    }
}
Copy
variables:
  my-repo:
    fn::invoke:
      function: gcp:artifactregistry:getRepository
      arguments:
        location: us-central1
        repositoryId: my-repository
Copy

Using getRepository

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRepository(args: GetRepositoryArgs, opts?: InvokeOptions): Promise<GetRepositoryResult>
function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRepositoryResult>
Copy
def get_repository(location: Optional[str] = None,
                   project: Optional[str] = None,
                   repository_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
def get_repository_output(location: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   repository_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetRepositoryResult]
Copy
func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)
func LookupRepositoryOutput(ctx *Context, args *LookupRepositoryOutputArgs, opts ...InvokeOption) LookupRepositoryResultOutput
Copy

> Note: This function is named LookupRepository in the Go SDK.

public static class GetRepository 
{
    public static Task<GetRepositoryResult> InvokeAsync(GetRepositoryArgs args, InvokeOptions? opts = null)
    public static Output<GetRepositoryResult> Invoke(GetRepositoryInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
public static Output<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcp:artifactregistry/getRepository:getRepository
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
The location of the artifact registry repository. eg us-central1


RepositoryId This property is required. string
The last part of the repository name.
Project string
The project in which the resource belongs. If it is not provided, the provider project is used.
Location This property is required. string
The location of the artifact registry repository. eg us-central1


RepositoryId This property is required. string
The last part of the repository name.
Project string
The project in which the resource belongs. If it is not provided, the provider project is used.
location This property is required. String
The location of the artifact registry repository. eg us-central1


repositoryId This property is required. String
The last part of the repository name.
project String
The project in which the resource belongs. If it is not provided, the provider project is used.
location This property is required. string
The location of the artifact registry repository. eg us-central1


repositoryId This property is required. string
The last part of the repository name.
project string
The project in which the resource belongs. If it is not provided, the provider project is used.
location This property is required. str
The location of the artifact registry repository. eg us-central1


repository_id This property is required. str
The last part of the repository name.
project str
The project in which the resource belongs. If it is not provided, the provider project is used.
location This property is required. String
The location of the artifact registry repository. eg us-central1


repositoryId This property is required. String
The last part of the repository name.
project String
The project in which the resource belongs. If it is not provided, the provider project is used.

getRepository Result

The following output properties are available:

Supporting Types

GetRepositoryCleanupPolicy

Action This property is required. string
Policy action. Possible values: ["DELETE", "KEEP"]
Conditions This property is required. List<GetRepositoryCleanupPolicyCondition>
Policy condition for matching versions.
Id This property is required. string
MostRecentVersions This property is required. List<GetRepositoryCleanupPolicyMostRecentVersion>
Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
Action This property is required. string
Policy action. Possible values: ["DELETE", "KEEP"]
Conditions This property is required. []GetRepositoryCleanupPolicyCondition
Policy condition for matching versions.
Id This property is required. string
MostRecentVersions This property is required. []GetRepositoryCleanupPolicyMostRecentVersion
Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
action This property is required. String
Policy action. Possible values: ["DELETE", "KEEP"]
conditions This property is required. List<GetRepositoryCleanupPolicyCondition>
Policy condition for matching versions.
id This property is required. String
mostRecentVersions This property is required. List<GetRepositoryCleanupPolicyMostRecentVersion>
Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
action This property is required. string
Policy action. Possible values: ["DELETE", "KEEP"]
conditions This property is required. GetRepositoryCleanupPolicyCondition[]
Policy condition for matching versions.
id This property is required. string
mostRecentVersions This property is required. GetRepositoryCleanupPolicyMostRecentVersion[]
Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
action This property is required. str
Policy action. Possible values: ["DELETE", "KEEP"]
conditions This property is required. Sequence[GetRepositoryCleanupPolicyCondition]
Policy condition for matching versions.
id This property is required. str
most_recent_versions This property is required. Sequence[GetRepositoryCleanupPolicyMostRecentVersion]
Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
action This property is required. String
Policy action. Possible values: ["DELETE", "KEEP"]
conditions This property is required. List<Property Map>
Policy condition for matching versions.
id This property is required. String
mostRecentVersions This property is required. List<Property Map>
Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.

GetRepositoryCleanupPolicyCondition

NewerThan This property is required. string
Match versions newer than a duration.
OlderThan This property is required. string
Match versions older than a duration.
PackageNamePrefixes This property is required. List<string>
Match versions by package prefix. Applied on any prefix match.
TagPrefixes This property is required. List<string>
Match versions by tag prefix. Applied on any prefix match.
TagState This property is required. string
Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
VersionNamePrefixes This property is required. List<string>
Match versions by version name prefix. Applied on any prefix match.
NewerThan This property is required. string
Match versions newer than a duration.
OlderThan This property is required. string
Match versions older than a duration.
PackageNamePrefixes This property is required. []string
Match versions by package prefix. Applied on any prefix match.
TagPrefixes This property is required. []string
Match versions by tag prefix. Applied on any prefix match.
TagState This property is required. string
Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
VersionNamePrefixes This property is required. []string
Match versions by version name prefix. Applied on any prefix match.
newerThan This property is required. String
Match versions newer than a duration.
olderThan This property is required. String
Match versions older than a duration.
packageNamePrefixes This property is required. List<String>
Match versions by package prefix. Applied on any prefix match.
tagPrefixes This property is required. List<String>
Match versions by tag prefix. Applied on any prefix match.
tagState This property is required. String
Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
versionNamePrefixes This property is required. List<String>
Match versions by version name prefix. Applied on any prefix match.
newerThan This property is required. string
Match versions newer than a duration.
olderThan This property is required. string
Match versions older than a duration.
packageNamePrefixes This property is required. string[]
Match versions by package prefix. Applied on any prefix match.
tagPrefixes This property is required. string[]
Match versions by tag prefix. Applied on any prefix match.
tagState This property is required. string
Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
versionNamePrefixes This property is required. string[]
Match versions by version name prefix. Applied on any prefix match.
newer_than This property is required. str
Match versions newer than a duration.
older_than This property is required. str
Match versions older than a duration.
package_name_prefixes This property is required. Sequence[str]
Match versions by package prefix. Applied on any prefix match.
tag_prefixes This property is required. Sequence[str]
Match versions by tag prefix. Applied on any prefix match.
tag_state This property is required. str
Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
version_name_prefixes This property is required. Sequence[str]
Match versions by version name prefix. Applied on any prefix match.
newerThan This property is required. String
Match versions newer than a duration.
olderThan This property is required. String
Match versions older than a duration.
packageNamePrefixes This property is required. List<String>
Match versions by package prefix. Applied on any prefix match.
tagPrefixes This property is required. List<String>
Match versions by tag prefix. Applied on any prefix match.
tagState This property is required. String
Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
versionNamePrefixes This property is required. List<String>
Match versions by version name prefix. Applied on any prefix match.

GetRepositoryCleanupPolicyMostRecentVersion

KeepCount This property is required. int
Minimum number of versions to keep.
PackageNamePrefixes This property is required. List<string>
Match versions by package prefix. Applied on any prefix match.
KeepCount This property is required. int
Minimum number of versions to keep.
PackageNamePrefixes This property is required. []string
Match versions by package prefix. Applied on any prefix match.
keepCount This property is required. Integer
Minimum number of versions to keep.
packageNamePrefixes This property is required. List<String>
Match versions by package prefix. Applied on any prefix match.
keepCount This property is required. number
Minimum number of versions to keep.
packageNamePrefixes This property is required. string[]
Match versions by package prefix. Applied on any prefix match.
keep_count This property is required. int
Minimum number of versions to keep.
package_name_prefixes This property is required. Sequence[str]
Match versions by package prefix. Applied on any prefix match.
keepCount This property is required. Number
Minimum number of versions to keep.
packageNamePrefixes This property is required. List<String>
Match versions by package prefix. Applied on any prefix match.

GetRepositoryDockerConfig

ImmutableTags This property is required. bool
The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
ImmutableTags This property is required. bool
The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
immutableTags This property is required. Boolean
The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
immutableTags This property is required. boolean
The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
immutable_tags This property is required. bool
The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
immutableTags This property is required. Boolean
The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.

GetRepositoryMavenConfig

AllowSnapshotOverwrites This property is required. bool
The repository with this flag will allow publishing the same snapshot versions.
VersionPolicy This property is required. string
Version policy defines the versions that the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED" Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"]
AllowSnapshotOverwrites This property is required. bool
The repository with this flag will allow publishing the same snapshot versions.
VersionPolicy This property is required. string
Version policy defines the versions that the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED" Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"]
allowSnapshotOverwrites This property is required. Boolean
The repository with this flag will allow publishing the same snapshot versions.
versionPolicy This property is required. String
Version policy defines the versions that the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED" Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"]
allowSnapshotOverwrites This property is required. boolean
The repository with this flag will allow publishing the same snapshot versions.
versionPolicy This property is required. string
Version policy defines the versions that the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED" Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"]
allow_snapshot_overwrites This property is required. bool
The repository with this flag will allow publishing the same snapshot versions.
version_policy This property is required. str
Version policy defines the versions that the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED" Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"]
allowSnapshotOverwrites This property is required. Boolean
The repository with this flag will allow publishing the same snapshot versions.
versionPolicy This property is required. String
Version policy defines the versions that the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED" Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"]

GetRepositoryRemoteRepositoryConfig

AptRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigAptRepository>
Specific settings for an Apt remote repository.
CommonRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigCommonRepository>
Specific settings for an Artifact Registory remote repository.
Description This property is required. string
The description of the remote source.
DisableUpstreamValidation This property is required. bool
If true, the remote repository upstream and upstream credentials will not be validated.
DockerRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigDockerRepository>
Specific settings for a Docker remote repository.
MavenRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigMavenRepository>
Specific settings for a Maven remote repository.
NpmRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigNpmRepository>
Specific settings for an Npm remote repository.
PythonRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigPythonRepository>
Specific settings for a Python remote repository.
UpstreamCredentials This property is required. List<GetRepositoryRemoteRepositoryConfigUpstreamCredential>
The credentials used to access the remote repository.
YumRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigYumRepository>
Specific settings for an Yum remote repository.
AptRepositories This property is required. []GetRepositoryRemoteRepositoryConfigAptRepository
Specific settings for an Apt remote repository.
CommonRepositories This property is required. []GetRepositoryRemoteRepositoryConfigCommonRepository
Specific settings for an Artifact Registory remote repository.
Description This property is required. string
The description of the remote source.
DisableUpstreamValidation This property is required. bool
If true, the remote repository upstream and upstream credentials will not be validated.
DockerRepositories This property is required. []GetRepositoryRemoteRepositoryConfigDockerRepository
Specific settings for a Docker remote repository.
MavenRepositories This property is required. []GetRepositoryRemoteRepositoryConfigMavenRepository
Specific settings for a Maven remote repository.
NpmRepositories This property is required. []GetRepositoryRemoteRepositoryConfigNpmRepository
Specific settings for an Npm remote repository.
PythonRepositories This property is required. []GetRepositoryRemoteRepositoryConfigPythonRepository
Specific settings for a Python remote repository.
UpstreamCredentials This property is required. []GetRepositoryRemoteRepositoryConfigUpstreamCredential
The credentials used to access the remote repository.
YumRepositories This property is required. []GetRepositoryRemoteRepositoryConfigYumRepository
Specific settings for an Yum remote repository.
aptRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigAptRepository>
Specific settings for an Apt remote repository.
commonRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigCommonRepository>
Specific settings for an Artifact Registory remote repository.
description This property is required. String
The description of the remote source.
disableUpstreamValidation This property is required. Boolean
If true, the remote repository upstream and upstream credentials will not be validated.
dockerRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigDockerRepository>
Specific settings for a Docker remote repository.
mavenRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigMavenRepository>
Specific settings for a Maven remote repository.
npmRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigNpmRepository>
Specific settings for an Npm remote repository.
pythonRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigPythonRepository>
Specific settings for a Python remote repository.
upstreamCredentials This property is required. List<GetRepositoryRemoteRepositoryConfigUpstreamCredential>
The credentials used to access the remote repository.
yumRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigYumRepository>
Specific settings for an Yum remote repository.
aptRepositories This property is required. GetRepositoryRemoteRepositoryConfigAptRepository[]
Specific settings for an Apt remote repository.
commonRepositories This property is required. GetRepositoryRemoteRepositoryConfigCommonRepository[]
Specific settings for an Artifact Registory remote repository.
description This property is required. string
The description of the remote source.
disableUpstreamValidation This property is required. boolean
If true, the remote repository upstream and upstream credentials will not be validated.
dockerRepositories This property is required. GetRepositoryRemoteRepositoryConfigDockerRepository[]
Specific settings for a Docker remote repository.
mavenRepositories This property is required. GetRepositoryRemoteRepositoryConfigMavenRepository[]
Specific settings for a Maven remote repository.
npmRepositories This property is required. GetRepositoryRemoteRepositoryConfigNpmRepository[]
Specific settings for an Npm remote repository.
pythonRepositories This property is required. GetRepositoryRemoteRepositoryConfigPythonRepository[]
Specific settings for a Python remote repository.
upstreamCredentials This property is required. GetRepositoryRemoteRepositoryConfigUpstreamCredential[]
The credentials used to access the remote repository.
yumRepositories This property is required. GetRepositoryRemoteRepositoryConfigYumRepository[]
Specific settings for an Yum remote repository.
apt_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigAptRepository]
Specific settings for an Apt remote repository.
common_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigCommonRepository]
Specific settings for an Artifact Registory remote repository.
description This property is required. str
The description of the remote source.
disable_upstream_validation This property is required. bool
If true, the remote repository upstream and upstream credentials will not be validated.
docker_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigDockerRepository]
Specific settings for a Docker remote repository.
maven_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigMavenRepository]
Specific settings for a Maven remote repository.
npm_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigNpmRepository]
Specific settings for an Npm remote repository.
python_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigPythonRepository]
Specific settings for a Python remote repository.
upstream_credentials This property is required. Sequence[GetRepositoryRemoteRepositoryConfigUpstreamCredential]
The credentials used to access the remote repository.
yum_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigYumRepository]
Specific settings for an Yum remote repository.
aptRepositories This property is required. List<Property Map>
Specific settings for an Apt remote repository.
commonRepositories This property is required. List<Property Map>
Specific settings for an Artifact Registory remote repository.
description This property is required. String
The description of the remote source.
disableUpstreamValidation This property is required. Boolean
If true, the remote repository upstream and upstream credentials will not be validated.
dockerRepositories This property is required. List<Property Map>
Specific settings for a Docker remote repository.
mavenRepositories This property is required. List<Property Map>
Specific settings for a Maven remote repository.
npmRepositories This property is required. List<Property Map>
Specific settings for an Npm remote repository.
pythonRepositories This property is required. List<Property Map>
Specific settings for a Python remote repository.
upstreamCredentials This property is required. List<Property Map>
The credentials used to access the remote repository.
yumRepositories This property is required. List<Property Map>
Specific settings for an Yum remote repository.

GetRepositoryRemoteRepositoryConfigAptRepository

PublicRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigAptRepositoryPublicRepository>
One of the publicly available Apt repositories supported by Artifact Registry.
PublicRepositories This property is required. []GetRepositoryRemoteRepositoryConfigAptRepositoryPublicRepository
One of the publicly available Apt repositories supported by Artifact Registry.
publicRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigAptRepositoryPublicRepository>
One of the publicly available Apt repositories supported by Artifact Registry.
publicRepositories This property is required. GetRepositoryRemoteRepositoryConfigAptRepositoryPublicRepository[]
One of the publicly available Apt repositories supported by Artifact Registry.
public_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigAptRepositoryPublicRepository]
One of the publicly available Apt repositories supported by Artifact Registry.
publicRepositories This property is required. List<Property Map>
One of the publicly available Apt repositories supported by Artifact Registry.

GetRepositoryRemoteRepositoryConfigAptRepositoryPublicRepository

RepositoryBase This property is required. string
A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU"]
RepositoryPath This property is required. string
Specific repository from the base.
RepositoryBase This property is required. string
A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU"]
RepositoryPath This property is required. string
Specific repository from the base.
repositoryBase This property is required. String
A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU"]
repositoryPath This property is required. String
Specific repository from the base.
repositoryBase This property is required. string
A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU"]
repositoryPath This property is required. string
Specific repository from the base.
repository_base This property is required. str
A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU"]
repository_path This property is required. str
Specific repository from the base.
repositoryBase This property is required. String
A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU"]
repositoryPath This property is required. String
Specific repository from the base.

GetRepositoryRemoteRepositoryConfigCommonRepository

Uri This property is required. string
One of: a. Artifact Registry Repository resource, e.g. 'projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY' b. URI to the registry, e.g. '"https://registry-1.docker.io"' c. URI to Artifact Registry Repository, e.g. '"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"'
Uri This property is required. string
One of: a. Artifact Registry Repository resource, e.g. 'projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY' b. URI to the registry, e.g. '"https://registry-1.docker.io"' c. URI to Artifact Registry Repository, e.g. '"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"'
uri This property is required. String
One of: a. Artifact Registry Repository resource, e.g. 'projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY' b. URI to the registry, e.g. '"https://registry-1.docker.io"' c. URI to Artifact Registry Repository, e.g. '"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"'
uri This property is required. string
One of: a. Artifact Registry Repository resource, e.g. 'projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY' b. URI to the registry, e.g. '"https://registry-1.docker.io"' c. URI to Artifact Registry Repository, e.g. '"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"'
uri This property is required. str
One of: a. Artifact Registry Repository resource, e.g. 'projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY' b. URI to the registry, e.g. '"https://registry-1.docker.io"' c. URI to Artifact Registry Repository, e.g. '"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"'
uri This property is required. String
One of: a. Artifact Registry Repository resource, e.g. 'projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY' b. URI to the registry, e.g. '"https://registry-1.docker.io"' c. URI to Artifact Registry Repository, e.g. '"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"'

GetRepositoryRemoteRepositoryConfigDockerRepository

CustomRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepository>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
PublicRepository This property is required. string
Address of the remote repository. Default value: "DOCKER_HUB" Possible values: ["DOCKER_HUB"]
CustomRepositories This property is required. []GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepository
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
PublicRepository This property is required. string
Address of the remote repository. Default value: "DOCKER_HUB" Possible values: ["DOCKER_HUB"]
customRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepository>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. String
Address of the remote repository. Default value: "DOCKER_HUB" Possible values: ["DOCKER_HUB"]
customRepositories This property is required. GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepository[]
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. string
Address of the remote repository. Default value: "DOCKER_HUB" Possible values: ["DOCKER_HUB"]
custom_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepository]
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
public_repository This property is required. str
Address of the remote repository. Default value: "DOCKER_HUB" Possible values: ["DOCKER_HUB"]
customRepositories This property is required. List<Property Map>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. String
Address of the remote repository. Default value: "DOCKER_HUB" Possible values: ["DOCKER_HUB"]

GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepository

Uri This property is required. string
Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
Uri This property is required. string
Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
uri This property is required. String
Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
uri This property is required. string
Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
uri This property is required. str
Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
uri This property is required. String
Specific uri to the registry, e.g. '"https://registry-1.docker.io"'

GetRepositoryRemoteRepositoryConfigMavenRepository

CustomRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepository>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
PublicRepository This property is required. string
Address of the remote repository. Default value: "MAVEN_CENTRAL" Possible values: ["MAVEN_CENTRAL"]
CustomRepositories This property is required. []GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepository
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
PublicRepository This property is required. string
Address of the remote repository. Default value: "MAVEN_CENTRAL" Possible values: ["MAVEN_CENTRAL"]
customRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepository>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. String
Address of the remote repository. Default value: "MAVEN_CENTRAL" Possible values: ["MAVEN_CENTRAL"]
customRepositories This property is required. GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepository[]
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. string
Address of the remote repository. Default value: "MAVEN_CENTRAL" Possible values: ["MAVEN_CENTRAL"]
custom_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepository]
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
public_repository This property is required. str
Address of the remote repository. Default value: "MAVEN_CENTRAL" Possible values: ["MAVEN_CENTRAL"]
customRepositories This property is required. List<Property Map>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. String
Address of the remote repository. Default value: "MAVEN_CENTRAL" Possible values: ["MAVEN_CENTRAL"]

GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepository

Uri This property is required. string
Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
Uri This property is required. string
Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
uri This property is required. String
Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
uri This property is required. string
Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
uri This property is required. str
Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
uri This property is required. String
Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'

GetRepositoryRemoteRepositoryConfigNpmRepository

CustomRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepository>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
PublicRepository This property is required. string
Address of the remote repository. Default value: "NPMJS" Possible values: ["NPMJS"]
CustomRepositories This property is required. []GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepository
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
PublicRepository This property is required. string
Address of the remote repository. Default value: "NPMJS" Possible values: ["NPMJS"]
customRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepository>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. String
Address of the remote repository. Default value: "NPMJS" Possible values: ["NPMJS"]
customRepositories This property is required. GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepository[]
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. string
Address of the remote repository. Default value: "NPMJS" Possible values: ["NPMJS"]
custom_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepository]
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
public_repository This property is required. str
Address of the remote repository. Default value: "NPMJS" Possible values: ["NPMJS"]
customRepositories This property is required. List<Property Map>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. String
Address of the remote repository. Default value: "NPMJS" Possible values: ["NPMJS"]

GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepository

Uri This property is required. string
Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
Uri This property is required. string
Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
uri This property is required. String
Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
uri This property is required. string
Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
uri This property is required. str
Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
uri This property is required. String
Specific uri to the registry, e.g. '"https://registry.npmjs.org"'

GetRepositoryRemoteRepositoryConfigPythonRepository

CustomRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepository>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
PublicRepository This property is required. string
Address of the remote repository. Default value: "PYPI" Possible values: ["PYPI"]
CustomRepositories This property is required. []GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepository
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
PublicRepository This property is required. string
Address of the remote repository. Default value: "PYPI" Possible values: ["PYPI"]
customRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepository>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. String
Address of the remote repository. Default value: "PYPI" Possible values: ["PYPI"]
customRepositories This property is required. GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepository[]
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. string
Address of the remote repository. Default value: "PYPI" Possible values: ["PYPI"]
custom_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepository]
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
public_repository This property is required. str
Address of the remote repository. Default value: "PYPI" Possible values: ["PYPI"]
customRepositories This property is required. List<Property Map>
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
publicRepository This property is required. String
Address of the remote repository. Default value: "PYPI" Possible values: ["PYPI"]

GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepository

Uri This property is required. string
Specific uri to the registry, e.g. '"https://pypi.io"'
Uri This property is required. string
Specific uri to the registry, e.g. '"https://pypi.io"'
uri This property is required. String
Specific uri to the registry, e.g. '"https://pypi.io"'
uri This property is required. string
Specific uri to the registry, e.g. '"https://pypi.io"'
uri This property is required. str
Specific uri to the registry, e.g. '"https://pypi.io"'
uri This property is required. String
Specific uri to the registry, e.g. '"https://pypi.io"'

GetRepositoryRemoteRepositoryConfigUpstreamCredential

UsernamePasswordCredentials This property is required. List<GetRepositoryRemoteRepositoryConfigUpstreamCredentialUsernamePasswordCredential>
Use username and password to access the remote repository.
UsernamePasswordCredentials This property is required. []GetRepositoryRemoteRepositoryConfigUpstreamCredentialUsernamePasswordCredential
Use username and password to access the remote repository.
usernamePasswordCredentials This property is required. List<GetRepositoryRemoteRepositoryConfigUpstreamCredentialUsernamePasswordCredential>
Use username and password to access the remote repository.
usernamePasswordCredentials This property is required. GetRepositoryRemoteRepositoryConfigUpstreamCredentialUsernamePasswordCredential[]
Use username and password to access the remote repository.
username_password_credentials This property is required. Sequence[GetRepositoryRemoteRepositoryConfigUpstreamCredentialUsernamePasswordCredential]
Use username and password to access the remote repository.
usernamePasswordCredentials This property is required. List<Property Map>
Use username and password to access the remote repository.

GetRepositoryRemoteRepositoryConfigUpstreamCredentialUsernamePasswordCredential

PasswordSecretVersion This property is required. string
The Secret Manager key version that holds the password to access the remote repository. Must be in the format of 'projects/{project}/secrets/{secret}/versions/{version}'.
Username This property is required. string
The username to access the remote repository.
PasswordSecretVersion This property is required. string
The Secret Manager key version that holds the password to access the remote repository. Must be in the format of 'projects/{project}/secrets/{secret}/versions/{version}'.
Username This property is required. string
The username to access the remote repository.
passwordSecretVersion This property is required. String
The Secret Manager key version that holds the password to access the remote repository. Must be in the format of 'projects/{project}/secrets/{secret}/versions/{version}'.
username This property is required. String
The username to access the remote repository.
passwordSecretVersion This property is required. string
The Secret Manager key version that holds the password to access the remote repository. Must be in the format of 'projects/{project}/secrets/{secret}/versions/{version}'.
username This property is required. string
The username to access the remote repository.
password_secret_version This property is required. str
The Secret Manager key version that holds the password to access the remote repository. Must be in the format of 'projects/{project}/secrets/{secret}/versions/{version}'.
username This property is required. str
The username to access the remote repository.
passwordSecretVersion This property is required. String
The Secret Manager key version that holds the password to access the remote repository. Must be in the format of 'projects/{project}/secrets/{secret}/versions/{version}'.
username This property is required. String
The username to access the remote repository.

GetRepositoryRemoteRepositoryConfigYumRepository

PublicRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigYumRepositoryPublicRepository>
One of the publicly available Yum repositories supported by Artifact Registry.
PublicRepositories This property is required. []GetRepositoryRemoteRepositoryConfigYumRepositoryPublicRepository
One of the publicly available Yum repositories supported by Artifact Registry.
publicRepositories This property is required. List<GetRepositoryRemoteRepositoryConfigYumRepositoryPublicRepository>
One of the publicly available Yum repositories supported by Artifact Registry.
publicRepositories This property is required. GetRepositoryRemoteRepositoryConfigYumRepositoryPublicRepository[]
One of the publicly available Yum repositories supported by Artifact Registry.
public_repositories This property is required. Sequence[GetRepositoryRemoteRepositoryConfigYumRepositoryPublicRepository]
One of the publicly available Yum repositories supported by Artifact Registry.
publicRepositories This property is required. List<Property Map>
One of the publicly available Yum repositories supported by Artifact Registry.

GetRepositoryRemoteRepositoryConfigYumRepositoryPublicRepository

RepositoryBase This property is required. string
A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
RepositoryPath This property is required. string
Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
RepositoryBase This property is required. string
A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
RepositoryPath This property is required. string
Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
repositoryBase This property is required. String
A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
repositoryPath This property is required. String
Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
repositoryBase This property is required. string
A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
repositoryPath This property is required. string
Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
repository_base This property is required. str
A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
repository_path This property is required. str
Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
repositoryBase This property is required. String
A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
repositoryPath This property is required. String
Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'

GetRepositoryVirtualRepositoryConfig

UpstreamPolicies This property is required. List<GetRepositoryVirtualRepositoryConfigUpstreamPolicy>
Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
UpstreamPolicies This property is required. []GetRepositoryVirtualRepositoryConfigUpstreamPolicy
Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
upstreamPolicies This property is required. List<GetRepositoryVirtualRepositoryConfigUpstreamPolicy>
Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
upstreamPolicies This property is required. GetRepositoryVirtualRepositoryConfigUpstreamPolicy[]
Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
upstream_policies This property is required. Sequence[GetRepositoryVirtualRepositoryConfigUpstreamPolicy]
Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
upstreamPolicies This property is required. List<Property Map>
Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.

GetRepositoryVirtualRepositoryConfigUpstreamPolicy

Id This property is required. string
The user-provided ID of the upstream policy.
Priority This property is required. int
Entries with a greater priority value take precedence in the pull order.
Repository This property is required. string
A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
Id This property is required. string
The user-provided ID of the upstream policy.
Priority This property is required. int
Entries with a greater priority value take precedence in the pull order.
Repository This property is required. string
A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
id This property is required. String
The user-provided ID of the upstream policy.
priority This property is required. Integer
Entries with a greater priority value take precedence in the pull order.
repository This property is required. String
A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
id This property is required. string
The user-provided ID of the upstream policy.
priority This property is required. number
Entries with a greater priority value take precedence in the pull order.
repository This property is required. string
A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
id This property is required. str
The user-provided ID of the upstream policy.
priority This property is required. int
Entries with a greater priority value take precedence in the pull order.
repository This property is required. str
A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
id This property is required. String
The user-provided ID of the upstream policy.
priority This property is required. Number
Entries with a greater priority value take precedence in the pull order.
repository This property is required. String
A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".

GetRepositoryVulnerabilityScanningConfig

EnablementConfig This property is required. string
This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
EnablementState This property is required. string
This field returns whether scanning is active for this repository.
EnablementStateReason This property is required. string
This provides an explanation for the state of scanning on this repository.
EnablementConfig This property is required. string
This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
EnablementState This property is required. string
This field returns whether scanning is active for this repository.
EnablementStateReason This property is required. string
This provides an explanation for the state of scanning on this repository.
enablementConfig This property is required. String
This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
enablementState This property is required. String
This field returns whether scanning is active for this repository.
enablementStateReason This property is required. String
This provides an explanation for the state of scanning on this repository.
enablementConfig This property is required. string
This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
enablementState This property is required. string
This field returns whether scanning is active for this repository.
enablementStateReason This property is required. string
This provides an explanation for the state of scanning on this repository.
enablement_config This property is required. str
This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
enablement_state This property is required. str
This field returns whether scanning is active for this repository.
enablement_state_reason This property is required. str
This provides an explanation for the state of scanning on this repository.
enablementConfig This property is required. String
This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
enablementState This property is required. String
This field returns whether scanning is active for this repository.
enablementStateReason This property is required. String
This provides an explanation for the state of scanning on this repository.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.
Google Cloud v8.25.1 published on Wednesday, Apr 9, 2025 by Pulumi