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

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

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

A network interface resource attached to an instance. s

Inheritance

object > NetworkInterface

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

NetworkInterface()

public NetworkInterface()

NetworkInterface(NetworkInterface)

public NetworkInterface(NetworkInterface other)
Parameter
Name Description
other NetworkInterface

Properties

AccessConfigs

public RepeatedField<AccessConfig> AccessConfigs { get; }

Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.

Property Value
Type Description
RepeatedFieldAccessConfig

AliasIpRanges

public RepeatedField<AliasIpRange> AliasIpRanges { get; }

Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.

Property Value
Type Description
RepeatedFieldAliasIpRange

HasInternalIpv6PrefixLength

public bool HasInternalIpv6PrefixLength { get; }

Gets whether the "internal_ipv6_prefix_length" field is set

Property Value
Type Description
bool

HasIpAddress

public bool HasIpAddress { get; }

Gets whether the "ip_address" field is set

Property Value
Type Description
bool

HasIpv6AccessType

public bool HasIpv6AccessType { get; }

Gets whether the "ipv6_access_type" field is set

Property Value
Type Description
bool

HasIpv6Address

public bool HasIpv6Address { get; }

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

HasNetwork

public bool HasNetwork { get; }

Gets whether the "network" field is set

Property Value
Type Description
bool

HasNetworkAttachment

public bool HasNetworkAttachment { get; }

Gets whether the "network_attachment" field is set

Property Value
Type Description
bool

HasNicType

public bool HasNicType { get; }

Gets whether the "nic_type" field is set

Property Value
Type Description
bool

HasQueueCount

public bool HasQueueCount { get; }

Gets whether the "queue_count" field is set

Property Value
Type Description
bool

HasStackType

public bool HasStackType { get; }

Gets whether the "stack_type" field is set

Property Value
Type Description
bool

HasSubnetwork

public bool HasSubnetwork { get; }

Gets whether the "subnetwork" field is set

Property Value
Type Description
bool

InternalIpv6PrefixLength

public int InternalIpv6PrefixLength { get; set; }

Optional. The prefix length of the primary internal IPv6 range.

Property Value
Type Description
int

IpAddress

public string IpAddress { get; set; }

Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.

Property Value
Type Description
string

Ipv6AccessConfigs

public RepeatedField<AccessConfig> Ipv6AccessConfigs { get; }

Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.

Property Value
Type Description
RepeatedFieldAccessConfig

Ipv6AccessType

public NetworkInterface.Types.Ipv6AccessType Ipv6AccessType { get; set; }

Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.

Property Value
Type Description
NetworkInterfaceTypesIpv6AccessType

Ipv6Address

public string Ipv6Address { get; set; }

Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.

Property Value
Type Description
string

Name

public string Name { get; set; }

Output only. [Output Only] The name of the network interface, which is generated by the server.

Property Value
Type Description
string

Network

public string Network { get; set; }

Optional. URL of the VPC network resource for this instance.

Property Value
Type Description
string

NetworkAttachment

public string NetworkAttachment { get; set; }

Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.

Property Value
Type Description
string

NicType

public NetworkInterface.Types.NicType NicType { get; set; }

Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.

Property Value
Type Description
NetworkInterfaceTypesNicType

QueueCount

public int QueueCount { get; set; }

Optional. The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.

Property Value
Type Description
int

StackType

public NetworkInterface.Types.StackType StackType { get; set; }

The stack type for this network interface.

Property Value
Type Description
NetworkInterfaceTypesStackType

Subnetwork

public string Subnetwork { get; set; }

Optional. The URL of the Subnetwork resource for this instance.

Property Value
Type Description
string