---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# gcp_artifactregistry_repository{% #gcp_artifactregistry_repository %}

## `ancestors`{% #ancestors %}

**Type**: `UNORDERED_LIST_STRING`

## `cleanup_policy_dry_run`{% #cleanup_policy_dry_run %}

**Type**: `BOOLEAN`**Provider name**: `cleanupPolicyDryRun`**Description**: Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.

## `create_time`{% #create_time %}

**Type**: `TIMESTAMP`**Provider name**: `createTime`**Description**: Output only. The time when the repository was created.

## `description`{% #description %}

**Type**: `STRING`**Provider name**: `description`**Description**: The user-provided description of the repository.

## `disallow_unspecified_mode`{% #disallow_unspecified_mode %}

**Type**: `BOOLEAN`**Provider name**: `disallowUnspecifiedMode`**Description**: Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.

## `docker_config`{% #docker_config %}

**Type**: `STRUCT`**Provider name**: `dockerConfig`**Description**: Docker repository config contains repository level configuration for the repositories of docker type.

- `immutable_tags`**Type**: `BOOLEAN`**Provider name**: `immutableTags`**Description**: The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.

## `format`{% #format %}

**Type**: `STRING`**Provider name**: `format`**Description**: Optional. The format of packages that are stored in the repository.**Possible values**:

- `FORMAT_UNSPECIFIED` - Unspecified package format.
- `DOCKER` - Docker package format.
- `MAVEN` - Maven package format.
- `NPM` - NPM package format.
- `APT` - APT package format.
- `YUM` - YUM package format.
- `GOOGET` - GooGet package format.
- `PYTHON` - Python package format.
- `KFP` - Kubeflow Pipelines package format.
- `GO` - Go package format.
- `GENERIC` - Generic package format.

## `kms_key_name`{% #kms_key_name %}

**Type**: `STRING`**Provider name**: `kmsKeyName`**Description**: The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.

## `labels`{% #labels %}

**Type**: `UNORDERED_LIST_STRING`

## `maven_config`{% #maven_config %}

**Type**: `STRUCT`**Provider name**: `mavenConfig`**Description**: Maven repository config contains repository level configuration for the repositories of maven type.

- `allow_snapshot_overwrites`**Type**: `BOOLEAN`**Provider name**: `allowSnapshotOverwrites`**Description**: The repository with this flag will allow publishing the same snapshot versions.
- `version_policy`**Type**: `STRING`**Provider name**: `versionPolicy`**Description**: Version policy defines the versions that the registry will accept.**Possible values**:
  - `VERSION_POLICY_UNSPECIFIED` - VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions.
  - `RELEASE` - RELEASE - repository will accept only Release versions.
  - `SNAPSHOT` - SNAPSHOT - repository will accept only Snapshot versions.

## `mode`{% #mode %}

**Type**: `STRING`**Provider name**: `mode`**Description**: Optional. The mode of the repository.**Possible values**:

- `MODE_UNSPECIFIED` - Unspecified mode.
- `STANDARD_REPOSITORY` - A standard repository storing artifacts.
- `VIRTUAL_REPOSITORY` - A virtual repository to serve artifacts from one or more sources.
- `REMOTE_REPOSITORY` - A remote repository to serve artifacts from a remote source.
- `AOSS_REPOSITORY` - An AOSS repository provides artifacts from AOSS upstreams.
- `ASSURED_OSS_REPOSITORY` - Replacement of AOSS_REPOSITORY.

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.

## `organization_id`{% #organization_id %}

**Type**: `STRING`

## `parent`{% #parent %}

**Type**: `STRING`

## `project_id`{% #project_id %}

**Type**: `STRING`

## `project_number`{% #project_number %}

**Type**: `STRING`

## `region_id`{% #region_id %}

**Type**: `STRING`

## `registry_uri`{% #registry_uri %}

**Type**: `STRING`**Provider name**: `registryUri`**Description**: Output only. The repository endpoint, for example: `us-docker.pkg.dev/my-proj/my-repo`.

## `remote_repository_config`{% #remote_repository_config %}

**Type**: `STRUCT`**Provider name**: `remoteRepositoryConfig`**Description**: Configuration specific for a Remote Repository.

- `apt_repository`**Type**: `STRUCT`**Provider name**: `aptRepository`**Description**: Specific settings for an Apt remote repository.
  - `custom_repository`**Type**: `STRUCT`**Provider name**: `customRepository`**Description**: Customer-specified remote repository.
    - `uri`**Type**: `STRING`**Provider name**: `uri`**Description**: An http/https uri reference to the upstream remote repository, for ex: "[https://my.apt.registry/"](https://my.apt.registry/%22).
  - `public_repository`**Type**: `STRUCT`**Provider name**: `publicRepository`**Description**: One of the publicly available Apt repositories supported by Artifact Registry.
    - `repository_base`**Type**: `STRING`**Provider name**: `repositoryBase`**Description**: A common public repository base for Apt.**Possible values**:
      - `REPOSITORY_BASE_UNSPECIFIED` - Unspecified repository base.
      - `DEBIAN` - Debian.
      - `UBUNTU` - Ubuntu LTS/Pro.
      - `DEBIAN_SNAPSHOT` - Archived Debian.
    - `repository_path`**Type**: `STRING`**Provider name**: `repositoryPath`**Description**: A custom field to define a path to a specific repository from the base.
- `common_repository`**Type**: `STRUCT`**Provider name**: `commonRepository`**Description**: Common remote repository settings. Used as the remote repository upstream URL.
  - `uri`**Type**: `STRING`**Provider name**: `uri`**Description**: Required. A common public repository base for remote repository.
- `description`**Type**: `STRING`**Provider name**: `description`**Description**: The description of the remote source.
- `disable_upstream_validation`**Type**: `BOOLEAN`**Provider name**: `disableUpstreamValidation`**Description**: Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.
- `docker_repository`**Type**: `STRUCT`**Provider name**: `dockerRepository`**Description**: Specific settings for a Docker remote repository.
  - `custom_repository`**Type**: `STRUCT`**Provider name**: `customRepository`**Description**: Customer-specified remote repository.
    - `uri`**Type**: `STRING`**Provider name**: `uri`**Description**: An http/https uri reference to the custom remote repository, for ex: "[https://registry-1.docker.io](https://registry-1.docker.io)".
  - `public_repository`**Type**: `STRING`**Provider name**: `publicRepository`**Description**: One of the publicly available Docker repositories supported by Artifact Registry.**Possible values**:
    - `PUBLIC_REPOSITORY_UNSPECIFIED` - Unspecified repository.
    - `DOCKER_HUB` - Docker Hub.
- `maven_repository`**Type**: `STRUCT`**Provider name**: `mavenRepository`**Description**: Specific settings for a Maven remote repository.
  - `custom_repository`**Type**: `STRUCT`**Provider name**: `customRepository`**Description**: Customer-specified remote repository.
    - `uri`**Type**: `STRING`**Provider name**: `uri`**Description**: An http/https uri reference to the upstream remote repository, for ex: "[https://my.maven.registry/"](https://my.maven.registry/%22).
  - `public_repository`**Type**: `STRING`**Provider name**: `publicRepository`**Description**: One of the publicly available Maven repositories supported by Artifact Registry.**Possible values**:
    - `PUBLIC_REPOSITORY_UNSPECIFIED` - Unspecified repository.
    - `MAVEN_CENTRAL` - Maven Central.
- `npm_repository`**Type**: `STRUCT`**Provider name**: `npmRepository`**Description**: Specific settings for an Npm remote repository.
  - `custom_repository`**Type**: `STRUCT`**Provider name**: `customRepository`**Description**: Customer-specified remote repository.
    - `uri`**Type**: `STRING`**Provider name**: `uri`**Description**: An http/https uri reference to the upstream remote repository, for ex: "[https://my.npm.registry/"](https://my.npm.registry/%22).
  - `public_repository`**Type**: `STRING`**Provider name**: `publicRepository`**Description**: One of the publicly available Npm repositories supported by Artifact Registry.**Possible values**:
    - `PUBLIC_REPOSITORY_UNSPECIFIED` - Unspecified repository.
    - `NPMJS` - npmjs.
- `python_repository`**Type**: `STRUCT`**Provider name**: `pythonRepository`**Description**: Specific settings for a Python remote repository.
  - `custom_repository`**Type**: `STRUCT`**Provider name**: `customRepository`**Description**: Customer-specified remote repository.
    - `uri`**Type**: `STRING`**Provider name**: `uri`**Description**: An http/https uri reference to the upstream remote repository, for ex: "[https://my.python.registry/"](https://my.python.registry/%22).
  - `public_repository`**Type**: `STRING`**Provider name**: `publicRepository`**Description**: One of the publicly available Python repositories supported by Artifact Registry.**Possible values**:
    - `PUBLIC_REPOSITORY_UNSPECIFIED` - Unspecified repository.
    - `PYPI` - PyPI.
- `upstream_credentials`**Type**: `STRUCT`**Provider name**: `upstreamCredentials`**Description**: Optional. The credentials used to access the remote repository.
  - `username_password_credentials`**Type**: `STRUCT`**Provider name**: `usernamePasswordCredentials`**Description**: Use username and password to access the remote repository.
    - `password_secret_version`**Type**: `STRING`**Provider name**: `passwordSecretVersion`**Description**: 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`**Type**: `STRING`**Provider name**: `username`**Description**: The username to access the remote repository.
- `yum_repository`**Type**: `STRUCT`**Provider name**: `yumRepository`**Description**: Specific settings for a Yum remote repository.
  - `custom_repository`**Type**: `STRUCT`**Provider name**: `customRepository`**Description**: Customer-specified remote repository.
    - `uri`**Type**: `STRING`**Provider name**: `uri`**Description**: An http/https uri reference to the upstream remote repository, for ex: "[https://my.yum.registry/"](https://my.yum.registry/%22).
  - `public_repository`**Type**: `STRUCT`**Provider name**: `publicRepository`**Description**: One of the publicly available Yum repositories supported by Artifact Registry.
    - `repository_base`**Type**: `STRING`**Provider name**: `repositoryBase`**Description**: A common public repository base for Yum.**Possible values**:
      - `REPOSITORY_BASE_UNSPECIFIED` - Unspecified repository base.
      - `CENTOS` - CentOS.
      - `CENTOS_DEBUG` - CentOS Debug.
      - `CENTOS_VAULT` - CentOS Vault.
      - `CENTOS_STREAM` - CentOS Stream.
      - `ROCKY` - Rocky.
      - `EPEL` - Fedora Extra Packages for Enterprise Linux (EPEL).
    - `repository_path`**Type**: `STRING`**Provider name**: `repositoryPath`**Description**: A custom field to define a path to a specific repository from the base.

## `resource_name`{% #resource_name %}

**Type**: `STRING`

## `satisfies_pzi`{% #satisfies_pzi %}

**Type**: `BOOLEAN`**Provider name**: `satisfiesPzi`**Description**: Output only. If set, the repository satisfies physical zone isolation.

## `satisfies_pzs`{% #satisfies_pzs %}

**Type**: `BOOLEAN`**Provider name**: `satisfiesPzs`**Description**: Output only. If set, the repository satisfies physical zone separation.

## `size_bytes`{% #size_bytes %}

**Type**: `INT64`**Provider name**: `sizeBytes`**Description**: Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

## `update_time`{% #update_time %}

**Type**: `TIMESTAMP`**Provider name**: `updateTime`**Description**: Output only. The time when the repository was last updated.

## `virtual_repository_config`{% #virtual_repository_config %}

**Type**: `STRUCT`**Provider name**: `virtualRepositoryConfig`**Description**: Configuration specific for a Virtual Repository.

- `upstream_policies`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `upstreamPolicies`**Description**: Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
  - `id`**Type**: `STRING`**Provider name**: `id`**Description**: The user-provided ID of the upstream policy.
  - `priority`**Type**: `INT32`**Provider name**: `priority`**Description**: Entries with a greater priority value take precedence in the pull order.
  - `repository`**Type**: `STRING`**Provider name**: `repository`**Description**: A reference to the repository resource, for example: `projects/p1/locations/us-central1/repositories/repo1`.

## `vulnerability_scanning_config`{% #vulnerability_scanning_config %}

**Type**: `STRUCT`**Provider name**: `vulnerabilityScanningConfig`**Description**: Optional. Config and state for vulnerability scanning of resources within this Repository.

- `enablement_config`**Type**: `STRING`**Provider name**: `enablementConfig`**Description**: Optional. Config for whether this repository has vulnerability scanning disabled.**Possible values**:
  - `ENABLEMENT_CONFIG_UNSPECIFIED` - Not set. This will be treated as INHERITED.
  - `INHERITED` - Scanning is Enabled, but dependent on API enablement.
  - `DISABLED` - No automatic vulnerability scanning will be performed for this repository.
- `enablement_state`**Type**: `STRING`**Provider name**: `enablementState`**Description**: Output only. State of feature enablement, combining repository enablement config and API enablement state.**Possible values**:
  - `ENABLEMENT_STATE_UNSPECIFIED` - Enablement state is unclear.
  - `SCANNING_UNSUPPORTED` - Repository does not support vulnerability scanning.
  - `SCANNING_DISABLED` - Vulnerability scanning is disabled for this repository.
  - `SCANNING_ACTIVE` - Vulnerability scanning is active for this repository.
- `enablement_state_reason`**Type**: `STRING`**Provider name**: `enablementStateReason`**Description**: Output only. Reason for the repository state.
- `last_enable_time`**Type**: `TIMESTAMP`**Provider name**: `lastEnableTime`**Description**: Output only. The last time this repository config was enabled.

## `zone_id`{% #zone_id %}

**Type**: `STRING`
