aam_aaa_policy

package
v0.0.0-...-99cf1e8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

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 AamAaaPolicyAaaRuleListAccessList

type AamAaaPolicyAaaRuleListAccessList struct {
	AclId   int    `json:"acl-id"`
	AclName string `json:"acl-name"`
	Name    string `json:"name"`
}

type AamAaaPolicyAaaRuleListHost

type AamAaaPolicyAaaRuleListHost struct {
	HostMatchType string `json:"host-match-type"`
	HostStr       string `json:"host-str"`
}

type AamAaaPolicyAaaRuleListSamplingEnable

type AamAaaPolicyAaaRuleListSamplingEnable struct {
	Counters1 string `json:"counters1"`
}

type AamAaaPolicyAaaRuleListUri

type AamAaaPolicyAaaRuleListUri struct {
	MatchType string `json:"match-type"`
	UriStr    string `json:"uri-str"`
}

type AamAaaPolicyAaaRuleListUserAgent

type AamAaaPolicyAaaRuleListUserAgent struct {
	UserAgentMatchType string `json:"user-agent-match-type"`
	UserAgentStr       string `json:"user-agent-str"`
}

type AamAaaPolicySamplingEnable

type AamAaaPolicySamplingEnable struct {
	Counters1 string `json:"counters1"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL