public sealed class RestoreTemplate : IMessage<RestoreTemplate>, IEquatable<RestoreTemplate>, IDeepCloneable<RestoreTemplate>, IBufferMessage, IMessageReference documentation and code samples for the Backup and DR Service v1 API class RestoreTemplate.
A RestoreTemplate encapsulates DR readiness configurations for validating
backups.
Implements
IMessageRestoreTemplate, IEquatableRestoreTemplate, IDeepCloneableRestoreTemplate, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
RestoreTemplate()
public RestoreTemplate()RestoreTemplate(RestoreTemplate)
public RestoreTemplate(RestoreTemplate other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreTemplate |
Properties
BackupSelectionConfig
public BackupSelectionConfig BackupSelectionConfig { get; set; }Required. Backup selection configuration.
| Property Value | |
|---|---|
| Type | Description |
BackupSelectionConfig |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The time when the restore template was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }Optional. User-provided description of the restore template.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Etag
public string Etag { get; set; }Optional. Etag for concurrency control.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ExecutionSummary
public ExecutionSummary ExecutionSummary { get; set; }Output only. Summary of the last execution.
| Property Value | |
|---|---|
| Type | Description |
ExecutionSummary |
|
Labels
public MapField<string, string> Labels { get; }Optional. User-defined labels.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
Name
public string Name { get; set; }Identifier. The resource name of the RestoreTemplate.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PostRestoreConfig
public PostRestoreConfig PostRestoreConfig { get; set; }Optional. Post-restore configuration.
| Property Value | |
|---|---|
| Type | Description |
PostRestoreConfig |
|
PreRestoreConfig
public PreRestoreConfig PreRestoreConfig { get; set; }Optional. Pre-restore configuration.
| Property Value | |
|---|---|
| Type | Description |
PreRestoreConfig |
|
ResourceType
public string ResourceType { get; set; }Required. Immutable. The specific type of the workload being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".
| Property Value | |
|---|---|
| Type | Description |
string |
|
RestoreProperties
public Struct RestoreProperties { get; set; }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").
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
RestoreTemplateName
public RestoreTemplateName RestoreTemplateName { get; set; }RestoreTemplateName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
RestoreTemplateName |
|
State
public RestoreTemplate.Types.State State { get; set; }Output only. The state of the restore template.
| Property Value | |
|---|---|
| Type | Description |
RestoreTemplateTypesState |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The time when the restore template was last updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
VerificationConfig
public VerificationConfig VerificationConfig { get; set; }Optional. Verification configuration.
| Property Value | |
|---|---|
| Type | Description |
VerificationConfig |
|