Class RestoreTemplate
A RestoreTemplate encapsulates DR readiness configurations for validating backups.
Implements
Inherited Members
Namespace: Google.Apis.Backupdr.v1beta.Data
Assembly: Google.Apis.Backupdr.v1beta.dll
Syntax
public class RestoreTemplate : IDirectResponseSchema
Properties
BackupSelectionConfig
Required. Backup selection configuration.
Declaration
[JsonProperty("backupSelectionConfig")]
public virtual BackupSelectionConfig BackupSelectionConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| BackupSelectionConfig |
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 restore template was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Optional. User-provided description of the restore template.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
Optional. Etag for concurrency control.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExecutionSummary
Output only. Summary of the last execution.
Declaration
[JsonProperty("executionSummary")]
public virtual ExecutionSummary ExecutionSummary { get; set; }
Property Value
| Type | Description |
|---|---|
| ExecutionSummary |
Labels
Optional. User-defined labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Name
Identifier. The resource name of the RestoreTemplate.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostRestoreConfig
Optional. Post-restore configuration.
Declaration
[JsonProperty("postRestoreConfig")]
public virtual PostRestoreConfig PostRestoreConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| PostRestoreConfig |
PreRestoreConfig
Optional. Pre-restore configuration.
Declaration
[JsonProperty("preRestoreConfig")]
public virtual PreRestoreConfig PreRestoreConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| PreRestoreConfig |
ResourceType
Required. Immutable. The specific type of the workload being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".
Declaration
[JsonProperty("resourceType")]
public virtual string ResourceType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestoreProperties
Required. Defines target environments where the resource will be restored. The target resource name in
restore_properties supports the {EXECUTION_ID} token to dynamically generate unique resource names for
each execution. During restore execution, every occurrence of {EXECUTION_ID} in the target resource name
is replaced with the 8-character RestoreTemplateExecution ID (for example,
"restored-resource-{EXECUTION_ID}" or "restored-{EXECUTION_ID}-resource" resolves to
"restored-resource-5d437b06" or "restored-5d437b06-resource").
Declaration
[JsonProperty("restoreProperties")]
public virtual IDictionary<string, object> RestoreProperties { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
State
Output only. The state of the restore template.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The time when the restore template was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VerificationConfig
Optional. Verification configuration.
Declaration
[JsonProperty("verificationConfig")]
public virtual VerificationConfig VerificationConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| VerificationConfig |