public sealed class BackupPlanAssociation : IMessage<BackupPlanAssociation>, IEquatable<BackupPlanAssociation>, IDeepCloneable<BackupPlanAssociation>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class BackupPlanAssociation.
A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc
Implements
IMessageBackupPlanAssociation, IEquatableBackupPlanAssociation, IDeepCloneableBackupPlanAssociation, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
BackupPlanAssociation()
public BackupPlanAssociation()
BackupPlanAssociation(BackupPlanAssociation)
public BackupPlanAssociation(BackupPlanAssociation other)
Parameter | |
---|---|
Name | Description |
other |
BackupPlanAssociation |
Properties
BackupPlan
public string BackupPlan { get; set; }
Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
Property Value | |
---|---|
Type | Description |
string |
BackupPlanAsBackupPlanName
public BackupPlanName BackupPlanAsBackupPlanName { get; set; }
BackupPlanName-typed view over the BackupPlan resource name property.
Property Value | |
---|---|
Type | Description |
BackupPlanName |
BackupPlanAssociationName
public BackupPlanAssociationName BackupPlanAssociationName { get; set; }
BackupPlanAssociationName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
BackupPlanAssociationName |
BackupPlanRevisionId
public string BackupPlanRevisionId { get; set; }
Output only. The user friendly revision ID of the BackupPlanRevision
.
Example: v0, v1, v2, etc.
Property Value | |
---|---|
Type | Description |
string |
BackupPlanRevisionName
public string BackupPlanRevisionName { get; set; }
Output only. The resource id of the BackupPlanRevision
.
Format:
projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}
Property Value | |
---|---|
Type | Description |
string |
CloudSqlInstanceBackupPlanAssociationProperties
public CloudSqlInstanceBackupPlanAssociationProperties CloudSqlInstanceBackupPlanAssociationProperties { get; set; }
Output only. Cloud SQL instance's backup plan association properties.
Property Value | |
---|---|
Type | Description |
CloudSqlInstanceBackupPlanAssociationProperties |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time when the instance was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
DataSource
public string DataSource { get; set; }
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}
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
Property Value | |
---|---|
Type | Description |
string |
Resource
public string Resource { get; set; }
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").
Property Value | |
---|---|
Type | Description |
string |
ResourcePropertiesCase
public BackupPlanAssociation.ResourcePropertiesOneofCase ResourcePropertiesCase { get; }
Property Value | |
---|---|
Type | Description |
BackupPlanAssociationResourcePropertiesOneofCase |
ResourceType
public string ResourceType { get; set; }
Required. Immutable. Resource type of workload on which backupplan is applied
Property Value | |
---|---|
Type | Description |
string |
RulesConfigInfo
public RepeatedField<RuleConfigInfo> RulesConfigInfo { get; }
Output only. The config info related to backup rules.
Property Value | |
---|---|
Type | Description |
RepeatedFieldRuleConfigInfo |
State
public BackupPlanAssociation.Types.State State { get; set; }
Output only. The BackupPlanAssociation resource state.
Property Value | |
---|---|
Type | Description |
BackupPlanAssociationTypesState |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time when the instance was updated.
Property Value | |
---|---|
Type | Description |
Timestamp |