public sealed class HostsEntry : IMessage<HostsEntry>, IEquatable<HostsEntry>, IDeepCloneable<HostsEntry>, IBufferMessage, IMessageReference documentation and code samples for the Migration Center v1 API class HostsEntry.
Single /etc/hosts entry.
Implements
IMessageHostsEntry, IEquatableHostsEntry, IDeepCloneableHostsEntry, IBufferMessage, IMessageNamespace
Google.Cloud.MigrationCenter.V1Assembly
Google.Cloud.MigrationCenter.V1.dll
Constructors
HostsEntry()
public HostsEntry()HostsEntry(HostsEntry)
public HostsEntry(HostsEntry other)| Parameter | |
|---|---|
| Name | Description |
other |
HostsEntry |
Properties
HostNames
public RepeatedField<string> HostNames { get; }List of host names / aliases.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
Ip
public string Ip { get; set; }IP (raw, IPv4/6 agnostic).
| Property Value | |
|---|---|
| Type | Description |
string |
|