Documentation ¶
Index ¶
- func PossibleValuesForActionType() []string
- func PossibleValuesForCustomRuleEnabledState() []string
- func PossibleValuesForManagedRuleEnabledState() []string
- func PossibleValuesForManagedRuleExclusionMatchVariable() []string
- func PossibleValuesForManagedRuleExclusionSelectorMatchOperator() []string
- func PossibleValuesForManagedRuleSetActionType() []string
- func PossibleValuesForMatchVariable() []string
- func PossibleValuesForOperator() []string
- func PossibleValuesForPolicyEnabledState() []string
- func PossibleValuesForPolicyMode() []string
- func PossibleValuesForPolicyRequestBodyCheck() []string
- func PossibleValuesForPolicyResourceState() []string
- func PossibleValuesForRuleType() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForTransformType() []string
- func ValidateFrontDoorWebApplicationFirewallPolicyID(input interface{}, key string) (warnings []string, errors []error)
- type ActionType
- type CustomRule
- type CustomRuleEnabledState
- type CustomRuleList
- type FrontDoorWebApplicationFirewallPolicyId
- func NewFrontDoorWebApplicationFirewallPolicyID(subscriptionId string, resourceGroupName string, ...) FrontDoorWebApplicationFirewallPolicyId
- func ParseFrontDoorWebApplicationFirewallPolicyID(input string) (*FrontDoorWebApplicationFirewallPolicyId, error)
- func ParseFrontDoorWebApplicationFirewallPolicyIDInsensitively(input string) (*FrontDoorWebApplicationFirewallPolicyId, error)
- type FrontendEndpointLink
- type ManagedRuleEnabledState
- type ManagedRuleExclusion
- type ManagedRuleExclusionMatchVariable
- type ManagedRuleExclusionSelectorMatchOperator
- type ManagedRuleGroupOverride
- type ManagedRuleOverride
- type ManagedRuleSet
- type ManagedRuleSetActionType
- type ManagedRuleSetList
- type MatchCondition
- type MatchVariable
- type Operator
- type PoliciesCreateOrUpdateOperationResponse
- type PoliciesDeleteOperationResponse
- type PoliciesGetOperationResponse
- type PoliciesListBySubscriptionCompleteResult
- type PoliciesListBySubscriptionOperationResponse
- type PoliciesListCompleteResult
- type PoliciesListOperationResponse
- type PoliciesUpdateOperationResponse
- type PolicyEnabledState
- type PolicyMode
- type PolicyRequestBodyCheck
- type PolicyResourceState
- type PolicySettings
- type RoutingRuleLink
- type RuleType
- type SecurityPolicyLink
- type Sku
- type SkuName
- type TagsObject
- type TransformType
- type WebApplicationFirewallPoliciesClient
- func (c WebApplicationFirewallPoliciesClient) PoliciesCreateOrUpdate(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId, ...) (result PoliciesCreateOrUpdateOperationResponse, err error)
- func (c WebApplicationFirewallPoliciesClient) PoliciesCreateOrUpdateThenPoll(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId, ...) error
- func (c WebApplicationFirewallPoliciesClient) PoliciesDelete(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId) (result PoliciesDeleteOperationResponse, err error)
- func (c WebApplicationFirewallPoliciesClient) PoliciesDeleteThenPoll(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId) error
- func (c WebApplicationFirewallPoliciesClient) PoliciesGet(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId) (result PoliciesGetOperationResponse, err error)
- func (c WebApplicationFirewallPoliciesClient) PoliciesList(ctx context.Context, id commonids.ResourceGroupId) (resp PoliciesListOperationResponse, err error)
- func (c WebApplicationFirewallPoliciesClient) PoliciesListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp PoliciesListBySubscriptionOperationResponse, err error)
- func (c WebApplicationFirewallPoliciesClient) PoliciesListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (PoliciesListBySubscriptionCompleteResult, error)
- func (c WebApplicationFirewallPoliciesClient) PoliciesListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp PoliciesListBySubscriptionCompleteResult, err error)
- func (c WebApplicationFirewallPoliciesClient) PoliciesListComplete(ctx context.Context, id commonids.ResourceGroupId) (PoliciesListCompleteResult, error)
- func (c WebApplicationFirewallPoliciesClient) PoliciesListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp PoliciesListCompleteResult, err error)
- func (c WebApplicationFirewallPoliciesClient) PoliciesUpdate(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId, ...) (result PoliciesUpdateOperationResponse, err error)
- func (c WebApplicationFirewallPoliciesClient) PoliciesUpdateThenPoll(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId, ...) error
- type WebApplicationFirewallPolicy
- type WebApplicationFirewallPolicyOperationPredicate
- type WebApplicationFirewallPolicyProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForActionType ¶
func PossibleValuesForActionType() []string
func PossibleValuesForCustomRuleEnabledState ¶
func PossibleValuesForCustomRuleEnabledState() []string
func PossibleValuesForManagedRuleEnabledState ¶
func PossibleValuesForManagedRuleEnabledState() []string
func PossibleValuesForManagedRuleExclusionMatchVariable ¶
func PossibleValuesForManagedRuleExclusionMatchVariable() []string
func PossibleValuesForManagedRuleExclusionSelectorMatchOperator ¶
func PossibleValuesForManagedRuleExclusionSelectorMatchOperator() []string
func PossibleValuesForManagedRuleSetActionType ¶
func PossibleValuesForManagedRuleSetActionType() []string
func PossibleValuesForMatchVariable ¶
func PossibleValuesForMatchVariable() []string
func PossibleValuesForOperator ¶
func PossibleValuesForOperator() []string
func PossibleValuesForPolicyEnabledState ¶
func PossibleValuesForPolicyEnabledState() []string
func PossibleValuesForPolicyMode ¶
func PossibleValuesForPolicyMode() []string
func PossibleValuesForPolicyRequestBodyCheck ¶
func PossibleValuesForPolicyRequestBodyCheck() []string
func PossibleValuesForPolicyResourceState ¶
func PossibleValuesForPolicyResourceState() []string
func PossibleValuesForRuleType ¶
func PossibleValuesForRuleType() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForTransformType ¶
func PossibleValuesForTransformType() []string
func ValidateFrontDoorWebApplicationFirewallPolicyID ¶
func ValidateFrontDoorWebApplicationFirewallPolicyID(input interface{}, key string) (warnings []string, errors []error)
ValidateFrontDoorWebApplicationFirewallPolicyID checks that 'input' can be parsed as a Front Door Web Application Firewall Policy ID
Types ¶
type ActionType ¶
type ActionType string
const ( ActionTypeAllow ActionType = "Allow" ActionTypeAnomalyScoring ActionType = "AnomalyScoring" ActionTypeBlock ActionType = "Block" ActionTypeLog ActionType = "Log" ActionTypeRedirect ActionType = "Redirect" )
type CustomRule ¶
type CustomRule struct { Action ActionType `json:"action"` EnabledState *CustomRuleEnabledState `json:"enabledState,omitempty"` MatchConditions []MatchCondition `json:"matchConditions"` Name *string `json:"name,omitempty"` Priority int64 `json:"priority"` RateLimitDurationInMinutes *int64 `json:"rateLimitDurationInMinutes,omitempty"` RateLimitThreshold *int64 `json:"rateLimitThreshold,omitempty"` RuleType RuleType `json:"ruleType"` }
type CustomRuleEnabledState ¶
type CustomRuleEnabledState string
const ( CustomRuleEnabledStateDisabled CustomRuleEnabledState = "Disabled" CustomRuleEnabledStateEnabled CustomRuleEnabledState = "Enabled" )
type CustomRuleList ¶
type CustomRuleList struct {
Rules *[]CustomRule `json:"rules,omitempty"`
}
type FrontDoorWebApplicationFirewallPolicyId ¶
type FrontDoorWebApplicationFirewallPolicyId struct { SubscriptionId string ResourceGroupName string FrontDoorWebApplicationFirewallPolicyName string }
FrontDoorWebApplicationFirewallPolicyId is a struct representing the Resource ID for a Front Door Web Application Firewall Policy
func NewFrontDoorWebApplicationFirewallPolicyID ¶
func NewFrontDoorWebApplicationFirewallPolicyID(subscriptionId string, resourceGroupName string, frontDoorWebApplicationFirewallPolicyName string) FrontDoorWebApplicationFirewallPolicyId
NewFrontDoorWebApplicationFirewallPolicyID returns a new FrontDoorWebApplicationFirewallPolicyId struct
func ParseFrontDoorWebApplicationFirewallPolicyID ¶
func ParseFrontDoorWebApplicationFirewallPolicyID(input string) (*FrontDoorWebApplicationFirewallPolicyId, error)
ParseFrontDoorWebApplicationFirewallPolicyID parses 'input' into a FrontDoorWebApplicationFirewallPolicyId
func ParseFrontDoorWebApplicationFirewallPolicyIDInsensitively ¶
func ParseFrontDoorWebApplicationFirewallPolicyIDInsensitively(input string) (*FrontDoorWebApplicationFirewallPolicyId, error)
ParseFrontDoorWebApplicationFirewallPolicyIDInsensitively parses 'input' case-insensitively into a FrontDoorWebApplicationFirewallPolicyId note: this method should only be used for API response data and not user input
func (FrontDoorWebApplicationFirewallPolicyId) ID ¶
func (id FrontDoorWebApplicationFirewallPolicyId) ID() string
ID returns the formatted Front Door Web Application Firewall Policy ID
func (FrontDoorWebApplicationFirewallPolicyId) Segments ¶
func (id FrontDoorWebApplicationFirewallPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Front Door Web Application Firewall Policy ID
func (FrontDoorWebApplicationFirewallPolicyId) String ¶
func (id FrontDoorWebApplicationFirewallPolicyId) String() string
String returns a human-readable description of this Front Door Web Application Firewall Policy ID
type FrontendEndpointLink ¶
type FrontendEndpointLink struct {
Id *string `json:"id,omitempty"`
}
type ManagedRuleEnabledState ¶
type ManagedRuleEnabledState string
const ( ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled" ManagedRuleEnabledStateEnabled ManagedRuleEnabledState = "Enabled" )
type ManagedRuleExclusion ¶
type ManagedRuleExclusion struct { MatchVariable ManagedRuleExclusionMatchVariable `json:"matchVariable"` Selector string `json:"selector"` SelectorMatchOperator ManagedRuleExclusionSelectorMatchOperator `json:"selectorMatchOperator"` }
type ManagedRuleExclusionMatchVariable ¶
type ManagedRuleExclusionMatchVariable string
const ( ManagedRuleExclusionMatchVariableQueryStringArgNames ManagedRuleExclusionMatchVariable = "QueryStringArgNames" ManagedRuleExclusionMatchVariableRequestBodyJsonArgNames ManagedRuleExclusionMatchVariable = "RequestBodyJsonArgNames" ManagedRuleExclusionMatchVariableRequestBodyPostArgNames ManagedRuleExclusionMatchVariable = "RequestBodyPostArgNames" ManagedRuleExclusionMatchVariableRequestCookieNames ManagedRuleExclusionMatchVariable = "RequestCookieNames" ManagedRuleExclusionMatchVariableRequestHeaderNames ManagedRuleExclusionMatchVariable = "RequestHeaderNames" )
type ManagedRuleExclusionSelectorMatchOperator ¶
type ManagedRuleExclusionSelectorMatchOperator string
const ( ManagedRuleExclusionSelectorMatchOperatorContains ManagedRuleExclusionSelectorMatchOperator = "Contains" ManagedRuleExclusionSelectorMatchOperatorEndsWith ManagedRuleExclusionSelectorMatchOperator = "EndsWith" ManagedRuleExclusionSelectorMatchOperatorEquals ManagedRuleExclusionSelectorMatchOperator = "Equals" ManagedRuleExclusionSelectorMatchOperatorEqualsAny ManagedRuleExclusionSelectorMatchOperator = "EqualsAny" ManagedRuleExclusionSelectorMatchOperatorStartsWith ManagedRuleExclusionSelectorMatchOperator = "StartsWith" )
type ManagedRuleGroupOverride ¶
type ManagedRuleGroupOverride struct { Exclusions *[]ManagedRuleExclusion `json:"exclusions,omitempty"` RuleGroupName string `json:"ruleGroupName"` Rules *[]ManagedRuleOverride `json:"rules,omitempty"` }
type ManagedRuleOverride ¶
type ManagedRuleOverride struct { Action *ActionType `json:"action,omitempty"` EnabledState *ManagedRuleEnabledState `json:"enabledState,omitempty"` Exclusions *[]ManagedRuleExclusion `json:"exclusions,omitempty"` RuleId string `json:"ruleId"` }
type ManagedRuleSet ¶
type ManagedRuleSet struct { Exclusions *[]ManagedRuleExclusion `json:"exclusions,omitempty"` RuleGroupOverrides *[]ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"` RuleSetAction *ManagedRuleSetActionType `json:"ruleSetAction,omitempty"` RuleSetType string `json:"ruleSetType"` RuleSetVersion string `json:"ruleSetVersion"` }
type ManagedRuleSetActionType ¶
type ManagedRuleSetActionType string
const ( ManagedRuleSetActionTypeBlock ManagedRuleSetActionType = "Block" ManagedRuleSetActionTypeLog ManagedRuleSetActionType = "Log" ManagedRuleSetActionTypeRedirect ManagedRuleSetActionType = "Redirect" )
type ManagedRuleSetList ¶
type ManagedRuleSetList struct {
ManagedRuleSets *[]ManagedRuleSet `json:"managedRuleSets,omitempty"`
}
type MatchCondition ¶
type MatchCondition struct { MatchValue []string `json:"matchValue"` MatchVariable MatchVariable `json:"matchVariable"` NegateCondition *bool `json:"negateCondition,omitempty"` Operator Operator `json:"operator"` Selector *string `json:"selector,omitempty"` Transforms *[]TransformType `json:"transforms,omitempty"` }
type MatchVariable ¶
type MatchVariable string
const ( MatchVariableCookies MatchVariable = "Cookies" MatchVariablePostArgs MatchVariable = "PostArgs" MatchVariableQueryString MatchVariable = "QueryString" MatchVariableRemoteAddr MatchVariable = "RemoteAddr" MatchVariableRequestBody MatchVariable = "RequestBody" MatchVariableRequestHeader MatchVariable = "RequestHeader" MatchVariableRequestMethod MatchVariable = "RequestMethod" MatchVariableRequestUri MatchVariable = "RequestUri" MatchVariableSocketAddr MatchVariable = "SocketAddr" )
type Operator ¶
type Operator string
const ( OperatorAny Operator = "Any" OperatorBeginsWith Operator = "BeginsWith" OperatorContains Operator = "Contains" OperatorEndsWith Operator = "EndsWith" OperatorEqual Operator = "Equal" OperatorGeoMatch Operator = "GeoMatch" OperatorGreaterThan Operator = "GreaterThan" OperatorGreaterThanOrEqual Operator = "GreaterThanOrEqual" OperatorIPMatch Operator = "IPMatch" OperatorLessThan Operator = "LessThan" OperatorLessThanOrEqual Operator = "LessThanOrEqual" OperatorRegEx Operator = "RegEx" )
type PoliciesCreateOrUpdateOperationResponse ¶
type PoliciesCreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type PoliciesDeleteOperationResponse ¶
type PoliciesDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type PoliciesGetOperationResponse ¶
type PoliciesGetOperationResponse struct { HttpResponse *http.Response Model *WebApplicationFirewallPolicy }
type PoliciesListBySubscriptionCompleteResult ¶ added in v0.20230208.1154850
type PoliciesListBySubscriptionCompleteResult struct {
Items []WebApplicationFirewallPolicy
}
type PoliciesListBySubscriptionOperationResponse ¶ added in v0.20230208.1154850
type PoliciesListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]WebApplicationFirewallPolicy // contains filtered or unexported fields }
func (PoliciesListBySubscriptionOperationResponse) HasMore ¶ added in v0.20230208.1154850
func (r PoliciesListBySubscriptionOperationResponse) HasMore() bool
func (PoliciesListBySubscriptionOperationResponse) LoadMore ¶ added in v0.20230208.1154850
func (r PoliciesListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp PoliciesListBySubscriptionOperationResponse, err error)
type PoliciesListCompleteResult ¶
type PoliciesListCompleteResult struct {
Items []WebApplicationFirewallPolicy
}
type PoliciesListOperationResponse ¶
type PoliciesListOperationResponse struct { HttpResponse *http.Response Model *[]WebApplicationFirewallPolicy // contains filtered or unexported fields }
func (PoliciesListOperationResponse) HasMore ¶
func (r PoliciesListOperationResponse) HasMore() bool
func (PoliciesListOperationResponse) LoadMore ¶
func (r PoliciesListOperationResponse) LoadMore(ctx context.Context) (resp PoliciesListOperationResponse, err error)
type PoliciesUpdateOperationResponse ¶
type PoliciesUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type PolicyEnabledState ¶
type PolicyEnabledState string
const ( PolicyEnabledStateDisabled PolicyEnabledState = "Disabled" PolicyEnabledStateEnabled PolicyEnabledState = "Enabled" )
type PolicyMode ¶
type PolicyMode string
const ( PolicyModeDetection PolicyMode = "Detection" PolicyModePrevention PolicyMode = "Prevention" )
type PolicyRequestBodyCheck ¶
type PolicyRequestBodyCheck string
const ( PolicyRequestBodyCheckDisabled PolicyRequestBodyCheck = "Disabled" PolicyRequestBodyCheckEnabled PolicyRequestBodyCheck = "Enabled" )
type PolicyResourceState ¶
type PolicyResourceState string
const ( PolicyResourceStateCreating PolicyResourceState = "Creating" PolicyResourceStateDeleting PolicyResourceState = "Deleting" PolicyResourceStateDisabled PolicyResourceState = "Disabled" PolicyResourceStateDisabling PolicyResourceState = "Disabling" PolicyResourceStateEnabled PolicyResourceState = "Enabled" PolicyResourceStateEnabling PolicyResourceState = "Enabling" )
type PolicySettings ¶
type PolicySettings struct { CustomBlockResponseBody *string `json:"customBlockResponseBody,omitempty"` CustomBlockResponseStatusCode *int64 `json:"customBlockResponseStatusCode,omitempty"` EnabledState *PolicyEnabledState `json:"enabledState,omitempty"` Mode *PolicyMode `json:"mode,omitempty"` RedirectUrl *string `json:"redirectUrl,omitempty"` RequestBodyCheck *PolicyRequestBodyCheck `json:"requestBodyCheck,omitempty"` }
type RoutingRuleLink ¶
type RoutingRuleLink struct {
Id *string `json:"id,omitempty"`
}
type SecurityPolicyLink ¶
type SecurityPolicyLink struct {
Id *string `json:"id,omitempty"`
}
type TagsObject ¶
type TransformType ¶
type TransformType string
const ( TransformTypeLowercase TransformType = "Lowercase" TransformTypeRemoveNulls TransformType = "RemoveNulls" TransformTypeTrim TransformType = "Trim" TransformTypeUppercase TransformType = "Uppercase" TransformTypeUrlDecode TransformType = "UrlDecode" TransformTypeUrlEncode TransformType = "UrlEncode" )
type WebApplicationFirewallPoliciesClient ¶
type WebApplicationFirewallPoliciesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewWebApplicationFirewallPoliciesClientWithBaseURI ¶
func NewWebApplicationFirewallPoliciesClientWithBaseURI(endpoint string) WebApplicationFirewallPoliciesClient
func (WebApplicationFirewallPoliciesClient) PoliciesCreateOrUpdate ¶
func (c WebApplicationFirewallPoliciesClient) PoliciesCreateOrUpdate(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId, input WebApplicationFirewallPolicy) (result PoliciesCreateOrUpdateOperationResponse, err error)
PoliciesCreateOrUpdate ...
func (WebApplicationFirewallPoliciesClient) PoliciesCreateOrUpdateThenPoll ¶
func (c WebApplicationFirewallPoliciesClient) PoliciesCreateOrUpdateThenPoll(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId, input WebApplicationFirewallPolicy) error
PoliciesCreateOrUpdateThenPoll performs PoliciesCreateOrUpdate then polls until it's completed
func (WebApplicationFirewallPoliciesClient) PoliciesDelete ¶
func (c WebApplicationFirewallPoliciesClient) PoliciesDelete(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId) (result PoliciesDeleteOperationResponse, err error)
PoliciesDelete ...
func (WebApplicationFirewallPoliciesClient) PoliciesDeleteThenPoll ¶
func (c WebApplicationFirewallPoliciesClient) PoliciesDeleteThenPoll(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId) error
PoliciesDeleteThenPoll performs PoliciesDelete then polls until it's completed
func (WebApplicationFirewallPoliciesClient) PoliciesGet ¶
func (c WebApplicationFirewallPoliciesClient) PoliciesGet(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId) (result PoliciesGetOperationResponse, err error)
PoliciesGet ...
func (WebApplicationFirewallPoliciesClient) PoliciesList ¶
func (c WebApplicationFirewallPoliciesClient) PoliciesList(ctx context.Context, id commonids.ResourceGroupId) (resp PoliciesListOperationResponse, err error)
PoliciesList ...
func (WebApplicationFirewallPoliciesClient) PoliciesListBySubscription ¶ added in v0.20230208.1154850
func (c WebApplicationFirewallPoliciesClient) PoliciesListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp PoliciesListBySubscriptionOperationResponse, err error)
PoliciesListBySubscription ...
func (WebApplicationFirewallPoliciesClient) PoliciesListBySubscriptionComplete ¶ added in v0.20230208.1154850
func (c WebApplicationFirewallPoliciesClient) PoliciesListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (PoliciesListBySubscriptionCompleteResult, error)
PoliciesListBySubscriptionComplete retrieves all of the results into a single object
func (WebApplicationFirewallPoliciesClient) PoliciesListBySubscriptionCompleteMatchingPredicate ¶ added in v0.20230208.1154850
func (c WebApplicationFirewallPoliciesClient) PoliciesListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate WebApplicationFirewallPolicyOperationPredicate) (resp PoliciesListBySubscriptionCompleteResult, err error)
PoliciesListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (WebApplicationFirewallPoliciesClient) PoliciesListComplete ¶
func (c WebApplicationFirewallPoliciesClient) PoliciesListComplete(ctx context.Context, id commonids.ResourceGroupId) (PoliciesListCompleteResult, error)
PoliciesListComplete retrieves all of the results into a single object
func (WebApplicationFirewallPoliciesClient) PoliciesListCompleteMatchingPredicate ¶
func (c WebApplicationFirewallPoliciesClient) PoliciesListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate WebApplicationFirewallPolicyOperationPredicate) (resp PoliciesListCompleteResult, err error)
PoliciesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (WebApplicationFirewallPoliciesClient) PoliciesUpdate ¶
func (c WebApplicationFirewallPoliciesClient) PoliciesUpdate(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId, input TagsObject) (result PoliciesUpdateOperationResponse, err error)
PoliciesUpdate ...
func (WebApplicationFirewallPoliciesClient) PoliciesUpdateThenPoll ¶
func (c WebApplicationFirewallPoliciesClient) PoliciesUpdateThenPoll(ctx context.Context, id FrontDoorWebApplicationFirewallPolicyId, input TagsObject) error
PoliciesUpdateThenPoll performs PoliciesUpdate then polls until it's completed
type WebApplicationFirewallPolicy ¶
type WebApplicationFirewallPolicy struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *WebApplicationFirewallPolicyProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type WebApplicationFirewallPolicyOperationPredicate ¶
type WebApplicationFirewallPolicyOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (WebApplicationFirewallPolicyOperationPredicate) Matches ¶
func (p WebApplicationFirewallPolicyOperationPredicate) Matches(input WebApplicationFirewallPolicy) bool
type WebApplicationFirewallPolicyProperties ¶
type WebApplicationFirewallPolicyProperties struct { CustomRules *CustomRuleList `json:"customRules,omitempty"` FrontendEndpointLinks *[]FrontendEndpointLink `json:"frontendEndpointLinks,omitempty"` ManagedRules *ManagedRuleSetList `json:"managedRules,omitempty"` PolicySettings *PolicySettings `json:"policySettings,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ResourceState *PolicyResourceState `json:"resourceState,omitempty"` RoutingRuleLinks *[]RoutingRuleLink `json:"routingRuleLinks,omitempty"` SecurityPolicyLinks *[]SecurityPolicyLink `json:"securityPolicyLinks,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_frontdoorwebapplicationfirewallpolicy.go
- method_policiescreateorupdate_autorest.go
- method_policiesdelete_autorest.go
- method_policiesget_autorest.go
- method_policieslist_autorest.go
- method_policieslistbysubscription_autorest.go
- method_policiesupdate_autorest.go
- model_customrule.go
- model_customrulelist.go
- model_frontendendpointlink.go
- model_managedruleexclusion.go
- model_managedrulegroupoverride.go
- model_managedruleoverride.go
- model_managedruleset.go
- model_managedrulesetlist.go
- model_matchcondition.go
- model_policysettings.go
- model_routingrulelink.go
- model_securitypolicylink.go
- model_sku.go
- model_tagsobject.go
- model_webapplicationfirewallpolicy.go
- model_webapplicationfirewallpolicyproperties.go
- predicates.go
- version.go