SDK reference / Models / AgentPolicies
AgentPolicyTestCall
Kind: class
Namespace: Egulu.Sdk.Models.AgentPolicies
A sample agent call to test policies against.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Agent | string? | agent | The agent's key. Default test-agent. |
Ceiling | string? | ceiling | The agent's risk ceiling, R0 to R3. Default R3. |
Delegated | bool? | delegated | The delegated property |
DryRun | bool? | dryRun | The dryRun property |
Env | string? | env | The env property |
EstimatedCostMicros | long? | estimatedCostMicros | Micro-euros. |
External | bool? | external | The external property |
Labels | Models.AgentPolicies.AgentPolicyTestCall_labels? | labels | The target's labels. |
Method | string? | method | The HTTP method. Default derived from the risk. |
Operation | string? | operation | The operation's permission, for example compute.instances.delete. |
ResourceCount | int? | resourceCount | The resourceCount property |
ResourceName | string? | resourceName | The full resource name the call touches. Default none (a call on no one resource). |
Risk | string? | risk | The effective risk class, R0 to R4. |
Taints | List<string>? | taints | untrusted and sensitive. |
Time | DateTimeOffset? | time | When the call happens, for policies about the hour or the day. Default now. |