Versions in this module Expand all Collapse all v2 v2.96.0 Feb 14, 2022 Changes in this version + func PossibleValuesForActionType() []string + func PossibleValuesForCustomRuleEnabledState() []string + func PossibleValuesForManagedRuleEnabledState() []string + func PossibleValuesForManagedRuleExclusionMatchVariable() []string + func PossibleValuesForManagedRuleExclusionSelectorMatchOperator() []string + func PossibleValuesForMatchVariable() []string + func PossibleValuesForOperator() []string + func PossibleValuesForPolicyEnabledState() []string + func PossibleValuesForPolicyMode() []string + func PossibleValuesForPolicyResourceState() []string + func PossibleValuesForRuleType() []string + func PossibleValuesForTransformType() []string + func ValidateFrontDoorWebApplicationFirewallPoliciesID(input interface{}, key string) (warnings []string, errors []error) + func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error) + type ActionType string + const ActionTypeAllow + const ActionTypeBlock + const ActionTypeLog + const ActionTypeRedirect + type CustomRule struct + Action ActionType + EnabledState *CustomRuleEnabledState + MatchConditions []MatchCondition + Name *string + Priority int64 + RateLimitDurationInMinutes *int64 + RateLimitThreshold *int64 + RuleType RuleType + type CustomRuleEnabledState string + const CustomRuleEnabledStateDisabled + const CustomRuleEnabledStateEnabled + type CustomRuleList struct + Rules *[]CustomRule + type FrontDoorWebApplicationFirewallPoliciesId struct + PolicyName string + ResourceGroupName string + SubscriptionId string + func NewFrontDoorWebApplicationFirewallPoliciesID(subscriptionId string, resourceGroupName string, policyName string) FrontDoorWebApplicationFirewallPoliciesId + func ParseFrontDoorWebApplicationFirewallPoliciesID(input string) (*FrontDoorWebApplicationFirewallPoliciesId, error) + func ParseFrontDoorWebApplicationFirewallPoliciesIDInsensitively(input string) (*FrontDoorWebApplicationFirewallPoliciesId, error) + func (id FrontDoorWebApplicationFirewallPoliciesId) ID() string + func (id FrontDoorWebApplicationFirewallPoliciesId) Segments() []resourceids.Segment + func (id FrontDoorWebApplicationFirewallPoliciesId) String() string + type FrontendEndpointLink struct + Id *string + type ManagedRuleEnabledState string + const ManagedRuleEnabledStateDisabled + const ManagedRuleEnabledStateEnabled + type ManagedRuleExclusion struct + MatchVariable ManagedRuleExclusionMatchVariable + Selector string + SelectorMatchOperator ManagedRuleExclusionSelectorMatchOperator + type ManagedRuleExclusionMatchVariable string + const ManagedRuleExclusionMatchVariableQueryStringArgNames + const ManagedRuleExclusionMatchVariableRequestBodyPostArgNames + const ManagedRuleExclusionMatchVariableRequestCookieNames + const ManagedRuleExclusionMatchVariableRequestHeaderNames + type ManagedRuleExclusionSelectorMatchOperator string + const ManagedRuleExclusionSelectorMatchOperatorContains + const ManagedRuleExclusionSelectorMatchOperatorEndsWith + const ManagedRuleExclusionSelectorMatchOperatorEquals + const ManagedRuleExclusionSelectorMatchOperatorEqualsAny + const ManagedRuleExclusionSelectorMatchOperatorStartsWith + type ManagedRuleGroupOverride struct + Exclusions *[]ManagedRuleExclusion + RuleGroupName string + Rules *[]ManagedRuleOverride + type ManagedRuleOverride struct + Action *ActionType + EnabledState *ManagedRuleEnabledState + Exclusions *[]ManagedRuleExclusion + RuleId string + type ManagedRuleSet struct + Exclusions *[]ManagedRuleExclusion + RuleGroupOverrides *[]ManagedRuleGroupOverride + RuleSetType string + RuleSetVersion string + type ManagedRuleSetList struct + ManagedRuleSets *[]ManagedRuleSet + type MatchCondition struct + MatchValue []string + MatchVariable MatchVariable + NegateCondition *bool + Operator Operator + Selector *string + Transforms *[]TransformType + type MatchVariable string + const MatchVariableCookies + const MatchVariablePostArgs + const MatchVariableQueryString + const MatchVariableRemoteAddr + const MatchVariableRequestBody + const MatchVariableRequestHeader + const MatchVariableRequestMethod + const MatchVariableRequestUri + const MatchVariableSocketAddr + type Operator string + const OperatorAny + const OperatorBeginsWith + const OperatorContains + const OperatorEndsWith + const OperatorEqual + const OperatorGeoMatch + const OperatorGreaterThan + const OperatorGreaterThanOrEqual + const OperatorIPMatch + const OperatorLessThan + const OperatorLessThanOrEqual + const OperatorRegEx + type PoliciesCreateOrUpdateResponse struct + HttpResponse *http.Response + Poller polling.LongRunningPoller + type PoliciesDeleteResponse struct + HttpResponse *http.Response + Poller polling.LongRunningPoller + type PoliciesGetResponse struct + HttpResponse *http.Response + Model *WebApplicationFirewallPolicy + type PoliciesListCompleteResult struct + Items []WebApplicationFirewallPolicy + type PoliciesListResponse struct + HttpResponse *http.Response + Model *[]WebApplicationFirewallPolicy + func (r PoliciesListResponse) HasMore() bool + func (r PoliciesListResponse) LoadMore(ctx context.Context) (resp PoliciesListResponse, err error) + type PolicyEnabledState string + const PolicyEnabledStateDisabled + const PolicyEnabledStateEnabled + type PolicyMode string + const PolicyModeDetection + const PolicyModePrevention + type PolicyResourceState string + const PolicyResourceStateCreating + const PolicyResourceStateDeleting + const PolicyResourceStateDisabled + const PolicyResourceStateDisabling + const PolicyResourceStateEnabled + const PolicyResourceStateEnabling + type PolicySettings struct + CustomBlockResponseBody *string + CustomBlockResponseStatusCode *int64 + EnabledState *PolicyEnabledState + Mode *PolicyMode + RedirectUrl *string + type ResourceGroupId struct + ResourceGroupName string + SubscriptionId string + func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId + func ParseResourceGroupID(input string) (*ResourceGroupId, error) + func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error) + func (id ResourceGroupId) ID() string + func (id ResourceGroupId) Segments() []resourceids.Segment + func (id ResourceGroupId) String() string + type RoutingRuleLink struct + Id *string + type RuleType string + const RuleTypeMatchRule + const RuleTypeRateLimitRule + type TransformType string + const TransformTypeLowercase + const TransformTypeRemoveNulls + const TransformTypeTrim + const TransformTypeUppercase + const TransformTypeUrlDecode + const TransformTypeUrlEncode + type WebApplicationFirewallPoliciesClient struct + Client autorest.Client + func NewWebApplicationFirewallPoliciesClientWithBaseURI(endpoint string) WebApplicationFirewallPoliciesClient + func (c WebApplicationFirewallPoliciesClient) PoliciesCreateOrUpdate(ctx context.Context, id FrontDoorWebApplicationFirewallPoliciesId, ...) (result PoliciesCreateOrUpdateResponse, err error) + func (c WebApplicationFirewallPoliciesClient) PoliciesCreateOrUpdateThenPoll(ctx context.Context, id FrontDoorWebApplicationFirewallPoliciesId, ...) error + func (c WebApplicationFirewallPoliciesClient) PoliciesDelete(ctx context.Context, id FrontDoorWebApplicationFirewallPoliciesId) (result PoliciesDeleteResponse, err error) + func (c WebApplicationFirewallPoliciesClient) PoliciesDeleteThenPoll(ctx context.Context, id FrontDoorWebApplicationFirewallPoliciesId) error + func (c WebApplicationFirewallPoliciesClient) PoliciesGet(ctx context.Context, id FrontDoorWebApplicationFirewallPoliciesId) (result PoliciesGetResponse, err error) + func (c WebApplicationFirewallPoliciesClient) PoliciesList(ctx context.Context, id ResourceGroupId) (resp PoliciesListResponse, err error) + func (c WebApplicationFirewallPoliciesClient) PoliciesListComplete(ctx context.Context, id ResourceGroupId) (PoliciesListCompleteResult, error) + func (c WebApplicationFirewallPoliciesClient) PoliciesListCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, ...) (resp PoliciesListCompleteResult, err error) + type WebApplicationFirewallPolicy struct + Etag *string + Id *string + Location *string + Name *string + Properties *WebApplicationFirewallPolicyProperties + Tags *map[string]string + Type *string + type WebApplicationFirewallPolicyPredicate struct + Etag *string + Id *string + Location *string + Name *string + Type *string + func (p WebApplicationFirewallPolicyPredicate) Matches(input WebApplicationFirewallPolicy) bool + type WebApplicationFirewallPolicyProperties struct + CustomRules *CustomRuleList + FrontendEndpointLinks *[]FrontendEndpointLink + ManagedRules *ManagedRuleSetList + PolicySettings *PolicySettings + ProvisioningState *string + ResourceState *PolicyResourceState + RoutingRuleLinks *[]RoutingRuleLink