public sealed class ResourceBackupConfig : IMessage<ResourceBackupConfig>, IEquatable<ResourceBackupConfig>, IDeepCloneable<ResourceBackupConfig>, IBufferMessage, IMessageReference documentation and code samples for the Backup and DR Service v1 API class ResourceBackupConfig.
ResourceBackupConfig represents a resource along with its backup configurations.
Implements
IMessageResourceBackupConfig, IEquatableResourceBackupConfig, IDeepCloneableResourceBackupConfig, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
ResourceBackupConfig()
public ResourceBackupConfig()ResourceBackupConfig(ResourceBackupConfig)
public ResourceBackupConfig(ResourceBackupConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ResourceBackupConfig |
Properties
BackupConfigsDetails
public RepeatedField<BackupConfigDetails> BackupConfigsDetails { get; }Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldBackupConfigDetails |
|
BackupConfigured
public bool BackupConfigured { get; set; }Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Name
public string Name { get; set; }Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ResourceBackupConfigName
public ResourceBackupConfigName ResourceBackupConfigName { get; set; }ResourceBackupConfigName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ResourceBackupConfigName |
|
TargetResource
public string TargetResource { get; set; }Output only. The full resource name of the cloud resource that this configuration applies to. Supported resource types are [ResourceBackupConfig.ResourceType][google.cloud.backupdr.v1.ResourceBackupConfig.ResourceType].
| Property Value | |
|---|---|
| Type | Description |
string |
|
TargetResourceDisplayName
public string TargetResourceDisplayName { get; set; }Output only. The human friendly name of the target resource.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TargetResourceLabels
public MapField<string, string> TargetResourceLabels { get; }Labels associated with the target resource.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
TargetResourceType
public ResourceBackupConfig.Types.ResourceType TargetResourceType { get; set; }Output only. The type of the target resource.
| Property Value | |
|---|---|
| Type | Description |
ResourceBackupConfigTypesResourceType |
|
Uid
public string Uid { get; set; }Output only. The unique identifier of the resource backup config.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Vaulted
public bool Vaulted { get; set; }Output only. Whether the target resource is protected by a backup vault. This is true if the backup_configs_details is not empty and any of the [ResourceBackupConfig.backup_configs_details][google.cloud.backupdr.v1.ResourceBackupConfig.backup_configs_details] has a backup configuration with [BackupConfigDetails.backup_vault][google.cloud.backupdr.v1.BackupConfigDetails.backup_vault] set. set.
| Property Value | |
|---|---|
| Type | Description |
bool |
|