NetApp v1 API - Class BackupPolicy (1.0.0-beta03)

public sealed class BackupPolicy : IMessage<BackupPolicy>, IEquatable<BackupPolicy>, IDeepCloneable<BackupPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the NetApp v1 API class BackupPolicy.

Backup Policy.

Inheritance

object > BackupPolicy

Namespace

Google.Cloud.NetApp.V1

Assembly

Google.Cloud.NetApp.V1.dll

Constructors

BackupPolicy()

public BackupPolicy()

BackupPolicy(BackupPolicy)

public BackupPolicy(BackupPolicy other)
Parameter
NameDescription
otherBackupPolicy

Properties

AssignedVolumeCount

public int AssignedVolumeCount { get; set; }

Output only. The total number of volumes assigned by this backup policy.

Property Value
TypeDescription
int

BackupPolicyName

public BackupPolicyName BackupPolicyName { get; set; }

BackupPolicyName-typed view over the Name resource name property.

Property Value
TypeDescription
BackupPolicyName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time when the backup policy was created.

Property Value
TypeDescription
Timestamp

DailyBackupLimit

public int DailyBackupLimit { get; set; }

Number of daily backups to keep. Note that the minimum daily backup limit is 2.

Property Value
TypeDescription
int

Description

public string Description { get; set; }

Description of the backup policy.

Property Value
TypeDescription
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
TypeDescription
bool

HasAssignedVolumeCount

public bool HasAssignedVolumeCount { get; }

Gets whether the "assigned_volume_count" field is set

Property Value
TypeDescription
bool

HasDailyBackupLimit

public bool HasDailyBackupLimit { get; }

Gets whether the "daily_backup_limit" field is set

Property Value
TypeDescription
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
bool

HasEnabled

public bool HasEnabled { get; }

Gets whether the "enabled" field is set

Property Value
TypeDescription
bool

HasMonthlyBackupLimit

public bool HasMonthlyBackupLimit { get; }

Gets whether the "monthly_backup_limit" field is set

Property Value
TypeDescription
bool

HasWeeklyBackupLimit

public bool HasWeeklyBackupLimit { get; }

Gets whether the "weekly_backup_limit" field is set

Property Value
TypeDescription
bool

Labels

public MapField<string, string> Labels { get; }

Resource labels to represent user provided metadata.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

State

public BackupPolicy.Types.State State { get; set; }

Output only. The backup policy state.

Property Value
TypeDescription
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
TypeDescription
int