Network Services v1 API - Class HttpRoute.Types.FaultInjectionPolicy (1.0.0-beta01)

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.

Inheritance

object > HttpRoute.Types.FaultInjectionPolicy

Namespace

Google.Cloud.NetworkServices.V1

Assembly

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