v1alpha1

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dayu.tencentcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "dayu.tencentcloud.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	CcHttpPolicy_Kind             = "CcHttpPolicy"
	CcHttpPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CcHttpPolicy_Kind}.String()
	CcHttpPolicy_KindAPIVersion   = CcHttpPolicy_Kind + "." + CRDGroupVersion.String()
	CcHttpPolicy_GroupVersionKind = CRDGroupVersion.WithKind(CcHttpPolicy_Kind)
)

Repository type metadata.

View Source
var (
	CcHttpsPolicy_Kind             = "CcHttpsPolicy"
	CcHttpsPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CcHttpsPolicy_Kind}.String()
	CcHttpsPolicy_KindAPIVersion   = CcHttpsPolicy_Kind + "." + CRDGroupVersion.String()
	CcHttpsPolicy_GroupVersionKind = CRDGroupVersion.WithKind(CcHttpsPolicy_Kind)
)

Repository type metadata.

View Source
var (
	CcPolicyV2_Kind             = "CcPolicyV2"
	CcPolicyV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CcPolicyV2_Kind}.String()
	CcPolicyV2_KindAPIVersion   = CcPolicyV2_Kind + "." + CRDGroupVersion.String()
	CcPolicyV2_GroupVersionKind = CRDGroupVersion.WithKind(CcPolicyV2_Kind)
)

Repository type metadata.

View Source
var (
	DayuEip_Kind             = "DayuEip"
	DayuEip_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DayuEip_Kind}.String()
	DayuEip_KindAPIVersion   = DayuEip_Kind + "." + CRDGroupVersion.String()
	DayuEip_GroupVersionKind = CRDGroupVersion.WithKind(DayuEip_Kind)
)

Repository type metadata.

View Source
var (
	DdosPolicy_Kind             = "DdosPolicy"
	DdosPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DdosPolicy_Kind}.String()
	DdosPolicy_KindAPIVersion   = DdosPolicy_Kind + "." + CRDGroupVersion.String()
	DdosPolicy_GroupVersionKind = CRDGroupVersion.WithKind(DdosPolicy_Kind)
)

Repository type metadata.

View Source
var (
	DdosPolicyAttachment_Kind             = "DdosPolicyAttachment"
	DdosPolicyAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DdosPolicyAttachment_Kind}.String()
	DdosPolicyAttachment_KindAPIVersion   = DdosPolicyAttachment_Kind + "." + CRDGroupVersion.String()
	DdosPolicyAttachment_GroupVersionKind = CRDGroupVersion.WithKind(DdosPolicyAttachment_Kind)
)

Repository type metadata.

View Source
var (
	DdosPolicyCase_Kind             = "DdosPolicyCase"
	DdosPolicyCase_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DdosPolicyCase_Kind}.String()
	DdosPolicyCase_KindAPIVersion   = DdosPolicyCase_Kind + "." + CRDGroupVersion.String()
	DdosPolicyCase_GroupVersionKind = CRDGroupVersion.WithKind(DdosPolicyCase_Kind)
)

Repository type metadata.

View Source
var (
	DdosPolicyV2_Kind             = "DdosPolicyV2"
	DdosPolicyV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DdosPolicyV2_Kind}.String()
	DdosPolicyV2_KindAPIVersion   = DdosPolicyV2_Kind + "." + CRDGroupVersion.String()
	DdosPolicyV2_GroupVersionKind = CRDGroupVersion.WithKind(DdosPolicyV2_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	L4Rule_Kind             = "L4Rule"
	L4Rule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: L4Rule_Kind}.String()
	L4Rule_KindAPIVersion   = L4Rule_Kind + "." + CRDGroupVersion.String()
	L4Rule_GroupVersionKind = CRDGroupVersion.WithKind(L4Rule_Kind)
)

Repository type metadata.

View Source
var (
	L4RuleV2_Kind             = "L4RuleV2"
	L4RuleV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: L4RuleV2_Kind}.String()
	L4RuleV2_KindAPIVersion   = L4RuleV2_Kind + "." + CRDGroupVersion.String()
	L4RuleV2_GroupVersionKind = CRDGroupVersion.WithKind(L4RuleV2_Kind)
)

Repository type metadata.

View Source
var (
	L7Rule_Kind             = "L7Rule"
	L7Rule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: L7Rule_Kind}.String()
	L7Rule_KindAPIVersion   = L7Rule_Kind + "." + CRDGroupVersion.String()
	L7Rule_GroupVersionKind = CRDGroupVersion.WithKind(L7Rule_Kind)
)

Repository type metadata.

View Source
var (
	L7RuleV2_Kind             = "L7RuleV2"
	L7RuleV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: L7RuleV2_Kind}.String()
	L7RuleV2_KindAPIVersion   = L7RuleV2_Kind + "." + CRDGroupVersion.String()
	L7RuleV2_GroupVersionKind = CRDGroupVersion.WithKind(L7RuleV2_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AclsInitParameters added in v0.8.0

type AclsInitParameters struct {

	// Block action, take the value [drop, trans].
	// Action, optional values: drop, transmit, forward.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
	// The destination port ends, and the value range is 0~65535.
	DPortEnd *float64 `json:"dPortEnd,omitempty" tf:"d_port_end,omitempty"`

	// From the destination port, take the value 0~65535.
	// The destination port starts, and the value range is 0~65535.
	DPortStart *float64 `json:"dPortStart,omitempty" tf:"d_port_start,omitempty"`

	// Protocol type, desirable values tcp, udp, all.
	// Protocol type, desirable values tcp, udp, all.
	ForwardProtocol *string `json:"forwardProtocol,omitempty" tf:"forward_protocol,omitempty"`

	// Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
	// Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// The source port ends, and the acceptable value ranges from 0 to 65535.
	// The source port ends, and the acceptable value ranges from 0 to 65535.
	SPortEnd *float64 `json:"sPortEnd,omitempty" tf:"s_port_end,omitempty"`

	// The source port starts, and the value range is 0~65535.
	// The source port starts, and the value range is 0~65535.
	SPortStart *float64 `json:"sPortStart,omitempty" tf:"s_port_start,omitempty"`
}

func (*AclsInitParameters) DeepCopy added in v0.8.0

func (in *AclsInitParameters) DeepCopy() *AclsInitParameters

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

func (*AclsInitParameters) DeepCopyInto added in v0.8.0

func (in *AclsInitParameters) DeepCopyInto(out *AclsInitParameters)

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

type AclsObservation

type AclsObservation struct {

	// Block action, take the value [drop, trans].
	// Action, optional values: drop, transmit, forward.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
	// The destination port ends, and the value range is 0~65535.
	DPortEnd *float64 `json:"dPortEnd,omitempty" tf:"d_port_end,omitempty"`

	// From the destination port, take the value 0~65535.
	// The destination port starts, and the value range is 0~65535.
	DPortStart *float64 `json:"dPortStart,omitempty" tf:"d_port_start,omitempty"`

	// Protocol type, desirable values tcp, udp, all.
	// Protocol type, desirable values tcp, udp, all.
	ForwardProtocol *string `json:"forwardProtocol,omitempty" tf:"forward_protocol,omitempty"`

	// Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
	// Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// The source port ends, and the acceptable value ranges from 0 to 65535.
	// The source port ends, and the acceptable value ranges from 0 to 65535.
	SPortEnd *float64 `json:"sPortEnd,omitempty" tf:"s_port_end,omitempty"`

	// The source port starts, and the value range is 0~65535.
	// The source port starts, and the value range is 0~65535.
	SPortStart *float64 `json:"sPortStart,omitempty" tf:"s_port_start,omitempty"`
}

func (*AclsObservation) DeepCopy

func (in *AclsObservation) DeepCopy() *AclsObservation

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

func (*AclsObservation) DeepCopyInto

func (in *AclsObservation) DeepCopyInto(out *AclsObservation)

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

type AclsParameters

type AclsParameters struct {

	// Block action, take the value [drop, trans].
	// Action, optional values: drop, transmit, forward.
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
	// The destination port ends, and the value range is 0~65535.
	// +kubebuilder:validation:Optional
	DPortEnd *float64 `json:"dPortEnd" tf:"d_port_end,omitempty"`

	// From the destination port, take the value 0~65535.
	// The destination port starts, and the value range is 0~65535.
	// +kubebuilder:validation:Optional
	DPortStart *float64 `json:"dPortStart" tf:"d_port_start,omitempty"`

	// Protocol type, desirable values tcp, udp, all.
	// Protocol type, desirable values tcp, udp, all.
	// +kubebuilder:validation:Optional
	ForwardProtocol *string `json:"forwardProtocol" tf:"forward_protocol,omitempty"`

	// Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
	// Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority" tf:"priority,omitempty"`

	// The source port ends, and the acceptable value ranges from 0 to 65535.
	// The source port ends, and the acceptable value ranges from 0 to 65535.
	// +kubebuilder:validation:Optional
	SPortEnd *float64 `json:"sPortEnd" tf:"s_port_end,omitempty"`

	// The source port starts, and the value range is 0~65535.
	// The source port starts, and the value range is 0~65535.
	// +kubebuilder:validation:Optional
	SPortStart *float64 `json:"sPortStart" tf:"s_port_start,omitempty"`
}

func (*AclsParameters) DeepCopy

func (in *AclsParameters) DeepCopy() *AclsParameters

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

func (*AclsParameters) DeepCopyInto

func (in *AclsParameters) DeepCopyInto(out *AclsParameters)

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

type BlackWhiteIpsInitParameters added in v0.8.0

type BlackWhiteIpsInitParameters struct {

	// Ip of resource instance.
	// Ip of resource instance.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// IP type, value [black(blacklist IP), white (whitelist IP)].
	// IP type, value [`black`(blacklist IP), `white` (whitelist IP)].
	IPType *string `json:"ipType,omitempty" tf:"ip_type,omitempty"`
}

func (*BlackWhiteIpsInitParameters) DeepCopy added in v0.8.0

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

func (*BlackWhiteIpsInitParameters) DeepCopyInto added in v0.8.0

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

type BlackWhiteIpsObservation

type BlackWhiteIpsObservation struct {

	// Ip of resource instance.
	// Ip of resource instance.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// IP type, value [black(blacklist IP), white (whitelist IP)].
	// IP type, value [`black`(blacklist IP), `white` (whitelist IP)].
	IPType *string `json:"ipType,omitempty" tf:"ip_type,omitempty"`
}

func (*BlackWhiteIpsObservation) DeepCopy

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

func (*BlackWhiteIpsObservation) DeepCopyInto

func (in *BlackWhiteIpsObservation) DeepCopyInto(out *BlackWhiteIpsObservation)

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

type BlackWhiteIpsParameters

type BlackWhiteIpsParameters struct {

	// Ip of resource instance.
	// Ip of resource instance.
	// +kubebuilder:validation:Optional
	IP *string `json:"ip" tf:"ip,omitempty"`

	// IP type, value [black(blacklist IP), white (whitelist IP)].
	// IP type, value [`black`(blacklist IP), `white` (whitelist IP)].
	// +kubebuilder:validation:Optional
	IPType *string `json:"ipType" tf:"ip_type,omitempty"`
}

func (*BlackWhiteIpsParameters) DeepCopy

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

func (*BlackWhiteIpsParameters) DeepCopyInto

func (in *BlackWhiteIpsParameters) DeepCopyInto(out *BlackWhiteIpsParameters)

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

type CcBlackWhiteIpsInitParameters added in v0.8.0

type CcBlackWhiteIpsInitParameters struct {

	// Blacklist and whitelist IP addresses.
	// Blacklist and whitelist IP addresses.
	BlackWhiteIP *string `json:"blackWhiteIp,omitempty" tf:"black_white_ip,omitempty"`

	// Create time.
	// Create time.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Domain.
	// Domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Modify time.
	// Modify time.
	ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"`

	// Protocol.
	// Protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// IP type, value [black(blacklist IP), white (whitelist IP)].
	// IP type, value [black(blacklist IP), white (whitelist IP)].
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*CcBlackWhiteIpsInitParameters) DeepCopy added in v0.8.0

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

func (*CcBlackWhiteIpsInitParameters) DeepCopyInto added in v0.8.0

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

type CcBlackWhiteIpsObservation

type CcBlackWhiteIpsObservation struct {

	// Blacklist and whitelist IP addresses.
	// Blacklist and whitelist IP addresses.
	BlackWhiteIP *string `json:"blackWhiteIp,omitempty" tf:"black_white_ip,omitempty"`

	// Create time.
	// Create time.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Domain.
	// Domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Modify time.
	// Modify time.
	ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"`

	// Protocol.
	// Protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// IP type, value [black(blacklist IP), white (whitelist IP)].
	// IP type, value [black(blacklist IP), white (whitelist IP)].
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*CcBlackWhiteIpsObservation) DeepCopy

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

func (*CcBlackWhiteIpsObservation) DeepCopyInto

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

type CcBlackWhiteIpsParameters

type CcBlackWhiteIpsParameters struct {

	// Blacklist and whitelist IP addresses.
	// Blacklist and whitelist IP addresses.
	// +kubebuilder:validation:Optional
	BlackWhiteIP *string `json:"blackWhiteIp" tf:"black_white_ip,omitempty"`

	// Create time.
	// Create time.
	// +kubebuilder:validation:Optional
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Domain.
	// Domain.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain" tf:"domain,omitempty"`

	// Modify time.
	// Modify time.
	// +kubebuilder:validation:Optional
	ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"`

	// Protocol.
	// Protocol.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`

	// IP type, value [black(blacklist IP), white (whitelist IP)].
	// IP type, value [black(blacklist IP), white (whitelist IP)].
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*CcBlackWhiteIpsParameters) DeepCopy

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

func (*CcBlackWhiteIpsParameters) DeepCopyInto

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

type CcGeoIPPolicysInitParameters added in v0.8.0

type CcGeoIPPolicysInitParameters struct {

	// User action, drop or arg.
	// User action, drop or arg.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The list of region IDs that the user selects to block.
	// The list of region IDs that the user selects to block.
	AreaList []*float64 `json:"areaList,omitempty" tf:"area_list,omitempty"`

	// Create time.
	// Create time.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Domain.
	// domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Modify time.
	// Modify time.
	ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"`

	// Protocol.
	// Protocol, preferably HTTP, HTTPS.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Regional types, divided into china, oversea and customized.
	// Regional types, divided into china, oversea and customized.
	RegionType *string `json:"regionType,omitempty" tf:"region_type,omitempty"`
}

func (*CcGeoIPPolicysInitParameters) DeepCopy added in v0.8.0

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

func (*CcGeoIPPolicysInitParameters) DeepCopyInto added in v0.8.0

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

type CcGeoIPPolicysObservation

type CcGeoIPPolicysObservation struct {

	// User action, drop or arg.
	// User action, drop or arg.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The list of region IDs that the user selects to block.
	// The list of region IDs that the user selects to block.
	AreaList []*float64 `json:"areaList,omitempty" tf:"area_list,omitempty"`

	// Create time.
	// Create time.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Domain.
	// domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Modify time.
	// Modify time.
	ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"`

	// Protocol.
	// Protocol, preferably HTTP, HTTPS.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Regional types, divided into china, oversea and customized.
	// Regional types, divided into china, oversea and customized.
	RegionType *string `json:"regionType,omitempty" tf:"region_type,omitempty"`
}

func (*CcGeoIPPolicysObservation) DeepCopy

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

func (*CcGeoIPPolicysObservation) DeepCopyInto

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

type CcGeoIPPolicysParameters

type CcGeoIPPolicysParameters struct {

	// User action, drop or arg.
	// User action, drop or arg.
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// The list of region IDs that the user selects to block.
	// The list of region IDs that the user selects to block.
	// +kubebuilder:validation:Optional
	AreaList []*float64 `json:"areaList,omitempty" tf:"area_list,omitempty"`

	// Create time.
	// Create time.
	// +kubebuilder:validation:Optional
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Domain.
	// domain.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain" tf:"domain,omitempty"`

	// Modify time.
	// Modify time.
	// +kubebuilder:validation:Optional
	ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"`

	// Protocol.
	// Protocol, preferably HTTP, HTTPS.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`

	// Regional types, divided into china, oversea and customized.
	// Regional types, divided into china, oversea and customized.
	// +kubebuilder:validation:Optional
	RegionType *string `json:"regionType" tf:"region_type,omitempty"`
}

func (*CcGeoIPPolicysParameters) DeepCopy

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

func (*CcGeoIPPolicysParameters) DeepCopyInto

func (in *CcGeoIPPolicysParameters) DeepCopyInto(out *CcGeoIPPolicysParameters)

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

type CcHttpPolicy added in v0.8.0

type CcHttpPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter"
	Spec   CcHttpPolicySpec   `json:"spec"`
	Status CcHttpPolicyStatus `json:"status,omitempty"`
}

CcHttpPolicy is the Schema for the CcHttpPolicys API. Use this resource to create a dayu CC self-define http policy +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*CcHttpPolicy) DeepCopy added in v0.8.0

func (in *CcHttpPolicy) DeepCopy() *CcHttpPolicy

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

func (*CcHttpPolicy) DeepCopyInto added in v0.8.0

func (in *CcHttpPolicy) DeepCopyInto(out *CcHttpPolicy)

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

func (*CcHttpPolicy) DeepCopyObject added in v0.8.0

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

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

func (*CcHttpPolicy) GetCondition added in v0.8.0

func (mg *CcHttpPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CcHttpPolicy.

func (*CcHttpPolicy) GetConnectionDetailsMapping added in v0.8.0

func (tr *CcHttpPolicy) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this CcHttpPolicy

func (*CcHttpPolicy) GetDeletionPolicy added in v0.8.0

func (mg *CcHttpPolicy) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CcHttpPolicy.

func (*CcHttpPolicy) GetID added in v0.8.0

func (tr *CcHttpPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this CcHttpPolicy

func (*CcHttpPolicy) GetInitParameters added in v0.8.0

func (tr *CcHttpPolicy) GetInitParameters() (map[string]any, error)

GetInitParameters of this CcHttpPolicy

func (*CcHttpPolicy) GetManagementPolicies added in v0.8.0

func (mg *CcHttpPolicy) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CcHttpPolicy.

func (*CcHttpPolicy) GetMergedParameters added in v0.8.1

func (tr *CcHttpPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this CcHttpPolicy

func (*CcHttpPolicy) GetObservation added in v0.8.0

func (tr *CcHttpPolicy) GetObservation() (map[string]any, error)

GetObservation of this CcHttpPolicy

func (*CcHttpPolicy) GetParameters added in v0.8.0

func (tr *CcHttpPolicy) GetParameters() (map[string]any, error)

GetParameters of this CcHttpPolicy

func (*CcHttpPolicy) GetProviderConfigReference added in v0.8.0

func (mg *CcHttpPolicy) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CcHttpPolicy.

func (*CcHttpPolicy) GetPublishConnectionDetailsTo added in v0.8.0

func (mg *CcHttpPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CcHttpPolicy.

func (*CcHttpPolicy) GetTerraformResourceType added in v0.8.0

func (mg *CcHttpPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CcHttpPolicy

func (*CcHttpPolicy) GetTerraformSchemaVersion added in v0.8.0

func (tr *CcHttpPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CcHttpPolicy) GetWriteConnectionSecretToReference added in v0.8.0

func (mg *CcHttpPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CcHttpPolicy.

func (*CcHttpPolicy) Hub added in v0.8.1

func (tr *CcHttpPolicy) Hub()

Hub marks this type as a conversion hub.

func (*CcHttpPolicy) LateInitialize added in v0.8.0

func (tr *CcHttpPolicy) LateInitialize(attrs []byte) (bool, error)

LateInitialize this CcHttpPolicy using its observed tfState. returns True if there are any spec changes for the resource.

func (*CcHttpPolicy) SetConditions added in v0.8.0

func (mg *CcHttpPolicy) SetConditions(c ...xpv1.Condition)

SetConditions of this CcHttpPolicy.

func (*CcHttpPolicy) SetDeletionPolicy added in v0.8.0

func (mg *CcHttpPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CcHttpPolicy.

func (*CcHttpPolicy) SetManagementPolicies added in v0.8.0

func (mg *CcHttpPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this CcHttpPolicy.

func (*CcHttpPolicy) SetObservation added in v0.8.0

func (tr *CcHttpPolicy) SetObservation(obs map[string]any) error

SetObservation for this CcHttpPolicy

func (*CcHttpPolicy) SetParameters added in v0.8.0

func (tr *CcHttpPolicy) SetParameters(params map[string]any) error

SetParameters for this CcHttpPolicy

func (*CcHttpPolicy) SetProviderConfigReference added in v0.8.0

func (mg *CcHttpPolicy) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CcHttpPolicy.

func (*CcHttpPolicy) SetPublishConnectionDetailsTo added in v0.8.0

func (mg *CcHttpPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CcHttpPolicy.

func (*CcHttpPolicy) SetWriteConnectionSecretToReference added in v0.8.0

func (mg *CcHttpPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CcHttpPolicy.

type CcHttpPolicyInitParameters added in v0.8.0

type CcHttpPolicyInitParameters struct {

	// Action mode, only valid when smode is matching. Valid values are alg and drop.
	// Action mode, only valid when `smode` is `matching`. Valid values are `alg` and `drop`.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Max frequency per minute, only valid when smode is speedlimit, the valid value ranges from 1 to 10000.
	// Max frequency per minute, only valid when `smode` is `speedlimit`, the valid value ranges from 1 to 10000.
	Frequency *float64 `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// Ip of the CC self-define http policy, only valid when resource_type is bgp-multip. The num of list items can only be set one.
	// Ip of the CC self-define http policy, only valid when `resource_type` is `bgp-multip`. The num of list items can only be set one.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// Name of the CC self-define http policy. Length should between 1 and 20.
	// Name of the CC self-define http policy. Length should between 1 and 20.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the resource that the CC self-define http policy works for.
	// ID of the resource that the CC self-define http policy works for.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the CC self-define http policy works for, valid values are bgpip, bgp, bgp-multip and net.
	// Type of the resource that the CC self-define http policy works for, valid values are `bgpip`, `bgp`, `bgp-multip` and `net`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// Rule list of the CC self-define http policy,  only valid when smode is matching.
	// Rule list of the CC self-define http policy,  only valid when `smode` is `matching`.
	RuleList []RuleListInitParameters `json:"ruleList,omitempty" tf:"rule_list,omitempty"`

	// Match mode, and valid values are matching, speedlimit. Note: the speed limit type CC self-define policy can only set one.
	// Match mode, and valid values are `matching`, `speedlimit`. Note: the speed limit type CC self-define policy can only set one.
	Smode *string `json:"smode,omitempty" tf:"smode,omitempty"`

	// Indicate the CC self-define http policy takes effect or not.
	// Indicate the CC self-define http policy takes effect or not.
	Switch *bool `json:"switch,omitempty" tf:"switch,omitempty"`
}

func (*CcHttpPolicyInitParameters) DeepCopy added in v0.8.0

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

func (*CcHttpPolicyInitParameters) DeepCopyInto added in v0.8.0

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

type CcHttpPolicyList added in v0.8.0

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

CcHttpPolicyList contains a list of CcHttpPolicys

func (*CcHttpPolicyList) DeepCopy added in v0.8.0

func (in *CcHttpPolicyList) DeepCopy() *CcHttpPolicyList

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

func (*CcHttpPolicyList) DeepCopyInto added in v0.8.0

func (in *CcHttpPolicyList) DeepCopyInto(out *CcHttpPolicyList)

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

func (*CcHttpPolicyList) DeepCopyObject added in v0.8.0

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

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

func (*CcHttpPolicyList) GetItems added in v0.8.0

func (l *CcHttpPolicyList) GetItems() []resource.Managed

GetItems of this CcHttpPolicyList.

type CcHttpPolicyObservation added in v0.8.0

type CcHttpPolicyObservation struct {

	// Action mode, only valid when smode is matching. Valid values are alg and drop.
	// Action mode, only valid when `smode` is `matching`. Valid values are `alg` and `drop`.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Create time of the CC self-define http policy.
	// Create time of the CC self-define http policy.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Max frequency per minute, only valid when smode is speedlimit, the valid value ranges from 1 to 10000.
	// Max frequency per minute, only valid when `smode` is `speedlimit`, the valid value ranges from 1 to 10000.
	Frequency *float64 `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Ip of the CC self-define http policy, only valid when resource_type is bgp-multip. The num of list items can only be set one.
	// Ip of the CC self-define http policy, only valid when `resource_type` is `bgp-multip`. The num of list items can only be set one.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// Name of the CC self-define http policy. Length should between 1 and 20.
	// Name of the CC self-define http policy. Length should between 1 and 20.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Id of the CC self-define http policy.
	// Id of the CC self-define http policy.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// ID of the resource that the CC self-define http policy works for.
	// ID of the resource that the CC self-define http policy works for.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the CC self-define http policy works for, valid values are bgpip, bgp, bgp-multip and net.
	// Type of the resource that the CC self-define http policy works for, valid values are `bgpip`, `bgp`, `bgp-multip` and `net`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// Rule list of the CC self-define http policy,  only valid when smode is matching.
	// Rule list of the CC self-define http policy,  only valid when `smode` is `matching`.
	RuleList []RuleListObservation `json:"ruleList,omitempty" tf:"rule_list,omitempty"`

	// Match mode, and valid values are matching, speedlimit. Note: the speed limit type CC self-define policy can only set one.
	// Match mode, and valid values are `matching`, `speedlimit`. Note: the speed limit type CC self-define policy can only set one.
	Smode *string `json:"smode,omitempty" tf:"smode,omitempty"`

	// Indicate the CC self-define http policy takes effect or not.
	// Indicate the CC self-define http policy takes effect or not.
	Switch *bool `json:"switch,omitempty" tf:"switch,omitempty"`
}

func (*CcHttpPolicyObservation) DeepCopy added in v0.8.0

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

func (*CcHttpPolicyObservation) DeepCopyInto added in v0.8.0

func (in *CcHttpPolicyObservation) DeepCopyInto(out *CcHttpPolicyObservation)

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

type CcHttpPolicyParameters added in v0.8.0

type CcHttpPolicyParameters struct {

	// Action mode, only valid when smode is matching. Valid values are alg and drop.
	// Action mode, only valid when `smode` is `matching`. Valid values are `alg` and `drop`.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Max frequency per minute, only valid when smode is speedlimit, the valid value ranges from 1 to 10000.
	// Max frequency per minute, only valid when `smode` is `speedlimit`, the valid value ranges from 1 to 10000.
	// +kubebuilder:validation:Optional
	Frequency *float64 `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// Ip of the CC self-define http policy, only valid when resource_type is bgp-multip. The num of list items can only be set one.
	// Ip of the CC self-define http policy, only valid when `resource_type` is `bgp-multip`. The num of list items can only be set one.
	// +kubebuilder:validation:Optional
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// Name of the CC self-define http policy. Length should between 1 and 20.
	// Name of the CC self-define http policy. Length should between 1 and 20.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the resource that the CC self-define http policy works for.
	// ID of the resource that the CC self-define http policy works for.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the CC self-define http policy works for, valid values are bgpip, bgp, bgp-multip and net.
	// Type of the resource that the CC self-define http policy works for, valid values are `bgpip`, `bgp`, `bgp-multip` and `net`.
	// +kubebuilder:validation:Optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// Rule list of the CC self-define http policy,  only valid when smode is matching.
	// Rule list of the CC self-define http policy,  only valid when `smode` is `matching`.
	// +kubebuilder:validation:Optional
	RuleList []RuleListParameters `json:"ruleList,omitempty" tf:"rule_list,omitempty"`

	// Match mode, and valid values are matching, speedlimit. Note: the speed limit type CC self-define policy can only set one.
	// Match mode, and valid values are `matching`, `speedlimit`. Note: the speed limit type CC self-define policy can only set one.
	// +kubebuilder:validation:Optional
	Smode *string `json:"smode,omitempty" tf:"smode,omitempty"`

	// Indicate the CC self-define http policy takes effect or not.
	// Indicate the CC self-define http policy takes effect or not.
	// +kubebuilder:validation:Optional
	Switch *bool `json:"switch,omitempty" tf:"switch,omitempty"`
}

func (*CcHttpPolicyParameters) DeepCopy added in v0.8.0

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

func (*CcHttpPolicyParameters) DeepCopyInto added in v0.8.0

func (in *CcHttpPolicyParameters) DeepCopyInto(out *CcHttpPolicyParameters)

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

type CcHttpPolicySpec added in v0.8.0

type CcHttpPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CcHttpPolicyParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider CcHttpPolicyInitParameters `json:"initProvider,omitempty"`
}

CcHttpPolicySpec defines the desired state of CcHttpPolicy

func (*CcHttpPolicySpec) DeepCopy added in v0.8.0

func (in *CcHttpPolicySpec) DeepCopy() *CcHttpPolicySpec

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

func (*CcHttpPolicySpec) DeepCopyInto added in v0.8.0

func (in *CcHttpPolicySpec) DeepCopyInto(out *CcHttpPolicySpec)

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

type CcHttpPolicyStatus added in v0.8.0

type CcHttpPolicyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CcHttpPolicyObservation `json:"atProvider,omitempty"`
}

CcHttpPolicyStatus defines the observed state of CcHttpPolicy.

func (*CcHttpPolicyStatus) DeepCopy added in v0.8.0

func (in *CcHttpPolicyStatus) DeepCopy() *CcHttpPolicyStatus

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

func (*CcHttpPolicyStatus) DeepCopyInto added in v0.8.0

func (in *CcHttpPolicyStatus) DeepCopyInto(out *CcHttpPolicyStatus)

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

type CcHttpsPolicy added in v0.8.0

type CcHttpsPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domain) || (has(self.initProvider) && has(self.initProvider.domain))",message="spec.forProvider.domain is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleId) || (has(self.initProvider) && has(self.initProvider.ruleId))",message="spec.forProvider.ruleId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleList) || (has(self.initProvider) && has(self.initProvider.ruleList))",message="spec.forProvider.ruleList is a required parameter"
	Spec   CcHttpsPolicySpec   `json:"spec"`
	Status CcHttpsPolicyStatus `json:"status,omitempty"`
}

CcHttpsPolicy is the Schema for the CcHttpsPolicys API. Use this resource to create a dayu CC self-define https policy +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*CcHttpsPolicy) DeepCopy added in v0.8.0

func (in *CcHttpsPolicy) DeepCopy() *CcHttpsPolicy

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

func (*CcHttpsPolicy) DeepCopyInto added in v0.8.0

func (in *CcHttpsPolicy) DeepCopyInto(out *CcHttpsPolicy)

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

func (*CcHttpsPolicy) DeepCopyObject added in v0.8.0

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

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

func (*CcHttpsPolicy) GetCondition added in v0.8.0

func (mg *CcHttpsPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CcHttpsPolicy.

func (*CcHttpsPolicy) GetConnectionDetailsMapping added in v0.8.0

func (tr *CcHttpsPolicy) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this CcHttpsPolicy

func (*CcHttpsPolicy) GetDeletionPolicy added in v0.8.0

func (mg *CcHttpsPolicy) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CcHttpsPolicy.

func (*CcHttpsPolicy) GetID added in v0.8.0

func (tr *CcHttpsPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this CcHttpsPolicy

func (*CcHttpsPolicy) GetInitParameters added in v0.8.0

func (tr *CcHttpsPolicy) GetInitParameters() (map[string]any, error)

GetInitParameters of this CcHttpsPolicy

func (*CcHttpsPolicy) GetManagementPolicies added in v0.8.0

func (mg *CcHttpsPolicy) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CcHttpsPolicy.

func (*CcHttpsPolicy) GetMergedParameters added in v0.8.1

func (tr *CcHttpsPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this CcHttpsPolicy

func (*CcHttpsPolicy) GetObservation added in v0.8.0

func (tr *CcHttpsPolicy) GetObservation() (map[string]any, error)

GetObservation of this CcHttpsPolicy

func (*CcHttpsPolicy) GetParameters added in v0.8.0

func (tr *CcHttpsPolicy) GetParameters() (map[string]any, error)

GetParameters of this CcHttpsPolicy

func (*CcHttpsPolicy) GetProviderConfigReference added in v0.8.0

func (mg *CcHttpsPolicy) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CcHttpsPolicy.

func (*CcHttpsPolicy) GetPublishConnectionDetailsTo added in v0.8.0

func (mg *CcHttpsPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CcHttpsPolicy.

func (*CcHttpsPolicy) GetTerraformResourceType added in v0.8.0

func (mg *CcHttpsPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CcHttpsPolicy

func (*CcHttpsPolicy) GetTerraformSchemaVersion added in v0.8.0

func (tr *CcHttpsPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CcHttpsPolicy) GetWriteConnectionSecretToReference added in v0.8.0

func (mg *CcHttpsPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CcHttpsPolicy.

func (*CcHttpsPolicy) Hub added in v0.8.1

func (tr *CcHttpsPolicy) Hub()

Hub marks this type as a conversion hub.

func (*CcHttpsPolicy) LateInitialize added in v0.8.0

func (tr *CcHttpsPolicy) LateInitialize(attrs []byte) (bool, error)

LateInitialize this CcHttpsPolicy using its observed tfState. returns True if there are any spec changes for the resource.

func (*CcHttpsPolicy) SetConditions added in v0.8.0

func (mg *CcHttpsPolicy) SetConditions(c ...xpv1.Condition)

SetConditions of this CcHttpsPolicy.

func (*CcHttpsPolicy) SetDeletionPolicy added in v0.8.0

func (mg *CcHttpsPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CcHttpsPolicy.

func (*CcHttpsPolicy) SetManagementPolicies added in v0.8.0

func (mg *CcHttpsPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this CcHttpsPolicy.

func (*CcHttpsPolicy) SetObservation added in v0.8.0

func (tr *CcHttpsPolicy) SetObservation(obs map[string]any) error

SetObservation for this CcHttpsPolicy

func (*CcHttpsPolicy) SetParameters added in v0.8.0

func (tr *CcHttpsPolicy) SetParameters(params map[string]any) error

SetParameters for this CcHttpsPolicy

func (*CcHttpsPolicy) SetProviderConfigReference added in v0.8.0

func (mg *CcHttpsPolicy) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CcHttpsPolicy.

func (*CcHttpsPolicy) SetPublishConnectionDetailsTo added in v0.8.0

func (mg *CcHttpsPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CcHttpsPolicy.

func (*CcHttpsPolicy) SetWriteConnectionSecretToReference added in v0.8.0

func (mg *CcHttpsPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CcHttpsPolicy.

type CcHttpsPolicyInitParameters added in v0.8.0

type CcHttpsPolicyInitParameters struct {

	// Action mode. Valid values are alg and drop.
	// Action mode. Valid values are `alg` and `drop`.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Domain that the CC self-define https policy works for, only valid when protocol is https.
	// Domain that the CC self-define https policy works for, only valid when `protocol` is `https`.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Name of the CC self-define https policy. Length should between 1 and 20.
	// Name of the CC self-define https policy. Length should between 1 and 20.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the resource that the CC self-define https policy works for.
	// ID of the resource that the CC self-define https policy works for.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the CC self-define https policy works for, valid value is bgpip.
	// Type of the resource that the CC self-define https policy works for, valid value is `bgpip`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// Rule id of the domain that the CC self-define https policy works for, only valid when protocol is https.
	// Rule id of the domain that the CC self-define https policy works for, only valid when `protocol` is `https`.
	RuleID *string `json:"ruleId,omitempty" tf:"rule_id,omitempty"`

	// Rule list of the CC self-define https policy.
	// Rule list of the CC self-define https policy.
	RuleList []CcHttpsPolicyRuleListInitParameters `json:"ruleList,omitempty" tf:"rule_list,omitempty"`

	// Indicate the CC self-define https policy takes effect or not.
	// Indicate the CC self-define https policy takes effect or not.
	Switch *bool `json:"switch,omitempty" tf:"switch,omitempty"`
}

func (*CcHttpsPolicyInitParameters) DeepCopy added in v0.8.0

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

func (*CcHttpsPolicyInitParameters) DeepCopyInto added in v0.8.0

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

type CcHttpsPolicyList added in v0.8.0

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

CcHttpsPolicyList contains a list of CcHttpsPolicys

func (*CcHttpsPolicyList) DeepCopy added in v0.8.0

func (in *CcHttpsPolicyList) DeepCopy() *CcHttpsPolicyList

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

func (*CcHttpsPolicyList) DeepCopyInto added in v0.8.0

func (in *CcHttpsPolicyList) DeepCopyInto(out *CcHttpsPolicyList)

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

func (*CcHttpsPolicyList) DeepCopyObject added in v0.8.0

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

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

func (*CcHttpsPolicyList) GetItems added in v0.8.0

func (l *CcHttpsPolicyList) GetItems() []resource.Managed

GetItems of this CcHttpsPolicyList.

type CcHttpsPolicyObservation added in v0.8.0

type CcHttpsPolicyObservation struct {

	// Action mode. Valid values are alg and drop.
	// Action mode. Valid values are `alg` and `drop`.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Create time of the CC self-define https policy.
	// Create time of the CC self-define https policy.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Domain that the CC self-define https policy works for, only valid when protocol is https.
	// Domain that the CC self-define https policy works for, only valid when `protocol` is `https`.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Ip of the CC self-define https policy.
	// Ip of the CC self-define https policy.
	// +listType=set
	IPList []*string `json:"ipList,omitempty" tf:"ip_list,omitempty"`

	// Name of the CC self-define https policy. Length should between 1 and 20.
	// Name of the CC self-define https policy. Length should between 1 and 20.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Id of the CC self-define https policy.
	// Id of the CC self-define https policy.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// ID of the resource that the CC self-define https policy works for.
	// ID of the resource that the CC self-define https policy works for.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the CC self-define https policy works for, valid value is bgpip.
	// Type of the resource that the CC self-define https policy works for, valid value is `bgpip`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// Rule id of the domain that the CC self-define https policy works for, only valid when protocol is https.
	// Rule id of the domain that the CC self-define https policy works for, only valid when `protocol` is `https`.
	RuleID *string `json:"ruleId,omitempty" tf:"rule_id,omitempty"`

	// Rule list of the CC self-define https policy.
	// Rule list of the CC self-define https policy.
	RuleList []CcHttpsPolicyRuleListObservation `json:"ruleList,omitempty" tf:"rule_list,omitempty"`

	// Indicate the CC self-define https policy takes effect or not.
	// Indicate the CC self-define https policy takes effect or not.
	Switch *bool `json:"switch,omitempty" tf:"switch,omitempty"`
}

func (*CcHttpsPolicyObservation) DeepCopy added in v0.8.0

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

func (*CcHttpsPolicyObservation) DeepCopyInto added in v0.8.0

func (in *CcHttpsPolicyObservation) DeepCopyInto(out *CcHttpsPolicyObservation)

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

type CcHttpsPolicyParameters added in v0.8.0

type CcHttpsPolicyParameters struct {

	// Action mode. Valid values are alg and drop.
	// Action mode. Valid values are `alg` and `drop`.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Domain that the CC self-define https policy works for, only valid when protocol is https.
	// Domain that the CC self-define https policy works for, only valid when `protocol` is `https`.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Name of the CC self-define https policy. Length should between 1 and 20.
	// Name of the CC self-define https policy. Length should between 1 and 20.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the resource that the CC self-define https policy works for.
	// ID of the resource that the CC self-define https policy works for.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the CC self-define https policy works for, valid value is bgpip.
	// Type of the resource that the CC self-define https policy works for, valid value is `bgpip`.
	// +kubebuilder:validation:Optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// Rule id of the domain that the CC self-define https policy works for, only valid when protocol is https.
	// Rule id of the domain that the CC self-define https policy works for, only valid when `protocol` is `https`.
	// +kubebuilder:validation:Optional
	RuleID *string `json:"ruleId,omitempty" tf:"rule_id,omitempty"`

	// Rule list of the CC self-define https policy.
	// Rule list of the CC self-define https policy.
	// +kubebuilder:validation:Optional
	RuleList []CcHttpsPolicyRuleListParameters `json:"ruleList,omitempty" tf:"rule_list,omitempty"`

	// Indicate the CC self-define https policy takes effect or not.
	// Indicate the CC self-define https policy takes effect or not.
	// +kubebuilder:validation:Optional
	Switch *bool `json:"switch,omitempty" tf:"switch,omitempty"`
}

func (*CcHttpsPolicyParameters) DeepCopy added in v0.8.0

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

func (*CcHttpsPolicyParameters) DeepCopyInto added in v0.8.0

func (in *CcHttpsPolicyParameters) DeepCopyInto(out *CcHttpsPolicyParameters)

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

type CcHttpsPolicyRuleListInitParameters added in v0.8.0

type CcHttpsPolicyRuleListInitParameters struct {

	// Operator of the rule. Valid values are include and equal.
	// Operator of the rule. Valid values are `include` and `equal`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Key of the rule. Valid values are cgi, ua and referer.
	// Key of the rule. Valid values are `cgi`, `ua` and `referer`.
	Skey *string `json:"skey,omitempty" tf:"skey,omitempty"`

	// Rule value, then length should be less than 31 bytes.
	// Rule value, then length should be less than 31 bytes.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*CcHttpsPolicyRuleListInitParameters) DeepCopy added in v0.8.0

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

func (*CcHttpsPolicyRuleListInitParameters) DeepCopyInto added in v0.8.0

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

type CcHttpsPolicyRuleListObservation added in v0.8.0

type CcHttpsPolicyRuleListObservation struct {

	// Operator of the rule. Valid values are include and equal.
	// Operator of the rule. Valid values are `include` and `equal`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Key of the rule. Valid values are cgi, ua and referer.
	// Key of the rule. Valid values are `cgi`, `ua` and `referer`.
	Skey *string `json:"skey,omitempty" tf:"skey,omitempty"`

	// Rule value, then length should be less than 31 bytes.
	// Rule value, then length should be less than 31 bytes.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*CcHttpsPolicyRuleListObservation) DeepCopy added in v0.8.0

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

func (*CcHttpsPolicyRuleListObservation) DeepCopyInto added in v0.8.0

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

type CcHttpsPolicyRuleListParameters added in v0.8.0

type CcHttpsPolicyRuleListParameters struct {

	// Operator of the rule. Valid values are include and equal.
	// Operator of the rule. Valid values are `include` and `equal`.
	// +kubebuilder:validation:Optional
	Operator *string `json:"operator" tf:"operator,omitempty"`

	// Key of the rule. Valid values are cgi, ua and referer.
	// Key of the rule. Valid values are `cgi`, `ua` and `referer`.
	// +kubebuilder:validation:Optional
	Skey *string `json:"skey" tf:"skey,omitempty"`

	// Rule value, then length should be less than 31 bytes.
	// Rule value, then length should be less than 31 bytes.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*CcHttpsPolicyRuleListParameters) DeepCopy added in v0.8.0

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

func (*CcHttpsPolicyRuleListParameters) DeepCopyInto added in v0.8.0

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

type CcHttpsPolicySpec added in v0.8.0

type CcHttpsPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CcHttpsPolicyParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider CcHttpsPolicyInitParameters `json:"initProvider,omitempty"`
}

CcHttpsPolicySpec defines the desired state of CcHttpsPolicy

func (*CcHttpsPolicySpec) DeepCopy added in v0.8.0

func (in *CcHttpsPolicySpec) DeepCopy() *CcHttpsPolicySpec

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

func (*CcHttpsPolicySpec) DeepCopyInto added in v0.8.0

func (in *CcHttpsPolicySpec) DeepCopyInto(out *CcHttpsPolicySpec)

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

type CcHttpsPolicyStatus added in v0.8.0

type CcHttpsPolicyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CcHttpsPolicyObservation `json:"atProvider,omitempty"`
}

CcHttpsPolicyStatus defines the observed state of CcHttpsPolicy.

func (*CcHttpsPolicyStatus) DeepCopy added in v0.8.0

func (in *CcHttpsPolicyStatus) DeepCopy() *CcHttpsPolicyStatus

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

func (*CcHttpsPolicyStatus) DeepCopyInto added in v0.8.0

func (in *CcHttpsPolicyStatus) DeepCopyInto(out *CcHttpsPolicyStatus)

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

type CcPolicyV2

type CcPolicyV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.business) || (has(self.initProvider) && has(self.initProvider.business))",message="spec.forProvider.business is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	Spec   CcPolicyV2Spec   `json:"spec"`
	Status CcPolicyV2Status `json:"status,omitempty"`
}

CcPolicyV2 is the Schema for the CcPolicyV2s API. Use this resource to create a dayu CC policy +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*CcPolicyV2) DeepCopy

func (in *CcPolicyV2) DeepCopy() *CcPolicyV2

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

func (*CcPolicyV2) DeepCopyInto

func (in *CcPolicyV2) DeepCopyInto(out *CcPolicyV2)

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

func (*CcPolicyV2) DeepCopyObject

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

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

func (*CcPolicyV2) GetCondition

func (mg *CcPolicyV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CcPolicyV2.

func (*CcPolicyV2) GetConnectionDetailsMapping

func (tr *CcPolicyV2) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this CcPolicyV2

func (*CcPolicyV2) GetDeletionPolicy

func (mg *CcPolicyV2) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CcPolicyV2.

func (*CcPolicyV2) GetID

func (tr *CcPolicyV2) GetID() string

GetID returns ID of underlying Terraform resource of this CcPolicyV2

func (*CcPolicyV2) GetInitParameters added in v0.8.0

func (tr *CcPolicyV2) GetInitParameters() (map[string]any, error)

GetInitParameters of this CcPolicyV2

func (*CcPolicyV2) GetManagementPolicies added in v0.8.0

func (mg *CcPolicyV2) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CcPolicyV2.

func (*CcPolicyV2) GetMergedParameters added in v0.8.1

func (tr *CcPolicyV2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this CcPolicyV2

func (*CcPolicyV2) GetObservation

func (tr *CcPolicyV2) GetObservation() (map[string]any, error)

GetObservation of this CcPolicyV2

func (*CcPolicyV2) GetParameters

func (tr *CcPolicyV2) GetParameters() (map[string]any, error)

GetParameters of this CcPolicyV2

func (*CcPolicyV2) GetProviderConfigReference

func (mg *CcPolicyV2) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CcPolicyV2.

func (*CcPolicyV2) GetPublishConnectionDetailsTo

func (mg *CcPolicyV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CcPolicyV2.

func (*CcPolicyV2) GetTerraformResourceType

func (mg *CcPolicyV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CcPolicyV2

func (*CcPolicyV2) GetTerraformSchemaVersion

func (tr *CcPolicyV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CcPolicyV2) GetWriteConnectionSecretToReference

func (mg *CcPolicyV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CcPolicyV2.

func (*CcPolicyV2) Hub added in v0.8.1

func (tr *CcPolicyV2) Hub()

Hub marks this type as a conversion hub.

func (*CcPolicyV2) LateInitialize

func (tr *CcPolicyV2) LateInitialize(attrs []byte) (bool, error)

LateInitialize this CcPolicyV2 using its observed tfState. returns True if there are any spec changes for the resource.

func (*CcPolicyV2) SetConditions

func (mg *CcPolicyV2) SetConditions(c ...xpv1.Condition)

SetConditions of this CcPolicyV2.

func (*CcPolicyV2) SetDeletionPolicy

func (mg *CcPolicyV2) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CcPolicyV2.

func (*CcPolicyV2) SetManagementPolicies added in v0.8.0

func (mg *CcPolicyV2) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this CcPolicyV2.

func (*CcPolicyV2) SetObservation

func (tr *CcPolicyV2) SetObservation(obs map[string]any) error

SetObservation for this CcPolicyV2

func (*CcPolicyV2) SetParameters

func (tr *CcPolicyV2) SetParameters(params map[string]any) error

SetParameters for this CcPolicyV2

func (*CcPolicyV2) SetProviderConfigReference

func (mg *CcPolicyV2) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CcPolicyV2.

func (*CcPolicyV2) SetPublishConnectionDetailsTo

func (mg *CcPolicyV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CcPolicyV2.

func (*CcPolicyV2) SetWriteConnectionSecretToReference

func (mg *CcPolicyV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CcPolicyV2.

type CcPolicyV2InitParameters added in v0.8.0

type CcPolicyV2InitParameters struct {

	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	Business *string `json:"business,omitempty" tf:"business,omitempty"`

	// Blacklist and whitelist.
	// Blacklist and whitelist.
	CcBlackWhiteIps []CcBlackWhiteIpsInitParameters `json:"ccBlackWhiteIps,omitempty" tf:"cc_black_white_ips,omitempty"`

	// Details of the CC region blocking policy list.
	// Details of the CC region blocking policy list.
	CcGeoIPPolicys []CcGeoIPPolicysInitParameters `json:"ccGeoIpPolicys,omitempty" tf:"cc_geo_ip_policys,omitempty"`

	// CC Precision Protection List.
	// CC Precision Protection List.
	CcPrecisionPolicys []CcPrecisionPolicysInitParameters `json:"ccPrecisionPolicys,omitempty" tf:"cc_precision_policys,omitempty"`

	// CC frequency throttling policy.
	// CC frequency throttling policy.
	CcPrecisionReqLimits []CcPrecisionReqLimitsInitParameters `json:"ccPrecisionReqLimits,omitempty" tf:"cc_precision_req_limits,omitempty"`

	// The ID of the resource instance.
	// The ID of the resource instance.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// List of protection threshold configurations.
	// List of protection threshold configurations.
	Thresholds []ThresholdsInitParameters `json:"thresholds,omitempty" tf:"thresholds,omitempty"`
}

func (*CcPolicyV2InitParameters) DeepCopy added in v0.8.0

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

func (*CcPolicyV2InitParameters) DeepCopyInto added in v0.8.0

func (in *CcPolicyV2InitParameters) DeepCopyInto(out *CcPolicyV2InitParameters)

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

type CcPolicyV2List

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

CcPolicyV2List contains a list of CcPolicyV2s

func (*CcPolicyV2List) DeepCopy

func (in *CcPolicyV2List) DeepCopy() *CcPolicyV2List

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

func (*CcPolicyV2List) DeepCopyInto

func (in *CcPolicyV2List) DeepCopyInto(out *CcPolicyV2List)

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

func (*CcPolicyV2List) DeepCopyObject

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

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

func (*CcPolicyV2List) GetItems

func (l *CcPolicyV2List) GetItems() []resource.Managed

GetItems of this CcPolicyV2List.

type CcPolicyV2Observation

type CcPolicyV2Observation struct {

	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	Business *string `json:"business,omitempty" tf:"business,omitempty"`

	// Blacklist and whitelist.
	// Blacklist and whitelist.
	CcBlackWhiteIps []CcBlackWhiteIpsObservation `json:"ccBlackWhiteIps,omitempty" tf:"cc_black_white_ips,omitempty"`

	// Details of the CC region blocking policy list.
	// Details of the CC region blocking policy list.
	CcGeoIPPolicys []CcGeoIPPolicysObservation `json:"ccGeoIpPolicys,omitempty" tf:"cc_geo_ip_policys,omitempty"`

	// CC Precision Protection List.
	// CC Precision Protection List.
	CcPrecisionPolicys []CcPrecisionPolicysObservation `json:"ccPrecisionPolicys,omitempty" tf:"cc_precision_policys,omitempty"`

	// CC frequency throttling policy.
	// CC frequency throttling policy.
	CcPrecisionReqLimits []CcPrecisionReqLimitsObservation `json:"ccPrecisionReqLimits,omitempty" tf:"cc_precision_req_limits,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ID of the resource instance.
	// The ID of the resource instance.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// List of protection threshold configurations.
	// List of protection threshold configurations.
	Thresholds []ThresholdsObservation `json:"thresholds,omitempty" tf:"thresholds,omitempty"`
}

func (*CcPolicyV2Observation) DeepCopy

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

func (*CcPolicyV2Observation) DeepCopyInto

func (in *CcPolicyV2Observation) DeepCopyInto(out *CcPolicyV2Observation)

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

type CcPolicyV2Parameters

type CcPolicyV2Parameters struct {

	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	// +kubebuilder:validation:Optional
	Business *string `json:"business,omitempty" tf:"business,omitempty"`

	// Blacklist and whitelist.
	// Blacklist and whitelist.
	// +kubebuilder:validation:Optional
	CcBlackWhiteIps []CcBlackWhiteIpsParameters `json:"ccBlackWhiteIps,omitempty" tf:"cc_black_white_ips,omitempty"`

	// Details of the CC region blocking policy list.
	// Details of the CC region blocking policy list.
	// +kubebuilder:validation:Optional
	CcGeoIPPolicys []CcGeoIPPolicysParameters `json:"ccGeoIpPolicys,omitempty" tf:"cc_geo_ip_policys,omitempty"`

	// CC Precision Protection List.
	// CC Precision Protection List.
	// +kubebuilder:validation:Optional
	CcPrecisionPolicys []CcPrecisionPolicysParameters `json:"ccPrecisionPolicys,omitempty" tf:"cc_precision_policys,omitempty"`

	// CC frequency throttling policy.
	// CC frequency throttling policy.
	// +kubebuilder:validation:Optional
	CcPrecisionReqLimits []CcPrecisionReqLimitsParameters `json:"ccPrecisionReqLimits,omitempty" tf:"cc_precision_req_limits,omitempty"`

	// The ID of the resource instance.
	// The ID of the resource instance.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// List of protection threshold configurations.
	// List of protection threshold configurations.
	// +kubebuilder:validation:Optional
	Thresholds []ThresholdsParameters `json:"thresholds,omitempty" tf:"thresholds,omitempty"`
}

func (*CcPolicyV2Parameters) DeepCopy

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

func (*CcPolicyV2Parameters) DeepCopyInto

func (in *CcPolicyV2Parameters) DeepCopyInto(out *CcPolicyV2Parameters)

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

type CcPolicyV2Spec

type CcPolicyV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CcPolicyV2Parameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider CcPolicyV2InitParameters `json:"initProvider,omitempty"`
}

CcPolicyV2Spec defines the desired state of CcPolicyV2

func (*CcPolicyV2Spec) DeepCopy

func (in *CcPolicyV2Spec) DeepCopy() *CcPolicyV2Spec

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

func (*CcPolicyV2Spec) DeepCopyInto

func (in *CcPolicyV2Spec) DeepCopyInto(out *CcPolicyV2Spec)

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

type CcPolicyV2Status

type CcPolicyV2Status struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CcPolicyV2Observation `json:"atProvider,omitempty"`
}

CcPolicyV2Status defines the observed state of CcPolicyV2.

func (*CcPolicyV2Status) DeepCopy

func (in *CcPolicyV2Status) DeepCopy() *CcPolicyV2Status

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

func (*CcPolicyV2Status) DeepCopyInto

func (in *CcPolicyV2Status) DeepCopyInto(out *CcPolicyV2Status)

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

type CcPrecisionPolicysInitParameters added in v0.8.0

type CcPrecisionPolicysInitParameters struct {

	// Domain.
	// Domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Ip address.
	// Ip address.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// Policy mode (discard or captcha).
	// Policy mode (discard or captcha).
	PolicyAction *string `json:"policyAction,omitempty" tf:"policy_action,omitempty"`

	// A list of policies.
	// A list of policies.
	Policys []PolicysInitParameters `json:"policys,omitempty" tf:"policys,omitempty"`

	// Protocol.
	// Protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}

func (*CcPrecisionPolicysInitParameters) DeepCopy added in v0.8.0

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

func (*CcPrecisionPolicysInitParameters) DeepCopyInto added in v0.8.0

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

type CcPrecisionPolicysObservation

type CcPrecisionPolicysObservation struct {

	// Domain.
	// Domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Ip address.
	// Ip address.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// Policy mode (discard or captcha).
	// Policy mode (discard or captcha).
	PolicyAction *string `json:"policyAction,omitempty" tf:"policy_action,omitempty"`

	// ID of the resource.
	// Policy Id.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// A list of policies.
	// A list of policies.
	Policys []PolicysObservation `json:"policys,omitempty" tf:"policys,omitempty"`

	// Protocol.
	// Protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}

func (*CcPrecisionPolicysObservation) DeepCopy

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

func (*CcPrecisionPolicysObservation) DeepCopyInto

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

type CcPrecisionPolicysParameters

type CcPrecisionPolicysParameters struct {

	// Domain.
	// Domain.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain" tf:"domain,omitempty"`

	// Ip address.
	// Ip address.
	// +kubebuilder:validation:Optional
	IP *string `json:"ip" tf:"ip,omitempty"`

	// Policy mode (discard or captcha).
	// Policy mode (discard or captcha).
	// +kubebuilder:validation:Optional
	PolicyAction *string `json:"policyAction" tf:"policy_action,omitempty"`

	// A list of policies.
	// A list of policies.
	// +kubebuilder:validation:Optional
	Policys []PolicysParameters `json:"policys" tf:"policys,omitempty"`

	// Protocol.
	// Protocol.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`
}

func (*CcPrecisionPolicysParameters) DeepCopy

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

func (*CcPrecisionPolicysParameters) DeepCopyInto

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

type CcPrecisionReqLimitsInitParameters added in v0.8.0

type CcPrecisionReqLimitsInitParameters struct {

	// Domain.
	// Domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
	// Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
	Level *string `json:"level,omitempty" tf:"level,omitempty"`

	// A list of policies.
	// The CC Frequency Limit Policy Item field.
	Policys []CcPrecisionReqLimitsPolicysInitParameters `json:"policys,omitempty" tf:"policys,omitempty"`

	// Protocol.
	// Protocol, preferably HTTP, HTTPS.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}

func (*CcPrecisionReqLimitsInitParameters) DeepCopy added in v0.8.0

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

func (*CcPrecisionReqLimitsInitParameters) DeepCopyInto added in v0.8.0

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

type CcPrecisionReqLimitsObservation

type CcPrecisionReqLimitsObservation struct {

	// Domain.
	// Domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Ip address.
	// IP address.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// ID of the resource.
	// Instance id.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
	// Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
	Level *string `json:"level,omitempty" tf:"level,omitempty"`

	// A list of policies.
	// The CC Frequency Limit Policy Item field.
	Policys []CcPrecisionReqLimitsPolicysObservation `json:"policys,omitempty" tf:"policys,omitempty"`

	// Protocol.
	// Protocol, preferably HTTP, HTTPS.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}

func (*CcPrecisionReqLimitsObservation) DeepCopy

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

func (*CcPrecisionReqLimitsObservation) DeepCopyInto

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

type CcPrecisionReqLimitsParameters

type CcPrecisionReqLimitsParameters struct {

	// Domain.
	// Domain.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain" tf:"domain,omitempty"`

	// Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
	// Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
	// +kubebuilder:validation:Optional
	Level *string `json:"level" tf:"level,omitempty"`

	// A list of policies.
	// The CC Frequency Limit Policy Item field.
	// +kubebuilder:validation:Optional
	Policys []CcPrecisionReqLimitsPolicysParameters `json:"policys" tf:"policys,omitempty"`

	// Protocol.
	// Protocol, preferably HTTP, HTTPS.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`
}

func (*CcPrecisionReqLimitsParameters) DeepCopy

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

func (*CcPrecisionReqLimitsParameters) DeepCopyInto

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

type CcPrecisionReqLimitsPolicysInitParameters added in v0.8.0

type CcPrecisionReqLimitsPolicysInitParameters struct {

	// User action, drop or arg.
	// The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Cookies, one of the three policy entries can only be filled in.
	// Cookies, one of the three policy entries can only be filled in.
	Cookie *string `json:"cookie,omitempty" tf:"cookie,omitempty"`

	// The duration of the frequency limit policy can be taken from 1 to 86400 per second.
	// The duration of the frequency limit policy can be taken from 1 to 86400 per second.
	ExecuteDuration *float64 `json:"executeDuration,omitempty" tf:"execute_duration,omitempty"`

	// The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
	// The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Statistical period, take values 1, 10, 30, 60, in seconds.
	// Statistical period, take values 1, 10, 30, 60, in seconds.
	Period *float64 `json:"period,omitempty" tf:"period,omitempty"`

	// The number of requests, the value is 1 to 20000.
	// The number of requests, the value is 1 to 20000.
	RequestNum *float64 `json:"requestNum,omitempty" tf:"request_num,omitempty"`

	// Uri, one of the three policy entries can only be filled in.
	// Uri, one of the three policy entries can only be filled in.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`

	// User-Agent, only one of the three policy entries can be filled in.
	// User-Agent, only one of the three policy entries can be filled in.
	UserAgent *string `json:"userAgent,omitempty" tf:"user_agent,omitempty"`
}

func (*CcPrecisionReqLimitsPolicysInitParameters) DeepCopy added in v0.8.0

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

func (*CcPrecisionReqLimitsPolicysInitParameters) DeepCopyInto added in v0.8.0

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

type CcPrecisionReqLimitsPolicysObservation

type CcPrecisionReqLimitsPolicysObservation struct {

	// User action, drop or arg.
	// The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Cookies, one of the three policy entries can only be filled in.
	// Cookies, one of the three policy entries can only be filled in.
	Cookie *string `json:"cookie,omitempty" tf:"cookie,omitempty"`

	// The duration of the frequency limit policy can be taken from 1 to 86400 per second.
	// The duration of the frequency limit policy can be taken from 1 to 86400 per second.
	ExecuteDuration *float64 `json:"executeDuration,omitempty" tf:"execute_duration,omitempty"`

	// The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
	// The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Statistical period, take values 1, 10, 30, 60, in seconds.
	// Statistical period, take values 1, 10, 30, 60, in seconds.
	Period *float64 `json:"period,omitempty" tf:"period,omitempty"`

	// The number of requests, the value is 1 to 20000.
	// The number of requests, the value is 1 to 20000.
	RequestNum *float64 `json:"requestNum,omitempty" tf:"request_num,omitempty"`

	// Uri, one of the three policy entries can only be filled in.
	// Uri, one of the three policy entries can only be filled in.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`

	// User-Agent, only one of the three policy entries can be filled in.
	// User-Agent, only one of the three policy entries can be filled in.
	UserAgent *string `json:"userAgent,omitempty" tf:"user_agent,omitempty"`
}

func (*CcPrecisionReqLimitsPolicysObservation) DeepCopy

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

func (*CcPrecisionReqLimitsPolicysObservation) DeepCopyInto

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

type CcPrecisionReqLimitsPolicysParameters

type CcPrecisionReqLimitsPolicysParameters struct {

	// User action, drop or arg.
	// The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// Cookies, one of the three policy entries can only be filled in.
	// Cookies, one of the three policy entries can only be filled in.
	// +kubebuilder:validation:Optional
	Cookie *string `json:"cookie,omitempty" tf:"cookie,omitempty"`

	// The duration of the frequency limit policy can be taken from 1 to 86400 per second.
	// The duration of the frequency limit policy can be taken from 1 to 86400 per second.
	// +kubebuilder:validation:Optional
	ExecuteDuration *float64 `json:"executeDuration" tf:"execute_duration,omitempty"`

	// The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
	// The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode" tf:"mode,omitempty"`

	// Statistical period, take values 1, 10, 30, 60, in seconds.
	// Statistical period, take values 1, 10, 30, 60, in seconds.
	// +kubebuilder:validation:Optional
	Period *float64 `json:"period" tf:"period,omitempty"`

	// The number of requests, the value is 1 to 20000.
	// The number of requests, the value is 1 to 20000.
	// +kubebuilder:validation:Optional
	RequestNum *float64 `json:"requestNum" tf:"request_num,omitempty"`

	// Uri, one of the three policy entries can only be filled in.
	// Uri, one of the three policy entries can only be filled in.
	// +kubebuilder:validation:Optional
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`

	// User-Agent, only one of the three policy entries can be filled in.
	// User-Agent, only one of the three policy entries can be filled in.
	// +kubebuilder:validation:Optional
	UserAgent *string `json:"userAgent,omitempty" tf:"user_agent,omitempty"`
}

func (*CcPrecisionReqLimitsPolicysParameters) DeepCopy

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

func (*CcPrecisionReqLimitsPolicysParameters) DeepCopyInto

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

type DayuEip added in v0.8.0

type DayuEip struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bindResourceId) || (has(self.initProvider) && has(self.initProvider.bindResourceId))",message="spec.forProvider.bindResourceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bindResourceRegion) || (has(self.initProvider) && has(self.initProvider.bindResourceRegion))",message="spec.forProvider.bindResourceRegion is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bindResourceType) || (has(self.initProvider) && has(self.initProvider.bindResourceType))",message="spec.forProvider.bindResourceType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eip) || (has(self.initProvider) && has(self.initProvider.eip))",message="spec.forProvider.eip is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	Spec   DayuEipSpec   `json:"spec"`
	Status DayuEipStatus `json:"status,omitempty"`
}

DayuEip is the Schema for the DayuEips API. Use this resource to create dayu eip rule +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*DayuEip) DeepCopy added in v0.8.0

func (in *DayuEip) DeepCopy() *DayuEip

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

func (*DayuEip) DeepCopyInto added in v0.8.0

func (in *DayuEip) DeepCopyInto(out *DayuEip)

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

func (*DayuEip) DeepCopyObject added in v0.8.0

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

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

func (*DayuEip) GetCondition added in v0.8.0

func (mg *DayuEip) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DayuEip.

func (*DayuEip) GetConnectionDetailsMapping added in v0.8.0

func (tr *DayuEip) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DayuEip

func (*DayuEip) GetDeletionPolicy added in v0.8.0

func (mg *DayuEip) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DayuEip.

func (*DayuEip) GetID added in v0.8.0

func (tr *DayuEip) GetID() string

GetID returns ID of underlying Terraform resource of this DayuEip

func (*DayuEip) GetInitParameters added in v0.8.0

func (tr *DayuEip) GetInitParameters() (map[string]any, error)

GetInitParameters of this DayuEip

func (*DayuEip) GetManagementPolicies added in v0.8.0

func (mg *DayuEip) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this DayuEip.

func (*DayuEip) GetMergedParameters added in v0.8.1

func (tr *DayuEip) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this DayuEip

func (*DayuEip) GetObservation added in v0.8.0

func (tr *DayuEip) GetObservation() (map[string]any, error)

GetObservation of this DayuEip

func (*DayuEip) GetParameters added in v0.8.0

func (tr *DayuEip) GetParameters() (map[string]any, error)

GetParameters of this DayuEip

func (*DayuEip) GetProviderConfigReference added in v0.8.0

func (mg *DayuEip) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DayuEip.

func (*DayuEip) GetPublishConnectionDetailsTo added in v0.8.0

func (mg *DayuEip) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DayuEip.

func (*DayuEip) GetTerraformResourceType added in v0.8.0

func (mg *DayuEip) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DayuEip

func (*DayuEip) GetTerraformSchemaVersion added in v0.8.0

func (tr *DayuEip) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DayuEip) GetWriteConnectionSecretToReference added in v0.8.0

func (mg *DayuEip) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DayuEip.

func (*DayuEip) Hub added in v0.8.1

func (tr *DayuEip) Hub()

Hub marks this type as a conversion hub.

func (*DayuEip) LateInitialize added in v0.8.0

func (tr *DayuEip) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DayuEip using its observed tfState. returns True if there are any spec changes for the resource.

func (*DayuEip) SetConditions added in v0.8.0

func (mg *DayuEip) SetConditions(c ...xpv1.Condition)

SetConditions of this DayuEip.

func (*DayuEip) SetDeletionPolicy added in v0.8.0

func (mg *DayuEip) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DayuEip.

func (*DayuEip) SetManagementPolicies added in v0.8.0

func (mg *DayuEip) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this DayuEip.

func (*DayuEip) SetObservation added in v0.8.0

func (tr *DayuEip) SetObservation(obs map[string]any) error

SetObservation for this DayuEip

func (*DayuEip) SetParameters added in v0.8.0

func (tr *DayuEip) SetParameters(params map[string]any) error

SetParameters for this DayuEip

func (*DayuEip) SetProviderConfigReference added in v0.8.0

func (mg *DayuEip) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DayuEip.

func (*DayuEip) SetPublishConnectionDetailsTo added in v0.8.0

func (mg *DayuEip) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DayuEip.

func (*DayuEip) SetWriteConnectionSecretToReference added in v0.8.0

func (mg *DayuEip) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DayuEip.

type DayuEipInitParameters added in v0.8.0

type DayuEipInitParameters struct {

	// Resource id to bind.
	// Resource id to bind.
	BindResourceID *string `json:"bindResourceId,omitempty" tf:"bind_resource_id,omitempty"`

	// Resource region to bind.
	// Resource region to bind.
	BindResourceRegion *string `json:"bindResourceRegion,omitempty" tf:"bind_resource_region,omitempty"`

	// Resource type to bind, value range [clb, cvm].
	// Resource type to bind, value range [`clb`, `cvm`].
	BindResourceType *string `json:"bindResourceType,omitempty" tf:"bind_resource_type,omitempty"`

	// Eip of the resource.
	// Eip of the resource.
	EIP *string `json:"eip,omitempty" tf:"eip,omitempty"`

	// ID of the resource.
	// ID of the resource.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`
}

func (*DayuEipInitParameters) DeepCopy added in v0.8.0

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

func (*DayuEipInitParameters) DeepCopyInto added in v0.8.0

func (in *DayuEipInitParameters) DeepCopyInto(out *DayuEipInitParameters)

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

type DayuEipList added in v0.8.0

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

DayuEipList contains a list of DayuEips

func (*DayuEipList) DeepCopy added in v0.8.0

func (in *DayuEipList) DeepCopy() *DayuEipList

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

func (*DayuEipList) DeepCopyInto added in v0.8.0

func (in *DayuEipList) DeepCopyInto(out *DayuEipList)

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

func (*DayuEipList) DeepCopyObject added in v0.8.0

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

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

func (*DayuEipList) GetItems added in v0.8.0

func (l *DayuEipList) GetItems() []resource.Managed

GetItems of this DayuEipList.

type DayuEipObservation added in v0.8.0

type DayuEipObservation struct {

	// Resource id to bind.
	// Resource id to bind.
	BindResourceID *string `json:"bindResourceId,omitempty" tf:"bind_resource_id,omitempty"`

	// Resource region to bind.
	// Resource region to bind.
	BindResourceRegion *string `json:"bindResourceRegion,omitempty" tf:"bind_resource_region,omitempty"`

	// Resource type to bind, value range [clb, cvm].
	// Resource type to bind, value range [`clb`, `cvm`].
	BindResourceType *string `json:"bindResourceType,omitempty" tf:"bind_resource_type,omitempty"`

	// Created time of the resource instance.
	// Created time of the resource instance.
	CreatedTime *string `json:"createdTime,omitempty" tf:"created_time,omitempty"`

	// Eip of the resource.
	// Eip of the resource.
	EIP *string `json:"eip,omitempty" tf:"eip,omitempty"`

	// Eip address status of the resource instance.
	// Eip address status of the resource instance.
	EIPAddressStatus *string `json:"eipAddressStatus,omitempty" tf:"eip_address_status,omitempty"`

	// Eip bound rsc eni of the resource instance.
	// Eip bound rsc eni of the resource instance.
	EIPBoundRscEni *string `json:"eipBoundRscEni,omitempty" tf:"eip_bound_rsc_eni,omitempty"`

	// Eip bound rsc ins of the resource instance.
	// Eip bound rsc ins of the resource instance.
	EIPBoundRscIns *string `json:"eipBoundRscIns,omitempty" tf:"eip_bound_rsc_ins,omitempty"`

	// Eip bound rsc vip of the resource instance.
	// Eip bound rsc vip of the resource instance.
	EIPBoundRscVip *string `json:"eipBoundRscVip,omitempty" tf:"eip_bound_rsc_vip,omitempty"`

	// Expired time of the resource instance.
	// Expired time of the resource instance.
	ExpiredTime *string `json:"expiredTime,omitempty" tf:"expired_time,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Modify time of the resource instance.
	// Modify time of the resource instance.
	ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"`

	// Protection status of the resource instance.
	// Protection status of the resource instance.
	ProtectionStatus *string `json:"protectionStatus,omitempty" tf:"protection_status,omitempty"`

	// ID of the resource.
	// ID of the resource.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Region of the resource instance.
	// Region of the resource instance.
	ResourceRegion *string `json:"resourceRegion,omitempty" tf:"resource_region,omitempty"`
}

func (*DayuEipObservation) DeepCopy added in v0.8.0

func (in *DayuEipObservation) DeepCopy() *DayuEipObservation

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

func (*DayuEipObservation) DeepCopyInto added in v0.8.0

func (in *DayuEipObservation) DeepCopyInto(out *DayuEipObservation)

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

type DayuEipParameters added in v0.8.0

type DayuEipParameters struct {

	// Resource id to bind.
	// Resource id to bind.
	// +kubebuilder:validation:Optional
	BindResourceID *string `json:"bindResourceId,omitempty" tf:"bind_resource_id,omitempty"`

	// Resource region to bind.
	// Resource region to bind.
	// +kubebuilder:validation:Optional
	BindResourceRegion *string `json:"bindResourceRegion,omitempty" tf:"bind_resource_region,omitempty"`

	// Resource type to bind, value range [clb, cvm].
	// Resource type to bind, value range [`clb`, `cvm`].
	// +kubebuilder:validation:Optional
	BindResourceType *string `json:"bindResourceType,omitempty" tf:"bind_resource_type,omitempty"`

	// Eip of the resource.
	// Eip of the resource.
	// +kubebuilder:validation:Optional
	EIP *string `json:"eip,omitempty" tf:"eip,omitempty"`

	// ID of the resource.
	// ID of the resource.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`
}

func (*DayuEipParameters) DeepCopy added in v0.8.0

func (in *DayuEipParameters) DeepCopy() *DayuEipParameters

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

func (*DayuEipParameters) DeepCopyInto added in v0.8.0

func (in *DayuEipParameters) DeepCopyInto(out *DayuEipParameters)

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

type DayuEipSpec added in v0.8.0

type DayuEipSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DayuEipParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DayuEipInitParameters `json:"initProvider,omitempty"`
}

DayuEipSpec defines the desired state of DayuEip

func (*DayuEipSpec) DeepCopy added in v0.8.0

func (in *DayuEipSpec) DeepCopy() *DayuEipSpec

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

func (*DayuEipSpec) DeepCopyInto added in v0.8.0

func (in *DayuEipSpec) DeepCopyInto(out *DayuEipSpec)

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

type DayuEipStatus added in v0.8.0

type DayuEipStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DayuEipObservation `json:"atProvider,omitempty"`
}

DayuEipStatus defines the observed state of DayuEip.

func (*DayuEipStatus) DeepCopy added in v0.8.0

func (in *DayuEipStatus) DeepCopy() *DayuEipStatus

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

func (*DayuEipStatus) DeepCopyInto added in v0.8.0

func (in *DayuEipStatus) DeepCopyInto(out *DayuEipStatus)

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

type DdosConnectLimitInitParameters added in v0.8.0

type DdosConnectLimitInitParameters struct {

	// Based on connection suppression trigger threshold, value range [0,4294967295].
	// Based on connection suppression trigger threshold, value range [0,4294967295].
	BadConnThreshold *float64 `json:"badConnThreshold,omitempty" tf:"bad_conn_threshold,omitempty"`

	// Abnormal connection detection condition, connection timeout, value range [0,65535].
	// Abnormal connection detection condition, connection timeout, value range [0,65535].
	ConnTimeout *float64 `json:"connTimeout,omitempty" tf:"conn_timeout,omitempty"`

	// Concurrent connection control based on destination IP+ destination port.
	// Concurrent connection control based on destination IP+ destination port.
	DstConnLimit *float64 `json:"dstConnLimit,omitempty" tf:"dst_conn_limit,omitempty"`

	// Limit on the number of news per second based on the destination IP.
	// Limit on the number of news per second based on the destination IP.
	DstNewLimit *float64 `json:"dstNewLimit,omitempty" tf:"dst_new_limit,omitempty"`

	// Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
	// Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
	NullConnEnable *float64 `json:"nullConnEnable,omitempty" tf:"null_conn_enable,omitempty"`

	// Concurrent connection control based on source IP + destination IP.
	// Concurrent connection control based on source IP + destination IP.
	SdConnLimit *float64 `json:"sdConnLimit,omitempty" tf:"sd_conn_limit,omitempty"`

	// The limit on the number of news per second based on source IP + destination IP.
	// The limit on the number of news per second based on source IP + destination IP.
	SdNewLimit *float64 `json:"sdNewLimit,omitempty" tf:"sd_new_limit,omitempty"`

	// Anomaly connection detection condition, syn threshold, value range [0,100].
	// Anomaly connection detection condition, syn threshold, value range [0,100].
	SynLimit *float64 `json:"synLimit,omitempty" tf:"syn_limit,omitempty"`

	// Anomalous connection detection condition, percentage of syn ack, value range [0,100].
	// Anomalous connection detection condition, percentage of syn ack, value range [0,100].
	SynRate *float64 `json:"synRate,omitempty" tf:"syn_rate,omitempty"`
}

func (*DdosConnectLimitInitParameters) DeepCopy added in v0.8.0

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

func (*DdosConnectLimitInitParameters) DeepCopyInto added in v0.8.0

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

type DdosConnectLimitObservation

type DdosConnectLimitObservation struct {

	// Based on connection suppression trigger threshold, value range [0,4294967295].
	// Based on connection suppression trigger threshold, value range [0,4294967295].
	BadConnThreshold *float64 `json:"badConnThreshold,omitempty" tf:"bad_conn_threshold,omitempty"`

	// Abnormal connection detection condition, connection timeout, value range [0,65535].
	// Abnormal connection detection condition, connection timeout, value range [0,65535].
	ConnTimeout *float64 `json:"connTimeout,omitempty" tf:"conn_timeout,omitempty"`

	// Concurrent connection control based on destination IP+ destination port.
	// Concurrent connection control based on destination IP+ destination port.
	DstConnLimit *float64 `json:"dstConnLimit,omitempty" tf:"dst_conn_limit,omitempty"`

	// Limit on the number of news per second based on the destination IP.
	// Limit on the number of news per second based on the destination IP.
	DstNewLimit *float64 `json:"dstNewLimit,omitempty" tf:"dst_new_limit,omitempty"`

	// Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
	// Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
	NullConnEnable *float64 `json:"nullConnEnable,omitempty" tf:"null_conn_enable,omitempty"`

	// Concurrent connection control based on source IP + destination IP.
	// Concurrent connection control based on source IP + destination IP.
	SdConnLimit *float64 `json:"sdConnLimit,omitempty" tf:"sd_conn_limit,omitempty"`

	// The limit on the number of news per second based on source IP + destination IP.
	// The limit on the number of news per second based on source IP + destination IP.
	SdNewLimit *float64 `json:"sdNewLimit,omitempty" tf:"sd_new_limit,omitempty"`

	// Anomaly connection detection condition, syn threshold, value range [0,100].
	// Anomaly connection detection condition, syn threshold, value range [0,100].
	SynLimit *float64 `json:"synLimit,omitempty" tf:"syn_limit,omitempty"`

	// Anomalous connection detection condition, percentage of syn ack, value range [0,100].
	// Anomalous connection detection condition, percentage of syn ack, value range [0,100].
	SynRate *float64 `json:"synRate,omitempty" tf:"syn_rate,omitempty"`
}

func (*DdosConnectLimitObservation) DeepCopy

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

func (*DdosConnectLimitObservation) DeepCopyInto

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

type DdosConnectLimitParameters

type DdosConnectLimitParameters struct {

	// Based on connection suppression trigger threshold, value range [0,4294967295].
	// Based on connection suppression trigger threshold, value range [0,4294967295].
	// +kubebuilder:validation:Optional
	BadConnThreshold *float64 `json:"badConnThreshold" tf:"bad_conn_threshold,omitempty"`

	// Abnormal connection detection condition, connection timeout, value range [0,65535].
	// Abnormal connection detection condition, connection timeout, value range [0,65535].
	// +kubebuilder:validation:Optional
	ConnTimeout *float64 `json:"connTimeout" tf:"conn_timeout,omitempty"`

	// Concurrent connection control based on destination IP+ destination port.
	// Concurrent connection control based on destination IP+ destination port.
	// +kubebuilder:validation:Optional
	DstConnLimit *float64 `json:"dstConnLimit" tf:"dst_conn_limit,omitempty"`

	// Limit on the number of news per second based on the destination IP.
	// Limit on the number of news per second based on the destination IP.
	// +kubebuilder:validation:Optional
	DstNewLimit *float64 `json:"dstNewLimit" tf:"dst_new_limit,omitempty"`

	// Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
	// Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
	// +kubebuilder:validation:Optional
	NullConnEnable *float64 `json:"nullConnEnable" tf:"null_conn_enable,omitempty"`

	// Concurrent connection control based on source IP + destination IP.
	// Concurrent connection control based on source IP + destination IP.
	// +kubebuilder:validation:Optional
	SdConnLimit *float64 `json:"sdConnLimit" tf:"sd_conn_limit,omitempty"`

	// The limit on the number of news per second based on source IP + destination IP.
	// The limit on the number of news per second based on source IP + destination IP.
	// +kubebuilder:validation:Optional
	SdNewLimit *float64 `json:"sdNewLimit" tf:"sd_new_limit,omitempty"`

	// Anomaly connection detection condition, syn threshold, value range [0,100].
	// Anomaly connection detection condition, syn threshold, value range [0,100].
	// +kubebuilder:validation:Optional
	SynLimit *float64 `json:"synLimit" tf:"syn_limit,omitempty"`

	// Anomalous connection detection condition, percentage of syn ack, value range [0,100].
	// Anomalous connection detection condition, percentage of syn ack, value range [0,100].
	// +kubebuilder:validation:Optional
	SynRate *float64 `json:"synRate" tf:"syn_rate,omitempty"`
}

func (*DdosConnectLimitParameters) DeepCopy

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

func (*DdosConnectLimitParameters) DeepCopyInto

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

type DdosGeoIPBlockConfigInitParameters added in v0.8.0

type DdosGeoIPBlockConfigInitParameters struct {

	// Block action, take the value [drop, trans].
	// Block action, take the value [`drop`, `trans`].
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
	// When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
	AreaList []*float64 `json:"areaList,omitempty" tf:"area_list,omitempty"`

	// Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
	// Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
	RegionType *string `json:"regionType,omitempty" tf:"region_type,omitempty"`
}

func (*DdosGeoIPBlockConfigInitParameters) DeepCopy added in v0.8.0

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

func (*DdosGeoIPBlockConfigInitParameters) DeepCopyInto added in v0.8.0

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

type DdosGeoIPBlockConfigObservation

type DdosGeoIPBlockConfigObservation struct {

	// Block action, take the value [drop, trans].
	// Block action, take the value [`drop`, `trans`].
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
	// When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
	AreaList []*float64 `json:"areaList,omitempty" tf:"area_list,omitempty"`

	// Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
	// Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
	RegionType *string `json:"regionType,omitempty" tf:"region_type,omitempty"`
}

func (*DdosGeoIPBlockConfigObservation) DeepCopy

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

func (*DdosGeoIPBlockConfigObservation) DeepCopyInto

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

type DdosGeoIPBlockConfigParameters

type DdosGeoIPBlockConfigParameters struct {

	// Block action, take the value [drop, trans].
	// Block action, take the value [`drop`, `trans`].
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
	// When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
	// +kubebuilder:validation:Optional
	AreaList []*float64 `json:"areaList" tf:"area_list,omitempty"`

	// Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
	// Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
	// +kubebuilder:validation:Optional
	RegionType *string `json:"regionType" tf:"region_type,omitempty"`
}

func (*DdosGeoIPBlockConfigParameters) DeepCopy

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

func (*DdosGeoIPBlockConfigParameters) DeepCopyInto

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

type DdosPolicy

type DdosPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dropOptions) || (has(self.initProvider) && has(self.initProvider.dropOptions))",message="spec.forProvider.dropOptions is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter"
	Spec   DdosPolicySpec   `json:"spec"`
	Status DdosPolicyStatus `json:"status,omitempty"`
}

DdosPolicy is the Schema for the DdosPolicys API. Use this resource to create dayu DDoS policy +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*DdosPolicy) DeepCopy

func (in *DdosPolicy) DeepCopy() *DdosPolicy

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

func (*DdosPolicy) DeepCopyInto

func (in *DdosPolicy) DeepCopyInto(out *DdosPolicy)

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

func (*DdosPolicy) DeepCopyObject

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

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

func (*DdosPolicy) GetCondition

func (mg *DdosPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DdosPolicy.

func (*DdosPolicy) GetConnectionDetailsMapping

func (tr *DdosPolicy) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DdosPolicy

func (*DdosPolicy) GetDeletionPolicy

func (mg *DdosPolicy) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DdosPolicy.

func (*DdosPolicy) GetID

func (tr *DdosPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this DdosPolicy

func (*DdosPolicy) GetInitParameters added in v0.8.0

func (tr *DdosPolicy) GetInitParameters() (map[string]any, error)

GetInitParameters of this DdosPolicy

func (*DdosPolicy) GetManagementPolicies added in v0.8.0

func (mg *DdosPolicy) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this DdosPolicy.

func (*DdosPolicy) GetMergedParameters added in v0.8.1

func (tr *DdosPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this DdosPolicy

func (*DdosPolicy) GetObservation

func (tr *DdosPolicy) GetObservation() (map[string]any, error)

GetObservation of this DdosPolicy

func (*DdosPolicy) GetParameters

func (tr *DdosPolicy) GetParameters() (map[string]any, error)

GetParameters of this DdosPolicy

func (*DdosPolicy) GetProviderConfigReference

func (mg *DdosPolicy) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DdosPolicy.

func (*DdosPolicy) GetPublishConnectionDetailsTo

func (mg *DdosPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DdosPolicy.

func (*DdosPolicy) GetTerraformResourceType

func (mg *DdosPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DdosPolicy

func (*DdosPolicy) GetTerraformSchemaVersion

func (tr *DdosPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DdosPolicy) GetWriteConnectionSecretToReference

func (mg *DdosPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DdosPolicy.

func (*DdosPolicy) Hub added in v0.8.1

func (tr *DdosPolicy) Hub()

Hub marks this type as a conversion hub.

func (*DdosPolicy) LateInitialize

func (tr *DdosPolicy) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DdosPolicy using its observed tfState. returns True if there are any spec changes for the resource.

func (*DdosPolicy) SetConditions

func (mg *DdosPolicy) SetConditions(c ...xpv1.Condition)

SetConditions of this DdosPolicy.

func (*DdosPolicy) SetDeletionPolicy

func (mg *DdosPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DdosPolicy.

func (*DdosPolicy) SetManagementPolicies added in v0.8.0

func (mg *DdosPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this DdosPolicy.

func (*DdosPolicy) SetObservation

func (tr *DdosPolicy) SetObservation(obs map[string]any) error

SetObservation for this DdosPolicy

func (*DdosPolicy) SetParameters

func (tr *DdosPolicy) SetParameters(params map[string]any) error

SetParameters for this DdosPolicy

func (*DdosPolicy) SetProviderConfigReference

func (mg *DdosPolicy) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DdosPolicy.

func (*DdosPolicy) SetPublishConnectionDetailsTo

func (mg *DdosPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DdosPolicy.

func (*DdosPolicy) SetWriteConnectionSecretToReference

func (mg *DdosPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DdosPolicy.

type DdosPolicyAttachment

type DdosPolicyAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyId) || (has(self.initProvider) && has(self.initProvider.policyId))",message="spec.forProvider.policyId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter"
	Spec   DdosPolicyAttachmentSpec   `json:"spec"`
	Status DdosPolicyAttachmentStatus `json:"status,omitempty"`
}

DdosPolicyAttachment is the Schema for the DdosPolicyAttachments API. Provides a resource to create a dayu DDoS policy attachment. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*DdosPolicyAttachment) DeepCopy

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

func (*DdosPolicyAttachment) DeepCopyInto

func (in *DdosPolicyAttachment) DeepCopyInto(out *DdosPolicyAttachment)

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

func (*DdosPolicyAttachment) DeepCopyObject

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

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

func (*DdosPolicyAttachment) GetCondition

func (mg *DdosPolicyAttachment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) GetConnectionDetailsMapping

func (tr *DdosPolicyAttachment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DdosPolicyAttachment

func (*DdosPolicyAttachment) GetDeletionPolicy

func (mg *DdosPolicyAttachment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) GetID

func (tr *DdosPolicyAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this DdosPolicyAttachment

func (*DdosPolicyAttachment) GetInitParameters added in v0.8.0

func (tr *DdosPolicyAttachment) GetInitParameters() (map[string]any, error)

GetInitParameters of this DdosPolicyAttachment

func (*DdosPolicyAttachment) GetManagementPolicies added in v0.8.0

func (mg *DdosPolicyAttachment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) GetMergedParameters added in v0.8.1

func (tr *DdosPolicyAttachment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this DdosPolicyAttachment

func (*DdosPolicyAttachment) GetObservation

func (tr *DdosPolicyAttachment) GetObservation() (map[string]any, error)

GetObservation of this DdosPolicyAttachment

func (*DdosPolicyAttachment) GetParameters

func (tr *DdosPolicyAttachment) GetParameters() (map[string]any, error)

GetParameters of this DdosPolicyAttachment

func (*DdosPolicyAttachment) GetProviderConfigReference

func (mg *DdosPolicyAttachment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) GetPublishConnectionDetailsTo

func (mg *DdosPolicyAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) GetTerraformResourceType

func (mg *DdosPolicyAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DdosPolicyAttachment

func (*DdosPolicyAttachment) GetTerraformSchemaVersion

func (tr *DdosPolicyAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DdosPolicyAttachment) GetWriteConnectionSecretToReference

func (mg *DdosPolicyAttachment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) Hub added in v0.8.1

func (tr *DdosPolicyAttachment) Hub()

Hub marks this type as a conversion hub.

func (*DdosPolicyAttachment) LateInitialize

func (tr *DdosPolicyAttachment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DdosPolicyAttachment using its observed tfState. returns True if there are any spec changes for the resource.

func (*DdosPolicyAttachment) SetConditions

func (mg *DdosPolicyAttachment) SetConditions(c ...xpv1.Condition)

SetConditions of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) SetDeletionPolicy

func (mg *DdosPolicyAttachment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) SetManagementPolicies added in v0.8.0

func (mg *DdosPolicyAttachment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) SetObservation

func (tr *DdosPolicyAttachment) SetObservation(obs map[string]any) error

SetObservation for this DdosPolicyAttachment

func (*DdosPolicyAttachment) SetParameters

func (tr *DdosPolicyAttachment) SetParameters(params map[string]any) error

SetParameters for this DdosPolicyAttachment

func (*DdosPolicyAttachment) SetProviderConfigReference

func (mg *DdosPolicyAttachment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) SetPublishConnectionDetailsTo

func (mg *DdosPolicyAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DdosPolicyAttachment.

func (*DdosPolicyAttachment) SetWriteConnectionSecretToReference

func (mg *DdosPolicyAttachment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DdosPolicyAttachment.

type DdosPolicyAttachmentInitParameters added in v0.8.0

type DdosPolicyAttachmentInitParameters struct {

	// ID of the policy.
	// ID of the policy.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// ID of the attached resource.
	// ID of the attached resource.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the DDoS policy works for. Valid values are bgpip, bgp, bgp-multip, net.
	// Type of the resource that the DDoS policy works for. Valid values are `bgpip`, `bgp`, `bgp-multip`, `net`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`
}

func (*DdosPolicyAttachmentInitParameters) DeepCopy added in v0.8.0

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

func (*DdosPolicyAttachmentInitParameters) DeepCopyInto added in v0.8.0

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

type DdosPolicyAttachmentList

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

DdosPolicyAttachmentList contains a list of DdosPolicyAttachments

func (*DdosPolicyAttachmentList) DeepCopy

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

func (*DdosPolicyAttachmentList) DeepCopyInto

func (in *DdosPolicyAttachmentList) DeepCopyInto(out *DdosPolicyAttachmentList)

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

func (*DdosPolicyAttachmentList) DeepCopyObject

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

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

func (*DdosPolicyAttachmentList) GetItems

func (l *DdosPolicyAttachmentList) GetItems() []resource.Managed

GetItems of this DdosPolicyAttachmentList.

type DdosPolicyAttachmentObservation

type DdosPolicyAttachmentObservation struct {

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// ID of the policy.
	// ID of the policy.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// ID of the attached resource.
	// ID of the attached resource.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the DDoS policy works for. Valid values are bgpip, bgp, bgp-multip, net.
	// Type of the resource that the DDoS policy works for. Valid values are `bgpip`, `bgp`, `bgp-multip`, `net`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`
}

func (*DdosPolicyAttachmentObservation) DeepCopy

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

func (*DdosPolicyAttachmentObservation) DeepCopyInto

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

type DdosPolicyAttachmentParameters

type DdosPolicyAttachmentParameters struct {

	// ID of the policy.
	// ID of the policy.
	// +kubebuilder:validation:Optional
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// ID of the attached resource.
	// ID of the attached resource.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the DDoS policy works for. Valid values are bgpip, bgp, bgp-multip, net.
	// Type of the resource that the DDoS policy works for. Valid values are `bgpip`, `bgp`, `bgp-multip`, `net`.
	// +kubebuilder:validation:Optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`
}

func (*DdosPolicyAttachmentParameters) DeepCopy

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

func (*DdosPolicyAttachmentParameters) DeepCopyInto

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

type DdosPolicyAttachmentSpec

type DdosPolicyAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DdosPolicyAttachmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DdosPolicyAttachmentInitParameters `json:"initProvider,omitempty"`
}

DdosPolicyAttachmentSpec defines the desired state of DdosPolicyAttachment

func (*DdosPolicyAttachmentSpec) DeepCopy

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

func (*DdosPolicyAttachmentSpec) DeepCopyInto

func (in *DdosPolicyAttachmentSpec) DeepCopyInto(out *DdosPolicyAttachmentSpec)

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

type DdosPolicyAttachmentStatus

type DdosPolicyAttachmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DdosPolicyAttachmentObservation `json:"atProvider,omitempty"`
}

DdosPolicyAttachmentStatus defines the observed state of DdosPolicyAttachment.

func (*DdosPolicyAttachmentStatus) DeepCopy

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

func (*DdosPolicyAttachmentStatus) DeepCopyInto

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

type DdosPolicyCase

type DdosPolicyCase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.appProtocols) || (has(self.initProvider) && has(self.initProvider.appProtocols))",message="spec.forProvider.appProtocols is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.appType) || (has(self.initProvider) && has(self.initProvider.appType))",message="spec.forProvider.appType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hasAbroad) || (has(self.initProvider) && has(self.initProvider.hasAbroad))",message="spec.forProvider.hasAbroad is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hasInitiateTcp) || (has(self.initProvider) && has(self.initProvider.hasInitiateTcp))",message="spec.forProvider.hasInitiateTcp is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.platformTypes) || (has(self.initProvider) && has(self.initProvider.platformTypes))",message="spec.forProvider.platformTypes is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tcpEndPort) || (has(self.initProvider) && has(self.initProvider.tcpEndPort))",message="spec.forProvider.tcpEndPort is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tcpStartPort) || (has(self.initProvider) && has(self.initProvider.tcpStartPort))",message="spec.forProvider.tcpStartPort is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.udpEndPort) || (has(self.initProvider) && has(self.initProvider.udpEndPort))",message="spec.forProvider.udpEndPort is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.udpStartPort) || (has(self.initProvider) && has(self.initProvider.udpStartPort))",message="spec.forProvider.udpStartPort is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.webApiUrls) || (has(self.initProvider) && has(self.initProvider.webApiUrls))",message="spec.forProvider.webApiUrls is a required parameter"
	Spec   DdosPolicyCaseSpec   `json:"spec"`
	Status DdosPolicyCaseStatus `json:"status,omitempty"`
}

DdosPolicyCase is the Schema for the DdosPolicyCases API. Use this resource to create dayu DDoS policy case +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*DdosPolicyCase) DeepCopy

func (in *DdosPolicyCase) DeepCopy() *DdosPolicyCase

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

func (*DdosPolicyCase) DeepCopyInto

func (in *DdosPolicyCase) DeepCopyInto(out *DdosPolicyCase)

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

func (*DdosPolicyCase) DeepCopyObject

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

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

func (*DdosPolicyCase) GetCondition

func (mg *DdosPolicyCase) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DdosPolicyCase.

func (*DdosPolicyCase) GetConnectionDetailsMapping

func (tr *DdosPolicyCase) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DdosPolicyCase

func (*DdosPolicyCase) GetDeletionPolicy

func (mg *DdosPolicyCase) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DdosPolicyCase.

func (*DdosPolicyCase) GetID

func (tr *DdosPolicyCase) GetID() string

GetID returns ID of underlying Terraform resource of this DdosPolicyCase

func (*DdosPolicyCase) GetInitParameters added in v0.8.0

func (tr *DdosPolicyCase) GetInitParameters() (map[string]any, error)

GetInitParameters of this DdosPolicyCase

func (*DdosPolicyCase) GetManagementPolicies added in v0.8.0

func (mg *DdosPolicyCase) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this DdosPolicyCase.

func (*DdosPolicyCase) GetMergedParameters added in v0.8.1

func (tr *DdosPolicyCase) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this DdosPolicyCase

func (*DdosPolicyCase) GetObservation

func (tr *DdosPolicyCase) GetObservation() (map[string]any, error)

GetObservation of this DdosPolicyCase

func (*DdosPolicyCase) GetParameters

func (tr *DdosPolicyCase) GetParameters() (map[string]any, error)

GetParameters of this DdosPolicyCase

func (*DdosPolicyCase) GetProviderConfigReference

func (mg *DdosPolicyCase) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DdosPolicyCase.

func (*DdosPolicyCase) GetPublishConnectionDetailsTo

func (mg *DdosPolicyCase) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DdosPolicyCase.

func (*DdosPolicyCase) GetTerraformResourceType

func (mg *DdosPolicyCase) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DdosPolicyCase

func (*DdosPolicyCase) GetTerraformSchemaVersion

func (tr *DdosPolicyCase) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DdosPolicyCase) GetWriteConnectionSecretToReference

func (mg *DdosPolicyCase) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DdosPolicyCase.

func (*DdosPolicyCase) Hub added in v0.8.1

func (tr *DdosPolicyCase) Hub()

Hub marks this type as a conversion hub.

func (*DdosPolicyCase) LateInitialize

func (tr *DdosPolicyCase) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DdosPolicyCase using its observed tfState. returns True if there are any spec changes for the resource.

func (*DdosPolicyCase) SetConditions

func (mg *DdosPolicyCase) SetConditions(c ...xpv1.Condition)

SetConditions of this DdosPolicyCase.

func (*DdosPolicyCase) SetDeletionPolicy

func (mg *DdosPolicyCase) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DdosPolicyCase.

func (*DdosPolicyCase) SetManagementPolicies added in v0.8.0

func (mg *DdosPolicyCase) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this DdosPolicyCase.

func (*DdosPolicyCase) SetObservation

func (tr *DdosPolicyCase) SetObservation(obs map[string]any) error

SetObservation for this DdosPolicyCase

func (*DdosPolicyCase) SetParameters

func (tr *DdosPolicyCase) SetParameters(params map[string]any) error

SetParameters for this DdosPolicyCase

func (*DdosPolicyCase) SetProviderConfigReference

func (mg *DdosPolicyCase) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DdosPolicyCase.

func (*DdosPolicyCase) SetPublishConnectionDetailsTo

func (mg *DdosPolicyCase) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DdosPolicyCase.

func (*DdosPolicyCase) SetWriteConnectionSecretToReference

func (mg *DdosPolicyCase) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DdosPolicyCase.

type DdosPolicyCaseInitParameters added in v0.8.0

type DdosPolicyCaseInitParameters struct {

	// App protocol set of the DDoS policy case.
	// App protocol set of the DDoS policy case.
	// +listType=set
	AppProtocols []*string `json:"appProtocols,omitempty" tf:"app_protocols,omitempty"`

	// App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
	// App type of the DDoS policy case. Valid values: `WEB`, `GAME`, `APP` and `OTHER`.
	AppType *string `json:"appType,omitempty" tf:"app_type,omitempty"`

	// Indicate whether the service involves overseas or not. Valid values: no and yes.
	// Indicate whether the service involves overseas or not. Valid values: `no` and `yes`.
	HasAbroad *string `json:"hasAbroad,omitempty" tf:"has_abroad,omitempty"`

	// Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
	// Indicate whether the service actively initiates TCP requests or not. Valid values: `no` and `yes`.
	HasInitiateTCP *string `json:"hasInitiateTcp,omitempty" tf:"has_initiate_tcp,omitempty"`

	// Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
	// Indicate whether the actively initiate UDP requests or not. Valid values: `no` and `yes`.
	HasInitiateUDP *string `json:"hasInitiateUdp,omitempty" tf:"has_initiate_udp,omitempty"`

	// Indicate whether the service involves VPN service or not. Valid values: no and yes.
	// Indicate whether the service involves VPN service or not. Valid values: `no` and `yes`.
	HasVPN *string `json:"hasVpn,omitempty" tf:"has_vpn,omitempty"`

	// The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
	// The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than `min_tcp_package_len`.
	MaxTCPPackageLen *string `json:"maxTcpPackageLen,omitempty" tf:"max_tcp_package_len,omitempty"`

	// The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
	// The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than `min_udp_package_len`.
	MaxUDPPackageLen *string `json:"maxUdpPackageLen,omitempty" tf:"max_udp_package_len,omitempty"`

	// The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
	// The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
	MinTCPPackageLen *string `json:"minTcpPackageLen,omitempty" tf:"min_tcp_package_len,omitempty"`

	// The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
	// The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
	MinUDPPackageLen *string `json:"minUdpPackageLen,omitempty" tf:"min_udp_package_len,omitempty"`

	// Name of the DDoS policy case. Length should between 1 and 64.
	// Name of the DDoS policy case. Length should between 1 and 64.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The port that actively initiates TCP requests. Valid value ranges: (1~65535).
	// The port that actively initiates TCP requests. Valid value ranges: (1~65535).
	PeerTCPPort *string `json:"peerTcpPort,omitempty" tf:"peer_tcp_port,omitempty"`

	// The port that actively initiates UDP requests. Valid value ranges: (1~65535).
	// The port that actively initiates UDP requests. Valid value ranges: (1~65535).
	PeerUDPPort *string `json:"peerUdpPort,omitempty" tf:"peer_udp_port,omitempty"`

	// Platform set of the DDoS policy case.
	// Platform set of the DDoS policy case.
	// +listType=set
	PlatformTypes []*string `json:"platformTypes,omitempty" tf:"platform_types,omitempty"`

	// Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
	// Type of the resource that the DDoS policy case works for. Valid values: `bgpip`, `bgp` and `bgp-multip`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
	// End port of the TCP service. Valid value ranges: (0~65535). It must be greater than `tcp_start_port`.
	TCPEndPort *string `json:"tcpEndPort,omitempty" tf:"tcp_end_port,omitempty"`

	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	TCPFootprint *string `json:"tcpFootprint,omitempty" tf:"tcp_footprint,omitempty"`

	// Start port of the TCP service. Valid value ranges: (0~65535).
	// Start port of the TCP service. Valid value ranges: (0~65535).
	TCPStartPort *string `json:"tcpStartPort,omitempty" tf:"tcp_start_port,omitempty"`

	// End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
	// End port of the UDP service. Valid value ranges: (0~65535). It must be greater than `udp_start_port`.
	UDPEndPort *string `json:"udpEndPort,omitempty" tf:"udp_end_port,omitempty"`

	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	UDPFootprint *string `json:"udpFootprint,omitempty" tf:"udp_footprint,omitempty"`

	// Start port of the UDP service. Valid value ranges: (0~65535).
	// Start port of the UDP service. Valid value ranges: (0~65535).
	UDPStartPort *string `json:"udpStartPort,omitempty" tf:"udp_start_port,omitempty"`

	// Web API url set.
	// Web API url set.
	// +listType=set
	WebAPIUrls []*string `json:"webApiUrls,omitempty" tf:"web_api_urls,omitempty"`
}

func (*DdosPolicyCaseInitParameters) DeepCopy added in v0.8.0

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

func (*DdosPolicyCaseInitParameters) DeepCopyInto added in v0.8.0

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

type DdosPolicyCaseList

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

DdosPolicyCaseList contains a list of DdosPolicyCases

func (*DdosPolicyCaseList) DeepCopy

func (in *DdosPolicyCaseList) DeepCopy() *DdosPolicyCaseList

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

func (*DdosPolicyCaseList) DeepCopyInto

func (in *DdosPolicyCaseList) DeepCopyInto(out *DdosPolicyCaseList)

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

func (*DdosPolicyCaseList) DeepCopyObject

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

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

func (*DdosPolicyCaseList) GetItems

func (l *DdosPolicyCaseList) GetItems() []resource.Managed

GetItems of this DdosPolicyCaseList.

type DdosPolicyCaseObservation

type DdosPolicyCaseObservation struct {

	// App protocol set of the DDoS policy case.
	// App protocol set of the DDoS policy case.
	// +listType=set
	AppProtocols []*string `json:"appProtocols,omitempty" tf:"app_protocols,omitempty"`

	// App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
	// App type of the DDoS policy case. Valid values: `WEB`, `GAME`, `APP` and `OTHER`.
	AppType *string `json:"appType,omitempty" tf:"app_type,omitempty"`

	// Create time of the DDoS policy case.
	// Create time of the DDoS policy case.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Indicate whether the service involves overseas or not. Valid values: no and yes.
	// Indicate whether the service involves overseas or not. Valid values: `no` and `yes`.
	HasAbroad *string `json:"hasAbroad,omitempty" tf:"has_abroad,omitempty"`

	// Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
	// Indicate whether the service actively initiates TCP requests or not. Valid values: `no` and `yes`.
	HasInitiateTCP *string `json:"hasInitiateTcp,omitempty" tf:"has_initiate_tcp,omitempty"`

	// Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
	// Indicate whether the actively initiate UDP requests or not. Valid values: `no` and `yes`.
	HasInitiateUDP *string `json:"hasInitiateUdp,omitempty" tf:"has_initiate_udp,omitempty"`

	// Indicate whether the service involves VPN service or not. Valid values: no and yes.
	// Indicate whether the service involves VPN service or not. Valid values: `no` and `yes`.
	HasVPN *string `json:"hasVpn,omitempty" tf:"has_vpn,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
	// The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than `min_tcp_package_len`.
	MaxTCPPackageLen *string `json:"maxTcpPackageLen,omitempty" tf:"max_tcp_package_len,omitempty"`

	// The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
	// The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than `min_udp_package_len`.
	MaxUDPPackageLen *string `json:"maxUdpPackageLen,omitempty" tf:"max_udp_package_len,omitempty"`

	// The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
	// The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
	MinTCPPackageLen *string `json:"minTcpPackageLen,omitempty" tf:"min_tcp_package_len,omitempty"`

	// The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
	// The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
	MinUDPPackageLen *string `json:"minUdpPackageLen,omitempty" tf:"min_udp_package_len,omitempty"`

	// Name of the DDoS policy case. Length should between 1 and 64.
	// Name of the DDoS policy case. Length should between 1 and 64.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The port that actively initiates TCP requests. Valid value ranges: (1~65535).
	// The port that actively initiates TCP requests. Valid value ranges: (1~65535).
	PeerTCPPort *string `json:"peerTcpPort,omitempty" tf:"peer_tcp_port,omitempty"`

	// The port that actively initiates UDP requests. Valid value ranges: (1~65535).
	// The port that actively initiates UDP requests. Valid value ranges: (1~65535).
	PeerUDPPort *string `json:"peerUdpPort,omitempty" tf:"peer_udp_port,omitempty"`

	// Platform set of the DDoS policy case.
	// Platform set of the DDoS policy case.
	// +listType=set
	PlatformTypes []*string `json:"platformTypes,omitempty" tf:"platform_types,omitempty"`

	// Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
	// Type of the resource that the DDoS policy case works for. Valid values: `bgpip`, `bgp` and `bgp-multip`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// ID of the DDoS policy case.
	// ID of the DDoS policy case.
	SceneID *string `json:"sceneId,omitempty" tf:"scene_id,omitempty"`

	// End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
	// End port of the TCP service. Valid value ranges: (0~65535). It must be greater than `tcp_start_port`.
	TCPEndPort *string `json:"tcpEndPort,omitempty" tf:"tcp_end_port,omitempty"`

	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	TCPFootprint *string `json:"tcpFootprint,omitempty" tf:"tcp_footprint,omitempty"`

	// Start port of the TCP service. Valid value ranges: (0~65535).
	// Start port of the TCP service. Valid value ranges: (0~65535).
	TCPStartPort *string `json:"tcpStartPort,omitempty" tf:"tcp_start_port,omitempty"`

	// End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
	// End port of the UDP service. Valid value ranges: (0~65535). It must be greater than `udp_start_port`.
	UDPEndPort *string `json:"udpEndPort,omitempty" tf:"udp_end_port,omitempty"`

	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	UDPFootprint *string `json:"udpFootprint,omitempty" tf:"udp_footprint,omitempty"`

	// Start port of the UDP service. Valid value ranges: (0~65535).
	// Start port of the UDP service. Valid value ranges: (0~65535).
	UDPStartPort *string `json:"udpStartPort,omitempty" tf:"udp_start_port,omitempty"`

	// Web API url set.
	// Web API url set.
	// +listType=set
	WebAPIUrls []*string `json:"webApiUrls,omitempty" tf:"web_api_urls,omitempty"`
}

func (*DdosPolicyCaseObservation) DeepCopy

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

func (*DdosPolicyCaseObservation) DeepCopyInto

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

type DdosPolicyCaseParameters

type DdosPolicyCaseParameters struct {

	// App protocol set of the DDoS policy case.
	// App protocol set of the DDoS policy case.
	// +kubebuilder:validation:Optional
	// +listType=set
	AppProtocols []*string `json:"appProtocols,omitempty" tf:"app_protocols,omitempty"`

	// App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
	// App type of the DDoS policy case. Valid values: `WEB`, `GAME`, `APP` and `OTHER`.
	// +kubebuilder:validation:Optional
	AppType *string `json:"appType,omitempty" tf:"app_type,omitempty"`

	// Indicate whether the service involves overseas or not. Valid values: no and yes.
	// Indicate whether the service involves overseas or not. Valid values: `no` and `yes`.
	// +kubebuilder:validation:Optional
	HasAbroad *string `json:"hasAbroad,omitempty" tf:"has_abroad,omitempty"`

	// Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
	// Indicate whether the service actively initiates TCP requests or not. Valid values: `no` and `yes`.
	// +kubebuilder:validation:Optional
	HasInitiateTCP *string `json:"hasInitiateTcp,omitempty" tf:"has_initiate_tcp,omitempty"`

	// Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
	// Indicate whether the actively initiate UDP requests or not. Valid values: `no` and `yes`.
	// +kubebuilder:validation:Optional
	HasInitiateUDP *string `json:"hasInitiateUdp,omitempty" tf:"has_initiate_udp,omitempty"`

	// Indicate whether the service involves VPN service or not. Valid values: no and yes.
	// Indicate whether the service involves VPN service or not. Valid values: `no` and `yes`.
	// +kubebuilder:validation:Optional
	HasVPN *string `json:"hasVpn,omitempty" tf:"has_vpn,omitempty"`

	// The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
	// The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than `min_tcp_package_len`.
	// +kubebuilder:validation:Optional
	MaxTCPPackageLen *string `json:"maxTcpPackageLen,omitempty" tf:"max_tcp_package_len,omitempty"`

	// The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
	// The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than `min_udp_package_len`.
	// +kubebuilder:validation:Optional
	MaxUDPPackageLen *string `json:"maxUdpPackageLen,omitempty" tf:"max_udp_package_len,omitempty"`

	// The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
	// The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
	// +kubebuilder:validation:Optional
	MinTCPPackageLen *string `json:"minTcpPackageLen,omitempty" tf:"min_tcp_package_len,omitempty"`

	// The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
	// The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
	// +kubebuilder:validation:Optional
	MinUDPPackageLen *string `json:"minUdpPackageLen,omitempty" tf:"min_udp_package_len,omitempty"`

	// Name of the DDoS policy case. Length should between 1 and 64.
	// Name of the DDoS policy case. Length should between 1 and 64.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The port that actively initiates TCP requests. Valid value ranges: (1~65535).
	// The port that actively initiates TCP requests. Valid value ranges: (1~65535).
	// +kubebuilder:validation:Optional
	PeerTCPPort *string `json:"peerTcpPort,omitempty" tf:"peer_tcp_port,omitempty"`

	// The port that actively initiates UDP requests. Valid value ranges: (1~65535).
	// The port that actively initiates UDP requests. Valid value ranges: (1~65535).
	// +kubebuilder:validation:Optional
	PeerUDPPort *string `json:"peerUdpPort,omitempty" tf:"peer_udp_port,omitempty"`

	// Platform set of the DDoS policy case.
	// Platform set of the DDoS policy case.
	// +kubebuilder:validation:Optional
	// +listType=set
	PlatformTypes []*string `json:"platformTypes,omitempty" tf:"platform_types,omitempty"`

	// Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
	// Type of the resource that the DDoS policy case works for. Valid values: `bgpip`, `bgp` and `bgp-multip`.
	// +kubebuilder:validation:Optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
	// End port of the TCP service. Valid value ranges: (0~65535). It must be greater than `tcp_start_port`.
	// +kubebuilder:validation:Optional
	TCPEndPort *string `json:"tcpEndPort,omitempty" tf:"tcp_end_port,omitempty"`

	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	// +kubebuilder:validation:Optional
	TCPFootprint *string `json:"tcpFootprint,omitempty" tf:"tcp_footprint,omitempty"`

	// Start port of the TCP service. Valid value ranges: (0~65535).
	// Start port of the TCP service. Valid value ranges: (0~65535).
	// +kubebuilder:validation:Optional
	TCPStartPort *string `json:"tcpStartPort,omitempty" tf:"tcp_start_port,omitempty"`

	// End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
	// End port of the UDP service. Valid value ranges: (0~65535). It must be greater than `udp_start_port`.
	// +kubebuilder:validation:Optional
	UDPEndPort *string `json:"udpEndPort,omitempty" tf:"udp_end_port,omitempty"`

	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	// The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
	// +kubebuilder:validation:Optional
	UDPFootprint *string `json:"udpFootprint,omitempty" tf:"udp_footprint,omitempty"`

	// Start port of the UDP service. Valid value ranges: (0~65535).
	// Start port of the UDP service. Valid value ranges: (0~65535).
	// +kubebuilder:validation:Optional
	UDPStartPort *string `json:"udpStartPort,omitempty" tf:"udp_start_port,omitempty"`

	// Web API url set.
	// Web API url set.
	// +kubebuilder:validation:Optional
	// +listType=set
	WebAPIUrls []*string `json:"webApiUrls,omitempty" tf:"web_api_urls,omitempty"`
}

func (*DdosPolicyCaseParameters) DeepCopy

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

func (*DdosPolicyCaseParameters) DeepCopyInto

func (in *DdosPolicyCaseParameters) DeepCopyInto(out *DdosPolicyCaseParameters)

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

type DdosPolicyCaseSpec

type DdosPolicyCaseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DdosPolicyCaseParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DdosPolicyCaseInitParameters `json:"initProvider,omitempty"`
}

DdosPolicyCaseSpec defines the desired state of DdosPolicyCase

func (*DdosPolicyCaseSpec) DeepCopy

func (in *DdosPolicyCaseSpec) DeepCopy() *DdosPolicyCaseSpec

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

func (*DdosPolicyCaseSpec) DeepCopyInto

func (in *DdosPolicyCaseSpec) DeepCopyInto(out *DdosPolicyCaseSpec)

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

type DdosPolicyCaseStatus

type DdosPolicyCaseStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DdosPolicyCaseObservation `json:"atProvider,omitempty"`
}

DdosPolicyCaseStatus defines the observed state of DdosPolicyCase.

func (*DdosPolicyCaseStatus) DeepCopy

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

func (*DdosPolicyCaseStatus) DeepCopyInto

func (in *DdosPolicyCaseStatus) DeepCopyInto(out *DdosPolicyCaseStatus)

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

type DdosPolicyInitParameters added in v0.8.0

type DdosPolicyInitParameters struct {

	// Black IP list.
	// Black IP list.
	// +listType=set
	BlackIps []*string `json:"blackIps,omitempty" tf:"black_ips,omitempty"`

	// Option list of abnormal check of the DDos policy, should set at least one policy.
	// Option list of abnormal check of the DDos policy, should set at least one policy.
	DropOptions []DropOptionsInitParameters `json:"dropOptions,omitempty" tf:"drop_options,omitempty"`

	// Name of the DDoS policy. Length should between 1 and 32.
	// Name of the DDoS policy. Length should between 1 and 32.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Message filter options list.
	// Message filter options list.
	PacketFilters []PacketFiltersInitParameters `json:"packetFilters,omitempty" tf:"packet_filters,omitempty"`

	// Port limits of abnormal check of the DDos policy.
	// Port limits of abnormal check of the DDos policy.
	PortFilters []PortFiltersInitParameters `json:"portFilters,omitempty" tf:"port_filters,omitempty"`

	// Type of the resource that the DDoS policy works for. Valid values: bgpip, bgp, bgp-multip and net.
	// Type of the resource that the DDoS policy works for. Valid values: `bgpip`, `bgp`, `bgp-multip` and `net`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// Watermark policy options, and only support one watermark policy at most.
	// Watermark policy options, and only support one watermark policy at most.
	WatermarkFilters []WatermarkFiltersInitParameters `json:"watermarkFilters,omitempty" tf:"watermark_filters,omitempty"`

	// White IP list.
	// White IP list.
	// +listType=set
	WhiteIps []*string `json:"whiteIps,omitempty" tf:"white_ips,omitempty"`
}

func (*DdosPolicyInitParameters) DeepCopy added in v0.8.0

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

func (*DdosPolicyInitParameters) DeepCopyInto added in v0.8.0

func (in *DdosPolicyInitParameters) DeepCopyInto(out *DdosPolicyInitParameters)

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

type DdosPolicyList

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

DdosPolicyList contains a list of DdosPolicys

func (*DdosPolicyList) DeepCopy

func (in *DdosPolicyList) DeepCopy() *DdosPolicyList

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

func (*DdosPolicyList) DeepCopyInto

func (in *DdosPolicyList) DeepCopyInto(out *DdosPolicyList)

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

func (*DdosPolicyList) DeepCopyObject

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

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

func (*DdosPolicyList) GetItems

func (l *DdosPolicyList) GetItems() []resource.Managed

GetItems of this DdosPolicyList.

type DdosPolicyObservation

type DdosPolicyObservation struct {

	// Black IP list.
	// Black IP list.
	// +listType=set
	BlackIps []*string `json:"blackIps,omitempty" tf:"black_ips,omitempty"`

	// Create time of the DDoS policy.
	// Create time of the DDoS policy.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Option list of abnormal check of the DDos policy, should set at least one policy.
	// Option list of abnormal check of the DDos policy, should set at least one policy.
	DropOptions []DropOptionsObservation `json:"dropOptions,omitempty" tf:"drop_options,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name of the DDoS policy. Length should between 1 and 32.
	// Name of the DDoS policy. Length should between 1 and 32.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Message filter options list.
	// Message filter options list.
	PacketFilters []PacketFiltersObservation `json:"packetFilters,omitempty" tf:"packet_filters,omitempty"`

	// Id of policy.
	// Id of policy.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// Port limits of abnormal check of the DDos policy.
	// Port limits of abnormal check of the DDos policy.
	PortFilters []PortFiltersObservation `json:"portFilters,omitempty" tf:"port_filters,omitempty"`

	// Type of the resource that the DDoS policy works for. Valid values: bgpip, bgp, bgp-multip and net.
	// Type of the resource that the DDoS policy works for. Valid values: `bgpip`, `bgp`, `bgp-multip` and `net`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// Id of policy case that the DDoS policy works for.
	// Id of policy case that the DDoS policy works for.
	SceneID *string `json:"sceneId,omitempty" tf:"scene_id,omitempty"`

	// Watermark policy options, and only support one watermark policy at most.
	// Watermark policy options, and only support one watermark policy at most.
	WatermarkFilters []WatermarkFiltersObservation `json:"watermarkFilters,omitempty" tf:"watermark_filters,omitempty"`

	// Watermark content.
	// Watermark content.
	WatermarkKey []WatermarkKeyObservation `json:"watermarkKey,omitempty" tf:"watermark_key,omitempty"`

	// White IP list.
	// White IP list.
	// +listType=set
	WhiteIps []*string `json:"whiteIps,omitempty" tf:"white_ips,omitempty"`
}

func (*DdosPolicyObservation) DeepCopy

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

func (*DdosPolicyObservation) DeepCopyInto

func (in *DdosPolicyObservation) DeepCopyInto(out *DdosPolicyObservation)

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

type DdosPolicyParameters

type DdosPolicyParameters struct {

	// Black IP list.
	// Black IP list.
	// +kubebuilder:validation:Optional
	// +listType=set
	BlackIps []*string `json:"blackIps,omitempty" tf:"black_ips,omitempty"`

	// Option list of abnormal check of the DDos policy, should set at least one policy.
	// Option list of abnormal check of the DDos policy, should set at least one policy.
	// +kubebuilder:validation:Optional
	DropOptions []DropOptionsParameters `json:"dropOptions,omitempty" tf:"drop_options,omitempty"`

	// Name of the DDoS policy. Length should between 1 and 32.
	// Name of the DDoS policy. Length should between 1 and 32.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Message filter options list.
	// Message filter options list.
	// +kubebuilder:validation:Optional
	PacketFilters []PacketFiltersParameters `json:"packetFilters,omitempty" tf:"packet_filters,omitempty"`

	// Port limits of abnormal check of the DDos policy.
	// Port limits of abnormal check of the DDos policy.
	// +kubebuilder:validation:Optional
	PortFilters []PortFiltersParameters `json:"portFilters,omitempty" tf:"port_filters,omitempty"`

	// Type of the resource that the DDoS policy works for. Valid values: bgpip, bgp, bgp-multip and net.
	// Type of the resource that the DDoS policy works for. Valid values: `bgpip`, `bgp`, `bgp-multip` and `net`.
	// +kubebuilder:validation:Optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// Watermark policy options, and only support one watermark policy at most.
	// Watermark policy options, and only support one watermark policy at most.
	// +kubebuilder:validation:Optional
	WatermarkFilters []WatermarkFiltersParameters `json:"watermarkFilters,omitempty" tf:"watermark_filters,omitempty"`

	// White IP list.
	// White IP list.
	// +kubebuilder:validation:Optional
	// +listType=set
	WhiteIps []*string `json:"whiteIps,omitempty" tf:"white_ips,omitempty"`
}

func (*DdosPolicyParameters) DeepCopy

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

func (*DdosPolicyParameters) DeepCopyInto

func (in *DdosPolicyParameters) DeepCopyInto(out *DdosPolicyParameters)

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

type DdosPolicySpec

type DdosPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DdosPolicyParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DdosPolicyInitParameters `json:"initProvider,omitempty"`
}

DdosPolicySpec defines the desired state of DdosPolicy

func (*DdosPolicySpec) DeepCopy

func (in *DdosPolicySpec) DeepCopy() *DdosPolicySpec

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

func (*DdosPolicySpec) DeepCopyInto

func (in *DdosPolicySpec) DeepCopyInto(out *DdosPolicySpec)

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

type DdosPolicyStatus

type DdosPolicyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DdosPolicyObservation `json:"atProvider,omitempty"`
}

DdosPolicyStatus defines the observed state of DdosPolicy.

func (*DdosPolicyStatus) DeepCopy

func (in *DdosPolicyStatus) DeepCopy() *DdosPolicyStatus

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

func (*DdosPolicyStatus) DeepCopyInto

func (in *DdosPolicyStatus) DeepCopyInto(out *DdosPolicyStatus)

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

type DdosPolicyV2

type DdosPolicyV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	Spec   DdosPolicyV2Spec   `json:"spec"`
	Status DdosPolicyV2Status `json:"status,omitempty"`
}

DdosPolicyV2 is the Schema for the DdosPolicyV2s API. Use this resource to create dayu DDoS policy v2 +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*DdosPolicyV2) DeepCopy

func (in *DdosPolicyV2) DeepCopy() *DdosPolicyV2

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

func (*DdosPolicyV2) DeepCopyInto

func (in *DdosPolicyV2) DeepCopyInto(out *DdosPolicyV2)

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

func (*DdosPolicyV2) DeepCopyObject

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

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

func (*DdosPolicyV2) GetCondition

func (mg *DdosPolicyV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DdosPolicyV2.

func (*DdosPolicyV2) GetConnectionDetailsMapping

func (tr *DdosPolicyV2) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DdosPolicyV2

func (*DdosPolicyV2) GetDeletionPolicy

func (mg *DdosPolicyV2) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DdosPolicyV2.

func (*DdosPolicyV2) GetID

func (tr *DdosPolicyV2) GetID() string

GetID returns ID of underlying Terraform resource of this DdosPolicyV2

func (*DdosPolicyV2) GetInitParameters added in v0.8.0

func (tr *DdosPolicyV2) GetInitParameters() (map[string]any, error)

GetInitParameters of this DdosPolicyV2

func (*DdosPolicyV2) GetManagementPolicies added in v0.8.0

func (mg *DdosPolicyV2) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this DdosPolicyV2.

func (*DdosPolicyV2) GetMergedParameters added in v0.8.1

func (tr *DdosPolicyV2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this DdosPolicyV2

func (*DdosPolicyV2) GetObservation

func (tr *DdosPolicyV2) GetObservation() (map[string]any, error)

GetObservation of this DdosPolicyV2

func (*DdosPolicyV2) GetParameters

func (tr *DdosPolicyV2) GetParameters() (map[string]any, error)

GetParameters of this DdosPolicyV2

func (*DdosPolicyV2) GetProviderConfigReference

func (mg *DdosPolicyV2) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DdosPolicyV2.

func (*DdosPolicyV2) GetPublishConnectionDetailsTo

func (mg *DdosPolicyV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DdosPolicyV2.

func (*DdosPolicyV2) GetTerraformResourceType

func (mg *DdosPolicyV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DdosPolicyV2

func (*DdosPolicyV2) GetTerraformSchemaVersion

func (tr *DdosPolicyV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DdosPolicyV2) GetWriteConnectionSecretToReference

func (mg *DdosPolicyV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DdosPolicyV2.

func (*DdosPolicyV2) Hub added in v0.8.1

func (tr *DdosPolicyV2) Hub()

Hub marks this type as a conversion hub.

func (*DdosPolicyV2) LateInitialize

func (tr *DdosPolicyV2) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DdosPolicyV2 using its observed tfState. returns True if there are any spec changes for the resource.

func (*DdosPolicyV2) SetConditions

func (mg *DdosPolicyV2) SetConditions(c ...xpv1.Condition)

SetConditions of this DdosPolicyV2.

func (*DdosPolicyV2) SetDeletionPolicy

func (mg *DdosPolicyV2) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DdosPolicyV2.

func (*DdosPolicyV2) SetManagementPolicies added in v0.8.0

func (mg *DdosPolicyV2) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this DdosPolicyV2.

func (*DdosPolicyV2) SetObservation

func (tr *DdosPolicyV2) SetObservation(obs map[string]any) error

SetObservation for this DdosPolicyV2

func (*DdosPolicyV2) SetParameters

func (tr *DdosPolicyV2) SetParameters(params map[string]any) error

SetParameters for this DdosPolicyV2

func (*DdosPolicyV2) SetProviderConfigReference

func (mg *DdosPolicyV2) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DdosPolicyV2.

func (*DdosPolicyV2) SetPublishConnectionDetailsTo

func (mg *DdosPolicyV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DdosPolicyV2.

func (*DdosPolicyV2) SetWriteConnectionSecretToReference

func (mg *DdosPolicyV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DdosPolicyV2.

type DdosPolicyV2InitParameters added in v0.8.0

type DdosPolicyV2InitParameters struct {

	// Port ACL policy for DDoS protection.
	// Port ACL policy for DDoS protection.
	Acls []AclsInitParameters `json:"acls,omitempty" tf:"acls,omitempty"`

	// DDoS-protected IP blacklist and whitelist.
	// DDoS-protected IP blacklist and whitelist.
	BlackWhiteIps []BlackWhiteIpsInitParameters `json:"blackWhiteIps,omitempty" tf:"black_white_ips,omitempty"`

	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	Business *string `json:"business,omitempty" tf:"business,omitempty"`

	// AI protection switch, take the value [on, off].
	// AI protection switch, take the value [`on`, `off`].
	DdosAI *string `json:"ddosAi,omitempty" tf:"ddos_ai,omitempty"`

	// DDoS connection suppression options.
	// DDoS connection suppression options.
	DdosConnectLimit []DdosConnectLimitInitParameters `json:"ddosConnectLimit,omitempty" tf:"ddos_connect_limit,omitempty"`

	// DDoS-protected area block configuration.
	// DDoS-protected area block configuration.
	DdosGeoIPBlockConfig []DdosGeoIPBlockConfigInitParameters `json:"ddosGeoIpBlockConfig,omitempty" tf:"ddos_geo_ip_block_config,omitempty"`

	// Protection class, value [low, middle, high].
	// Protection class, value [`low`, `middle`, `high`].
	DdosLevel *string `json:"ddosLevel,omitempty" tf:"ddos_level,omitempty"`

	// Access speed limit configuration for DDoS protection.
	// Access speed limit configuration for DDoS protection.
	DdosSpeedLimitConfig []DdosSpeedLimitConfigInitParameters `json:"ddosSpeedLimitConfig,omitempty" tf:"ddos_speed_limit_config,omitempty"`

	// DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
	// DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
	DdosThreshold *float64 `json:"ddosThreshold,omitempty" tf:"ddos_threshold,omitempty"`

	// Feature filtering rules for DDoS protection.
	// Feature filtering rules for DDoS protection.
	PacketFilters []DdosPolicyV2PacketFiltersInitParameters `json:"packetFilters,omitempty" tf:"packet_filters,omitempty"`

	// Protocol block configuration for DDoS protection.
	// Protocol block configuration for DDoS protection.
	ProtocolBlockConfig []ProtocolBlockConfigInitParameters `json:"protocolBlockConfig,omitempty" tf:"protocol_block_config,omitempty"`

	// The ID of the resource instance.
	// The ID of the resource instance.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Water print config.
	// Water print config.
	WaterPrintConfig []WaterPrintConfigInitParameters `json:"waterPrintConfig,omitempty" tf:"water_print_config,omitempty"`
}

func (*DdosPolicyV2InitParameters) DeepCopy added in v0.8.0

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

func (*DdosPolicyV2InitParameters) DeepCopyInto added in v0.8.0

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

type DdosPolicyV2List

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

DdosPolicyV2List contains a list of DdosPolicyV2s

func (*DdosPolicyV2List) DeepCopy

func (in *DdosPolicyV2List) DeepCopy() *DdosPolicyV2List

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

func (*DdosPolicyV2List) DeepCopyInto

func (in *DdosPolicyV2List) DeepCopyInto(out *DdosPolicyV2List)

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

func (*DdosPolicyV2List) DeepCopyObject

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

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

func (*DdosPolicyV2List) GetItems

func (l *DdosPolicyV2List) GetItems() []resource.Managed

GetItems of this DdosPolicyV2List.

type DdosPolicyV2Observation

type DdosPolicyV2Observation struct {

	// Port ACL policy for DDoS protection.
	// Port ACL policy for DDoS protection.
	Acls []AclsObservation `json:"acls,omitempty" tf:"acls,omitempty"`

	// DDoS-protected IP blacklist and whitelist.
	// DDoS-protected IP blacklist and whitelist.
	BlackWhiteIps []BlackWhiteIpsObservation `json:"blackWhiteIps,omitempty" tf:"black_white_ips,omitempty"`

	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	Business *string `json:"business,omitempty" tf:"business,omitempty"`

	// AI protection switch, take the value [on, off].
	// AI protection switch, take the value [`on`, `off`].
	DdosAI *string `json:"ddosAi,omitempty" tf:"ddos_ai,omitempty"`

	// DDoS connection suppression options.
	// DDoS connection suppression options.
	DdosConnectLimit []DdosConnectLimitObservation `json:"ddosConnectLimit,omitempty" tf:"ddos_connect_limit,omitempty"`

	// DDoS-protected area block configuration.
	// DDoS-protected area block configuration.
	DdosGeoIPBlockConfig []DdosGeoIPBlockConfigObservation `json:"ddosGeoIpBlockConfig,omitempty" tf:"ddos_geo_ip_block_config,omitempty"`

	// Protection class, value [low, middle, high].
	// Protection class, value [`low`, `middle`, `high`].
	DdosLevel *string `json:"ddosLevel,omitempty" tf:"ddos_level,omitempty"`

	// Access speed limit configuration for DDoS protection.
	// Access speed limit configuration for DDoS protection.
	DdosSpeedLimitConfig []DdosSpeedLimitConfigObservation `json:"ddosSpeedLimitConfig,omitempty" tf:"ddos_speed_limit_config,omitempty"`

	// DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
	// DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
	DdosThreshold *float64 `json:"ddosThreshold,omitempty" tf:"ddos_threshold,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Feature filtering rules for DDoS protection.
	// Feature filtering rules for DDoS protection.
	PacketFilters []DdosPolicyV2PacketFiltersObservation `json:"packetFilters,omitempty" tf:"packet_filters,omitempty"`

	// Protocol block configuration for DDoS protection.
	// Protocol block configuration for DDoS protection.
	ProtocolBlockConfig []ProtocolBlockConfigObservation `json:"protocolBlockConfig,omitempty" tf:"protocol_block_config,omitempty"`

	// The ID of the resource instance.
	// The ID of the resource instance.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Water print config.
	// Water print config.
	WaterPrintConfig []WaterPrintConfigObservation `json:"waterPrintConfig,omitempty" tf:"water_print_config,omitempty"`
}

func (*DdosPolicyV2Observation) DeepCopy

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

func (*DdosPolicyV2Observation) DeepCopyInto

func (in *DdosPolicyV2Observation) DeepCopyInto(out *DdosPolicyV2Observation)

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

type DdosPolicyV2PacketFiltersInitParameters added in v0.8.0

type DdosPolicyV2PacketFiltersInitParameters struct {

	// Block action, take the value [drop, trans].
	// Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
	// The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
	DPortEnd *float64 `json:"dPortEnd,omitempty" tf:"d_port_end,omitempty"`

	// From the destination port, take the value 0~65535.
	// From the destination port, take the value 0~65535.
	DPortStart *float64 `json:"dPortStart,omitempty" tf:"d_port_start,omitempty"`

	// Detection depth from the detection position, value [0,1500].
	// Detection depth from the detection position, value [0,1500].
	Depth *float64 `json:"depth,omitempty" tf:"depth,omitempty"`

	// Second detection depth starting from the second detection position, value [0,1500].
	// Second detection depth starting from the second detection position, value [0,1500].
	Depth2 *float64 `json:"depth2,omitempty" tf:"depth2,omitempty"`

	// Whether to include the detected value, take the value [0 (included),1 (not included)].
	// Whether to include the detected value, take the value [0 (included),1 (not included)].
	IsNot *float64 `json:"isNot,omitempty" tf:"is_not,omitempty"`

	// Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
	// Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
	IsNot2 *float64 `json:"isNot2,omitempty" tf:"is_not2,omitempty"`

	// Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	// Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	MatchBegin *string `json:"matchBegin,omitempty" tf:"match_begin,omitempty"`

	// The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	// The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	MatchBegin2 *string `json:"matchBegin2,omitempty" tf:"match_begin2,omitempty"`

	// When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
	// When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
	MatchLogic *string `json:"matchLogic,omitempty" tf:"match_logic,omitempty"`

	// Detection type, value [sunday (keyword),pcre (regular expression)].
	// Detection type, value [sunday (keyword),pcre (regular expression)].
	MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"`

	// The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
	// The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
	MatchType2 *string `json:"matchType2,omitempty" tf:"match_type2,omitempty"`

	// Watermark offset, value range: [0-100].
	// Offset from detection position, value range [0, Depth].
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// Offset from the second detection position, value range [0,Depth2].
	// Offset from the second detection position, value range [0,Depth2].
	Offset2 *float64 `json:"offset2,omitempty" tf:"offset2,omitempty"`

	// The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
	// The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
	PktlenMax *float64 `json:"pktlenMax,omitempty" tf:"pktlen_max,omitempty"`

	// Minimum message length, 1-1500.
	// Minimum message length, 1-1500.
	PktlenMin *float64 `json:"pktlenMin,omitempty" tf:"pktlen_min,omitempty"`

	// Protocol, value [tcp udp icmp all].
	// Protocol, value [tcp udp icmp all].
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The source port ends, and the acceptable value ranges from 0 to 65535.
	// End source port, take the value 1~65535, must be greater than or equal to the starting source port.
	SPortEnd *float64 `json:"sPortEnd,omitempty" tf:"s_port_end,omitempty"`

	// The source port starts, and the value range is 0~65535.
	// Start the source port, take the value 0~65535.
	SPortStart *float64 `json:"sPortStart,omitempty" tf:"s_port_start,omitempty"`

	// Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
	// Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string `123`;When the detection type is pcre, please fill in the regular expression string;].
	Str *string `json:"str,omitempty" tf:"str,omitempty"`

	// The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
	// The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string `123`;When the detection type is pcre, please fill in the regular expression string;].
	Str2 *string `json:"str2,omitempty" tf:"str2,omitempty"`
}

func (*DdosPolicyV2PacketFiltersInitParameters) DeepCopy added in v0.8.0

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

func (*DdosPolicyV2PacketFiltersInitParameters) DeepCopyInto added in v0.8.0

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

type DdosPolicyV2PacketFiltersObservation

type DdosPolicyV2PacketFiltersObservation struct {

	// Block action, take the value [drop, trans].
	// Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
	// The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
	DPortEnd *float64 `json:"dPortEnd,omitempty" tf:"d_port_end,omitempty"`

	// From the destination port, take the value 0~65535.
	// From the destination port, take the value 0~65535.
	DPortStart *float64 `json:"dPortStart,omitempty" tf:"d_port_start,omitempty"`

	// Detection depth from the detection position, value [0,1500].
	// Detection depth from the detection position, value [0,1500].
	Depth *float64 `json:"depth,omitempty" tf:"depth,omitempty"`

	// Second detection depth starting from the second detection position, value [0,1500].
	// Second detection depth starting from the second detection position, value [0,1500].
	Depth2 *float64 `json:"depth2,omitempty" tf:"depth2,omitempty"`

	// Whether to include the detected value, take the value [0 (included),1 (not included)].
	// Whether to include the detected value, take the value [0 (included),1 (not included)].
	IsNot *float64 `json:"isNot,omitempty" tf:"is_not,omitempty"`

	// Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
	// Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
	IsNot2 *float64 `json:"isNot2,omitempty" tf:"is_not2,omitempty"`

	// Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	// Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	MatchBegin *string `json:"matchBegin,omitempty" tf:"match_begin,omitempty"`

	// The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	// The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	MatchBegin2 *string `json:"matchBegin2,omitempty" tf:"match_begin2,omitempty"`

	// When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
	// When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
	MatchLogic *string `json:"matchLogic,omitempty" tf:"match_logic,omitempty"`

	// Detection type, value [sunday (keyword),pcre (regular expression)].
	// Detection type, value [sunday (keyword),pcre (regular expression)].
	MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"`

	// The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
	// The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
	MatchType2 *string `json:"matchType2,omitempty" tf:"match_type2,omitempty"`

	// Watermark offset, value range: [0-100].
	// Offset from detection position, value range [0, Depth].
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// Offset from the second detection position, value range [0,Depth2].
	// Offset from the second detection position, value range [0,Depth2].
	Offset2 *float64 `json:"offset2,omitempty" tf:"offset2,omitempty"`

	// The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
	// The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
	PktlenMax *float64 `json:"pktlenMax,omitempty" tf:"pktlen_max,omitempty"`

	// Minimum message length, 1-1500.
	// Minimum message length, 1-1500.
	PktlenMin *float64 `json:"pktlenMin,omitempty" tf:"pktlen_min,omitempty"`

	// Protocol, value [tcp udp icmp all].
	// Protocol, value [tcp udp icmp all].
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The source port ends, and the acceptable value ranges from 0 to 65535.
	// End source port, take the value 1~65535, must be greater than or equal to the starting source port.
	SPortEnd *float64 `json:"sPortEnd,omitempty" tf:"s_port_end,omitempty"`

	// The source port starts, and the value range is 0~65535.
	// Start the source port, take the value 0~65535.
	SPortStart *float64 `json:"sPortStart,omitempty" tf:"s_port_start,omitempty"`

	// Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
	// Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string `123`;When the detection type is pcre, please fill in the regular expression string;].
	Str *string `json:"str,omitempty" tf:"str,omitempty"`

	// The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
	// The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string `123`;When the detection type is pcre, please fill in the regular expression string;].
	Str2 *string `json:"str2,omitempty" tf:"str2,omitempty"`
}

func (*DdosPolicyV2PacketFiltersObservation) DeepCopy

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

func (*DdosPolicyV2PacketFiltersObservation) DeepCopyInto

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

type DdosPolicyV2PacketFiltersParameters

type DdosPolicyV2PacketFiltersParameters struct {

	// Block action, take the value [drop, trans].
	// Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
	// The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
	// +kubebuilder:validation:Optional
	DPortEnd *float64 `json:"dPortEnd" tf:"d_port_end,omitempty"`

	// From the destination port, take the value 0~65535.
	// From the destination port, take the value 0~65535.
	// +kubebuilder:validation:Optional
	DPortStart *float64 `json:"dPortStart" tf:"d_port_start,omitempty"`

	// Detection depth from the detection position, value [0,1500].
	// Detection depth from the detection position, value [0,1500].
	// +kubebuilder:validation:Optional
	Depth *float64 `json:"depth" tf:"depth,omitempty"`

	// Second detection depth starting from the second detection position, value [0,1500].
	// Second detection depth starting from the second detection position, value [0,1500].
	// +kubebuilder:validation:Optional
	Depth2 *float64 `json:"depth2" tf:"depth2,omitempty"`

	// Whether to include the detected value, take the value [0 (included),1 (not included)].
	// Whether to include the detected value, take the value [0 (included),1 (not included)].
	// +kubebuilder:validation:Optional
	IsNot *float64 `json:"isNot" tf:"is_not,omitempty"`

	// Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
	// Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
	// +kubebuilder:validation:Optional
	IsNot2 *float64 `json:"isNot2" tf:"is_not2,omitempty"`

	// Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	// Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	// +kubebuilder:validation:Optional
	MatchBegin *string `json:"matchBegin" tf:"match_begin,omitempty"`

	// The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	// The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
	// +kubebuilder:validation:Optional
	MatchBegin2 *string `json:"matchBegin2" tf:"match_begin2,omitempty"`

	// When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
	// When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
	// +kubebuilder:validation:Optional
	MatchLogic *string `json:"matchLogic" tf:"match_logic,omitempty"`

	// Detection type, value [sunday (keyword),pcre (regular expression)].
	// Detection type, value [sunday (keyword),pcre (regular expression)].
	// +kubebuilder:validation:Optional
	MatchType *string `json:"matchType" tf:"match_type,omitempty"`

	// The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
	// The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
	// +kubebuilder:validation:Optional
	MatchType2 *string `json:"matchType2" tf:"match_type2,omitempty"`

	// Watermark offset, value range: [0-100].
	// Offset from detection position, value range [0, Depth].
	// +kubebuilder:validation:Optional
	Offset *float64 `json:"offset" tf:"offset,omitempty"`

	// Offset from the second detection position, value range [0,Depth2].
	// Offset from the second detection position, value range [0,Depth2].
	// +kubebuilder:validation:Optional
	Offset2 *float64 `json:"offset2" tf:"offset2,omitempty"`

	// The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
	// The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
	// +kubebuilder:validation:Optional
	PktlenMax *float64 `json:"pktlenMax" tf:"pktlen_max,omitempty"`

	// Minimum message length, 1-1500.
	// Minimum message length, 1-1500.
	// +kubebuilder:validation:Optional
	PktlenMin *float64 `json:"pktlenMin" tf:"pktlen_min,omitempty"`

	// Protocol, value [tcp udp icmp all].
	// Protocol, value [tcp udp icmp all].
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`

	// The source port ends, and the acceptable value ranges from 0 to 65535.
	// End source port, take the value 1~65535, must be greater than or equal to the starting source port.
	// +kubebuilder:validation:Optional
	SPortEnd *float64 `json:"sPortEnd" tf:"s_port_end,omitempty"`

	// The source port starts, and the value range is 0~65535.
	// Start the source port, take the value 0~65535.
	// +kubebuilder:validation:Optional
	SPortStart *float64 `json:"sPortStart" tf:"s_port_start,omitempty"`

	// Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
	// Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string `123`;When the detection type is pcre, please fill in the regular expression string;].
	// +kubebuilder:validation:Optional
	Str *string `json:"str" tf:"str,omitempty"`

	// The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
	// The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string `123`;When the detection type is pcre, please fill in the regular expression string;].
	// +kubebuilder:validation:Optional
	Str2 *string `json:"str2" tf:"str2,omitempty"`
}

func (*DdosPolicyV2PacketFiltersParameters) DeepCopy

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

func (*DdosPolicyV2PacketFiltersParameters) DeepCopyInto

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

type DdosPolicyV2Parameters

type DdosPolicyV2Parameters struct {

	// Port ACL policy for DDoS protection.
	// Port ACL policy for DDoS protection.
	// +kubebuilder:validation:Optional
	Acls []AclsParameters `json:"acls,omitempty" tf:"acls,omitempty"`

	// DDoS-protected IP blacklist and whitelist.
	// DDoS-protected IP blacklist and whitelist.
	// +kubebuilder:validation:Optional
	BlackWhiteIps []BlackWhiteIpsParameters `json:"blackWhiteIps,omitempty" tf:"black_white_ips,omitempty"`

	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	// Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
	// +kubebuilder:validation:Optional
	Business *string `json:"business,omitempty" tf:"business,omitempty"`

	// AI protection switch, take the value [on, off].
	// AI protection switch, take the value [`on`, `off`].
	// +kubebuilder:validation:Optional
	DdosAI *string `json:"ddosAi,omitempty" tf:"ddos_ai,omitempty"`

	// DDoS connection suppression options.
	// DDoS connection suppression options.
	// +kubebuilder:validation:Optional
	DdosConnectLimit []DdosConnectLimitParameters `json:"ddosConnectLimit,omitempty" tf:"ddos_connect_limit,omitempty"`

	// DDoS-protected area block configuration.
	// DDoS-protected area block configuration.
	// +kubebuilder:validation:Optional
	DdosGeoIPBlockConfig []DdosGeoIPBlockConfigParameters `json:"ddosGeoIpBlockConfig,omitempty" tf:"ddos_geo_ip_block_config,omitempty"`

	// Protection class, value [low, middle, high].
	// Protection class, value [`low`, `middle`, `high`].
	// +kubebuilder:validation:Optional
	DdosLevel *string `json:"ddosLevel,omitempty" tf:"ddos_level,omitempty"`

	// Access speed limit configuration for DDoS protection.
	// Access speed limit configuration for DDoS protection.
	// +kubebuilder:validation:Optional
	DdosSpeedLimitConfig []DdosSpeedLimitConfigParameters `json:"ddosSpeedLimitConfig,omitempty" tf:"ddos_speed_limit_config,omitempty"`

	// DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
	// DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
	// +kubebuilder:validation:Optional
	DdosThreshold *float64 `json:"ddosThreshold,omitempty" tf:"ddos_threshold,omitempty"`

	// Feature filtering rules for DDoS protection.
	// Feature filtering rules for DDoS protection.
	// +kubebuilder:validation:Optional
	PacketFilters []DdosPolicyV2PacketFiltersParameters `json:"packetFilters,omitempty" tf:"packet_filters,omitempty"`

	// Protocol block configuration for DDoS protection.
	// Protocol block configuration for DDoS protection.
	// +kubebuilder:validation:Optional
	ProtocolBlockConfig []ProtocolBlockConfigParameters `json:"protocolBlockConfig,omitempty" tf:"protocol_block_config,omitempty"`

	// The ID of the resource instance.
	// The ID of the resource instance.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Water print config.
	// Water print config.
	// +kubebuilder:validation:Optional
	WaterPrintConfig []WaterPrintConfigParameters `json:"waterPrintConfig,omitempty" tf:"water_print_config,omitempty"`
}

func (*DdosPolicyV2Parameters) DeepCopy

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

func (*DdosPolicyV2Parameters) DeepCopyInto

func (in *DdosPolicyV2Parameters) DeepCopyInto(out *DdosPolicyV2Parameters)

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

type DdosPolicyV2Spec

type DdosPolicyV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DdosPolicyV2Parameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DdosPolicyV2InitParameters `json:"initProvider,omitempty"`
}

DdosPolicyV2Spec defines the desired state of DdosPolicyV2

func (*DdosPolicyV2Spec) DeepCopy

func (in *DdosPolicyV2Spec) DeepCopy() *DdosPolicyV2Spec

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

func (*DdosPolicyV2Spec) DeepCopyInto

func (in *DdosPolicyV2Spec) DeepCopyInto(out *DdosPolicyV2Spec)

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

type DdosPolicyV2Status

type DdosPolicyV2Status struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DdosPolicyV2Observation `json:"atProvider,omitempty"`
}

DdosPolicyV2Status defines the observed state of DdosPolicyV2.

func (*DdosPolicyV2Status) DeepCopy

func (in *DdosPolicyV2Status) DeepCopy() *DdosPolicyV2Status

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

func (*DdosPolicyV2Status) DeepCopyInto

func (in *DdosPolicyV2Status) DeepCopyInto(out *DdosPolicyV2Status)

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

type DdosSpeedLimitConfigInitParameters added in v0.8.0

type DdosSpeedLimitConfigInitParameters struct {

	// Bandwidth bps.
	// Bandwidth bps.
	Bandwidth *float64 `json:"bandwidth,omitempty" tf:"bandwidth,omitempty"`

	// List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
	// List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
	DstPortList *string `json:"dstPortList,omitempty" tf:"dst_port_list,omitempty"`

	// Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
	// Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
	Mode *float64 `json:"mode,omitempty" tf:"mode,omitempty"`

	// Packet rate pps.
	// Packet rate pps.
	PacketRate *float64 `json:"packetRate,omitempty" tf:"packet_rate,omitempty"`

	// IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
	// IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
	ProtocolList *string `json:"protocolList,omitempty" tf:"protocol_list,omitempty"`
}

func (*DdosSpeedLimitConfigInitParameters) DeepCopy added in v0.8.0

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

func (*DdosSpeedLimitConfigInitParameters) DeepCopyInto added in v0.8.0

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

type DdosSpeedLimitConfigObservation

type DdosSpeedLimitConfigObservation struct {

	// Bandwidth bps.
	// Bandwidth bps.
	Bandwidth *float64 `json:"bandwidth,omitempty" tf:"bandwidth,omitempty"`

	// List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
	// List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
	DstPortList *string `json:"dstPortList,omitempty" tf:"dst_port_list,omitempty"`

	// Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
	// Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
	Mode *float64 `json:"mode,omitempty" tf:"mode,omitempty"`

	// Packet rate pps.
	// Packet rate pps.
	PacketRate *float64 `json:"packetRate,omitempty" tf:"packet_rate,omitempty"`

	// IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
	// IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
	ProtocolList *string `json:"protocolList,omitempty" tf:"protocol_list,omitempty"`
}

func (*DdosSpeedLimitConfigObservation) DeepCopy

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

func (*DdosSpeedLimitConfigObservation) DeepCopyInto

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

type DdosSpeedLimitConfigParameters

type DdosSpeedLimitConfigParameters struct {

	// Bandwidth bps.
	// Bandwidth bps.
	// +kubebuilder:validation:Optional
	Bandwidth *float64 `json:"bandwidth" tf:"bandwidth,omitempty"`

	// List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
	// List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
	// +kubebuilder:validation:Optional
	DstPortList *string `json:"dstPortList" tf:"dst_port_list,omitempty"`

	// Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
	// Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
	// +kubebuilder:validation:Optional
	Mode *float64 `json:"mode" tf:"mode,omitempty"`

	// Packet rate pps.
	// Packet rate pps.
	// +kubebuilder:validation:Optional
	PacketRate *float64 `json:"packetRate" tf:"packet_rate,omitempty"`

	// IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
	// IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
	// +kubebuilder:validation:Optional
	ProtocolList *string `json:"protocolList" tf:"protocol_list,omitempty"`
}

func (*DdosSpeedLimitConfigParameters) DeepCopy

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

func (*DdosSpeedLimitConfigParameters) DeepCopyInto

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

type DropOptionsInitParameters added in v0.8.0

type DropOptionsInitParameters struct {

	// The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: (0~4294967295).
	// The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: (0~4294967295).
	BadConnThreshold *float64 `json:"badConnThreshold,omitempty" tf:"bad_conn_threshold,omitempty"`

	// Indicate whether to check null connection or not.
	// Indicate whether to check null connection or not.
	CheckSyncConn *bool `json:"checkSyncConn,omitempty" tf:"check_sync_conn,omitempty"`

	// Connection timeout of abnormal connection check. Valid value ranges: (0~65535).
	// Connection timeout of abnormal connection check. Valid value ranges: (0~65535).
	ConnTimeout *float64 `json:"connTimeout,omitempty" tf:"conn_timeout,omitempty"`

	// The limit of concurrent connections based on destination IP. Valid value ranges: (0~4294967295).
	// The limit of concurrent connections based on destination IP. Valid value ranges: (0~4294967295).
	DConnLimit *float64 `json:"dConnLimit,omitempty" tf:"d_conn_limit,omitempty"`

	// The limit of new connections based on destination IP. Valid value ranges: (0~4294967295).
	// The limit of new connections based on destination IP. Valid value ranges: (0~4294967295).
	DNewLimit *float64 `json:"dNewLimit,omitempty" tf:"d_new_limit,omitempty"`

	// Indicate whether to drop abroad traffic or not.
	// Indicate whether to drop abroad traffic or not.
	DropAbroad *bool `json:"dropAbroad,omitempty" tf:"drop_abroad,omitempty"`

	// Indicate whether to drop ICMP protocol or not.
	// Indicate whether to drop ICMP protocol or not.
	DropIcmp *bool `json:"dropIcmp,omitempty" tf:"drop_icmp,omitempty"`

	// Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
	// Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
	DropOther *bool `json:"dropOther,omitempty" tf:"drop_other,omitempty"`

	// Indicate whether to drop TCP protocol or not.
	// Indicate whether to drop TCP protocol or not.
	DropTCP *bool `json:"dropTcp,omitempty" tf:"drop_tcp,omitempty"`

	// Indicate to drop UDP protocol or not.
	// Indicate to drop UDP protocol or not.
	DropUDP *bool `json:"dropUdp,omitempty" tf:"drop_udp,omitempty"`

	// The limit of ICMP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of ICMP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	IcmpMbpsLimit *float64 `json:"icmpMbpsLimit,omitempty" tf:"icmp_mbps_limit,omitempty"`

	// Indicate to enable null connection or not.
	// Indicate to enable null connection or not.
	NullConnEnable *bool `json:"nullConnEnable,omitempty" tf:"null_conn_enable,omitempty"`

	// The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	OtherMbpsLimit *float64 `json:"otherMbpsLimit,omitempty" tf:"other_mbps_limit,omitempty"`

	// The limit of concurrent connections based on source IP. Valid value ranges: (0~4294967295).
	// The limit of concurrent connections based on source IP. Valid value ranges: (0~4294967295).
	SConnLimit *float64 `json:"sConnLimit,omitempty" tf:"s_conn_limit,omitempty"`

	// The limit of new connections based on source IP. Valid value ranges: (0~4294967295).
	// The limit of new connections based on source IP. Valid value ranges: (0~4294967295).
	SNewLimit *float64 `json:"sNewLimit,omitempty" tf:"s_new_limit,omitempty"`

	// The limit of syn of abnormal connection check. Valid value ranges: (0~100).
	// The limit of syn of abnormal connection check. Valid value ranges: (0~100).
	SynLimit *float64 `json:"synLimit,omitempty" tf:"syn_limit,omitempty"`

	// The percentage of syn in ack of abnormal connection check. Valid value ranges: (0~100).
	// The percentage of syn in ack of abnormal connection check. Valid value ranges: (0~100).
	SynRate *float64 `json:"synRate,omitempty" tf:"syn_rate,omitempty"`

	// The limit of TCP traffic. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of TCP traffic. Valid value ranges: (0~4294967295)(Mbps).
	TCPMbpsLimit *float64 `json:"tcpMbpsLimit,omitempty" tf:"tcp_mbps_limit,omitempty"`

	// The limit of UDP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of UDP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	UDPMbpsLimit *float64 `json:"udpMbpsLimit,omitempty" tf:"udp_mbps_limit,omitempty"`
}

func (*DropOptionsInitParameters) DeepCopy added in v0.8.0

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

func (*DropOptionsInitParameters) DeepCopyInto added in v0.8.0

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

type DropOptionsObservation

type DropOptionsObservation struct {

	// The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: (0~4294967295).
	// The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: (0~4294967295).
	BadConnThreshold *float64 `json:"badConnThreshold,omitempty" tf:"bad_conn_threshold,omitempty"`

	// Indicate whether to check null connection or not.
	// Indicate whether to check null connection or not.
	CheckSyncConn *bool `json:"checkSyncConn,omitempty" tf:"check_sync_conn,omitempty"`

	// Connection timeout of abnormal connection check. Valid value ranges: (0~65535).
	// Connection timeout of abnormal connection check. Valid value ranges: (0~65535).
	ConnTimeout *float64 `json:"connTimeout,omitempty" tf:"conn_timeout,omitempty"`

	// The limit of concurrent connections based on destination IP. Valid value ranges: (0~4294967295).
	// The limit of concurrent connections based on destination IP. Valid value ranges: (0~4294967295).
	DConnLimit *float64 `json:"dConnLimit,omitempty" tf:"d_conn_limit,omitempty"`

	// The limit of new connections based on destination IP. Valid value ranges: (0~4294967295).
	// The limit of new connections based on destination IP. Valid value ranges: (0~4294967295).
	DNewLimit *float64 `json:"dNewLimit,omitempty" tf:"d_new_limit,omitempty"`

	// Indicate whether to drop abroad traffic or not.
	// Indicate whether to drop abroad traffic or not.
	DropAbroad *bool `json:"dropAbroad,omitempty" tf:"drop_abroad,omitempty"`

	// Indicate whether to drop ICMP protocol or not.
	// Indicate whether to drop ICMP protocol or not.
	DropIcmp *bool `json:"dropIcmp,omitempty" tf:"drop_icmp,omitempty"`

	// Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
	// Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
	DropOther *bool `json:"dropOther,omitempty" tf:"drop_other,omitempty"`

	// Indicate whether to drop TCP protocol or not.
	// Indicate whether to drop TCP protocol or not.
	DropTCP *bool `json:"dropTcp,omitempty" tf:"drop_tcp,omitempty"`

	// Indicate to drop UDP protocol or not.
	// Indicate to drop UDP protocol or not.
	DropUDP *bool `json:"dropUdp,omitempty" tf:"drop_udp,omitempty"`

	// The limit of ICMP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of ICMP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	IcmpMbpsLimit *float64 `json:"icmpMbpsLimit,omitempty" tf:"icmp_mbps_limit,omitempty"`

	// Indicate to enable null connection or not.
	// Indicate to enable null connection or not.
	NullConnEnable *bool `json:"nullConnEnable,omitempty" tf:"null_conn_enable,omitempty"`

	// The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	OtherMbpsLimit *float64 `json:"otherMbpsLimit,omitempty" tf:"other_mbps_limit,omitempty"`

	// The limit of concurrent connections based on source IP. Valid value ranges: (0~4294967295).
	// The limit of concurrent connections based on source IP. Valid value ranges: (0~4294967295).
	SConnLimit *float64 `json:"sConnLimit,omitempty" tf:"s_conn_limit,omitempty"`

	// The limit of new connections based on source IP. Valid value ranges: (0~4294967295).
	// The limit of new connections based on source IP. Valid value ranges: (0~4294967295).
	SNewLimit *float64 `json:"sNewLimit,omitempty" tf:"s_new_limit,omitempty"`

	// The limit of syn of abnormal connection check. Valid value ranges: (0~100).
	// The limit of syn of abnormal connection check. Valid value ranges: (0~100).
	SynLimit *float64 `json:"synLimit,omitempty" tf:"syn_limit,omitempty"`

	// The percentage of syn in ack of abnormal connection check. Valid value ranges: (0~100).
	// The percentage of syn in ack of abnormal connection check. Valid value ranges: (0~100).
	SynRate *float64 `json:"synRate,omitempty" tf:"syn_rate,omitempty"`

	// The limit of TCP traffic. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of TCP traffic. Valid value ranges: (0~4294967295)(Mbps).
	TCPMbpsLimit *float64 `json:"tcpMbpsLimit,omitempty" tf:"tcp_mbps_limit,omitempty"`

	// The limit of UDP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of UDP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	UDPMbpsLimit *float64 `json:"udpMbpsLimit,omitempty" tf:"udp_mbps_limit,omitempty"`
}

func (*DropOptionsObservation) DeepCopy

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

func (*DropOptionsObservation) DeepCopyInto

func (in *DropOptionsObservation) DeepCopyInto(out *DropOptionsObservation)

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

type DropOptionsParameters

type DropOptionsParameters struct {

	// The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: (0~4294967295).
	// The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: (0~4294967295).
	// +kubebuilder:validation:Optional
	BadConnThreshold *float64 `json:"badConnThreshold" tf:"bad_conn_threshold,omitempty"`

	// Indicate whether to check null connection or not.
	// Indicate whether to check null connection or not.
	// +kubebuilder:validation:Optional
	CheckSyncConn *bool `json:"checkSyncConn" tf:"check_sync_conn,omitempty"`

	// Connection timeout of abnormal connection check. Valid value ranges: (0~65535).
	// Connection timeout of abnormal connection check. Valid value ranges: (0~65535).
	// +kubebuilder:validation:Optional
	ConnTimeout *float64 `json:"connTimeout" tf:"conn_timeout,omitempty"`

	// The limit of concurrent connections based on destination IP. Valid value ranges: (0~4294967295).
	// The limit of concurrent connections based on destination IP. Valid value ranges: (0~4294967295).
	// +kubebuilder:validation:Optional
	DConnLimit *float64 `json:"dConnLimit" tf:"d_conn_limit,omitempty"`

	// The limit of new connections based on destination IP. Valid value ranges: (0~4294967295).
	// The limit of new connections based on destination IP. Valid value ranges: (0~4294967295).
	// +kubebuilder:validation:Optional
	DNewLimit *float64 `json:"dNewLimit" tf:"d_new_limit,omitempty"`

	// Indicate whether to drop abroad traffic or not.
	// Indicate whether to drop abroad traffic or not.
	// +kubebuilder:validation:Optional
	DropAbroad *bool `json:"dropAbroad" tf:"drop_abroad,omitempty"`

	// Indicate whether to drop ICMP protocol or not.
	// Indicate whether to drop ICMP protocol or not.
	// +kubebuilder:validation:Optional
	DropIcmp *bool `json:"dropIcmp" tf:"drop_icmp,omitempty"`

	// Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
	// Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
	// +kubebuilder:validation:Optional
	DropOther *bool `json:"dropOther" tf:"drop_other,omitempty"`

	// Indicate whether to drop TCP protocol or not.
	// Indicate whether to drop TCP protocol or not.
	// +kubebuilder:validation:Optional
	DropTCP *bool `json:"dropTcp" tf:"drop_tcp,omitempty"`

	// Indicate to drop UDP protocol or not.
	// Indicate to drop UDP protocol or not.
	// +kubebuilder:validation:Optional
	DropUDP *bool `json:"dropUdp" tf:"drop_udp,omitempty"`

	// The limit of ICMP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of ICMP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// +kubebuilder:validation:Optional
	IcmpMbpsLimit *float64 `json:"icmpMbpsLimit" tf:"icmp_mbps_limit,omitempty"`

	// Indicate to enable null connection or not.
	// Indicate to enable null connection or not.
	// +kubebuilder:validation:Optional
	NullConnEnable *bool `json:"nullConnEnable" tf:"null_conn_enable,omitempty"`

	// The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// +kubebuilder:validation:Optional
	OtherMbpsLimit *float64 `json:"otherMbpsLimit" tf:"other_mbps_limit,omitempty"`

	// The limit of concurrent connections based on source IP. Valid value ranges: (0~4294967295).
	// The limit of concurrent connections based on source IP. Valid value ranges: (0~4294967295).
	// +kubebuilder:validation:Optional
	SConnLimit *float64 `json:"sConnLimit" tf:"s_conn_limit,omitempty"`

	// The limit of new connections based on source IP. Valid value ranges: (0~4294967295).
	// The limit of new connections based on source IP. Valid value ranges: (0~4294967295).
	// +kubebuilder:validation:Optional
	SNewLimit *float64 `json:"sNewLimit" tf:"s_new_limit,omitempty"`

	// The limit of syn of abnormal connection check. Valid value ranges: (0~100).
	// The limit of syn of abnormal connection check. Valid value ranges: (0~100).
	// +kubebuilder:validation:Optional
	SynLimit *float64 `json:"synLimit" tf:"syn_limit,omitempty"`

	// The percentage of syn in ack of abnormal connection check. Valid value ranges: (0~100).
	// The percentage of syn in ack of abnormal connection check. Valid value ranges: (0~100).
	// +kubebuilder:validation:Optional
	SynRate *float64 `json:"synRate,omitempty" tf:"syn_rate,omitempty"`

	// The limit of TCP traffic. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of TCP traffic. Valid value ranges: (0~4294967295)(Mbps).
	// +kubebuilder:validation:Optional
	TCPMbpsLimit *float64 `json:"tcpMbpsLimit" tf:"tcp_mbps_limit,omitempty"`

	// The limit of UDP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// The limit of UDP traffic rate. Valid value ranges: (0~4294967295)(Mbps).
	// +kubebuilder:validation:Optional
	UDPMbpsLimit *float64 `json:"udpMbpsLimit" tf:"udp_mbps_limit,omitempty"`
}

func (*DropOptionsParameters) DeepCopy

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

func (*DropOptionsParameters) DeepCopyInto

func (in *DropOptionsParameters) DeepCopyInto(out *DropOptionsParameters)

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

type L4Rule

type L4Rule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dPort) || (has(self.initProvider) && has(self.initProvider.dPort))",message="spec.forProvider.dPort is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sPort) || (has(self.initProvider) && has(self.initProvider.sPort))",message="spec.forProvider.sPort is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceList) || (has(self.initProvider) && has(self.initProvider.sourceList))",message="spec.forProvider.sourceList is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceType) || (has(self.initProvider) && has(self.initProvider.sourceType))",message="spec.forProvider.sourceType is a required parameter"
	Spec   L4RuleSpec   `json:"spec"`
	Status L4RuleStatus `json:"status,omitempty"`
}

L4Rule is the Schema for the L4Rules API. Use this resource to create dayu layer 4 rule +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*L4Rule) DeepCopy

func (in *L4Rule) DeepCopy() *L4Rule

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

func (*L4Rule) DeepCopyInto

func (in *L4Rule) DeepCopyInto(out *L4Rule)

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

func (*L4Rule) DeepCopyObject

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

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

func (*L4Rule) GetCondition

func (mg *L4Rule) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this L4Rule.

func (*L4Rule) GetConnectionDetailsMapping

func (tr *L4Rule) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this L4Rule

func (*L4Rule) GetDeletionPolicy

func (mg *L4Rule) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this L4Rule.

func (*L4Rule) GetID

func (tr *L4Rule) GetID() string

GetID returns ID of underlying Terraform resource of this L4Rule

func (*L4Rule) GetInitParameters added in v0.8.0

func (tr *L4Rule) GetInitParameters() (map[string]any, error)

GetInitParameters of this L4Rule

func (*L4Rule) GetManagementPolicies added in v0.8.0

func (mg *L4Rule) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this L4Rule.

func (*L4Rule) GetMergedParameters added in v0.8.1

func (tr *L4Rule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this L4Rule

func (*L4Rule) GetObservation

func (tr *L4Rule) GetObservation() (map[string]any, error)

GetObservation of this L4Rule

func (*L4Rule) GetParameters

func (tr *L4Rule) GetParameters() (map[string]any, error)

GetParameters of this L4Rule

func (*L4Rule) GetProviderConfigReference

func (mg *L4Rule) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this L4Rule.

func (*L4Rule) GetPublishConnectionDetailsTo

func (mg *L4Rule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this L4Rule.

func (*L4Rule) GetTerraformResourceType

func (mg *L4Rule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this L4Rule

func (*L4Rule) GetTerraformSchemaVersion

func (tr *L4Rule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*L4Rule) GetWriteConnectionSecretToReference

func (mg *L4Rule) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this L4Rule.

func (*L4Rule) Hub added in v0.8.1

func (tr *L4Rule) Hub()

Hub marks this type as a conversion hub.

func (*L4Rule) LateInitialize

func (tr *L4Rule) LateInitialize(attrs []byte) (bool, error)

LateInitialize this L4Rule using its observed tfState. returns True if there are any spec changes for the resource.

func (*L4Rule) SetConditions

func (mg *L4Rule) SetConditions(c ...xpv1.Condition)

SetConditions of this L4Rule.

func (*L4Rule) SetDeletionPolicy

func (mg *L4Rule) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this L4Rule.

func (*L4Rule) SetManagementPolicies added in v0.8.0

func (mg *L4Rule) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this L4Rule.

func (*L4Rule) SetObservation

func (tr *L4Rule) SetObservation(obs map[string]any) error

SetObservation for this L4Rule

func (*L4Rule) SetParameters

func (tr *L4Rule) SetParameters(params map[string]any) error

SetParameters for this L4Rule

func (*L4Rule) SetProviderConfigReference

func (mg *L4Rule) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this L4Rule.

func (*L4Rule) SetPublishConnectionDetailsTo

func (mg *L4Rule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this L4Rule.

func (*L4Rule) SetWriteConnectionSecretToReference

func (mg *L4Rule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this L4Rule.

type L4RuleInitParameters added in v0.8.0

type L4RuleInitParameters struct {

	// The destination port of the L4 rule.
	// The destination port of the L4 rule.
	DPort *float64 `json:"dPort,omitempty" tf:"d_port,omitempty"`

	// Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is 2-10.
	// Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is 2-10.
	HealthCheckHealthNum *float64 `json:"healthCheckHealthNum,omitempty" tf:"health_check_health_num,omitempty"`

	// Interval time of health check. The value range is 10-60 sec, and the default is 15 sec.
	// Interval time of health check. The value range is 10-60 sec, and the default is 15 sec.
	HealthCheckInterval *float64 `json:"healthCheckInterval,omitempty" tf:"health_check_interval,omitempty"`

	// Indicates whether health check is enabled. The default is false. Only valid when source list has more than one source item.
	// Indicates whether health check is enabled. The default is `false`. Only valid when source list has more than one source item.
	HealthCheckSwitch *bool `json:"healthCheckSwitch,omitempty" tf:"health_check_switch,omitempty"`

	// HTTP Status Code. The default is 26 and value range is 2-60.
	// HTTP Status Code. The default is 26 and value range is 2-60.
	HealthCheckTimeout *float64 `json:"healthCheckTimeout,omitempty" tf:"health_check_timeout,omitempty"`

	// Unhealthy threshold of health check, and the default is 3. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is 2-10.
	// Unhealthy threshold of health check, and the default is 3. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is 2-10.
	HealthCheckUnhealthNum *float64 `json:"healthCheckUnhealthNum,omitempty" tf:"health_check_unhealth_num,omitempty"`

	// Name of the rule. When the resource_type is net, this field should be set with valid domain.
	// Name of the rule. When the `resource_type` is `net`, this field should be set with valid domain.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Protocol of the rule. Valid values: http, https. When source_type is 1(host source), the value of this field can only set with tcp.
	// Protocol of the rule. Valid values: `http`, `https`. When `source_type` is 1(host source), the value of this field can only set with `tcp`.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// ID of the resource that the layer 4 rule works for.
	// ID of the resource that the layer 4 rule works for.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the layer 4 rule works for. Valid values: bgpip and net.
	// Type of the resource that the layer 4 rule works for. Valid values: `bgpip` and `net`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// The source port of the L4 rule.
	// The source port of the L4 rule.
	SPort *float64 `json:"sPort,omitempty" tf:"s_port,omitempty"`

	// Indicate that the session will keep or not, and default value is false.
	// Indicate that the session will keep or not, and default value is `false`.
	SessionSwitch *bool `json:"sessionSwitch,omitempty" tf:"session_switch,omitempty"`

	// Session keep time, only valid when session_switch is true, the available value ranges from 1 to 300 and unit is second.
	// Session keep time, only valid when `session_switch` is true, the available value ranges from 1 to 300 and unit is second.
	SessionTime *float64 `json:"sessionTime,omitempty" tf:"session_time,omitempty"`

	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 20.
	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 20.
	SourceList []SourceListInitParameters `json:"sourceList,omitempty" tf:"source_list,omitempty"`

	// Source type, 1 for source of host, 2 for source of IP.
	// Source type, `1` for source of host, `2` for source of IP.
	SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"`
}

func (*L4RuleInitParameters) DeepCopy added in v0.8.0

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

func (*L4RuleInitParameters) DeepCopyInto added in v0.8.0

func (in *L4RuleInitParameters) DeepCopyInto(out *L4RuleInitParameters)

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

type L4RuleList

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

L4RuleList contains a list of L4Rules

func (*L4RuleList) DeepCopy

func (in *L4RuleList) DeepCopy() *L4RuleList

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

func (*L4RuleList) DeepCopyInto

func (in *L4RuleList) DeepCopyInto(out *L4RuleList)

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

func (*L4RuleList) DeepCopyObject

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

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

func (*L4RuleList) GetItems

func (l *L4RuleList) GetItems() []resource.Managed

GetItems of this L4RuleList.

type L4RuleObservation

type L4RuleObservation struct {

	// The destination port of the L4 rule.
	// The destination port of the L4 rule.
	DPort *float64 `json:"dPort,omitempty" tf:"d_port,omitempty"`

	// Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is 2-10.
	// Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is 2-10.
	HealthCheckHealthNum *float64 `json:"healthCheckHealthNum,omitempty" tf:"health_check_health_num,omitempty"`

	// Interval time of health check. The value range is 10-60 sec, and the default is 15 sec.
	// Interval time of health check. The value range is 10-60 sec, and the default is 15 sec.
	HealthCheckInterval *float64 `json:"healthCheckInterval,omitempty" tf:"health_check_interval,omitempty"`

	// Indicates whether health check is enabled. The default is false. Only valid when source list has more than one source item.
	// Indicates whether health check is enabled. The default is `false`. Only valid when source list has more than one source item.
	HealthCheckSwitch *bool `json:"healthCheckSwitch,omitempty" tf:"health_check_switch,omitempty"`

	// HTTP Status Code. The default is 26 and value range is 2-60.
	// HTTP Status Code. The default is 26 and value range is 2-60.
	HealthCheckTimeout *float64 `json:"healthCheckTimeout,omitempty" tf:"health_check_timeout,omitempty"`

	// Unhealthy threshold of health check, and the default is 3. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is 2-10.
	// Unhealthy threshold of health check, and the default is 3. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is 2-10.
	HealthCheckUnhealthNum *float64 `json:"healthCheckUnhealthNum,omitempty" tf:"health_check_unhealth_num,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// LB type of the rule. Valid values: 1, 2. 1 for weight cycling and 2 for IP hash.
	// LB type of the rule. Valid values: `1`, `2`. `1` for weight cycling and `2` for IP hash.
	LBType *float64 `json:"lbType,omitempty" tf:"lb_type,omitempty"`

	// Name of the rule. When the resource_type is net, this field should be set with valid domain.
	// Name of the rule. When the `resource_type` is `net`, this field should be set with valid domain.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Protocol of the rule. Valid values: http, https. When source_type is 1(host source), the value of this field can only set with tcp.
	// Protocol of the rule. Valid values: `http`, `https`. When `source_type` is 1(host source), the value of this field can only set with `tcp`.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// ID of the resource that the layer 4 rule works for.
	// ID of the resource that the layer 4 rule works for.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the layer 4 rule works for. Valid values: bgpip and net.
	// Type of the resource that the layer 4 rule works for. Valid values: `bgpip` and `net`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// ID of the layer 4 rule.
	// ID of the layer 4 rule.
	RuleID *string `json:"ruleId,omitempty" tf:"rule_id,omitempty"`

	// The source port of the L4 rule.
	// The source port of the L4 rule.
	SPort *float64 `json:"sPort,omitempty" tf:"s_port,omitempty"`

	// Indicate that the session will keep or not, and default value is false.
	// Indicate that the session will keep or not, and default value is `false`.
	SessionSwitch *bool `json:"sessionSwitch,omitempty" tf:"session_switch,omitempty"`

	// Session keep time, only valid when session_switch is true, the available value ranges from 1 to 300 and unit is second.
	// Session keep time, only valid when `session_switch` is true, the available value ranges from 1 to 300 and unit is second.
	SessionTime *float64 `json:"sessionTime,omitempty" tf:"session_time,omitempty"`

	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 20.
	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 20.
	SourceList []SourceListObservation `json:"sourceList,omitempty" tf:"source_list,omitempty"`

	// Source type, 1 for source of host, 2 for source of IP.
	// Source type, `1` for source of host, `2` for source of IP.
	SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"`
}

func (*L4RuleObservation) DeepCopy

func (in *L4RuleObservation) DeepCopy() *L4RuleObservation

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

func (*L4RuleObservation) DeepCopyInto

func (in *L4RuleObservation) DeepCopyInto(out *L4RuleObservation)

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

type L4RuleParameters

type L4RuleParameters struct {

	// The destination port of the L4 rule.
	// The destination port of the L4 rule.
	// +kubebuilder:validation:Optional
	DPort *float64 `json:"dPort,omitempty" tf:"d_port,omitempty"`

	// Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is 2-10.
	// Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is 2-10.
	// +kubebuilder:validation:Optional
	HealthCheckHealthNum *float64 `json:"healthCheckHealthNum,omitempty" tf:"health_check_health_num,omitempty"`

	// Interval time of health check. The value range is 10-60 sec, and the default is 15 sec.
	// Interval time of health check. The value range is 10-60 sec, and the default is 15 sec.
	// +kubebuilder:validation:Optional
	HealthCheckInterval *float64 `json:"healthCheckInterval,omitempty" tf:"health_check_interval,omitempty"`

	// Indicates whether health check is enabled. The default is false. Only valid when source list has more than one source item.
	// Indicates whether health check is enabled. The default is `false`. Only valid when source list has more than one source item.
	// +kubebuilder:validation:Optional
	HealthCheckSwitch *bool `json:"healthCheckSwitch,omitempty" tf:"health_check_switch,omitempty"`

	// HTTP Status Code. The default is 26 and value range is 2-60.
	// HTTP Status Code. The default is 26 and value range is 2-60.
	// +kubebuilder:validation:Optional
	HealthCheckTimeout *float64 `json:"healthCheckTimeout,omitempty" tf:"health_check_timeout,omitempty"`

	// Unhealthy threshold of health check, and the default is 3. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is 2-10.
	// Unhealthy threshold of health check, and the default is 3. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is 2-10.
	// +kubebuilder:validation:Optional
	HealthCheckUnhealthNum *float64 `json:"healthCheckUnhealthNum,omitempty" tf:"health_check_unhealth_num,omitempty"`

	// Name of the rule. When the resource_type is net, this field should be set with valid domain.
	// Name of the rule. When the `resource_type` is `net`, this field should be set with valid domain.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Protocol of the rule. Valid values: http, https. When source_type is 1(host source), the value of this field can only set with tcp.
	// Protocol of the rule. Valid values: `http`, `https`. When `source_type` is 1(host source), the value of this field can only set with `tcp`.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// ID of the resource that the layer 4 rule works for.
	// ID of the resource that the layer 4 rule works for.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the layer 4 rule works for. Valid values: bgpip and net.
	// Type of the resource that the layer 4 rule works for. Valid values: `bgpip` and `net`.
	// +kubebuilder:validation:Optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// The source port of the L4 rule.
	// The source port of the L4 rule.
	// +kubebuilder:validation:Optional
	SPort *float64 `json:"sPort,omitempty" tf:"s_port,omitempty"`

	// Indicate that the session will keep or not, and default value is false.
	// Indicate that the session will keep or not, and default value is `false`.
	// +kubebuilder:validation:Optional
	SessionSwitch *bool `json:"sessionSwitch,omitempty" tf:"session_switch,omitempty"`

	// Session keep time, only valid when session_switch is true, the available value ranges from 1 to 300 and unit is second.
	// Session keep time, only valid when `session_switch` is true, the available value ranges from 1 to 300 and unit is second.
	// +kubebuilder:validation:Optional
	SessionTime *float64 `json:"sessionTime,omitempty" tf:"session_time,omitempty"`

	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 20.
	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 20.
	// +kubebuilder:validation:Optional
	SourceList []SourceListParameters `json:"sourceList,omitempty" tf:"source_list,omitempty"`

	// Source type, 1 for source of host, 2 for source of IP.
	// Source type, `1` for source of host, `2` for source of IP.
	// +kubebuilder:validation:Optional
	SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"`
}

func (*L4RuleParameters) DeepCopy

func (in *L4RuleParameters) DeepCopy() *L4RuleParameters

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

func (*L4RuleParameters) DeepCopyInto

func (in *L4RuleParameters) DeepCopyInto(out *L4RuleParameters)

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

type L4RuleSpec

type L4RuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     L4RuleParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider L4RuleInitParameters `json:"initProvider,omitempty"`
}

L4RuleSpec defines the desired state of L4Rule

func (*L4RuleSpec) DeepCopy

func (in *L4RuleSpec) DeepCopy() *L4RuleSpec

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

func (*L4RuleSpec) DeepCopyInto

func (in *L4RuleSpec) DeepCopyInto(out *L4RuleSpec)

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

type L4RuleStatus

type L4RuleStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        L4RuleObservation `json:"atProvider,omitempty"`
}

L4RuleStatus defines the observed state of L4Rule.

func (*L4RuleStatus) DeepCopy

func (in *L4RuleStatus) DeepCopy() *L4RuleStatus

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

func (*L4RuleStatus) DeepCopyInto

func (in *L4RuleStatus) DeepCopyInto(out *L4RuleStatus)

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

type L4RuleV2

type L4RuleV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.business) || (has(self.initProvider) && has(self.initProvider.business))",message="spec.forProvider.business is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rules) || (has(self.initProvider) && has(self.initProvider.rules))",message="spec.forProvider.rules is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.virtualPort) || (has(self.initProvider) && has(self.initProvider.virtualPort))",message="spec.forProvider.virtualPort is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpn) || (has(self.initProvider) && has(self.initProvider.vpn))",message="spec.forProvider.vpn is a required parameter"
	Spec   L4RuleV2Spec   `json:"spec"`
	Status L4RuleV2Status `json:"status,omitempty"`
}

L4RuleV2 is the Schema for the L4RuleV2s API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*L4RuleV2) DeepCopy

func (in *L4RuleV2) DeepCopy() *L4RuleV2

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

func (*L4RuleV2) DeepCopyInto

func (in *L4RuleV2) DeepCopyInto(out *L4RuleV2)

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

func (*L4RuleV2) DeepCopyObject

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

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

func (*L4RuleV2) GetCondition

func (mg *L4RuleV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this L4RuleV2.

func (*L4RuleV2) GetConnectionDetailsMapping

func (tr *L4RuleV2) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this L4RuleV2

func (*L4RuleV2) GetDeletionPolicy

func (mg *L4RuleV2) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this L4RuleV2.

func (*L4RuleV2) GetID

func (tr *L4RuleV2) GetID() string

GetID returns ID of underlying Terraform resource of this L4RuleV2

func (*L4RuleV2) GetInitParameters added in v0.8.0

func (tr *L4RuleV2) GetInitParameters() (map[string]any, error)

GetInitParameters of this L4RuleV2

func (*L4RuleV2) GetManagementPolicies added in v0.8.0

func (mg *L4RuleV2) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this L4RuleV2.

func (*L4RuleV2) GetMergedParameters added in v0.8.1

func (tr *L4RuleV2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this L4RuleV2

func (*L4RuleV2) GetObservation

func (tr *L4RuleV2) GetObservation() (map[string]any, error)

GetObservation of this L4RuleV2

func (*L4RuleV2) GetParameters

func (tr *L4RuleV2) GetParameters() (map[string]any, error)

GetParameters of this L4RuleV2

func (*L4RuleV2) GetProviderConfigReference

func (mg *L4RuleV2) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this L4RuleV2.

func (*L4RuleV2) GetPublishConnectionDetailsTo

func (mg *L4RuleV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this L4RuleV2.

func (*L4RuleV2) GetTerraformResourceType

func (mg *L4RuleV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this L4RuleV2

func (*L4RuleV2) GetTerraformSchemaVersion

func (tr *L4RuleV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*L4RuleV2) GetWriteConnectionSecretToReference

func (mg *L4RuleV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this L4RuleV2.

func (*L4RuleV2) Hub added in v0.8.1

func (tr *L4RuleV2) Hub()

Hub marks this type as a conversion hub.

func (*L4RuleV2) LateInitialize

func (tr *L4RuleV2) LateInitialize(attrs []byte) (bool, error)

LateInitialize this L4RuleV2 using its observed tfState. returns True if there are any spec changes for the resource.

func (*L4RuleV2) SetConditions

func (mg *L4RuleV2) SetConditions(c ...xpv1.Condition)

SetConditions of this L4RuleV2.

func (*L4RuleV2) SetDeletionPolicy

func (mg *L4RuleV2) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this L4RuleV2.

func (*L4RuleV2) SetManagementPolicies added in v0.8.0

func (mg *L4RuleV2) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this L4RuleV2.

func (*L4RuleV2) SetObservation

func (tr *L4RuleV2) SetObservation(obs map[string]any) error

SetObservation for this L4RuleV2

func (*L4RuleV2) SetParameters

func (tr *L4RuleV2) SetParameters(params map[string]any) error

SetParameters for this L4RuleV2

func (*L4RuleV2) SetProviderConfigReference

func (mg *L4RuleV2) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this L4RuleV2.

func (*L4RuleV2) SetPublishConnectionDetailsTo

func (mg *L4RuleV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this L4RuleV2.

func (*L4RuleV2) SetWriteConnectionSecretToReference

func (mg *L4RuleV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this L4RuleV2.

type L4RuleV2InitParameters added in v0.8.0

type L4RuleV2InitParameters struct {

	// Business of the resource that the layer 4 rule works for. Valid values: `bgpip` and `net`.
	Business *string `json:"business,omitempty" tf:"business,omitempty"`

	// Resource id.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// A list of layer 4 rules. Each element contains the following attributes:
	Rules []RulesInitParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// Resource vpn.
	VPN *string `json:"vpn,omitempty" tf:"vpn,omitempty"`

	// The virtual port of the layer 4 rule.
	VirtualPort *float64 `json:"virtualPort,omitempty" tf:"virtual_port,omitempty"`
}

func (*L4RuleV2InitParameters) DeepCopy added in v0.8.0

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

func (*L4RuleV2InitParameters) DeepCopyInto added in v0.8.0

func (in *L4RuleV2InitParameters) DeepCopyInto(out *L4RuleV2InitParameters)

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

type L4RuleV2List

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

L4RuleV2List contains a list of L4RuleV2s

func (*L4RuleV2List) DeepCopy

func (in *L4RuleV2List) DeepCopy() *L4RuleV2List

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

func (*L4RuleV2List) DeepCopyInto

func (in *L4RuleV2List) DeepCopyInto(out *L4RuleV2List)

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

func (*L4RuleV2List) DeepCopyObject

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

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

func (*L4RuleV2List) GetItems

func (l *L4RuleV2List) GetItems() []resource.Managed

GetItems of this L4RuleV2List.

type L4RuleV2Observation

type L4RuleV2Observation struct {

	// Business of the resource that the layer 4 rule works for. Valid values: `bgpip` and `net`.
	Business *string `json:"business,omitempty" tf:"business,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Resource id.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// A list of layer 4 rules. Each element contains the following attributes:
	Rules []RulesObservation `json:"rules,omitempty" tf:"rules,omitempty"`

	// Resource vpn.
	VPN *string `json:"vpn,omitempty" tf:"vpn,omitempty"`

	// The virtual port of the layer 4 rule.
	VirtualPort *float64 `json:"virtualPort,omitempty" tf:"virtual_port,omitempty"`
}

func (*L4RuleV2Observation) DeepCopy

func (in *L4RuleV2Observation) DeepCopy() *L4RuleV2Observation

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

func (*L4RuleV2Observation) DeepCopyInto

func (in *L4RuleV2Observation) DeepCopyInto(out *L4RuleV2Observation)

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

type L4RuleV2Parameters

type L4RuleV2Parameters struct {

	// Business of the resource that the layer 4 rule works for. Valid values: `bgpip` and `net`.
	// +kubebuilder:validation:Optional
	Business *string `json:"business,omitempty" tf:"business,omitempty"`

	// Resource id.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// A list of layer 4 rules. Each element contains the following attributes:
	// +kubebuilder:validation:Optional
	Rules []RulesParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// Resource vpn.
	// +kubebuilder:validation:Optional
	VPN *string `json:"vpn,omitempty" tf:"vpn,omitempty"`

	// The virtual port of the layer 4 rule.
	// +kubebuilder:validation:Optional
	VirtualPort *float64 `json:"virtualPort,omitempty" tf:"virtual_port,omitempty"`
}

func (*L4RuleV2Parameters) DeepCopy

func (in *L4RuleV2Parameters) DeepCopy() *L4RuleV2Parameters

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

func (*L4RuleV2Parameters) DeepCopyInto

func (in *L4RuleV2Parameters) DeepCopyInto(out *L4RuleV2Parameters)

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

type L4RuleV2Spec

type L4RuleV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     L4RuleV2Parameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider L4RuleV2InitParameters `json:"initProvider,omitempty"`
}

L4RuleV2Spec defines the desired state of L4RuleV2

func (*L4RuleV2Spec) DeepCopy

func (in *L4RuleV2Spec) DeepCopy() *L4RuleV2Spec

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

func (*L4RuleV2Spec) DeepCopyInto

func (in *L4RuleV2Spec) DeepCopyInto(out *L4RuleV2Spec)

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

type L4RuleV2Status

type L4RuleV2Status struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        L4RuleV2Observation `json:"atProvider,omitempty"`
}

L4RuleV2Status defines the observed state of L4RuleV2.

func (*L4RuleV2Status) DeepCopy

func (in *L4RuleV2Status) DeepCopy() *L4RuleV2Status

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

func (*L4RuleV2Status) DeepCopyInto

func (in *L4RuleV2Status) DeepCopyInto(out *L4RuleV2Status)

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

type L7Rule

type L7Rule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domain) || (has(self.initProvider) && has(self.initProvider.domain))",message="spec.forProvider.domain is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceList) || (has(self.initProvider) && has(self.initProvider.sourceList))",message="spec.forProvider.sourceList is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceType) || (has(self.initProvider) && has(self.initProvider.sourceType))",message="spec.forProvider.sourceType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.switch) || (has(self.initProvider) && has(self.initProvider.switch))",message="spec.forProvider.switch is a required parameter"
	Spec   L7RuleSpec   `json:"spec"`
	Status L7RuleStatus `json:"status,omitempty"`
}

L7Rule is the Schema for the L7Rules API. Use this resource to create dayu layer 7 rule +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*L7Rule) DeepCopy

func (in *L7Rule) DeepCopy() *L7Rule

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

func (*L7Rule) DeepCopyInto

func (in *L7Rule) DeepCopyInto(out *L7Rule)

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

func (*L7Rule) DeepCopyObject

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

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

func (*L7Rule) GetCondition

func (mg *L7Rule) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this L7Rule.

func (*L7Rule) GetConnectionDetailsMapping

func (tr *L7Rule) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this L7Rule

func (*L7Rule) GetDeletionPolicy

func (mg *L7Rule) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this L7Rule.

func (*L7Rule) GetID

func (tr *L7Rule) GetID() string

GetID returns ID of underlying Terraform resource of this L7Rule

func (*L7Rule) GetInitParameters added in v0.8.0

func (tr *L7Rule) GetInitParameters() (map[string]any, error)

GetInitParameters of this L7Rule

func (*L7Rule) GetManagementPolicies added in v0.8.0

func (mg *L7Rule) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this L7Rule.

func (*L7Rule) GetMergedParameters added in v0.8.1

func (tr *L7Rule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this L7Rule

func (*L7Rule) GetObservation

func (tr *L7Rule) GetObservation() (map[string]any, error)

GetObservation of this L7Rule

func (*L7Rule) GetParameters

func (tr *L7Rule) GetParameters() (map[string]any, error)

GetParameters of this L7Rule

func (*L7Rule) GetProviderConfigReference

func (mg *L7Rule) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this L7Rule.

func (*L7Rule) GetPublishConnectionDetailsTo

func (mg *L7Rule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this L7Rule.

func (*L7Rule) GetTerraformResourceType

func (mg *L7Rule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this L7Rule

func (*L7Rule) GetTerraformSchemaVersion

func (tr *L7Rule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*L7Rule) GetWriteConnectionSecretToReference

func (mg *L7Rule) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this L7Rule.

func (*L7Rule) Hub added in v0.8.1

func (tr *L7Rule) Hub()

Hub marks this type as a conversion hub.

func (*L7Rule) LateInitialize

func (tr *L7Rule) LateInitialize(attrs []byte) (bool, error)

LateInitialize this L7Rule using its observed tfState. returns True if there are any spec changes for the resource.

func (*L7Rule) SetConditions

func (mg *L7Rule) SetConditions(c ...xpv1.Condition)

SetConditions of this L7Rule.

func (*L7Rule) SetDeletionPolicy

func (mg *L7Rule) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this L7Rule.

func (*L7Rule) SetManagementPolicies added in v0.8.0

func (mg *L7Rule) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this L7Rule.

func (*L7Rule) SetObservation

func (tr *L7Rule) SetObservation(obs map[string]any) error

SetObservation for this L7Rule

func (*L7Rule) SetParameters

func (tr *L7Rule) SetParameters(params map[string]any) error

SetParameters for this L7Rule

func (*L7Rule) SetProviderConfigReference

func (mg *L7Rule) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this L7Rule.

func (*L7Rule) SetPublishConnectionDetailsTo

func (mg *L7Rule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this L7Rule.

func (*L7Rule) SetWriteConnectionSecretToReference

func (mg *L7Rule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this L7Rule.

type L7RuleInitParameters added in v0.8.0

type L7RuleInitParameters struct {

	// Domain that the layer 7 rule works for. Valid string length ranges from 0 to 80.
	// Domain that the layer 7 rule works for. Valid string length ranges from 0 to 80.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// HTTP Status Code. The default is 26. Valid value ranges: [1~31]. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values.
	// HTTP Status Code. The default is `26`. Valid value ranges: [1~31]. `1` means the return value '1xx' is health. `2` means the return value '2xx' is health. `4` means the return value '3xx' is health. `8` means the return value '4xx' is health. `16` means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values.
	HealthCheckCode *float64 `json:"healthCheckCode,omitempty" tf:"health_check_code,omitempty"`

	// Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is [2-10].
	// Health threshold of health check, and the default is `3`. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is [2-10].
	HealthCheckHealthNum *float64 `json:"healthCheckHealthNum,omitempty" tf:"health_check_health_num,omitempty"`

	// Interval time of health check. Valid value ranges: [10~60]sec. The default is 15 sec.
	// Interval time of health check. Valid value ranges: [10~60]sec. The default is 15 sec.
	HealthCheckInterval *float64 `json:"healthCheckInterval,omitempty" tf:"health_check_interval,omitempty"`

	// Methods of health check. The default is 'HEAD', the available value are 'HEAD' and 'GET'.
	// Methods of health check. The default is 'HEAD', the available value are 'HEAD' and 'GET'.
	HealthCheckMethod *string `json:"healthCheckMethod,omitempty" tf:"health_check_method,omitempty"`

	// Path of health check. The default is /.
	// Path of health check. The default is `/`.
	HealthCheckPath *string `json:"healthCheckPath,omitempty" tf:"health_check_path,omitempty"`

	// Indicates whether health check is enabled. The default is false.
	// Indicates whether health check is enabled. The default is `false`.
	HealthCheckSwitch *bool `json:"healthCheckSwitch,omitempty" tf:"health_check_switch,omitempty"`

	// Unhealthy threshold of health check, and the default is 3. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is [2-10].
	// Unhealthy threshold of health check, and the default is `3`. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is [2-10].
	HealthCheckUnhealthNum *float64 `json:"healthCheckUnhealthNum,omitempty" tf:"health_check_unhealth_num,omitempty"`

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

	// Protocol of the rule. Valid values: http, https.
	// Protocol of the rule. Valid values: `http`, `https`.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// ID of the resource that the layer 7 rule works for.
	// ID of the resource that the layer 7 rule works for.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the layer 7 rule works for, valid value is bgpip.
	// Type of the resource that the layer 7 rule works for, valid value is `bgpip`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// SSL ID, when the protocol is https, the field should be set with valid SSL id.
	// SSL ID, when the `protocol` is `https`, the field should be set with valid SSL id.
	SSLID *string `json:"sslId,omitempty" tf:"ssl_id,omitempty"`

	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 16.
	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 16.
	// +listType=set
	SourceList []*string `json:"sourceList,omitempty" tf:"source_list,omitempty"`

	// Source type, 1 for source of host, 2 for source of IP.
	// Source type, `1` for source of host, `2` for source of IP.
	SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"`

	// Indicate the rule will take effect or not.
	// Indicate the rule will take effect or not.
	Switch *bool `json:"switch,omitempty" tf:"switch,omitempty"`
}

func (*L7RuleInitParameters) DeepCopy added in v0.8.0

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

func (*L7RuleInitParameters) DeepCopyInto added in v0.8.0

func (in *L7RuleInitParameters) DeepCopyInto(out *L7RuleInitParameters)

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

type L7RuleList

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

L7RuleList contains a list of L7Rules

func (*L7RuleList) DeepCopy

func (in *L7RuleList) DeepCopy() *L7RuleList

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

func (*L7RuleList) DeepCopyInto

func (in *L7RuleList) DeepCopyInto(out *L7RuleList)

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

func (*L7RuleList) DeepCopyObject

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

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

func (*L7RuleList) GetItems

func (l *L7RuleList) GetItems() []resource.Managed

GetItems of this L7RuleList.

type L7RuleObservation

type L7RuleObservation struct {

	// Domain that the layer 7 rule works for. Valid string length ranges from 0 to 80.
	// Domain that the layer 7 rule works for. Valid string length ranges from 0 to 80.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// HTTP Status Code. The default is 26. Valid value ranges: [1~31]. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values.
	// HTTP Status Code. The default is `26`. Valid value ranges: [1~31]. `1` means the return value '1xx' is health. `2` means the return value '2xx' is health. `4` means the return value '3xx' is health. `8` means the return value '4xx' is health. `16` means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values.
	HealthCheckCode *float64 `json:"healthCheckCode,omitempty" tf:"health_check_code,omitempty"`

	// Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is [2-10].
	// Health threshold of health check, and the default is `3`. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is [2-10].
	HealthCheckHealthNum *float64 `json:"healthCheckHealthNum,omitempty" tf:"health_check_health_num,omitempty"`

	// Interval time of health check. Valid value ranges: [10~60]sec. The default is 15 sec.
	// Interval time of health check. Valid value ranges: [10~60]sec. The default is 15 sec.
	HealthCheckInterval *float64 `json:"healthCheckInterval,omitempty" tf:"health_check_interval,omitempty"`

	// Methods of health check. The default is 'HEAD', the available value are 'HEAD' and 'GET'.
	// Methods of health check. The default is 'HEAD', the available value are 'HEAD' and 'GET'.
	HealthCheckMethod *string `json:"healthCheckMethod,omitempty" tf:"health_check_method,omitempty"`

	// Path of health check. The default is /.
	// Path of health check. The default is `/`.
	HealthCheckPath *string `json:"healthCheckPath,omitempty" tf:"health_check_path,omitempty"`

	// Indicates whether health check is enabled. The default is false.
	// Indicates whether health check is enabled. The default is `false`.
	HealthCheckSwitch *bool `json:"healthCheckSwitch,omitempty" tf:"health_check_switch,omitempty"`

	// Unhealthy threshold of health check, and the default is 3. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is [2-10].
	// Unhealthy threshold of health check, and the default is `3`. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is [2-10].
	HealthCheckUnhealthNum *float64 `json:"healthCheckUnhealthNum,omitempty" tf:"health_check_unhealth_num,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

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

	// Protocol of the rule. Valid values: http, https.
	// Protocol of the rule. Valid values: `http`, `https`.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// ID of the resource that the layer 7 rule works for.
	// ID of the resource that the layer 7 rule works for.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the layer 7 rule works for, valid value is bgpip.
	// Type of the resource that the layer 7 rule works for, valid value is `bgpip`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// ID of the layer 7 rule.
	// ID of the layer 7 rule.
	RuleID *string `json:"ruleId,omitempty" tf:"rule_id,omitempty"`

	// SSL ID, when the protocol is https, the field should be set with valid SSL id.
	// SSL ID, when the `protocol` is `https`, the field should be set with valid SSL id.
	SSLID *string `json:"sslId,omitempty" tf:"ssl_id,omitempty"`

	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 16.
	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 16.
	// +listType=set
	SourceList []*string `json:"sourceList,omitempty" tf:"source_list,omitempty"`

	// Source type, 1 for source of host, 2 for source of IP.
	// Source type, `1` for source of host, `2` for source of IP.
	SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"`

	// Status of the rule. 0 for create/modify success, 2 for create/modify fail, 3 for delete success, 5 for delete failed, 6 for waiting to be created/modified, 7 for waiting to be deleted and 8 for waiting to get SSL ID.
	// Status of the rule. `0` for create/modify success, `2` for create/modify fail, `3` for delete success, `5` for delete failed, `6` for waiting to be created/modified, `7` for waiting to be deleted and 8 for waiting to get SSL ID.
	Status *float64 `json:"status,omitempty" tf:"status,omitempty"`

	// Indicate the rule will take effect or not.
	// Indicate the rule will take effect or not.
	Switch *bool `json:"switch,omitempty" tf:"switch,omitempty"`
}

func (*L7RuleObservation) DeepCopy

func (in *L7RuleObservation) DeepCopy() *L7RuleObservation

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

func (*L7RuleObservation) DeepCopyInto

func (in *L7RuleObservation) DeepCopyInto(out *L7RuleObservation)

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

type L7RuleParameters

type L7RuleParameters struct {

	// Domain that the layer 7 rule works for. Valid string length ranges from 0 to 80.
	// Domain that the layer 7 rule works for. Valid string length ranges from 0 to 80.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// HTTP Status Code. The default is 26. Valid value ranges: [1~31]. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values.
	// HTTP Status Code. The default is `26`. Valid value ranges: [1~31]. `1` means the return value '1xx' is health. `2` means the return value '2xx' is health. `4` means the return value '3xx' is health. `8` means the return value '4xx' is health. `16` means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values.
	// +kubebuilder:validation:Optional
	HealthCheckCode *float64 `json:"healthCheckCode,omitempty" tf:"health_check_code,omitempty"`

	// Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is [2-10].
	// Health threshold of health check, and the default is `3`. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is [2-10].
	// +kubebuilder:validation:Optional
	HealthCheckHealthNum *float64 `json:"healthCheckHealthNum,omitempty" tf:"health_check_health_num,omitempty"`

	// Interval time of health check. Valid value ranges: [10~60]sec. The default is 15 sec.
	// Interval time of health check. Valid value ranges: [10~60]sec. The default is 15 sec.
	// +kubebuilder:validation:Optional
	HealthCheckInterval *float64 `json:"healthCheckInterval,omitempty" tf:"health_check_interval,omitempty"`

	// Methods of health check. The default is 'HEAD', the available value are 'HEAD' and 'GET'.
	// Methods of health check. The default is 'HEAD', the available value are 'HEAD' and 'GET'.
	// +kubebuilder:validation:Optional
	HealthCheckMethod *string `json:"healthCheckMethod,omitempty" tf:"health_check_method,omitempty"`

	// Path of health check. The default is /.
	// Path of health check. The default is `/`.
	// +kubebuilder:validation:Optional
	HealthCheckPath *string `json:"healthCheckPath,omitempty" tf:"health_check_path,omitempty"`

	// Indicates whether health check is enabled. The default is false.
	// Indicates whether health check is enabled. The default is `false`.
	// +kubebuilder:validation:Optional
	HealthCheckSwitch *bool `json:"healthCheckSwitch,omitempty" tf:"health_check_switch,omitempty"`

	// Unhealthy threshold of health check, and the default is 3. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is [2-10].
	// Unhealthy threshold of health check, and the default is `3`. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is [2-10].
	// +kubebuilder:validation:Optional
	HealthCheckUnhealthNum *float64 `json:"healthCheckUnhealthNum,omitempty" tf:"health_check_unhealth_num,omitempty"`

	// Name of the rule.
	// Name of the rule.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Protocol of the rule. Valid values: http, https.
	// Protocol of the rule. Valid values: `http`, `https`.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// ID of the resource that the layer 7 rule works for.
	// ID of the resource that the layer 7 rule works for.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Type of the resource that the layer 7 rule works for, valid value is bgpip.
	// Type of the resource that the layer 7 rule works for, valid value is `bgpip`.
	// +kubebuilder:validation:Optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// SSL ID, when the protocol is https, the field should be set with valid SSL id.
	// SSL ID, when the `protocol` is `https`, the field should be set with valid SSL id.
	// +kubebuilder:validation:Optional
	SSLID *string `json:"sslId,omitempty" tf:"ssl_id,omitempty"`

	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 16.
	// Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 16.
	// +kubebuilder:validation:Optional
	// +listType=set
	SourceList []*string `json:"sourceList,omitempty" tf:"source_list,omitempty"`

	// Source type, 1 for source of host, 2 for source of IP.
	// Source type, `1` for source of host, `2` for source of IP.
	// +kubebuilder:validation:Optional
	SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"`

	// Indicate the rule will take effect or not.
	// Indicate the rule will take effect or not.
	// +kubebuilder:validation:Optional
	Switch *bool `json:"switch,omitempty" tf:"switch,omitempty"`
}

func (*L7RuleParameters) DeepCopy

func (in *L7RuleParameters) DeepCopy() *L7RuleParameters

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

func (*L7RuleParameters) DeepCopyInto

func (in *L7RuleParameters) DeepCopyInto(out *L7RuleParameters)

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

type L7RuleSpec

type L7RuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     L7RuleParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider L7RuleInitParameters `json:"initProvider,omitempty"`
}

L7RuleSpec defines the desired state of L7Rule

func (*L7RuleSpec) DeepCopy

func (in *L7RuleSpec) DeepCopy() *L7RuleSpec

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

func (*L7RuleSpec) DeepCopyInto

func (in *L7RuleSpec) DeepCopyInto(out *L7RuleSpec)

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

type L7RuleStatus

type L7RuleStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        L7RuleObservation `json:"atProvider,omitempty"`
}

L7RuleStatus defines the observed state of L7Rule.

func (*L7RuleStatus) DeepCopy

func (in *L7RuleStatus) DeepCopy() *L7RuleStatus

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

func (*L7RuleStatus) DeepCopyInto

func (in *L7RuleStatus) DeepCopyInto(out *L7RuleStatus)

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

type L7RuleV2

type L7RuleV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceIp) || (has(self.initProvider) && has(self.initProvider.resourceIp))",message="spec.forProvider.resourceIp is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || (has(self.initProvider) && has(self.initProvider.rule))",message="spec.forProvider.rule is a required parameter"
	Spec   L7RuleV2Spec   `json:"spec"`
	Status L7RuleV2Status `json:"status,omitempty"`
}

L7RuleV2 is the Schema for the L7RuleV2s API. Use this resource to create dayu new layer 7 rule +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*L7RuleV2) DeepCopy

func (in *L7RuleV2) DeepCopy() *L7RuleV2

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

func (*L7RuleV2) DeepCopyInto

func (in *L7RuleV2) DeepCopyInto(out *L7RuleV2)

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

func (*L7RuleV2) DeepCopyObject

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

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

func (*L7RuleV2) GetCondition

func (mg *L7RuleV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this L7RuleV2.

func (*L7RuleV2) GetConnectionDetailsMapping

func (tr *L7RuleV2) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this L7RuleV2

func (*L7RuleV2) GetDeletionPolicy

func (mg *L7RuleV2) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this L7RuleV2.

func (*L7RuleV2) GetID

func (tr *L7RuleV2) GetID() string

GetID returns ID of underlying Terraform resource of this L7RuleV2

func (*L7RuleV2) GetInitParameters added in v0.8.0

func (tr *L7RuleV2) GetInitParameters() (map[string]any, error)

GetInitParameters of this L7RuleV2

func (*L7RuleV2) GetManagementPolicies added in v0.8.0

func (mg *L7RuleV2) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this L7RuleV2.

func (*L7RuleV2) GetMergedParameters added in v0.8.1

func (tr *L7RuleV2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this L7RuleV2

func (*L7RuleV2) GetObservation

func (tr *L7RuleV2) GetObservation() (map[string]any, error)

GetObservation of this L7RuleV2

func (*L7RuleV2) GetParameters

func (tr *L7RuleV2) GetParameters() (map[string]any, error)

GetParameters of this L7RuleV2

func (*L7RuleV2) GetProviderConfigReference

func (mg *L7RuleV2) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this L7RuleV2.

func (*L7RuleV2) GetPublishConnectionDetailsTo

func (mg *L7RuleV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this L7RuleV2.

func (*L7RuleV2) GetTerraformResourceType

func (mg *L7RuleV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this L7RuleV2

func (*L7RuleV2) GetTerraformSchemaVersion

func (tr *L7RuleV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*L7RuleV2) GetWriteConnectionSecretToReference

func (mg *L7RuleV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this L7RuleV2.

func (*L7RuleV2) Hub added in v0.8.1

func (tr *L7RuleV2) Hub()

Hub marks this type as a conversion hub.

func (*L7RuleV2) LateInitialize

func (tr *L7RuleV2) LateInitialize(attrs []byte) (bool, error)

LateInitialize this L7RuleV2 using its observed tfState. returns True if there are any spec changes for the resource.

func (*L7RuleV2) SetConditions

func (mg *L7RuleV2) SetConditions(c ...xpv1.Condition)

SetConditions of this L7RuleV2.

func (*L7RuleV2) SetDeletionPolicy

func (mg *L7RuleV2) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this L7RuleV2.

func (*L7RuleV2) SetManagementPolicies added in v0.8.0

func (mg *L7RuleV2) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this L7RuleV2.

func (*L7RuleV2) SetObservation

func (tr *L7RuleV2) SetObservation(obs map[string]any) error

SetObservation for this L7RuleV2

func (*L7RuleV2) SetParameters

func (tr *L7RuleV2) SetParameters(params map[string]any) error

SetParameters for this L7RuleV2

func (*L7RuleV2) SetProviderConfigReference

func (mg *L7RuleV2) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this L7RuleV2.

func (*L7RuleV2) SetPublishConnectionDetailsTo

func (mg *L7RuleV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this L7RuleV2.

func (*L7RuleV2) SetWriteConnectionSecretToReference

func (mg *L7RuleV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this L7RuleV2.

type L7RuleV2InitParameters added in v0.8.0

type L7RuleV2InitParameters struct {

	// ID of the resource that the layer 7 rule works for.
	// ID of the resource that the layer 7 rule works for.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Ip of the resource that the layer 7 rule works for.
	// Ip of the resource that the layer 7 rule works for.
	ResourceIP *string `json:"resourceIp,omitempty" tf:"resource_ip,omitempty"`

	// Type of the resource that the layer 7 rule works for, valid value is bgpip.
	// Type of the resource that the layer 7 rule works for, valid value is `bgpip`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// A list of layer 7 rules. Each element contains the following attributes:
	// A list of layer 7 rules. Each element contains the following attributes:
	Rule []RuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"`
}

func (*L7RuleV2InitParameters) DeepCopy added in v0.8.0

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

func (*L7RuleV2InitParameters) DeepCopyInto added in v0.8.0

func (in *L7RuleV2InitParameters) DeepCopyInto(out *L7RuleV2InitParameters)

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

type L7RuleV2List

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

L7RuleV2List contains a list of L7RuleV2s

func (*L7RuleV2List) DeepCopy

func (in *L7RuleV2List) DeepCopy() *L7RuleV2List

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

func (*L7RuleV2List) DeepCopyInto

func (in *L7RuleV2List) DeepCopyInto(out *L7RuleV2List)

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

func (*L7RuleV2List) DeepCopyObject

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

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

func (*L7RuleV2List) GetItems

func (l *L7RuleV2List) GetItems() []resource.Managed

GetItems of this L7RuleV2List.

type L7RuleV2Observation

type L7RuleV2Observation struct {

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// ID of the resource that the layer 7 rule works for.
	// ID of the resource that the layer 7 rule works for.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Ip of the resource that the layer 7 rule works for.
	// Ip of the resource that the layer 7 rule works for.
	ResourceIP *string `json:"resourceIp,omitempty" tf:"resource_ip,omitempty"`

	// Type of the resource that the layer 7 rule works for, valid value is bgpip.
	// Type of the resource that the layer 7 rule works for, valid value is `bgpip`.
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// A list of layer 7 rules. Each element contains the following attributes:
	// A list of layer 7 rules. Each element contains the following attributes:
	Rule []RuleObservation `json:"rule,omitempty" tf:"rule,omitempty"`
}

func (*L7RuleV2Observation) DeepCopy

func (in *L7RuleV2Observation) DeepCopy() *L7RuleV2Observation

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

func (*L7RuleV2Observation) DeepCopyInto

func (in *L7RuleV2Observation) DeepCopyInto(out *L7RuleV2Observation)

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

type L7RuleV2Parameters

type L7RuleV2Parameters struct {

	// ID of the resource that the layer 7 rule works for.
	// ID of the resource that the layer 7 rule works for.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Ip of the resource that the layer 7 rule works for.
	// Ip of the resource that the layer 7 rule works for.
	// +kubebuilder:validation:Optional
	ResourceIP *string `json:"resourceIp,omitempty" tf:"resource_ip,omitempty"`

	// Type of the resource that the layer 7 rule works for, valid value is bgpip.
	// Type of the resource that the layer 7 rule works for, valid value is `bgpip`.
	// +kubebuilder:validation:Optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// A list of layer 7 rules. Each element contains the following attributes:
	// A list of layer 7 rules. Each element contains the following attributes:
	// +kubebuilder:validation:Optional
	Rule []RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"`
}

func (*L7RuleV2Parameters) DeepCopy

func (in *L7RuleV2Parameters) DeepCopy() *L7RuleV2Parameters

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

func (*L7RuleV2Parameters) DeepCopyInto

func (in *L7RuleV2Parameters) DeepCopyInto(out *L7RuleV2Parameters)

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

type L7RuleV2Spec

type L7RuleV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     L7RuleV2Parameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider L7RuleV2InitParameters `json:"initProvider,omitempty"`
}

L7RuleV2Spec defines the desired state of L7RuleV2

func (*L7RuleV2Spec) DeepCopy

func (in *L7RuleV2Spec) DeepCopy() *L7RuleV2Spec

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

func (*L7RuleV2Spec) DeepCopyInto

func (in *L7RuleV2Spec) DeepCopyInto(out *L7RuleV2Spec)

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

type L7RuleV2Status

type L7RuleV2Status struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        L7RuleV2Observation `json:"atProvider,omitempty"`
}

L7RuleV2Status defines the observed state of L7RuleV2.

func (*L7RuleV2Status) DeepCopy

func (in *L7RuleV2Status) DeepCopy() *L7RuleV2Status

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

func (*L7RuleV2Status) DeepCopyInto

func (in *L7RuleV2Status) DeepCopyInto(out *L7RuleV2Status)

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

type ListenersInitParameters added in v0.8.0

type ListenersInitParameters struct {

	// Protocol type, desirable values tcp, udp, all.
	// Forwarding protocol, value [TCP, UDP].
	ForwardProtocol *string `json:"forwardProtocol,omitempty" tf:"forward_protocol,omitempty"`

	// Lower limit of forwarding listening port. Values: [1-65535].
	// Lower limit of forwarding listening port. Values: [1-65535].
	FrontendPort *float64 `json:"frontendPort,omitempty" tf:"frontend_port,omitempty"`

	// Upper limit of forwarding listening port. Values: [1-65535].
	// Upper limit of forwarding listening port. Values: [1-65535].
	FrontendPortEnd *float64 `json:"frontendPortEnd,omitempty" tf:"frontend_port_end,omitempty"`
}

func (*ListenersInitParameters) DeepCopy added in v0.8.0

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

func (*ListenersInitParameters) DeepCopyInto added in v0.8.0

func (in *ListenersInitParameters) DeepCopyInto(out *ListenersInitParameters)

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

type ListenersObservation added in v0.8.0

type ListenersObservation struct {

	// Protocol type, desirable values tcp, udp, all.
	// Forwarding protocol, value [TCP, UDP].
	ForwardProtocol *string `json:"forwardProtocol,omitempty" tf:"forward_protocol,omitempty"`

	// Lower limit of forwarding listening port. Values: [1-65535].
	// Lower limit of forwarding listening port. Values: [1-65535].
	FrontendPort *float64 `json:"frontendPort,omitempty" tf:"frontend_port,omitempty"`

	// Upper limit of forwarding listening port. Values: [1-65535].
	// Upper limit of forwarding listening port. Values: [1-65535].
	FrontendPortEnd *float64 `json:"frontendPortEnd,omitempty" tf:"frontend_port_end,omitempty"`
}

func (*ListenersObservation) DeepCopy added in v0.8.0

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

func (*ListenersObservation) DeepCopyInto added in v0.8.0

func (in *ListenersObservation) DeepCopyInto(out *ListenersObservation)

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

type ListenersParameters added in v0.8.0

type ListenersParameters struct {

	// Protocol type, desirable values tcp, udp, all.
	// Forwarding protocol, value [TCP, UDP].
	// +kubebuilder:validation:Optional
	ForwardProtocol *string `json:"forwardProtocol" tf:"forward_protocol,omitempty"`

	// Lower limit of forwarding listening port. Values: [1-65535].
	// Lower limit of forwarding listening port. Values: [1-65535].
	// +kubebuilder:validation:Optional
	FrontendPort *float64 `json:"frontendPort" tf:"frontend_port,omitempty"`

	// Upper limit of forwarding listening port. Values: [1-65535].
	// Upper limit of forwarding listening port. Values: [1-65535].
	// +kubebuilder:validation:Optional
	FrontendPortEnd *float64 `json:"frontendPortEnd" tf:"frontend_port_end,omitempty"`
}

func (*ListenersParameters) DeepCopy added in v0.8.0

func (in *ListenersParameters) DeepCopy() *ListenersParameters

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

func (*ListenersParameters) DeepCopyInto added in v0.8.0

func (in *ListenersParameters) DeepCopyInto(out *ListenersParameters)

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

type PacketFiltersInitParameters added in v0.8.0

type PacketFiltersInitParameters struct {

	// Action of port to take. Valid values: drop, drop_black,drop_rst,drop_black_rst,transmit.drop(drop the packet), drop_black(drop the packet and black the ip),drop_rst(drop the packet and disconnect),drop_black_rst(drop the packet, black the ip and disconnect),transmit(transmit the packet).
	// Action of port to take. Valid values: `drop`, `drop_black`,`drop_rst`,`drop_black_rst`,`transmit`.`drop`(drop the packet), `drop_black`(drop the packet and black the ip),`drop_rst`(drop the packet and disconnect),`drop_black_rst`(drop the packet, black the ip and disconnect),`transmit`(transmit the packet).
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// End port of the destination. Valid value ranges: (0~65535). It must be greater than d_start_port.
	// End port of the destination. Valid value ranges: (0~65535). It must be greater than `d_start_port`.
	DEndPort *float64 `json:"dEndPort,omitempty" tf:"d_end_port,omitempty"`

	// Start port of the destination. Valid value ranges: (0~65535).
	// Start port of the destination. Valid value ranges: (0~65535).
	DStartPort *float64 `json:"dStartPort,omitempty" tf:"d_start_port,omitempty"`

	// The depth of match. Valid value ranges: (0~1500).
	// The depth of match. Valid value ranges: (0~1500).
	Depth *float64 `json:"depth,omitempty" tf:"depth,omitempty"`

	// Indicate whether to include the key word/regular expression or not.
	// Indicate whether to include the key word/regular expression or not.
	IsInclude *bool `json:"isInclude,omitempty" tf:"is_include,omitempty"`

	// Indicate whether to check load or not, begin_l5 means to match and no_match means not.
	// Indicate whether to check load or not, `begin_l5` means to match and `no_match` means not.
	MatchBegin *string `json:"matchBegin,omitempty" tf:"match_begin,omitempty"`

	// The key word or regular expression.
	// The key word or regular expression.
	MatchStr *string `json:"matchStr,omitempty" tf:"match_str,omitempty"`

	// Match type. Valid values: sunday and pcre. sunday means key word match while pcre means regular match.
	// Match type. Valid values: `sunday` and `pcre`. `sunday` means key word match while `pcre` means regular match.
	MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"`

	// The offset of match. Valid value ranges: (0~1500).
	// The offset of match. Valid value ranges: (0~1500).
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// The max length of the packet. Valid value ranges: (0~1500)(Mbps). It must be greater than pkt_length_min.
	// The max length of the packet. Valid value ranges: (0~1500)(Mbps). It must be greater than `pkt_length_min`.
	PktLengthMax *float64 `json:"pktLengthMax,omitempty" tf:"pkt_length_max,omitempty"`

	// The minimum length of the packet. Valid value ranges: (0~1500)(Mbps).
	// The minimum length of the packet. Valid value ranges: (0~1500)(Mbps).
	PktLengthMin *float64 `json:"pktLengthMin,omitempty" tf:"pkt_length_min,omitempty"`

	// Protocol. Valid values: tcp, udp, icmp, all.
	// Protocol. Valid values: `tcp`, `udp`, `icmp`, `all`.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// End port of the source. Valid value ranges: (0~65535). It must be greater than s_start_port.
	// End port of the source. Valid value ranges: (0~65535). It must be greater than `s_start_port`.
	SEndPort *float64 `json:"sEndPort,omitempty" tf:"s_end_port,omitempty"`

	// Start port of the source. Valid value ranges: (0~65535).
	// Start port of the source. Valid value ranges: (0~65535).
	SStartPort *float64 `json:"sStartPort,omitempty" tf:"s_start_port,omitempty"`
}

func (*PacketFiltersInitParameters) DeepCopy added in v0.8.0

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

func (*PacketFiltersInitParameters) DeepCopyInto added in v0.8.0

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

type PacketFiltersObservation

type PacketFiltersObservation struct {

	// Action of port to take. Valid values: drop, drop_black,drop_rst,drop_black_rst,transmit.drop(drop the packet), drop_black(drop the packet and black the ip),drop_rst(drop the packet and disconnect),drop_black_rst(drop the packet, black the ip and disconnect),transmit(transmit the packet).
	// Action of port to take. Valid values: `drop`, `drop_black`,`drop_rst`,`drop_black_rst`,`transmit`.`drop`(drop the packet), `drop_black`(drop the packet and black the ip),`drop_rst`(drop the packet and disconnect),`drop_black_rst`(drop the packet, black the ip and disconnect),`transmit`(transmit the packet).
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// End port of the destination. Valid value ranges: (0~65535). It must be greater than d_start_port.
	// End port of the destination. Valid value ranges: (0~65535). It must be greater than `d_start_port`.
	DEndPort *float64 `json:"dEndPort,omitempty" tf:"d_end_port,omitempty"`

	// Start port of the destination. Valid value ranges: (0~65535).
	// Start port of the destination. Valid value ranges: (0~65535).
	DStartPort *float64 `json:"dStartPort,omitempty" tf:"d_start_port,omitempty"`

	// The depth of match. Valid value ranges: (0~1500).
	// The depth of match. Valid value ranges: (0~1500).
	Depth *float64 `json:"depth,omitempty" tf:"depth,omitempty"`

	// Indicate whether to include the key word/regular expression or not.
	// Indicate whether to include the key word/regular expression or not.
	IsInclude *bool `json:"isInclude,omitempty" tf:"is_include,omitempty"`

	// Indicate whether to check load or not, begin_l5 means to match and no_match means not.
	// Indicate whether to check load or not, `begin_l5` means to match and `no_match` means not.
	MatchBegin *string `json:"matchBegin,omitempty" tf:"match_begin,omitempty"`

	// The key word or regular expression.
	// The key word or regular expression.
	MatchStr *string `json:"matchStr,omitempty" tf:"match_str,omitempty"`

	// Match type. Valid values: sunday and pcre. sunday means key word match while pcre means regular match.
	// Match type. Valid values: `sunday` and `pcre`. `sunday` means key word match while `pcre` means regular match.
	MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"`

	// The offset of match. Valid value ranges: (0~1500).
	// The offset of match. Valid value ranges: (0~1500).
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// The max length of the packet. Valid value ranges: (0~1500)(Mbps). It must be greater than pkt_length_min.
	// The max length of the packet. Valid value ranges: (0~1500)(Mbps). It must be greater than `pkt_length_min`.
	PktLengthMax *float64 `json:"pktLengthMax,omitempty" tf:"pkt_length_max,omitempty"`

	// The minimum length of the packet. Valid value ranges: (0~1500)(Mbps).
	// The minimum length of the packet. Valid value ranges: (0~1500)(Mbps).
	PktLengthMin *float64 `json:"pktLengthMin,omitempty" tf:"pkt_length_min,omitempty"`

	// Protocol. Valid values: tcp, udp, icmp, all.
	// Protocol. Valid values: `tcp`, `udp`, `icmp`, `all`.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// End port of the source. Valid value ranges: (0~65535). It must be greater than s_start_port.
	// End port of the source. Valid value ranges: (0~65535). It must be greater than `s_start_port`.
	SEndPort *float64 `json:"sEndPort,omitempty" tf:"s_end_port,omitempty"`

	// Start port of the source. Valid value ranges: (0~65535).
	// Start port of the source. Valid value ranges: (0~65535).
	SStartPort *float64 `json:"sStartPort,omitempty" tf:"s_start_port,omitempty"`
}

func (*PacketFiltersObservation) DeepCopy

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

func (*PacketFiltersObservation) DeepCopyInto

func (in *PacketFiltersObservation) DeepCopyInto(out *PacketFiltersObservation)

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

type PacketFiltersParameters

type PacketFiltersParameters struct {

	// Action of port to take. Valid values: drop, drop_black,drop_rst,drop_black_rst,transmit.drop(drop the packet), drop_black(drop the packet and black the ip),drop_rst(drop the packet and disconnect),drop_black_rst(drop the packet, black the ip and disconnect),transmit(transmit the packet).
	// Action of port to take. Valid values: `drop`, `drop_black`,`drop_rst`,`drop_black_rst`,`transmit`.`drop`(drop the packet), `drop_black`(drop the packet and black the ip),`drop_rst`(drop the packet and disconnect),`drop_black_rst`(drop the packet, black the ip and disconnect),`transmit`(transmit the packet).
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// End port of the destination. Valid value ranges: (0~65535). It must be greater than d_start_port.
	// End port of the destination. Valid value ranges: (0~65535). It must be greater than `d_start_port`.
	// +kubebuilder:validation:Optional
	DEndPort *float64 `json:"dEndPort,omitempty" tf:"d_end_port,omitempty"`

	// Start port of the destination. Valid value ranges: (0~65535).
	// Start port of the destination. Valid value ranges: (0~65535).
	// +kubebuilder:validation:Optional
	DStartPort *float64 `json:"dStartPort,omitempty" tf:"d_start_port,omitempty"`

	// The depth of match. Valid value ranges: (0~1500).
	// The depth of match. Valid value ranges: (0~1500).
	// +kubebuilder:validation:Optional
	Depth *float64 `json:"depth,omitempty" tf:"depth,omitempty"`

	// Indicate whether to include the key word/regular expression or not.
	// Indicate whether to include the key word/regular expression or not.
	// +kubebuilder:validation:Optional
	IsInclude *bool `json:"isInclude,omitempty" tf:"is_include,omitempty"`

	// Indicate whether to check load or not, begin_l5 means to match and no_match means not.
	// Indicate whether to check load or not, `begin_l5` means to match and `no_match` means not.
	// +kubebuilder:validation:Optional
	MatchBegin *string `json:"matchBegin,omitempty" tf:"match_begin,omitempty"`

	// The key word or regular expression.
	// The key word or regular expression.
	// +kubebuilder:validation:Optional
	MatchStr *string `json:"matchStr,omitempty" tf:"match_str,omitempty"`

	// Match type. Valid values: sunday and pcre. sunday means key word match while pcre means regular match.
	// Match type. Valid values: `sunday` and `pcre`. `sunday` means key word match while `pcre` means regular match.
	// +kubebuilder:validation:Optional
	MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"`

	// The offset of match. Valid value ranges: (0~1500).
	// The offset of match. Valid value ranges: (0~1500).
	// +kubebuilder:validation:Optional
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// The max length of the packet. Valid value ranges: (0~1500)(Mbps). It must be greater than pkt_length_min.
	// The max length of the packet. Valid value ranges: (0~1500)(Mbps). It must be greater than `pkt_length_min`.
	// +kubebuilder:validation:Optional
	PktLengthMax *float64 `json:"pktLengthMax,omitempty" tf:"pkt_length_max,omitempty"`

	// The minimum length of the packet. Valid value ranges: (0~1500)(Mbps).
	// The minimum length of the packet. Valid value ranges: (0~1500)(Mbps).
	// +kubebuilder:validation:Optional
	PktLengthMin *float64 `json:"pktLengthMin,omitempty" tf:"pkt_length_min,omitempty"`

	// Protocol. Valid values: tcp, udp, icmp, all.
	// Protocol. Valid values: `tcp`, `udp`, `icmp`, `all`.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// End port of the source. Valid value ranges: (0~65535). It must be greater than s_start_port.
	// End port of the source. Valid value ranges: (0~65535). It must be greater than `s_start_port`.
	// +kubebuilder:validation:Optional
	SEndPort *float64 `json:"sEndPort,omitempty" tf:"s_end_port,omitempty"`

	// Start port of the source. Valid value ranges: (0~65535).
	// Start port of the source. Valid value ranges: (0~65535).
	// +kubebuilder:validation:Optional
	SStartPort *float64 `json:"sStartPort,omitempty" tf:"s_start_port,omitempty"`
}

func (*PacketFiltersParameters) DeepCopy

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

func (*PacketFiltersParameters) DeepCopyInto

func (in *PacketFiltersParameters) DeepCopyInto(out *PacketFiltersParameters)

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

type PolicysInitParameters added in v0.8.0

type PolicysInitParameters struct {

	// Configuration item types, currently only support value.
	// Configuration item types, currently only support value.
	FieldName *string `json:"fieldName,omitempty" tf:"field_name,omitempty"`

	// Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
	// Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
	FieldType *string `json:"fieldType,omitempty" tf:"field_type,omitempty"`

	// Configure the value.
	// Configure the value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`

	// Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
	// Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
	ValueOperator *string `json:"valueOperator,omitempty" tf:"value_operator,omitempty"`
}

func (*PolicysInitParameters) DeepCopy added in v0.8.0

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

func (*PolicysInitParameters) DeepCopyInto added in v0.8.0

func (in *PolicysInitParameters) DeepCopyInto(out *PolicysInitParameters)

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

type PolicysObservation

type PolicysObservation struct {

	// Configuration item types, currently only support value.
	// Configuration item types, currently only support value.
	FieldName *string `json:"fieldName,omitempty" tf:"field_name,omitempty"`

	// Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
	// Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
	FieldType *string `json:"fieldType,omitempty" tf:"field_type,omitempty"`

	// Configure the value.
	// Configure the value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`

	// Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
	// Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
	ValueOperator *string `json:"valueOperator,omitempty" tf:"value_operator,omitempty"`
}

func (*PolicysObservation) DeepCopy

func (in *PolicysObservation) DeepCopy() *PolicysObservation

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

func (*PolicysObservation) DeepCopyInto

func (in *PolicysObservation) DeepCopyInto(out *PolicysObservation)

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

type PolicysParameters

type PolicysParameters struct {

	// Configuration item types, currently only support value.
	// Configuration item types, currently only support value.
	// +kubebuilder:validation:Optional
	FieldName *string `json:"fieldName" tf:"field_name,omitempty"`

	// Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
	// Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
	// +kubebuilder:validation:Optional
	FieldType *string `json:"fieldType" tf:"field_type,omitempty"`

	// Configure the value.
	// Configure the value.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`

	// Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
	// Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
	// +kubebuilder:validation:Optional
	ValueOperator *string `json:"valueOperator" tf:"value_operator,omitempty"`
}

func (*PolicysParameters) DeepCopy

func (in *PolicysParameters) DeepCopy() *PolicysParameters

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

func (*PolicysParameters) DeepCopyInto

func (in *PolicysParameters) DeepCopyInto(out *PolicysParameters)

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

type PortFiltersInitParameters added in v0.8.0

type PortFiltersInitParameters struct {

	// Action of port to take. Valid values: drop, drop_black,drop_rst,drop_black_rst,transmit.drop(drop the packet), drop_black(drop the packet and black the ip),drop_rst(drop the packet and disconnect),drop_black_rst(drop the packet, black the ip and disconnect),transmit(transmit the packet).
	// Action of port to take. Valid values: `drop`, `transmit`.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// End port. Valid value ranges: (0~65535). It must be greater than start_port.
	// End port. Valid value ranges: (0~65535). It must be greater than `start_port`.
	EndPort *float64 `json:"endPort,omitempty" tf:"end_port,omitempty"`

	// The type of forbidden port. Valid values: 0, 1, 2. 0 for destination ports make effect, 1 for source ports make effect. 2 for both destination and source ports.
	// The type of forbidden port. Valid values: `0`, `1`, `2`. `0` for destination ports make effect, `1` for source ports make effect. `2` for both destination and source ports.
	Kind *float64 `json:"kind,omitempty" tf:"kind,omitempty"`

	// Protocol. Valid values: tcp, udp, icmp, all.
	// Protocol. Valid values are `tcp`, `udp`, `icmp`, `all`.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Start port. Valid value ranges: (0~65535).
	// Start port. Valid value ranges: (0~65535).
	StartPort *float64 `json:"startPort,omitempty" tf:"start_port,omitempty"`
}

func (*PortFiltersInitParameters) DeepCopy added in v0.8.0

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

func (*PortFiltersInitParameters) DeepCopyInto added in v0.8.0

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

type PortFiltersObservation

type PortFiltersObservation struct {

	// Action of port to take. Valid values: drop, drop_black,drop_rst,drop_black_rst,transmit.drop(drop the packet), drop_black(drop the packet and black the ip),drop_rst(drop the packet and disconnect),drop_black_rst(drop the packet, black the ip and disconnect),transmit(transmit the packet).
	// Action of port to take. Valid values: `drop`, `transmit`.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// End port. Valid value ranges: (0~65535). It must be greater than start_port.
	// End port. Valid value ranges: (0~65535). It must be greater than `start_port`.
	EndPort *float64 `json:"endPort,omitempty" tf:"end_port,omitempty"`

	// The type of forbidden port. Valid values: 0, 1, 2. 0 for destination ports make effect, 1 for source ports make effect. 2 for both destination and source ports.
	// The type of forbidden port. Valid values: `0`, `1`, `2`. `0` for destination ports make effect, `1` for source ports make effect. `2` for both destination and source ports.
	Kind *float64 `json:"kind,omitempty" tf:"kind,omitempty"`

	// Protocol. Valid values: tcp, udp, icmp, all.
	// Protocol. Valid values are `tcp`, `udp`, `icmp`, `all`.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Start port. Valid value ranges: (0~65535).
	// Start port. Valid value ranges: (0~65535).
	StartPort *float64 `json:"startPort,omitempty" tf:"start_port,omitempty"`
}

func (*PortFiltersObservation) DeepCopy

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

func (*PortFiltersObservation) DeepCopyInto

func (in *PortFiltersObservation) DeepCopyInto(out *PortFiltersObservation)

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

type PortFiltersParameters

type PortFiltersParameters struct {

	// Action of port to take. Valid values: drop, drop_black,drop_rst,drop_black_rst,transmit.drop(drop the packet), drop_black(drop the packet and black the ip),drop_rst(drop the packet and disconnect),drop_black_rst(drop the packet, black the ip and disconnect),transmit(transmit the packet).
	// Action of port to take. Valid values: `drop`, `transmit`.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// End port. Valid value ranges: (0~65535). It must be greater than start_port.
	// End port. Valid value ranges: (0~65535). It must be greater than `start_port`.
	// +kubebuilder:validation:Optional
	EndPort *float64 `json:"endPort,omitempty" tf:"end_port,omitempty"`

	// The type of forbidden port. Valid values: 0, 1, 2. 0 for destination ports make effect, 1 for source ports make effect. 2 for both destination and source ports.
	// The type of forbidden port. Valid values: `0`, `1`, `2`. `0` for destination ports make effect, `1` for source ports make effect. `2` for both destination and source ports.
	// +kubebuilder:validation:Optional
	Kind *float64 `json:"kind,omitempty" tf:"kind,omitempty"`

	// Protocol. Valid values: tcp, udp, icmp, all.
	// Protocol. Valid values are `tcp`, `udp`, `icmp`, `all`.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Start port. Valid value ranges: (0~65535).
	// Start port. Valid value ranges: (0~65535).
	// +kubebuilder:validation:Optional
	StartPort *float64 `json:"startPort,omitempty" tf:"start_port,omitempty"`
}

func (*PortFiltersParameters) DeepCopy

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

func (*PortFiltersParameters) DeepCopyInto

func (in *PortFiltersParameters) DeepCopyInto(out *PortFiltersParameters)

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

type ProtocolBlockConfigInitParameters added in v0.8.0

type ProtocolBlockConfigInitParameters struct {

	// ICMP block, value [0 (block off), 1 (block on)].
	// ICMP block, value [0 (block off), 1 (block on)].
	DropIcmp *float64 `json:"dropIcmp,omitempty" tf:"drop_icmp,omitempty"`

	// Other block, value [0 (block off), 1 (block on)].
	// Other block, value [0 (block off), 1 (block on)].
	DropOther *float64 `json:"dropOther,omitempty" tf:"drop_other,omitempty"`

	// TCP block, value [0 (block off), 1 (block on)].
	// TCP block, value [0 (block off), 1 (block on)].
	DropTCP *float64 `json:"dropTcp,omitempty" tf:"drop_tcp,omitempty"`

	// UDP block, value [0 (block off), 1 (block on)].
	// UDP block, value [0 (block off), 1 (block on)].
	DropUDP *float64 `json:"dropUdp,omitempty" tf:"drop_udp,omitempty"`
}

func (*ProtocolBlockConfigInitParameters) DeepCopy added in v0.8.0

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

func (*ProtocolBlockConfigInitParameters) DeepCopyInto added in v0.8.0

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

type ProtocolBlockConfigObservation

type ProtocolBlockConfigObservation struct {

	// ICMP block, value [0 (block off), 1 (block on)].
	// ICMP block, value [0 (block off), 1 (block on)].
	DropIcmp *float64 `json:"dropIcmp,omitempty" tf:"drop_icmp,omitempty"`

	// Other block, value [0 (block off), 1 (block on)].
	// Other block, value [0 (block off), 1 (block on)].
	DropOther *float64 `json:"dropOther,omitempty" tf:"drop_other,omitempty"`

	// TCP block, value [0 (block off), 1 (block on)].
	// TCP block, value [0 (block off), 1 (block on)].
	DropTCP *float64 `json:"dropTcp,omitempty" tf:"drop_tcp,omitempty"`

	// UDP block, value [0 (block off), 1 (block on)].
	// UDP block, value [0 (block off), 1 (block on)].
	DropUDP *float64 `json:"dropUdp,omitempty" tf:"drop_udp,omitempty"`
}

func (*ProtocolBlockConfigObservation) DeepCopy

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

func (*ProtocolBlockConfigObservation) DeepCopyInto

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

type ProtocolBlockConfigParameters

type ProtocolBlockConfigParameters struct {

	// ICMP block, value [0 (block off), 1 (block on)].
	// ICMP block, value [0 (block off), 1 (block on)].
	// +kubebuilder:validation:Optional
	DropIcmp *float64 `json:"dropIcmp" tf:"drop_icmp,omitempty"`

	// Other block, value [0 (block off), 1 (block on)].
	// Other block, value [0 (block off), 1 (block on)].
	// +kubebuilder:validation:Optional
	DropOther *float64 `json:"dropOther" tf:"drop_other,omitempty"`

	// TCP block, value [0 (block off), 1 (block on)].
	// TCP block, value [0 (block off), 1 (block on)].
	// +kubebuilder:validation:Optional
	DropTCP *float64 `json:"dropTcp" tf:"drop_tcp,omitempty"`

	// UDP block, value [0 (block off), 1 (block on)].
	// UDP block, value [0 (block off), 1 (block on)].
	// +kubebuilder:validation:Optional
	DropUDP *float64 `json:"dropUdp" tf:"drop_udp,omitempty"`
}

func (*ProtocolBlockConfigParameters) DeepCopy

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

func (*ProtocolBlockConfigParameters) DeepCopyInto

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

type RuleInitParameters added in v0.8.0

type RuleInitParameters struct {

	// HTTPS protocol CC protection status, value [0 (off), 1 (on)], defaule is 0.
	// HTTPS protocol CC protection status, value [0 (off), 1 (on)], defaule is 0.
	CcEnable *float64 `json:"ccEnable,omitempty" tf:"cc_enable,omitempty"`

	// The source of the certificate must be filled in when the forwarding protocol is https, the value [2 (Tencent Cloud Hosting Certificate)], and 0 when the forwarding protocol is http.
	// The source of the certificate must be filled in when the forwarding protocol is https, the value [2 (Tencent Cloud Hosting Certificate)], and 0 when the forwarding protocol is http.
	CertType *float64 `json:"certType,omitempty" tf:"cert_type,omitempty"`

	// Domain of the rule.
	// Domain of the rule.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], do not fill in the default is off, defaule is 0.
	// Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], do not fill in the default is off, defaule is 0.
	HTTPSToHTTPEnable *float64 `json:"httpsToHttpEnable,omitempty" tf:"https_to_http_enable,omitempty"`

	// session hold switch.
	// session hold switch.
	KeepEnable *float64 `json:"keepEnable,omitempty" tf:"keep_enable,omitempty"`

	// The keeptime of the layer 4 rule.
	// The keeptime of the layer 4 rule.
	Keeptime *float64 `json:"keeptime,omitempty" tf:"keeptime,omitempty"`

	// LB type of the rule, 1 for weight cycling and 2 for IP hash.
	// LB type of the rule, `1` for weight cycling and `2` for IP hash.
	LBType *float64 `json:"lbType,omitempty" tf:"lb_type,omitempty"`

	// Protocol of the rule.
	// Protocol of the rule.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// When the certificate source is a Tencent Cloud managed certificate, this field must be filled in with the managed certificate ID.
	// When the certificate source is a Tencent Cloud managed certificate, this field must be filled in with the managed certificate ID.
	SSLID *string `json:"sslId,omitempty" tf:"ssl_id,omitempty"`

	SourceList []RuleSourceListInitParameters `json:"sourceList,omitempty" tf:"source_list,omitempty"`

	// Source type, 1 for source of host, 2 for source of IP.
	// Source type, `1` for source of host, `2` for source of IP.
	SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"`
}

func (*RuleInitParameters) DeepCopy added in v0.8.0

func (in *RuleInitParameters) DeepCopy() *RuleInitParameters

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

func (*RuleInitParameters) DeepCopyInto added in v0.8.0

func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters)

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

type RuleListInitParameters added in v0.8.0

type RuleListInitParameters struct {

	// Operator of the rule. Valid values: include, not_include, equal.
	// Operator of the rule. Valid values: `include`, `not_include`, `equal`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Key of the rule. Valid values: host, cgi, ua, referer.
	// Key of the rule. Valid values: `host`, `cgi`, `ua`, `referer`.
	Skey *string `json:"skey,omitempty" tf:"skey,omitempty"`

	// Rule value, then length should be less than 31 bytes.
	// Rule value, then length should be less than 31 bytes.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*RuleListInitParameters) DeepCopy added in v0.8.0

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

func (*RuleListInitParameters) DeepCopyInto added in v0.8.0

func (in *RuleListInitParameters) DeepCopyInto(out *RuleListInitParameters)

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

type RuleListObservation

type RuleListObservation struct {

	// Operator of the rule. Valid values: include, not_include, equal.
	// Operator of the rule. Valid values: `include`, `not_include`, `equal`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Key of the rule. Valid values: host, cgi, ua, referer.
	// Key of the rule. Valid values: `host`, `cgi`, `ua`, `referer`.
	Skey *string `json:"skey,omitempty" tf:"skey,omitempty"`

	// Rule value, then length should be less than 31 bytes.
	// Rule value, then length should be less than 31 bytes.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*RuleListObservation) DeepCopy

func (in *RuleListObservation) DeepCopy() *RuleListObservation

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

func (*RuleListObservation) DeepCopyInto

func (in *RuleListObservation) DeepCopyInto(out *RuleListObservation)

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

type RuleListParameters

type RuleListParameters struct {

	// Operator of the rule. Valid values: include, not_include, equal.
	// Operator of the rule. Valid values: `include`, `not_include`, `equal`.
	// +kubebuilder:validation:Optional
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Key of the rule. Valid values: host, cgi, ua, referer.
	// Key of the rule. Valid values: `host`, `cgi`, `ua`, `referer`.
	// +kubebuilder:validation:Optional
	Skey *string `json:"skey,omitempty" tf:"skey,omitempty"`

	// Rule value, then length should be less than 31 bytes.
	// Rule value, then length should be less than 31 bytes.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*RuleListParameters) DeepCopy

func (in *RuleListParameters) DeepCopy() *RuleListParameters

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

func (*RuleListParameters) DeepCopyInto

func (in *RuleListParameters) DeepCopyInto(out *RuleListParameters)

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

type RuleObservation

type RuleObservation struct {

	// HTTPS protocol CC protection status, value [0 (off), 1 (on)], defaule is 0.
	// HTTPS protocol CC protection status, value [0 (off), 1 (on)], defaule is 0.
	CcEnable *float64 `json:"ccEnable,omitempty" tf:"cc_enable,omitempty"`

	// The source of the certificate must be filled in when the forwarding protocol is https, the value [2 (Tencent Cloud Hosting Certificate)], and 0 when the forwarding protocol is http.
	// The source of the certificate must be filled in when the forwarding protocol is https, the value [2 (Tencent Cloud Hosting Certificate)], and 0 when the forwarding protocol is http.
	CertType *float64 `json:"certType,omitempty" tf:"cert_type,omitempty"`

	// Domain of the rule.
	// Domain of the rule.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], do not fill in the default is off, defaule is 0.
	// Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], do not fill in the default is off, defaule is 0.
	HTTPSToHTTPEnable *float64 `json:"httpsToHttpEnable,omitempty" tf:"https_to_http_enable,omitempty"`

	// session hold switch.
	// session hold switch.
	KeepEnable *float64 `json:"keepEnable,omitempty" tf:"keep_enable,omitempty"`

	// The keeptime of the layer 4 rule.
	// The keeptime of the layer 4 rule.
	Keeptime *float64 `json:"keeptime,omitempty" tf:"keeptime,omitempty"`

	// LB type of the rule, 1 for weight cycling and 2 for IP hash.
	// LB type of the rule, `1` for weight cycling and `2` for IP hash.
	LBType *float64 `json:"lbType,omitempty" tf:"lb_type,omitempty"`

	// Protocol of the rule.
	// Protocol of the rule.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// When the certificate source is a Tencent Cloud managed certificate, this field must be filled in with the managed certificate ID.
	// When the certificate source is a Tencent Cloud managed certificate, this field must be filled in with the managed certificate ID.
	SSLID *string `json:"sslId,omitempty" tf:"ssl_id,omitempty"`

	SourceList []RuleSourceListObservation `json:"sourceList,omitempty" tf:"source_list,omitempty"`

	// Source type, 1 for source of host, 2 for source of IP.
	// Source type, `1` for source of host, `2` for source of IP.
	SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"`
}

func (*RuleObservation) DeepCopy

func (in *RuleObservation) DeepCopy() *RuleObservation

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

func (*RuleObservation) DeepCopyInto

func (in *RuleObservation) DeepCopyInto(out *RuleObservation)

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

type RuleParameters

type RuleParameters struct {

	// HTTPS protocol CC protection status, value [0 (off), 1 (on)], defaule is 0.
	// HTTPS protocol CC protection status, value [0 (off), 1 (on)], defaule is 0.
	// +kubebuilder:validation:Optional
	CcEnable *float64 `json:"ccEnable,omitempty" tf:"cc_enable,omitempty"`

	// The source of the certificate must be filled in when the forwarding protocol is https, the value [2 (Tencent Cloud Hosting Certificate)], and 0 when the forwarding protocol is http.
	// The source of the certificate must be filled in when the forwarding protocol is https, the value [2 (Tencent Cloud Hosting Certificate)], and 0 when the forwarding protocol is http.
	// +kubebuilder:validation:Optional
	CertType *float64 `json:"certType,omitempty" tf:"cert_type,omitempty"`

	// Domain of the rule.
	// Domain of the rule.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain" tf:"domain,omitempty"`

	// Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], do not fill in the default is off, defaule is 0.
	// Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], do not fill in the default is off, defaule is 0.
	// +kubebuilder:validation:Optional
	HTTPSToHTTPEnable *float64 `json:"httpsToHttpEnable,omitempty" tf:"https_to_http_enable,omitempty"`

	// session hold switch.
	// session hold switch.
	// +kubebuilder:validation:Optional
	KeepEnable *float64 `json:"keepEnable" tf:"keep_enable,omitempty"`

	// The keeptime of the layer 4 rule.
	// The keeptime of the layer 4 rule.
	// +kubebuilder:validation:Optional
	Keeptime *float64 `json:"keeptime" tf:"keeptime,omitempty"`

	// LB type of the rule, 1 for weight cycling and 2 for IP hash.
	// LB type of the rule, `1` for weight cycling and `2` for IP hash.
	// +kubebuilder:validation:Optional
	LBType *float64 `json:"lbType" tf:"lb_type,omitempty"`

	// Protocol of the rule.
	// Protocol of the rule.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`

	// When the certificate source is a Tencent Cloud managed certificate, this field must be filled in with the managed certificate ID.
	// When the certificate source is a Tencent Cloud managed certificate, this field must be filled in with the managed certificate ID.
	// +kubebuilder:validation:Optional
	SSLID *string `json:"sslId,omitempty" tf:"ssl_id,omitempty"`

	// +kubebuilder:validation:Optional
	SourceList []RuleSourceListParameters `json:"sourceList" tf:"source_list,omitempty"`

	// Source type, 1 for source of host, 2 for source of IP.
	// Source type, `1` for source of host, `2` for source of IP.
	// +kubebuilder:validation:Optional
	SourceType *float64 `json:"sourceType" tf:"source_type,omitempty"`
}

func (*RuleParameters) DeepCopy

func (in *RuleParameters) DeepCopy() *RuleParameters

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

func (*RuleParameters) DeepCopyInto

func (in *RuleParameters) DeepCopyInto(out *RuleParameters)

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

type RuleSourceListInitParameters added in v0.8.0

type RuleSourceListInitParameters struct {

	// Source IP or domain.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// Weight of the source.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RuleSourceListInitParameters) DeepCopy added in v0.8.0

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

func (*RuleSourceListInitParameters) DeepCopyInto added in v0.8.0

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

type RuleSourceListObservation

type RuleSourceListObservation struct {

	// Source IP or domain.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// Weight of the source.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RuleSourceListObservation) DeepCopy

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

func (*RuleSourceListObservation) DeepCopyInto

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

type RuleSourceListParameters

type RuleSourceListParameters struct {

	// Source IP or domain.
	// +kubebuilder:validation:Optional
	Source *string `json:"source" tf:"source,omitempty"`

	// Weight of the source.
	// +kubebuilder:validation:Optional
	Weight *float64 `json:"weight" tf:"weight,omitempty"`
}

func (*RuleSourceListParameters) DeepCopy

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

func (*RuleSourceListParameters) DeepCopyInto

func (in *RuleSourceListParameters) DeepCopyInto(out *RuleSourceListParameters)

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

type RulesInitParameters added in v0.8.0

type RulesInitParameters struct {

	// session hold switch.
	KeepEnable *bool `json:"keepEnable,omitempty" tf:"keep_enable,omitempty"`

	// The keeptime of the layer 4 rule.
	Keeptime *float64 `json:"keeptime,omitempty" tf:"keeptime,omitempty"`

	// LB type of the rule, `1` for weight cycling and `2` for IP hash.
	LBType *float64 `json:"lbType,omitempty" tf:"lb_type,omitempty"`

	// Protocol of the rule.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Corresponding regional information.
	Region *float64 `json:"region,omitempty" tf:"region,omitempty"`

	// Remove the watermark state.
	RemoveSwitch *bool `json:"removeSwitch,omitempty" tf:"remove_switch,omitempty"`

	// Name of the rule.
	RuleName *string `json:"ruleName,omitempty" tf:"rule_name,omitempty"`

	// Source list of the rule.
	SourceList []RulesSourceListInitParameters `json:"sourceList,omitempty" tf:"source_list,omitempty"`

	// The source port of the layer 4 rule.
	SourcePort *float64 `json:"sourcePort,omitempty" tf:"source_port,omitempty"`

	// Source type, `1` for source of host, `2` for source of IP.
	SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"`

	// The virtual port of the layer 4 rule.
	VirtualPort *float64 `json:"virtualPort,omitempty" tf:"virtual_port,omitempty"`
}

func (*RulesInitParameters) DeepCopy added in v0.8.0

func (in *RulesInitParameters) DeepCopy() *RulesInitParameters

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

func (*RulesInitParameters) DeepCopyInto added in v0.8.0

func (in *RulesInitParameters) DeepCopyInto(out *RulesInitParameters)

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

type RulesObservation

type RulesObservation struct {

	// session hold switch.
	KeepEnable *bool `json:"keepEnable,omitempty" tf:"keep_enable,omitempty"`

	// The keeptime of the layer 4 rule.
	Keeptime *float64 `json:"keeptime,omitempty" tf:"keeptime,omitempty"`

	// LB type of the rule, `1` for weight cycling and `2` for IP hash.
	LBType *float64 `json:"lbType,omitempty" tf:"lb_type,omitempty"`

	// Protocol of the rule.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Corresponding regional information.
	Region *float64 `json:"region,omitempty" tf:"region,omitempty"`

	// Remove the watermark state.
	RemoveSwitch *bool `json:"removeSwitch,omitempty" tf:"remove_switch,omitempty"`

	// Name of the rule.
	RuleName *string `json:"ruleName,omitempty" tf:"rule_name,omitempty"`

	// Source list of the rule.
	SourceList []RulesSourceListObservation `json:"sourceList,omitempty" tf:"source_list,omitempty"`

	// The source port of the layer 4 rule.
	SourcePort *float64 `json:"sourcePort,omitempty" tf:"source_port,omitempty"`

	// Source type, `1` for source of host, `2` for source of IP.
	SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"`

	// The virtual port of the layer 4 rule.
	VirtualPort *float64 `json:"virtualPort,omitempty" tf:"virtual_port,omitempty"`
}

func (*RulesObservation) DeepCopy

func (in *RulesObservation) DeepCopy() *RulesObservation

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

func (*RulesObservation) DeepCopyInto

func (in *RulesObservation) DeepCopyInto(out *RulesObservation)

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

type RulesParameters

type RulesParameters struct {

	// session hold switch.
	// +kubebuilder:validation:Optional
	KeepEnable *bool `json:"keepEnable" tf:"keep_enable,omitempty"`

	// The keeptime of the layer 4 rule.
	// +kubebuilder:validation:Optional
	Keeptime *float64 `json:"keeptime" tf:"keeptime,omitempty"`

	// LB type of the rule, `1` for weight cycling and `2` for IP hash.
	// +kubebuilder:validation:Optional
	LBType *float64 `json:"lbType" tf:"lb_type,omitempty"`

	// Protocol of the rule.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`

	// Corresponding regional information.
	// +kubebuilder:validation:Optional
	Region *float64 `json:"region" tf:"region,omitempty"`

	// Remove the watermark state.
	// +kubebuilder:validation:Optional
	RemoveSwitch *bool `json:"removeSwitch" tf:"remove_switch,omitempty"`

	// Name of the rule.
	// +kubebuilder:validation:Optional
	RuleName *string `json:"ruleName" tf:"rule_name,omitempty"`

	// Source list of the rule.
	// +kubebuilder:validation:Optional
	SourceList []RulesSourceListParameters `json:"sourceList" tf:"source_list,omitempty"`

	// The source port of the layer 4 rule.
	// +kubebuilder:validation:Optional
	SourcePort *float64 `json:"sourcePort" tf:"source_port,omitempty"`

	// Source type, `1` for source of host, `2` for source of IP.
	// +kubebuilder:validation:Optional
	SourceType *float64 `json:"sourceType" tf:"source_type,omitempty"`

	// The virtual port of the layer 4 rule.
	// +kubebuilder:validation:Optional
	VirtualPort *float64 `json:"virtualPort" tf:"virtual_port,omitempty"`
}

func (*RulesParameters) DeepCopy

func (in *RulesParameters) DeepCopy() *RulesParameters

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

func (*RulesParameters) DeepCopyInto

func (in *RulesParameters) DeepCopyInto(out *RulesParameters)

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

type RulesSourceListInitParameters added in v0.8.0

type RulesSourceListInitParameters struct {

	// Source IP or domain.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// Weight of the source.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RulesSourceListInitParameters) DeepCopy added in v0.8.0

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

func (*RulesSourceListInitParameters) DeepCopyInto added in v0.8.0

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

type RulesSourceListObservation

type RulesSourceListObservation struct {

	// Source IP or domain.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// Weight of the source.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RulesSourceListObservation) DeepCopy

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

func (*RulesSourceListObservation) DeepCopyInto

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

type RulesSourceListParameters

type RulesSourceListParameters struct {

	// Source IP or domain.
	// +kubebuilder:validation:Optional
	Source *string `json:"source" tf:"source,omitempty"`

	// Weight of the source.
	// +kubebuilder:validation:Optional
	Weight *float64 `json:"weight" tf:"weight,omitempty"`
}

func (*RulesSourceListParameters) DeepCopy

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

func (*RulesSourceListParameters) DeepCopyInto

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

type SourceListInitParameters added in v0.8.0

type SourceListInitParameters struct {

	// Source IP or domain, valid format of ip is like 1.1.1.1 and valid format of host source is like abc.com.
	// Source IP or domain, valid format of ip is like `1.1.1.1` and valid format of host source is like `abc.com`.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// Weight of the source, the valid value ranges from 0 to 100.
	// Weight of the source, the valid value ranges from 0 to 100.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*SourceListInitParameters) DeepCopy added in v0.8.0

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

func (*SourceListInitParameters) DeepCopyInto added in v0.8.0

func (in *SourceListInitParameters) DeepCopyInto(out *SourceListInitParameters)

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

type SourceListObservation

type SourceListObservation struct {

	// Source IP or domain, valid format of ip is like 1.1.1.1 and valid format of host source is like abc.com.
	// Source IP or domain, valid format of ip is like `1.1.1.1` and valid format of host source is like `abc.com`.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// Weight of the source, the valid value ranges from 0 to 100.
	// Weight of the source, the valid value ranges from 0 to 100.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*SourceListObservation) DeepCopy

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

func (*SourceListObservation) DeepCopyInto

func (in *SourceListObservation) DeepCopyInto(out *SourceListObservation)

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

type SourceListParameters

type SourceListParameters struct {

	// Source IP or domain, valid format of ip is like 1.1.1.1 and valid format of host source is like abc.com.
	// Source IP or domain, valid format of ip is like `1.1.1.1` and valid format of host source is like `abc.com`.
	// +kubebuilder:validation:Optional
	Source *string `json:"source" tf:"source,omitempty"`

	// Weight of the source, the valid value ranges from 0 to 100.
	// Weight of the source, the valid value ranges from 0 to 100.
	// +kubebuilder:validation:Optional
	Weight *float64 `json:"weight" tf:"weight,omitempty"`
}

func (*SourceListParameters) DeepCopy

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

func (*SourceListParameters) DeepCopyInto

func (in *SourceListParameters) DeepCopyInto(out *SourceListParameters)

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

type ThresholdsInitParameters added in v0.8.0

type ThresholdsInitParameters struct {

	// Domain.
	// domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Cleaning threshold, -1 indicates that the default mode is turned on.
	// Cleaning threshold, -1 indicates that the `default` mode is turned on.
	Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"`
}

func (*ThresholdsInitParameters) DeepCopy added in v0.8.0

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

func (*ThresholdsInitParameters) DeepCopyInto added in v0.8.0

func (in *ThresholdsInitParameters) DeepCopyInto(out *ThresholdsInitParameters)

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

type ThresholdsObservation

type ThresholdsObservation struct {

	// Domain.
	// domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Cleaning threshold, -1 indicates that the default mode is turned on.
	// Cleaning threshold, -1 indicates that the `default` mode is turned on.
	Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"`
}

func (*ThresholdsObservation) DeepCopy

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

func (*ThresholdsObservation) DeepCopyInto

func (in *ThresholdsObservation) DeepCopyInto(out *ThresholdsObservation)

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

type ThresholdsParameters

type ThresholdsParameters struct {

	// Domain.
	// domain.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain" tf:"domain,omitempty"`

	// Cleaning threshold, -1 indicates that the default mode is turned on.
	// Cleaning threshold, -1 indicates that the `default` mode is turned on.
	// +kubebuilder:validation:Optional
	Threshold *float64 `json:"threshold" tf:"threshold,omitempty"`
}

func (*ThresholdsParameters) DeepCopy

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

func (*ThresholdsParameters) DeepCopyInto

func (in *ThresholdsParameters) DeepCopyInto(out *ThresholdsParameters)

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

type WaterPrintConfigInitParameters added in v0.8.0

type WaterPrintConfigInitParameters struct {

	// List of forwarding listeners to which the watermark belongs.
	// List of forwarding listeners to which the watermark belongs.
	Listeners []ListenersInitParameters `json:"listeners,omitempty" tf:"listeners,omitempty"`

	// Watermark offset, value range: [0-100].
	// Watermark offset, value range: [0-100].
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
	// Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
	OpenStatus *float64 `json:"openStatus,omitempty" tf:"open_status,omitempty"`

	// Watermark check mode, value [checkall(normal mode), shortfpcheckall(simplified mode)].
	// Watermark check mode, value [`checkall`(normal mode), `shortfpcheckall`(simplified mode)].
	Verify *string `json:"verify,omitempty" tf:"verify,omitempty"`
}

func (*WaterPrintConfigInitParameters) DeepCopy added in v0.8.0

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

func (*WaterPrintConfigInitParameters) DeepCopyInto added in v0.8.0

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

type WaterPrintConfigObservation added in v0.8.0

type WaterPrintConfigObservation struct {

	// List of forwarding listeners to which the watermark belongs.
	// List of forwarding listeners to which the watermark belongs.
	Listeners []ListenersObservation `json:"listeners,omitempty" tf:"listeners,omitempty"`

	// Watermark offset, value range: [0-100].
	// Watermark offset, value range: [0-100].
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
	// Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
	OpenStatus *float64 `json:"openStatus,omitempty" tf:"open_status,omitempty"`

	// Watermark check mode, value [checkall(normal mode), shortfpcheckall(simplified mode)].
	// Watermark check mode, value [`checkall`(normal mode), `shortfpcheckall`(simplified mode)].
	Verify *string `json:"verify,omitempty" tf:"verify,omitempty"`
}

func (*WaterPrintConfigObservation) DeepCopy added in v0.8.0

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

func (*WaterPrintConfigObservation) DeepCopyInto added in v0.8.0

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

type WaterPrintConfigParameters added in v0.8.0

type WaterPrintConfigParameters struct {

	// List of forwarding listeners to which the watermark belongs.
	// List of forwarding listeners to which the watermark belongs.
	// +kubebuilder:validation:Optional
	Listeners []ListenersParameters `json:"listeners" tf:"listeners,omitempty"`

	// Watermark offset, value range: [0-100].
	// Watermark offset, value range: [0-100].
	// +kubebuilder:validation:Optional
	Offset *float64 `json:"offset" tf:"offset,omitempty"`

	// Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
	// Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
	// +kubebuilder:validation:Optional
	OpenStatus *float64 `json:"openStatus" tf:"open_status,omitempty"`

	// Watermark check mode, value [checkall(normal mode), shortfpcheckall(simplified mode)].
	// Watermark check mode, value [`checkall`(normal mode), `shortfpcheckall`(simplified mode)].
	// +kubebuilder:validation:Optional
	Verify *string `json:"verify" tf:"verify,omitempty"`
}

func (*WaterPrintConfigParameters) DeepCopy added in v0.8.0

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

func (*WaterPrintConfigParameters) DeepCopyInto added in v0.8.0

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

type WatermarkFiltersInitParameters added in v0.8.0

type WatermarkFiltersInitParameters struct {

	// Indicate whether to auto-remove the watermark or not.
	// Indicate whether to auto-remove the watermark or not.
	AutoRemove *bool `json:"autoRemove,omitempty" tf:"auto_remove,omitempty"`

	// The offset of match. Valid value ranges: (0~1500).
	// The offset of watermark. Valid value ranges: (0~1500).
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// Indicate whether to open watermark or not. It muse be set true when any field of watermark was set.
	// Indicate whether to open watermark or not. It muse be set `true` when any field of watermark was set.
	OpenSwitch *bool `json:"openSwitch,omitempty" tf:"open_switch,omitempty"`

	// Port range of TCP, the format is like 2000-3000.
	// Port range of TCP, the format is like `2000-3000`.
	TCPPortList []*string `json:"tcpPortList,omitempty" tf:"tcp_port_list,omitempty"`

	// Port range of TCP, the format is like 2000-3000.
	// Port range of TCP, the format is like `2000-3000`.
	UDPPortList []*string `json:"udpPortList,omitempty" tf:"udp_port_list,omitempty"`
}

func (*WatermarkFiltersInitParameters) DeepCopy added in v0.8.0

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

func (*WatermarkFiltersInitParameters) DeepCopyInto added in v0.8.0

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

type WatermarkFiltersObservation

type WatermarkFiltersObservation struct {

	// Indicate whether to auto-remove the watermark or not.
	// Indicate whether to auto-remove the watermark or not.
	AutoRemove *bool `json:"autoRemove,omitempty" tf:"auto_remove,omitempty"`

	// The offset of match. Valid value ranges: (0~1500).
	// The offset of watermark. Valid value ranges: (0~1500).
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// Indicate whether to open watermark or not. It muse be set true when any field of watermark was set.
	// Indicate whether to open watermark or not. It muse be set `true` when any field of watermark was set.
	OpenSwitch *bool `json:"openSwitch,omitempty" tf:"open_switch,omitempty"`

	// Port range of TCP, the format is like 2000-3000.
	// Port range of TCP, the format is like `2000-3000`.
	TCPPortList []*string `json:"tcpPortList,omitempty" tf:"tcp_port_list,omitempty"`

	// Port range of TCP, the format is like 2000-3000.
	// Port range of TCP, the format is like `2000-3000`.
	UDPPortList []*string `json:"udpPortList,omitempty" tf:"udp_port_list,omitempty"`
}

func (*WatermarkFiltersObservation) DeepCopy

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

func (*WatermarkFiltersObservation) DeepCopyInto

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

type WatermarkFiltersParameters

type WatermarkFiltersParameters struct {

	// Indicate whether to auto-remove the watermark or not.
	// Indicate whether to auto-remove the watermark or not.
	// +kubebuilder:validation:Optional
	AutoRemove *bool `json:"autoRemove,omitempty" tf:"auto_remove,omitempty"`

	// The offset of match. Valid value ranges: (0~1500).
	// The offset of watermark. Valid value ranges: (0~1500).
	// +kubebuilder:validation:Optional
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// Indicate whether to open watermark or not. It muse be set true when any field of watermark was set.
	// Indicate whether to open watermark or not. It muse be set `true` when any field of watermark was set.
	// +kubebuilder:validation:Optional
	OpenSwitch *bool `json:"openSwitch,omitempty" tf:"open_switch,omitempty"`

	// Port range of TCP, the format is like 2000-3000.
	// Port range of TCP, the format is like `2000-3000`.
	// +kubebuilder:validation:Optional
	TCPPortList []*string `json:"tcpPortList,omitempty" tf:"tcp_port_list,omitempty"`

	// Port range of TCP, the format is like 2000-3000.
	// Port range of TCP, the format is like `2000-3000`.
	// +kubebuilder:validation:Optional
	UDPPortList []*string `json:"udpPortList,omitempty" tf:"udp_port_list,omitempty"`
}

func (*WatermarkFiltersParameters) DeepCopy

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

func (*WatermarkFiltersParameters) DeepCopyInto

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

type WatermarkKeyInitParameters added in v0.8.0

type WatermarkKeyInitParameters struct {
}

func (*WatermarkKeyInitParameters) DeepCopy added in v0.8.0

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

func (*WatermarkKeyInitParameters) DeepCopyInto added in v0.8.0

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

type WatermarkKeyObservation

type WatermarkKeyObservation struct {

	// Content of the watermark.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Create time of the DDoS policy.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Indicate whether to open watermark or not. It muse be set true when any field of watermark was set.
	OpenSwitch *bool `json:"openSwitch,omitempty" tf:"open_switch,omitempty"`
}

func (*WatermarkKeyObservation) DeepCopy

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

func (*WatermarkKeyObservation) DeepCopyInto

func (in *WatermarkKeyObservation) DeepCopyInto(out *WatermarkKeyObservation)

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

type WatermarkKeyParameters

type WatermarkKeyParameters struct {
}

func (*WatermarkKeyParameters) DeepCopy

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

func (*WatermarkKeyParameters) DeepCopyInto

func (in *WatermarkKeyParameters) DeepCopyInto(out *WatermarkKeyParameters)

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

Jump to

Keyboard shortcuts

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