Show / Hide Table of Contents

Class VirtualDeploymentListener

Listener configuration for a virtual deployment.

Inheritance
object
VirtualDeploymentListener
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ServicemeshService.Models
Assembly: OCI.DotNetSDK.Servicemesh.dll
Syntax
public class VirtualDeploymentListener

Properties

IdleTimeoutInMs

Declaration
[JsonProperty(PropertyName = "idleTimeoutInMs")]
public long? IdleTimeoutInMs { get; set; }
Property Value
Type Description
long?

The maximum duration in milliseconds for which the request's stream may be idle. The value 0 (zero) indicates that the timeout is disabled.

Port

Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type Description
int?

Port in which virtual deployment is running.

Remarks

Required

Protocol

Declaration
[Required(ErrorMessage = "Protocol is required.")]
[JsonProperty(PropertyName = "protocol")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VirtualDeploymentListener.ProtocolEnum? Protocol { get; set; }
Property Value
Type Description
VirtualDeploymentListener.ProtocolEnum?

Type of protocol used in virtual deployment.

Remarks

Required

RequestTimeoutInMs

Declaration
[JsonProperty(PropertyName = "requestTimeoutInMs")]
public long? RequestTimeoutInMs { get; set; }
Property Value
Type Description
long?

The maximum duration in milliseconds for the deployed service to respond to an incoming request through the listener. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP/HTTP2 listeners, and disabled (no timeout) for the GRPC listeners. The value 0 (zero) indicates that the timeout is disabled. The timeout cannot be configured for the TCP and TLS_PASSTHROUGH listeners. For streaming responses from the deployed service, consider either keeping the timeout disabled or set a sufficiently high value.

In this article
Back to top