Migration Center v1 API - Class HostsEntry (1.1.0)

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

Reference documentation and code samples for the Migration Center v1 API class HostsEntry.

Single /etc/hosts entry.

Inheritance

object > HostsEntry

Namespace

Google.Cloud.MigrationCenter.V1

Assembly

Google.Cloud.MigrationCenter.V1.dll

Constructors

HostsEntry()

public HostsEntry()

HostsEntry(HostsEntry)

public HostsEntry(HostsEntry other)
Parameter
NameDescription
otherHostsEntry

Properties

HostNames

public RepeatedField<string> HostNames { get; }

List of host names / aliases.

Property Value
TypeDescription
RepeatedFieldstring

Ip

public string Ip { get; set; }

IP (raw, IPv4/6 agnostic).

Property Value
TypeDescription
string