public sealed class HttpFaultDelay : IMessage<HttpFaultDelay>, IEquatable<HttpFaultDelay>, IDeepCloneable<HttpFaultDelay>, IBufferMessage, IMessage
Specifies the delay introduced by Loadbalancer before forwarding the request to the backend service as part of fault injection.
Implements
IMessage<HttpFaultDelay>, IEquatable<HttpFaultDelay>, IDeepCloneable<HttpFaultDelay>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
HttpFaultDelay()
public HttpFaultDelay()
HttpFaultDelay(HttpFaultDelay)
public HttpFaultDelay(HttpFaultDelay other)
Parameter | |
---|---|
Name | Description |
other | HttpFaultDelay |
Properties
FixedDelay
public Duration FixedDelay { get; set; }
Specifies the value of the fixed delay interval.
Property Value | |
---|---|
Type | Description |
Duration |
HasPercentage
public bool HasPercentage { get; }
Gets whether the "percentage" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Percentage
public double Percentage { get; set; }
The percentage of traffic (connections/operations/requests) on which delay will be introduced as part of fault injection. The value must be between 0.0 and 100.0 inclusive.
Property Value | |
---|---|
Type | Description |
Double |