v1alpha1

package
v0.0.0-...-b890ebe Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=notification.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "notification.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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 (
	Policy_Kind             = "Policy"
	Policy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String()
	Policy_KindAPIVersion   = Policy_Kind + "." + CRDGroupVersion.String()
	Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind)
)

Repository type metadata.

View Source
var (
	PolicyWebhooks_Kind             = "PolicyWebhooks"
	PolicyWebhooks_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PolicyWebhooks_Kind}.String()
	PolicyWebhooks_KindAPIVersion   = PolicyWebhooks_Kind + "." + CRDGroupVersion.String()
	PolicyWebhooks_GroupVersionKind = CRDGroupVersion.WithKind(PolicyWebhooks_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type EmailIntegrationInitParameters

type EmailIntegrationInitParameters struct {

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) The name of the notification policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*EmailIntegrationInitParameters) DeepCopy

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

func (*EmailIntegrationInitParameters) DeepCopyInto

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

type EmailIntegrationObservation

type EmailIntegrationObservation struct {

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) The name of the notification policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*EmailIntegrationObservation) DeepCopy

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

func (*EmailIntegrationObservation) DeepCopyInto

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

type EmailIntegrationParameters

type EmailIntegrationParameters struct {

	// (String) The ID of this resource.
	// +kubebuilder:validation:Optional
	ID *string `json:"id" tf:"id,omitempty"`

	// (String) The name of the notification policy.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*EmailIntegrationParameters) DeepCopy

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

func (*EmailIntegrationParameters) DeepCopyInto

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

type FiltersInitParameters

type FiltersInitParameters struct {

	// (Set of String) Targeted actions for alert.
	// Targeted actions for alert.
	Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"`

	// Key Manager, Image Resizing, Images, Infrastructure, Lists, Load Balancing and Monitoring, Logs, Magic Firewall, Magic Transit, Magic WAN, Magic WAN Connector, Marketing Site, Mirage, Network, Notifications, Observatory, Page Shield, Pages, R2, Radar, Randomness Beacon, Recursive DNS, Registrar, Registration Data Access Protocol (RDAP), SSL Certificate Provisioning, SSL for SaaS Provisioning, Security Center, Snippets, Spectrum, Speed Optimizations, Stream, Support Site, Time Services, Trace, Tunnel, Turnstile, WARP, Waiting Room, Web Analytics, Workers, Workers KV, Workers Preview, Zaraz, Zero Trust, Zero Trust Dashboard, Zone Versioning.
	// Affected components for alert. Available values: `API`, `API Shield`, `Access`, `Always Online`, `Analytics`, `Apps Marketplace`, `Argo Smart Routing`, `Audit Logs`, `Authoritative DNS`, `Billing`, `Bot Management`, `Bring Your Own IP (BYOIP)`, `Browser Isolation`, `CDN Cache Purge`, `CDN/Cache`, `Cache Reserve`, `Challenge Platform`, `Cloud Access Security Broker (CASB)`, `Community Site`, `DNS Root Servers`, `DNS Updates`, `Dashboard`, `Data Loss Prevention (DLP)`, `Developer's Site`, `Digital Experience Monitoring (DEX)`, `Distributed Web Gateway`, `Durable Objects`, `Email Routing`, `Ethereum Gateway`, `Firewall`, `Gateway`, `Geo-Key Manager`, `Image Resizing`, `Images`, `Infrastructure`, `Lists`, `Load Balancing and Monitoring`, `Logs`, `Magic Firewall`, `Magic Transit`, `Magic WAN`, `Magic WAN Connector`, `Marketing Site`, `Mirage`, `Network`, `Notifications`, `Observatory`, `Page Shield`, `Pages`, `R2`, `Radar`, `Randomness Beacon`, `Recursive DNS`, `Registrar`, `Registration Data Access Protocol (RDAP)`, `SSL Certificate Provisioning`, `SSL for SaaS Provisioning`, `Security Center`, `Snippets`, `Spectrum`, `Speed Optimizations`, `Stream`, `Support Site`, `Time Services`, `Trace`, `Tunnel`, `Turnstile`, `WARP`, `Waiting Room`, `Web Analytics`, `Workers`, `Workers KV`, `Workers Preview`, `Zaraz`, `Zero Trust`, `Zero Trust Dashboard`, `Zone Versioning`.
	AffectedComponents []*string `json:"affectedComponents,omitempty" tf:"affected_components,omitempty"`

	// (Set of String) Filter on Points of Presence.
	// Filter on Points of Presence.
	AirportCode []*string `json:"airportCode,omitempty" tf:"airport_code,omitempty"`

	// (Set of String) Alert trigger preferences. Example: slo.
	// Alert trigger preferences. Example: `slo`.
	AlertTriggerPreferences []*string `json:"alertTriggerPreferences,omitempty" tf:"alert_trigger_preferences,omitempty"`

	// (Boolean) The status of the notification policy.
	// State of the pool to alert on.
	Enabled []*string `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (Set of String) Environment of pages. Available values: ENVIRONMENT_PREVIEW, ENVIRONMENT_PRODUCTION.
	// Environment of pages. Available values: `ENVIRONMENT_PREVIEW`, `ENVIRONMENT_PRODUCTION`.
	Environment []*string `json:"environment,omitempty" tf:"environment,omitempty"`

	// (Set of String) Pages event to alert. Available values: EVENT_DEPLOYMENT_STARTED, EVENT_DEPLOYMENT_FAILED, EVENT_DEPLOYMENT_SUCCESS.
	// Pages event to alert. Available values: `EVENT_DEPLOYMENT_STARTED`, `EVENT_DEPLOYMENT_FAILED`, `EVENT_DEPLOYMENT_SUCCESS`.
	Event []*string `json:"event,omitempty" tf:"event,omitempty"`

	// (Set of String) Source configuration to alert on for pool or origin.
	// Source configuration to alert on for pool or origin.
	EventSource []*string `json:"eventSource,omitempty" tf:"event_source,omitempty"`

	// (Set of String) Stream event type to alert on.
	// Stream event type to alert on.
	EventType []*string `json:"eventType,omitempty" tf:"event_type,omitempty"`

	// (Set of String) Alert grouping.
	// Alert grouping.
	GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"`

	// (Set of String) Identifier health check. Required when using filters.0.status.
	// Identifier health check. Required when using `filters.0.status`.
	HealthCheckID []*string `json:"healthCheckId,omitempty" tf:"health_check_id,omitempty"`

	// (Set of String) The incident impact level that will trigger the dispatch of a notification. Available values: INCIDENT_IMPACT_NONE, INCIDENT_IMPACT_MINOR, INCIDENT_IMPACT_MAJOR, INCIDENT_IMPACT_CRITICAL.
	// The incident impact level that will trigger the dispatch of a notification. Available values: `INCIDENT_IMPACT_NONE`, `INCIDENT_IMPACT_MINOR`, `INCIDENT_IMPACT_MAJOR`, `INCIDENT_IMPACT_CRITICAL`.
	IncidentImpact []*string `json:"incidentImpact,omitempty" tf:"incident_impact,omitempty"`

	// (Set of String) Stream input id to alert on.
	// Stream input id to alert on.
	InputID []*string `json:"inputId,omitempty" tf:"input_id,omitempty"`

	// (Set of String) A numerical limit. Example: 100.
	// A numerical limit. Example: `100`.
	Limit []*string `json:"limit,omitempty" tf:"limit,omitempty"`

	// (Set of String) Megabits per second threshold for dos alert.
	// Megabits per second threshold for dos alert.
	MegabitsPerSecond []*string `json:"megabitsPerSecond,omitempty" tf:"megabits_per_second,omitempty"`

	// (Set of String) Health status to alert on for pool or origin.
	// Health status to alert on for pool or origin.
	NewHealth []*string `json:"newHealth,omitempty" tf:"new_health,omitempty"`

	// (Set of String) Tunnel health status to alert on.
	// Tunnel health status to alert on.
	NewStatus []*string `json:"newStatus,omitempty" tf:"new_status,omitempty"`

	// (Set of String) Packets per second threshold for dos alert.
	// Packets per second threshold for dos alert.
	PacketsPerSecond []*string `json:"packetsPerSecond,omitempty" tf:"packets_per_second,omitempty"`

	// (Set of String) Load balancer pool identifier.
	// Load balancer pool identifier.
	PoolID []*string `json:"poolId,omitempty" tf:"pool_id,omitempty"`

	// (Set of String) Product name. Available values: worker_requests, worker_durable_objects_requests, worker_durable_objects_duration, worker_durable_objects_data_transfer, worker_durable_objects_stored_data, worker_durable_objects_storage_deletes, worker_durable_objects_storage_writes, worker_durable_objects_storage_reads.
	// Product name. Available values: `worker_requests`, `worker_durable_objects_requests`, `worker_durable_objects_duration`, `worker_durable_objects_data_transfer`, `worker_durable_objects_stored_data`, `worker_durable_objects_storage_deletes`, `worker_durable_objects_storage_writes`, `worker_durable_objects_storage_reads`.
	Product []*string `json:"product,omitempty" tf:"product,omitempty"`

	// (Set of String) Identifier of pages project.
	// Identifier of pages project.
	ProjectID []*string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// (Set of String) Protocol to alert on for dos.
	// Protocol to alert on for dos.
	Protocol []*string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// (Set of String) Requests per second threshold for dos alert.
	// Requests per second threshold for dos alert.
	RequestsPerSecond []*string `json:"requestsPerSecond,omitempty" tf:"requests_per_second,omitempty"`

	// (Set of String) A numerical limit. Example: 99.9.
	// A numerical limit. Example: `99.9`.
	SLO []*string `json:"slo,omitempty" tf:"slo,omitempty"`

	// (Set of String) Selectors for alert. Valid options depend on the alert type.
	// Selectors for alert. Valid options depend on the alert type.
	Selectors []*string `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// (Set of String)
	Services []*string `json:"services,omitempty" tf:"services,omitempty"`

	// (Set of String) Status to alert on.
	// Status to alert on.
	Status []*string `json:"status,omitempty" tf:"status,omitempty"`

	// (Set of String) Target host to alert on for dos.
	// Target host to alert on for dos.
	TargetHostname []*string `json:"targetHostname,omitempty" tf:"target_hostname,omitempty"`

	// (Set of String) Target ip to alert on for dos in CIDR notation.
	// Target ip to alert on for dos in CIDR notation.
	TargetIP []*string `json:"targetIp,omitempty" tf:"target_ip,omitempty"`

	// (Set of String) Target domain to alert on.
	// Target domain to alert on.
	TargetZoneName []*string `json:"targetZoneName,omitempty" tf:"target_zone_name,omitempty"`

	// (Set of String) Tunnel IDs to alert on.
	// Tunnel IDs to alert on.
	TunnelID []*string `json:"tunnelId,omitempty" tf:"tunnel_id,omitempty"`

	// (Set of String) Filter for alert.
	// Filter for alert.
	Where []*string `json:"where,omitempty" tf:"where,omitempty"`

	// (Set of String) A list of zone identifiers.
	// A list of zone identifiers.
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*FiltersInitParameters) DeepCopy

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

func (*FiltersInitParameters) DeepCopyInto

func (in *FiltersInitParameters) DeepCopyInto(out *FiltersInitParameters)

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

type FiltersObservation

type FiltersObservation struct {

	// (Set of String) Targeted actions for alert.
	// Targeted actions for alert.
	Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"`

	// Key Manager, Image Resizing, Images, Infrastructure, Lists, Load Balancing and Monitoring, Logs, Magic Firewall, Magic Transit, Magic WAN, Magic WAN Connector, Marketing Site, Mirage, Network, Notifications, Observatory, Page Shield, Pages, R2, Radar, Randomness Beacon, Recursive DNS, Registrar, Registration Data Access Protocol (RDAP), SSL Certificate Provisioning, SSL for SaaS Provisioning, Security Center, Snippets, Spectrum, Speed Optimizations, Stream, Support Site, Time Services, Trace, Tunnel, Turnstile, WARP, Waiting Room, Web Analytics, Workers, Workers KV, Workers Preview, Zaraz, Zero Trust, Zero Trust Dashboard, Zone Versioning.
	// Affected components for alert. Available values: `API`, `API Shield`, `Access`, `Always Online`, `Analytics`, `Apps Marketplace`, `Argo Smart Routing`, `Audit Logs`, `Authoritative DNS`, `Billing`, `Bot Management`, `Bring Your Own IP (BYOIP)`, `Browser Isolation`, `CDN Cache Purge`, `CDN/Cache`, `Cache Reserve`, `Challenge Platform`, `Cloud Access Security Broker (CASB)`, `Community Site`, `DNS Root Servers`, `DNS Updates`, `Dashboard`, `Data Loss Prevention (DLP)`, `Developer's Site`, `Digital Experience Monitoring (DEX)`, `Distributed Web Gateway`, `Durable Objects`, `Email Routing`, `Ethereum Gateway`, `Firewall`, `Gateway`, `Geo-Key Manager`, `Image Resizing`, `Images`, `Infrastructure`, `Lists`, `Load Balancing and Monitoring`, `Logs`, `Magic Firewall`, `Magic Transit`, `Magic WAN`, `Magic WAN Connector`, `Marketing Site`, `Mirage`, `Network`, `Notifications`, `Observatory`, `Page Shield`, `Pages`, `R2`, `Radar`, `Randomness Beacon`, `Recursive DNS`, `Registrar`, `Registration Data Access Protocol (RDAP)`, `SSL Certificate Provisioning`, `SSL for SaaS Provisioning`, `Security Center`, `Snippets`, `Spectrum`, `Speed Optimizations`, `Stream`, `Support Site`, `Time Services`, `Trace`, `Tunnel`, `Turnstile`, `WARP`, `Waiting Room`, `Web Analytics`, `Workers`, `Workers KV`, `Workers Preview`, `Zaraz`, `Zero Trust`, `Zero Trust Dashboard`, `Zone Versioning`.
	AffectedComponents []*string `json:"affectedComponents,omitempty" tf:"affected_components,omitempty"`

	// (Set of String) Filter on Points of Presence.
	// Filter on Points of Presence.
	AirportCode []*string `json:"airportCode,omitempty" tf:"airport_code,omitempty"`

	// (Set of String) Alert trigger preferences. Example: slo.
	// Alert trigger preferences. Example: `slo`.
	AlertTriggerPreferences []*string `json:"alertTriggerPreferences,omitempty" tf:"alert_trigger_preferences,omitempty"`

	// (Boolean) The status of the notification policy.
	// State of the pool to alert on.
	Enabled []*string `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (Set of String) Environment of pages. Available values: ENVIRONMENT_PREVIEW, ENVIRONMENT_PRODUCTION.
	// Environment of pages. Available values: `ENVIRONMENT_PREVIEW`, `ENVIRONMENT_PRODUCTION`.
	Environment []*string `json:"environment,omitempty" tf:"environment,omitempty"`

	// (Set of String) Pages event to alert. Available values: EVENT_DEPLOYMENT_STARTED, EVENT_DEPLOYMENT_FAILED, EVENT_DEPLOYMENT_SUCCESS.
	// Pages event to alert. Available values: `EVENT_DEPLOYMENT_STARTED`, `EVENT_DEPLOYMENT_FAILED`, `EVENT_DEPLOYMENT_SUCCESS`.
	Event []*string `json:"event,omitempty" tf:"event,omitempty"`

	// (Set of String) Source configuration to alert on for pool or origin.
	// Source configuration to alert on for pool or origin.
	EventSource []*string `json:"eventSource,omitempty" tf:"event_source,omitempty"`

	// (Set of String) Stream event type to alert on.
	// Stream event type to alert on.
	EventType []*string `json:"eventType,omitempty" tf:"event_type,omitempty"`

	// (Set of String) Alert grouping.
	// Alert grouping.
	GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"`

	// (Set of String) Identifier health check. Required when using filters.0.status.
	// Identifier health check. Required when using `filters.0.status`.
	HealthCheckID []*string `json:"healthCheckId,omitempty" tf:"health_check_id,omitempty"`

	// (Set of String) The incident impact level that will trigger the dispatch of a notification. Available values: INCIDENT_IMPACT_NONE, INCIDENT_IMPACT_MINOR, INCIDENT_IMPACT_MAJOR, INCIDENT_IMPACT_CRITICAL.
	// The incident impact level that will trigger the dispatch of a notification. Available values: `INCIDENT_IMPACT_NONE`, `INCIDENT_IMPACT_MINOR`, `INCIDENT_IMPACT_MAJOR`, `INCIDENT_IMPACT_CRITICAL`.
	IncidentImpact []*string `json:"incidentImpact,omitempty" tf:"incident_impact,omitempty"`

	// (Set of String) Stream input id to alert on.
	// Stream input id to alert on.
	InputID []*string `json:"inputId,omitempty" tf:"input_id,omitempty"`

	// (Set of String) A numerical limit. Example: 100.
	// A numerical limit. Example: `100`.
	Limit []*string `json:"limit,omitempty" tf:"limit,omitempty"`

	// (Set of String) Megabits per second threshold for dos alert.
	// Megabits per second threshold for dos alert.
	MegabitsPerSecond []*string `json:"megabitsPerSecond,omitempty" tf:"megabits_per_second,omitempty"`

	// (Set of String) Health status to alert on for pool or origin.
	// Health status to alert on for pool or origin.
	NewHealth []*string `json:"newHealth,omitempty" tf:"new_health,omitempty"`

	// (Set of String) Tunnel health status to alert on.
	// Tunnel health status to alert on.
	NewStatus []*string `json:"newStatus,omitempty" tf:"new_status,omitempty"`

	// (Set of String) Packets per second threshold for dos alert.
	// Packets per second threshold for dos alert.
	PacketsPerSecond []*string `json:"packetsPerSecond,omitempty" tf:"packets_per_second,omitempty"`

	// (Set of String) Load balancer pool identifier.
	// Load balancer pool identifier.
	PoolID []*string `json:"poolId,omitempty" tf:"pool_id,omitempty"`

	// (Set of String) Product name. Available values: worker_requests, worker_durable_objects_requests, worker_durable_objects_duration, worker_durable_objects_data_transfer, worker_durable_objects_stored_data, worker_durable_objects_storage_deletes, worker_durable_objects_storage_writes, worker_durable_objects_storage_reads.
	// Product name. Available values: `worker_requests`, `worker_durable_objects_requests`, `worker_durable_objects_duration`, `worker_durable_objects_data_transfer`, `worker_durable_objects_stored_data`, `worker_durable_objects_storage_deletes`, `worker_durable_objects_storage_writes`, `worker_durable_objects_storage_reads`.
	Product []*string `json:"product,omitempty" tf:"product,omitempty"`

	// (Set of String) Identifier of pages project.
	// Identifier of pages project.
	ProjectID []*string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// (Set of String) Protocol to alert on for dos.
	// Protocol to alert on for dos.
	Protocol []*string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// (Set of String) Requests per second threshold for dos alert.
	// Requests per second threshold for dos alert.
	RequestsPerSecond []*string `json:"requestsPerSecond,omitempty" tf:"requests_per_second,omitempty"`

	// (Set of String) A numerical limit. Example: 99.9.
	// A numerical limit. Example: `99.9`.
	SLO []*string `json:"slo,omitempty" tf:"slo,omitempty"`

	// (Set of String) Selectors for alert. Valid options depend on the alert type.
	// Selectors for alert. Valid options depend on the alert type.
	Selectors []*string `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// (Set of String)
	Services []*string `json:"services,omitempty" tf:"services,omitempty"`

	// (Set of String) Status to alert on.
	// Status to alert on.
	Status []*string `json:"status,omitempty" tf:"status,omitempty"`

	// (Set of String) Target host to alert on for dos.
	// Target host to alert on for dos.
	TargetHostname []*string `json:"targetHostname,omitempty" tf:"target_hostname,omitempty"`

	// (Set of String) Target ip to alert on for dos in CIDR notation.
	// Target ip to alert on for dos in CIDR notation.
	TargetIP []*string `json:"targetIp,omitempty" tf:"target_ip,omitempty"`

	// (Set of String) Target domain to alert on.
	// Target domain to alert on.
	TargetZoneName []*string `json:"targetZoneName,omitempty" tf:"target_zone_name,omitempty"`

	// (Set of String) Tunnel IDs to alert on.
	// Tunnel IDs to alert on.
	TunnelID []*string `json:"tunnelId,omitempty" tf:"tunnel_id,omitempty"`

	// (Set of String) Filter for alert.
	// Filter for alert.
	Where []*string `json:"where,omitempty" tf:"where,omitempty"`

	// (Set of String) A list of zone identifiers.
	// A list of zone identifiers.
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*FiltersObservation) DeepCopy

func (in *FiltersObservation) DeepCopy() *FiltersObservation

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

func (*FiltersObservation) DeepCopyInto

func (in *FiltersObservation) DeepCopyInto(out *FiltersObservation)

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

type FiltersParameters

type FiltersParameters struct {

	// (Set of String) Targeted actions for alert.
	// Targeted actions for alert.
	// +kubebuilder:validation:Optional
	Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"`

	// Key Manager, Image Resizing, Images, Infrastructure, Lists, Load Balancing and Monitoring, Logs, Magic Firewall, Magic Transit, Magic WAN, Magic WAN Connector, Marketing Site, Mirage, Network, Notifications, Observatory, Page Shield, Pages, R2, Radar, Randomness Beacon, Recursive DNS, Registrar, Registration Data Access Protocol (RDAP), SSL Certificate Provisioning, SSL for SaaS Provisioning, Security Center, Snippets, Spectrum, Speed Optimizations, Stream, Support Site, Time Services, Trace, Tunnel, Turnstile, WARP, Waiting Room, Web Analytics, Workers, Workers KV, Workers Preview, Zaraz, Zero Trust, Zero Trust Dashboard, Zone Versioning.
	// Affected components for alert. Available values: `API`, `API Shield`, `Access`, `Always Online`, `Analytics`, `Apps Marketplace`, `Argo Smart Routing`, `Audit Logs`, `Authoritative DNS`, `Billing`, `Bot Management`, `Bring Your Own IP (BYOIP)`, `Browser Isolation`, `CDN Cache Purge`, `CDN/Cache`, `Cache Reserve`, `Challenge Platform`, `Cloud Access Security Broker (CASB)`, `Community Site`, `DNS Root Servers`, `DNS Updates`, `Dashboard`, `Data Loss Prevention (DLP)`, `Developer's Site`, `Digital Experience Monitoring (DEX)`, `Distributed Web Gateway`, `Durable Objects`, `Email Routing`, `Ethereum Gateway`, `Firewall`, `Gateway`, `Geo-Key Manager`, `Image Resizing`, `Images`, `Infrastructure`, `Lists`, `Load Balancing and Monitoring`, `Logs`, `Magic Firewall`, `Magic Transit`, `Magic WAN`, `Magic WAN Connector`, `Marketing Site`, `Mirage`, `Network`, `Notifications`, `Observatory`, `Page Shield`, `Pages`, `R2`, `Radar`, `Randomness Beacon`, `Recursive DNS`, `Registrar`, `Registration Data Access Protocol (RDAP)`, `SSL Certificate Provisioning`, `SSL for SaaS Provisioning`, `Security Center`, `Snippets`, `Spectrum`, `Speed Optimizations`, `Stream`, `Support Site`, `Time Services`, `Trace`, `Tunnel`, `Turnstile`, `WARP`, `Waiting Room`, `Web Analytics`, `Workers`, `Workers KV`, `Workers Preview`, `Zaraz`, `Zero Trust`, `Zero Trust Dashboard`, `Zone Versioning`.
	// +kubebuilder:validation:Optional
	AffectedComponents []*string `json:"affectedComponents,omitempty" tf:"affected_components,omitempty"`

	// (Set of String) Filter on Points of Presence.
	// Filter on Points of Presence.
	// +kubebuilder:validation:Optional
	AirportCode []*string `json:"airportCode,omitempty" tf:"airport_code,omitempty"`

	// (Set of String) Alert trigger preferences. Example: slo.
	// Alert trigger preferences. Example: `slo`.
	// +kubebuilder:validation:Optional
	AlertTriggerPreferences []*string `json:"alertTriggerPreferences,omitempty" tf:"alert_trigger_preferences,omitempty"`

	// (Boolean) The status of the notification policy.
	// State of the pool to alert on.
	// +kubebuilder:validation:Optional
	Enabled []*string `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (Set of String) Environment of pages. Available values: ENVIRONMENT_PREVIEW, ENVIRONMENT_PRODUCTION.
	// Environment of pages. Available values: `ENVIRONMENT_PREVIEW`, `ENVIRONMENT_PRODUCTION`.
	// +kubebuilder:validation:Optional
	Environment []*string `json:"environment,omitempty" tf:"environment,omitempty"`

	// (Set of String) Pages event to alert. Available values: EVENT_DEPLOYMENT_STARTED, EVENT_DEPLOYMENT_FAILED, EVENT_DEPLOYMENT_SUCCESS.
	// Pages event to alert. Available values: `EVENT_DEPLOYMENT_STARTED`, `EVENT_DEPLOYMENT_FAILED`, `EVENT_DEPLOYMENT_SUCCESS`.
	// +kubebuilder:validation:Optional
	Event []*string `json:"event,omitempty" tf:"event,omitempty"`

	// (Set of String) Source configuration to alert on for pool or origin.
	// Source configuration to alert on for pool or origin.
	// +kubebuilder:validation:Optional
	EventSource []*string `json:"eventSource,omitempty" tf:"event_source,omitempty"`

	// (Set of String) Stream event type to alert on.
	// Stream event type to alert on.
	// +kubebuilder:validation:Optional
	EventType []*string `json:"eventType,omitempty" tf:"event_type,omitempty"`

	// (Set of String) Alert grouping.
	// Alert grouping.
	// +kubebuilder:validation:Optional
	GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"`

	// (Set of String) Identifier health check. Required when using filters.0.status.
	// Identifier health check. Required when using `filters.0.status`.
	// +kubebuilder:validation:Optional
	HealthCheckID []*string `json:"healthCheckId,omitempty" tf:"health_check_id,omitempty"`

	// (Set of String) The incident impact level that will trigger the dispatch of a notification. Available values: INCIDENT_IMPACT_NONE, INCIDENT_IMPACT_MINOR, INCIDENT_IMPACT_MAJOR, INCIDENT_IMPACT_CRITICAL.
	// The incident impact level that will trigger the dispatch of a notification. Available values: `INCIDENT_IMPACT_NONE`, `INCIDENT_IMPACT_MINOR`, `INCIDENT_IMPACT_MAJOR`, `INCIDENT_IMPACT_CRITICAL`.
	// +kubebuilder:validation:Optional
	IncidentImpact []*string `json:"incidentImpact,omitempty" tf:"incident_impact,omitempty"`

	// (Set of String) Stream input id to alert on.
	// Stream input id to alert on.
	// +kubebuilder:validation:Optional
	InputID []*string `json:"inputId,omitempty" tf:"input_id,omitempty"`

	// (Set of String) A numerical limit. Example: 100.
	// A numerical limit. Example: `100`.
	// +kubebuilder:validation:Optional
	Limit []*string `json:"limit,omitempty" tf:"limit,omitempty"`

	// (Set of String) Megabits per second threshold for dos alert.
	// Megabits per second threshold for dos alert.
	// +kubebuilder:validation:Optional
	MegabitsPerSecond []*string `json:"megabitsPerSecond,omitempty" tf:"megabits_per_second,omitempty"`

	// (Set of String) Health status to alert on for pool or origin.
	// Health status to alert on for pool or origin.
	// +kubebuilder:validation:Optional
	NewHealth []*string `json:"newHealth,omitempty" tf:"new_health,omitempty"`

	// (Set of String) Tunnel health status to alert on.
	// Tunnel health status to alert on.
	// +kubebuilder:validation:Optional
	NewStatus []*string `json:"newStatus,omitempty" tf:"new_status,omitempty"`

	// (Set of String) Packets per second threshold for dos alert.
	// Packets per second threshold for dos alert.
	// +kubebuilder:validation:Optional
	PacketsPerSecond []*string `json:"packetsPerSecond,omitempty" tf:"packets_per_second,omitempty"`

	// (Set of String) Load balancer pool identifier.
	// Load balancer pool identifier.
	// +kubebuilder:validation:Optional
	PoolID []*string `json:"poolId,omitempty" tf:"pool_id,omitempty"`

	// (Set of String) Product name. Available values: worker_requests, worker_durable_objects_requests, worker_durable_objects_duration, worker_durable_objects_data_transfer, worker_durable_objects_stored_data, worker_durable_objects_storage_deletes, worker_durable_objects_storage_writes, worker_durable_objects_storage_reads.
	// Product name. Available values: `worker_requests`, `worker_durable_objects_requests`, `worker_durable_objects_duration`, `worker_durable_objects_data_transfer`, `worker_durable_objects_stored_data`, `worker_durable_objects_storage_deletes`, `worker_durable_objects_storage_writes`, `worker_durable_objects_storage_reads`.
	// +kubebuilder:validation:Optional
	Product []*string `json:"product,omitempty" tf:"product,omitempty"`

	// (Set of String) Identifier of pages project.
	// Identifier of pages project.
	// +kubebuilder:validation:Optional
	ProjectID []*string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// (Set of String) Protocol to alert on for dos.
	// Protocol to alert on for dos.
	// +kubebuilder:validation:Optional
	Protocol []*string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// (Set of String) Requests per second threshold for dos alert.
	// Requests per second threshold for dos alert.
	// +kubebuilder:validation:Optional
	RequestsPerSecond []*string `json:"requestsPerSecond,omitempty" tf:"requests_per_second,omitempty"`

	// (Set of String) A numerical limit. Example: 99.9.
	// A numerical limit. Example: `99.9`.
	// +kubebuilder:validation:Optional
	SLO []*string `json:"slo,omitempty" tf:"slo,omitempty"`

	// (Set of String) Selectors for alert. Valid options depend on the alert type.
	// Selectors for alert. Valid options depend on the alert type.
	// +kubebuilder:validation:Optional
	Selectors []*string `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// (Set of String)
	// +kubebuilder:validation:Optional
	Services []*string `json:"services,omitempty" tf:"services,omitempty"`

	// (Set of String) Status to alert on.
	// Status to alert on.
	// +kubebuilder:validation:Optional
	Status []*string `json:"status,omitempty" tf:"status,omitempty"`

	// (Set of String) Target host to alert on for dos.
	// Target host to alert on for dos.
	// +kubebuilder:validation:Optional
	TargetHostname []*string `json:"targetHostname,omitempty" tf:"target_hostname,omitempty"`

	// (Set of String) Target ip to alert on for dos in CIDR notation.
	// Target ip to alert on for dos in CIDR notation.
	// +kubebuilder:validation:Optional
	TargetIP []*string `json:"targetIp,omitempty" tf:"target_ip,omitempty"`

	// (Set of String) Target domain to alert on.
	// Target domain to alert on.
	// +kubebuilder:validation:Optional
	TargetZoneName []*string `json:"targetZoneName,omitempty" tf:"target_zone_name,omitempty"`

	// (Set of String) Tunnel IDs to alert on.
	// Tunnel IDs to alert on.
	// +kubebuilder:validation:Optional
	TunnelID []*string `json:"tunnelId,omitempty" tf:"tunnel_id,omitempty"`

	// (Set of String) Filter for alert.
	// Filter for alert.
	// +kubebuilder:validation:Optional
	Where []*string `json:"where,omitempty" tf:"where,omitempty"`

	// (Set of String) A list of zone identifiers.
	// A list of zone identifiers.
	// +kubebuilder:validation:Optional
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*FiltersParameters) DeepCopy

func (in *FiltersParameters) DeepCopy() *FiltersParameters

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

func (*FiltersParameters) DeepCopyInto

func (in *FiltersParameters) DeepCopyInto(out *FiltersParameters)

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

type PagerdutyIntegrationInitParameters

type PagerdutyIntegrationInitParameters struct {

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) The name of the notification policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*PagerdutyIntegrationInitParameters) DeepCopy

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

func (*PagerdutyIntegrationInitParameters) DeepCopyInto

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

type PagerdutyIntegrationObservation

type PagerdutyIntegrationObservation struct {

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) The name of the notification policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*PagerdutyIntegrationObservation) DeepCopy

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

func (*PagerdutyIntegrationObservation) DeepCopyInto

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

type PagerdutyIntegrationParameters

type PagerdutyIntegrationParameters struct {

	// (String) The ID of this resource.
	// +kubebuilder:validation:Optional
	ID *string `json:"id" tf:"id,omitempty"`

	// (String) The name of the notification policy.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*PagerdutyIntegrationParameters) DeepCopy

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

func (*PagerdutyIntegrationParameters) DeepCopyInto

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

type Policy

type Policy 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.alertType) || (has(self.initProvider) && has(self.initProvider.alertType))",message="spec.forProvider.alertType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enabled) || (has(self.initProvider) && has(self.initProvider.enabled))",message="spec.forProvider.enabled 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"
	Spec   PolicySpec   `json:"spec"`
	Status PolicyStatus `json:"status,omitempty"`
}

Policy is the Schema for the Policys API. Provides a resource, that manages a notification policy for Cloudflare's products. The delivery mechanisms supported are email, webhooks, and PagerDuty. +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflare}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) GetCondition

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

GetCondition of this Policy.

func (*Policy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Policy

func (*Policy) GetDeletionPolicy

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

GetDeletionPolicy of this Policy.

func (*Policy) GetID

func (tr *Policy) GetID() string

GetID returns ID of underlying Terraform resource of this Policy

func (*Policy) GetInitParameters

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

GetInitParameters of this Policy

func (*Policy) GetManagementPolicies

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

GetManagementPolicies of this Policy.

func (*Policy) GetObservation

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

GetObservation of this Policy

func (*Policy) GetParameters

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

GetParameters of this Policy

func (*Policy) GetProviderConfigReference

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

GetProviderConfigReference of this Policy.

func (*Policy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Policy.

func (*Policy) GetTerraformResourceType

func (mg *Policy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Policy

func (*Policy) GetTerraformSchemaVersion

func (tr *Policy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Policy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Policy.

func (*Policy) LateInitialize

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

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

func (*Policy) ResolveReferences

func (mg *Policy) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Policy.

func (*Policy) SetConditions

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

SetConditions of this Policy.

func (*Policy) SetDeletionPolicy

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

SetDeletionPolicy of this Policy.

func (*Policy) SetManagementPolicies

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

SetManagementPolicies of this Policy.

func (*Policy) SetObservation

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

SetObservation for this Policy

func (*Policy) SetParameters

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

SetParameters for this Policy

func (*Policy) SetProviderConfigReference

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

SetProviderConfigReference of this Policy.

func (*Policy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Policy.

func (*Policy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Policy.

type PolicyInitParameters

type PolicyInitParameters struct {

	// (String) The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, brand_protection_alert, brand_protection_digest, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, traffic_anomalies_alert, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
	// The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available values: `advanced_http_alert_error`, `access_custom_certificate_expiration_type`, `advanced_ddos_attack_l4_alert`, `advanced_ddos_attack_l7_alert`, `bgp_hijack_notification`, `billing_usage_alert`, `block_notification_block_removed`, `block_notification_new_block`, `block_notification_review_rejected`, `brand_protection_alert`, `brand_protection_digest`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`, `custom_ssl_certificate_event_type`, `dedicated_ssl_certificate_event_type`, `dos_attack_l4`, `dos_attack_l7`, `expiring_service_token_alert`, `failing_logpush_job_disabled_alert`, `fbm_auto_advertisement`, `fbm_dosd_attack`, `fbm_volumetric_attack`, `health_check_status_notification`, `hostname_aop_custom_certificate_expiration_type`, `http_alert_edge_error`, `http_alert_origin_error`, `incident_alert`, `load_balancing_health_alert`, `load_balancing_pool_enablement_alert`, `logo_match_alert`, `magic_tunnel_health_check_event`, `maintenance_event_notification`, `mtls_certificate_store_certificate_expiration_type`, `pages_event_alert`, `radar_notification`, `real_origin_monitoring`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_hosts`, `scriptmonitor_alert_new_malicious_hosts`, `scriptmonitor_alert_new_malicious_scripts`, `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_max_length_resource_url`, `scriptmonitor_alert_new_resources`, `secondary_dns_all_primaries_failing`, `secondary_dns_primaries_failing`, `secondary_dns_zone_successfully_updated`, `secondary_dns_zone_validation_warning`, `sentinel_alert`, `stream_live_notifications`, `traffic_anomalies_alert`, `tunnel_health_event`, `tunnel_update_event`, `universal_ssl_event_type`, `web_analytics_metrics_update`, `weekly_account_overview`, `workers_alert`, `zone_aop_custom_certificate_expiration_type`.
	AlertType *string `json:"alertType,omitempty" tf:"alert_type,omitempty"`

	// (String) Description of the notification policy.
	// Description of the notification policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (Block Set) The email ID to which the notification should be dispatched. (see below for nested schema)
	// The email ID to which the notification should be dispatched.
	EmailIntegration []EmailIntegrationInitParameters `json:"emailIntegration,omitempty" tf:"email_integration,omitempty"`

	// (Boolean) The status of the notification policy.
	// The status of the notification policy.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// value map that specifies the type of filter and the values to match against (refer to the alert type block for available fields). (see below for nested schema)
	// An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type of filter and the values to match against (refer to the alert type block for available fields).
	Filters []FiltersInitParameters `json:"filters,omitempty" tf:"filters,omitempty"`

	// (String) The name of the notification policy.
	// The name of the notification policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block Set) The unique ID of a configured pagerduty endpoint to which the notification should be dispatched. (see below for nested schema)
	// The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
	PagerdutyIntegration []PagerdutyIntegrationInitParameters `json:"pagerdutyIntegration,omitempty" tf:"pagerduty_integration,omitempty"`

	// (Block Set) The unique ID of a configured webhooks endpoint to which the notification should be dispatched. (see below for nested schema)
	// The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
	WebhooksIntegration []WebhooksIntegrationInitParameters `json:"webhooksIntegration,omitempty" tf:"webhooks_integration,omitempty"`
}

func (*PolicyInitParameters) DeepCopy

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

func (*PolicyInitParameters) DeepCopyInto

func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters)

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

type PolicyList

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

PolicyList contains a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

func (*PolicyList) GetItems

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

GetItems of this PolicyList.

type PolicyObservation

type PolicyObservation struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// (String) The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, brand_protection_alert, brand_protection_digest, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, traffic_anomalies_alert, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
	// The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available values: `advanced_http_alert_error`, `access_custom_certificate_expiration_type`, `advanced_ddos_attack_l4_alert`, `advanced_ddos_attack_l7_alert`, `bgp_hijack_notification`, `billing_usage_alert`, `block_notification_block_removed`, `block_notification_new_block`, `block_notification_review_rejected`, `brand_protection_alert`, `brand_protection_digest`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`, `custom_ssl_certificate_event_type`, `dedicated_ssl_certificate_event_type`, `dos_attack_l4`, `dos_attack_l7`, `expiring_service_token_alert`, `failing_logpush_job_disabled_alert`, `fbm_auto_advertisement`, `fbm_dosd_attack`, `fbm_volumetric_attack`, `health_check_status_notification`, `hostname_aop_custom_certificate_expiration_type`, `http_alert_edge_error`, `http_alert_origin_error`, `incident_alert`, `load_balancing_health_alert`, `load_balancing_pool_enablement_alert`, `logo_match_alert`, `magic_tunnel_health_check_event`, `maintenance_event_notification`, `mtls_certificate_store_certificate_expiration_type`, `pages_event_alert`, `radar_notification`, `real_origin_monitoring`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_hosts`, `scriptmonitor_alert_new_malicious_hosts`, `scriptmonitor_alert_new_malicious_scripts`, `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_max_length_resource_url`, `scriptmonitor_alert_new_resources`, `secondary_dns_all_primaries_failing`, `secondary_dns_primaries_failing`, `secondary_dns_zone_successfully_updated`, `secondary_dns_zone_validation_warning`, `sentinel_alert`, `stream_live_notifications`, `traffic_anomalies_alert`, `tunnel_health_event`, `tunnel_update_event`, `universal_ssl_event_type`, `web_analytics_metrics_update`, `weekly_account_overview`, `workers_alert`, `zone_aop_custom_certificate_expiration_type`.
	AlertType *string `json:"alertType,omitempty" tf:"alert_type,omitempty"`

	// (String) When the notification policy was created.
	// When the notification policy was created.
	Created *string `json:"created,omitempty" tf:"created,omitempty"`

	// (String) Description of the notification policy.
	// Description of the notification policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (Block Set) The email ID to which the notification should be dispatched. (see below for nested schema)
	// The email ID to which the notification should be dispatched.
	EmailIntegration []EmailIntegrationObservation `json:"emailIntegration,omitempty" tf:"email_integration,omitempty"`

	// (Boolean) The status of the notification policy.
	// The status of the notification policy.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// value map that specifies the type of filter and the values to match against (refer to the alert type block for available fields). (see below for nested schema)
	// An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type of filter and the values to match against (refer to the alert type block for available fields).
	Filters []FiltersObservation `json:"filters,omitempty" tf:"filters,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) When the notification policy was last modified.
	// When the notification policy was last modified.
	Modified *string `json:"modified,omitempty" tf:"modified,omitempty"`

	// (String) The name of the notification policy.
	// The name of the notification policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block Set) The unique ID of a configured pagerduty endpoint to which the notification should be dispatched. (see below for nested schema)
	// The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
	PagerdutyIntegration []PagerdutyIntegrationObservation `json:"pagerdutyIntegration,omitempty" tf:"pagerduty_integration,omitempty"`

	// (Block Set) The unique ID of a configured webhooks endpoint to which the notification should be dispatched. (see below for nested schema)
	// The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
	WebhooksIntegration []WebhooksIntegrationObservation `json:"webhooksIntegration,omitempty" tf:"webhooks_integration,omitempty"`
}

func (*PolicyObservation) DeepCopy

func (in *PolicyObservation) DeepCopy() *PolicyObservation

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

func (*PolicyObservation) DeepCopyInto

func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)

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

type PolicyParameters

type PolicyParameters struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	// +crossplane:generate:reference:type=github.com/milkpirate/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// (String) The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, brand_protection_alert, brand_protection_digest, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, traffic_anomalies_alert, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
	// The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available values: `advanced_http_alert_error`, `access_custom_certificate_expiration_type`, `advanced_ddos_attack_l4_alert`, `advanced_ddos_attack_l7_alert`, `bgp_hijack_notification`, `billing_usage_alert`, `block_notification_block_removed`, `block_notification_new_block`, `block_notification_review_rejected`, `brand_protection_alert`, `brand_protection_digest`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`, `custom_ssl_certificate_event_type`, `dedicated_ssl_certificate_event_type`, `dos_attack_l4`, `dos_attack_l7`, `expiring_service_token_alert`, `failing_logpush_job_disabled_alert`, `fbm_auto_advertisement`, `fbm_dosd_attack`, `fbm_volumetric_attack`, `health_check_status_notification`, `hostname_aop_custom_certificate_expiration_type`, `http_alert_edge_error`, `http_alert_origin_error`, `incident_alert`, `load_balancing_health_alert`, `load_balancing_pool_enablement_alert`, `logo_match_alert`, `magic_tunnel_health_check_event`, `maintenance_event_notification`, `mtls_certificate_store_certificate_expiration_type`, `pages_event_alert`, `radar_notification`, `real_origin_monitoring`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_hosts`, `scriptmonitor_alert_new_malicious_hosts`, `scriptmonitor_alert_new_malicious_scripts`, `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_max_length_resource_url`, `scriptmonitor_alert_new_resources`, `secondary_dns_all_primaries_failing`, `secondary_dns_primaries_failing`, `secondary_dns_zone_successfully_updated`, `secondary_dns_zone_validation_warning`, `sentinel_alert`, `stream_live_notifications`, `traffic_anomalies_alert`, `tunnel_health_event`, `tunnel_update_event`, `universal_ssl_event_type`, `web_analytics_metrics_update`, `weekly_account_overview`, `workers_alert`, `zone_aop_custom_certificate_expiration_type`.
	// +kubebuilder:validation:Optional
	AlertType *string `json:"alertType,omitempty" tf:"alert_type,omitempty"`

	// (String) Description of the notification policy.
	// Description of the notification policy.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (Block Set) The email ID to which the notification should be dispatched. (see below for nested schema)
	// The email ID to which the notification should be dispatched.
	// +kubebuilder:validation:Optional
	EmailIntegration []EmailIntegrationParameters `json:"emailIntegration,omitempty" tf:"email_integration,omitempty"`

	// (Boolean) The status of the notification policy.
	// The status of the notification policy.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// value map that specifies the type of filter and the values to match against (refer to the alert type block for available fields). (see below for nested schema)
	// An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type of filter and the values to match against (refer to the alert type block for available fields).
	// +kubebuilder:validation:Optional
	Filters []FiltersParameters `json:"filters,omitempty" tf:"filters,omitempty"`

	// (String) The name of the notification policy.
	// The name of the notification policy.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block Set) The unique ID of a configured pagerduty endpoint to which the notification should be dispatched. (see below for nested schema)
	// The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
	// +kubebuilder:validation:Optional
	PagerdutyIntegration []PagerdutyIntegrationParameters `json:"pagerdutyIntegration,omitempty" tf:"pagerduty_integration,omitempty"`

	// (Block Set) The unique ID of a configured webhooks endpoint to which the notification should be dispatched. (see below for nested schema)
	// The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
	// +kubebuilder:validation:Optional
	WebhooksIntegration []WebhooksIntegrationParameters `json:"webhooksIntegration,omitempty" tf:"webhooks_integration,omitempty"`
}

func (*PolicyParameters) DeepCopy

func (in *PolicyParameters) DeepCopy() *PolicyParameters

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

func (*PolicyParameters) DeepCopyInto

func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)

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

type PolicySpec

type PolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyParameters `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 PolicyInitParameters `json:"initProvider,omitempty"`
}

PolicySpec defines the desired state of Policy

func (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicyStatus

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

PolicyStatus defines the observed state of Policy.

func (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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

type PolicyWebhooks

type PolicyWebhooks 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"
	Spec   PolicyWebhooksSpec   `json:"spec"`
	Status PolicyWebhooksStatus `json:"status,omitempty"`
}

PolicyWebhooks is the Schema for the PolicyWebhookss API. Provides a resource, that manages a webhook destination. These destinations can be tied to the notification policies created for Cloudflare's products. +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflare}

func (*PolicyWebhooks) DeepCopy

func (in *PolicyWebhooks) DeepCopy() *PolicyWebhooks

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

func (*PolicyWebhooks) DeepCopyInto

func (in *PolicyWebhooks) DeepCopyInto(out *PolicyWebhooks)

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

func (*PolicyWebhooks) DeepCopyObject

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

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

func (*PolicyWebhooks) GetCondition

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

GetCondition of this PolicyWebhooks.

func (*PolicyWebhooks) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PolicyWebhooks

func (*PolicyWebhooks) GetDeletionPolicy

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

GetDeletionPolicy of this PolicyWebhooks.

func (*PolicyWebhooks) GetID

func (tr *PolicyWebhooks) GetID() string

GetID returns ID of underlying Terraform resource of this PolicyWebhooks

func (*PolicyWebhooks) GetInitParameters

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

GetInitParameters of this PolicyWebhooks

func (*PolicyWebhooks) GetManagementPolicies

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

GetManagementPolicies of this PolicyWebhooks.

func (*PolicyWebhooks) GetObservation

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

GetObservation of this PolicyWebhooks

func (*PolicyWebhooks) GetParameters

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

GetParameters of this PolicyWebhooks

func (*PolicyWebhooks) GetProviderConfigReference

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

GetProviderConfigReference of this PolicyWebhooks.

func (*PolicyWebhooks) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PolicyWebhooks.

func (*PolicyWebhooks) GetTerraformResourceType

func (mg *PolicyWebhooks) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PolicyWebhooks

func (*PolicyWebhooks) GetTerraformSchemaVersion

func (tr *PolicyWebhooks) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PolicyWebhooks) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PolicyWebhooks.

func (*PolicyWebhooks) LateInitialize

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

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

func (*PolicyWebhooks) ResolveReferences

func (mg *PolicyWebhooks) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this PolicyWebhooks.

func (*PolicyWebhooks) SetConditions

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

SetConditions of this PolicyWebhooks.

func (*PolicyWebhooks) SetDeletionPolicy

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

SetDeletionPolicy of this PolicyWebhooks.

func (*PolicyWebhooks) SetManagementPolicies

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

SetManagementPolicies of this PolicyWebhooks.

func (*PolicyWebhooks) SetObservation

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

SetObservation for this PolicyWebhooks

func (*PolicyWebhooks) SetParameters

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

SetParameters for this PolicyWebhooks

func (*PolicyWebhooks) SetProviderConfigReference

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

SetProviderConfigReference of this PolicyWebhooks.

func (*PolicyWebhooks) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PolicyWebhooks.

func (*PolicyWebhooks) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PolicyWebhooks.

type PolicyWebhooksInitParameters

type PolicyWebhooksInitParameters struct {

	// (String) The name of the webhook destination.
	// The name of the webhook destination.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// webhook-auth header when dispatching a webhook notification. Secrets are not returned in any API response body. Refer to the documentation for more details.
	// An optional secret can be provided that will be passed in the `cf-webhook-auth` header when dispatching a webhook notification. Secrets are not returned in any API response body. Refer to the [documentation](https://api.cloudflare.com/#notification-webhooks-create-webhook) for more details.
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// (String) The URL of the webhook destinations. Modifying this attribute will force creation of a new resource.
	// The URL of the webhook destinations. **Modifying this attribute will force creation of a new resource.**
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*PolicyWebhooksInitParameters) DeepCopy

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

func (*PolicyWebhooksInitParameters) DeepCopyInto

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

type PolicyWebhooksList

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

PolicyWebhooksList contains a list of PolicyWebhookss

func (*PolicyWebhooksList) DeepCopy

func (in *PolicyWebhooksList) DeepCopy() *PolicyWebhooksList

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

func (*PolicyWebhooksList) DeepCopyInto

func (in *PolicyWebhooksList) DeepCopyInto(out *PolicyWebhooksList)

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

func (*PolicyWebhooksList) DeepCopyObject

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

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

func (*PolicyWebhooksList) GetItems

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

GetItems of this PolicyWebhooksList.

type PolicyWebhooksObservation

type PolicyWebhooksObservation struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// (String) Timestamp of when the notification webhook was created.
	// Timestamp of when the notification webhook was created.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) Timestamp of when the notification webhook last faiuled.
	// Timestamp of when the notification webhook last faiuled.
	LastFailure *string `json:"lastFailure,omitempty" tf:"last_failure,omitempty"`

	// (String) Timestamp of when the notification webhook was last successful.
	// Timestamp of when the notification webhook was last successful.
	LastSuccess *string `json:"lastSuccess,omitempty" tf:"last_success,omitempty"`

	// (String) The name of the webhook destination.
	// The name of the webhook destination.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// webhook-auth header when dispatching a webhook notification. Secrets are not returned in any API response body. Refer to the documentation for more details.
	// An optional secret can be provided that will be passed in the `cf-webhook-auth` header when dispatching a webhook notification. Secrets are not returned in any API response body. Refer to the [documentation](https://api.cloudflare.com/#notification-webhooks-create-webhook) for more details.
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// (String)
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// (String) The URL of the webhook destinations. Modifying this attribute will force creation of a new resource.
	// The URL of the webhook destinations. **Modifying this attribute will force creation of a new resource.**
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*PolicyWebhooksObservation) DeepCopy

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

func (*PolicyWebhooksObservation) DeepCopyInto

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

type PolicyWebhooksParameters

type PolicyWebhooksParameters struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	// +crossplane:generate:reference:type=github.com/milkpirate/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// (String) The name of the webhook destination.
	// The name of the webhook destination.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// webhook-auth header when dispatching a webhook notification. Secrets are not returned in any API response body. Refer to the documentation for more details.
	// An optional secret can be provided that will be passed in the `cf-webhook-auth` header when dispatching a webhook notification. Secrets are not returned in any API response body. Refer to the [documentation](https://api.cloudflare.com/#notification-webhooks-create-webhook) for more details.
	// +kubebuilder:validation:Optional
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// (String) The URL of the webhook destinations. Modifying this attribute will force creation of a new resource.
	// The URL of the webhook destinations. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*PolicyWebhooksParameters) DeepCopy

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

func (*PolicyWebhooksParameters) DeepCopyInto

func (in *PolicyWebhooksParameters) DeepCopyInto(out *PolicyWebhooksParameters)

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

type PolicyWebhooksSpec

type PolicyWebhooksSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyWebhooksParameters `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 PolicyWebhooksInitParameters `json:"initProvider,omitempty"`
}

PolicyWebhooksSpec defines the desired state of PolicyWebhooks

func (*PolicyWebhooksSpec) DeepCopy

func (in *PolicyWebhooksSpec) DeepCopy() *PolicyWebhooksSpec

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

func (*PolicyWebhooksSpec) DeepCopyInto

func (in *PolicyWebhooksSpec) DeepCopyInto(out *PolicyWebhooksSpec)

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

type PolicyWebhooksStatus

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

PolicyWebhooksStatus defines the observed state of PolicyWebhooks.

func (*PolicyWebhooksStatus) DeepCopy

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

func (*PolicyWebhooksStatus) DeepCopyInto

func (in *PolicyWebhooksStatus) DeepCopyInto(out *PolicyWebhooksStatus)

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

type WebhooksIntegrationInitParameters

type WebhooksIntegrationInitParameters struct {

	// (String) The name of the notification policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*WebhooksIntegrationInitParameters) DeepCopy

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

func (*WebhooksIntegrationInitParameters) DeepCopyInto

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

type WebhooksIntegrationObservation

type WebhooksIntegrationObservation struct {

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) The name of the notification policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*WebhooksIntegrationObservation) DeepCopy

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

func (*WebhooksIntegrationObservation) DeepCopyInto

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

type WebhooksIntegrationParameters

type WebhooksIntegrationParameters struct {

	// (String) The ID of this resource.
	// +crossplane:generate:reference:type=PolicyWebhooks
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Reference to a PolicyWebhooks to populate id.
	// +kubebuilder:validation:Optional
	IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"`

	// Selector for a PolicyWebhooks to populate id.
	// +kubebuilder:validation:Optional
	IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"`

	// (String) The name of the notification policy.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*WebhooksIntegrationParameters) DeepCopy

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

func (*WebhooksIntegrationParameters) DeepCopyInto

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