Class BackupPlan (1.0.0-beta01)

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

Defines the configuration and scheduling for a "line" of Backups.

Inheritance

Object > BackupPlan

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

BackupPlan()

public BackupPlan()

BackupPlan(BackupPlan)

public BackupPlan(BackupPlan other)
Parameter
NameDescription
otherBackupPlan

Properties

BackupConfig

public BackupPlan.Types.BackupConfig BackupConfig { get; set; }

Defines the configuration of Backups created via this BackupPlan.

Property Value
TypeDescription
BackupPlan.Types.BackupConfig

BackupPlanName

public BackupPlanName BackupPlanName { get; set; }

BackupPlanName-typed view over the Name resource name property.

Property Value
TypeDescription
BackupPlanName

BackupSchedule

public BackupPlan.Types.Schedule BackupSchedule { get; set; }

Defines a schedule for automatic Backup creation via this BackupPlan.

Property Value
TypeDescription
BackupPlan.Types.Schedule

Cluster

public string Cluster { get; set; }

Required. Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats:

  • projects//locations//clusters/*
  • projects//zones//clusters/*
Property Value
TypeDescription
String

ClusterAsClusterName

public ClusterName ClusterAsClusterName { get; set; }

ClusterName-typed view over the Cluster resource name property.

Property Value
TypeDescription
ClusterName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The timestamp when this BackupPlan resource was created.

Property Value
TypeDescription
Timestamp

Deactivated

public bool Deactivated { get; set; }

This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups).

Default: False

Property Value
TypeDescription
Boolean

Description

public string Description { get; set; }

User specified descriptive string for this BackupPlan.

Property Value
TypeDescription
String

Etag

public string Etag { get; set; }

Output only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: An etag is returned in the response to GetBackupPlan, and systems are expected to put that etag in the request to UpdateBackupPlan or DeleteBackupPlan to ensure that their change will be applied to the same version of the resource.

Property Value
TypeDescription
String

Labels

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

A set of custom labels supplied by user.

Property Value
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

Output only. The full name of the BackupPlan resource. Format: projects//locations//backupPlans/*

Property Value
TypeDescription
String

ProtectedPodCount

public int ProtectedPodCount { get; set; }

Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.

Property Value
TypeDescription
Int32

RetentionPolicy

public BackupPlan.Types.RetentionPolicy RetentionPolicy { get; set; }

RetentionPolicy governs lifecycle of Backups created under this plan.

Property Value
TypeDescription
BackupPlan.Types.RetentionPolicy

Uid

public string Uid { get; set; }

Output only. Server generated global unique identifier of UUID format.

Property Value
TypeDescription
String

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The timestamp when this BackupPlan resource was last updated.

Property Value
TypeDescription
Timestamp