SDK reference / Models / AgentPolicies

AgentPolicyTestCall

Kind: class

Namespace: Egulu.Sdk.Models.AgentPolicies

A sample agent call to test policies against.

Properties

NameTypeJSON nameDescription
Agentstring?agentThe agent's key. Default test-agent.
Ceilingstring?ceilingThe agent's risk ceiling, R0 to R3. Default R3.
Delegatedbool?delegatedThe delegated property
DryRunbool?dryRunThe dryRun property
Envstring?envThe env property
EstimatedCostMicroslong?estimatedCostMicrosMicro-euros.
Externalbool?externalThe external property
LabelsModels.AgentPolicies.AgentPolicyTestCall_labels?labelsThe target's labels.
Methodstring?methodThe HTTP method. Default derived from the risk.
Operationstring?operationThe operation's permission, for example compute.instances.delete.
ResourceCountint?resourceCountThe resourceCount property
ResourceNamestring?resourceNameThe full resource name the call touches. Default none (a call on no one resource).
Riskstring?riskThe effective risk class, R0 to R4.
TaintsList<string>?taintsuntrusted and sensitive.
TimeDateTimeOffset?timeWhen the call happens, for policies about the hour or the day. Default now.