Backup and DR Service v1 API - Class ComputeInstanceBackupProperties (2.0.0)

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

Reference documentation and code samples for the Backup and DR Service v1 API class ComputeInstanceBackupProperties.

ComputeInstanceBackupProperties represents Compute Engine instance backup properties.

Inheritance

object > ComputeInstanceBackupProperties

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

ComputeInstanceBackupProperties()

public ComputeInstanceBackupProperties()

ComputeInstanceBackupProperties(ComputeInstanceBackupProperties)

public ComputeInstanceBackupProperties(ComputeInstanceBackupProperties other)
Parameter
Name Description
other ComputeInstanceBackupProperties

Properties

CanIpForward

public bool CanIpForward { get; set; }

Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the https://cloud.google.com/vpc/docs/using-routes#canipforward documentation for more information.

Property Value
Type Description
bool

Description

public string Description { get; set; }

An optional text description for the instances that are created from these properties.

Property Value
Type Description
string

Disk

public RepeatedField<AttachedDisk> Disk { get; }

An array of disks that are associated with the instances that are created from these properties.

Property Value
Type Description
RepeatedFieldAttachedDisk

GuestAccelerator

public RepeatedField<AcceleratorConfig> GuestAccelerator { get; }

A list of guest accelerator cards' type and count to use for instances created from these properties.

Property Value
Type Description
RepeatedFieldAcceleratorConfig

HasCanIpForward

public bool HasCanIpForward { get; }

Gets whether the "can_ip_forward" field is set

Property Value
Type Description
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
Type Description
bool

HasKeyRevocationActionType

public bool HasKeyRevocationActionType { get; }

Gets whether the "key_revocation_action_type" field is set

Property Value
Type Description
bool

HasMachineType

public bool HasMachineType { get; }

Gets whether the "machine_type" field is set

Property Value
Type Description
bool

HasMinCpuPlatform

public bool HasMinCpuPlatform { get; }

Gets whether the "min_cpu_platform" field is set

Property Value
Type Description
bool

HasSourceInstance

public bool HasSourceInstance { get; }

Gets whether the "source_instance" field is set

Property Value
Type Description
bool

KeyRevocationActionType

public KeyRevocationActionType KeyRevocationActionType { get; set; }

KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.

Property Value
Type Description
KeyRevocationActionType

Labels

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

Labels to apply to instances that are created from these properties.

Property Value
Type Description
MapFieldstringstring

MachineType

public string MachineType { get; set; }

The machine type to use for instances that are created from these properties.

Property Value
Type Description
string

Metadata

public Metadata Metadata { get; set; }

The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.

Property Value
Type Description
Metadata

MinCpuPlatform

public string MinCpuPlatform { get; set; }

Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.

Property Value
Type Description
string

NetworkInterface

public RepeatedField<NetworkInterface> NetworkInterface { get; }

An array of network access configurations for this interface.

Property Value
Type Description
RepeatedFieldNetworkInterface

Scheduling

public Scheduling Scheduling { get; set; }

Specifies the scheduling options for the instances that are created from these properties.

Property Value
Type Description
Scheduling

ServiceAccount

public RepeatedField<ServiceAccount> ServiceAccount { get; }

A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.

Property Value
Type Description
RepeatedFieldServiceAccount

SourceInstance

public string SourceInstance { get; set; }

The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance

Property Value
Type Description
string

Tags

public Tags Tags { get; set; }

A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).

Property Value
Type Description
Tags