Resource: BackupPlanAssociation
A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc
JSON representation |
---|
{ "name": string, "resourceType": string, "resource": string, "backupPlan": string, "createTime": string, "updateTime": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId} |
resource |
Required. Immutable. Resource type of workload on which backupplan is applied |
resource |
Required. Immutable. Resource name of workload on which backupplan is applied |
backup |
Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId} |
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: |
state |
Output only. The BackupPlanAssociation resource state. |
rules |
Output only. The config info related to backup rules. |
data |
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} |
State
Enum for State of BackupPlan Association
Enums | |
---|---|
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. |
RuleConfigInfo
Message for rules config info.
JSON representation |
---|
{ "ruleId": string, "lastBackupState": enum ( |
Fields | |
---|---|
rule |
Output only. Backup Rule id fetched from backup plan. |
last |
Output only. The last backup state for rule. |
last |
Output only. google.rpc.Status object to store the last backup error. |
last |
Output only. The point in time when the last successful backup was captured from the source. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
LastBackupState
Enum for LastBackupState
Enums | |
---|---|
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. |
Methods |
|
---|---|
|
Create a BackupPlanAssociation |
|
Deletes a single BackupPlanAssociation. |
|
Gets details of a single BackupPlanAssociation. |
|
Lists BackupPlanAssociations in a given project and location. |
|
Triggers a new Backup. |