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

# gcp_backupdr_backup_plan_association{% #gcp_backupdr_backup_plan_association %}

## `ancestors`{% #ancestors %}

**Type**: `UNORDERED_LIST_STRING`

## `backup_plan`{% #backup_plan %}

**Type**: `STRING`**Provider name**: `backupPlan`**Description**: Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}

## `backup_plan_revision_id`{% #backup_plan_revision_id %}

**Type**: `STRING`**Provider name**: `backupPlanRevisionId`**Description**: Output only. The user friendly revision ID of the `BackupPlanRevision`. Example: v0, v1, v2, etc.

## `backup_plan_revision_name`{% #backup_plan_revision_name %}

**Type**: `STRING`**Provider name**: `backupPlanRevisionName`**Description**: Output only. The resource id of the `BackupPlanRevision`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}`

## `cloud_sql_instance_backup_plan_association_properties`{% #cloud_sql_instance_backup_plan_association_properties %}

**Type**: `STRUCT`**Provider name**: `cloudSqlInstanceBackupPlanAssociationProperties`**Description**: Output only. Cloud SQL instance's backup plan association properties.

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

## `create_time`{% #create_time %}

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

## `data_source`{% #data_source %}

**Type**: `STRING`**Provider name**: `dataSource`**Description**: Output only. Resource name of data source which will be used as storage location for backups taken. Format : projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}

## `labels`{% #labels %}

**Type**: `UNORDERED_LIST_STRING`

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

## `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`{% #resource %}

**Type**: `STRING`**Provider name**: `resource`**Description**: Required. Immutable. Resource name of workload on which the backup plan is applied. The format can either be the resource name (e.g., "projects/my-project/zones/us-central1-a/instances/my-instance") or the full resource URI (e.g., "[https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/my-instance")](https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/my-instance%22%29).

## `resource_name`{% #resource_name %}

**Type**: `STRING`

## `resource_type`{% #resource_type %}

**Type**: `STRING`**Provider name**: `resourceType`**Description**: Required. Immutable. Resource type of workload on which backupplan is applied

## `rules_config_info`{% #rules_config_info %}

**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `rulesConfigInfo`**Description**: Output only. The config info related to backup rules.

- `last_backup_error`**Type**: `STRUCT`**Provider name**: `lastBackupError`**Description**: Output only. google.rpc.Status object to store the last backup error.
  - `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 last backup state for rule.**Possible values**:
  - `LAST_BACKUP_STATE_UNSPECIFIED` - State not set.
  - `FIRST_BACKUP_PENDING` - The first backup is pending.
  - `PERMISSION_DENIED` - The most recent backup could not be run/failed because of the lack of permissions.
  - `SUCCEEDED` - The last backup operation succeeded.
  - `FAILED` - The last backup operation failed.
- `last_successful_backup_consistency_time`**Type**: `TIMESTAMP`**Provider name**: `lastSuccessfulBackupConsistencyTime`**Description**: Output only. The point in time when the last successful backup was captured from the source.
- `rule_id`**Type**: `STRING`**Provider name**: `ruleId`**Description**: Output only. Backup Rule id fetched from backup plan.

## `state`{% #state %}

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

- `STATE_UNSPECIFIED` - State not set.
- `CREATING` - The resource is being created.
- `ACTIVE` - The resource has been created and is fully usable.
- `DELETING` - The resource is being deleted.
- `INACTIVE` - The resource has been created but is not usable.
- `UPDATING` - The resource is being updated.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

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