Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForActionType() []string + func PossibleValuesForCustomRuleEnabledState() []string + func PossibleValuesForDefaultCustomBlockResponseStatusCode() []string + func PossibleValuesForManagedRuleEnabledState() []string + func PossibleValuesForOperator() []string + func PossibleValuesForPolicyEnabledState() []string + func PossibleValuesForPolicyMode() []string + func PossibleValuesForPolicyResourceState() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForSkuName() []string + func PossibleValuesForTransformType() []string + func PossibleValuesForWafMatchVariable() []string + func ValidateCdnWebApplicationFirewallPolicyID(input interface{}, key string) (warnings []string, errors []error) + type ActionType string + const ActionTypeAllow + const ActionTypeBlock + const ActionTypeLog + const ActionTypeRedirect + func (s *ActionType) UnmarshalJSON(bytes []byte) error + type CdnEndpoint struct + Id *string + type CdnWebApplicationFirewallPolicy struct + Etag *string + Id *string + Location string + Name *string + Properties *CdnWebApplicationFirewallPolicyProperties + Sku Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type CdnWebApplicationFirewallPolicyId struct + CdnWebApplicationFirewallPolicyName string + ResourceGroupName string + SubscriptionId string + func NewCdnWebApplicationFirewallPolicyID(subscriptionId string, resourceGroupName string, ...) CdnWebApplicationFirewallPolicyId + func ParseCdnWebApplicationFirewallPolicyID(input string) (*CdnWebApplicationFirewallPolicyId, error) + func ParseCdnWebApplicationFirewallPolicyIDInsensitively(input string) (*CdnWebApplicationFirewallPolicyId, error) + func (id *CdnWebApplicationFirewallPolicyId) FromParseResult(input resourceids.ParseResult) error + func (id CdnWebApplicationFirewallPolicyId) ID() string + func (id CdnWebApplicationFirewallPolicyId) Segments() []resourceids.Segment + func (id CdnWebApplicationFirewallPolicyId) String() string + type CdnWebApplicationFirewallPolicyOperationPredicate struct + Etag *string + Id *string + Location *string + Name *string + Type *string + func (p CdnWebApplicationFirewallPolicyOperationPredicate) Matches(input CdnWebApplicationFirewallPolicy) bool + type CdnWebApplicationFirewallPolicyPatchParameters struct + Tags *map[string]string + type CdnWebApplicationFirewallPolicyProperties struct + CustomRules *CustomRuleList + EndpointLinks *[]CdnEndpoint + ExtendedProperties *map[string]string + ManagedRules *ManagedRuleSetList + PolicySettings *PolicySettings + ProvisioningState *ProvisioningState + RateLimitRules *RateLimitRuleList + ResourceState *PolicyResourceState + type CustomRule struct + Action ActionType + EnabledState *CustomRuleEnabledState + MatchConditions []MatchCondition + Name string + Priority int64 + type CustomRuleEnabledState string + const CustomRuleEnabledStateDisabled + const CustomRuleEnabledStateEnabled + func (s *CustomRuleEnabledState) UnmarshalJSON(bytes []byte) error + type CustomRuleList struct + Rules *[]CustomRule + type DefaultCustomBlockResponseStatusCode string + const DefaultCustomBlockResponseStatusCodeFourTwoNine + const DefaultCustomBlockResponseStatusCodeFourZeroFive + const DefaultCustomBlockResponseStatusCodeFourZeroSix + const DefaultCustomBlockResponseStatusCodeFourZeroThree + const DefaultCustomBlockResponseStatusCodeTwoHundred + func (s *DefaultCustomBlockResponseStatusCode) UnmarshalJSON(bytes []byte) error + type ManagedRuleEnabledState string + const ManagedRuleEnabledStateDisabled + const ManagedRuleEnabledStateEnabled + func (s *ManagedRuleEnabledState) UnmarshalJSON(bytes []byte) error + type ManagedRuleGroupOverride struct + RuleGroupName string + Rules *[]ManagedRuleOverride + type ManagedRuleOverride struct + Action *ActionType + EnabledState *ManagedRuleEnabledState + RuleId string + type ManagedRuleSet struct + AnomalyScore *int64 + RuleGroupOverrides *[]ManagedRuleGroupOverride + RuleSetType string + RuleSetVersion string + type ManagedRuleSetList struct + ManagedRuleSets *[]ManagedRuleSet + type MatchCondition struct + MatchValue []string + MatchVariable WafMatchVariable + NegateCondition *bool + Operator Operator + Selector *string + Transforms *[]TransformType + 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 + func (s *Operator) UnmarshalJSON(bytes []byte) error + type PoliciesCreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *CdnWebApplicationFirewallPolicy + OData *odata.OData + Poller pollers.Poller + type PoliciesDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type PoliciesGetOperationResponse struct + HttpResponse *http.Response + Model *CdnWebApplicationFirewallPolicy + OData *odata.OData + type PoliciesListCompleteResult struct + Items []CdnWebApplicationFirewallPolicy + LatestHttpResponse *http.Response + type PoliciesListCustomPager struct + NextLink *odata.Link + func (p *PoliciesListCustomPager) NextPageLink() *odata.Link + type PoliciesListOperationResponse struct + HttpResponse *http.Response + Model *[]CdnWebApplicationFirewallPolicy + OData *odata.OData + type PoliciesUpdateOperationResponse struct + HttpResponse *http.Response + Model *CdnWebApplicationFirewallPolicy + OData *odata.OData + Poller pollers.Poller + type PolicyEnabledState string + const PolicyEnabledStateDisabled + const PolicyEnabledStateEnabled + func (s *PolicyEnabledState) UnmarshalJSON(bytes []byte) error + type PolicyMode string + const PolicyModeDetection + const PolicyModePrevention + func (s *PolicyMode) UnmarshalJSON(bytes []byte) error + type PolicyResourceState string + const PolicyResourceStateCreating + const PolicyResourceStateDeleting + const PolicyResourceStateDisabled + const PolicyResourceStateDisabling + const PolicyResourceStateEnabled + const PolicyResourceStateEnabling + func (s *PolicyResourceState) UnmarshalJSON(bytes []byte) error + type PolicySettings struct + DefaultCustomBlockResponseBody *string + DefaultCustomBlockResponseStatusCode *DefaultCustomBlockResponseStatusCode + DefaultRedirectURL *string + EnabledState *PolicyEnabledState + Mode *PolicyMode + type ProvisioningState string + const ProvisioningStateCreating + const ProvisioningStateFailed + const ProvisioningStateSucceeded + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RateLimitRule struct + Action ActionType + EnabledState *CustomRuleEnabledState + MatchConditions []MatchCondition + Name string + Priority int64 + RateLimitDurationInMinutes int64 + RateLimitThreshold int64 + type RateLimitRuleList struct + Rules *[]RateLimitRule + type Sku struct + Name *SkuName + type SkuName string + const SkuNameCustomVerizon + const SkuNamePremiumAzureFrontDoor + const SkuNamePremiumVerizon + const SkuNameStandardAkamai + const SkuNameStandardAvgBandWidthChinaCdn + const SkuNameStandardAzureFrontDoor + const SkuNameStandardChinaCdn + const SkuNameStandardMicrosoft + const SkuNameStandardNineFiveFiveBandWidthChinaCdn + const SkuNameStandardPlusAvgBandWidthChinaCdn + const SkuNameStandardPlusChinaCdn + const SkuNameStandardPlusNineFiveFiveBandWidthChinaCdn + const SkuNameStandardVerizon + func (s *SkuName) UnmarshalJSON(bytes []byte) error + type TransformType string + const TransformTypeLowercase + const TransformTypeRemoveNulls + const TransformTypeTrim + const TransformTypeURLDecode + const TransformTypeURLEncode + const TransformTypeUppercase + func (s *TransformType) UnmarshalJSON(bytes []byte) error + type WafMatchVariable string + const WafMatchVariableCookies + const WafMatchVariablePostArgs + const WafMatchVariableQueryString + const WafMatchVariableRemoteAddr + const WafMatchVariableRequestBody + const WafMatchVariableRequestHeader + const WafMatchVariableRequestMethod + const WafMatchVariableRequestUri + const WafMatchVariableSocketAddr + func (s *WafMatchVariable) UnmarshalJSON(bytes []byte) error + type WebApplicationFirewallPoliciesClient struct + Client *resourcemanager.Client + func NewWebApplicationFirewallPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*WebApplicationFirewallPoliciesClient, error) + func (c WebApplicationFirewallPoliciesClient) PoliciesCreateOrUpdate(ctx context.Context, id CdnWebApplicationFirewallPolicyId, ...) (result PoliciesCreateOrUpdateOperationResponse, err error) + func (c WebApplicationFirewallPoliciesClient) PoliciesCreateOrUpdateThenPoll(ctx context.Context, id CdnWebApplicationFirewallPolicyId, ...) error + func (c WebApplicationFirewallPoliciesClient) PoliciesDelete(ctx context.Context, id CdnWebApplicationFirewallPolicyId) (result PoliciesDeleteOperationResponse, err error) + func (c WebApplicationFirewallPoliciesClient) PoliciesGet(ctx context.Context, id CdnWebApplicationFirewallPolicyId) (result PoliciesGetOperationResponse, err error) + func (c WebApplicationFirewallPoliciesClient) PoliciesList(ctx context.Context, id commonids.ResourceGroupId) (result PoliciesListOperationResponse, err error) + func (c WebApplicationFirewallPoliciesClient) PoliciesListComplete(ctx context.Context, id commonids.ResourceGroupId) (PoliciesListCompleteResult, error) + func (c WebApplicationFirewallPoliciesClient) PoliciesListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result PoliciesListCompleteResult, err error) + func (c WebApplicationFirewallPoliciesClient) PoliciesUpdate(ctx context.Context, id CdnWebApplicationFirewallPolicyId, ...) (result PoliciesUpdateOperationResponse, err error) + func (c WebApplicationFirewallPoliciesClient) PoliciesUpdateThenPoll(ctx context.Context, id CdnWebApplicationFirewallPolicyId, ...) error