Show / Hide Table of Contents

Class SocketAddress

[#next-free-field: 7]

Inheritance
System.Object
SocketAddress
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.TrafficDirectorService.v2.Data
Assembly: Google.Apis.TrafficDirectorService.v2.dll
Syntax
public class SocketAddress : IDirectResponseSchema

Properties

Address

The address for this socket. :ref:Listeners will bind to the address. An empty address is not allowed. Specify 0.0.0.0 or :: to bind to any address. [#comment:TODO(zuercher) reinstate when implemented: It is possible to distinguish a Listener address via the prefix/suffix matching in :ref:FilterChainMatch.] When used within an upstream :ref:BindConfig, the address controls the source address of outbound connections. For :ref:clusters, the cluster type determines whether the address must be an IP (STATIC or EDS clusters) or a hostname resolved by DNS (STRICT_DNS or LOGICAL_DNS clusters). Address resolution can be customized via :ref:resolver_name.

Declaration
[JsonProperty("address")]
public virtual string Address { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Ipv4Compat

When binding to an IPv6 address above, this enables IPv4 compatibility_. Binding to :: will allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into IPv6 space as ::FFFF:.

Declaration
[JsonProperty("ipv4Compat")]
public virtual bool? Ipv4Compat { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

NamedPort

This is only valid if :ref:resolver_name is specified below and the named resolver is capable of named port resolution.

Declaration
[JsonProperty("namedPort")]
public virtual string NamedPort { get; set; }
Property Value
Type Description
System.String

PortValue

Declaration
[JsonProperty("portValue")]
public virtual long? PortValue { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

Protocol

Declaration
[JsonProperty("protocol")]
public virtual string Protocol { get; set; }
Property Value
Type Description
System.String

ResolverName

The name of the custom resolver. This must have been registered with Envoy. If this is empty, a context dependent default applies. If the address is a concrete IP address, no resolution will occur. If address is a hostname this should be set for resolution other than DNS. Specifying a custom resolver with STRICT_DNS or LOGICAL_DNS will generate an error at runtime.

Declaration
[JsonProperty("resolverName")]
public virtual string ResolverName { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
In This Article
Back to top