public sealed class ConditionContext : IMessage<ConditionContext>, IEquatable<ConditionContext>, IDeepCloneable<ConditionContext>, IBufferMessage, IMessage
Reference documentation and code samples for the Policy Troubleshooter v3 API class ConditionContext.
Additional context for troubleshooting conditional role bindings and deny
rules.
public ConditionContext.Types.Peer Destination { get; set; }
The destination of a network activity, such as accepting a TCP connection.
In a multi-hop network activity, the destination represents the receiver of
the last hop.
public ConditionContext.Types.Resource Resource { get; set; }
Represents a target resource that is involved with a network activity.
If multiple resources are involved with an activity, this must be the
primary one.
[[["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\u003eThe \u003ccode\u003eConditionContext\u003c/code\u003e class provides additional context for troubleshooting conditional role bindings and deny rules within the Policy Troubleshooter v3 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the ConditionContext class is 1.2.0, with prior versions 1.1.0 and 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConditionContext\u003c/code\u003e includes properties like \u003ccode\u003eDestination\u003c/code\u003e, \u003ccode\u003eEffectiveTags\u003c/code\u003e, \u003ccode\u003eRequest\u003c/code\u003e, and \u003ccode\u003eResource\u003c/code\u003e to represent network activities, tags, requests, and target resources, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default constructor \u003ccode\u003eConditionContext()\u003c/code\u003e and a constructor \u003ccode\u003eConditionContext(ConditionContext other)\u003c/code\u003e to make a copy of an existing \u003ccode\u003eConditionContext\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]