public sealed class GrpcRoute.Types.FaultInjectionPolicy : IMessage<GrpcRoute.Types.FaultInjectionPolicy>, IEquatable<GrpcRoute.Types.FaultInjectionPolicy>, IDeepCloneable<GrpcRoute.Types.FaultInjectionPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class GrpcRoute.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 on a percentage of requests before sending those requests to the
destination service. Similarly requests from clients can be aborted by for
a percentage of requests.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eGrpcRoute.Types.FaultInjectionPolicy\u003c/code\u003e class within the Network Services v1 API, specifically version 1.0.0 (latest).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFaultInjectionPolicy\u003c/code\u003e is used to specify how to test the resiliency of clients by injecting faults into traffic, allowing for the introduction of delays or request aborts.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring comprehensive functionality.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFaultInjectionPolicy\u003c/code\u003e has properties for both \u003ccode\u003eAbort\u003c/code\u003e and \u003ccode\u003eDelay\u003c/code\u003e, which detail how to abort or introduce delays into client requests for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides constructors for \u003ccode\u003eFaultInjectionPolicy\u003c/code\u003e with no parameters or with another \u003ccode\u003eFaultInjectionPolicy\u003c/code\u003e as the parameter, which allows the creation of an instance or a copy of an instance of the class.\u003c/p\u003e\n"]]],[],null,[]]