public sealed class HttpRoute.Types.FaultInjectionPolicy : IMessage<HttpRoute.Types.FaultInjectionPolicy>, IEquatable<HttpRoute.Types.FaultInjectionPolicy>, IDeepCloneable<HttpRoute.Types.FaultInjectionPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class HttpRoute.Types.FaultInjectionPolicy.
The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced by client proxy on a percentage of requests before sending those requests to the destination service. Similarly requests can be aborted by client proxy for a percentage of requests.
Implements
IMessageHttpRouteTypesFaultInjectionPolicy, IEquatableHttpRouteTypesFaultInjectionPolicy, IDeepCloneableHttpRouteTypesFaultInjectionPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
FaultInjectionPolicy()
public FaultInjectionPolicy()
FaultInjectionPolicy(FaultInjectionPolicy)
public FaultInjectionPolicy(HttpRoute.Types.FaultInjectionPolicy other)
Parameter | |
---|---|
Name | Description |
other |
HttpRouteTypesFaultInjectionPolicy |
Properties
Abort
public HttpRoute.Types.FaultInjectionPolicy.Types.Abort Abort { get; set; }
The specification for aborting to client requests.
Property Value | |
---|---|
Type | Description |
HttpRouteTypesFaultInjectionPolicyTypesAbort |
Delay
public HttpRoute.Types.FaultInjectionPolicy.Types.Delay Delay { get; set; }
The specification for injecting delay to client requests.
Property Value | |
---|---|
Type | Description |
HttpRouteTypesFaultInjectionPolicyTypesDelay |