Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=monitor.datadog.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type JSON
- func (in *JSON) DeepCopy() *JSON
- func (in *JSON) DeepCopyInto(out *JSON)
- func (in *JSON) DeepCopyObject() runtime.Object
- func (mg *JSON) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *JSON) GetConnectionDetailsMapping() map[string]string
- func (mg *JSON) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *JSON) GetID() string
- func (tr *JSON) GetObservation() (map[string]interface{}, error)
- func (tr *JSON) GetParameters() (map[string]interface{}, error)
- func (mg *JSON) GetProviderConfigReference() *xpv1.Reference
- func (mg *JSON) GetProviderReference() *xpv1.Reference
- func (mg *JSON) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *JSON) GetTerraformResourceType() string
- func (tr *JSON) GetTerraformSchemaVersion() int
- func (mg *JSON) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *JSON) LateInitialize(attrs []byte) (bool, error)
- func (mg *JSON) SetConditions(c ...xpv1.Condition)
- func (mg *JSON) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *JSON) SetObservation(obs map[string]interface{}) error
- func (tr *JSON) SetParameters(params map[string]interface{}) error
- func (mg *JSON) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *JSON) SetProviderReference(r *xpv1.Reference)
- func (mg *JSON) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *JSON) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type JSONList
- type JSONObservation
- type JSONParameters
- type JSONSpec
- type JSONStatus
- type Monitor
- func (in *Monitor) DeepCopy() *Monitor
- func (in *Monitor) DeepCopyInto(out *Monitor)
- func (in *Monitor) DeepCopyObject() runtime.Object
- func (mg *Monitor) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Monitor) GetConnectionDetailsMapping() map[string]string
- func (mg *Monitor) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Monitor) GetID() string
- func (tr *Monitor) GetObservation() (map[string]interface{}, error)
- func (tr *Monitor) GetParameters() (map[string]interface{}, error)
- func (mg *Monitor) GetProviderConfigReference() *xpv1.Reference
- func (mg *Monitor) GetProviderReference() *xpv1.Reference
- func (mg *Monitor) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Monitor) GetTerraformResourceType() string
- func (tr *Monitor) GetTerraformSchemaVersion() int
- func (mg *Monitor) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Monitor) LateInitialize(attrs []byte) (bool, error)
- func (mg *Monitor) SetConditions(c ...xpv1.Condition)
- func (mg *Monitor) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Monitor) SetObservation(obs map[string]interface{}) error
- func (tr *Monitor) SetParameters(params map[string]interface{}) error
- func (mg *Monitor) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Monitor) SetProviderReference(r *xpv1.Reference)
- func (mg *Monitor) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Monitor) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MonitorList
- type MonitorObservation
- type MonitorParameters
- type MonitorSpec
- type MonitorStatus
- type MonitorThresholdWindowsObservation
- type MonitorThresholdWindowsParameters
- type MonitorThresholdsObservation
- type MonitorThresholdsParameters
- type QueryObservation
- type QueryParameters
- type ServiceLevelObjective
- func (in *ServiceLevelObjective) DeepCopy() *ServiceLevelObjective
- func (in *ServiceLevelObjective) DeepCopyInto(out *ServiceLevelObjective)
- func (in *ServiceLevelObjective) DeepCopyObject() runtime.Object
- func (mg *ServiceLevelObjective) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ServiceLevelObjective) GetConnectionDetailsMapping() map[string]string
- func (mg *ServiceLevelObjective) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ServiceLevelObjective) GetID() string
- func (tr *ServiceLevelObjective) GetObservation() (map[string]interface{}, error)
- func (tr *ServiceLevelObjective) GetParameters() (map[string]interface{}, error)
- func (mg *ServiceLevelObjective) GetProviderConfigReference() *xpv1.Reference
- func (mg *ServiceLevelObjective) GetProviderReference() *xpv1.Reference
- func (mg *ServiceLevelObjective) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServiceLevelObjective) GetTerraformResourceType() string
- func (tr *ServiceLevelObjective) GetTerraformSchemaVersion() int
- func (mg *ServiceLevelObjective) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ServiceLevelObjective) LateInitialize(attrs []byte) (bool, error)
- func (mg *ServiceLevelObjective) SetConditions(c ...xpv1.Condition)
- func (mg *ServiceLevelObjective) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *ServiceLevelObjective) SetObservation(obs map[string]interface{}) error
- func (tr *ServiceLevelObjective) SetParameters(params map[string]interface{}) error
- func (mg *ServiceLevelObjective) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ServiceLevelObjective) SetProviderReference(r *xpv1.Reference)
- func (mg *ServiceLevelObjective) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServiceLevelObjective) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServiceLevelObjectiveList
- type ServiceLevelObjectiveObservation
- type ServiceLevelObjectiveParameters
- type ServiceLevelObjectiveSpec
- type ServiceLevelObjectiveStatus
- type ThresholdsObservation
- type ThresholdsParameters
Constants ¶
const ( CRDGroup = "monitor.datadog.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( JSON_Kind = "JSON" JSON_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: JSON_Kind}.String() JSON_KindAPIVersion = JSON_Kind + "." + CRDGroupVersion.String() JSON_GroupVersionKind = CRDGroupVersion.WithKind(JSON_Kind) )
Repository type metadata.
var ( Monitor_Kind = "Monitor" Monitor_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Monitor_Kind}.String() Monitor_KindAPIVersion = Monitor_Kind + "." + CRDGroupVersion.String() Monitor_GroupVersionKind = CRDGroupVersion.WithKind(Monitor_Kind) )
Repository type metadata.
var ( ServiceLevelObjective_Kind = "ServiceLevelObjective" ServiceLevelObjective_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceLevelObjective_Kind}.String() ServiceLevelObjective_KindAPIVersion = ServiceLevelObjective_Kind + "." + CRDGroupVersion.String() ServiceLevelObjective_GroupVersionKind = CRDGroupVersion.WithKind(ServiceLevelObjective_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type JSON ¶
type JSON struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec JSONSpec `json:"spec"` Status JSONStatus `json:"status,omitempty"` }
JSON is the Schema for the JSONs API +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,datadogjet}
func (*JSON) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSON.
func (*JSON) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JSON) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*JSON) GetCondition ¶
func (mg *JSON) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this JSON.
func (*JSON) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this JSON
func (*JSON) GetDeletionPolicy ¶
func (mg *JSON) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this JSON.
func (*JSON) GetObservation ¶
GetObservation of this JSON
func (*JSON) GetParameters ¶
GetParameters of this JSON
func (*JSON) GetProviderConfigReference ¶
GetProviderConfigReference of this JSON.
func (*JSON) GetProviderReference ¶
GetProviderReference of this JSON. Deprecated: Use GetProviderConfigReference.
func (*JSON) GetPublishConnectionDetailsTo ¶
func (mg *JSON) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this JSON.
func (*JSON) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this JSON
func (*JSON) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*JSON) GetWriteConnectionSecretToReference ¶
func (mg *JSON) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this JSON.
func (*JSON) LateInitialize ¶
LateInitialize this JSON using its observed tfState. returns True if there are any spec changes for the resource.
func (*JSON) SetConditions ¶
SetConditions of this JSON.
func (*JSON) SetDeletionPolicy ¶
func (mg *JSON) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this JSON.
func (*JSON) SetObservation ¶
SetObservation for this JSON
func (*JSON) SetParameters ¶
SetParameters for this JSON
func (*JSON) SetProviderConfigReference ¶
SetProviderConfigReference of this JSON.
func (*JSON) SetProviderReference ¶
SetProviderReference of this JSON. Deprecated: Use SetProviderConfigReference.
func (*JSON) SetPublishConnectionDetailsTo ¶
func (mg *JSON) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this JSON.
func (*JSON) SetWriteConnectionSecretToReference ¶
func (mg *JSON) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this JSON.
type JSONList ¶
type JSONList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []JSON `json:"items"` }
JSONList contains a list of JSONs
func (*JSONList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONList.
func (*JSONList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JSONList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type JSONObservation ¶
type JSONObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*JSONObservation) DeepCopy ¶
func (in *JSONObservation) DeepCopy() *JSONObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONObservation.
func (*JSONObservation) DeepCopyInto ¶
func (in *JSONObservation) DeepCopyInto(out *JSONObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JSONParameters ¶
type JSONParameters struct { // The JSON formatted definition of the monitor. // +kubebuilder:validation:Required Monitor *string `json:"monitor" tf:"monitor,omitempty"` // The URL of the monitor. // +kubebuilder:validation:Optional URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*JSONParameters) DeepCopy ¶
func (in *JSONParameters) DeepCopy() *JSONParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONParameters.
func (*JSONParameters) DeepCopyInto ¶
func (in *JSONParameters) DeepCopyInto(out *JSONParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JSONSpec ¶
type JSONSpec struct { v1.ResourceSpec `json:",inline"` ForProvider JSONParameters `json:"forProvider"` }
JSONSpec defines the desired state of JSON
func (*JSONSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSpec.
func (*JSONSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JSONStatus ¶
type JSONStatus struct { v1.ResourceStatus `json:",inline"` AtProvider JSONObservation `json:"atProvider,omitempty"` }
JSONStatus defines the observed state of JSON.
func (*JSONStatus) DeepCopy ¶
func (in *JSONStatus) DeepCopy() *JSONStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONStatus.
func (*JSONStatus) DeepCopyInto ¶
func (in *JSONStatus) DeepCopyInto(out *JSONStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Monitor ¶
type Monitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MonitorSpec `json:"spec"` Status MonitorStatus `json:"status,omitempty"` }
Monitor is the Schema for the Monitors API +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,datadogjet}
func (*Monitor) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitor.
func (*Monitor) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Monitor) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Monitor) GetCondition ¶
func (mg *Monitor) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Monitor.
func (*Monitor) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Monitor
func (*Monitor) GetDeletionPolicy ¶
func (mg *Monitor) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Monitor.
func (*Monitor) GetObservation ¶
GetObservation of this Monitor
func (*Monitor) GetParameters ¶
GetParameters of this Monitor
func (*Monitor) GetProviderConfigReference ¶
GetProviderConfigReference of this Monitor.
func (*Monitor) GetProviderReference ¶
GetProviderReference of this Monitor. Deprecated: Use GetProviderConfigReference.
func (*Monitor) GetPublishConnectionDetailsTo ¶
func (mg *Monitor) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Monitor.
func (*Monitor) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Monitor
func (*Monitor) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Monitor) GetWriteConnectionSecretToReference ¶
func (mg *Monitor) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Monitor.
func (*Monitor) LateInitialize ¶
LateInitialize this Monitor using its observed tfState. returns True if there are any spec changes for the resource.
func (*Monitor) SetConditions ¶
SetConditions of this Monitor.
func (*Monitor) SetDeletionPolicy ¶
func (mg *Monitor) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Monitor.
func (*Monitor) SetObservation ¶
SetObservation for this Monitor
func (*Monitor) SetParameters ¶
SetParameters for this Monitor
func (*Monitor) SetProviderConfigReference ¶
SetProviderConfigReference of this Monitor.
func (*Monitor) SetProviderReference ¶
SetProviderReference of this Monitor. Deprecated: Use SetProviderConfigReference.
func (*Monitor) SetPublishConnectionDetailsTo ¶
func (mg *Monitor) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Monitor.
func (*Monitor) SetWriteConnectionSecretToReference ¶
func (mg *Monitor) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Monitor.
type MonitorList ¶
type MonitorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Monitor `json:"items"` }
MonitorList contains a list of Monitors
func (*MonitorList) DeepCopy ¶
func (in *MonitorList) DeepCopy() *MonitorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorList.
func (*MonitorList) DeepCopyInto ¶
func (in *MonitorList) DeepCopyInto(out *MonitorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitorList) DeepCopyObject ¶
func (in *MonitorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MonitorList) GetItems ¶
func (l *MonitorList) GetItems() []resource.Managed
GetItems of this MonitorList.
type MonitorObservation ¶
type MonitorObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*MonitorObservation) DeepCopy ¶
func (in *MonitorObservation) DeepCopy() *MonitorObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorObservation.
func (*MonitorObservation) DeepCopyInto ¶
func (in *MonitorObservation) DeepCopyInto(out *MonitorObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorParameters ¶
type MonitorParameters struct { // A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log monitors. Defaults to `false`. // +kubebuilder:validation:Optional EnableLogsSample *bool `json:"enableLogsSample,omitempty" tf:"enable_logs_sample,omitempty"` // A message to include with a re-notification. Supports the `@username` notification allowed elsewhere. // +kubebuilder:validation:Optional EscalationMessage *string `json:"escalationMessage,omitempty" tf:"escalation_message,omitempty"` // (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer. // // For example, if the value is set to `300` (5min), the `timeframe` is set to `last_5m` and the time is 7:00, the monitor will evaluate data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have data during evaluation. // +kubebuilder:validation:Optional EvaluationDelay *float64 `json:"evaluationDelay,omitempty" tf:"evaluation_delay,omitempty"` // A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO, composite monitor). // +kubebuilder:validation:Optional ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"` // Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to `false`. // +kubebuilder:validation:Optional GroupbySimpleMonitor *bool `json:"groupbySimpleMonitor,omitempty" tf:"groupby_simple_monitor,omitempty"` // A boolean indicating whether notifications from this monitor automatically insert its triggering tags into the title. Defaults to `true`. // +kubebuilder:validation:Optional IncludeTags *bool `json:"includeTags,omitempty" tf:"include_tags,omitempty"` // A boolean indicating whether changes to this monitor should be restricted to the creator or admins. Defaults to `false`. **Deprecated.** Use `restricted_roles`. // +kubebuilder:validation:Optional Locked *bool `json:"locked,omitempty" tf:"locked,omitempty"` // A message to include with notifications for this monitor. // // Email notifications can be sent to specific users by using the same `@username` notation as events. // +kubebuilder:validation:Required Message *string `json:"message" tf:"message,omitempty"` // A mapping containing `recovery_window` and `trigger_window` values, e.g. `last_15m` . Can only be used for, and are required for, anomaly monitors. // +kubebuilder:validation:Optional MonitorThresholdWindows []MonitorThresholdWindowsParameters `json:"monitorThresholdWindows,omitempty" tf:"monitor_threshold_windows,omitempty"` // Alert thresholds of the monitor. // +kubebuilder:validation:Optional MonitorThresholds []MonitorThresholdsParameters `json:"monitorThresholds,omitempty" tf:"monitor_thresholds,omitempty"` // Name of Datadog monitor. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // The time (in seconds) to skip evaluations for new groups. // // `new_group_delay` overrides `new_host_delay` if it is set to a nonzero value. // +kubebuilder:validation:Optional NewGroupDelay *float64 `json:"newGroupDelay,omitempty" tf:"new_group_delay,omitempty"` // **Deprecated**. See `new_group_delay`. Time (in seconds) to allow a host to boot and applications to fully start before starting the evaluation of monitor results. Should be a non-negative integer. This value is ignored for simple monitors and monitors not grouped by host. Defaults to `300`. The only case when this should be used is to override the default and set `new_host_delay` to zero for monitors grouped by host. **Deprecated.** Use `new_group_delay` except when setting `new_host_delay` to zero. // +kubebuilder:validation:Optional NewHostDelay *float64 `json:"newHostDelay,omitempty" tf:"new_host_delay,omitempty"` // The number of minutes before a monitor will notify when data stops reporting. Provider defaults to 10 minutes. // // We recommend at least 2x the monitor timeframe for metric alerts or 2 minutes for service checks. // +kubebuilder:validation:Optional NoDataTimeframe *float64 `json:"noDataTimeframe,omitempty" tf:"no_data_timeframe,omitempty"` // A boolean indicating whether tagged users will be notified on changes to this monitor. Defaults to `false`. // +kubebuilder:validation:Optional NotifyAudit *bool `json:"notifyAudit,omitempty" tf:"notify_audit,omitempty"` // A boolean indicating whether this monitor will notify when data stops reporting. Defaults to `false`. // +kubebuilder:validation:Optional NotifyNoData *bool `json:"notifyNoData,omitempty" tf:"notify_no_data,omitempty"` // Integer from 1 (high) to 5 (low) indicating alert severity. // +kubebuilder:validation:Optional Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` // The monitor query to notify on. Note this is not the same query you see in the UI and the syntax is different depending on the monitor type, please see the [API Reference](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor) for details. `terraform plan` will validate query contents unless `validate` is set to `false`. // // **Note:** APM latency data is now available as Distribution Metrics. Existing monitors have been migrated automatically but all terraformed monitors can still use the existing metrics. We strongly recommend updating monitor definitions to query the new metrics. To learn more, or to see examples of how to update your terraform definitions to utilize the new distribution metrics, see the [detailed doc](https://docs.datadoghq.com/tracing/guide/ddsketch_trace_metrics/). // +kubebuilder:validation:Required Query *string `json:"query" tf:"query,omitempty"` // The number of minutes after the last notification before a monitor will re-notify on the current status. It will only re-notify if it's not resolved. // +kubebuilder:validation:Optional RenotifyInterval *float64 `json:"renotifyInterval,omitempty" tf:"renotify_interval,omitempty"` // The number of re-notification messages that should be sent on the current status. // +kubebuilder:validation:Optional RenotifyOccurrences *float64 `json:"renotifyOccurrences,omitempty" tf:"renotify_occurrences,omitempty"` // The types of statuses for which re-notification messages should be sent. Valid values are `alert`, `warn`, `no data`. // +kubebuilder:validation:Optional RenotifyStatuses []*string `json:"renotifyStatuses,omitempty" tf:"renotify_statuses,omitempty"` // A boolean indicating whether this monitor needs a full window of data before it's evaluated. // // We highly recommend you set this to `false` for sparse metrics, otherwise some evaluations will be skipped. Default: `true` for `on average`, `at all times` and `in total` aggregation. `false` otherwise. // +kubebuilder:validation:Optional RequireFullWindow *bool `json:"requireFullWindow,omitempty" tf:"require_full_window,omitempty"` // A list of unique role identifiers to define which roles are allowed to edit the monitor. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. Roles unique identifiers can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles) in the `data.id` field. // +kubebuilder:validation:Optional RestrictedRoles []*string `json:"restrictedRoles,omitempty" tf:"restricted_roles,omitempty"` // A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The minimum allowed value is 0 hours. The maximum allowed value is 24 hours. // +kubebuilder:validation:Optional TimeoutH *float64 `json:"timeoutH,omitempty" tf:"timeout_h,omitempty"` // The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type cannot be changed after a monitor is created. Valid values are `composite`, `event alert`, `log alert`, `metric alert`, `process alert`, `query alert`, `rum alert`, `service check`, `synthetics alert`, `trace-analytics alert`, `slo alert`, `event-v2 alert`, `audit alert`, `ci-pipelines alert`, `error-tracking alert`. // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // If set to `false`, skip the validation call done during plan. // +kubebuilder:validation:Optional Validate *bool `json:"validate,omitempty" tf:"validate,omitempty"` }
func (*MonitorParameters) DeepCopy ¶
func (in *MonitorParameters) DeepCopy() *MonitorParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorParameters.
func (*MonitorParameters) DeepCopyInto ¶
func (in *MonitorParameters) DeepCopyInto(out *MonitorParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpec ¶
type MonitorSpec struct { v1.ResourceSpec `json:",inline"` ForProvider MonitorParameters `json:"forProvider"` }
MonitorSpec defines the desired state of Monitor
func (*MonitorSpec) DeepCopy ¶
func (in *MonitorSpec) DeepCopy() *MonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpec.
func (*MonitorSpec) DeepCopyInto ¶
func (in *MonitorSpec) DeepCopyInto(out *MonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorStatus ¶
type MonitorStatus struct { v1.ResourceStatus `json:",inline"` AtProvider MonitorObservation `json:"atProvider,omitempty"` }
MonitorStatus defines the observed state of Monitor.
func (*MonitorStatus) DeepCopy ¶
func (in *MonitorStatus) DeepCopy() *MonitorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorStatus.
func (*MonitorStatus) DeepCopyInto ¶
func (in *MonitorStatus) DeepCopyInto(out *MonitorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorThresholdWindowsObservation ¶
type MonitorThresholdWindowsObservation struct { }
func (*MonitorThresholdWindowsObservation) DeepCopy ¶
func (in *MonitorThresholdWindowsObservation) DeepCopy() *MonitorThresholdWindowsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorThresholdWindowsObservation.
func (*MonitorThresholdWindowsObservation) DeepCopyInto ¶
func (in *MonitorThresholdWindowsObservation) DeepCopyInto(out *MonitorThresholdWindowsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorThresholdWindowsParameters ¶
type MonitorThresholdWindowsParameters struct { // Describes how long an anomalous metric must be normal before the alert recovers. // +kubebuilder:validation:Optional RecoveryWindow *string `json:"recoveryWindow,omitempty" tf:"recovery_window,omitempty"` // Describes how long a metric must be anomalous before an alert triggers. // +kubebuilder:validation:Optional TriggerWindow *string `json:"triggerWindow,omitempty" tf:"trigger_window,omitempty"` }
func (*MonitorThresholdWindowsParameters) DeepCopy ¶
func (in *MonitorThresholdWindowsParameters) DeepCopy() *MonitorThresholdWindowsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorThresholdWindowsParameters.
func (*MonitorThresholdWindowsParameters) DeepCopyInto ¶
func (in *MonitorThresholdWindowsParameters) DeepCopyInto(out *MonitorThresholdWindowsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorThresholdsObservation ¶
type MonitorThresholdsObservation struct { }
func (*MonitorThresholdsObservation) DeepCopy ¶
func (in *MonitorThresholdsObservation) DeepCopy() *MonitorThresholdsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorThresholdsObservation.
func (*MonitorThresholdsObservation) DeepCopyInto ¶
func (in *MonitorThresholdsObservation) DeepCopyInto(out *MonitorThresholdsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorThresholdsParameters ¶
type MonitorThresholdsParameters struct { // The monitor `CRITICAL` threshold. Must be a number. // +kubebuilder:validation:Optional Critical *string `json:"critical,omitempty" tf:"critical,omitempty"` // The monitor `CRITICAL` recovery threshold. Must be a number. // +kubebuilder:validation:Optional CriticalRecovery *string `json:"criticalRecovery,omitempty" tf:"critical_recovery,omitempty"` // The monitor `OK` threshold. Must be a number. // +kubebuilder:validation:Optional Ok *string `json:"ok,omitempty" tf:"ok,omitempty"` // The monitor `UNKNOWN` threshold. Must be a number. // +kubebuilder:validation:Optional Unknown *string `json:"unknown,omitempty" tf:"unknown,omitempty"` // The monitor `WARNING` threshold. Must be a number. // +kubebuilder:validation:Optional Warning *string `json:"warning,omitempty" tf:"warning,omitempty"` // The monitor `WARNING` recovery threshold. Must be a number. // +kubebuilder:validation:Optional WarningRecovery *string `json:"warningRecovery,omitempty" tf:"warning_recovery,omitempty"` }
func (*MonitorThresholdsParameters) DeepCopy ¶
func (in *MonitorThresholdsParameters) DeepCopy() *MonitorThresholdsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorThresholdsParameters.
func (*MonitorThresholdsParameters) DeepCopyInto ¶
func (in *MonitorThresholdsParameters) DeepCopyInto(out *MonitorThresholdsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryObservation ¶
type QueryObservation struct { }
func (*QueryObservation) DeepCopy ¶
func (in *QueryObservation) DeepCopy() *QueryObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryObservation.
func (*QueryObservation) DeepCopyInto ¶
func (in *QueryObservation) DeepCopyInto(out *QueryObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryParameters ¶
type QueryParameters struct { // The sum of the `total` events. // +kubebuilder:validation:Required Denominator *string `json:"denominator" tf:"denominator,omitempty"` // The sum of all the `good` events. // +kubebuilder:validation:Required Numerator *string `json:"numerator" tf:"numerator,omitempty"` }
func (*QueryParameters) DeepCopy ¶
func (in *QueryParameters) DeepCopy() *QueryParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryParameters.
func (*QueryParameters) DeepCopyInto ¶
func (in *QueryParameters) DeepCopyInto(out *QueryParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceLevelObjective ¶
type ServiceLevelObjective struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceLevelObjectiveSpec `json:"spec"` Status ServiceLevelObjectiveStatus `json:"status,omitempty"` }
ServiceLevelObjective is the Schema for the ServiceLevelObjectives API +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,datadogjet}
func (*ServiceLevelObjective) DeepCopy ¶
func (in *ServiceLevelObjective) DeepCopy() *ServiceLevelObjective
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceLevelObjective.
func (*ServiceLevelObjective) DeepCopyInto ¶
func (in *ServiceLevelObjective) DeepCopyInto(out *ServiceLevelObjective)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceLevelObjective) DeepCopyObject ¶
func (in *ServiceLevelObjective) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceLevelObjective) GetCondition ¶
func (mg *ServiceLevelObjective) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ServiceLevelObjective.
func (*ServiceLevelObjective) GetConnectionDetailsMapping ¶
func (tr *ServiceLevelObjective) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ServiceLevelObjective
func (*ServiceLevelObjective) GetDeletionPolicy ¶
func (mg *ServiceLevelObjective) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ServiceLevelObjective.
func (*ServiceLevelObjective) GetID ¶
func (tr *ServiceLevelObjective) GetID() string
GetID returns ID of underlying Terraform resource of this ServiceLevelObjective
func (*ServiceLevelObjective) GetObservation ¶
func (tr *ServiceLevelObjective) GetObservation() (map[string]interface{}, error)
GetObservation of this ServiceLevelObjective
func (*ServiceLevelObjective) GetParameters ¶
func (tr *ServiceLevelObjective) GetParameters() (map[string]interface{}, error)
GetParameters of this ServiceLevelObjective
func (*ServiceLevelObjective) GetProviderConfigReference ¶
func (mg *ServiceLevelObjective) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ServiceLevelObjective.
func (*ServiceLevelObjective) GetProviderReference ¶
func (mg *ServiceLevelObjective) GetProviderReference() *xpv1.Reference
GetProviderReference of this ServiceLevelObjective. Deprecated: Use GetProviderConfigReference.
func (*ServiceLevelObjective) GetPublishConnectionDetailsTo ¶
func (mg *ServiceLevelObjective) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ServiceLevelObjective.
func (*ServiceLevelObjective) GetTerraformResourceType ¶
func (mg *ServiceLevelObjective) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ServiceLevelObjective
func (*ServiceLevelObjective) GetTerraformSchemaVersion ¶
func (tr *ServiceLevelObjective) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ServiceLevelObjective) GetWriteConnectionSecretToReference ¶
func (mg *ServiceLevelObjective) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ServiceLevelObjective.
func (*ServiceLevelObjective) LateInitialize ¶
func (tr *ServiceLevelObjective) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ServiceLevelObjective using its observed tfState. returns True if there are any spec changes for the resource.
func (*ServiceLevelObjective) SetConditions ¶
func (mg *ServiceLevelObjective) SetConditions(c ...xpv1.Condition)
SetConditions of this ServiceLevelObjective.
func (*ServiceLevelObjective) SetDeletionPolicy ¶
func (mg *ServiceLevelObjective) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ServiceLevelObjective.
func (*ServiceLevelObjective) SetObservation ¶
func (tr *ServiceLevelObjective) SetObservation(obs map[string]interface{}) error
SetObservation for this ServiceLevelObjective
func (*ServiceLevelObjective) SetParameters ¶
func (tr *ServiceLevelObjective) SetParameters(params map[string]interface{}) error
SetParameters for this ServiceLevelObjective
func (*ServiceLevelObjective) SetProviderConfigReference ¶
func (mg *ServiceLevelObjective) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ServiceLevelObjective.
func (*ServiceLevelObjective) SetProviderReference ¶
func (mg *ServiceLevelObjective) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ServiceLevelObjective. Deprecated: Use SetProviderConfigReference.
func (*ServiceLevelObjective) SetPublishConnectionDetailsTo ¶
func (mg *ServiceLevelObjective) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ServiceLevelObjective.
func (*ServiceLevelObjective) SetWriteConnectionSecretToReference ¶
func (mg *ServiceLevelObjective) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ServiceLevelObjective.
type ServiceLevelObjectiveList ¶
type ServiceLevelObjectiveList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceLevelObjective `json:"items"` }
ServiceLevelObjectiveList contains a list of ServiceLevelObjectives
func (*ServiceLevelObjectiveList) DeepCopy ¶
func (in *ServiceLevelObjectiveList) DeepCopy() *ServiceLevelObjectiveList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceLevelObjectiveList.
func (*ServiceLevelObjectiveList) DeepCopyInto ¶
func (in *ServiceLevelObjectiveList) DeepCopyInto(out *ServiceLevelObjectiveList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceLevelObjectiveList) DeepCopyObject ¶
func (in *ServiceLevelObjectiveList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceLevelObjectiveList) GetItems ¶
func (l *ServiceLevelObjectiveList) GetItems() []resource.Managed
GetItems of this ServiceLevelObjectiveList.
type ServiceLevelObjectiveObservation ¶
type ServiceLevelObjectiveObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*ServiceLevelObjectiveObservation) DeepCopy ¶
func (in *ServiceLevelObjectiveObservation) DeepCopy() *ServiceLevelObjectiveObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceLevelObjectiveObservation.
func (*ServiceLevelObjectiveObservation) DeepCopyInto ¶
func (in *ServiceLevelObjectiveObservation) DeepCopyInto(out *ServiceLevelObjectiveObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceLevelObjectiveParameters ¶
type ServiceLevelObjectiveParameters struct { // A description of this service level objective. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. dashboards). // +kubebuilder:validation:Optional ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"` // A static set of groups to filter monitor-based SLOs // +kubebuilder:validation:Optional Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"` // A static set of monitor IDs to use as part of the SLO // +kubebuilder:validation:Optional MonitorIds []*float64 `json:"monitorIds,omitempty" tf:"monitor_ids,omitempty"` // Name of Datadog service level objective // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // The metric query of good / total events // +kubebuilder:validation:Optional Query []QueryParameters `json:"query,omitempty" tf:"query,omitempty"` // A list of tags to associate with your service level objective. This can help you categorize and filter service level objectives in the service level objectives page of the UI. Note: it's not currently possible to filter by these tags when querying via the API // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // A list of thresholds and targets that define the service level objectives from the provided SLIs. // +kubebuilder:validation:Required Thresholds []ThresholdsParameters `json:"thresholds" tf:"thresholds,omitempty"` // The type of the service level objective. The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API [documentation page](https://docs.datadoghq.com/api/v1/service-level-objectives/#create-a-slo-object). Valid values are `metric`, `monitor`. // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // Whether or not to validate the SLO. // +kubebuilder:validation:Optional Validate *bool `json:"validate,omitempty" tf:"validate,omitempty"` }
func (*ServiceLevelObjectiveParameters) DeepCopy ¶
func (in *ServiceLevelObjectiveParameters) DeepCopy() *ServiceLevelObjectiveParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceLevelObjectiveParameters.
func (*ServiceLevelObjectiveParameters) DeepCopyInto ¶
func (in *ServiceLevelObjectiveParameters) DeepCopyInto(out *ServiceLevelObjectiveParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceLevelObjectiveSpec ¶
type ServiceLevelObjectiveSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ServiceLevelObjectiveParameters `json:"forProvider"` }
ServiceLevelObjectiveSpec defines the desired state of ServiceLevelObjective
func (*ServiceLevelObjectiveSpec) DeepCopy ¶
func (in *ServiceLevelObjectiveSpec) DeepCopy() *ServiceLevelObjectiveSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceLevelObjectiveSpec.
func (*ServiceLevelObjectiveSpec) DeepCopyInto ¶
func (in *ServiceLevelObjectiveSpec) DeepCopyInto(out *ServiceLevelObjectiveSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceLevelObjectiveStatus ¶
type ServiceLevelObjectiveStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ServiceLevelObjectiveObservation `json:"atProvider,omitempty"` }
ServiceLevelObjectiveStatus defines the observed state of ServiceLevelObjective.
func (*ServiceLevelObjectiveStatus) DeepCopy ¶
func (in *ServiceLevelObjectiveStatus) DeepCopy() *ServiceLevelObjectiveStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceLevelObjectiveStatus.
func (*ServiceLevelObjectiveStatus) DeepCopyInto ¶
func (in *ServiceLevelObjectiveStatus) DeepCopyInto(out *ServiceLevelObjectiveStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThresholdsObservation ¶
type ThresholdsObservation struct { TargetDisplay *string `json:"targetDisplay,omitempty" tf:"target_display,omitempty"` WarningDisplay *string `json:"warningDisplay,omitempty" tf:"warning_display,omitempty"` }
func (*ThresholdsObservation) DeepCopy ¶
func (in *ThresholdsObservation) DeepCopy() *ThresholdsObservation
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 { // The objective's target in`[0,100]`. // +kubebuilder:validation:Required Target *float64 `json:"target" tf:"target,omitempty"` // The time frame for the objective. The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API documentation page. Valid values are `7d`, `30d`, `90d`, `custom`. // +kubebuilder:validation:Required Timeframe *string `json:"timeframe" tf:"timeframe,omitempty"` // The objective's warning value in `[0,100]`. This must be greater than the target value. // +kubebuilder:validation:Optional Warning *float64 `json:"warning,omitempty" tf:"warning,omitempty"` }
func (*ThresholdsParameters) DeepCopy ¶
func (in *ThresholdsParameters) DeepCopy() *ThresholdsParameters
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.