public sealed class HttpRoute.Types.RequestMirrorPolicy : IMessage<HttpRoute.Types.RequestMirrorPolicy>, IEquatable<HttpRoute.Types.RequestMirrorPolicy>, IDeepCloneable<HttpRoute.Types.RequestMirrorPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class HttpRoute.Types.RequestMirrorPolicy.
Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
Implements
IMessageHttpRouteTypesRequestMirrorPolicy, IEquatableHttpRouteTypesRequestMirrorPolicy, IDeepCloneableHttpRouteTypesRequestMirrorPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
RequestMirrorPolicy()
public RequestMirrorPolicy()
RequestMirrorPolicy(RequestMirrorPolicy)
public RequestMirrorPolicy(HttpRoute.Types.RequestMirrorPolicy other)
Parameter | |
---|---|
Name | Description |
other |
HttpRouteTypesRequestMirrorPolicy |
Properties
Destination
public HttpRoute.Types.Destination Destination { get; set; }
The destination the requests will be mirrored to. The weight of the destination will be ignored.
Property Value | |
---|---|
Type | Description |
HttpRouteTypesDestination |