webapplicationfirewallmanagedrulesets

package
v2.85.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionType

type ActionType string
const (
	ActionTypeAllow    ActionType = "Allow"
	ActionTypeBlock    ActionType = "Block"
	ActionTypeLog      ActionType = "Log"
	ActionTypeRedirect ActionType = "Redirect"
)

type ManagedRuleDefinition

type ManagedRuleDefinition struct {
	DefaultAction *ActionType              `json:"defaultAction,omitempty"`
	DefaultState  *ManagedRuleEnabledState `json:"defaultState,omitempty"`
	Description   *string                  `json:"description,omitempty"`
	RuleId        *string                  `json:"ruleId,omitempty"`
}

type ManagedRuleEnabledState

type ManagedRuleEnabledState string
const (
	ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled"
	ManagedRuleEnabledStateEnabled  ManagedRuleEnabledState = "Enabled"
)

type ManagedRuleGroupDefinition

type ManagedRuleGroupDefinition struct {
	Description   *string                  `json:"description,omitempty"`
	RuleGroupName *string                  `json:"ruleGroupName,omitempty"`
	Rules         *[]ManagedRuleDefinition `json:"rules,omitempty"`
}

type ManagedRuleSetDefinition

type ManagedRuleSetDefinition struct {
	Id         *string                             `json:"id,omitempty"`
	Location   *string                             `json:"location,omitempty"`
	Name       *string                             `json:"name,omitempty"`
	Properties *ManagedRuleSetDefinitionProperties `json:"properties,omitempty"`
	Tags       *map[string]string                  `json:"tags,omitempty"`
	Type       *string                             `json:"type,omitempty"`
}

type ManagedRuleSetDefinitionPredicate

type ManagedRuleSetDefinitionPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ManagedRuleSetDefinitionPredicate) Matches

type ManagedRuleSetDefinitionProperties

type ManagedRuleSetDefinitionProperties struct {
	ProvisioningState *string                       `json:"provisioningState,omitempty"`
	RuleGroups        *[]ManagedRuleGroupDefinition `json:"ruleGroups,omitempty"`
	RuleSetId         *string                       `json:"ruleSetId,omitempty"`
	RuleSetType       *string                       `json:"ruleSetType,omitempty"`
	RuleSetVersion    *string                       `json:"ruleSetVersion,omitempty"`
}

type ManagedRuleSetsListCompleteResult

type ManagedRuleSetsListCompleteResult struct {
	Items []ManagedRuleSetDefinition
}

type ManagedRuleSetsListResponse

type ManagedRuleSetsListResponse struct {
	HttpResponse *http.Response
	Model        *[]ManagedRuleSetDefinition
	// contains filtered or unexported fields
}

func (ManagedRuleSetsListResponse) HasMore

func (r ManagedRuleSetsListResponse) HasMore() bool

func (ManagedRuleSetsListResponse) LoadMore

type SubscriptionId

type SubscriptionId struct {
	SubscriptionId string
}

func NewSubscriptionID

func NewSubscriptionID(subscriptionId string) SubscriptionId

func ParseSubscriptionID

func ParseSubscriptionID(input string) (*SubscriptionId, error)

ParseSubscriptionID parses a Subscription ID into an SubscriptionId struct

func ParseSubscriptionIDInsensitively

func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)

ParseSubscriptionIDInsensitively parses an Subscription ID into an SubscriptionId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseSubscriptionID method should be used instead for validation etc.

func (SubscriptionId) ID

func (id SubscriptionId) ID() string

func (SubscriptionId) String

func (id SubscriptionId) String() string

type WebApplicationFirewallManagedRuleSetsClient

type WebApplicationFirewallManagedRuleSetsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewWebApplicationFirewallManagedRuleSetsClientWithBaseURI

func NewWebApplicationFirewallManagedRuleSetsClientWithBaseURI(endpoint string) WebApplicationFirewallManagedRuleSetsClient

func (WebApplicationFirewallManagedRuleSetsClient) ManagedRuleSetsList

ManagedRuleSetsList ...

func (WebApplicationFirewallManagedRuleSetsClient) ManagedRuleSetsListComplete

ManagedRuleSetsListComplete retrieves all of the results into a single object

func (WebApplicationFirewallManagedRuleSetsClient) ManagedRuleSetsListCompleteMatchingPredicate

ManagedRuleSetsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

Jump to

Keyboard shortcuts

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