Class BackupPolicy
Backup Policy.
Implements
Inherited Members
Namespace: Google.Apis.NetAppFiles.v1beta1.Data
Assembly: Google.Apis.NetAppFiles.v1beta1.dll
Syntax
public class BackupPolicy : IDirectResponseSchema
Properties
AssignedVolumeCount
Output only. The total number of volumes assigned by this backup policy.
Declaration
[JsonProperty("assignedVolumeCount")]
public virtual int? AssignedVolumeCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time when the backup policy was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DailyBackupLimit
Number of daily backups to keep. Note that the minimum daily backup limit is 2.
Declaration
[JsonProperty("dailyBackupLimit")]
public virtual int? DailyBackupLimit { get; set; }
Property Value
Type | Description |
---|---|
int? |
Description
Description of the backup policy.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Enabled
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.
Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Labels
Resource labels to represent user provided metadata.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
MonthlyBackupLimit
Number of monthly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
Declaration
[JsonProperty("monthlyBackupLimit")]
public virtual int? MonthlyBackupLimit { get; set; }
Property Value
Type | Description |
---|---|
int? |
Name
Identifier. The resource name of the backup policy. Format:
projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. The backup policy state.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
WeeklyBackupLimit
Number of weekly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
Declaration
[JsonProperty("weeklyBackupLimit")]
public virtual int? WeeklyBackupLimit { get; set; }
Property Value
Type | Description |
---|---|
int? |