public sealed class HttpFaultInjection : IMessage<HttpFaultInjection>, IEquatable<HttpFaultInjection>, IDeepCloneable<HttpFaultInjection>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class HttpFaultInjection.
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests.
Implements
IMessage<HttpFaultInjection>, IEquatable<HttpFaultInjection>, IDeepCloneable<HttpFaultInjection>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
HttpFaultInjection()
public HttpFaultInjection()
HttpFaultInjection(HttpFaultInjection)
public HttpFaultInjection(HttpFaultInjection other)
Parameter | |
---|---|
Name | Description |
other | HttpFaultInjection |
Properties
Abort
public HttpFaultAbort Abort { get; set; }
The specification for how client requests are aborted as part of fault injection.
Property Value | |
---|---|
Type | Description |
HttpFaultAbort |
Delay
public HttpFaultDelay Delay { get; set; }
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
Property Value | |
---|---|
Type | Description |
HttpFaultDelay |