Backup and DR Service v1 API - Class ComputeInstanceRestoreProperties (1.2.0)

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

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

ComputeInstanceRestoreProperties represents Compute Engine instance properties to be overridden during restore.

Inheritance

object > ComputeInstanceRestoreProperties

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

ComputeInstanceRestoreProperties()

public ComputeInstanceRestoreProperties()

ComputeInstanceRestoreProperties(ComputeInstanceRestoreProperties)

public ComputeInstanceRestoreProperties(ComputeInstanceRestoreProperties other)
Parameter
Name Description
other ComputeInstanceRestoreProperties

Properties

AdvancedMachineFeatures

public AdvancedMachineFeatures AdvancedMachineFeatures { get; set; }

Optional. Controls for advanced machine-related behavior features.

Property Value
Type Description
AdvancedMachineFeatures

AllocationAffinity

public AllocationAffinity AllocationAffinity { get; set; }

Optional. Specifies the reservations that this instance can consume from.

Property Value
Type Description
AllocationAffinity

CanIpForward

public bool CanIpForward { get; set; }

Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.

Property Value
Type Description
bool

ConfidentialInstanceConfig

public ConfidentialInstanceConfig ConfidentialInstanceConfig { get; set; }

Optional. Controls Confidential compute options on the instance

Property Value
Type Description
ConfidentialInstanceConfig

DeletionProtection

public bool DeletionProtection { get; set; }

Optional. Whether the resource should be protected against deletion.

Property Value
Type Description
bool

Description

public string Description { get; set; }

Optional. An optional description of this resource. Provide this property when you create the resource.

Property Value
Type Description
string

Disks

public RepeatedField<AttachedDisk> Disks { get; }

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

Property Value
Type Description
RepeatedFieldAttachedDisk

DisplayDevice

public DisplayDevice DisplayDevice { get; set; }

Optional. Enables display device for the instance.

Property Value
Type Description
DisplayDevice

GuestAccelerators

public RepeatedField<AcceleratorConfig> GuestAccelerators { get; }

Optional. A list of the type and count of accelerator cards attached to the instance.

Property Value
Type Description
RepeatedFieldAcceleratorConfig

HasCanIpForward

public bool HasCanIpForward { get; }

Gets whether the "can_ip_forward" field is set

Property Value
Type Description
bool

HasDeletionProtection

public bool HasDeletionProtection { get; }

Gets whether the "deletion_protection" 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

HasHostname

public bool HasHostname { get; }

Gets whether the "hostname" 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

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

HasPrivateIpv6GoogleAccess

public bool HasPrivateIpv6GoogleAccess { get; }

Gets whether the "private_ipv6_google_access" field is set

Property Value
Type Description
bool

Hostname

public string Hostname { get; set; }

Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.

Property Value
Type Description
string

InstanceEncryptionKey

public CustomerEncryptionKey InstanceEncryptionKey { get; set; }

Optional. Encrypts suspended data for an instance with a customer-managed encryption key.

Property Value
Type Description
CustomerEncryptionKey

KeyRevocationActionType

public KeyRevocationActionType KeyRevocationActionType { get; set; }

Optional. KeyRevocationActionType of the instance.

Property Value
Type Description
KeyRevocationActionType

Labels

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

Optional. Labels to apply to this instance.

Property Value
Type Description
MapFieldstringstring

MachineType

public string MachineType { get; set; }

Optional. Full or partial URL of the machine type resource to use for this instance.

Property Value
Type Description
string

Metadata

public Metadata Metadata { get; set; }

Optional. This includes custom metadata and predefined keys.

Property Value
Type Description
Metadata

MinCpuPlatform

public string MinCpuPlatform { get; set; }

Optional. Minimum CPU platform to use for this instance.

Property Value
Type Description
string

Name

public string Name { get; set; }

Required. Name of the compute instance.

Property Value
Type Description
string

NetworkInterfaces

public RepeatedField<NetworkInterface> NetworkInterfaces { get; }

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

Property Value
Type Description
RepeatedFieldNetworkInterface

NetworkPerformanceConfig

public NetworkPerformanceConfig NetworkPerformanceConfig { get; set; }

Optional. Configure network performance such as egress bandwidth tier.

Property Value
Type Description
NetworkPerformanceConfig

Params

public InstanceParams Params { get; set; }

Input only. Additional params passed with the request, but not persisted as part of resource payload.

Property Value
Type Description
InstanceParams

PrivateIpv6GoogleAccess

public ComputeInstanceRestoreProperties.Types.InstancePrivateIpv6GoogleAccess PrivateIpv6GoogleAccess { get; set; }

Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.

Property Value
Type Description
ComputeInstanceRestorePropertiesTypesInstancePrivateIpv6GoogleAccess

ResourcePolicies

public RepeatedField<string> ResourcePolicies { get; }

Optional. Resource policies applied to this instance.

Property Value
Type Description
RepeatedFieldstring

Scheduling

public Scheduling Scheduling { get; set; }

Optional. Sets the scheduling options for this instance.

Property Value
Type Description
Scheduling

ServiceAccounts

public RepeatedField<ServiceAccount> ServiceAccounts { get; }

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

Property Value
Type Description
RepeatedFieldServiceAccount

Tags

public Tags Tags { get; set; }

Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.

Property Value
Type Description
Tags