Documentation ¶
Index ¶
- type AamAaaPolicy
- func (p *AamAaaPolicy) Delete(authToken string, host string, instId string, logger *axapi.ThunderLog) error
- func (p *AamAaaPolicy) Get(authToken string, host string, instId string, logger *axapi.ThunderLog) error
- func (p *AamAaaPolicy) GetId() string
- func (p *AamAaaPolicy) Post(authToken string, host string, logger *axapi.ThunderLog) error
- func (p *AamAaaPolicy) Put(authToken string, host string, logger *axapi.ThunderLog) error
- type AamAaaPolicyAaaRuleList
- type AamAaaPolicyAaaRuleListAccessList
- type AamAaaPolicyAaaRuleListHost
- type AamAaaPolicyAaaRuleListSamplingEnable
- type AamAaaPolicyAaaRuleListUri
- type AamAaaPolicyAaaRuleListUserAgent
- type AamAaaPolicySamplingEnable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AamAaaPolicy ¶
type AamAaaPolicy struct { Inst struct { AaaRuleList []AamAaaPolicyAaaRuleList `json:"aaa-rule-list"` Name string `json:"name"` PacketCaptureTemplate string `json:"packet-capture-template"` SamplingEnable []AamAaaPolicySamplingEnable `json:"sampling-enable"` UserTag string `json:"user-tag"` Uuid string `json:"uuid"` } `json:"aaa-policy"` }
based on ACOS 6_0_2_P1-37
func (*AamAaaPolicy) Delete ¶
func (p *AamAaaPolicy) Delete(authToken string, host string, instId string, logger *axapi.ThunderLog) error
func (*AamAaaPolicy) Get ¶
func (p *AamAaaPolicy) Get(authToken string, host string, instId string, logger *axapi.ThunderLog) error
func (*AamAaaPolicy) GetId ¶
func (p *AamAaaPolicy) GetId() string
func (*AamAaaPolicy) Post ¶
func (p *AamAaaPolicy) Post(authToken string, host string, logger *axapi.ThunderLog) error
func (*AamAaaPolicy) Put ¶
func (p *AamAaaPolicy) Put(authToken string, host string, logger *axapi.ThunderLog) error
type AamAaaPolicyAaaRuleList ¶
type AamAaaPolicyAaaRuleList struct { Index int `json:"index"` Uri []AamAaaPolicyAaaRuleListUri `json:"uri"` Host []AamAaaPolicyAaaRuleListHost `json:"host"` DomainWhitelist string `json:"domain-whitelist"` Port int `json:"port"` MatchEncodedUri int `json:"match-encoded-uri"` AccessList AamAaaPolicyAaaRuleListAccessList `json:"access-list"` DomainName string `json:"domain-name"` UserAgent []AamAaaPolicyAaaRuleListUserAgent `json:"user-agent"` Action string `json:"action"` AuthenticationTemplate string `json:"authentication-template"` AuthorizePolicy string `json:"authorize-policy"` CaptchaAuthzPolicy string `json:"captcha-authz-policy"` AuthFailureBypass int `json:"auth-failure-bypass"` Uuid string `json:"uuid"` UserTag string `json:"user-tag"` SamplingEnable []AamAaaPolicyAaaRuleListSamplingEnable `json:"sampling-enable"` }
type AamAaaPolicyAaaRuleListSamplingEnable ¶
type AamAaaPolicyAaaRuleListSamplingEnable struct {
Counters1 string `json:"counters1"`
}
type AamAaaPolicySamplingEnable ¶
type AamAaaPolicySamplingEnable struct {
Counters1 string `json:"counters1"`
}
Click to show internal directories.
Click to hide internal directories.