resource_backup_configs
Creates, updates, deletes, gets or lists a resource_backup_configs
resource.
Overview
Name | resource_backup_configs |
Type | Resource |
Id | google.backupdr.resource_backup_configs |
Fields
The following fields are returned by SELECT
queries:
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid} |
backupConfigsDetails | array | Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated. |
backupConfigured | boolean | Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty. |
targetResource | string | Output only. The full resource name of the cloud resource that this configuration applies to. Supported resource types are ResourceBackupConfig.ResourceType. |
targetResourceDisplayName | string | Output only. The human friendly name of the target resource. |
targetResourceLabels | object | Labels associated with the target resource. |
targetResourceType | string | Output only. The type of the target resource. |
uid | string | Output only. The unique identifier of the resource backup config. |
vaulted | boolean | Output only. Whether the target resource is protected by a backup vault. This is true if the backup_configs_details is not empty and any of the ResourceBackupConfig.backup_configs_details has a backup configuration with BackupConfigDetails.backup_vault set. set. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | projectsId , locationsId | pageSize , pageToken , filter , orderBy | Lists ResourceBackupConfigs. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- list
Lists ResourceBackupConfigs.
SELECT
name,
backupConfigsDetails,
backupConfigured,
targetResource,
targetResourceDisplayName,
targetResourceLabels,
targetResourceType,
uid,
vaulted
FROM google.backupdr.resource_backup_configs
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';