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

# gcp_backupdr_data_source{% #gcp_backupdr_data_source %}

## `ancestors`{% #ancestors %}

**Type**: `UNORDERED_LIST_STRING`

## `backup_blocked_by_vault_access_restriction`{% #backup_blocked_by_vault_access_restriction %}

**Type**: `BOOLEAN`**Provider name**: `backupBlockedByVaultAccessRestriction`**Description**: Output only. This field is set to true if the backup is blocked by vault access restriction.

## `backup_config_info`{% #backup_config_info %}

**Type**: `STRUCT`**Provider name**: `backupConfigInfo`**Description**: Output only. Details of how the resource is configured for backup.

- `backup_appliance_backup_config`**Type**: `STRUCT`**Provider name**: `backupApplianceBackupConfig`**Description**: Configuration for an application backed up by a Backup Appliance.
  - `application_name`**Type**: `STRING`**Provider name**: `applicationName`**Description**: The name of the application.
  - `backup_appliance_id`**Type**: `INT64`**Provider name**: `backupApplianceId`**Description**: The ID of the backup appliance.
  - `backup_appliance_name`**Type**: `STRING`**Provider name**: `backupApplianceName`**Description**: The name of the backup appliance.
  - `host_name`**Type**: `STRING`**Provider name**: `hostName`**Description**: The name of the host where the application is running.
  - `sla_id`**Type**: `INT64`**Provider name**: `slaId`**Description**: The ID of the SLA of this application.
  - `slp_name`**Type**: `STRING`**Provider name**: `slpName`**Description**: The name of the SLP associated with the application.
  - `slt_name`**Type**: `STRING`**Provider name**: `sltName`**Description**: The name of the SLT associated with the application.
- `gcp_backup_config`**Type**: `STRUCT`**Provider name**: `gcpBackupConfig`**Description**: Configuration for a Google Cloud resource.
  - `backup_plan`**Type**: `STRING`**Provider name**: `backupPlan`**Description**: The name of the backup plan.
  - `backup_plan_association`**Type**: `STRING`**Provider name**: `backupPlanAssociation`**Description**: The name of the backup plan association.
  - `backup_plan_description`**Type**: `STRING`**Provider name**: `backupPlanDescription`**Description**: The description of the backup plan.
  - `backup_plan_revision_id`**Type**: `STRING`**Provider name**: `backupPlanRevisionId`**Description**: The user friendly id of the backup plan revision. E.g. v0, v1 etc.
  - `backup_plan_revision_name`**Type**: `STRING`**Provider name**: `backupPlanRevisionName`**Description**: The name of the backup plan revision.
  - `backup_plan_rules`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `backupPlanRules`**Description**: The names of the backup plan rules which point to this backupvault
- `last_backup_error`**Type**: `STRUCT`**Provider name**: `lastBackupError`**Description**: Output only. If the last backup failed, this field has the error message.
  - `code`**Type**: `INT32`**Provider name**: `code`**Description**: The status code, which should be an enum value of google.rpc.Code.
  - `message`**Type**: `STRING`**Provider name**: `message`**Description**: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- `last_backup_state`**Type**: `STRING`**Provider name**: `lastBackupState`**Description**: Output only. The status of the last backup to this BackupVault**Possible values**:
  - `LAST_BACKUP_STATE_UNSPECIFIED` - Status not set.
  - `FIRST_BACKUP_PENDING` - The first backup has not yet completed
  - `SUCCEEDED` - The most recent backup was successful
  - `FAILED` - The most recent backup failed
  - `PERMISSION_DENIED` - The most recent backup could not be run/failed because of the lack of permissions
- `last_successful_backup_consistency_time`**Type**: `TIMESTAMP`**Provider name**: `lastSuccessfulBackupConsistencyTime`**Description**: Output only. If the last backup were successful, this field has the consistency date.

## `backup_count`{% #backup_count %}

**Type**: `INT64`**Provider name**: `backupCount`**Description**: Number of backups in the data source.

## `config_state`{% #config_state %}

**Type**: `STRING`**Provider name**: `configState`**Description**: Output only. The backup configuration state.**Possible values**:

- `BACKUP_CONFIG_STATE_UNSPECIFIED` - The possible states of backup configuration. Status not set.
- `ACTIVE` - The data source is actively protected (i.e. there is a BackupPlanAssociation or Appliance SLA pointing to it)
- `PASSIVE` - The data source is no longer protected (but may have backups under it)

## `create_time`{% #create_time %}

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

## `data_source_backup_appliance_application`{% #data_source_backup_appliance_application %}

**Type**: `STRUCT`**Provider name**: `dataSourceBackupApplianceApplication`**Description**: The backed up resource is a backup appliance application.

- `appliance_id`**Type**: `INT64`**Provider name**: `applianceId`**Description**: Appliance Id of the Backup Appliance.
- `application_id`**Type**: `INT64`**Provider name**: `applicationId`**Description**: The appid field of the application within the Backup Appliance.
- `application_name`**Type**: `STRING`**Provider name**: `applicationName`**Description**: The name of the Application as known to the Backup Appliance.
- `backup_appliance`**Type**: `STRING`**Provider name**: `backupAppliance`**Description**: Appliance name.
- `host_id`**Type**: `INT64`**Provider name**: `hostId`**Description**: Hostid of the application host.
- `hostname`**Type**: `STRING`**Provider name**: `hostname`**Description**: Hostname of the host where the application is running.
- `type`**Type**: `STRING`**Provider name**: `type`**Description**: The type of the application. e.g. VMBackup

## `data_source_gcp_resource`{% #data_source_gcp_resource %}

**Type**: `STRUCT`**Provider name**: `dataSourceGcpResource`**Description**: The backed up resource is a Google Cloud resource. The word 'DataSource' was included in the names to indicate that this is the representation of the Google Cloud resource used within the DataSource object.

- `cloud_sql_instance_datasource_properties`**Type**: `STRUCT`**Provider name**: `cloudSqlInstanceDatasourceProperties`**Description**: Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL Instance properties that are useful at the Datasource level.
  - `database_installed_version`**Type**: `STRING`**Provider name**: `databaseInstalledVersion`**Description**: Output only. The installed database version of the Cloud SQL instance.
  - `instance_create_time`**Type**: `TIMESTAMP`**Provider name**: `instanceCreateTime`**Description**: Output only. The instance creation timestamp.
  - `instance_tier`**Type**: `STRING`**Provider name**: `instanceTier`**Description**: Output only. The tier (or machine type) for this instance. Example: `db-custom-1-3840`
  - `name`**Type**: `STRING`**Provider name**: `name`**Description**: Output only. Name of the Cloud SQL instance backed up by the datasource. Format: projects/{project}/instances/{instance}
- `compute_instance_datasource_properties`**Type**: `STRUCT`**Provider name**: `computeInstanceDatasourceProperties`**Description**: ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
  - `description`**Type**: `STRING`**Provider name**: `description`**Description**: The description of the Compute Engine instance.
  - `machine_type`**Type**: `STRING`**Provider name**: `machineType`**Description**: The machine type of the instance.
  - `name`**Type**: `STRING`**Provider name**: `name`**Description**: Name of the compute instance backed up by the datasource.
  - `total_disk_count`**Type**: `INT64`**Provider name**: `totalDiskCount`**Description**: The total number of disks attached to the Instance.
  - `total_disk_size_gb`**Type**: `INT64`**Provider name**: `totalDiskSizeGb`**Description**: The sum of all the disk sizes.
- `disk_datasource_properties`**Type**: `STRUCT`**Provider name**: `diskDatasourceProperties`**Description**: DiskDataSourceProperties has a subset of Disk properties that are useful at the Datasource level.
  - `description`**Type**: `STRING`**Provider name**: `description`**Description**: The description of the disk.
  - `name`**Type**: `STRING`**Provider name**: `name`**Description**: Name of the disk backed up by the datasource.
  - `size_gb`**Type**: `INT64`**Provider name**: `sizeGb`**Description**: The size of the disk in GB.
  - `type`**Type**: `STRING`**Provider name**: `type`**Description**: The type of the disk.
- `gcp_resourcename`**Type**: `STRING`**Provider name**: `gcpResourcename`**Description**: Output only. Full resource pathname URL of the source Google Cloud resource.
- `location`**Type**: `STRING`**Provider name**: `location`**Description**: Location of the resource: //"global"/"unspecified".
- `type`**Type**: `STRING`**Provider name**: `type`**Description**: The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

## `etag`{% #etag %}

**Type**: `STRING`**Provider name**: `etag`**Description**: Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.

## `labels`{% #labels %}

**Type**: `UNORDERED_LIST_STRING`

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: Output only. Identifier. Name of the datasource to create. It must have the format`"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`. `{datasource}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the backup vault.

## `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`

## `resource_name`{% #resource_name %}

**Type**: `STRING`

## `state`{% #state %}

**Type**: `STRING`**Provider name**: `state`**Description**: Output only. The DataSource resource instance state.**Possible values**:

- `STATE_UNSPECIFIED` - State not set.
- `CREATING` - The data source is being created.
- `ACTIVE` - The data source has been created and is fully usable.
- `DELETING` - The data source is being deleted.
- `ERROR` - The data source is experiencing an issue and might be unusable.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

## `total_stored_bytes`{% #total_stored_bytes %}

**Type**: `INT64`**Provider name**: `totalStoredBytes`**Description**: The number of bytes (metadata and data) stored in this datasource.

## `update_time`{% #update_time %}

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

## `zone_id`{% #zone_id %}

**Type**: `STRING`
