public sealed class BackupPolicy : IMessage<BackupPolicy>, IEquatable<BackupPolicy>, IDeepCloneable<BackupPolicy>, IBufferMessage, IMessageReference documentation and code samples for the NetApp v1 API class BackupPolicy.
Backup Policy.
Implements
IMessageBackupPolicy, IEquatableBackupPolicy, IDeepCloneableBackupPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.NetApp.V1Assembly
Google.Cloud.NetApp.V1.dll
Constructors
BackupPolicy()
public BackupPolicy()BackupPolicy(BackupPolicy)
public BackupPolicy(BackupPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupPolicy |
Properties
AssignedVolumeCount
public int AssignedVolumeCount { get; set; }Output only. The total number of volumes assigned by this backup policy.
| Property Value | |
|---|---|
| Type | Description |
int |
|
BackupPolicyName
public BackupPolicyName BackupPolicyName { get; set; }BackupPolicyName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
BackupPolicyName |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The time when the backup policy was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
DailyBackupLimit
public int DailyBackupLimit { get; set; }Number of daily backups to keep. Note that the minimum daily backup limit is 2.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Description
public string Description { get; set; }Description of the backup policy.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Enabled
public bool Enabled { get; set; }If enabled, make backups automatically according to the schedules. This will be applied to all volumes that have this policy attached and enforced on volume level. If not specified, default is true.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasAssignedVolumeCount
public bool HasAssignedVolumeCount { get; }Gets whether the "assigned_volume_count" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasDailyBackupLimit
public bool HasDailyBackupLimit { get; }Gets whether the "daily_backup_limit" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasDescription
public bool HasDescription { get; }Gets whether the "description" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasEnabled
public bool HasEnabled { get; }Gets whether the "enabled" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasMonthlyBackupLimit
public bool HasMonthlyBackupLimit { get; }Gets whether the "monthly_backup_limit" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasWeeklyBackupLimit
public bool HasWeeklyBackupLimit { get; }Gets whether the "weekly_backup_limit" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Labels
public MapField<string, string> Labels { get; }Resource labels to represent user provided metadata.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
MonthlyBackupLimit
public int MonthlyBackupLimit { get; set; }Number of monthly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Name
public string Name { get; set; }Identifier. The resource name of the backup policy.
Format:
projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
State
public BackupPolicy.Types.State State { get; set; }Output only. The backup policy state.
| Property Value | |
|---|---|
| Type | Description |
BackupPolicyTypesState |
|
WeeklyBackupLimit
public int WeeklyBackupLimit { get; set; }Number of weekly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
| Property Value | |
|---|---|
| Type | Description |
int |
|