Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 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",
});
import pulumi
import pulumi_gcp as gcp
my_repo = gcp.artifactregistry.get_repository(location="us-central1",
repository_id="my-repository")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/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
})
}
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",
});
});
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());
}
}
variables:
my-repo:
fn::invoke:
function: gcp:artifactregistry:getRepository
arguments:
location: us-central1
repositoryId: my-repository
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>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]func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)
func LookupRepositoryOutput(ctx *Context, args *LookupRepositoryOutputArgs, opts ...InvokeOption) LookupRepositoryResultOutput> 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)
}public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
public static Output<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: gcp:artifactregistry/getRepository:getRepository
arguments:
# arguments dictionaryThe following arguments are supported:
- Location string
- The location of the artifact registry repository. eg us-central1
- Repository
Id 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 string
- The location of the artifact registry repository. eg us-central1
- Repository
Id 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 String
- The location of the artifact registry repository. eg us-central1
- repository
Id 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 string
- The location of the artifact registry repository. eg us-central1
- repository
Id 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 str
- The location of the artifact registry repository. eg us-central1
- repository_
id 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 String
- The location of the artifact registry repository. eg us-central1
- repository
Id 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:
- Cleanup
Policies List<GetRepository Cleanup Policy> - Cleanup
Policy boolDry Run - Create
Time string - Description string
- Docker
Configs List<GetRepository Docker Config> - Effective
Labels Dictionary<string, string> - Format string
- Id string
- The provider-assigned unique ID for this managed resource.
- Kms
Key stringName - Labels Dictionary<string, string>
- Location string
- Maven
Configs List<GetRepository Maven Config> - Mode string
- Name string
- Pulumi
Labels Dictionary<string, string> - Registry
Uri string - Remote
Repository List<GetConfigs Repository Remote Repository Config> - Repository
Id string - Update
Time string - Virtual
Repository List<GetConfigs Repository Virtual Repository Config> - Vulnerability
Scanning List<GetConfigs Repository Vulnerability Scanning Config> - Project string
- Cleanup
Policies []GetRepository Cleanup Policy - Cleanup
Policy boolDry Run - Create
Time string - Description string
- Docker
Configs []GetRepository Docker Config - Effective
Labels map[string]string - Format string
- Id string
- The provider-assigned unique ID for this managed resource.
- Kms
Key stringName - Labels map[string]string
- Location string
- Maven
Configs []GetRepository Maven Config - Mode string
- Name string
- Pulumi
Labels map[string]string - Registry
Uri string - Remote
Repository []GetConfigs Repository Remote Repository Config - Repository
Id string - Update
Time string - Virtual
Repository []GetConfigs Repository Virtual Repository Config - Vulnerability
Scanning []GetConfigs Repository Vulnerability Scanning Config - Project string
- cleanup
Policies List<GetRepository Cleanup Policy> - cleanup
Policy BooleanDry Run - create
Time String - description String
- docker
Configs List<GetRepository Docker Config> - effective
Labels Map<String,String> - format String
- id String
- The provider-assigned unique ID for this managed resource.
- kms
Key StringName - labels Map<String,String>
- location String
- maven
Configs List<GetRepository Maven Config> - mode String
- name String
- pulumi
Labels Map<String,String> - registry
Uri String - remote
Repository List<GetConfigs Repository Remote Repository Config> - repository
Id String - update
Time String - virtual
Repository List<GetConfigs Repository Virtual Repository Config> - vulnerability
Scanning List<GetConfigs Repository Vulnerability Scanning Config> - project String
- cleanup
Policies GetRepository Cleanup Policy[] - cleanup
Policy booleanDry Run - create
Time string - description string
- docker
Configs GetRepository Docker Config[] - effective
Labels {[key: string]: string} - format string
- id string
- The provider-assigned unique ID for this managed resource.
- kms
Key stringName - labels {[key: string]: string}
- location string
- maven
Configs GetRepository Maven Config[] - mode string
- name string
- pulumi
Labels {[key: string]: string} - registry
Uri string - remote
Repository GetConfigs Repository Remote Repository Config[] - repository
Id string - update
Time string - virtual
Repository GetConfigs Repository Virtual Repository Config[] - vulnerability
Scanning GetConfigs Repository Vulnerability Scanning Config[] - project string
- cleanup_
policies Sequence[GetRepository Cleanup Policy] - cleanup_
policy_ booldry_ run - create_
time str - description str
- docker_
configs Sequence[GetRepository Docker Config] - effective_
labels Mapping[str, str] - format str
- id str
- The provider-assigned unique ID for this managed resource.
- kms_
key_ strname - labels Mapping[str, str]
- location str
- maven_
configs Sequence[GetRepository Maven Config] - mode str
- name str
- pulumi_
labels Mapping[str, str] - registry_
uri str - remote_
repository_ Sequence[Getconfigs Repository Remote Repository Config] - repository_
id str - update_
time str - virtual_
repository_ Sequence[Getconfigs Repository Virtual Repository Config] - vulnerability_
scanning_ Sequence[Getconfigs Repository Vulnerability Scanning Config] - project str
- cleanup
Policies List<Property Map> - cleanup
Policy BooleanDry Run - create
Time String - description String
- docker
Configs List<Property Map> - effective
Labels Map<String> - format String
- id String
- The provider-assigned unique ID for this managed resource.
- kms
Key StringName - labels Map<String>
- location String
- maven
Configs List<Property Map> - mode String
- name String
- pulumi
Labels Map<String> - registry
Uri String - remote
Repository List<Property Map>Configs - repository
Id String - update
Time String - virtual
Repository List<Property Map>Configs - vulnerability
Scanning List<Property Map>Configs - project String
Supporting Types
GetRepositoryCleanupPolicy
- Action string
- Policy action. Possible values: ["DELETE", "KEEP"]
- Conditions
List<Get
Repository Cleanup Policy Condition> - Policy condition for matching versions.
- Id string
- Most
Recent List<GetVersions Repository Cleanup Policy Most Recent Version> - Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
- Action string
- Policy action. Possible values: ["DELETE", "KEEP"]
- Conditions
[]Get
Repository Cleanup Policy Condition - Policy condition for matching versions.
- Id string
- Most
Recent []GetVersions Repository Cleanup Policy Most Recent Version - Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
- action String
- Policy action. Possible values: ["DELETE", "KEEP"]
- conditions
List<Get
Repository Cleanup Policy Condition> - Policy condition for matching versions.
- id String
- most
Recent List<GetVersions Repository Cleanup Policy Most Recent Version> - Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
- action string
- Policy action. Possible values: ["DELETE", "KEEP"]
- conditions
Get
Repository Cleanup Policy Condition[] - Policy condition for matching versions.
- id string
- most
Recent GetVersions Repository Cleanup Policy Most Recent Version[] - Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
- action str
- Policy action. Possible values: ["DELETE", "KEEP"]
- conditions
Sequence[Get
Repository Cleanup Policy Condition] - Policy condition for matching versions.
- id str
- most_
recent_ Sequence[Getversions Repository Cleanup Policy Most Recent Version] - Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
- action String
- Policy action. Possible values: ["DELETE", "KEEP"]
- conditions List<Property Map>
- Policy condition for matching versions.
- id String
- most
Recent List<Property Map>Versions - Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
GetRepositoryCleanupPolicyCondition
- Newer
Than string - Match versions newer than a duration.
- Older
Than string - Match versions older than a duration.
- Package
Name List<string>Prefixes - Match versions by package prefix. Applied on any prefix match.
- Tag
Prefixes List<string> - Match versions by tag prefix. Applied on any prefix match.
- string
- Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
- Version
Name List<string>Prefixes - Match versions by version name prefix. Applied on any prefix match.
- Newer
Than string - Match versions newer than a duration.
- Older
Than string - Match versions older than a duration.
- Package
Name []stringPrefixes - Match versions by package prefix. Applied on any prefix match.
- Tag
Prefixes []string - Match versions by tag prefix. Applied on any prefix match.
- string
- Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
- Version
Name []stringPrefixes - Match versions by version name prefix. Applied on any prefix match.
- newer
Than String - Match versions newer than a duration.
- older
Than String - Match versions older than a duration.
- package
Name List<String>Prefixes - Match versions by package prefix. Applied on any prefix match.
- tag
Prefixes List<String> - Match versions by tag prefix. Applied on any prefix match.
- String
- Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
- version
Name List<String>Prefixes - Match versions by version name prefix. Applied on any prefix match.
- newer
Than string - Match versions newer than a duration.
- older
Than string - Match versions older than a duration.
- package
Name string[]Prefixes - Match versions by package prefix. Applied on any prefix match.
- tag
Prefixes string[] - Match versions by tag prefix. Applied on any prefix match.
- string
- Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
- version
Name string[]Prefixes - Match versions by version name prefix. Applied on any prefix match.
- newer_
than str - Match versions newer than a duration.
- older_
than str - Match versions older than a duration.
- package_
name_ Sequence[str]prefixes - Match versions by package prefix. Applied on any prefix match.
- tag_
prefixes Sequence[str] - Match versions by tag prefix. Applied on any prefix match.
- tag_
state str - Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
- version_
name_ Sequence[str]prefixes - Match versions by version name prefix. Applied on any prefix match.
- newer
Than String - Match versions newer than a duration.
- older
Than String - Match versions older than a duration.
- package
Name List<String>Prefixes - Match versions by package prefix. Applied on any prefix match.
- tag
Prefixes List<String> - Match versions by tag prefix. Applied on any prefix match.
- String
- Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
- version
Name List<String>Prefixes - Match versions by version name prefix. Applied on any prefix match.
GetRepositoryCleanupPolicyMostRecentVersion
- Keep
Count int - Minimum number of versions to keep.
- Package
Name List<string>Prefixes - Match versions by package prefix. Applied on any prefix match.
- Keep
Count int - Minimum number of versions to keep.
- Package
Name []stringPrefixes - Match versions by package prefix. Applied on any prefix match.
- keep
Count Integer - Minimum number of versions to keep.
- package
Name List<String>Prefixes - Match versions by package prefix. Applied on any prefix match.
- keep
Count number - Minimum number of versions to keep.
- package
Name string[]Prefixes - Match versions by package prefix. Applied on any prefix match.
- keep_
count int - Minimum number of versions to keep.
- package_
name_ Sequence[str]prefixes - Match versions by package prefix. Applied on any prefix match.
- keep
Count Number - Minimum number of versions to keep.
- package
Name List<String>Prefixes - Match versions by package prefix. Applied on any prefix match.
GetRepositoryDockerConfig
- bool
- The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
- bool
- The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
- Boolean
- The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
- boolean
- The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
- bool
- The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
- 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
- Allow
Snapshot boolOverwrites - The repository with this flag will allow publishing the same snapshot versions.
- Version
Policy 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 boolOverwrites - The repository with this flag will allow publishing the same snapshot versions.
- Version
Policy 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 BooleanOverwrites - The repository with this flag will allow publishing the same snapshot versions.
- version
Policy 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 booleanOverwrites - The repository with this flag will allow publishing the same snapshot versions.
- version
Policy 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_ booloverwrites - The repository with this flag will allow publishing the same snapshot versions.
- version_
policy str - Version policy defines the versions that the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED" Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"]
- allow
Snapshot BooleanOverwrites - The repository with this flag will allow publishing the same snapshot versions.
- version
Policy String - Version policy defines the versions that the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED" Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"]
GetRepositoryRemoteRepositoryConfig
- Apt
Repositories List<GetRepository Remote Repository Config Apt Repository> - Specific settings for an Apt remote repository.
- Common
Repositories List<GetRepository Remote Repository Config Common Repository> - Specific settings for an Artifact Registory remote repository.
- Description string
- The description of the remote source.
- Disable
Upstream boolValidation - If true, the remote repository upstream and upstream credentials will not be validated.
- Docker
Repositories List<GetRepository Remote Repository Config Docker Repository> - Specific settings for a Docker remote repository.
- Maven
Repositories List<GetRepository Remote Repository Config Maven Repository> - Specific settings for a Maven remote repository.
- Npm
Repositories List<GetRepository Remote Repository Config Npm Repository> - Specific settings for an Npm remote repository.
- Python
Repositories List<GetRepository Remote Repository Config Python Repository> - Specific settings for a Python remote repository.
- Upstream
Credentials List<GetRepository Remote Repository Config Upstream Credential> - The credentials used to access the remote repository.
- Yum
Repositories List<GetRepository Remote Repository Config Yum Repository> - Specific settings for an Yum remote repository.
- Apt
Repositories []GetRepository Remote Repository Config Apt Repository - Specific settings for an Apt remote repository.
- Common
Repositories []GetRepository Remote Repository Config Common Repository - Specific settings for an Artifact Registory remote repository.
- Description string
- The description of the remote source.
- Disable
Upstream boolValidation - If true, the remote repository upstream and upstream credentials will not be validated.
- Docker
Repositories []GetRepository Remote Repository Config Docker Repository - Specific settings for a Docker remote repository.
- Maven
Repositories []GetRepository Remote Repository Config Maven Repository - Specific settings for a Maven remote repository.
- Npm
Repositories []GetRepository Remote Repository Config Npm Repository - Specific settings for an Npm remote repository.
- Python
Repositories []GetRepository Remote Repository Config Python Repository - Specific settings for a Python remote repository.
- Upstream
Credentials []GetRepository Remote Repository Config Upstream Credential - The credentials used to access the remote repository.
- Yum
Repositories []GetRepository Remote Repository Config Yum Repository - Specific settings for an Yum remote repository.
- apt
Repositories List<GetRepository Remote Repository Config Apt Repository> - Specific settings for an Apt remote repository.
- common
Repositories List<GetRepository Remote Repository Config Common Repository> - Specific settings for an Artifact Registory remote repository.
- description String
- The description of the remote source.
- disable
Upstream BooleanValidation - If true, the remote repository upstream and upstream credentials will not be validated.
- docker
Repositories List<GetRepository Remote Repository Config Docker Repository> - Specific settings for a Docker remote repository.
- maven
Repositories List<GetRepository Remote Repository Config Maven Repository> - Specific settings for a Maven remote repository.
- npm
Repositories List<GetRepository Remote Repository Config Npm Repository> - Specific settings for an Npm remote repository.
- python
Repositories List<GetRepository Remote Repository Config Python Repository> - Specific settings for a Python remote repository.
- upstream
Credentials List<GetRepository Remote Repository Config Upstream Credential> - The credentials used to access the remote repository.
- yum
Repositories List<GetRepository Remote Repository Config Yum Repository> - Specific settings for an Yum remote repository.
- apt
Repositories GetRepository Remote Repository Config Apt Repository[] - Specific settings for an Apt remote repository.
- common
Repositories GetRepository Remote Repository Config Common Repository[] - Specific settings for an Artifact Registory remote repository.
- description string
- The description of the remote source.
- disable
Upstream booleanValidation - If true, the remote repository upstream and upstream credentials will not be validated.
- docker
Repositories GetRepository Remote Repository Config Docker Repository[] - Specific settings for a Docker remote repository.
- maven
Repositories GetRepository Remote Repository Config Maven Repository[] - Specific settings for a Maven remote repository.
- npm
Repositories GetRepository Remote Repository Config Npm Repository[] - Specific settings for an Npm remote repository.
- python
Repositories GetRepository Remote Repository Config Python Repository[] - Specific settings for a Python remote repository.
- upstream
Credentials GetRepository Remote Repository Config Upstream Credential[] - The credentials used to access the remote repository.
- yum
Repositories GetRepository Remote Repository Config Yum Repository[] - Specific settings for an Yum remote repository.
- apt_
repositories Sequence[GetRepository Remote Repository Config Apt Repository] - Specific settings for an Apt remote repository.
- common_
repositories Sequence[GetRepository Remote Repository Config Common Repository] - Specific settings for an Artifact Registory remote repository.
- description str
- The description of the remote source.
- disable_
upstream_ boolvalidation - If true, the remote repository upstream and upstream credentials will not be validated.
- docker_
repositories Sequence[GetRepository Remote Repository Config Docker Repository] - Specific settings for a Docker remote repository.
- maven_
repositories Sequence[GetRepository Remote Repository Config Maven Repository] - Specific settings for a Maven remote repository.
- npm_
repositories Sequence[GetRepository Remote Repository Config Npm Repository] - Specific settings for an Npm remote repository.
- python_
repositories Sequence[GetRepository Remote Repository Config Python Repository] - Specific settings for a Python remote repository.
- upstream_
credentials Sequence[GetRepository Remote Repository Config Upstream Credential] - The credentials used to access the remote repository.
- yum_
repositories Sequence[GetRepository Remote Repository Config Yum Repository] - Specific settings for an Yum remote repository.
- apt
Repositories List<Property Map> - Specific settings for an Apt remote repository.
- common
Repositories List<Property Map> - Specific settings for an Artifact Registory remote repository.
- description String
- The description of the remote source.
- disable
Upstream BooleanValidation - If true, the remote repository upstream and upstream credentials will not be validated.
- docker
Repositories List<Property Map> - Specific settings for a Docker remote repository.
- maven
Repositories List<Property Map> - Specific settings for a Maven remote repository.
- npm
Repositories List<Property Map> - Specific settings for an Npm remote repository.
- python
Repositories List<Property Map> - Specific settings for a Python remote repository.
- upstream
Credentials List<Property Map> - The credentials used to access the remote repository.
- yum
Repositories List<Property Map> - Specific settings for an Yum remote repository.
GetRepositoryRemoteRepositoryConfigAptRepository
- Public
Repositories List<GetRepository Remote Repository Config Apt Repository Public Repository> - One of the publicly available Apt repositories supported by Artifact Registry.
- Public
Repositories []GetRepository Remote Repository Config Apt Repository Public Repository - One of the publicly available Apt repositories supported by Artifact Registry.
- public
Repositories List<GetRepository Remote Repository Config Apt Repository Public Repository> - One of the publicly available Apt repositories supported by Artifact Registry.
- public
Repositories GetRepository Remote Repository Config Apt Repository Public Repository[] - One of the publicly available Apt repositories supported by Artifact Registry.
- public_
repositories Sequence[GetRepository Remote Repository Config Apt Repository Public Repository] - One of the publicly available Apt repositories supported by Artifact Registry.
- public
Repositories List<Property Map> - One of the publicly available Apt repositories supported by Artifact Registry.
GetRepositoryRemoteRepositoryConfigAptRepositoryPublicRepository
- Repository
Base string - A common public repository base for Apt, e.g. '"debian/dists/stable"' Possible values: ["DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT"]
- Repository
Path string - Specific repository from the base.
- Repository
Base string - A common public repository base for Apt, e.g. '"debian/dists/stable"' Possible values: ["DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT"]
- Repository
Path string - Specific repository from the base.
- repository
Base String - A common public repository base for Apt, e.g. '"debian/dists/stable"' Possible values: ["DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT"]
- repository
Path String - Specific repository from the base.
- repository
Base string - A common public repository base for Apt, e.g. '"debian/dists/stable"' Possible values: ["DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT"]
- repository
Path string - Specific repository from the base.
- repository_
base str - A common public repository base for Apt, e.g. '"debian/dists/stable"' Possible values: ["DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT"]
- repository_
path str - Specific repository from the base.
- repository
Base String - A common public repository base for Apt, e.g. '"debian/dists/stable"' Possible values: ["DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT"]
- repository
Path String - Specific repository from the base.
GetRepositoryRemoteRepositoryConfigCommonRepository
- Uri 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 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 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 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 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 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
- Custom
Repositories List<GetRepository Remote Repository Config Docker Repository Custom Repository> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- Public
Repository string - Address of the remote repository. Possible values: ["DOCKER_HUB"]
- Custom
Repositories []GetRepository Remote Repository Config Docker Repository Custom Repository - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- Public
Repository string - Address of the remote repository. Possible values: ["DOCKER_HUB"]
- custom
Repositories List<GetRepository Remote Repository Config Docker Repository Custom Repository> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository String - Address of the remote repository. Possible values: ["DOCKER_HUB"]
- custom
Repositories GetRepository Remote Repository Config Docker Repository Custom Repository[] - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository string - Address of the remote repository. Possible values: ["DOCKER_HUB"]
- custom_
repositories Sequence[GetRepository Remote Repository Config Docker Repository Custom Repository] - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public_
repository str - Address of the remote repository. Possible values: ["DOCKER_HUB"]
- custom
Repositories List<Property Map> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository String - Address of the remote repository. Possible values: ["DOCKER_HUB"]
GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepository
- Uri string
- Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
- Uri string
- Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
- uri String
- Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
- uri string
- Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
- uri str
- Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
- uri String
- Specific uri to the registry, e.g. '"https://registry-1.docker.io"'
GetRepositoryRemoteRepositoryConfigMavenRepository
- Custom
Repositories List<GetRepository Remote Repository Config Maven Repository Custom Repository> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- Public
Repository string - Address of the remote repository. Possible values: ["MAVEN_CENTRAL"]
- Custom
Repositories []GetRepository Remote Repository Config Maven Repository Custom Repository - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- Public
Repository string - Address of the remote repository. Possible values: ["MAVEN_CENTRAL"]
- custom
Repositories List<GetRepository Remote Repository Config Maven Repository Custom Repository> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository String - Address of the remote repository. Possible values: ["MAVEN_CENTRAL"]
- custom
Repositories GetRepository Remote Repository Config Maven Repository Custom Repository[] - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository string - Address of the remote repository. Possible values: ["MAVEN_CENTRAL"]
- custom_
repositories Sequence[GetRepository Remote Repository Config Maven Repository Custom Repository] - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public_
repository str - Address of the remote repository. Possible values: ["MAVEN_CENTRAL"]
- custom
Repositories List<Property Map> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository String - Address of the remote repository. Possible values: ["MAVEN_CENTRAL"]
GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepository
- Uri string
- Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
- Uri string
- Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
- uri String
- Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
- uri string
- Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
- uri str
- Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
- uri String
- Specific uri to the registry, e.g. '"https://repo.maven.apache.org/maven2"'
GetRepositoryRemoteRepositoryConfigNpmRepository
- Custom
Repositories List<GetRepository Remote Repository Config Npm Repository Custom Repository> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- Public
Repository string - Address of the remote repository. Possible values: ["NPMJS"]
- Custom
Repositories []GetRepository Remote Repository Config Npm Repository Custom Repository - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- Public
Repository string - Address of the remote repository. Possible values: ["NPMJS"]
- custom
Repositories List<GetRepository Remote Repository Config Npm Repository Custom Repository> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository String - Address of the remote repository. Possible values: ["NPMJS"]
- custom
Repositories GetRepository Remote Repository Config Npm Repository Custom Repository[] - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository string - Address of the remote repository. Possible values: ["NPMJS"]
- custom_
repositories Sequence[GetRepository Remote Repository Config Npm Repository Custom Repository] - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public_
repository str - Address of the remote repository. Possible values: ["NPMJS"]
- custom
Repositories List<Property Map> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository String - Address of the remote repository. Possible values: ["NPMJS"]
GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepository
- Uri string
- Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
- Uri string
- Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
- uri String
- Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
- uri string
- Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
- uri str
- Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
- uri String
- Specific uri to the registry, e.g. '"https://registry.npmjs.org"'
GetRepositoryRemoteRepositoryConfigPythonRepository
- Custom
Repositories List<GetRepository Remote Repository Config Python Repository Custom Repository> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- Public
Repository string - Address of the remote repository. Possible values: ["PYPI"]
- Custom
Repositories []GetRepository Remote Repository Config Python Repository Custom Repository - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- Public
Repository string - Address of the remote repository. Possible values: ["PYPI"]
- custom
Repositories List<GetRepository Remote Repository Config Python Repository Custom Repository> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository String - Address of the remote repository. Possible values: ["PYPI"]
- custom
Repositories GetRepository Remote Repository Config Python Repository Custom Repository[] - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository string - Address of the remote repository. Possible values: ["PYPI"]
- custom_
repositories Sequence[GetRepository Remote Repository Config Python Repository Custom Repository] - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public_
repository str - Address of the remote repository. Possible values: ["PYPI"]
- custom
Repositories List<Property Map> - [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
- public
Repository String - Address of the remote repository. Possible values: ["PYPI"]
GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepository
- Uri string
- Specific uri to the registry, e.g. '"https://pypi.io"'
- Uri string
- Specific uri to the registry, e.g. '"https://pypi.io"'
- uri String
- Specific uri to the registry, e.g. '"https://pypi.io"'
- uri string
- Specific uri to the registry, e.g. '"https://pypi.io"'
- uri str
- Specific uri to the registry, e.g. '"https://pypi.io"'
- uri String
- Specific uri to the registry, e.g. '"https://pypi.io"'
GetRepositoryRemoteRepositoryConfigUpstreamCredential
- Username
Password List<GetCredentials Repository Remote Repository Config Upstream Credential Username Password Credential> - Use username and password to access the remote repository.
- Username
Password []GetCredentials Repository Remote Repository Config Upstream Credential Username Password Credential - Use username and password to access the remote repository.
- username
Password List<GetCredentials Repository Remote Repository Config Upstream Credential Username Password Credential> - Use username and password to access the remote repository.
- username
Password GetCredentials Repository Remote Repository Config Upstream Credential Username Password Credential[] - Use username and password to access the remote repository.
- username_
password_ Sequence[Getcredentials Repository Remote Repository Config Upstream Credential Username Password Credential] - Use username and password to access the remote repository.
- username
Password List<Property Map>Credentials - Use username and password to access the remote repository.
GetRepositoryRemoteRepositoryConfigUpstreamCredentialUsernamePasswordCredential
- Password
Secret stringVersion - 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 string
- The username to access the remote repository.
- Password
Secret stringVersion - 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 string
- The username to access the remote repository.
- password
Secret StringVersion - 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 String
- The username to access the remote repository.
- password
Secret stringVersion - 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 string
- The username to access the remote repository.
- password_
secret_ strversion - 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 str
- The username to access the remote repository.
- password
Secret StringVersion - 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 String
- The username to access the remote repository.
GetRepositoryRemoteRepositoryConfigYumRepository
- Public
Repositories List<GetRepository Remote Repository Config Yum Repository Public Repository> - One of the publicly available Yum repositories supported by Artifact Registry.
- Public
Repositories []GetRepository Remote Repository Config Yum Repository Public Repository - One of the publicly available Yum repositories supported by Artifact Registry.
- public
Repositories List<GetRepository Remote Repository Config Yum Repository Public Repository> - One of the publicly available Yum repositories supported by Artifact Registry.
- public
Repositories GetRepository Remote Repository Config Yum Repository Public Repository[] - One of the publicly available Yum repositories supported by Artifact Registry.
- public_
repositories Sequence[GetRepository Remote Repository Config Yum Repository Public Repository] - One of the publicly available Yum repositories supported by Artifact Registry.
- public
Repositories List<Property Map> - One of the publicly available Yum repositories supported by Artifact Registry.
GetRepositoryRemoteRepositoryConfigYumRepositoryPublicRepository
- Repository
Base string - A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
- Repository
Path string - Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
- Repository
Base string - A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
- Repository
Path string - Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
- repository
Base String - A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
- repository
Path String - Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
- repository
Base string - A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
- repository
Path string - Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
- repository_
base str - A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
- repository_
path str - Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
- repository
Base String - A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
- repository
Path String - Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
GetRepositoryVirtualRepositoryConfig
- Upstream
Policies List<GetRepository Virtual Repository Config Upstream Policy> - Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
- Upstream
Policies []GetRepository Virtual Repository Config Upstream Policy - Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
- upstream
Policies List<GetRepository Virtual Repository Config Upstream Policy> - Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
- upstream
Policies GetRepository Virtual Repository Config Upstream Policy[] - Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
- upstream_
policies Sequence[GetRepository Virtual Repository Config Upstream Policy] - Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
- upstream
Policies 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 string
- The user-provided ID of the upstream policy.
- Priority int
- Entries with a greater priority value take precedence in the pull order.
- Repository string
- A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
- Id string
- The user-provided ID of the upstream policy.
- Priority int
- Entries with a greater priority value take precedence in the pull order.
- Repository string
- A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
- id String
- The user-provided ID of the upstream policy.
- priority Integer
- Entries with a greater priority value take precedence in the pull order.
- repository String
- A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
- id string
- The user-provided ID of the upstream policy.
- priority number
- Entries with a greater priority value take precedence in the pull order.
- repository string
- A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
- id str
- The user-provided ID of the upstream policy.
- priority int
- Entries with a greater priority value take precedence in the pull order.
- repository str
- A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
- id String
- The user-provided ID of the upstream policy.
- priority Number
- Entries with a greater priority value take precedence in the pull order.
- repository String
- A reference to the repository resource, for example: "projects/p1/locations/us-central1/repository/repo1".
GetRepositoryVulnerabilityScanningConfig
- Enablement
Config string - This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
- Enablement
State string - This field returns whether scanning is active for this repository.
- Enablement
State stringReason - This provides an explanation for the state of scanning on this repository.
- Enablement
Config string - This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
- Enablement
State string - This field returns whether scanning is active for this repository.
- Enablement
State stringReason - This provides an explanation for the state of scanning on this repository.
- enablement
Config String - This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
- enablement
State String - This field returns whether scanning is active for this repository.
- enablement
State StringReason - This provides an explanation for the state of scanning on this repository.
- enablement
Config string - This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
- enablement
State string - This field returns whether scanning is active for this repository.
- enablement
State stringReason - This provides an explanation for the state of scanning on this repository.
- enablement_
config str - This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
- enablement_
state str - This field returns whether scanning is active for this repository.
- enablement_
state_ strreason - This provides an explanation for the state of scanning on this repository.
- enablement
Config String - This configures whether vulnerability scanning is automatically performed for artifacts pushed to this repository. Possible values: ["INHERITED", "DISABLED"]
- enablement
State String - This field returns whether scanning is active for this repository.
- enablement
State StringReason - 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-betaTerraform Provider.
Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
