v1api20220501

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package v1api20220501 contains API Schema definitions for the network.frontdoor v1api20220501 API group +groupName=network.frontdoor.azure.com

Package v1api20220501 contains API Schema definitions for the network.frontdoor v1api20220501 API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=network.frontdoor.azure.com +versionName=v1api20220501

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

View Source
const (
	WebApplicationFirewallPolicyProperties_ResourceState_STATUS_Creating  = WebApplicationFirewallPolicyProperties_ResourceState_STATUS("Creating")
	WebApplicationFirewallPolicyProperties_ResourceState_STATUS_Deleting  = WebApplicationFirewallPolicyProperties_ResourceState_STATUS("Deleting")
	WebApplicationFirewallPolicyProperties_ResourceState_STATUS_Disabled  = WebApplicationFirewallPolicyProperties_ResourceState_STATUS("Disabled")
	WebApplicationFirewallPolicyProperties_ResourceState_STATUS_Disabling = WebApplicationFirewallPolicyProperties_ResourceState_STATUS("Disabling")
	WebApplicationFirewallPolicyProperties_ResourceState_STATUS_Enabled   = WebApplicationFirewallPolicyProperties_ResourceState_STATUS("Enabled")
	WebApplicationFirewallPolicyProperties_ResourceState_STATUS_Enabling  = WebApplicationFirewallPolicyProperties_ResourceState_STATUS("Enabling")
)
View Source
const (
	PolicySettings_EnabledState_Disabled = PolicySettings_EnabledState("Disabled")
	PolicySettings_EnabledState_Enabled  = PolicySettings_EnabledState("Enabled")
)
View Source
const (
	PolicySettings_EnabledState_STATUS_Disabled = PolicySettings_EnabledState_STATUS("Disabled")
	PolicySettings_EnabledState_STATUS_Enabled  = PolicySettings_EnabledState_STATUS("Enabled")
)
View Source
const (
	PolicySettings_Mode_Detection  = PolicySettings_Mode("Detection")
	PolicySettings_Mode_Prevention = PolicySettings_Mode("Prevention")
)
View Source
const (
	PolicySettings_Mode_STATUS_Detection  = PolicySettings_Mode_STATUS("Detection")
	PolicySettings_Mode_STATUS_Prevention = PolicySettings_Mode_STATUS("Prevention")
)
View Source
const (
	PolicySettings_RequestBodyCheck_Disabled = PolicySettings_RequestBodyCheck("Disabled")
	PolicySettings_RequestBodyCheck_Enabled  = PolicySettings_RequestBodyCheck("Enabled")
)
View Source
const (
	PolicySettings_RequestBodyCheck_STATUS_Disabled = PolicySettings_RequestBodyCheck_STATUS("Disabled")
	PolicySettings_RequestBodyCheck_STATUS_Enabled  = PolicySettings_RequestBodyCheck_STATUS("Enabled")
)
View Source
const (
	Sku_Name_Classic_AzureFrontDoor  = Sku_Name("Classic_AzureFrontDoor")
	Sku_Name_Premium_AzureFrontDoor  = Sku_Name("Premium_AzureFrontDoor")
	Sku_Name_Standard_AzureFrontDoor = Sku_Name("Standard_AzureFrontDoor")
)
View Source
const (
	Sku_Name_STATUS_Classic_AzureFrontDoor  = Sku_Name_STATUS("Classic_AzureFrontDoor")
	Sku_Name_STATUS_Premium_AzureFrontDoor  = Sku_Name_STATUS("Premium_AzureFrontDoor")
	Sku_Name_STATUS_Standard_AzureFrontDoor = Sku_Name_STATUS("Standard_AzureFrontDoor")
)
View Source
const (
	ActionType_Allow          = ActionType("Allow")
	ActionType_AnomalyScoring = ActionType("AnomalyScoring")
	ActionType_Block          = ActionType("Block")
	ActionType_Log            = ActionType("Log")
	ActionType_Redirect       = ActionType("Redirect")
)
View Source
const (
	ActionType_STATUS_Allow          = ActionType_STATUS("Allow")
	ActionType_STATUS_AnomalyScoring = ActionType_STATUS("AnomalyScoring")
	ActionType_STATUS_Block          = ActionType_STATUS("Block")
	ActionType_STATUS_Log            = ActionType_STATUS("Log")
	ActionType_STATUS_Redirect       = ActionType_STATUS("Redirect")
)
View Source
const (
	CustomRule_EnabledState_Disabled = CustomRule_EnabledState("Disabled")
	CustomRule_EnabledState_Enabled  = CustomRule_EnabledState("Enabled")
)
View Source
const (
	CustomRule_EnabledState_STATUS_Disabled = CustomRule_EnabledState_STATUS("Disabled")
	CustomRule_EnabledState_STATUS_Enabled  = CustomRule_EnabledState_STATUS("Enabled")
)
View Source
const (
	CustomRule_RuleType_MatchRule     = CustomRule_RuleType("MatchRule")
	CustomRule_RuleType_RateLimitRule = CustomRule_RuleType("RateLimitRule")
)
View Source
const (
	CustomRule_RuleType_STATUS_MatchRule     = CustomRule_RuleType_STATUS("MatchRule")
	CustomRule_RuleType_STATUS_RateLimitRule = CustomRule_RuleType_STATUS("RateLimitRule")
)
View Source
const (
	ManagedRuleSetActionType_Block    = ManagedRuleSetActionType("Block")
	ManagedRuleSetActionType_Log      = ManagedRuleSetActionType("Log")
	ManagedRuleSetActionType_Redirect = ManagedRuleSetActionType("Redirect")
)
View Source
const (
	ManagedRuleSetActionType_STATUS_Block    = ManagedRuleSetActionType_STATUS("Block")
	ManagedRuleSetActionType_STATUS_Log      = ManagedRuleSetActionType_STATUS("Log")
	ManagedRuleSetActionType_STATUS_Redirect = ManagedRuleSetActionType_STATUS("Redirect")
)
View Source
const (
	ManagedRuleExclusion_MatchVariable_QueryStringArgNames     = ManagedRuleExclusion_MatchVariable("QueryStringArgNames")
	ManagedRuleExclusion_MatchVariable_RequestBodyJsonArgNames = ManagedRuleExclusion_MatchVariable("RequestBodyJsonArgNames")
	ManagedRuleExclusion_MatchVariable_RequestBodyPostArgNames = ManagedRuleExclusion_MatchVariable("RequestBodyPostArgNames")
	ManagedRuleExclusion_MatchVariable_RequestCookieNames      = ManagedRuleExclusion_MatchVariable("RequestCookieNames")
	ManagedRuleExclusion_MatchVariable_RequestHeaderNames      = ManagedRuleExclusion_MatchVariable("RequestHeaderNames")
)
View Source
const (
	ManagedRuleExclusion_MatchVariable_STATUS_QueryStringArgNames     = ManagedRuleExclusion_MatchVariable_STATUS("QueryStringArgNames")
	ManagedRuleExclusion_MatchVariable_STATUS_RequestBodyJsonArgNames = ManagedRuleExclusion_MatchVariable_STATUS("RequestBodyJsonArgNames")
	ManagedRuleExclusion_MatchVariable_STATUS_RequestBodyPostArgNames = ManagedRuleExclusion_MatchVariable_STATUS("RequestBodyPostArgNames")
	ManagedRuleExclusion_MatchVariable_STATUS_RequestCookieNames      = ManagedRuleExclusion_MatchVariable_STATUS("RequestCookieNames")
	ManagedRuleExclusion_MatchVariable_STATUS_RequestHeaderNames      = ManagedRuleExclusion_MatchVariable_STATUS("RequestHeaderNames")
)
View Source
const (
	ManagedRuleExclusion_SelectorMatchOperator_Contains   = ManagedRuleExclusion_SelectorMatchOperator("Contains")
	ManagedRuleExclusion_SelectorMatchOperator_EndsWith   = ManagedRuleExclusion_SelectorMatchOperator("EndsWith")
	ManagedRuleExclusion_SelectorMatchOperator_Equals     = ManagedRuleExclusion_SelectorMatchOperator("Equals")
	ManagedRuleExclusion_SelectorMatchOperator_EqualsAny  = ManagedRuleExclusion_SelectorMatchOperator("EqualsAny")
	ManagedRuleExclusion_SelectorMatchOperator_StartsWith = ManagedRuleExclusion_SelectorMatchOperator("StartsWith")
)
View Source
const (
	ManagedRuleExclusion_SelectorMatchOperator_STATUS_Contains   = ManagedRuleExclusion_SelectorMatchOperator_STATUS("Contains")
	ManagedRuleExclusion_SelectorMatchOperator_STATUS_EndsWith   = ManagedRuleExclusion_SelectorMatchOperator_STATUS("EndsWith")
	ManagedRuleExclusion_SelectorMatchOperator_STATUS_Equals     = ManagedRuleExclusion_SelectorMatchOperator_STATUS("Equals")
	ManagedRuleExclusion_SelectorMatchOperator_STATUS_EqualsAny  = ManagedRuleExclusion_SelectorMatchOperator_STATUS("EqualsAny")
	ManagedRuleExclusion_SelectorMatchOperator_STATUS_StartsWith = ManagedRuleExclusion_SelectorMatchOperator_STATUS("StartsWith")
)
View Source
const (
	MatchCondition_MatchVariable_Cookies       = MatchCondition_MatchVariable("Cookies")
	MatchCondition_MatchVariable_PostArgs      = MatchCondition_MatchVariable("PostArgs")
	MatchCondition_MatchVariable_QueryString   = MatchCondition_MatchVariable("QueryString")
	MatchCondition_MatchVariable_RemoteAddr    = MatchCondition_MatchVariable("RemoteAddr")
	MatchCondition_MatchVariable_RequestBody   = MatchCondition_MatchVariable("RequestBody")
	MatchCondition_MatchVariable_RequestHeader = MatchCondition_MatchVariable("RequestHeader")
	MatchCondition_MatchVariable_RequestMethod = MatchCondition_MatchVariable("RequestMethod")
	MatchCondition_MatchVariable_RequestUri    = MatchCondition_MatchVariable("RequestUri")
	MatchCondition_MatchVariable_SocketAddr    = MatchCondition_MatchVariable("SocketAddr")
)
View Source
const (
	MatchCondition_MatchVariable_STATUS_Cookies       = MatchCondition_MatchVariable_STATUS("Cookies")
	MatchCondition_MatchVariable_STATUS_PostArgs      = MatchCondition_MatchVariable_STATUS("PostArgs")
	MatchCondition_MatchVariable_STATUS_QueryString   = MatchCondition_MatchVariable_STATUS("QueryString")
	MatchCondition_MatchVariable_STATUS_RemoteAddr    = MatchCondition_MatchVariable_STATUS("RemoteAddr")
	MatchCondition_MatchVariable_STATUS_RequestBody   = MatchCondition_MatchVariable_STATUS("RequestBody")
	MatchCondition_MatchVariable_STATUS_RequestHeader = MatchCondition_MatchVariable_STATUS("RequestHeader")
	MatchCondition_MatchVariable_STATUS_RequestMethod = MatchCondition_MatchVariable_STATUS("RequestMethod")
	MatchCondition_MatchVariable_STATUS_RequestUri    = MatchCondition_MatchVariable_STATUS("RequestUri")
	MatchCondition_MatchVariable_STATUS_SocketAddr    = MatchCondition_MatchVariable_STATUS("SocketAddr")
)
View Source
const (
	MatchCondition_Operator_Any                = MatchCondition_Operator("Any")
	MatchCondition_Operator_BeginsWith         = MatchCondition_Operator("BeginsWith")
	MatchCondition_Operator_Contains           = MatchCondition_Operator("Contains")
	MatchCondition_Operator_EndsWith           = MatchCondition_Operator("EndsWith")
	MatchCondition_Operator_Equal              = MatchCondition_Operator("Equal")
	MatchCondition_Operator_GeoMatch           = MatchCondition_Operator("GeoMatch")
	MatchCondition_Operator_GreaterThan        = MatchCondition_Operator("GreaterThan")
	MatchCondition_Operator_GreaterThanOrEqual = MatchCondition_Operator("GreaterThanOrEqual")
	MatchCondition_Operator_IPMatch            = MatchCondition_Operator("IPMatch")
	MatchCondition_Operator_LessThan           = MatchCondition_Operator("LessThan")
	MatchCondition_Operator_LessThanOrEqual    = MatchCondition_Operator("LessThanOrEqual")
	MatchCondition_Operator_RegEx              = MatchCondition_Operator("RegEx")
)
View Source
const (
	MatchCondition_Operator_STATUS_Any                = MatchCondition_Operator_STATUS("Any")
	MatchCondition_Operator_STATUS_BeginsWith         = MatchCondition_Operator_STATUS("BeginsWith")
	MatchCondition_Operator_STATUS_Contains           = MatchCondition_Operator_STATUS("Contains")
	MatchCondition_Operator_STATUS_EndsWith           = MatchCondition_Operator_STATUS("EndsWith")
	MatchCondition_Operator_STATUS_Equal              = MatchCondition_Operator_STATUS("Equal")
	MatchCondition_Operator_STATUS_GeoMatch           = MatchCondition_Operator_STATUS("GeoMatch")
	MatchCondition_Operator_STATUS_GreaterThan        = MatchCondition_Operator_STATUS("GreaterThan")
	MatchCondition_Operator_STATUS_GreaterThanOrEqual = MatchCondition_Operator_STATUS("GreaterThanOrEqual")
	MatchCondition_Operator_STATUS_IPMatch            = MatchCondition_Operator_STATUS("IPMatch")
	MatchCondition_Operator_STATUS_LessThan           = MatchCondition_Operator_STATUS("LessThan")
	MatchCondition_Operator_STATUS_LessThanOrEqual    = MatchCondition_Operator_STATUS("LessThanOrEqual")
	MatchCondition_Operator_STATUS_RegEx              = MatchCondition_Operator_STATUS("RegEx")
)
View Source
const (
	TransformType_Lowercase   = TransformType("Lowercase")
	TransformType_RemoveNulls = TransformType("RemoveNulls")
	TransformType_Trim        = TransformType("Trim")
	TransformType_Uppercase   = TransformType("Uppercase")
	TransformType_UrlDecode   = TransformType("UrlDecode")
	TransformType_UrlEncode   = TransformType("UrlEncode")
)
View Source
const (
	TransformType_STATUS_Lowercase   = TransformType_STATUS("Lowercase")
	TransformType_STATUS_RemoveNulls = TransformType_STATUS("RemoveNulls")
	TransformType_STATUS_Trim        = TransformType_STATUS("Trim")
	TransformType_STATUS_Uppercase   = TransformType_STATUS("Uppercase")
	TransformType_STATUS_UrlDecode   = TransformType_STATUS("UrlDecode")
	TransformType_STATUS_UrlEncode   = TransformType_STATUS("UrlEncode")
)
View Source
const (
	ManagedRuleEnabledState_Disabled = ManagedRuleEnabledState("Disabled")
	ManagedRuleEnabledState_Enabled  = ManagedRuleEnabledState("Enabled")
)
View Source
const (
	ManagedRuleEnabledState_STATUS_Disabled = ManagedRuleEnabledState_STATUS("Disabled")
	ManagedRuleEnabledState_STATUS_Enabled  = ManagedRuleEnabledState_STATUS("Enabled")
)
View Source
const APIVersion_Value = APIVersion("2022-05-01")

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "network.frontdoor.azure.com", Version: "v1api20220501"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type APIVersion

type APIVersion string

+kubebuilder:validation:Enum={"2022-05-01"}

type ActionType

type ActionType string

Defines the action to take on rule match. +kubebuilder:validation:Enum={"Allow","AnomalyScoring","Block","Log","Redirect"}

type ActionType_STATUS

type ActionType_STATUS string

Defines the action to take on rule match.

type CustomRule

type CustomRule struct {
	// +kubebuilder:validation:Required
	// Action: Describes what action to be applied when rule matches.
	Action *ActionType `json:"action,omitempty"`

	// EnabledState: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
	EnabledState *CustomRule_EnabledState `json:"enabledState,omitempty"`

	// +kubebuilder:validation:Required
	// MatchConditions: List of match conditions.
	MatchConditions []MatchCondition `json:"matchConditions,omitempty"`

	// +kubebuilder:validation:MaxLength=128
	// Name: Describes the name of the rule.
	Name *string `json:"name,omitempty"`

	// +kubebuilder:validation:Required
	// Priority: Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
	Priority *int `json:"priority,omitempty"`

	// +kubebuilder:validation:Maximum=5
	// +kubebuilder:validation:Minimum=0
	// RateLimitDurationInMinutes: Time window for resetting the rate limit count. Default is 1 minute.
	RateLimitDurationInMinutes *int `json:"rateLimitDurationInMinutes,omitempty"`

	// +kubebuilder:validation:Minimum=0
	// RateLimitThreshold: Number of allowed requests per client within the time window.
	RateLimitThreshold *int `json:"rateLimitThreshold,omitempty"`

	// +kubebuilder:validation:Required
	// RuleType: Describes type of rule.
	RuleType *CustomRule_RuleType `json:"ruleType,omitempty"`
}

Defines contents of a web application rule

func (*CustomRule) AssignProperties_From_CustomRule

func (rule *CustomRule) AssignProperties_From_CustomRule(source *storage.CustomRule) error

AssignProperties_From_CustomRule populates our CustomRule from the provided source CustomRule

func (*CustomRule) AssignProperties_To_CustomRule

func (rule *CustomRule) AssignProperties_To_CustomRule(destination *storage.CustomRule) error

AssignProperties_To_CustomRule populates the provided destination CustomRule from our CustomRule

func (*CustomRule) ConvertToARM

func (rule *CustomRule) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*CustomRule) DeepCopy

func (in *CustomRule) DeepCopy() *CustomRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRule.

func (*CustomRule) DeepCopyInto

func (in *CustomRule) DeepCopyInto(out *CustomRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomRule) Initialize_From_CustomRule_STATUS

func (rule *CustomRule) Initialize_From_CustomRule_STATUS(source *CustomRule_STATUS) error

Initialize_From_CustomRule_STATUS populates our CustomRule from the provided source CustomRule_STATUS

func (*CustomRule) NewEmptyARMValue

func (rule *CustomRule) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CustomRule) PopulateFromARM

func (rule *CustomRule) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type CustomRuleList

type CustomRuleList struct {
	// Rules: List of rules
	Rules []CustomRule `json:"rules,omitempty"`
}

Defines contents of custom rules

func (*CustomRuleList) AssignProperties_From_CustomRuleList

func (list *CustomRuleList) AssignProperties_From_CustomRuleList(source *storage.CustomRuleList) error

AssignProperties_From_CustomRuleList populates our CustomRuleList from the provided source CustomRuleList

func (*CustomRuleList) AssignProperties_To_CustomRuleList

func (list *CustomRuleList) AssignProperties_To_CustomRuleList(destination *storage.CustomRuleList) error

AssignProperties_To_CustomRuleList populates the provided destination CustomRuleList from our CustomRuleList

func (*CustomRuleList) ConvertToARM

func (list *CustomRuleList) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*CustomRuleList) DeepCopy

func (in *CustomRuleList) DeepCopy() *CustomRuleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRuleList.

func (*CustomRuleList) DeepCopyInto

func (in *CustomRuleList) DeepCopyInto(out *CustomRuleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomRuleList) Initialize_From_CustomRuleList_STATUS

func (list *CustomRuleList) Initialize_From_CustomRuleList_STATUS(source *CustomRuleList_STATUS) error

Initialize_From_CustomRuleList_STATUS populates our CustomRuleList from the provided source CustomRuleList_STATUS

func (*CustomRuleList) NewEmptyARMValue

func (list *CustomRuleList) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CustomRuleList) PopulateFromARM

func (list *CustomRuleList) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type CustomRuleList_STATUS

type CustomRuleList_STATUS struct {
	// Rules: List of rules
	Rules []CustomRule_STATUS `json:"rules,omitempty"`
}

Defines contents of custom rules

func (*CustomRuleList_STATUS) AssignProperties_From_CustomRuleList_STATUS

func (list *CustomRuleList_STATUS) AssignProperties_From_CustomRuleList_STATUS(source *storage.CustomRuleList_STATUS) error

AssignProperties_From_CustomRuleList_STATUS populates our CustomRuleList_STATUS from the provided source CustomRuleList_STATUS

func (*CustomRuleList_STATUS) AssignProperties_To_CustomRuleList_STATUS

func (list *CustomRuleList_STATUS) AssignProperties_To_CustomRuleList_STATUS(destination *storage.CustomRuleList_STATUS) error

AssignProperties_To_CustomRuleList_STATUS populates the provided destination CustomRuleList_STATUS from our CustomRuleList_STATUS

func (*CustomRuleList_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRuleList_STATUS.

func (*CustomRuleList_STATUS) DeepCopyInto

func (in *CustomRuleList_STATUS) DeepCopyInto(out *CustomRuleList_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomRuleList_STATUS) NewEmptyARMValue

func (list *CustomRuleList_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CustomRuleList_STATUS) PopulateFromARM

func (list *CustomRuleList_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type CustomRule_EnabledState

type CustomRule_EnabledState string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type CustomRule_EnabledState_STATUS

type CustomRule_EnabledState_STATUS string

type CustomRule_RuleType

type CustomRule_RuleType string

+kubebuilder:validation:Enum={"MatchRule","RateLimitRule"}

type CustomRule_RuleType_STATUS

type CustomRule_RuleType_STATUS string

type CustomRule_STATUS

type CustomRule_STATUS struct {
	// Action: Describes what action to be applied when rule matches.
	Action *ActionType_STATUS `json:"action,omitempty"`

	// EnabledState: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
	EnabledState *CustomRule_EnabledState_STATUS `json:"enabledState,omitempty"`

	// MatchConditions: List of match conditions.
	MatchConditions []MatchCondition_STATUS `json:"matchConditions,omitempty"`

	// Name: Describes the name of the rule.
	Name *string `json:"name,omitempty"`

	// Priority: Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
	Priority *int `json:"priority,omitempty"`

	// RateLimitDurationInMinutes: Time window for resetting the rate limit count. Default is 1 minute.
	RateLimitDurationInMinutes *int `json:"rateLimitDurationInMinutes,omitempty"`

	// RateLimitThreshold: Number of allowed requests per client within the time window.
	RateLimitThreshold *int `json:"rateLimitThreshold,omitempty"`

	// RuleType: Describes type of rule.
	RuleType *CustomRule_RuleType_STATUS `json:"ruleType,omitempty"`
}

Defines contents of a web application rule

func (*CustomRule_STATUS) AssignProperties_From_CustomRule_STATUS

func (rule *CustomRule_STATUS) AssignProperties_From_CustomRule_STATUS(source *storage.CustomRule_STATUS) error

AssignProperties_From_CustomRule_STATUS populates our CustomRule_STATUS from the provided source CustomRule_STATUS

func (*CustomRule_STATUS) AssignProperties_To_CustomRule_STATUS

func (rule *CustomRule_STATUS) AssignProperties_To_CustomRule_STATUS(destination *storage.CustomRule_STATUS) error

AssignProperties_To_CustomRule_STATUS populates the provided destination CustomRule_STATUS from our CustomRule_STATUS

func (*CustomRule_STATUS) DeepCopy

func (in *CustomRule_STATUS) DeepCopy() *CustomRule_STATUS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRule_STATUS.

func (*CustomRule_STATUS) DeepCopyInto

func (in *CustomRule_STATUS) DeepCopyInto(out *CustomRule_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomRule_STATUS) NewEmptyARMValue

func (rule *CustomRule_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CustomRule_STATUS) PopulateFromARM

func (rule *CustomRule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FrontendEndpointLink_STATUS struct {
	// Id: Resource ID.
	Id *string `json:"id,omitempty"`
}

Defines the Resource ID for a Frontend Endpoint.

func (link *FrontendEndpointLink_STATUS) AssignProperties_From_FrontendEndpointLink_STATUS(source *storage.FrontendEndpointLink_STATUS) error

AssignProperties_From_FrontendEndpointLink_STATUS populates our FrontendEndpointLink_STATUS from the provided source FrontendEndpointLink_STATUS

func (link *FrontendEndpointLink_STATUS) AssignProperties_To_FrontendEndpointLink_STATUS(destination *storage.FrontendEndpointLink_STATUS) error

AssignProperties_To_FrontendEndpointLink_STATUS populates the provided destination FrontendEndpointLink_STATUS from our FrontendEndpointLink_STATUS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendEndpointLink_STATUS.

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (link *FrontendEndpointLink_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (link *FrontendEndpointLink_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedRuleEnabledState

type ManagedRuleEnabledState string

Describes if the managed rule is in enabled or disabled state. +kubebuilder:validation:Enum={"Disabled","Enabled"}

type ManagedRuleEnabledState_STATUS

type ManagedRuleEnabledState_STATUS string

Describes if the managed rule is in enabled or disabled state.

type ManagedRuleExclusion

type ManagedRuleExclusion struct {
	// +kubebuilder:validation:Required
	// MatchVariable: The variable type to be excluded.
	MatchVariable *ManagedRuleExclusion_MatchVariable `json:"matchVariable,omitempty"`

	// +kubebuilder:validation:Required
	// Selector: Selector value for which elements in the collection this exclusion applies to.
	Selector *string `json:"selector,omitempty"`

	// +kubebuilder:validation:Required
	// SelectorMatchOperator: Comparison operator to apply to the selector when specifying which elements in the collection
	// this exclusion applies to.
	SelectorMatchOperator *ManagedRuleExclusion_SelectorMatchOperator `json:"selectorMatchOperator,omitempty"`
}

Exclude variables from managed rule evaluation.

func (*ManagedRuleExclusion) AssignProperties_From_ManagedRuleExclusion

func (exclusion *ManagedRuleExclusion) AssignProperties_From_ManagedRuleExclusion(source *storage.ManagedRuleExclusion) error

AssignProperties_From_ManagedRuleExclusion populates our ManagedRuleExclusion from the provided source ManagedRuleExclusion

func (*ManagedRuleExclusion) AssignProperties_To_ManagedRuleExclusion

func (exclusion *ManagedRuleExclusion) AssignProperties_To_ManagedRuleExclusion(destination *storage.ManagedRuleExclusion) error

AssignProperties_To_ManagedRuleExclusion populates the provided destination ManagedRuleExclusion from our ManagedRuleExclusion

func (*ManagedRuleExclusion) ConvertToARM

func (exclusion *ManagedRuleExclusion) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ManagedRuleExclusion) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleExclusion.

func (*ManagedRuleExclusion) DeepCopyInto

func (in *ManagedRuleExclusion) DeepCopyInto(out *ManagedRuleExclusion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedRuleExclusion) Initialize_From_ManagedRuleExclusion_STATUS

func (exclusion *ManagedRuleExclusion) Initialize_From_ManagedRuleExclusion_STATUS(source *ManagedRuleExclusion_STATUS) error

Initialize_From_ManagedRuleExclusion_STATUS populates our ManagedRuleExclusion from the provided source ManagedRuleExclusion_STATUS

func (*ManagedRuleExclusion) NewEmptyARMValue

func (exclusion *ManagedRuleExclusion) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedRuleExclusion) PopulateFromARM

func (exclusion *ManagedRuleExclusion) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedRuleExclusion_MatchVariable

type ManagedRuleExclusion_MatchVariable string

+kubebuilder:validation:Enum={"QueryStringArgNames","RequestBodyJsonArgNames","RequestBodyPostArgNames","RequestCookieNames","RequestHeaderNames"}

type ManagedRuleExclusion_MatchVariable_STATUS

type ManagedRuleExclusion_MatchVariable_STATUS string

type ManagedRuleExclusion_STATUS

type ManagedRuleExclusion_STATUS struct {
	// MatchVariable: The variable type to be excluded.
	MatchVariable *ManagedRuleExclusion_MatchVariable_STATUS `json:"matchVariable,omitempty"`

	// Selector: Selector value for which elements in the collection this exclusion applies to.
	Selector *string `json:"selector,omitempty"`

	// SelectorMatchOperator: Comparison operator to apply to the selector when specifying which elements in the collection
	// this exclusion applies to.
	SelectorMatchOperator *ManagedRuleExclusion_SelectorMatchOperator_STATUS `json:"selectorMatchOperator,omitempty"`
}

Exclude variables from managed rule evaluation.

func (*ManagedRuleExclusion_STATUS) AssignProperties_From_ManagedRuleExclusion_STATUS

func (exclusion *ManagedRuleExclusion_STATUS) AssignProperties_From_ManagedRuleExclusion_STATUS(source *storage.ManagedRuleExclusion_STATUS) error

AssignProperties_From_ManagedRuleExclusion_STATUS populates our ManagedRuleExclusion_STATUS from the provided source ManagedRuleExclusion_STATUS

func (*ManagedRuleExclusion_STATUS) AssignProperties_To_ManagedRuleExclusion_STATUS

func (exclusion *ManagedRuleExclusion_STATUS) AssignProperties_To_ManagedRuleExclusion_STATUS(destination *storage.ManagedRuleExclusion_STATUS) error

AssignProperties_To_ManagedRuleExclusion_STATUS populates the provided destination ManagedRuleExclusion_STATUS from our ManagedRuleExclusion_STATUS

func (*ManagedRuleExclusion_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleExclusion_STATUS.

func (*ManagedRuleExclusion_STATUS) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedRuleExclusion_STATUS) NewEmptyARMValue

func (exclusion *ManagedRuleExclusion_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedRuleExclusion_STATUS) PopulateFromARM

func (exclusion *ManagedRuleExclusion_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedRuleExclusion_SelectorMatchOperator

type ManagedRuleExclusion_SelectorMatchOperator string

+kubebuilder:validation:Enum={"Contains","EndsWith","Equals","EqualsAny","StartsWith"}

type ManagedRuleExclusion_SelectorMatchOperator_STATUS

type ManagedRuleExclusion_SelectorMatchOperator_STATUS string

type ManagedRuleGroupOverride

type ManagedRuleGroupOverride struct {
	// Exclusions: Describes the exclusions that are applied to all rules in the group.
	Exclusions []ManagedRuleExclusion `json:"exclusions,omitempty"`

	// +kubebuilder:validation:Required
	// RuleGroupName: Describes the managed rule group to override.
	RuleGroupName *string `json:"ruleGroupName,omitempty"`

	// Rules: List of rules that will be disabled. If none specified, all rules in the group will be disabled.
	Rules []ManagedRuleOverride `json:"rules,omitempty"`
}

Defines a managed rule group override setting.

func (*ManagedRuleGroupOverride) AssignProperties_From_ManagedRuleGroupOverride

func (override *ManagedRuleGroupOverride) AssignProperties_From_ManagedRuleGroupOverride(source *storage.ManagedRuleGroupOverride) error

AssignProperties_From_ManagedRuleGroupOverride populates our ManagedRuleGroupOverride from the provided source ManagedRuleGroupOverride

func (*ManagedRuleGroupOverride) AssignProperties_To_ManagedRuleGroupOverride

func (override *ManagedRuleGroupOverride) AssignProperties_To_ManagedRuleGroupOverride(destination *storage.ManagedRuleGroupOverride) error

AssignProperties_To_ManagedRuleGroupOverride populates the provided destination ManagedRuleGroupOverride from our ManagedRuleGroupOverride

func (*ManagedRuleGroupOverride) ConvertToARM

func (override *ManagedRuleGroupOverride) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ManagedRuleGroupOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleGroupOverride.

func (*ManagedRuleGroupOverride) DeepCopyInto

func (in *ManagedRuleGroupOverride) DeepCopyInto(out *ManagedRuleGroupOverride)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedRuleGroupOverride) Initialize_From_ManagedRuleGroupOverride_STATUS

func (override *ManagedRuleGroupOverride) Initialize_From_ManagedRuleGroupOverride_STATUS(source *ManagedRuleGroupOverride_STATUS) error

Initialize_From_ManagedRuleGroupOverride_STATUS populates our ManagedRuleGroupOverride from the provided source ManagedRuleGroupOverride_STATUS

func (*ManagedRuleGroupOverride) NewEmptyARMValue

func (override *ManagedRuleGroupOverride) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedRuleGroupOverride) PopulateFromARM

func (override *ManagedRuleGroupOverride) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedRuleGroupOverride_STATUS

type ManagedRuleGroupOverride_STATUS struct {
	// Exclusions: Describes the exclusions that are applied to all rules in the group.
	Exclusions []ManagedRuleExclusion_STATUS `json:"exclusions,omitempty"`

	// RuleGroupName: Describes the managed rule group to override.
	RuleGroupName *string `json:"ruleGroupName,omitempty"`

	// Rules: List of rules that will be disabled. If none specified, all rules in the group will be disabled.
	Rules []ManagedRuleOverride_STATUS `json:"rules,omitempty"`
}

Defines a managed rule group override setting.

func (*ManagedRuleGroupOverride_STATUS) AssignProperties_From_ManagedRuleGroupOverride_STATUS

func (override *ManagedRuleGroupOverride_STATUS) AssignProperties_From_ManagedRuleGroupOverride_STATUS(source *storage.ManagedRuleGroupOverride_STATUS) error

AssignProperties_From_ManagedRuleGroupOverride_STATUS populates our ManagedRuleGroupOverride_STATUS from the provided source ManagedRuleGroupOverride_STATUS

func (*ManagedRuleGroupOverride_STATUS) AssignProperties_To_ManagedRuleGroupOverride_STATUS

func (override *ManagedRuleGroupOverride_STATUS) AssignProperties_To_ManagedRuleGroupOverride_STATUS(destination *storage.ManagedRuleGroupOverride_STATUS) error

AssignProperties_To_ManagedRuleGroupOverride_STATUS populates the provided destination ManagedRuleGroupOverride_STATUS from our ManagedRuleGroupOverride_STATUS

func (*ManagedRuleGroupOverride_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleGroupOverride_STATUS.

func (*ManagedRuleGroupOverride_STATUS) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedRuleGroupOverride_STATUS) NewEmptyARMValue

func (override *ManagedRuleGroupOverride_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedRuleGroupOverride_STATUS) PopulateFromARM

func (override *ManagedRuleGroupOverride_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedRuleOverride

type ManagedRuleOverride struct {
	// Action: Describes the override action to be applied when rule matches.
	Action *ActionType `json:"action,omitempty"`

	// EnabledState: Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
	EnabledState *ManagedRuleEnabledState `json:"enabledState,omitempty"`

	// Exclusions: Describes the exclusions that are applied to this specific rule.
	Exclusions []ManagedRuleExclusion `json:"exclusions,omitempty"`

	// +kubebuilder:validation:Required
	// RuleId: Identifier for the managed rule.
	RuleId *string `json:"ruleId,omitempty"`
}

Defines a managed rule group override setting.

func (*ManagedRuleOverride) AssignProperties_From_ManagedRuleOverride

func (override *ManagedRuleOverride) AssignProperties_From_ManagedRuleOverride(source *storage.ManagedRuleOverride) error

AssignProperties_From_ManagedRuleOverride populates our ManagedRuleOverride from the provided source ManagedRuleOverride

func (*ManagedRuleOverride) AssignProperties_To_ManagedRuleOverride

func (override *ManagedRuleOverride) AssignProperties_To_ManagedRuleOverride(destination *storage.ManagedRuleOverride) error

AssignProperties_To_ManagedRuleOverride populates the provided destination ManagedRuleOverride from our ManagedRuleOverride

func (*ManagedRuleOverride) ConvertToARM

func (override *ManagedRuleOverride) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ManagedRuleOverride) DeepCopy

func (in *ManagedRuleOverride) DeepCopy() *ManagedRuleOverride

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleOverride.

func (*ManagedRuleOverride) DeepCopyInto

func (in *ManagedRuleOverride) DeepCopyInto(out *ManagedRuleOverride)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedRuleOverride) Initialize_From_ManagedRuleOverride_STATUS

func (override *ManagedRuleOverride) Initialize_From_ManagedRuleOverride_STATUS(source *ManagedRuleOverride_STATUS) error

Initialize_From_ManagedRuleOverride_STATUS populates our ManagedRuleOverride from the provided source ManagedRuleOverride_STATUS

func (*ManagedRuleOverride) NewEmptyARMValue

func (override *ManagedRuleOverride) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedRuleOverride) PopulateFromARM

func (override *ManagedRuleOverride) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedRuleOverride_STATUS

type ManagedRuleOverride_STATUS struct {
	// Action: Describes the override action to be applied when rule matches.
	Action *ActionType_STATUS `json:"action,omitempty"`

	// EnabledState: Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
	EnabledState *ManagedRuleEnabledState_STATUS `json:"enabledState,omitempty"`

	// Exclusions: Describes the exclusions that are applied to this specific rule.
	Exclusions []ManagedRuleExclusion_STATUS `json:"exclusions,omitempty"`

	// RuleId: Identifier for the managed rule.
	RuleId *string `json:"ruleId,omitempty"`
}

Defines a managed rule group override setting.

func (*ManagedRuleOverride_STATUS) AssignProperties_From_ManagedRuleOverride_STATUS

func (override *ManagedRuleOverride_STATUS) AssignProperties_From_ManagedRuleOverride_STATUS(source *storage.ManagedRuleOverride_STATUS) error

AssignProperties_From_ManagedRuleOverride_STATUS populates our ManagedRuleOverride_STATUS from the provided source ManagedRuleOverride_STATUS

func (*ManagedRuleOverride_STATUS) AssignProperties_To_ManagedRuleOverride_STATUS

func (override *ManagedRuleOverride_STATUS) AssignProperties_To_ManagedRuleOverride_STATUS(destination *storage.ManagedRuleOverride_STATUS) error

AssignProperties_To_ManagedRuleOverride_STATUS populates the provided destination ManagedRuleOverride_STATUS from our ManagedRuleOverride_STATUS

func (*ManagedRuleOverride_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleOverride_STATUS.

func (*ManagedRuleOverride_STATUS) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedRuleOverride_STATUS) NewEmptyARMValue

func (override *ManagedRuleOverride_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedRuleOverride_STATUS) PopulateFromARM

func (override *ManagedRuleOverride_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedRuleSet

type ManagedRuleSet struct {
	// Exclusions: Describes the exclusions that are applied to all rules in the set.
	Exclusions []ManagedRuleExclusion `json:"exclusions,omitempty"`

	// RuleGroupOverrides: Defines the rule group overrides to apply to the rule set.
	RuleGroupOverrides []ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"`

	// RuleSetAction: Defines the rule set action.
	RuleSetAction *ManagedRuleSetActionType `json:"ruleSetAction,omitempty"`

	// +kubebuilder:validation:Required
	// RuleSetType: Defines the rule set type to use.
	RuleSetType *string `json:"ruleSetType,omitempty"`

	// +kubebuilder:validation:Required
	// RuleSetVersion: Defines the version of the rule set to use.
	RuleSetVersion *string `json:"ruleSetVersion,omitempty"`
}

Defines a managed rule set.

func (*ManagedRuleSet) AssignProperties_From_ManagedRuleSet

func (ruleSet *ManagedRuleSet) AssignProperties_From_ManagedRuleSet(source *storage.ManagedRuleSet) error

AssignProperties_From_ManagedRuleSet populates our ManagedRuleSet from the provided source ManagedRuleSet

func (*ManagedRuleSet) AssignProperties_To_ManagedRuleSet

func (ruleSet *ManagedRuleSet) AssignProperties_To_ManagedRuleSet(destination *storage.ManagedRuleSet) error

AssignProperties_To_ManagedRuleSet populates the provided destination ManagedRuleSet from our ManagedRuleSet

func (*ManagedRuleSet) ConvertToARM

func (ruleSet *ManagedRuleSet) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ManagedRuleSet) DeepCopy

func (in *ManagedRuleSet) DeepCopy() *ManagedRuleSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleSet.

func (*ManagedRuleSet) DeepCopyInto

func (in *ManagedRuleSet) DeepCopyInto(out *ManagedRuleSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedRuleSet) Initialize_From_ManagedRuleSet_STATUS

func (ruleSet *ManagedRuleSet) Initialize_From_ManagedRuleSet_STATUS(source *ManagedRuleSet_STATUS) error

Initialize_From_ManagedRuleSet_STATUS populates our ManagedRuleSet from the provided source ManagedRuleSet_STATUS

func (*ManagedRuleSet) NewEmptyARMValue

func (ruleSet *ManagedRuleSet) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedRuleSet) PopulateFromARM

func (ruleSet *ManagedRuleSet) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedRuleSetActionType

type ManagedRuleSetActionType string

Defines the action to take when a managed rule set score threshold is met. +kubebuilder:validation:Enum={"Block","Log","Redirect"}

type ManagedRuleSetActionType_STATUS

type ManagedRuleSetActionType_STATUS string

Defines the action to take when a managed rule set score threshold is met.

type ManagedRuleSetList

type ManagedRuleSetList struct {
	// ManagedRuleSets: List of rule sets.
	ManagedRuleSets []ManagedRuleSet `json:"managedRuleSets,omitempty"`
}

Defines the list of managed rule sets for the policy.

func (*ManagedRuleSetList) AssignProperties_From_ManagedRuleSetList

func (list *ManagedRuleSetList) AssignProperties_From_ManagedRuleSetList(source *storage.ManagedRuleSetList) error

AssignProperties_From_ManagedRuleSetList populates our ManagedRuleSetList from the provided source ManagedRuleSetList

func (*ManagedRuleSetList) AssignProperties_To_ManagedRuleSetList

func (list *ManagedRuleSetList) AssignProperties_To_ManagedRuleSetList(destination *storage.ManagedRuleSetList) error

AssignProperties_To_ManagedRuleSetList populates the provided destination ManagedRuleSetList from our ManagedRuleSetList

func (*ManagedRuleSetList) ConvertToARM

func (list *ManagedRuleSetList) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ManagedRuleSetList) DeepCopy

func (in *ManagedRuleSetList) DeepCopy() *ManagedRuleSetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleSetList.

func (*ManagedRuleSetList) DeepCopyInto

func (in *ManagedRuleSetList) DeepCopyInto(out *ManagedRuleSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedRuleSetList) Initialize_From_ManagedRuleSetList_STATUS

func (list *ManagedRuleSetList) Initialize_From_ManagedRuleSetList_STATUS(source *ManagedRuleSetList_STATUS) error

Initialize_From_ManagedRuleSetList_STATUS populates our ManagedRuleSetList from the provided source ManagedRuleSetList_STATUS

func (*ManagedRuleSetList) NewEmptyARMValue

func (list *ManagedRuleSetList) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedRuleSetList) PopulateFromARM

func (list *ManagedRuleSetList) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedRuleSetList_STATUS

type ManagedRuleSetList_STATUS struct {
	// ManagedRuleSets: List of rule sets.
	ManagedRuleSets []ManagedRuleSet_STATUS `json:"managedRuleSets,omitempty"`
}

Defines the list of managed rule sets for the policy.

func (*ManagedRuleSetList_STATUS) AssignProperties_From_ManagedRuleSetList_STATUS

func (list *ManagedRuleSetList_STATUS) AssignProperties_From_ManagedRuleSetList_STATUS(source *storage.ManagedRuleSetList_STATUS) error

AssignProperties_From_ManagedRuleSetList_STATUS populates our ManagedRuleSetList_STATUS from the provided source ManagedRuleSetList_STATUS

func (*ManagedRuleSetList_STATUS) AssignProperties_To_ManagedRuleSetList_STATUS

func (list *ManagedRuleSetList_STATUS) AssignProperties_To_ManagedRuleSetList_STATUS(destination *storage.ManagedRuleSetList_STATUS) error

AssignProperties_To_ManagedRuleSetList_STATUS populates the provided destination ManagedRuleSetList_STATUS from our ManagedRuleSetList_STATUS

func (*ManagedRuleSetList_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleSetList_STATUS.

func (*ManagedRuleSetList_STATUS) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedRuleSetList_STATUS) NewEmptyARMValue

func (list *ManagedRuleSetList_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedRuleSetList_STATUS) PopulateFromARM

func (list *ManagedRuleSetList_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedRuleSet_STATUS

type ManagedRuleSet_STATUS struct {
	// Exclusions: Describes the exclusions that are applied to all rules in the set.
	Exclusions []ManagedRuleExclusion_STATUS `json:"exclusions,omitempty"`

	// RuleGroupOverrides: Defines the rule group overrides to apply to the rule set.
	RuleGroupOverrides []ManagedRuleGroupOverride_STATUS `json:"ruleGroupOverrides,omitempty"`

	// RuleSetAction: Defines the rule set action.
	RuleSetAction *ManagedRuleSetActionType_STATUS `json:"ruleSetAction,omitempty"`

	// RuleSetType: Defines the rule set type to use.
	RuleSetType *string `json:"ruleSetType,omitempty"`

	// RuleSetVersion: Defines the version of the rule set to use.
	RuleSetVersion *string `json:"ruleSetVersion,omitempty"`
}

Defines a managed rule set.

func (*ManagedRuleSet_STATUS) AssignProperties_From_ManagedRuleSet_STATUS

func (ruleSet *ManagedRuleSet_STATUS) AssignProperties_From_ManagedRuleSet_STATUS(source *storage.ManagedRuleSet_STATUS) error

AssignProperties_From_ManagedRuleSet_STATUS populates our ManagedRuleSet_STATUS from the provided source ManagedRuleSet_STATUS

func (*ManagedRuleSet_STATUS) AssignProperties_To_ManagedRuleSet_STATUS

func (ruleSet *ManagedRuleSet_STATUS) AssignProperties_To_ManagedRuleSet_STATUS(destination *storage.ManagedRuleSet_STATUS) error

AssignProperties_To_ManagedRuleSet_STATUS populates the provided destination ManagedRuleSet_STATUS from our ManagedRuleSet_STATUS

func (*ManagedRuleSet_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleSet_STATUS.

func (*ManagedRuleSet_STATUS) DeepCopyInto

func (in *ManagedRuleSet_STATUS) DeepCopyInto(out *ManagedRuleSet_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedRuleSet_STATUS) NewEmptyARMValue

func (ruleSet *ManagedRuleSet_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedRuleSet_STATUS) PopulateFromARM

func (ruleSet *ManagedRuleSet_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MatchCondition

type MatchCondition struct {
	// +kubebuilder:validation:Required
	// MatchValue: List of possible match values.
	MatchValue []string `json:"matchValue,omitempty"`

	// +kubebuilder:validation:Required
	// MatchVariable: Request variable to compare with.
	MatchVariable *MatchCondition_MatchVariable `json:"matchVariable,omitempty"`

	// NegateCondition: Describes if the result of this condition should be negated.
	NegateCondition *bool `json:"negateCondition,omitempty"`

	// +kubebuilder:validation:Required
	// Operator: Comparison type to use for matching with the variable value.
	Operator *MatchCondition_Operator `json:"operator,omitempty"`

	// Selector: Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is
	// null.
	Selector *string `json:"selector,omitempty"`

	// Transforms: List of transforms.
	Transforms []TransformType `json:"transforms,omitempty"`
}

Define a match condition.

func (*MatchCondition) AssignProperties_From_MatchCondition

func (condition *MatchCondition) AssignProperties_From_MatchCondition(source *storage.MatchCondition) error

AssignProperties_From_MatchCondition populates our MatchCondition from the provided source MatchCondition

func (*MatchCondition) AssignProperties_To_MatchCondition

func (condition *MatchCondition) AssignProperties_To_MatchCondition(destination *storage.MatchCondition) error

AssignProperties_To_MatchCondition populates the provided destination MatchCondition from our MatchCondition

func (*MatchCondition) ConvertToARM

func (condition *MatchCondition) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MatchCondition) DeepCopy

func (in *MatchCondition) DeepCopy() *MatchCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchCondition.

func (*MatchCondition) DeepCopyInto

func (in *MatchCondition) DeepCopyInto(out *MatchCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MatchCondition) Initialize_From_MatchCondition_STATUS

func (condition *MatchCondition) Initialize_From_MatchCondition_STATUS(source *MatchCondition_STATUS) error

Initialize_From_MatchCondition_STATUS populates our MatchCondition from the provided source MatchCondition_STATUS

func (*MatchCondition) NewEmptyARMValue

func (condition *MatchCondition) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MatchCondition) PopulateFromARM

func (condition *MatchCondition) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MatchCondition_MatchVariable

type MatchCondition_MatchVariable string

+kubebuilder:validation:Enum={"Cookies","PostArgs","QueryString","RemoteAddr","RequestBody","RequestHeader","RequestMethod","RequestUri","SocketAddr"}

type MatchCondition_MatchVariable_STATUS

type MatchCondition_MatchVariable_STATUS string

type MatchCondition_Operator

type MatchCondition_Operator string

+kubebuilder:validation:Enum={"Any","BeginsWith","Contains","EndsWith","Equal","GeoMatch","GreaterThan","GreaterThanOrEqual","IPMatch","LessThan","LessThanOrEqual","RegEx"}

type MatchCondition_Operator_STATUS

type MatchCondition_Operator_STATUS string

type MatchCondition_STATUS

type MatchCondition_STATUS struct {
	// MatchValue: List of possible match values.
	MatchValue []string `json:"matchValue,omitempty"`

	// MatchVariable: Request variable to compare with.
	MatchVariable *MatchCondition_MatchVariable_STATUS `json:"matchVariable,omitempty"`

	// NegateCondition: Describes if the result of this condition should be negated.
	NegateCondition *bool `json:"negateCondition,omitempty"`

	// Operator: Comparison type to use for matching with the variable value.
	Operator *MatchCondition_Operator_STATUS `json:"operator,omitempty"`

	// Selector: Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is
	// null.
	Selector *string `json:"selector,omitempty"`

	// Transforms: List of transforms.
	Transforms []TransformType_STATUS `json:"transforms,omitempty"`
}

Define a match condition.

func (*MatchCondition_STATUS) AssignProperties_From_MatchCondition_STATUS

func (condition *MatchCondition_STATUS) AssignProperties_From_MatchCondition_STATUS(source *storage.MatchCondition_STATUS) error

AssignProperties_From_MatchCondition_STATUS populates our MatchCondition_STATUS from the provided source MatchCondition_STATUS

func (*MatchCondition_STATUS) AssignProperties_To_MatchCondition_STATUS

func (condition *MatchCondition_STATUS) AssignProperties_To_MatchCondition_STATUS(destination *storage.MatchCondition_STATUS) error

AssignProperties_To_MatchCondition_STATUS populates the provided destination MatchCondition_STATUS from our MatchCondition_STATUS

func (*MatchCondition_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchCondition_STATUS.

func (*MatchCondition_STATUS) DeepCopyInto

func (in *MatchCondition_STATUS) DeepCopyInto(out *MatchCondition_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MatchCondition_STATUS) NewEmptyARMValue

func (condition *MatchCondition_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MatchCondition_STATUS) PopulateFromARM

func (condition *MatchCondition_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PolicySettings

type PolicySettings struct {
	// +kubebuilder:validation:Pattern="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
	// CustomBlockResponseBody: If the action type is block, customer can override the response body. The body must be
	// specified in base64 encoding.
	CustomBlockResponseBody *string `json:"customBlockResponseBody,omitempty"`

	// CustomBlockResponseStatusCode: If the action type is block, customer can override the response status code.
	CustomBlockResponseStatusCode *int `json:"customBlockResponseStatusCode,omitempty"`

	// EnabledState: Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
	EnabledState *PolicySettings_EnabledState `json:"enabledState,omitempty"`

	// Mode: Describes if it is in detection mode or prevention mode at policy level.
	Mode *PolicySettings_Mode `json:"mode,omitempty"`

	// RedirectUrl: If action type is redirect, this field represents redirect URL for the client.
	RedirectUrl *string `json:"redirectUrl,omitempty"`

	// RequestBodyCheck: Describes if policy managed rules will inspect the request body content.
	RequestBodyCheck *PolicySettings_RequestBodyCheck `json:"requestBodyCheck,omitempty"`
}

Defines top-level WebApplicationFirewallPolicy configuration settings.

func (*PolicySettings) AssignProperties_From_PolicySettings

func (settings *PolicySettings) AssignProperties_From_PolicySettings(source *storage.PolicySettings) error

AssignProperties_From_PolicySettings populates our PolicySettings from the provided source PolicySettings

func (*PolicySettings) AssignProperties_To_PolicySettings

func (settings *PolicySettings) AssignProperties_To_PolicySettings(destination *storage.PolicySettings) error

AssignProperties_To_PolicySettings populates the provided destination PolicySettings from our PolicySettings

func (*PolicySettings) ConvertToARM

func (settings *PolicySettings) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*PolicySettings) DeepCopy

func (in *PolicySettings) DeepCopy() *PolicySettings

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySettings.

func (*PolicySettings) DeepCopyInto

func (in *PolicySettings) DeepCopyInto(out *PolicySettings)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PolicySettings) Initialize_From_PolicySettings_STATUS

func (settings *PolicySettings) Initialize_From_PolicySettings_STATUS(source *PolicySettings_STATUS) error

Initialize_From_PolicySettings_STATUS populates our PolicySettings from the provided source PolicySettings_STATUS

func (*PolicySettings) NewEmptyARMValue

func (settings *PolicySettings) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PolicySettings) PopulateFromARM

func (settings *PolicySettings) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PolicySettings_EnabledState

type PolicySettings_EnabledState string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type PolicySettings_EnabledState_STATUS

type PolicySettings_EnabledState_STATUS string

type PolicySettings_Mode

type PolicySettings_Mode string

+kubebuilder:validation:Enum={"Detection","Prevention"}

type PolicySettings_Mode_STATUS

type PolicySettings_Mode_STATUS string

type PolicySettings_RequestBodyCheck

type PolicySettings_RequestBodyCheck string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type PolicySettings_RequestBodyCheck_STATUS

type PolicySettings_RequestBodyCheck_STATUS string

type PolicySettings_STATUS

type PolicySettings_STATUS struct {
	// CustomBlockResponseBody: If the action type is block, customer can override the response body. The body must be
	// specified in base64 encoding.
	CustomBlockResponseBody *string `json:"customBlockResponseBody,omitempty"`

	// CustomBlockResponseStatusCode: If the action type is block, customer can override the response status code.
	CustomBlockResponseStatusCode *int `json:"customBlockResponseStatusCode,omitempty"`

	// EnabledState: Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
	EnabledState *PolicySettings_EnabledState_STATUS `json:"enabledState,omitempty"`

	// Mode: Describes if it is in detection mode or prevention mode at policy level.
	Mode *PolicySettings_Mode_STATUS `json:"mode,omitempty"`

	// RedirectUrl: If action type is redirect, this field represents redirect URL for the client.
	RedirectUrl *string `json:"redirectUrl,omitempty"`

	// RequestBodyCheck: Describes if policy managed rules will inspect the request body content.
	RequestBodyCheck *PolicySettings_RequestBodyCheck_STATUS `json:"requestBodyCheck,omitempty"`
}

Defines top-level WebApplicationFirewallPolicy configuration settings.

func (*PolicySettings_STATUS) AssignProperties_From_PolicySettings_STATUS

func (settings *PolicySettings_STATUS) AssignProperties_From_PolicySettings_STATUS(source *storage.PolicySettings_STATUS) error

AssignProperties_From_PolicySettings_STATUS populates our PolicySettings_STATUS from the provided source PolicySettings_STATUS

func (*PolicySettings_STATUS) AssignProperties_To_PolicySettings_STATUS

func (settings *PolicySettings_STATUS) AssignProperties_To_PolicySettings_STATUS(destination *storage.PolicySettings_STATUS) error

AssignProperties_To_PolicySettings_STATUS populates the provided destination PolicySettings_STATUS from our PolicySettings_STATUS

func (*PolicySettings_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySettings_STATUS.

func (*PolicySettings_STATUS) DeepCopyInto

func (in *PolicySettings_STATUS) DeepCopyInto(out *PolicySettings_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PolicySettings_STATUS) NewEmptyARMValue

func (settings *PolicySettings_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PolicySettings_STATUS) PopulateFromARM

func (settings *PolicySettings_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RoutingRuleLink_STATUS struct {
	// Id: Resource ID.
	Id *string `json:"id,omitempty"`
}

Defines the Resource ID for a Routing Rule.

func (link *RoutingRuleLink_STATUS) AssignProperties_From_RoutingRuleLink_STATUS(source *storage.RoutingRuleLink_STATUS) error

AssignProperties_From_RoutingRuleLink_STATUS populates our RoutingRuleLink_STATUS from the provided source RoutingRuleLink_STATUS

func (link *RoutingRuleLink_STATUS) AssignProperties_To_RoutingRuleLink_STATUS(destination *storage.RoutingRuleLink_STATUS) error

AssignProperties_To_RoutingRuleLink_STATUS populates the provided destination RoutingRuleLink_STATUS from our RoutingRuleLink_STATUS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingRuleLink_STATUS.

func (in *RoutingRuleLink_STATUS) DeepCopyInto(out *RoutingRuleLink_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (link *RoutingRuleLink_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (link *RoutingRuleLink_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SecurityPolicyLink_STATUS struct {
	// Id: Resource ID.
	Id *string `json:"id,omitempty"`
}

Defines the Resource ID for a Security Policy.

func (link *SecurityPolicyLink_STATUS) AssignProperties_From_SecurityPolicyLink_STATUS(source *storage.SecurityPolicyLink_STATUS) error

AssignProperties_From_SecurityPolicyLink_STATUS populates our SecurityPolicyLink_STATUS from the provided source SecurityPolicyLink_STATUS

func (link *SecurityPolicyLink_STATUS) AssignProperties_To_SecurityPolicyLink_STATUS(destination *storage.SecurityPolicyLink_STATUS) error

AssignProperties_To_SecurityPolicyLink_STATUS populates the provided destination SecurityPolicyLink_STATUS from our SecurityPolicyLink_STATUS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyLink_STATUS.

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (link *SecurityPolicyLink_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (link *SecurityPolicyLink_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Sku

type Sku struct {
	// Name: Name of the pricing tier.
	Name *Sku_Name `json:"name,omitempty"`
}

The pricing tier of the web application firewall policy.

func (*Sku) AssignProperties_From_Sku

func (sku *Sku) AssignProperties_From_Sku(source *storage.Sku) error

AssignProperties_From_Sku populates our Sku from the provided source Sku

func (*Sku) AssignProperties_To_Sku

func (sku *Sku) AssignProperties_To_Sku(destination *storage.Sku) error

AssignProperties_To_Sku populates the provided destination Sku from our Sku

func (*Sku) ConvertToARM

func (sku *Sku) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Sku) DeepCopy

func (in *Sku) DeepCopy() *Sku

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku.

func (*Sku) DeepCopyInto

func (in *Sku) DeepCopyInto(out *Sku)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Sku) Initialize_From_Sku_STATUS

func (sku *Sku) Initialize_From_Sku_STATUS(source *Sku_STATUS) error

Initialize_From_Sku_STATUS populates our Sku from the provided source Sku_STATUS

func (*Sku) NewEmptyARMValue

func (sku *Sku) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku) PopulateFromARM

func (sku *Sku) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Sku_Name

type Sku_Name string

+kubebuilder:validation:Enum={"Classic_AzureFrontDoor","Premium_AzureFrontDoor","Standard_AzureFrontDoor"}

type Sku_Name_STATUS

type Sku_Name_STATUS string

type Sku_STATUS

type Sku_STATUS struct {
	// Name: Name of the pricing tier.
	Name *Sku_Name_STATUS `json:"name,omitempty"`
}

The pricing tier of the web application firewall policy.

func (*Sku_STATUS) AssignProperties_From_Sku_STATUS

func (sku *Sku_STATUS) AssignProperties_From_Sku_STATUS(source *storage.Sku_STATUS) error

AssignProperties_From_Sku_STATUS populates our Sku_STATUS from the provided source Sku_STATUS

func (*Sku_STATUS) AssignProperties_To_Sku_STATUS

func (sku *Sku_STATUS) AssignProperties_To_Sku_STATUS(destination *storage.Sku_STATUS) error

AssignProperties_To_Sku_STATUS populates the provided destination Sku_STATUS from our Sku_STATUS

func (*Sku_STATUS) DeepCopy

func (in *Sku_STATUS) DeepCopy() *Sku_STATUS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku_STATUS.

func (*Sku_STATUS) DeepCopyInto

func (in *Sku_STATUS) DeepCopyInto(out *Sku_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Sku_STATUS) NewEmptyARMValue

func (sku *Sku_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku_STATUS) PopulateFromARM

func (sku *Sku_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type TransformType

type TransformType string

Describes what transforms applied before matching. +kubebuilder:validation:Enum={"Lowercase","RemoveNulls","Trim","Uppercase","UrlDecode","UrlEncode"}

type TransformType_STATUS

type TransformType_STATUS string

Describes what transforms applied before matching.

type WebApplicationFirewallPolicy

type WebApplicationFirewallPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WebApplicationFirewallPolicy_Spec   `json:"spec,omitempty"`
	Status            WebApplicationFirewallPolicy_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /frontdoor/resource-manager/Microsoft.Network/stable/2022-05-01/webapplicationfirewall.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}

func (*WebApplicationFirewallPolicy) AssignProperties_From_WebApplicationFirewallPolicy

func (policy *WebApplicationFirewallPolicy) AssignProperties_From_WebApplicationFirewallPolicy(source *storage.WebApplicationFirewallPolicy) error

AssignProperties_From_WebApplicationFirewallPolicy populates our WebApplicationFirewallPolicy from the provided source WebApplicationFirewallPolicy

func (*WebApplicationFirewallPolicy) AssignProperties_To_WebApplicationFirewallPolicy

func (policy *WebApplicationFirewallPolicy) AssignProperties_To_WebApplicationFirewallPolicy(destination *storage.WebApplicationFirewallPolicy) error

AssignProperties_To_WebApplicationFirewallPolicy populates the provided destination WebApplicationFirewallPolicy from our WebApplicationFirewallPolicy

func (*WebApplicationFirewallPolicy) AzureName

func (policy *WebApplicationFirewallPolicy) AzureName() string

AzureName returns the Azure name of the resource

func (*WebApplicationFirewallPolicy) ConfigMapDestinationExpressions added in v2.11.0

func (policy *WebApplicationFirewallPolicy) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*WebApplicationFirewallPolicy) ConvertFrom

func (policy *WebApplicationFirewallPolicy) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our WebApplicationFirewallPolicy from the provided hub WebApplicationFirewallPolicy

func (*WebApplicationFirewallPolicy) ConvertTo

func (policy *WebApplicationFirewallPolicy) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub WebApplicationFirewallPolicy from our WebApplicationFirewallPolicy

func (*WebApplicationFirewallPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationFirewallPolicy.

func (*WebApplicationFirewallPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebApplicationFirewallPolicy) DeepCopyObject

func (in *WebApplicationFirewallPolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WebApplicationFirewallPolicy) Default

func (policy *WebApplicationFirewallPolicy) Default()

Default applies defaults to the WebApplicationFirewallPolicy resource

func (WebApplicationFirewallPolicy) GetAPIVersion

func (policy WebApplicationFirewallPolicy) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2022-05-01"

func (*WebApplicationFirewallPolicy) GetConditions

func (policy *WebApplicationFirewallPolicy) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*WebApplicationFirewallPolicy) GetResourceScope

func (policy *WebApplicationFirewallPolicy) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*WebApplicationFirewallPolicy) GetSpec

GetSpec returns the specification of this resource

func (*WebApplicationFirewallPolicy) GetStatus

GetStatus returns the status of this resource

func (*WebApplicationFirewallPolicy) GetSupportedOperations

func (policy *WebApplicationFirewallPolicy) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*WebApplicationFirewallPolicy) GetType

func (policy *WebApplicationFirewallPolicy) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Network/FrontDoorWebApplicationFirewallPolicies"

func (*WebApplicationFirewallPolicy) InitializeSpec

func (policy *WebApplicationFirewallPolicy) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*WebApplicationFirewallPolicy) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*WebApplicationFirewallPolicy) OriginalGVK

func (policy *WebApplicationFirewallPolicy) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*WebApplicationFirewallPolicy) Owner

Owner returns the ResourceReference of the owner

func (*WebApplicationFirewallPolicy) SecretDestinationExpressions added in v2.11.0

func (policy *WebApplicationFirewallPolicy) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*WebApplicationFirewallPolicy) SetConditions

func (policy *WebApplicationFirewallPolicy) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*WebApplicationFirewallPolicy) SetStatus

SetStatus sets the status of this resource

func (*WebApplicationFirewallPolicy) ValidateCreate

func (policy *WebApplicationFirewallPolicy) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*WebApplicationFirewallPolicy) ValidateDelete

func (policy *WebApplicationFirewallPolicy) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*WebApplicationFirewallPolicy) ValidateUpdate

func (policy *WebApplicationFirewallPolicy) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type WebApplicationFirewallPolicyList

type WebApplicationFirewallPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []WebApplicationFirewallPolicy `json:"items"`
}

+kubebuilder:object:root=true Generator information: - Generated from: /frontdoor/resource-manager/Microsoft.Network/stable/2022-05-01/webapplicationfirewall.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}

func (*WebApplicationFirewallPolicyList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationFirewallPolicyList.

func (*WebApplicationFirewallPolicyList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebApplicationFirewallPolicyList) DeepCopyObject

func (in *WebApplicationFirewallPolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WebApplicationFirewallPolicyOperatorSpec added in v2.11.0

type WebApplicationFirewallPolicyOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*WebApplicationFirewallPolicyOperatorSpec) AssignProperties_From_WebApplicationFirewallPolicyOperatorSpec added in v2.11.0

func (operator *WebApplicationFirewallPolicyOperatorSpec) AssignProperties_From_WebApplicationFirewallPolicyOperatorSpec(source *storage.WebApplicationFirewallPolicyOperatorSpec) error

AssignProperties_From_WebApplicationFirewallPolicyOperatorSpec populates our WebApplicationFirewallPolicyOperatorSpec from the provided source WebApplicationFirewallPolicyOperatorSpec

func (*WebApplicationFirewallPolicyOperatorSpec) AssignProperties_To_WebApplicationFirewallPolicyOperatorSpec added in v2.11.0

func (operator *WebApplicationFirewallPolicyOperatorSpec) AssignProperties_To_WebApplicationFirewallPolicyOperatorSpec(destination *storage.WebApplicationFirewallPolicyOperatorSpec) error

AssignProperties_To_WebApplicationFirewallPolicyOperatorSpec populates the provided destination WebApplicationFirewallPolicyOperatorSpec from our WebApplicationFirewallPolicyOperatorSpec

func (*WebApplicationFirewallPolicyOperatorSpec) DeepCopy added in v2.11.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationFirewallPolicyOperatorSpec.

func (*WebApplicationFirewallPolicyOperatorSpec) DeepCopyInto added in v2.11.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebApplicationFirewallPolicyProperties_ResourceState_STATUS

type WebApplicationFirewallPolicyProperties_ResourceState_STATUS string

type WebApplicationFirewallPolicy_STATUS added in v2.10.0

type WebApplicationFirewallPolicy_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// CustomRules: Describes custom rules inside the policy.
	CustomRules *CustomRuleList_STATUS `json:"customRules,omitempty"`

	// Etag: Gets a unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`

	// FrontendEndpointLinks: Describes Frontend Endpoints associated with this Web Application Firewall policy.
	FrontendEndpointLinks []FrontendEndpointLink_STATUS `json:"frontendEndpointLinks,omitempty"`

	// Id: Resource ID.
	Id *string `json:"id,omitempty"`

	// Location: Resource location.
	Location *string `json:"location,omitempty"`

	// ManagedRules: Describes managed rules inside the policy.
	ManagedRules *ManagedRuleSetList_STATUS `json:"managedRules,omitempty"`

	// Name: Resource name.
	Name *string `json:"name,omitempty"`

	// PolicySettings: Describes settings for the policy.
	PolicySettings *PolicySettings_STATUS `json:"policySettings,omitempty"`

	// ProvisioningState: Provisioning state of the policy.
	ProvisioningState *string                                                      `json:"provisioningState,omitempty"`
	ResourceState     *WebApplicationFirewallPolicyProperties_ResourceState_STATUS `json:"resourceState,omitempty"`

	// RoutingRuleLinks: Describes Routing Rules associated with this Web Application Firewall policy.
	RoutingRuleLinks []RoutingRuleLink_STATUS `json:"routingRuleLinks,omitempty"`

	// SecurityPolicyLinks: Describes Security Policy associated with this Web Application Firewall policy.
	SecurityPolicyLinks []SecurityPolicyLink_STATUS `json:"securityPolicyLinks,omitempty"`

	// Sku: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
	Sku *Sku_STATUS `json:"sku,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// Type: Resource type.
	Type *string `json:"type,omitempty"`
}

func (*WebApplicationFirewallPolicy_STATUS) AssignProperties_From_WebApplicationFirewallPolicy_STATUS added in v2.10.0

func (policy *WebApplicationFirewallPolicy_STATUS) AssignProperties_From_WebApplicationFirewallPolicy_STATUS(source *storage.WebApplicationFirewallPolicy_STATUS) error

AssignProperties_From_WebApplicationFirewallPolicy_STATUS populates our WebApplicationFirewallPolicy_STATUS from the provided source WebApplicationFirewallPolicy_STATUS

func (*WebApplicationFirewallPolicy_STATUS) AssignProperties_To_WebApplicationFirewallPolicy_STATUS added in v2.10.0

func (policy *WebApplicationFirewallPolicy_STATUS) AssignProperties_To_WebApplicationFirewallPolicy_STATUS(destination *storage.WebApplicationFirewallPolicy_STATUS) error

AssignProperties_To_WebApplicationFirewallPolicy_STATUS populates the provided destination WebApplicationFirewallPolicy_STATUS from our WebApplicationFirewallPolicy_STATUS

func (*WebApplicationFirewallPolicy_STATUS) ConvertStatusFrom added in v2.10.0

func (policy *WebApplicationFirewallPolicy_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our WebApplicationFirewallPolicy_STATUS from the provided source

func (*WebApplicationFirewallPolicy_STATUS) ConvertStatusTo added in v2.10.0

func (policy *WebApplicationFirewallPolicy_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our WebApplicationFirewallPolicy_STATUS

func (*WebApplicationFirewallPolicy_STATUS) DeepCopy added in v2.10.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationFirewallPolicy_STATUS.

func (*WebApplicationFirewallPolicy_STATUS) DeepCopyInto added in v2.10.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebApplicationFirewallPolicy_STATUS) NewEmptyARMValue added in v2.10.0

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebApplicationFirewallPolicy_STATUS) PopulateFromARM added in v2.10.0

func (policy *WebApplicationFirewallPolicy_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebApplicationFirewallPolicy_Spec added in v2.10.0

type WebApplicationFirewallPolicy_Spec struct {
	// +kubebuilder:validation:MaxLength=128
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// CustomRules: Describes custom rules inside the policy.
	CustomRules *CustomRuleList `json:"customRules,omitempty"`

	// Etag: Gets a unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`

	// Location: Resource location.
	Location *string `json:"location,omitempty"`

	// ManagedRules: Describes managed rules inside the policy.
	ManagedRules *ManagedRuleSetList `json:"managedRules,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *WebApplicationFirewallPolicyOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a resources.azure.com/ResourceGroup resource
	Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`

	// PolicySettings: Describes settings for the policy.
	PolicySettings *PolicySettings `json:"policySettings,omitempty"`

	// Sku: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
	Sku *Sku `json:"sku,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`
}

func (*WebApplicationFirewallPolicy_Spec) AssignProperties_From_WebApplicationFirewallPolicy_Spec added in v2.10.0

func (policy *WebApplicationFirewallPolicy_Spec) AssignProperties_From_WebApplicationFirewallPolicy_Spec(source *storage.WebApplicationFirewallPolicy_Spec) error

AssignProperties_From_WebApplicationFirewallPolicy_Spec populates our WebApplicationFirewallPolicy_Spec from the provided source WebApplicationFirewallPolicy_Spec

func (*WebApplicationFirewallPolicy_Spec) AssignProperties_To_WebApplicationFirewallPolicy_Spec added in v2.10.0

func (policy *WebApplicationFirewallPolicy_Spec) AssignProperties_To_WebApplicationFirewallPolicy_Spec(destination *storage.WebApplicationFirewallPolicy_Spec) error

AssignProperties_To_WebApplicationFirewallPolicy_Spec populates the provided destination WebApplicationFirewallPolicy_Spec from our WebApplicationFirewallPolicy_Spec

func (*WebApplicationFirewallPolicy_Spec) ConvertSpecFrom added in v2.10.0

func (policy *WebApplicationFirewallPolicy_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our WebApplicationFirewallPolicy_Spec from the provided source

func (*WebApplicationFirewallPolicy_Spec) ConvertSpecTo added in v2.10.0

func (policy *WebApplicationFirewallPolicy_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our WebApplicationFirewallPolicy_Spec

func (*WebApplicationFirewallPolicy_Spec) ConvertToARM added in v2.10.0

func (policy *WebApplicationFirewallPolicy_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*WebApplicationFirewallPolicy_Spec) DeepCopy added in v2.10.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationFirewallPolicy_Spec.

func (*WebApplicationFirewallPolicy_Spec) DeepCopyInto added in v2.10.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebApplicationFirewallPolicy_Spec) Initialize_From_WebApplicationFirewallPolicy_STATUS added in v2.10.0

func (policy *WebApplicationFirewallPolicy_Spec) Initialize_From_WebApplicationFirewallPolicy_STATUS(source *WebApplicationFirewallPolicy_STATUS) error

Initialize_From_WebApplicationFirewallPolicy_STATUS populates our WebApplicationFirewallPolicy_Spec from the provided source WebApplicationFirewallPolicy_STATUS

func (*WebApplicationFirewallPolicy_Spec) NewEmptyARMValue added in v2.10.0

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebApplicationFirewallPolicy_Spec) OriginalVersion added in v2.10.0

func (policy *WebApplicationFirewallPolicy_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*WebApplicationFirewallPolicy_Spec) PopulateFromARM added in v2.10.0

func (policy *WebApplicationFirewallPolicy_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*WebApplicationFirewallPolicy_Spec) SetAzureName added in v2.10.0

func (policy *WebApplicationFirewallPolicy_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Package storage contains API Schema definitions for the network.frontdoor storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=network.frontdoor.azure.com +versionName=v1api20220501storage
Package storage contains API Schema definitions for the network.frontdoor storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=network.frontdoor.azure.com +versionName=v1api20220501storage

Jump to

Keyboard shortcuts

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