Batch v1 API - Class AllocationPolicy.Types.NetworkInterface (1.0.0)

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

Reference documentation and code samples for the Batch v1 API class AllocationPolicy.Types.NetworkInterface.

A network interface.

Inheritance

Object > AllocationPolicy.Types.NetworkInterface

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

NetworkInterface()

public NetworkInterface()

NetworkInterface(AllocationPolicy.Types.NetworkInterface)

public NetworkInterface(AllocationPolicy.Types.NetworkInterface other)
Parameter
NameDescription
otherAllocationPolicy.Types.NetworkInterface

Properties

Network

public string Network { get; set; }

The URL of the network resource.

Property Value
TypeDescription
String

NoExternalIpAddress

public bool NoExternalIpAddress { get; set; }

Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.

Property Value
TypeDescription
Boolean

Subnetwork

public string Subnetwork { get; set; }

The URL of the Subnetwork resource.

Property Value
TypeDescription
String