- Resource: DataSource
- State
- BackupConfigState
- BackupConfigInfo
- LastBackupState
- GcpBackupConfig
- BackupApplianceBackupConfig
- DataSourceGcpResource
- ComputeInstanceDataSourceProperties
- DataSourceBackupApplianceApplication
- Methods
Resource: DataSource
Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view.
JSON representation |
---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. Identifier. Name of the datasource to create. It must have the format |
state |
Output only. The DataSource resource instance state. |
labels |
Optional. Resource labels to represent user provided metadata. No labels currently defined: An object containing a list of |
config |
Output only. The backup configuration state. |
backup |
Output only. Details of how the resource is configured for backup. |
create |
Output only. The time when the instance was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The time when the instance was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
backup |
Number of backups in the data source. |
etag |
Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other. |
total |
The number of bytes (metadata and data) stored in this datasource. |
Union field source_resource . The source resource that is represented by this DataSource. It can be a Google Cloud resource, or one backed up by a Backup Appliance. source_resource can be only one of the following: |
|
data |
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. |
data |
The backed up resource is a backup appliance application. |
State
Holds the state of the data source resource.
Enums | |
---|---|
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. |
BackupConfigState
Backup configuration state. Is the resource configured for backup?
Enums | |
---|---|
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) |
BackupConfigInfo
BackupConfigInfo has information about how the resource is configured for Backup and about the most recent backup to this vault.
JSON representation |
---|
{ "lastBackupState": enum ( |
Fields | |
---|---|
last |
Output only. The status of the last backup to this BackupVault |
last |
Output only. If the last backup were successful, this field has the consistency date. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
last |
Output only. If the last backup failed, this field has the error message. |
Union field backup_config . Configuration Info has the resource format-specific configuration. backup_config can be only one of the following: |
|
gcp |
Configuration for a Google Cloud resource. |
backup |
Configuration for an application backed up by a Backup Appliance. |
LastBackupState
LastBackupstate tracks whether the last backup was not yet started, successful, failed, or could not be run because of the lack of permissions.
Enums | |
---|---|
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 |
GcpBackupConfig
GcpBackupConfig captures the Backup configuration details for Google Cloud resources. All Google Cloud resources regardless of type are protected with backup plan associations.
JSON representation |
---|
{ "backupPlan": string, "backupPlanDescription": string, "backupPlanAssociation": string, "backupPlanRules": [ string ] } |
Fields | |
---|---|
backup |
The name of the backup plan. |
backup |
The description of the backup plan. |
backup |
The name of the backup plan association. |
backup |
The names of the backup plan rules which point to this backupvault |
BackupApplianceBackupConfig
BackupApplianceBackupConfig captures the backup configuration for applications that are protected by Backup Appliances.
JSON representation |
---|
{ "backupApplianceName": string, "backupApplianceId": string, "slaId": string, "applicationName": string, "hostName": string, "sltName": string, "slpName": string } |
Fields | |
---|---|
backup |
The name of the backup appliance. |
backup |
The ID of the backup appliance. |
sla |
The ID of the SLA of this application. |
application |
The name of the application. |
host |
The name of the host where the application is running. |
slt |
The name of the SLT associated with the application. |
slp |
The name of the SLP associated with the application. |
DataSourceGcpResource
DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource
JSON representation |
---|
{ "gcpResourcename": string, "location": string, "type": string, // Union field |
Fields | |
---|---|
gcp |
Output only. Full resource pathname URL of the source Google Cloud resource. |
location |
Location of the resource: |
type |
The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance. |
Union field gcp_resource_properties . gcp_Properties has properties of the Google Cloud Resource. gcp_resource_properties can be only one of the following: |
|
compute |
ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level. |
ComputeInstanceDataSourceProperties
ComputeInstanceDataSourceProperties represents the properties of a ComputeEngine resource that are stored in the DataSource.
JSON representation |
---|
{ "name": string, "description": string, "machineType": string, "totalDiskCount": string, "totalDiskSizeGb": string } |
Fields | |
---|---|
name |
Name of the compute instance backed up by the datasource. |
description |
The description of the Compute Engine instance. |
machine |
The machine type of the instance. |
total |
The total number of disks attached to the Instance. |
total |
The sum of all the disk sizes. |
DataSourceBackupApplianceApplication
BackupApplianceApplication describes a Source Resource when it is an application backed up by a BackupAppliance.
JSON representation |
---|
{ "applicationName": string, "backupAppliance": string, "applianceId": string, "type": string, "applicationId": string, "hostname": string, "hostId": string } |
Fields | |
---|---|
application |
The name of the Application as known to the Backup Appliance. |
backup |
Appliance name. |
appliance |
Appliance Id of the Backup Appliance. |
type |
The type of the application. e.g. VMBackup |
application |
The appid field of the application within the Backup Appliance. |
hostname |
Hostname of the host where the application is running. |
host |
Hostid of the application host. |
Methods |
|
---|---|
|
Internal only. |
|
Internal only. |
|
Internal only. |
|
Gets details of a DataSource. |
|
Internal only. |
|
Lists DataSources in a given project and location. |
|
Updates the settings of a DataSource. |
|
Deletes a DataSource. |
|
Sets the internal status of a DataSource. |