Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=alerting.grafana.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AlertmanagerInitParameters
- type AlertmanagerObservation
- type AlertmanagerParameters
- type ContactPoint
- func (in *ContactPoint) DeepCopy() *ContactPoint
- func (in *ContactPoint) DeepCopyInto(out *ContactPoint)
- func (in *ContactPoint) DeepCopyObject() runtime.Object
- func (mg *ContactPoint) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ContactPoint) GetConnectionDetailsMapping() map[string]string
- func (mg *ContactPoint) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ContactPoint) GetID() string
- func (tr *ContactPoint) GetInitParameters() (map[string]any, error)
- func (mg *ContactPoint) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ContactPoint) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *ContactPoint) GetObservation() (map[string]any, error)
- func (tr *ContactPoint) GetParameters() (map[string]any, error)
- func (mg *ContactPoint) GetProviderConfigReference() *xpv1.Reference
- func (mg *ContactPoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ContactPoint) GetTerraformResourceType() string
- func (tr *ContactPoint) GetTerraformSchemaVersion() int
- func (mg *ContactPoint) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ContactPoint) Hub()
- func (tr *ContactPoint) LateInitialize(attrs []byte) (bool, error)
- func (mg *ContactPoint) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ContactPoint) SetConditions(c ...xpv1.Condition)
- func (mg *ContactPoint) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ContactPoint) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ContactPoint) SetObservation(obs map[string]any) error
- func (tr *ContactPoint) SetParameters(params map[string]any) error
- func (mg *ContactPoint) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ContactPoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ContactPoint) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ContactPointInitParameters
- type ContactPointList
- type ContactPointObservation
- type ContactPointParameters
- type ContactPointSpec
- type ContactPointStatus
- type DataInitParameters
- type DataObservation
- type DataParameters
- type DingdingInitParameters
- type DingdingObservation
- type DingdingParameters
- type DiscordInitParameters
- type DiscordObservation
- type DiscordParameters
- type EmailInitParameters
- type EmailObservation
- type EmailParameters
- type GooglechatInitParameters
- type GooglechatObservation
- type GooglechatParameters
- type IntervalsInitParameters
- type IntervalsObservation
- type IntervalsParameters
- type KafkaInitParameters
- type KafkaObservation
- type KafkaParameters
- type LineInitParameters
- type LineObservation
- type LineParameters
- type MatcherInitParameters
- type MatcherObservation
- type MatcherParameters
- type MessageTemplate
- func (in *MessageTemplate) DeepCopy() *MessageTemplate
- func (in *MessageTemplate) DeepCopyInto(out *MessageTemplate)
- func (in *MessageTemplate) DeepCopyObject() runtime.Object
- func (mg *MessageTemplate) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *MessageTemplate) GetConnectionDetailsMapping() map[string]string
- func (mg *MessageTemplate) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *MessageTemplate) GetID() string
- func (tr *MessageTemplate) GetInitParameters() (map[string]any, error)
- func (mg *MessageTemplate) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *MessageTemplate) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *MessageTemplate) GetObservation() (map[string]any, error)
- func (tr *MessageTemplate) GetParameters() (map[string]any, error)
- func (mg *MessageTemplate) GetProviderConfigReference() *xpv1.Reference
- func (mg *MessageTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *MessageTemplate) GetTerraformResourceType() string
- func (tr *MessageTemplate) GetTerraformSchemaVersion() int
- func (mg *MessageTemplate) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *MessageTemplate) Hub()
- func (tr *MessageTemplate) LateInitialize(attrs []byte) (bool, error)
- func (mg *MessageTemplate) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *MessageTemplate) SetConditions(c ...xpv1.Condition)
- func (mg *MessageTemplate) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *MessageTemplate) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *MessageTemplate) SetObservation(obs map[string]any) error
- func (tr *MessageTemplate) SetParameters(params map[string]any) error
- func (mg *MessageTemplate) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *MessageTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *MessageTemplate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MessageTemplateInitParameters
- type MessageTemplateList
- type MessageTemplateObservation
- type MessageTemplateParameters
- type MessageTemplateSpec
- type MessageTemplateStatus
- type MuteTiming
- func (in *MuteTiming) DeepCopy() *MuteTiming
- func (in *MuteTiming) DeepCopyInto(out *MuteTiming)
- func (in *MuteTiming) DeepCopyObject() runtime.Object
- func (mg *MuteTiming) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *MuteTiming) GetConnectionDetailsMapping() map[string]string
- func (mg *MuteTiming) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *MuteTiming) GetID() string
- func (tr *MuteTiming) GetInitParameters() (map[string]any, error)
- func (mg *MuteTiming) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *MuteTiming) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *MuteTiming) GetObservation() (map[string]any, error)
- func (tr *MuteTiming) GetParameters() (map[string]any, error)
- func (mg *MuteTiming) GetProviderConfigReference() *xpv1.Reference
- func (mg *MuteTiming) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *MuteTiming) GetTerraformResourceType() string
- func (tr *MuteTiming) GetTerraformSchemaVersion() int
- func (mg *MuteTiming) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *MuteTiming) Hub()
- func (tr *MuteTiming) LateInitialize(attrs []byte) (bool, error)
- func (mg *MuteTiming) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *MuteTiming) SetConditions(c ...xpv1.Condition)
- func (mg *MuteTiming) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *MuteTiming) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *MuteTiming) SetObservation(obs map[string]any) error
- func (tr *MuteTiming) SetParameters(params map[string]any) error
- func (mg *MuteTiming) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *MuteTiming) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *MuteTiming) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MuteTimingInitParameters
- type MuteTimingList
- type MuteTimingObservation
- type MuteTimingParameters
- type MuteTimingSpec
- type MuteTimingStatus
- type NotificationPolicy
- func (in *NotificationPolicy) DeepCopy() *NotificationPolicy
- func (in *NotificationPolicy) DeepCopyInto(out *NotificationPolicy)
- func (in *NotificationPolicy) DeepCopyObject() runtime.Object
- func (mg *NotificationPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *NotificationPolicy) GetConnectionDetailsMapping() map[string]string
- func (mg *NotificationPolicy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *NotificationPolicy) GetID() string
- func (tr *NotificationPolicy) GetInitParameters() (map[string]any, error)
- func (mg *NotificationPolicy) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *NotificationPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *NotificationPolicy) GetObservation() (map[string]any, error)
- func (tr *NotificationPolicy) GetParameters() (map[string]any, error)
- func (mg *NotificationPolicy) GetProviderConfigReference() *xpv1.Reference
- func (mg *NotificationPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *NotificationPolicy) GetTerraformResourceType() string
- func (tr *NotificationPolicy) GetTerraformSchemaVersion() int
- func (mg *NotificationPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *NotificationPolicy) Hub()
- func (tr *NotificationPolicy) LateInitialize(attrs []byte) (bool, error)
- func (mg *NotificationPolicy) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *NotificationPolicy) SetConditions(c ...xpv1.Condition)
- func (mg *NotificationPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *NotificationPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *NotificationPolicy) SetObservation(obs map[string]any) error
- func (tr *NotificationPolicy) SetParameters(params map[string]any) error
- func (mg *NotificationPolicy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *NotificationPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *NotificationPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type NotificationPolicyInitParameters
- type NotificationPolicyList
- type NotificationPolicyObservation
- type NotificationPolicyParameters
- type NotificationPolicySpec
- type NotificationPolicyStatus
- type NotificationSettingsInitParameters
- type NotificationSettingsObservation
- type NotificationSettingsParameters
- type OncallInitParameters
- type OncallObservation
- type OncallParameters
- type OpsgenieInitParameters
- type OpsgenieObservation
- type OpsgenieParameters
- type PagerdutyInitParameters
- type PagerdutyObservation
- type PagerdutyParameters
- type PolicyInitParameters
- type PolicyMatcherInitParameters
- type PolicyMatcherObservation
- type PolicyMatcherParameters
- type PolicyObservation
- type PolicyParameters
- type PolicyPolicyInitParameters
- type PolicyPolicyMatcherInitParameters
- type PolicyPolicyMatcherObservation
- type PolicyPolicyMatcherParameters
- type PolicyPolicyObservation
- type PolicyPolicyParameters
- type PolicyPolicyPolicyInitParameters
- type PolicyPolicyPolicyMatcherInitParameters
- type PolicyPolicyPolicyMatcherObservation
- type PolicyPolicyPolicyMatcherParameters
- type PolicyPolicyPolicyObservation
- type PolicyPolicyPolicyParameters
- type PolicyPolicyPolicyPolicyInitParameters
- type PolicyPolicyPolicyPolicyObservation
- type PolicyPolicyPolicyPolicyParameters
- type PushoverInitParameters
- type PushoverObservation
- type PushoverParameters
- type RelativeTimeRangeInitParameters
- type RelativeTimeRangeObservation
- type RelativeTimeRangeParameters
- type RespondersInitParameters
- type RespondersObservation
- type RespondersParameters
- type RuleGroup
- func (in *RuleGroup) DeepCopy() *RuleGroup
- func (in *RuleGroup) DeepCopyInto(out *RuleGroup)
- func (in *RuleGroup) DeepCopyObject() runtime.Object
- func (mg *RuleGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *RuleGroup) GetConnectionDetailsMapping() map[string]string
- func (mg *RuleGroup) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *RuleGroup) GetID() string
- func (tr *RuleGroup) GetInitParameters() (map[string]any, error)
- func (mg *RuleGroup) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *RuleGroup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *RuleGroup) GetObservation() (map[string]any, error)
- func (tr *RuleGroup) GetParameters() (map[string]any, error)
- func (mg *RuleGroup) GetProviderConfigReference() *xpv1.Reference
- func (mg *RuleGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *RuleGroup) GetTerraformResourceType() string
- func (tr *RuleGroup) GetTerraformSchemaVersion() int
- func (mg *RuleGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *RuleGroup) Hub()
- func (tr *RuleGroup) LateInitialize(attrs []byte) (bool, error)
- func (mg *RuleGroup) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *RuleGroup) SetConditions(c ...xpv1.Condition)
- func (mg *RuleGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *RuleGroup) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *RuleGroup) SetObservation(obs map[string]any) error
- func (tr *RuleGroup) SetParameters(params map[string]any) error
- func (mg *RuleGroup) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *RuleGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *RuleGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RuleGroupInitParameters
- type RuleGroupList
- type RuleGroupObservation
- type RuleGroupParameters
- type RuleGroupSpec
- type RuleGroupStatus
- type RuleInitParameters
- type RuleObservation
- type RuleParameters
- type SensugoInitParameters
- type SensugoObservation
- type SensugoParameters
- type SlackInitParameters
- type SlackObservation
- type SlackParameters
- type SnsInitParameters
- type SnsObservation
- type SnsParameters
- type TeamsInitParameters
- type TeamsObservation
- type TeamsParameters
- type TelegramInitParameters
- type TelegramObservation
- type TelegramParameters
- type ThreemaInitParameters
- type ThreemaObservation
- type ThreemaParameters
- type TimesInitParameters
- type TimesObservation
- type TimesParameters
- type VictoropsInitParameters
- type VictoropsObservation
- type VictoropsParameters
- type WebexInitParameters
- type WebexObservation
- type WebexParameters
- type WebhookInitParameters
- type WebhookObservation
- type WebhookParameters
- type WecomInitParameters
- type WecomObservation
- type WecomParameters
Constants ¶
const ( CRDGroup = "alerting.grafana.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( ContactPoint_Kind = "ContactPoint" ContactPoint_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ContactPoint_Kind}.String() ContactPoint_KindAPIVersion = ContactPoint_Kind + "." + CRDGroupVersion.String() ContactPoint_GroupVersionKind = CRDGroupVersion.WithKind(ContactPoint_Kind) )
Repository type metadata.
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 ( MessageTemplate_Kind = "MessageTemplate" MessageTemplate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MessageTemplate_Kind}.String() MessageTemplate_KindAPIVersion = MessageTemplate_Kind + "." + CRDGroupVersion.String() MessageTemplate_GroupVersionKind = CRDGroupVersion.WithKind(MessageTemplate_Kind) )
Repository type metadata.
var ( MuteTiming_Kind = "MuteTiming" MuteTiming_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MuteTiming_Kind}.String() MuteTiming_KindAPIVersion = MuteTiming_Kind + "." + CRDGroupVersion.String() MuteTiming_GroupVersionKind = CRDGroupVersion.WithKind(MuteTiming_Kind) )
Repository type metadata.
var ( NotificationPolicy_Kind = "NotificationPolicy" NotificationPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NotificationPolicy_Kind}.String() NotificationPolicy_KindAPIVersion = NotificationPolicy_Kind + "." + CRDGroupVersion.String() NotificationPolicy_GroupVersionKind = CRDGroupVersion.WithKind(NotificationPolicy_Kind) )
Repository type metadata.
var ( RuleGroup_Kind = "RuleGroup" RuleGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RuleGroup_Kind}.String() RuleGroup_KindAPIVersion = RuleGroup_Kind + "." + CRDGroupVersion.String() RuleGroup_GroupVersionKind = CRDGroupVersion.WithKind(RuleGroup_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AlertmanagerInitParameters ¶ added in v0.8.0
type AlertmanagerInitParameters struct { // (String) The username component of the basic auth credentials to use. // The username component of the basic auth credentials to use. BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The URL of the Alertmanager instance. // The URL of the Alertmanager instance. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*AlertmanagerInitParameters) DeepCopy ¶ added in v0.8.0
func (in *AlertmanagerInitParameters) DeepCopy() *AlertmanagerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertmanagerInitParameters.
func (*AlertmanagerInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *AlertmanagerInitParameters) DeepCopyInto(out *AlertmanagerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertmanagerObservation ¶
type AlertmanagerObservation struct { // (String) The username component of the basic auth credentials to use. // The username component of the basic auth credentials to use. BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The URL of the Alertmanager instance. // The URL of the Alertmanager instance. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*AlertmanagerObservation) DeepCopy ¶
func (in *AlertmanagerObservation) DeepCopy() *AlertmanagerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertmanagerObservation.
func (*AlertmanagerObservation) DeepCopyInto ¶
func (in *AlertmanagerObservation) DeepCopyInto(out *AlertmanagerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertmanagerParameters ¶
type AlertmanagerParameters struct { // (String, Sensitive) The password component of the basic auth credentials to use. // The password component of the basic auth credentials to use. // +kubebuilder:validation:Optional BasicAuthPasswordSecretRef *v1.SecretKeySelector `json:"basicAuthPasswordSecretRef,omitempty" tf:"-"` // (String) The username component of the basic auth credentials to use. // The username component of the basic auth credentials to use. // +kubebuilder:validation:Optional BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The URL of the Alertmanager instance. // The URL of the Alertmanager instance. // +kubebuilder:validation:Optional URL *string `json:"url" tf:"url,omitempty"` }
func (*AlertmanagerParameters) DeepCopy ¶
func (in *AlertmanagerParameters) DeepCopy() *AlertmanagerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertmanagerParameters.
func (*AlertmanagerParameters) DeepCopyInto ¶
func (in *AlertmanagerParameters) DeepCopyInto(out *AlertmanagerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactPoint ¶
type ContactPoint 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 ContactPointSpec `json:"spec"` Status ContactPointStatus `json:"status,omitempty"` }
ContactPoint is the Schema for the ContactPoints API. Manages Grafana Alerting contact points. Official documentation https://grafana.com/docs/grafana/next/alerting/fundamentals/notifications/contact-points/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#contact-points This resource requires Grafana 9.1.0 or later. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*ContactPoint) DeepCopy ¶
func (in *ContactPoint) DeepCopy() *ContactPoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactPoint.
func (*ContactPoint) DeepCopyInto ¶
func (in *ContactPoint) DeepCopyInto(out *ContactPoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContactPoint) DeepCopyObject ¶
func (in *ContactPoint) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContactPoint) GetCondition ¶
func (mg *ContactPoint) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ContactPoint.
func (*ContactPoint) GetConnectionDetailsMapping ¶
func (tr *ContactPoint) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ContactPoint
func (*ContactPoint) GetDeletionPolicy ¶
func (mg *ContactPoint) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ContactPoint.
func (*ContactPoint) GetID ¶
func (tr *ContactPoint) GetID() string
GetID returns ID of underlying Terraform resource of this ContactPoint
func (*ContactPoint) GetInitParameters ¶ added in v0.8.0
func (tr *ContactPoint) GetInitParameters() (map[string]any, error)
GetInitParameters of this ContactPoint
func (*ContactPoint) GetManagementPolicies ¶ added in v0.8.0
func (mg *ContactPoint) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ContactPoint.
func (*ContactPoint) GetMergedParameters ¶ added in v0.10.1
func (tr *ContactPoint) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this ContactPoint
func (*ContactPoint) GetObservation ¶
func (tr *ContactPoint) GetObservation() (map[string]any, error)
GetObservation of this ContactPoint
func (*ContactPoint) GetParameters ¶
func (tr *ContactPoint) GetParameters() (map[string]any, error)
GetParameters of this ContactPoint
func (*ContactPoint) GetProviderConfigReference ¶
func (mg *ContactPoint) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ContactPoint.
func (*ContactPoint) GetPublishConnectionDetailsTo ¶
func (mg *ContactPoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ContactPoint.
func (*ContactPoint) GetTerraformResourceType ¶
func (mg *ContactPoint) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ContactPoint
func (*ContactPoint) GetTerraformSchemaVersion ¶
func (tr *ContactPoint) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ContactPoint) GetWriteConnectionSecretToReference ¶
func (mg *ContactPoint) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ContactPoint.
func (*ContactPoint) Hub ¶ added in v0.10.1
func (tr *ContactPoint) Hub()
Hub marks this type as a conversion hub.
func (*ContactPoint) LateInitialize ¶
func (tr *ContactPoint) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ContactPoint using its observed tfState. returns True if there are any spec changes for the resource.
func (*ContactPoint) ResolveReferences ¶ added in v0.10.0
ResolveReferences of this ContactPoint.
func (*ContactPoint) SetConditions ¶
func (mg *ContactPoint) SetConditions(c ...xpv1.Condition)
SetConditions of this ContactPoint.
func (*ContactPoint) SetDeletionPolicy ¶
func (mg *ContactPoint) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ContactPoint.
func (*ContactPoint) SetManagementPolicies ¶ added in v0.8.0
func (mg *ContactPoint) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ContactPoint.
func (*ContactPoint) SetObservation ¶
func (tr *ContactPoint) SetObservation(obs map[string]any) error
SetObservation for this ContactPoint
func (*ContactPoint) SetParameters ¶
func (tr *ContactPoint) SetParameters(params map[string]any) error
SetParameters for this ContactPoint
func (*ContactPoint) SetProviderConfigReference ¶
func (mg *ContactPoint) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ContactPoint.
func (*ContactPoint) SetPublishConnectionDetailsTo ¶
func (mg *ContactPoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ContactPoint.
func (*ContactPoint) SetWriteConnectionSecretToReference ¶
func (mg *ContactPoint) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ContactPoint.
type ContactPointInitParameters ¶ added in v0.8.0
type ContactPointInitParameters struct { // (Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema) // A contact point that sends notifications to other Alertmanager instances. Alertmanager []AlertmanagerInitParameters `json:"alertmanager,omitempty" tf:"alertmanager,omitempty"` // (Block Set) A contact point that sends notifications to DingDing. (see below for nested schema) // A contact point that sends notifications to DingDing. Dingding []DingdingInitParameters `json:"dingding,omitempty" tf:"dingding,omitempty"` // Defaults to false. Defaults to `false`. DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // (Block Set) A contact point that sends notifications as Discord messages (see below for nested schema) // A contact point that sends notifications as Discord messages Discord []DiscordInitParameters `json:"discord,omitempty" tf:"discord,omitempty"` // (Block Set) A contact point that sends notifications to an email address. (see below for nested schema) // A contact point that sends notifications to an email address. Email []EmailInitParameters `json:"email,omitempty" tf:"email,omitempty"` // (Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema) // A contact point that sends notifications to Google Chat. Googlechat []GooglechatInitParameters `json:"googlechat,omitempty" tf:"googlechat,omitempty"` // (Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema) // A contact point that publishes notifications to Apache Kafka topics. Kafka []KafkaInitParameters `json:"kafka,omitempty" tf:"kafka,omitempty"` // (Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema) // A contact point that sends notifications to LINE.me. Line []LineInitParameters `json:"line,omitempty" tf:"line,omitempty"` // (String) The name of the contact point. // The name of the contact point. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Call. (see below for nested schema) // A contact point that sends notifications to Grafana On-Call. Oncall []OncallInitParameters `json:"oncall,omitempty" tf:"oncall,omitempty"` // (Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema) // A contact point that sends notifications to OpsGenie. Opsgenie []OpsgenieInitParameters `json:"opsgenie,omitempty" tf:"opsgenie,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema) // A contact point that sends notifications to PagerDuty. Pagerduty []PagerdutyInitParameters `json:"pagerduty,omitempty" tf:"pagerduty,omitempty"` // (Block Set) A contact point that sends notifications to Pushover. (see below for nested schema) // A contact point that sends notifications to Pushover. Pushover []PushoverInitParameters `json:"pushover,omitempty" tf:"pushover,omitempty"` // (Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema) // A contact point that sends notifications to SensuGo. Sensugo []SensugoInitParameters `json:"sensugo,omitempty" tf:"sensugo,omitempty"` // (Block Set) A contact point that sends notifications to Slack. (see below for nested schema) // A contact point that sends notifications to Slack. Slack []SlackInitParameters `json:"slack,omitempty" tf:"slack,omitempty"` // (Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema) // A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. Sns []SnsInitParameters `json:"sns,omitempty" tf:"sns,omitempty"` // (Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema) // A contact point that sends notifications to Microsoft Teams. Teams []TeamsInitParameters `json:"teams,omitempty" tf:"teams,omitempty"` // (Block Set) A contact point that sends notifications to Telegram. (see below for nested schema) // A contact point that sends notifications to Telegram. Telegram []TelegramInitParameters `json:"telegram,omitempty" tf:"telegram,omitempty"` // (Block Set) A contact point that sends notifications to Threema. (see below for nested schema) // A contact point that sends notifications to Threema. Threema []ThreemaInitParameters `json:"threema,omitempty" tf:"threema,omitempty"` // (Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema) // A contact point that sends notifications to VictorOps (now known as Splunk OnCall). Victorops []VictoropsInitParameters `json:"victorops,omitempty" tf:"victorops,omitempty"` // (Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema) // A contact point that sends notifications to Cisco Webex. Webex []WebexInitParameters `json:"webex,omitempty" tf:"webex,omitempty"` // (Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema) // A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config Webhook []WebhookInitParameters `json:"webhook,omitempty" tf:"webhook,omitempty"` // (Block Set) A contact point that sends notifications to WeCom. (see below for nested schema) // A contact point that sends notifications to WeCom. Wecom []WecomInitParameters `json:"wecom,omitempty" tf:"wecom,omitempty"` }
func (*ContactPointInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ContactPointInitParameters) DeepCopy() *ContactPointInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactPointInitParameters.
func (*ContactPointInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ContactPointInitParameters) DeepCopyInto(out *ContactPointInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactPointList ¶
type ContactPointList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ContactPoint `json:"items"` }
ContactPointList contains a list of ContactPoints
func (*ContactPointList) DeepCopy ¶
func (in *ContactPointList) DeepCopy() *ContactPointList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactPointList.
func (*ContactPointList) DeepCopyInto ¶
func (in *ContactPointList) DeepCopyInto(out *ContactPointList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContactPointList) DeepCopyObject ¶
func (in *ContactPointList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContactPointList) GetItems ¶
func (l *ContactPointList) GetItems() []resource.Managed
GetItems of this ContactPointList.
type ContactPointObservation ¶
type ContactPointObservation struct { // (Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema) // A contact point that sends notifications to other Alertmanager instances. Alertmanager []AlertmanagerObservation `json:"alertmanager,omitempty" tf:"alertmanager,omitempty"` // (Block Set) A contact point that sends notifications to DingDing. (see below for nested schema) // A contact point that sends notifications to DingDing. Dingding []DingdingObservation `json:"dingding,omitempty" tf:"dingding,omitempty"` // Defaults to false. Defaults to `false`. DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // (Block Set) A contact point that sends notifications as Discord messages (see below for nested schema) // A contact point that sends notifications as Discord messages Discord []DiscordObservation `json:"discord,omitempty" tf:"discord,omitempty"` // (Block Set) A contact point that sends notifications to an email address. (see below for nested schema) // A contact point that sends notifications to an email address. Email []EmailObservation `json:"email,omitempty" tf:"email,omitempty"` // (Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema) // A contact point that sends notifications to Google Chat. Googlechat []GooglechatObservation `json:"googlechat,omitempty" tf:"googlechat,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema) // A contact point that publishes notifications to Apache Kafka topics. Kafka []KafkaObservation `json:"kafka,omitempty" tf:"kafka,omitempty"` // (Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema) // A contact point that sends notifications to LINE.me. Line []LineObservation `json:"line,omitempty" tf:"line,omitempty"` // (String) The name of the contact point. // The name of the contact point. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Call. (see below for nested schema) // A contact point that sends notifications to Grafana On-Call. Oncall []OncallObservation `json:"oncall,omitempty" tf:"oncall,omitempty"` // (Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema) // A contact point that sends notifications to OpsGenie. Opsgenie []OpsgenieObservation `json:"opsgenie,omitempty" tf:"opsgenie,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema) // A contact point that sends notifications to PagerDuty. Pagerduty []PagerdutyObservation `json:"pagerduty,omitempty" tf:"pagerduty,omitempty"` // (Block Set) A contact point that sends notifications to Pushover. (see below for nested schema) // A contact point that sends notifications to Pushover. Pushover []PushoverObservation `json:"pushover,omitempty" tf:"pushover,omitempty"` // (Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema) // A contact point that sends notifications to SensuGo. Sensugo []SensugoObservation `json:"sensugo,omitempty" tf:"sensugo,omitempty"` // (Block Set) A contact point that sends notifications to Slack. (see below for nested schema) // A contact point that sends notifications to Slack. Slack []SlackObservation `json:"slack,omitempty" tf:"slack,omitempty"` // (Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema) // A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. Sns []SnsObservation `json:"sns,omitempty" tf:"sns,omitempty"` // (Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema) // A contact point that sends notifications to Microsoft Teams. Teams []TeamsObservation `json:"teams,omitempty" tf:"teams,omitempty"` // (Block Set) A contact point that sends notifications to Telegram. (see below for nested schema) // A contact point that sends notifications to Telegram. Telegram []TelegramObservation `json:"telegram,omitempty" tf:"telegram,omitempty"` // (Block Set) A contact point that sends notifications to Threema. (see below for nested schema) // A contact point that sends notifications to Threema. Threema []ThreemaObservation `json:"threema,omitempty" tf:"threema,omitempty"` // (Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema) // A contact point that sends notifications to VictorOps (now known as Splunk OnCall). Victorops []VictoropsObservation `json:"victorops,omitempty" tf:"victorops,omitempty"` // (Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema) // A contact point that sends notifications to Cisco Webex. Webex []WebexObservation `json:"webex,omitempty" tf:"webex,omitempty"` // (Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema) // A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config Webhook []WebhookObservation `json:"webhook,omitempty" tf:"webhook,omitempty"` // (Block Set) A contact point that sends notifications to WeCom. (see below for nested schema) // A contact point that sends notifications to WeCom. Wecom []WecomObservation `json:"wecom,omitempty" tf:"wecom,omitempty"` }
func (*ContactPointObservation) DeepCopy ¶
func (in *ContactPointObservation) DeepCopy() *ContactPointObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactPointObservation.
func (*ContactPointObservation) DeepCopyInto ¶
func (in *ContactPointObservation) DeepCopyInto(out *ContactPointObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactPointParameters ¶
type ContactPointParameters struct { // (Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema) // A contact point that sends notifications to other Alertmanager instances. // +kubebuilder:validation:Optional Alertmanager []AlertmanagerParameters `json:"alertmanager,omitempty" tf:"alertmanager,omitempty"` // (Block Set) A contact point that sends notifications to DingDing. (see below for nested schema) // A contact point that sends notifications to DingDing. // +kubebuilder:validation:Optional Dingding []DingdingParameters `json:"dingding,omitempty" tf:"dingding,omitempty"` // Defaults to false. Defaults to `false`. // +kubebuilder:validation:Optional DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // (Block Set) A contact point that sends notifications as Discord messages (see below for nested schema) // A contact point that sends notifications as Discord messages // +kubebuilder:validation:Optional Discord []DiscordParameters `json:"discord,omitempty" tf:"discord,omitempty"` // (Block Set) A contact point that sends notifications to an email address. (see below for nested schema) // A contact point that sends notifications to an email address. // +kubebuilder:validation:Optional Email []EmailParameters `json:"email,omitempty" tf:"email,omitempty"` // (Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema) // A contact point that sends notifications to Google Chat. // +kubebuilder:validation:Optional Googlechat []GooglechatParameters `json:"googlechat,omitempty" tf:"googlechat,omitempty"` // (Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema) // A contact point that publishes notifications to Apache Kafka topics. // +kubebuilder:validation:Optional Kafka []KafkaParameters `json:"kafka,omitempty" tf:"kafka,omitempty"` // (Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema) // A contact point that sends notifications to LINE.me. // +kubebuilder:validation:Optional Line []LineParameters `json:"line,omitempty" tf:"line,omitempty"` // (String) The name of the contact point. // The name of the contact point. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // Call. (see below for nested schema) // A contact point that sends notifications to Grafana On-Call. // +kubebuilder:validation:Optional Oncall []OncallParameters `json:"oncall,omitempty" tf:"oncall,omitempty"` // (Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema) // A contact point that sends notifications to OpsGenie. // +kubebuilder:validation:Optional Opsgenie []OpsgenieParameters `json:"opsgenie,omitempty" tf:"opsgenie,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema) // A contact point that sends notifications to PagerDuty. // +kubebuilder:validation:Optional Pagerduty []PagerdutyParameters `json:"pagerduty,omitempty" tf:"pagerduty,omitempty"` // (Block Set) A contact point that sends notifications to Pushover. (see below for nested schema) // A contact point that sends notifications to Pushover. // +kubebuilder:validation:Optional Pushover []PushoverParameters `json:"pushover,omitempty" tf:"pushover,omitempty"` // (Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema) // A contact point that sends notifications to SensuGo. // +kubebuilder:validation:Optional Sensugo []SensugoParameters `json:"sensugo,omitempty" tf:"sensugo,omitempty"` // (Block Set) A contact point that sends notifications to Slack. (see below for nested schema) // A contact point that sends notifications to Slack. // +kubebuilder:validation:Optional Slack []SlackParameters `json:"slack,omitempty" tf:"slack,omitempty"` // (Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema) // A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. // +kubebuilder:validation:Optional Sns []SnsParameters `json:"sns,omitempty" tf:"sns,omitempty"` // (Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema) // A contact point that sends notifications to Microsoft Teams. // +kubebuilder:validation:Optional Teams []TeamsParameters `json:"teams,omitempty" tf:"teams,omitempty"` // (Block Set) A contact point that sends notifications to Telegram. (see below for nested schema) // A contact point that sends notifications to Telegram. // +kubebuilder:validation:Optional Telegram []TelegramParameters `json:"telegram,omitempty" tf:"telegram,omitempty"` // (Block Set) A contact point that sends notifications to Threema. (see below for nested schema) // A contact point that sends notifications to Threema. // +kubebuilder:validation:Optional Threema []ThreemaParameters `json:"threema,omitempty" tf:"threema,omitempty"` // (Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema) // A contact point that sends notifications to VictorOps (now known as Splunk OnCall). // +kubebuilder:validation:Optional Victorops []VictoropsParameters `json:"victorops,omitempty" tf:"victorops,omitempty"` // (Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema) // A contact point that sends notifications to Cisco Webex. // +kubebuilder:validation:Optional Webex []WebexParameters `json:"webex,omitempty" tf:"webex,omitempty"` // (Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema) // A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config // +kubebuilder:validation:Optional Webhook []WebhookParameters `json:"webhook,omitempty" tf:"webhook,omitempty"` // (Block Set) A contact point that sends notifications to WeCom. (see below for nested schema) // A contact point that sends notifications to WeCom. // +kubebuilder:validation:Optional Wecom []WecomParameters `json:"wecom,omitempty" tf:"wecom,omitempty"` }
func (*ContactPointParameters) DeepCopy ¶
func (in *ContactPointParameters) DeepCopy() *ContactPointParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactPointParameters.
func (*ContactPointParameters) DeepCopyInto ¶
func (in *ContactPointParameters) DeepCopyInto(out *ContactPointParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactPointSpec ¶
type ContactPointSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ContactPointParameters `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 ContactPointInitParameters `json:"initProvider,omitempty"` }
ContactPointSpec defines the desired state of ContactPoint
func (*ContactPointSpec) DeepCopy ¶
func (in *ContactPointSpec) DeepCopy() *ContactPointSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactPointSpec.
func (*ContactPointSpec) DeepCopyInto ¶
func (in *ContactPointSpec) DeepCopyInto(out *ContactPointSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactPointStatus ¶
type ContactPointStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ContactPointObservation `json:"atProvider,omitempty"` }
ContactPointStatus defines the observed state of ContactPoint.
func (*ContactPointStatus) DeepCopy ¶
func (in *ContactPointStatus) DeepCopy() *ContactPointStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactPointStatus.
func (*ContactPointStatus) DeepCopyInto ¶
func (in *ContactPointStatus) DeepCopyInto(out *ContactPointStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataInitParameters ¶ added in v0.8.0
type DataInitParameters struct { // 100" if this stage is an expression stage. // The UID of the datasource being queried, or "-100" if this stage is an expression stage. DatasourceUID *string `json:"datasourceUid,omitempty" tf:"datasource_uid,omitempty"` // (String) Custom JSON data to send to the specified datasource when querying. // Custom JSON data to send to the specified datasource when querying. Model *string `json:"model,omitempty" tf:"model,omitempty"` // (String) An optional identifier for the type of query being executed. Defaults to “. // An optional identifier for the type of query being executed. Defaults to “. QueryType *string `json:"queryType,omitempty" tf:"query_type,omitempty"` // (String) A unique string to identify this query stage within a rule. // A unique string to identify this query stage within a rule. RefID *string `json:"refId,omitempty" tf:"ref_id,omitempty"` // (Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema) // The time range, relative to when the query is executed, across which to query. RelativeTimeRange []RelativeTimeRangeInitParameters `json:"relativeTimeRange,omitempty" tf:"relative_time_range,omitempty"` }
func (*DataInitParameters) DeepCopy ¶ added in v0.8.0
func (in *DataInitParameters) DeepCopy() *DataInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataInitParameters.
func (*DataInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *DataInitParameters) DeepCopyInto(out *DataInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataObservation ¶
type DataObservation struct { // 100" if this stage is an expression stage. // The UID of the datasource being queried, or "-100" if this stage is an expression stage. DatasourceUID *string `json:"datasourceUid,omitempty" tf:"datasource_uid,omitempty"` // (String) Custom JSON data to send to the specified datasource when querying. // Custom JSON data to send to the specified datasource when querying. Model *string `json:"model,omitempty" tf:"model,omitempty"` // (String) An optional identifier for the type of query being executed. Defaults to “. // An optional identifier for the type of query being executed. Defaults to “. QueryType *string `json:"queryType,omitempty" tf:"query_type,omitempty"` // (String) A unique string to identify this query stage within a rule. // A unique string to identify this query stage within a rule. RefID *string `json:"refId,omitempty" tf:"ref_id,omitempty"` // (Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema) // The time range, relative to when the query is executed, across which to query. RelativeTimeRange []RelativeTimeRangeObservation `json:"relativeTimeRange,omitempty" tf:"relative_time_range,omitempty"` }
func (*DataObservation) DeepCopy ¶
func (in *DataObservation) DeepCopy() *DataObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataObservation.
func (*DataObservation) DeepCopyInto ¶
func (in *DataObservation) DeepCopyInto(out *DataObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataParameters ¶
type DataParameters struct { // 100" if this stage is an expression stage. // The UID of the datasource being queried, or "-100" if this stage is an expression stage. // +kubebuilder:validation:Optional DatasourceUID *string `json:"datasourceUid" tf:"datasource_uid,omitempty"` // (String) Custom JSON data to send to the specified datasource when querying. // Custom JSON data to send to the specified datasource when querying. // +kubebuilder:validation:Optional Model *string `json:"model" tf:"model,omitempty"` // (String) An optional identifier for the type of query being executed. Defaults to “. // An optional identifier for the type of query being executed. Defaults to “. // +kubebuilder:validation:Optional QueryType *string `json:"queryType,omitempty" tf:"query_type,omitempty"` // (String) A unique string to identify this query stage within a rule. // A unique string to identify this query stage within a rule. // +kubebuilder:validation:Optional RefID *string `json:"refId" tf:"ref_id,omitempty"` // (Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema) // The time range, relative to when the query is executed, across which to query. // +kubebuilder:validation:Optional RelativeTimeRange []RelativeTimeRangeParameters `json:"relativeTimeRange" tf:"relative_time_range,omitempty"` }
func (*DataParameters) DeepCopy ¶
func (in *DataParameters) DeepCopy() *DataParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataParameters.
func (*DataParameters) DeepCopyInto ¶
func (in *DataParameters) DeepCopyInto(out *DataParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DingdingInitParameters ¶ added in v0.8.0
type DingdingInitParameters struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. Message *string `json:"message,omitempty" tf:"message,omitempty"` // either 'link' or 'actionCard' // The format of message to send - either 'link' or 'actionCard' MessageType *string `json:"messageType,omitempty" tf:"message_type,omitempty"` // (String) The templated title of the message. // The templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // The DingDing webhook URL. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*DingdingInitParameters) DeepCopy ¶ added in v0.8.0
func (in *DingdingInitParameters) DeepCopy() *DingdingInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DingdingInitParameters.
func (*DingdingInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *DingdingInitParameters) DeepCopyInto(out *DingdingInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DingdingObservation ¶
type DingdingObservation struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. Message *string `json:"message,omitempty" tf:"message,omitempty"` // either 'link' or 'actionCard' // The format of message to send - either 'link' or 'actionCard' MessageType *string `json:"messageType,omitempty" tf:"message_type,omitempty"` // (String) The templated title of the message. // The templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The URL of the Alertmanager instance. // The DingDing webhook URL. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*DingdingObservation) DeepCopy ¶
func (in *DingdingObservation) DeepCopy() *DingdingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DingdingObservation.
func (*DingdingObservation) DeepCopyInto ¶
func (in *DingdingObservation) DeepCopyInto(out *DingdingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DingdingParameters ¶
type DingdingParameters struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // either 'link' or 'actionCard' // The format of message to send - either 'link' or 'actionCard' // +kubebuilder:validation:Optional MessageType *string `json:"messageType,omitempty" tf:"message_type,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated title of the message. // The templated title of the message. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // The DingDing webhook URL. // +kubebuilder:validation:Optional URL *string `json:"url" tf:"url,omitempty"` }
func (*DingdingParameters) DeepCopy ¶
func (in *DingdingParameters) DeepCopy() *DingdingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DingdingParameters.
func (*DingdingParameters) DeepCopyInto ¶
func (in *DingdingParameters) DeepCopyInto(out *DingdingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscordInitParameters ¶ added in v0.8.0
type DiscordInitParameters struct { // (String) The URL of a custom avatar image to use. Defaults to “. // The URL of a custom avatar image to use. Defaults to “. AvatarURL *string `json:"avatarUrl,omitempty" tf:"avatar_url,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. Defaults to “. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated title of the message. // The templated content of the title. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (Boolean) Whether to use the bot account's plain username instead of "Grafana." Defaults to false. // Whether to use the bot account's plain username instead of "Grafana." Defaults to `false`. UseDiscordUsername *bool `json:"useDiscordUsername,omitempty" tf:"use_discord_username,omitempty"` }
func (*DiscordInitParameters) DeepCopy ¶ added in v0.8.0
func (in *DiscordInitParameters) DeepCopy() *DiscordInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscordInitParameters.
func (*DiscordInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *DiscordInitParameters) DeepCopyInto(out *DiscordInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscordObservation ¶
type DiscordObservation struct { // (String) The URL of a custom avatar image to use. Defaults to “. // The URL of a custom avatar image to use. Defaults to “. AvatarURL *string `json:"avatarUrl,omitempty" tf:"avatar_url,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. Defaults to “. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated title of the message. // The templated content of the title. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (Boolean) Whether to use the bot account's plain username instead of "Grafana." Defaults to false. // Whether to use the bot account's plain username instead of "Grafana." Defaults to `false`. UseDiscordUsername *bool `json:"useDiscordUsername,omitempty" tf:"use_discord_username,omitempty"` }
func (*DiscordObservation) DeepCopy ¶
func (in *DiscordObservation) DeepCopy() *DiscordObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscordObservation.
func (*DiscordObservation) DeepCopyInto ¶
func (in *DiscordObservation) DeepCopyInto(out *DiscordObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscordParameters ¶
type DiscordParameters struct { // (String) The URL of a custom avatar image to use. Defaults to “. // The URL of a custom avatar image to use. Defaults to “. // +kubebuilder:validation:Optional AvatarURL *string `json:"avatarUrl,omitempty" tf:"avatar_url,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. Defaults to “. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated title of the message. // The templated content of the title. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // The discord webhook URL. // +kubebuilder:validation:Required URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"` // (Boolean) Whether to use the bot account's plain username instead of "Grafana." Defaults to false. // Whether to use the bot account's plain username instead of "Grafana." Defaults to `false`. // +kubebuilder:validation:Optional UseDiscordUsername *bool `json:"useDiscordUsername,omitempty" tf:"use_discord_username,omitempty"` }
func (*DiscordParameters) DeepCopy ¶
func (in *DiscordParameters) DeepCopy() *DiscordParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscordParameters.
func (*DiscordParameters) DeepCopyInto ¶
func (in *DiscordParameters) DeepCopyInto(out *DiscordParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmailInitParameters ¶ added in v0.8.0
type EmailInitParameters struct { // (List of String) The addresses to send emails to. // The addresses to send emails to. Addresses []*string `json:"addresses,omitempty" tf:"addresses,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the email. Defaults to “. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Boolean) Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to false. // Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`. SingleEmail *bool `json:"singleEmail,omitempty" tf:"single_email,omitempty"` // (String) The templated subject line of the email. Defaults to “. // The templated subject line of the email. Defaults to “. Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` }
func (*EmailInitParameters) DeepCopy ¶ added in v0.8.0
func (in *EmailInitParameters) DeepCopy() *EmailInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailInitParameters.
func (*EmailInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *EmailInitParameters) DeepCopyInto(out *EmailInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmailObservation ¶
type EmailObservation struct { // (List of String) The addresses to send emails to. // The addresses to send emails to. Addresses []*string `json:"addresses,omitempty" tf:"addresses,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the email. Defaults to “. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Boolean) Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to false. // Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`. SingleEmail *bool `json:"singleEmail,omitempty" tf:"single_email,omitempty"` // (String) The templated subject line of the email. Defaults to “. // The templated subject line of the email. Defaults to “. Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*EmailObservation) DeepCopy ¶
func (in *EmailObservation) DeepCopy() *EmailObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailObservation.
func (*EmailObservation) DeepCopyInto ¶
func (in *EmailObservation) DeepCopyInto(out *EmailObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmailParameters ¶
type EmailParameters struct { // (List of String) The addresses to send emails to. // The addresses to send emails to. // +kubebuilder:validation:Optional Addresses []*string `json:"addresses" tf:"addresses,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the email. Defaults to “. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (Boolean) Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to false. // Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`. // +kubebuilder:validation:Optional SingleEmail *bool `json:"singleEmail,omitempty" tf:"single_email,omitempty"` // (String) The templated subject line of the email. Defaults to “. // The templated subject line of the email. Defaults to “. // +kubebuilder:validation:Optional Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` }
func (*EmailParameters) DeepCopy ¶
func (in *EmailParameters) DeepCopy() *EmailParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailParameters.
func (*EmailParameters) DeepCopyInto ¶
func (in *EmailParameters) DeepCopyInto(out *EmailParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GooglechatInitParameters ¶ added in v0.8.0
type GooglechatInitParameters struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated title of the message. // The templated content of the title. Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*GooglechatInitParameters) DeepCopy ¶ added in v0.8.0
func (in *GooglechatInitParameters) DeepCopy() *GooglechatInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GooglechatInitParameters.
func (*GooglechatInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *GooglechatInitParameters) DeepCopyInto(out *GooglechatInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GooglechatObservation ¶
type GooglechatObservation struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated title of the message. // The templated content of the title. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*GooglechatObservation) DeepCopy ¶
func (in *GooglechatObservation) DeepCopy() *GooglechatObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GooglechatObservation.
func (*GooglechatObservation) DeepCopyInto ¶
func (in *GooglechatObservation) DeepCopyInto(out *GooglechatObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GooglechatParameters ¶
type GooglechatParameters struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated title of the message. // The templated content of the title. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // The Google Chat webhook URL. // +kubebuilder:validation:Required URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"` }
func (*GooglechatParameters) DeepCopy ¶
func (in *GooglechatParameters) DeepCopy() *GooglechatParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GooglechatParameters.
func (*GooglechatParameters) DeepCopyInto ¶
func (in *GooglechatParameters) DeepCopyInto(out *GooglechatParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntervalsInitParameters ¶ added in v0.8.0
type IntervalsInitParameters struct { // 31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1". // An inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1". DaysOfMonth []*string `json:"daysOfMonth,omitempty" tf:"days_of_month,omitempty"` // (String) Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York" // Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York" Location *string `json:"location,omitempty" tf:"location,omitempty"` // (List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august". // An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august". Months []*string `json:"months,omitempty" tf:"months,omitempty"` // (Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema) // The time ranges, represented in minutes, during which to mute in a given day. Times []TimesInitParameters `json:"times,omitempty" tf:"times,omitempty"` // (List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday". // An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday". Weekdays []*string `json:"weekdays,omitempty" tf:"weekdays,omitempty"` // (List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026". // A positive inclusive range of years, e.g. "2030" or "2025:2026". Years []*string `json:"years,omitempty" tf:"years,omitempty"` }
func (*IntervalsInitParameters) DeepCopy ¶ added in v0.8.0
func (in *IntervalsInitParameters) DeepCopy() *IntervalsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntervalsInitParameters.
func (*IntervalsInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *IntervalsInitParameters) DeepCopyInto(out *IntervalsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntervalsObservation ¶
type IntervalsObservation struct { // 31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1". // An inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1". DaysOfMonth []*string `json:"daysOfMonth,omitempty" tf:"days_of_month,omitempty"` // (String) Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York" // Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York" Location *string `json:"location,omitempty" tf:"location,omitempty"` // (List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august". // An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august". Months []*string `json:"months,omitempty" tf:"months,omitempty"` // (Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema) // The time ranges, represented in minutes, during which to mute in a given day. Times []TimesObservation `json:"times,omitempty" tf:"times,omitempty"` // (List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday". // An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday". Weekdays []*string `json:"weekdays,omitempty" tf:"weekdays,omitempty"` // (List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026". // A positive inclusive range of years, e.g. "2030" or "2025:2026". Years []*string `json:"years,omitempty" tf:"years,omitempty"` }
func (*IntervalsObservation) DeepCopy ¶
func (in *IntervalsObservation) DeepCopy() *IntervalsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntervalsObservation.
func (*IntervalsObservation) DeepCopyInto ¶
func (in *IntervalsObservation) DeepCopyInto(out *IntervalsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntervalsParameters ¶
type IntervalsParameters struct { // 31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1". // An inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1". // +kubebuilder:validation:Optional DaysOfMonth []*string `json:"daysOfMonth,omitempty" tf:"days_of_month,omitempty"` // (String) Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York" // Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York" // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // (List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august". // An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august". // +kubebuilder:validation:Optional Months []*string `json:"months,omitempty" tf:"months,omitempty"` // (Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema) // The time ranges, represented in minutes, during which to mute in a given day. // +kubebuilder:validation:Optional Times []TimesParameters `json:"times,omitempty" tf:"times,omitempty"` // (List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday". // An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday". // +kubebuilder:validation:Optional Weekdays []*string `json:"weekdays,omitempty" tf:"weekdays,omitempty"` // (List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026". // A positive inclusive range of years, e.g. "2030" or "2025:2026". // +kubebuilder:validation:Optional Years []*string `json:"years,omitempty" tf:"years,omitempty"` }
func (*IntervalsParameters) DeepCopy ¶
func (in *IntervalsParameters) DeepCopy() *IntervalsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntervalsParameters.
func (*IntervalsParameters) DeepCopyInto ¶
func (in *IntervalsParameters) DeepCopyInto(out *IntervalsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaInitParameters ¶ added in v0.8.0
type KafkaInitParameters struct { // (String) The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to v2. // The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to `v2`. APIVersion *string `json:"apiVersion,omitempty" tf:"api_version,omitempty"` // (String) The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3' // The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3' ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // (String) The templated description of the Kafka message. // The templated description of the Kafka message. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) The templated details to include with the message. // The templated details to include with the message. Details *string `json:"details,omitempty" tf:"details,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The name of the Kafka topic to publish to. // The name of the Kafka topic to publish to. Topic *string `json:"topic,omitempty" tf:"topic,omitempty"` // (String) The user name to use when making a call to the Kafka REST Proxy // The user name to use when making a call to the Kafka REST Proxy Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*KafkaInitParameters) DeepCopy ¶ added in v0.8.0
func (in *KafkaInitParameters) DeepCopy() *KafkaInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaInitParameters.
func (*KafkaInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *KafkaInitParameters) DeepCopyInto(out *KafkaInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaObservation ¶
type KafkaObservation struct { // (String) The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to v2. // The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to `v2`. APIVersion *string `json:"apiVersion,omitempty" tf:"api_version,omitempty"` // (String) The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3' // The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3' ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // (String) The templated description of the Kafka message. // The templated description of the Kafka message. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) The templated details to include with the message. // The templated details to include with the message. Details *string `json:"details,omitempty" tf:"details,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The name of the Kafka topic to publish to. // The name of the Kafka topic to publish to. Topic *string `json:"topic,omitempty" tf:"topic,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The user name to use when making a call to the Kafka REST Proxy // The user name to use when making a call to the Kafka REST Proxy Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*KafkaObservation) DeepCopy ¶
func (in *KafkaObservation) DeepCopy() *KafkaObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaObservation.
func (*KafkaObservation) DeepCopyInto ¶
func (in *KafkaObservation) DeepCopyInto(out *KafkaObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaParameters ¶
type KafkaParameters struct { // (String) The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to v2. // The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to `v2`. // +kubebuilder:validation:Optional APIVersion *string `json:"apiVersion,omitempty" tf:"api_version,omitempty"` // (String) The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3' // The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3' // +kubebuilder:validation:Optional ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // (String) The templated description of the Kafka message. // The templated description of the Kafka message. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) The templated details to include with the message. // The templated details to include with the message. // +kubebuilder:validation:Optional Details *string `json:"details,omitempty" tf:"details,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String, Sensitive) The password to use when making a call to the Kafka REST Proxy // The password to use when making a call to the Kafka REST Proxy // +kubebuilder:validation:Optional PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // (String, Sensitive) The URL of the Kafka REST proxy to send requests to. // The URL of the Kafka REST proxy to send requests to. // +kubebuilder:validation:Required RestProxyURLSecretRef v1.SecretKeySelector `json:"restProxyUrlSecretRef" tf:"-"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The name of the Kafka topic to publish to. // The name of the Kafka topic to publish to. // +kubebuilder:validation:Optional Topic *string `json:"topic" tf:"topic,omitempty"` // (String) The user name to use when making a call to the Kafka REST Proxy // The user name to use when making a call to the Kafka REST Proxy // +kubebuilder:validation:Optional Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*KafkaParameters) DeepCopy ¶
func (in *KafkaParameters) DeepCopy() *KafkaParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaParameters.
func (*KafkaParameters) DeepCopyInto ¶
func (in *KafkaParameters) DeepCopyInto(out *KafkaParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LineInitParameters ¶ added in v0.9.0
type LineInitParameters struct { // (String) The templated description of the Kafka message. // The templated description of the message. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated title of the message. // The templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*LineInitParameters) DeepCopy ¶ added in v0.9.0
func (in *LineInitParameters) DeepCopy() *LineInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LineInitParameters.
func (*LineInitParameters) DeepCopyInto ¶ added in v0.9.0
func (in *LineInitParameters) DeepCopyInto(out *LineInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LineObservation ¶ added in v0.9.0
type LineObservation struct { // (String) The templated description of the Kafka message. // The templated description of the message. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated title of the message. // The templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*LineObservation) DeepCopy ¶ added in v0.9.0
func (in *LineObservation) DeepCopy() *LineObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LineObservation.
func (*LineObservation) DeepCopyInto ¶ added in v0.9.0
func (in *LineObservation) DeepCopyInto(out *LineObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LineParameters ¶ added in v0.9.0
type LineParameters struct { // (String) The templated description of the Kafka message. // The templated description of the message. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated title of the message. // The templated title of the message. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String, Sensitive) The bearer token used to authorize the client. // The bearer token used to authorize the client. // +kubebuilder:validation:Required TokenSecretRef v1.SecretKeySelector `json:"tokenSecretRef" tf:"-"` }
func (*LineParameters) DeepCopy ¶ added in v0.9.0
func (in *LineParameters) DeepCopy() *LineParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LineParameters.
func (*LineParameters) DeepCopyInto ¶ added in v0.9.0
func (in *LineParameters) DeepCopyInto(out *LineParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatcherInitParameters ¶ added in v0.8.0
type MatcherInitParameters struct { // (String) The name of the label to match against. // The name of the label to match against. Label *string `json:"label,omitempty" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. Match *string `json:"match,omitempty" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*MatcherInitParameters) DeepCopy ¶ added in v0.8.0
func (in *MatcherInitParameters) DeepCopy() *MatcherInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatcherInitParameters.
func (*MatcherInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *MatcherInitParameters) DeepCopyInto(out *MatcherInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatcherObservation ¶
type MatcherObservation struct { // (String) The name of the label to match against. // The name of the label to match against. Label *string `json:"label,omitempty" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. Match *string `json:"match,omitempty" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*MatcherObservation) DeepCopy ¶
func (in *MatcherObservation) DeepCopy() *MatcherObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatcherObservation.
func (*MatcherObservation) DeepCopyInto ¶
func (in *MatcherObservation) DeepCopyInto(out *MatcherObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatcherParameters ¶
type MatcherParameters struct { // (String) The name of the label to match against. // The name of the label to match against. // +kubebuilder:validation:Optional Label *string `json:"label" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. // +kubebuilder:validation:Optional Match *string `json:"match" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*MatcherParameters) DeepCopy ¶
func (in *MatcherParameters) DeepCopy() *MatcherParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatcherParameters.
func (*MatcherParameters) DeepCopyInto ¶
func (in *MatcherParameters) DeepCopyInto(out *MatcherParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessageTemplate ¶
type MessageTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.template) || (has(self.initProvider) && has(self.initProvider.template))",message="spec.forProvider.template is a required parameter" Spec MessageTemplateSpec `json:"spec"` Status MessageTemplateStatus `json:"status,omitempty"` }
MessageTemplate is the Schema for the MessageTemplates API. Manages Grafana Alerting message templates. Official documentation https://grafana.com/docs/grafana/latest/alerting/manage-notifications/template-notifications/create-notification-templates/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/alerting_provisioning/#templates This resource requires Grafana 9.1.0 or later. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*MessageTemplate) DeepCopy ¶
func (in *MessageTemplate) DeepCopy() *MessageTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplate.
func (*MessageTemplate) DeepCopyInto ¶
func (in *MessageTemplate) DeepCopyInto(out *MessageTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MessageTemplate) DeepCopyObject ¶
func (in *MessageTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MessageTemplate) GetCondition ¶
func (mg *MessageTemplate) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this MessageTemplate.
func (*MessageTemplate) GetConnectionDetailsMapping ¶
func (tr *MessageTemplate) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this MessageTemplate
func (*MessageTemplate) GetDeletionPolicy ¶
func (mg *MessageTemplate) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this MessageTemplate.
func (*MessageTemplate) GetID ¶
func (tr *MessageTemplate) GetID() string
GetID returns ID of underlying Terraform resource of this MessageTemplate
func (*MessageTemplate) GetInitParameters ¶ added in v0.8.0
func (tr *MessageTemplate) GetInitParameters() (map[string]any, error)
GetInitParameters of this MessageTemplate
func (*MessageTemplate) GetManagementPolicies ¶ added in v0.8.0
func (mg *MessageTemplate) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this MessageTemplate.
func (*MessageTemplate) GetMergedParameters ¶ added in v0.10.1
func (tr *MessageTemplate) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this MessageTemplate
func (*MessageTemplate) GetObservation ¶
func (tr *MessageTemplate) GetObservation() (map[string]any, error)
GetObservation of this MessageTemplate
func (*MessageTemplate) GetParameters ¶
func (tr *MessageTemplate) GetParameters() (map[string]any, error)
GetParameters of this MessageTemplate
func (*MessageTemplate) GetProviderConfigReference ¶
func (mg *MessageTemplate) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this MessageTemplate.
func (*MessageTemplate) GetPublishConnectionDetailsTo ¶
func (mg *MessageTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this MessageTemplate.
func (*MessageTemplate) GetTerraformResourceType ¶
func (mg *MessageTemplate) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this MessageTemplate
func (*MessageTemplate) GetTerraformSchemaVersion ¶
func (tr *MessageTemplate) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*MessageTemplate) GetWriteConnectionSecretToReference ¶
func (mg *MessageTemplate) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this MessageTemplate.
func (*MessageTemplate) Hub ¶ added in v0.10.1
func (tr *MessageTemplate) Hub()
Hub marks this type as a conversion hub.
func (*MessageTemplate) LateInitialize ¶
func (tr *MessageTemplate) LateInitialize(attrs []byte) (bool, error)
LateInitialize this MessageTemplate using its observed tfState. returns True if there are any spec changes for the resource.
func (*MessageTemplate) ResolveReferences ¶ added in v0.9.0
ResolveReferences of this MessageTemplate.
func (*MessageTemplate) SetConditions ¶
func (mg *MessageTemplate) SetConditions(c ...xpv1.Condition)
SetConditions of this MessageTemplate.
func (*MessageTemplate) SetDeletionPolicy ¶
func (mg *MessageTemplate) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this MessageTemplate.
func (*MessageTemplate) SetManagementPolicies ¶ added in v0.8.0
func (mg *MessageTemplate) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this MessageTemplate.
func (*MessageTemplate) SetObservation ¶
func (tr *MessageTemplate) SetObservation(obs map[string]any) error
SetObservation for this MessageTemplate
func (*MessageTemplate) SetParameters ¶
func (tr *MessageTemplate) SetParameters(params map[string]any) error
SetParameters for this MessageTemplate
func (*MessageTemplate) SetProviderConfigReference ¶
func (mg *MessageTemplate) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this MessageTemplate.
func (*MessageTemplate) SetPublishConnectionDetailsTo ¶
func (mg *MessageTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this MessageTemplate.
func (*MessageTemplate) SetWriteConnectionSecretToReference ¶
func (mg *MessageTemplate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this MessageTemplate.
type MessageTemplateInitParameters ¶ added in v0.8.0
type MessageTemplateInitParameters struct { // Defaults to false. Defaults to `false`. DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // (String) The name of the message template. // The name of the message template. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The content of the message template. // The content of the message template. Template *string `json:"template,omitempty" tf:"template,omitempty"` }
func (*MessageTemplateInitParameters) DeepCopy ¶ added in v0.8.0
func (in *MessageTemplateInitParameters) DeepCopy() *MessageTemplateInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplateInitParameters.
func (*MessageTemplateInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *MessageTemplateInitParameters) DeepCopyInto(out *MessageTemplateInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessageTemplateList ¶
type MessageTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MessageTemplate `json:"items"` }
MessageTemplateList contains a list of MessageTemplates
func (*MessageTemplateList) DeepCopy ¶
func (in *MessageTemplateList) DeepCopy() *MessageTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplateList.
func (*MessageTemplateList) DeepCopyInto ¶
func (in *MessageTemplateList) DeepCopyInto(out *MessageTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MessageTemplateList) DeepCopyObject ¶
func (in *MessageTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MessageTemplateList) GetItems ¶
func (l *MessageTemplateList) GetItems() []resource.Managed
GetItems of this MessageTemplateList.
type MessageTemplateObservation ¶
type MessageTemplateObservation struct { // Defaults to false. Defaults to `false`. DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The name of the message template. // The name of the message template. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (String) The content of the message template. // The content of the message template. Template *string `json:"template,omitempty" tf:"template,omitempty"` }
func (*MessageTemplateObservation) DeepCopy ¶
func (in *MessageTemplateObservation) DeepCopy() *MessageTemplateObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplateObservation.
func (*MessageTemplateObservation) DeepCopyInto ¶
func (in *MessageTemplateObservation) DeepCopyInto(out *MessageTemplateObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessageTemplateParameters ¶
type MessageTemplateParameters struct { // Defaults to false. Defaults to `false`. // +kubebuilder:validation:Optional DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // (String) The name of the message template. // The name of the message template. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The content of the message template. // The content of the message template. // +kubebuilder:validation:Optional Template *string `json:"template,omitempty" tf:"template,omitempty"` }
func (*MessageTemplateParameters) DeepCopy ¶
func (in *MessageTemplateParameters) DeepCopy() *MessageTemplateParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplateParameters.
func (*MessageTemplateParameters) DeepCopyInto ¶
func (in *MessageTemplateParameters) DeepCopyInto(out *MessageTemplateParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessageTemplateSpec ¶
type MessageTemplateSpec struct { v1.ResourceSpec `json:",inline"` ForProvider MessageTemplateParameters `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 MessageTemplateInitParameters `json:"initProvider,omitempty"` }
MessageTemplateSpec defines the desired state of MessageTemplate
func (*MessageTemplateSpec) DeepCopy ¶
func (in *MessageTemplateSpec) DeepCopy() *MessageTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplateSpec.
func (*MessageTemplateSpec) DeepCopyInto ¶
func (in *MessageTemplateSpec) DeepCopyInto(out *MessageTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessageTemplateStatus ¶
type MessageTemplateStatus struct { v1.ResourceStatus `json:",inline"` AtProvider MessageTemplateObservation `json:"atProvider,omitempty"` }
MessageTemplateStatus defines the observed state of MessageTemplate.
func (*MessageTemplateStatus) DeepCopy ¶
func (in *MessageTemplateStatus) DeepCopy() *MessageTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplateStatus.
func (*MessageTemplateStatus) DeepCopyInto ¶
func (in *MessageTemplateStatus) DeepCopyInto(out *MessageTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MuteTiming ¶
type MuteTiming 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 MuteTimingSpec `json:"spec"` Status MuteTimingStatus `json:"status,omitempty"` }
MuteTiming is the Schema for the MuteTimings API. Manages Grafana Alerting mute timings. Official documentation https://grafana.com/docs/grafana/latest/alerting/manage-notifications/mute-timings/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/alerting_provisioning/#mute-timings This resource requires Grafana 9.1.0 or later. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*MuteTiming) DeepCopy ¶
func (in *MuteTiming) DeepCopy() *MuteTiming
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MuteTiming.
func (*MuteTiming) DeepCopyInto ¶
func (in *MuteTiming) DeepCopyInto(out *MuteTiming)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MuteTiming) DeepCopyObject ¶
func (in *MuteTiming) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MuteTiming) GetCondition ¶
func (mg *MuteTiming) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this MuteTiming.
func (*MuteTiming) GetConnectionDetailsMapping ¶
func (tr *MuteTiming) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this MuteTiming
func (*MuteTiming) GetDeletionPolicy ¶
func (mg *MuteTiming) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this MuteTiming.
func (*MuteTiming) GetID ¶
func (tr *MuteTiming) GetID() string
GetID returns ID of underlying Terraform resource of this MuteTiming
func (*MuteTiming) GetInitParameters ¶ added in v0.8.0
func (tr *MuteTiming) GetInitParameters() (map[string]any, error)
GetInitParameters of this MuteTiming
func (*MuteTiming) GetManagementPolicies ¶ added in v0.8.0
func (mg *MuteTiming) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this MuteTiming.
func (*MuteTiming) GetMergedParameters ¶ added in v0.10.1
func (tr *MuteTiming) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this MuteTiming
func (*MuteTiming) GetObservation ¶
func (tr *MuteTiming) GetObservation() (map[string]any, error)
GetObservation of this MuteTiming
func (*MuteTiming) GetParameters ¶
func (tr *MuteTiming) GetParameters() (map[string]any, error)
GetParameters of this MuteTiming
func (*MuteTiming) GetProviderConfigReference ¶
func (mg *MuteTiming) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this MuteTiming.
func (*MuteTiming) GetPublishConnectionDetailsTo ¶
func (mg *MuteTiming) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this MuteTiming.
func (*MuteTiming) GetTerraformResourceType ¶
func (mg *MuteTiming) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this MuteTiming
func (*MuteTiming) GetTerraformSchemaVersion ¶
func (tr *MuteTiming) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*MuteTiming) GetWriteConnectionSecretToReference ¶
func (mg *MuteTiming) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this MuteTiming.
func (*MuteTiming) Hub ¶ added in v0.10.1
func (tr *MuteTiming) Hub()
Hub marks this type as a conversion hub.
func (*MuteTiming) LateInitialize ¶
func (tr *MuteTiming) LateInitialize(attrs []byte) (bool, error)
LateInitialize this MuteTiming using its observed tfState. returns True if there are any spec changes for the resource.
func (*MuteTiming) ResolveReferences ¶ added in v0.10.0
ResolveReferences of this MuteTiming.
func (*MuteTiming) SetConditions ¶
func (mg *MuteTiming) SetConditions(c ...xpv1.Condition)
SetConditions of this MuteTiming.
func (*MuteTiming) SetDeletionPolicy ¶
func (mg *MuteTiming) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this MuteTiming.
func (*MuteTiming) SetManagementPolicies ¶ added in v0.8.0
func (mg *MuteTiming) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this MuteTiming.
func (*MuteTiming) SetObservation ¶
func (tr *MuteTiming) SetObservation(obs map[string]any) error
SetObservation for this MuteTiming
func (*MuteTiming) SetParameters ¶
func (tr *MuteTiming) SetParameters(params map[string]any) error
SetParameters for this MuteTiming
func (*MuteTiming) SetProviderConfigReference ¶
func (mg *MuteTiming) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this MuteTiming.
func (*MuteTiming) SetPublishConnectionDetailsTo ¶
func (mg *MuteTiming) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this MuteTiming.
func (*MuteTiming) SetWriteConnectionSecretToReference ¶
func (mg *MuteTiming) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this MuteTiming.
type MuteTimingInitParameters ¶ added in v0.8.0
type MuteTimingInitParameters struct { // (Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema) // The time intervals at which to mute notifications. Use an empty block to mute all the time. Intervals []IntervalsInitParameters `json:"intervals,omitempty" tf:"intervals,omitempty"` // (String) The name of the mute timing. // The name of the mute timing. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` }
func (*MuteTimingInitParameters) DeepCopy ¶ added in v0.8.0
func (in *MuteTimingInitParameters) DeepCopy() *MuteTimingInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MuteTimingInitParameters.
func (*MuteTimingInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *MuteTimingInitParameters) DeepCopyInto(out *MuteTimingInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MuteTimingList ¶
type MuteTimingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MuteTiming `json:"items"` }
MuteTimingList contains a list of MuteTimings
func (*MuteTimingList) DeepCopy ¶
func (in *MuteTimingList) DeepCopy() *MuteTimingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MuteTimingList.
func (*MuteTimingList) DeepCopyInto ¶
func (in *MuteTimingList) DeepCopyInto(out *MuteTimingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MuteTimingList) DeepCopyObject ¶
func (in *MuteTimingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MuteTimingList) GetItems ¶
func (l *MuteTimingList) GetItems() []resource.Managed
GetItems of this MuteTimingList.
type MuteTimingObservation ¶
type MuteTimingObservation struct { // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema) // The time intervals at which to mute notifications. Use an empty block to mute all the time. Intervals []IntervalsObservation `json:"intervals,omitempty" tf:"intervals,omitempty"` // (String) The name of the mute timing. // The name of the mute timing. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` }
func (*MuteTimingObservation) DeepCopy ¶
func (in *MuteTimingObservation) DeepCopy() *MuteTimingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MuteTimingObservation.
func (*MuteTimingObservation) DeepCopyInto ¶
func (in *MuteTimingObservation) DeepCopyInto(out *MuteTimingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MuteTimingParameters ¶
type MuteTimingParameters struct { // (Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema) // The time intervals at which to mute notifications. Use an empty block to mute all the time. // +kubebuilder:validation:Optional Intervals []IntervalsParameters `json:"intervals,omitempty" tf:"intervals,omitempty"` // (String) The name of the mute timing. // The name of the mute timing. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` }
func (*MuteTimingParameters) DeepCopy ¶
func (in *MuteTimingParameters) DeepCopy() *MuteTimingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MuteTimingParameters.
func (*MuteTimingParameters) DeepCopyInto ¶
func (in *MuteTimingParameters) DeepCopyInto(out *MuteTimingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MuteTimingSpec ¶
type MuteTimingSpec struct { v1.ResourceSpec `json:",inline"` ForProvider MuteTimingParameters `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 MuteTimingInitParameters `json:"initProvider,omitempty"` }
MuteTimingSpec defines the desired state of MuteTiming
func (*MuteTimingSpec) DeepCopy ¶
func (in *MuteTimingSpec) DeepCopy() *MuteTimingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MuteTimingSpec.
func (*MuteTimingSpec) DeepCopyInto ¶
func (in *MuteTimingSpec) DeepCopyInto(out *MuteTimingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MuteTimingStatus ¶
type MuteTimingStatus struct { v1.ResourceStatus `json:",inline"` AtProvider MuteTimingObservation `json:"atProvider,omitempty"` }
MuteTimingStatus defines the observed state of MuteTiming.
func (*MuteTimingStatus) DeepCopy ¶
func (in *MuteTimingStatus) DeepCopy() *MuteTimingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MuteTimingStatus.
func (*MuteTimingStatus) DeepCopyInto ¶
func (in *MuteTimingStatus) DeepCopyInto(out *MuteTimingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationPolicy ¶
type NotificationPolicy 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.groupBy) || (has(self.initProvider) && has(self.initProvider.groupBy))",message="spec.forProvider.groupBy is a required parameter" Spec NotificationPolicySpec `json:"spec"` Status NotificationPolicyStatus `json:"status,omitempty"` }
NotificationPolicy is the Schema for the NotificationPolicys API. Sets the global notification policy for Grafana. !> This resource manages the entire notification policy tree, and will overwrite any existing policies. Official documentation https://grafana.com/docs/grafana/latest/alerting/manage-notifications/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/ This resource requires Grafana 9.1.0 or later. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*NotificationPolicy) DeepCopy ¶
func (in *NotificationPolicy) DeepCopy() *NotificationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationPolicy.
func (*NotificationPolicy) DeepCopyInto ¶
func (in *NotificationPolicy) DeepCopyInto(out *NotificationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationPolicy) DeepCopyObject ¶
func (in *NotificationPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NotificationPolicy) GetCondition ¶
func (mg *NotificationPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this NotificationPolicy.
func (*NotificationPolicy) GetConnectionDetailsMapping ¶
func (tr *NotificationPolicy) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this NotificationPolicy
func (*NotificationPolicy) GetDeletionPolicy ¶
func (mg *NotificationPolicy) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this NotificationPolicy.
func (*NotificationPolicy) GetID ¶
func (tr *NotificationPolicy) GetID() string
GetID returns ID of underlying Terraform resource of this NotificationPolicy
func (*NotificationPolicy) GetInitParameters ¶ added in v0.8.0
func (tr *NotificationPolicy) GetInitParameters() (map[string]any, error)
GetInitParameters of this NotificationPolicy
func (*NotificationPolicy) GetManagementPolicies ¶ added in v0.8.0
func (mg *NotificationPolicy) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this NotificationPolicy.
func (*NotificationPolicy) GetMergedParameters ¶ added in v0.10.1
func (tr *NotificationPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this NotificationPolicy
func (*NotificationPolicy) GetObservation ¶
func (tr *NotificationPolicy) GetObservation() (map[string]any, error)
GetObservation of this NotificationPolicy
func (*NotificationPolicy) GetParameters ¶
func (tr *NotificationPolicy) GetParameters() (map[string]any, error)
GetParameters of this NotificationPolicy
func (*NotificationPolicy) GetProviderConfigReference ¶
func (mg *NotificationPolicy) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this NotificationPolicy.
func (*NotificationPolicy) GetPublishConnectionDetailsTo ¶
func (mg *NotificationPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this NotificationPolicy.
func (*NotificationPolicy) GetTerraformResourceType ¶
func (mg *NotificationPolicy) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this NotificationPolicy
func (*NotificationPolicy) GetTerraformSchemaVersion ¶
func (tr *NotificationPolicy) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*NotificationPolicy) GetWriteConnectionSecretToReference ¶
func (mg *NotificationPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this NotificationPolicy.
func (*NotificationPolicy) Hub ¶ added in v0.10.1
func (tr *NotificationPolicy) Hub()
Hub marks this type as a conversion hub.
func (*NotificationPolicy) LateInitialize ¶
func (tr *NotificationPolicy) LateInitialize(attrs []byte) (bool, error)
LateInitialize this NotificationPolicy using its observed tfState. returns True if there are any spec changes for the resource.
func (*NotificationPolicy) ResolveReferences ¶
ResolveReferences of this NotificationPolicy.
func (*NotificationPolicy) SetConditions ¶
func (mg *NotificationPolicy) SetConditions(c ...xpv1.Condition)
SetConditions of this NotificationPolicy.
func (*NotificationPolicy) SetDeletionPolicy ¶
func (mg *NotificationPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this NotificationPolicy.
func (*NotificationPolicy) SetManagementPolicies ¶ added in v0.8.0
func (mg *NotificationPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this NotificationPolicy.
func (*NotificationPolicy) SetObservation ¶
func (tr *NotificationPolicy) SetObservation(obs map[string]any) error
SetObservation for this NotificationPolicy
func (*NotificationPolicy) SetParameters ¶
func (tr *NotificationPolicy) SetParameters(params map[string]any) error
SetParameters for this NotificationPolicy
func (*NotificationPolicy) SetProviderConfigReference ¶
func (mg *NotificationPolicy) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this NotificationPolicy.
func (*NotificationPolicy) SetPublishConnectionDetailsTo ¶
func (mg *NotificationPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this NotificationPolicy.
func (*NotificationPolicy) SetWriteConnectionSecretToReference ¶
func (mg *NotificationPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this NotificationPolicy.
type NotificationPolicyInitParameters ¶ added in v0.8.0
type NotificationPolicyInitParameters struct { // (String) The default contact point to route all unmatched notifications to. // The default contact point to route all unmatched notifications to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=ContactPointRef // +crossplane:generate:reference:selectorFieldName=ContactPointSelector ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Reference to a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"` // Selector for a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"` // Defaults to false. Defaults to `false`. DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. Policy []PolicyInitParameters `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*NotificationPolicyInitParameters) DeepCopy ¶ added in v0.8.0
func (in *NotificationPolicyInitParameters) DeepCopy() *NotificationPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationPolicyInitParameters.
func (*NotificationPolicyInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *NotificationPolicyInitParameters) DeepCopyInto(out *NotificationPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationPolicyList ¶
type NotificationPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NotificationPolicy `json:"items"` }
NotificationPolicyList contains a list of NotificationPolicys
func (*NotificationPolicyList) DeepCopy ¶
func (in *NotificationPolicyList) DeepCopy() *NotificationPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationPolicyList.
func (*NotificationPolicyList) DeepCopyInto ¶
func (in *NotificationPolicyList) DeepCopyInto(out *NotificationPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationPolicyList) DeepCopyObject ¶
func (in *NotificationPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NotificationPolicyList) GetItems ¶
func (l *NotificationPolicyList) GetItems() []resource.Managed
GetItems of this NotificationPolicyList.
type NotificationPolicyObservation ¶
type NotificationPolicyObservation struct { // (String) The default contact point to route all unmatched notifications to. // The default contact point to route all unmatched notifications to. ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Defaults to false. Defaults to `false`. DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. Policy []PolicyObservation `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*NotificationPolicyObservation) DeepCopy ¶
func (in *NotificationPolicyObservation) DeepCopy() *NotificationPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationPolicyObservation.
func (*NotificationPolicyObservation) DeepCopyInto ¶
func (in *NotificationPolicyObservation) DeepCopyInto(out *NotificationPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationPolicyParameters ¶
type NotificationPolicyParameters struct { // (String) The default contact point to route all unmatched notifications to. // The default contact point to route all unmatched notifications to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=ContactPointRef // +crossplane:generate:reference:selectorFieldName=ContactPointSelector // +kubebuilder:validation:Optional ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Reference to a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"` // Selector for a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"` // Defaults to false. Defaults to `false`. // +kubebuilder:validation:Optional DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. // +kubebuilder:validation:Optional GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. // +kubebuilder:validation:Optional GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // +kubebuilder:validation:Optional GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. // +kubebuilder:validation:Optional Policy []PolicyParameters `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. // +kubebuilder:validation:Optional RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*NotificationPolicyParameters) DeepCopy ¶
func (in *NotificationPolicyParameters) DeepCopy() *NotificationPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationPolicyParameters.
func (*NotificationPolicyParameters) DeepCopyInto ¶
func (in *NotificationPolicyParameters) DeepCopyInto(out *NotificationPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationPolicySpec ¶
type NotificationPolicySpec struct { v1.ResourceSpec `json:",inline"` ForProvider NotificationPolicyParameters `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 NotificationPolicyInitParameters `json:"initProvider,omitempty"` }
NotificationPolicySpec defines the desired state of NotificationPolicy
func (*NotificationPolicySpec) DeepCopy ¶
func (in *NotificationPolicySpec) DeepCopy() *NotificationPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationPolicySpec.
func (*NotificationPolicySpec) DeepCopyInto ¶
func (in *NotificationPolicySpec) DeepCopyInto(out *NotificationPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationPolicyStatus ¶
type NotificationPolicyStatus struct { v1.ResourceStatus `json:",inline"` AtProvider NotificationPolicyObservation `json:"atProvider,omitempty"` }
NotificationPolicyStatus defines the observed state of NotificationPolicy.
func (*NotificationPolicyStatus) DeepCopy ¶
func (in *NotificationPolicyStatus) DeepCopy() *NotificationPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationPolicyStatus.
func (*NotificationPolicyStatus) DeepCopyInto ¶
func (in *NotificationPolicyStatus) DeepCopyInto(out *NotificationPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationSettingsInitParameters ¶ added in v0.13.0
type NotificationSettingsInitParameters struct { // (String) The contact point to route notifications that match this rule to. // The contact point to route notifications that match this rule to. ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*NotificationSettingsInitParameters) DeepCopy ¶ added in v0.13.0
func (in *NotificationSettingsInitParameters) DeepCopy() *NotificationSettingsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationSettingsInitParameters.
func (*NotificationSettingsInitParameters) DeepCopyInto ¶ added in v0.13.0
func (in *NotificationSettingsInitParameters) DeepCopyInto(out *NotificationSettingsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationSettingsObservation ¶ added in v0.13.0
type NotificationSettingsObservation struct { // (String) The contact point to route notifications that match this rule to. // The contact point to route notifications that match this rule to. ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*NotificationSettingsObservation) DeepCopy ¶ added in v0.13.0
func (in *NotificationSettingsObservation) DeepCopy() *NotificationSettingsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationSettingsObservation.
func (*NotificationSettingsObservation) DeepCopyInto ¶ added in v0.13.0
func (in *NotificationSettingsObservation) DeepCopyInto(out *NotificationSettingsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationSettingsParameters ¶ added in v0.13.0
type NotificationSettingsParameters struct { // (String) The contact point to route notifications that match this rule to. // The contact point to route notifications that match this rule to. // +kubebuilder:validation:Optional ContactPoint *string `json:"contactPoint" tf:"contact_point,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included. // +kubebuilder:validation:Optional GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. // +kubebuilder:validation:Optional GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // +kubebuilder:validation:Optional GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. // +kubebuilder:validation:Optional MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. // +kubebuilder:validation:Optional RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*NotificationSettingsParameters) DeepCopy ¶ added in v0.13.0
func (in *NotificationSettingsParameters) DeepCopy() *NotificationSettingsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationSettingsParameters.
func (*NotificationSettingsParameters) DeepCopyInto ¶ added in v0.13.0
func (in *NotificationSettingsParameters) DeepCopyInto(out *NotificationSettingsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OncallInitParameters ¶ added in v0.9.0
type OncallInitParameters struct { // attaches an auth header with this name. Do not use in conjunction with basic auth parameters. // Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters. AuthorizationScheme *string `json:"authorizationScheme,omitempty" tf:"authorization_scheme,omitempty"` // (String) The username component of the basic auth credentials to use. // The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used. BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The HTTP method to use in the request. Defaults to POST. // The HTTP method to use in the request. Defaults to `POST`. HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"` // (Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. // The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. MaxAlerts *float64 `json:"maxAlerts,omitempty" tf:"max_alerts,omitempty"` // (String) The templated content of the message. // Custom message. You can use template variables. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated title of the message. // Templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // The URL to send webhook requests to. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*OncallInitParameters) DeepCopy ¶ added in v0.9.0
func (in *OncallInitParameters) DeepCopy() *OncallInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OncallInitParameters.
func (*OncallInitParameters) DeepCopyInto ¶ added in v0.9.0
func (in *OncallInitParameters) DeepCopyInto(out *OncallInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OncallObservation ¶ added in v0.9.0
type OncallObservation struct { // attaches an auth header with this name. Do not use in conjunction with basic auth parameters. // Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters. AuthorizationScheme *string `json:"authorizationScheme,omitempty" tf:"authorization_scheme,omitempty"` // (String) The username component of the basic auth credentials to use. // The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used. BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The HTTP method to use in the request. Defaults to POST. // The HTTP method to use in the request. Defaults to `POST`. HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"` // (Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. // The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. MaxAlerts *float64 `json:"maxAlerts,omitempty" tf:"max_alerts,omitempty"` // (String) The templated content of the message. // Custom message. You can use template variables. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated title of the message. // Templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The URL of the Alertmanager instance. // The URL to send webhook requests to. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*OncallObservation) DeepCopy ¶ added in v0.9.0
func (in *OncallObservation) DeepCopy() *OncallObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OncallObservation.
func (*OncallObservation) DeepCopyInto ¶ added in v0.9.0
func (in *OncallObservation) DeepCopyInto(out *OncallObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OncallParameters ¶ added in v0.9.0
type OncallParameters struct { // attaches an auth header with this value. Do not use in conjunction with basic auth parameters. // Allows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters. // +kubebuilder:validation:Optional AuthorizationCredentialsSecretRef *v1.SecretKeySelector `json:"authorizationCredentialsSecretRef,omitempty" tf:"-"` // attaches an auth header with this name. Do not use in conjunction with basic auth parameters. // Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters. // +kubebuilder:validation:Optional AuthorizationScheme *string `json:"authorizationScheme,omitempty" tf:"authorization_scheme,omitempty"` // (String, Sensitive) The password component of the basic auth credentials to use. // The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used. // +kubebuilder:validation:Optional BasicAuthPasswordSecretRef *v1.SecretKeySelector `json:"basicAuthPasswordSecretRef,omitempty" tf:"-"` // (String) The username component of the basic auth credentials to use. // The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used. // +kubebuilder:validation:Optional BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The HTTP method to use in the request. Defaults to POST. // The HTTP method to use in the request. Defaults to `POST`. // +kubebuilder:validation:Optional HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"` // (Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. // The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. // +kubebuilder:validation:Optional MaxAlerts *float64 `json:"maxAlerts,omitempty" tf:"max_alerts,omitempty"` // (String) The templated content of the message. // Custom message. You can use template variables. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated title of the message. // Templated title of the message. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // The URL to send webhook requests to. // +kubebuilder:validation:Optional URL *string `json:"url" tf:"url,omitempty"` }
func (*OncallParameters) DeepCopy ¶ added in v0.9.0
func (in *OncallParameters) DeepCopy() *OncallParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OncallParameters.
func (*OncallParameters) DeepCopyInto ¶ added in v0.9.0
func (in *OncallParameters) DeepCopyInto(out *OncallParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpsgenieInitParameters ¶ added in v0.8.0
type OpsgenieInitParameters struct { // close alerts in OpsGenie when they resolve in the Alertmanager. // Whether to auto-close alerts in OpsGenie when they resolve in the Alertmanager. AutoClose *bool `json:"autoClose,omitempty" tf:"auto_close,omitempty"` // (String) The templated description of the Kafka message. // A templated high-level description to use for the alert. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Boolean) Whether to allow the alert priority to be configured via the value of the og_priority annotation on the alert. // Whether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert. OverridePriority *bool `json:"overridePriority,omitempty" tf:"override_priority,omitempty"` // (Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema) // Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. Responders []RespondersInitParameters `json:"responders,omitempty" tf:"responders,omitempty"` // (String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are tags, details, both, or empty to use the default behavior of Tags. // Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags. SendTagsAs *string `json:"sendTagsAs,omitempty" tf:"send_tags_as,omitempty"` // (String) The URL of the Alertmanager instance. // Allows customization of the OpsGenie API URL. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*OpsgenieInitParameters) DeepCopy ¶ added in v0.8.0
func (in *OpsgenieInitParameters) DeepCopy() *OpsgenieInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpsgenieInitParameters.
func (*OpsgenieInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *OpsgenieInitParameters) DeepCopyInto(out *OpsgenieInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpsgenieObservation ¶
type OpsgenieObservation struct { // close alerts in OpsGenie when they resolve in the Alertmanager. // Whether to auto-close alerts in OpsGenie when they resolve in the Alertmanager. AutoClose *bool `json:"autoClose,omitempty" tf:"auto_close,omitempty"` // (String) The templated description of the Kafka message. // A templated high-level description to use for the alert. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Boolean) Whether to allow the alert priority to be configured via the value of the og_priority annotation on the alert. // Whether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert. OverridePriority *bool `json:"overridePriority,omitempty" tf:"override_priority,omitempty"` // (Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema) // Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. Responders []RespondersObservation `json:"responders,omitempty" tf:"responders,omitempty"` // (String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are tags, details, both, or empty to use the default behavior of Tags. // Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags. SendTagsAs *string `json:"sendTagsAs,omitempty" tf:"send_tags_as,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The URL of the Alertmanager instance. // Allows customization of the OpsGenie API URL. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*OpsgenieObservation) DeepCopy ¶
func (in *OpsgenieObservation) DeepCopy() *OpsgenieObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpsgenieObservation.
func (*OpsgenieObservation) DeepCopyInto ¶
func (in *OpsgenieObservation) DeepCopyInto(out *OpsgenieObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpsgenieParameters ¶
type OpsgenieParameters struct { // (String, Sensitive) The OpsGenie API key to use. // The OpsGenie API key to use. // +kubebuilder:validation:Required APIKeySecretRef v1.SecretKeySelector `json:"apiKeySecretRef" tf:"-"` // close alerts in OpsGenie when they resolve in the Alertmanager. // Whether to auto-close alerts in OpsGenie when they resolve in the Alertmanager. // +kubebuilder:validation:Optional AutoClose *bool `json:"autoClose,omitempty" tf:"auto_close,omitempty"` // (String) The templated description of the Kafka message. // A templated high-level description to use for the alert. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Boolean) Whether to allow the alert priority to be configured via the value of the og_priority annotation on the alert. // Whether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert. // +kubebuilder:validation:Optional OverridePriority *bool `json:"overridePriority,omitempty" tf:"override_priority,omitempty"` // (Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema) // Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. // +kubebuilder:validation:Optional Responders []RespondersParameters `json:"responders,omitempty" tf:"responders,omitempty"` // (String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are tags, details, both, or empty to use the default behavior of Tags. // Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags. // +kubebuilder:validation:Optional SendTagsAs *string `json:"sendTagsAs,omitempty" tf:"send_tags_as,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The URL of the Alertmanager instance. // Allows customization of the OpsGenie API URL. // +kubebuilder:validation:Optional URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*OpsgenieParameters) DeepCopy ¶
func (in *OpsgenieParameters) DeepCopy() *OpsgenieParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpsgenieParameters.
func (*OpsgenieParameters) DeepCopyInto ¶
func (in *OpsgenieParameters) DeepCopyInto(out *OpsgenieParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PagerdutyInitParameters ¶ added in v0.8.0
type PagerdutyInitParameters struct { // (String) The class or type of event, for example ping failure. // The class or type of event, for example `ping failure`. Class *string `json:"class,omitempty" tf:"class,omitempty"` // (String) The name of the monitoring client that is triggering this event. // The name of the monitoring client that is triggering this event. Client *string `json:"client,omitempty" tf:"client,omitempty"` // (String) The URL of the monitoring client that is triggering this event. // The URL of the monitoring client that is triggering this event. ClientURL *string `json:"clientUrl,omitempty" tf:"client_url,omitempty"` // (String) The component being affected by the event. // The component being affected by the event. Component *string `json:"component,omitempty" tf:"component,omitempty"` // (String) The templated details to include with the message. // A set of arbitrary key/value pairs that provide further detail about the incident. // +mapType=granular Details map[string]*string `json:"details,omitempty" tf:"details,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The group to which the provided component belongs to. // The group to which the provided component belongs to. Group *string `json:"group,omitempty" tf:"group,omitempty"` // (String) The PagerDuty event severity level. Default is critical. // The PagerDuty event severity level. Default is `critical`. Severity *string `json:"severity,omitempty" tf:"severity,omitempty"` // (String) The unique location of the affected system. // The unique location of the affected system. Source *string `json:"source,omitempty" tf:"source,omitempty"` // (String) The templated summary message of the event. // The templated summary message of the event. Summary *string `json:"summary,omitempty" tf:"summary,omitempty"` }
func (*PagerdutyInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PagerdutyInitParameters) DeepCopy() *PagerdutyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagerdutyInitParameters.
func (*PagerdutyInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PagerdutyInitParameters) DeepCopyInto(out *PagerdutyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PagerdutyObservation ¶
type PagerdutyObservation struct { // (String) The class or type of event, for example ping failure. // The class or type of event, for example `ping failure`. Class *string `json:"class,omitempty" tf:"class,omitempty"` // (String) The name of the monitoring client that is triggering this event. // The name of the monitoring client that is triggering this event. Client *string `json:"client,omitempty" tf:"client,omitempty"` // (String) The URL of the monitoring client that is triggering this event. // The URL of the monitoring client that is triggering this event. ClientURL *string `json:"clientUrl,omitempty" tf:"client_url,omitempty"` // (String) The component being affected by the event. // The component being affected by the event. Component *string `json:"component,omitempty" tf:"component,omitempty"` // (String) The templated details to include with the message. // A set of arbitrary key/value pairs that provide further detail about the incident. // +mapType=granular Details map[string]*string `json:"details,omitempty" tf:"details,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The group to which the provided component belongs to. // The group to which the provided component belongs to. Group *string `json:"group,omitempty" tf:"group,omitempty"` // (String) The PagerDuty event severity level. Default is critical. // The PagerDuty event severity level. Default is `critical`. Severity *string `json:"severity,omitempty" tf:"severity,omitempty"` // (String) The unique location of the affected system. // The unique location of the affected system. Source *string `json:"source,omitempty" tf:"source,omitempty"` // (String) The templated summary message of the event. // The templated summary message of the event. Summary *string `json:"summary,omitempty" tf:"summary,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*PagerdutyObservation) DeepCopy ¶
func (in *PagerdutyObservation) DeepCopy() *PagerdutyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagerdutyObservation.
func (*PagerdutyObservation) DeepCopyInto ¶
func (in *PagerdutyObservation) DeepCopyInto(out *PagerdutyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PagerdutyParameters ¶
type PagerdutyParameters struct { // (String) The class or type of event, for example ping failure. // The class or type of event, for example `ping failure`. // +kubebuilder:validation:Optional Class *string `json:"class,omitempty" tf:"class,omitempty"` // (String) The name of the monitoring client that is triggering this event. // The name of the monitoring client that is triggering this event. // +kubebuilder:validation:Optional Client *string `json:"client,omitempty" tf:"client,omitempty"` // (String) The URL of the monitoring client that is triggering this event. // The URL of the monitoring client that is triggering this event. // +kubebuilder:validation:Optional ClientURL *string `json:"clientUrl,omitempty" tf:"client_url,omitempty"` // (String) The component being affected by the event. // The component being affected by the event. // +kubebuilder:validation:Optional Component *string `json:"component,omitempty" tf:"component,omitempty"` // (String) The templated details to include with the message. // A set of arbitrary key/value pairs that provide further detail about the incident. // +kubebuilder:validation:Optional // +mapType=granular Details map[string]*string `json:"details,omitempty" tf:"details,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The group to which the provided component belongs to. // The group to which the provided component belongs to. // +kubebuilder:validation:Optional Group *string `json:"group,omitempty" tf:"group,omitempty"` // (String, Sensitive) The PagerDuty API key. // The PagerDuty API key. // +kubebuilder:validation:Required IntegrationKeySecretRef v1.SecretKeySelector `json:"integrationKeySecretRef" tf:"-"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The PagerDuty event severity level. Default is critical. // The PagerDuty event severity level. Default is `critical`. // +kubebuilder:validation:Optional Severity *string `json:"severity,omitempty" tf:"severity,omitempty"` // (String) The unique location of the affected system. // The unique location of the affected system. // +kubebuilder:validation:Optional Source *string `json:"source,omitempty" tf:"source,omitempty"` // (String) The templated summary message of the event. // The templated summary message of the event. // +kubebuilder:validation:Optional Summary *string `json:"summary,omitempty" tf:"summary,omitempty"` }
func (*PagerdutyParameters) DeepCopy ¶
func (in *PagerdutyParameters) DeepCopy() *PagerdutyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagerdutyParameters.
func (*PagerdutyParameters) DeepCopyInto ¶
func (in *PagerdutyParameters) DeepCopyInto(out *PagerdutyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyInitParameters ¶ added in v0.8.0
type PolicyInitParameters struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=ContactPointRef // +crossplane:generate:reference:selectorFieldName=ContactPointSelector ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Reference to a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"` // Selector for a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. Matcher []MatcherInitParameters `json:"matcher,omitempty" tf:"matcher,omitempty"` // References to MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingRef []v1.Reference `json:"muteTimingRef,omitempty" tf:"-"` // Selector for a list of MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingSelector *v1.Selector `json:"muteTimingSelector,omitempty" tf:"-"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.MuteTiming // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=MuteTimingRef // +crossplane:generate:reference:selectorFieldName=MuteTimingSelector MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. Policy []PolicyPolicyInitParameters `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*PolicyInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PolicyInitParameters) DeepCopy() *PolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyInitParameters.
func (*PolicyInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyMatcherInitParameters ¶ added in v0.8.0
type PolicyMatcherInitParameters struct { // (String) The name of the label to match against. // The name of the label to match against. Label *string `json:"label,omitempty" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. Match *string `json:"match,omitempty" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PolicyMatcherInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PolicyMatcherInitParameters) DeepCopy() *PolicyMatcherInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyMatcherInitParameters.
func (*PolicyMatcherInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PolicyMatcherInitParameters) DeepCopyInto(out *PolicyMatcherInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyMatcherObservation ¶
type PolicyMatcherObservation struct { // (String) The name of the label to match against. // The name of the label to match against. Label *string `json:"label,omitempty" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. Match *string `json:"match,omitempty" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PolicyMatcherObservation) DeepCopy ¶
func (in *PolicyMatcherObservation) DeepCopy() *PolicyMatcherObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyMatcherObservation.
func (*PolicyMatcherObservation) DeepCopyInto ¶
func (in *PolicyMatcherObservation) DeepCopyInto(out *PolicyMatcherObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyMatcherParameters ¶
type PolicyMatcherParameters struct { // (String) The name of the label to match against. // The name of the label to match against. // +kubebuilder:validation:Optional Label *string `json:"label" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. // +kubebuilder:validation:Optional Match *string `json:"match" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*PolicyMatcherParameters) DeepCopy ¶
func (in *PolicyMatcherParameters) DeepCopy() *PolicyMatcherParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyMatcherParameters.
func (*PolicyMatcherParameters) DeepCopyInto ¶
func (in *PolicyMatcherParameters) DeepCopyInto(out *PolicyMatcherParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyObservation ¶
type PolicyObservation struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. Matcher []MatcherObservation `json:"matcher,omitempty" tf:"matcher,omitempty"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. Policy []PolicyPolicyObservation `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,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 default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=ContactPointRef // +crossplane:generate:reference:selectorFieldName=ContactPointSelector // +kubebuilder:validation:Optional ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Reference to a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"` // Selector for a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // +kubebuilder:validation:Optional Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. // +kubebuilder:validation:Optional GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. // +kubebuilder:validation:Optional GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // +kubebuilder:validation:Optional GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. // +kubebuilder:validation:Optional Matcher []MatcherParameters `json:"matcher,omitempty" tf:"matcher,omitempty"` // References to MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingRef []v1.Reference `json:"muteTimingRef,omitempty" tf:"-"` // Selector for a list of MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingSelector *v1.Selector `json:"muteTimingSelector,omitempty" tf:"-"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.MuteTiming // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=MuteTimingRef // +crossplane:generate:reference:selectorFieldName=MuteTimingSelector // +kubebuilder:validation:Optional MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. // +kubebuilder:validation:Optional Policy []PolicyPolicyParameters `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. // +kubebuilder:validation:Optional RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,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 PolicyPolicyInitParameters ¶ added in v0.8.0
type PolicyPolicyInitParameters struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=ContactPointRef // +crossplane:generate:reference:selectorFieldName=ContactPointSelector ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Reference to a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"` // Selector for a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. Matcher []PolicyMatcherInitParameters `json:"matcher,omitempty" tf:"matcher,omitempty"` // References to MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingRef []v1.Reference `json:"muteTimingRef,omitempty" tf:"-"` // Selector for a list of MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingSelector *v1.Selector `json:"muteTimingSelector,omitempty" tf:"-"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.MuteTiming // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=MuteTimingRef // +crossplane:generate:reference:selectorFieldName=MuteTimingSelector MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. Policy []PolicyPolicyPolicyInitParameters `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*PolicyPolicyInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PolicyPolicyInitParameters) DeepCopy() *PolicyPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyInitParameters.
func (*PolicyPolicyInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PolicyPolicyInitParameters) DeepCopyInto(out *PolicyPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyMatcherInitParameters ¶ added in v0.8.0
type PolicyPolicyMatcherInitParameters struct { // (String) The name of the label to match against. // The name of the label to match against. Label *string `json:"label,omitempty" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. Match *string `json:"match,omitempty" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PolicyPolicyMatcherInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PolicyPolicyMatcherInitParameters) DeepCopy() *PolicyPolicyMatcherInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyMatcherInitParameters.
func (*PolicyPolicyMatcherInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PolicyPolicyMatcherInitParameters) DeepCopyInto(out *PolicyPolicyMatcherInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyMatcherObservation ¶
type PolicyPolicyMatcherObservation struct { // (String) The name of the label to match against. // The name of the label to match against. Label *string `json:"label,omitempty" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. Match *string `json:"match,omitempty" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PolicyPolicyMatcherObservation) DeepCopy ¶
func (in *PolicyPolicyMatcherObservation) DeepCopy() *PolicyPolicyMatcherObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyMatcherObservation.
func (*PolicyPolicyMatcherObservation) DeepCopyInto ¶
func (in *PolicyPolicyMatcherObservation) DeepCopyInto(out *PolicyPolicyMatcherObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyMatcherParameters ¶
type PolicyPolicyMatcherParameters struct { // (String) The name of the label to match against. // The name of the label to match against. // +kubebuilder:validation:Optional Label *string `json:"label" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. // +kubebuilder:validation:Optional Match *string `json:"match" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*PolicyPolicyMatcherParameters) DeepCopy ¶
func (in *PolicyPolicyMatcherParameters) DeepCopy() *PolicyPolicyMatcherParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyMatcherParameters.
func (*PolicyPolicyMatcherParameters) DeepCopyInto ¶
func (in *PolicyPolicyMatcherParameters) DeepCopyInto(out *PolicyPolicyMatcherParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyObservation ¶
type PolicyPolicyObservation struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. Matcher []PolicyMatcherObservation `json:"matcher,omitempty" tf:"matcher,omitempty"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. Policy []PolicyPolicyPolicyObservation `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*PolicyPolicyObservation) DeepCopy ¶
func (in *PolicyPolicyObservation) DeepCopy() *PolicyPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyObservation.
func (*PolicyPolicyObservation) DeepCopyInto ¶
func (in *PolicyPolicyObservation) DeepCopyInto(out *PolicyPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyParameters ¶
type PolicyPolicyParameters struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=ContactPointRef // +crossplane:generate:reference:selectorFieldName=ContactPointSelector // +kubebuilder:validation:Optional ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Reference to a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"` // Selector for a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // +kubebuilder:validation:Optional Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. // +kubebuilder:validation:Optional GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. // +kubebuilder:validation:Optional GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // +kubebuilder:validation:Optional GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. // +kubebuilder:validation:Optional Matcher []PolicyMatcherParameters `json:"matcher,omitempty" tf:"matcher,omitempty"` // References to MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingRef []v1.Reference `json:"muteTimingRef,omitempty" tf:"-"` // Selector for a list of MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingSelector *v1.Selector `json:"muteTimingSelector,omitempty" tf:"-"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.MuteTiming // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=MuteTimingRef // +crossplane:generate:reference:selectorFieldName=MuteTimingSelector // +kubebuilder:validation:Optional MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. // +kubebuilder:validation:Optional Policy []PolicyPolicyPolicyParameters `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. // +kubebuilder:validation:Optional RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*PolicyPolicyParameters) DeepCopy ¶
func (in *PolicyPolicyParameters) DeepCopy() *PolicyPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyParameters.
func (*PolicyPolicyParameters) DeepCopyInto ¶
func (in *PolicyPolicyParameters) DeepCopyInto(out *PolicyPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyPolicyInitParameters ¶ added in v0.8.0
type PolicyPolicyPolicyInitParameters struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=ContactPointRef // +crossplane:generate:reference:selectorFieldName=ContactPointSelector ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Reference to a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"` // Selector for a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. Matcher []PolicyPolicyMatcherInitParameters `json:"matcher,omitempty" tf:"matcher,omitempty"` // References to MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingRef []v1.Reference `json:"muteTimingRef,omitempty" tf:"-"` // Selector for a list of MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingSelector *v1.Selector `json:"muteTimingSelector,omitempty" tf:"-"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.MuteTiming // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=MuteTimingRef // +crossplane:generate:reference:selectorFieldName=MuteTimingSelector MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. Policy []PolicyPolicyPolicyPolicyInitParameters `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*PolicyPolicyPolicyInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PolicyPolicyPolicyInitParameters) DeepCopy() *PolicyPolicyPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyPolicyInitParameters.
func (*PolicyPolicyPolicyInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PolicyPolicyPolicyInitParameters) DeepCopyInto(out *PolicyPolicyPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyPolicyMatcherInitParameters ¶ added in v0.8.0
type PolicyPolicyPolicyMatcherInitParameters struct { // (String) The name of the label to match against. // The name of the label to match against. Label *string `json:"label,omitempty" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. Match *string `json:"match,omitempty" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PolicyPolicyPolicyMatcherInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PolicyPolicyPolicyMatcherInitParameters) DeepCopy() *PolicyPolicyPolicyMatcherInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyPolicyMatcherInitParameters.
func (*PolicyPolicyPolicyMatcherInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PolicyPolicyPolicyMatcherInitParameters) DeepCopyInto(out *PolicyPolicyPolicyMatcherInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyPolicyMatcherObservation ¶
type PolicyPolicyPolicyMatcherObservation struct { // (String) The name of the label to match against. // The name of the label to match against. Label *string `json:"label,omitempty" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. Match *string `json:"match,omitempty" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PolicyPolicyPolicyMatcherObservation) DeepCopy ¶
func (in *PolicyPolicyPolicyMatcherObservation) DeepCopy() *PolicyPolicyPolicyMatcherObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyPolicyMatcherObservation.
func (*PolicyPolicyPolicyMatcherObservation) DeepCopyInto ¶
func (in *PolicyPolicyPolicyMatcherObservation) DeepCopyInto(out *PolicyPolicyPolicyMatcherObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyPolicyMatcherParameters ¶
type PolicyPolicyPolicyMatcherParameters struct { // (String) The name of the label to match against. // The name of the label to match against. // +kubebuilder:validation:Optional Label *string `json:"label" tf:"label,omitempty"` // (String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality. // The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality. // +kubebuilder:validation:Optional Match *string `json:"match" tf:"match,omitempty"` // (String) The label value to match against. // The label value to match against. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*PolicyPolicyPolicyMatcherParameters) DeepCopy ¶
func (in *PolicyPolicyPolicyMatcherParameters) DeepCopy() *PolicyPolicyPolicyMatcherParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyPolicyMatcherParameters.
func (*PolicyPolicyPolicyMatcherParameters) DeepCopyInto ¶
func (in *PolicyPolicyPolicyMatcherParameters) DeepCopyInto(out *PolicyPolicyPolicyMatcherParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyPolicyObservation ¶
type PolicyPolicyPolicyObservation struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. Matcher []PolicyPolicyMatcherObservation `json:"matcher,omitempty" tf:"matcher,omitempty"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. Policy []PolicyPolicyPolicyPolicyObservation `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*PolicyPolicyPolicyObservation) DeepCopy ¶
func (in *PolicyPolicyPolicyObservation) DeepCopy() *PolicyPolicyPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyPolicyObservation.
func (*PolicyPolicyPolicyObservation) DeepCopyInto ¶
func (in *PolicyPolicyPolicyObservation) DeepCopyInto(out *PolicyPolicyPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyPolicyParameters ¶
type PolicyPolicyPolicyParameters struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=ContactPointRef // +crossplane:generate:reference:selectorFieldName=ContactPointSelector // +kubebuilder:validation:Optional ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Reference to a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"` // Selector for a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // +kubebuilder:validation:Optional Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. // +kubebuilder:validation:Optional GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. // +kubebuilder:validation:Optional GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // +kubebuilder:validation:Optional GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. // +kubebuilder:validation:Optional Matcher []PolicyPolicyMatcherParameters `json:"matcher,omitempty" tf:"matcher,omitempty"` // References to MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingRef []v1.Reference `json:"muteTimingRef,omitempty" tf:"-"` // Selector for a list of MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingSelector *v1.Selector `json:"muteTimingSelector,omitempty" tf:"-"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.MuteTiming // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=MuteTimingRef // +crossplane:generate:reference:selectorFieldName=MuteTimingSelector // +kubebuilder:validation:Optional MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // (Block List) Routing rules for specific label sets. (see below for nested schema) // Routing rules for specific label sets. // +kubebuilder:validation:Optional Policy []PolicyPolicyPolicyPolicyParameters `json:"policy,omitempty" tf:"policy,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. // +kubebuilder:validation:Optional RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*PolicyPolicyPolicyParameters) DeepCopy ¶
func (in *PolicyPolicyPolicyParameters) DeepCopy() *PolicyPolicyPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyPolicyParameters.
func (*PolicyPolicyPolicyParameters) DeepCopyInto ¶
func (in *PolicyPolicyPolicyParameters) DeepCopyInto(out *PolicyPolicyPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyPolicyPolicyInitParameters ¶ added in v0.8.0
type PolicyPolicyPolicyPolicyInitParameters struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=ContactPointRef // +crossplane:generate:reference:selectorFieldName=ContactPointSelector ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Reference to a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"` // Selector for a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. Matcher []PolicyPolicyPolicyMatcherInitParameters `json:"matcher,omitempty" tf:"matcher,omitempty"` // References to MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingRef []v1.Reference `json:"muteTimingRef,omitempty" tf:"-"` // Selector for a list of MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingSelector *v1.Selector `json:"muteTimingSelector,omitempty" tf:"-"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.MuteTiming // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=MuteTimingRef // +crossplane:generate:reference:selectorFieldName=MuteTimingSelector MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*PolicyPolicyPolicyPolicyInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PolicyPolicyPolicyPolicyInitParameters) DeepCopy() *PolicyPolicyPolicyPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyPolicyPolicyInitParameters.
func (*PolicyPolicyPolicyPolicyInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PolicyPolicyPolicyPolicyInitParameters) DeepCopyInto(out *PolicyPolicyPolicyPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyPolicyPolicyObservation ¶
type PolicyPolicyPolicyPolicyObservation struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. Matcher []PolicyPolicyPolicyMatcherObservation `json:"matcher,omitempty" tf:"matcher,omitempty"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*PolicyPolicyPolicyPolicyObservation) DeepCopy ¶
func (in *PolicyPolicyPolicyPolicyObservation) DeepCopy() *PolicyPolicyPolicyPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyPolicyPolicyObservation.
func (*PolicyPolicyPolicyPolicyObservation) DeepCopyInto ¶
func (in *PolicyPolicyPolicyPolicyObservation) DeepCopyInto(out *PolicyPolicyPolicyPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyPolicyPolicyPolicyParameters ¶
type PolicyPolicyPolicyPolicyParameters struct { // (String) The default contact point to route all unmatched notifications to. // The contact point to route notifications that match this rule to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=ContactPointRef // +crossplane:generate:reference:selectorFieldName=ContactPointSelector // +kubebuilder:validation:Optional ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"` // Reference to a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"` // Selector for a ContactPoint in alerting to populate contactPoint. // +kubebuilder:validation:Optional ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"` // (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it. // +kubebuilder:validation:Optional Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"` // (List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. // A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used. // +kubebuilder:validation:Optional GroupBy []*string `json:"groupBy" tf:"group_by,omitempty"` // (String) Minimum time interval between two notifications for the same group. Default is 5 minutes. // Minimum time interval between two notifications for the same group. Default is 5 minutes. // +kubebuilder:validation:Optional GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"` // (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds. // +kubebuilder:validation:Optional GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"` // (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema) // Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. // +kubebuilder:validation:Optional Matcher []PolicyPolicyPolicyMatcherParameters `json:"matcher,omitempty" tf:"matcher,omitempty"` // References to MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingRef []v1.Reference `json:"muteTimingRef,omitempty" tf:"-"` // Selector for a list of MuteTiming in alerting to populate muteTimings. // +kubebuilder:validation:Optional MuteTimingSelector *v1.Selector `json:"muteTimingSelector,omitempty" tf:"-"` // (List of String) A list of mute timing names to apply to alerts that match this policy. // A list of mute timing names to apply to alerts that match this policy. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.MuteTiming // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor() // +crossplane:generate:reference:refFieldName=MuteTimingRef // +crossplane:generate:reference:selectorFieldName=MuteTimingSelector // +kubebuilder:validation:Optional MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"` // sending a notification if an alert is still firing. Default is 4 hours. // Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours. // +kubebuilder:validation:Optional RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"` }
func (*PolicyPolicyPolicyPolicyParameters) DeepCopy ¶
func (in *PolicyPolicyPolicyPolicyParameters) DeepCopy() *PolicyPolicyPolicyPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyPolicyPolicyPolicyParameters.
func (*PolicyPolicyPolicyPolicyParameters) DeepCopyInto ¶
func (in *PolicyPolicyPolicyPolicyParameters) DeepCopyInto(out *PolicyPolicyPolicyPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PushoverInitParameters ¶ added in v0.8.0
type PushoverInitParameters struct { // separated list of devices to which the event is associated. // Comma-separated list of devices to which the event is associated. Device *string `json:"device,omitempty" tf:"device,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (Number) How many seconds for which the notification will continue to be retried by Pushover. // How many seconds for which the notification will continue to be retried by Pushover. Expire *float64 `json:"expire,omitempty" tf:"expire,omitempty"` // (String) The templated content of the message. // The templated notification message content. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Number) The priority level of the resolved event. // The priority level of the resolved event. OkPriority *float64 `json:"okPriority,omitempty" tf:"ok_priority,omitempty"` // (String) The sound associated with the resolved notification. // The sound associated with the resolved notification. OkSound *string `json:"okSound,omitempty" tf:"ok_sound,omitempty"` // (Number) The priority level of the event. // The priority level of the event. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` // (Number) How often, in seconds, the Pushover servers will send the same notification to the user. // How often, in seconds, the Pushover servers will send the same notification to the user. Retry *float64 `json:"retry,omitempty" tf:"retry,omitempty"` // (String) The sound associated with the notification. // The sound associated with the notification. Sound *string `json:"sound,omitempty" tf:"sound,omitempty"` // (String) The templated title of the message. // The templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (Boolean) Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications. // Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications. UploadImage *bool `json:"uploadImage,omitempty" tf:"upload_image,omitempty"` }
func (*PushoverInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PushoverInitParameters) DeepCopy() *PushoverInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushoverInitParameters.
func (*PushoverInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PushoverInitParameters) DeepCopyInto(out *PushoverInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PushoverObservation ¶
type PushoverObservation struct { // separated list of devices to which the event is associated. // Comma-separated list of devices to which the event is associated. Device *string `json:"device,omitempty" tf:"device,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (Number) How many seconds for which the notification will continue to be retried by Pushover. // How many seconds for which the notification will continue to be retried by Pushover. Expire *float64 `json:"expire,omitempty" tf:"expire,omitempty"` // (String) The templated content of the message. // The templated notification message content. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Number) The priority level of the resolved event. // The priority level of the resolved event. OkPriority *float64 `json:"okPriority,omitempty" tf:"ok_priority,omitempty"` // (String) The sound associated with the resolved notification. // The sound associated with the resolved notification. OkSound *string `json:"okSound,omitempty" tf:"ok_sound,omitempty"` // (Number) The priority level of the event. // The priority level of the event. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` // (Number) How often, in seconds, the Pushover servers will send the same notification to the user. // How often, in seconds, the Pushover servers will send the same notification to the user. Retry *float64 `json:"retry,omitempty" tf:"retry,omitempty"` // (String) The sound associated with the notification. // The sound associated with the notification. Sound *string `json:"sound,omitempty" tf:"sound,omitempty"` // (String) The templated title of the message. // The templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (Boolean) Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications. // Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications. UploadImage *bool `json:"uploadImage,omitempty" tf:"upload_image,omitempty"` }
func (*PushoverObservation) DeepCopy ¶
func (in *PushoverObservation) DeepCopy() *PushoverObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushoverObservation.
func (*PushoverObservation) DeepCopyInto ¶
func (in *PushoverObservation) DeepCopyInto(out *PushoverObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PushoverParameters ¶
type PushoverParameters struct { // (String, Sensitive) The Pushover API token. // The Pushover API token. // +kubebuilder:validation:Required APITokenSecretRef v1.SecretKeySelector `json:"apiTokenSecretRef" tf:"-"` // separated list of devices to which the event is associated. // Comma-separated list of devices to which the event is associated. // +kubebuilder:validation:Optional Device *string `json:"device,omitempty" tf:"device,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (Number) How many seconds for which the notification will continue to be retried by Pushover. // How many seconds for which the notification will continue to be retried by Pushover. // +kubebuilder:validation:Optional Expire *float64 `json:"expire,omitempty" tf:"expire,omitempty"` // (String) The templated content of the message. // The templated notification message content. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Number) The priority level of the resolved event. // The priority level of the resolved event. // +kubebuilder:validation:Optional OkPriority *float64 `json:"okPriority,omitempty" tf:"ok_priority,omitempty"` // (String) The sound associated with the resolved notification. // The sound associated with the resolved notification. // +kubebuilder:validation:Optional OkSound *string `json:"okSound,omitempty" tf:"ok_sound,omitempty"` // (Number) The priority level of the event. // The priority level of the event. // +kubebuilder:validation:Optional Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` // (Number) How often, in seconds, the Pushover servers will send the same notification to the user. // How often, in seconds, the Pushover servers will send the same notification to the user. // +kubebuilder:validation:Optional Retry *float64 `json:"retry,omitempty" tf:"retry,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The sound associated with the notification. // The sound associated with the notification. // +kubebuilder:validation:Optional Sound *string `json:"sound,omitempty" tf:"sound,omitempty"` // (String) The templated title of the message. // The templated title of the message. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (Boolean) Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications. // Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications. // +kubebuilder:validation:Optional UploadImage *bool `json:"uploadImage,omitempty" tf:"upload_image,omitempty"` // (String, Sensitive) The Pushover user key. // The Pushover user key. // +kubebuilder:validation:Required UserKeySecretRef v1.SecretKeySelector `json:"userKeySecretRef" tf:"-"` }
func (*PushoverParameters) DeepCopy ¶
func (in *PushoverParameters) DeepCopy() *PushoverParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushoverParameters.
func (*PushoverParameters) DeepCopyInto ¶
func (in *PushoverParameters) DeepCopyInto(out *PushoverParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RelativeTimeRangeInitParameters ¶ added in v0.8.0
type RelativeTimeRangeInitParameters struct { // (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. // The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. From *float64 `json:"from,omitempty" tf:"from,omitempty"` // (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends. // The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends. To *float64 `json:"to,omitempty" tf:"to,omitempty"` }
func (*RelativeTimeRangeInitParameters) DeepCopy ¶ added in v0.8.0
func (in *RelativeTimeRangeInitParameters) DeepCopy() *RelativeTimeRangeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RelativeTimeRangeInitParameters.
func (*RelativeTimeRangeInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *RelativeTimeRangeInitParameters) DeepCopyInto(out *RelativeTimeRangeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RelativeTimeRangeObservation ¶
type RelativeTimeRangeObservation struct { // (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. // The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. From *float64 `json:"from,omitempty" tf:"from,omitempty"` // (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends. // The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends. To *float64 `json:"to,omitempty" tf:"to,omitempty"` }
func (*RelativeTimeRangeObservation) DeepCopy ¶
func (in *RelativeTimeRangeObservation) DeepCopy() *RelativeTimeRangeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RelativeTimeRangeObservation.
func (*RelativeTimeRangeObservation) DeepCopyInto ¶
func (in *RelativeTimeRangeObservation) DeepCopyInto(out *RelativeTimeRangeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RelativeTimeRangeParameters ¶
type RelativeTimeRangeParameters struct { // (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. // The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. // +kubebuilder:validation:Optional From *float64 `json:"from" tf:"from,omitempty"` // (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends. // The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends. // +kubebuilder:validation:Optional To *float64 `json:"to" tf:"to,omitempty"` }
func (*RelativeTimeRangeParameters) DeepCopy ¶
func (in *RelativeTimeRangeParameters) DeepCopy() *RelativeTimeRangeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RelativeTimeRangeParameters.
func (*RelativeTimeRangeParameters) DeepCopyInto ¶
func (in *RelativeTimeRangeParameters) DeepCopyInto(out *RelativeTimeRangeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RespondersInitParameters ¶ added in v0.9.0
type RespondersInitParameters struct { // (String) The ID of this resource. // ID of the responder. Must be specified if name and username are empty. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The name of the contact point. // Name of the responder. Must be specified if username and id are empty. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values. // Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values. Type *string `json:"type,omitempty" tf:"type,omitempty"` // (String) The user name to use when making a call to the Kafka REST Proxy // User name of the responder. Must be specified if name and id are empty. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*RespondersInitParameters) DeepCopy ¶ added in v0.9.0
func (in *RespondersInitParameters) DeepCopy() *RespondersInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RespondersInitParameters.
func (*RespondersInitParameters) DeepCopyInto ¶ added in v0.9.0
func (in *RespondersInitParameters) DeepCopyInto(out *RespondersInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RespondersObservation ¶ added in v0.9.0
type RespondersObservation struct { // (String) The ID of this resource. // ID of the responder. Must be specified if name and username are empty. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The name of the contact point. // Name of the responder. Must be specified if username and id are empty. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values. // Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values. Type *string `json:"type,omitempty" tf:"type,omitempty"` // (String) The user name to use when making a call to the Kafka REST Proxy // User name of the responder. Must be specified if name and id are empty. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*RespondersObservation) DeepCopy ¶ added in v0.9.0
func (in *RespondersObservation) DeepCopy() *RespondersObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RespondersObservation.
func (*RespondersObservation) DeepCopyInto ¶ added in v0.9.0
func (in *RespondersObservation) DeepCopyInto(out *RespondersObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RespondersParameters ¶ added in v0.9.0
type RespondersParameters struct { // (String) The ID of this resource. // ID of the responder. Must be specified if name and username are empty. // +kubebuilder:validation:Optional ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The name of the contact point. // Name of the responder. Must be specified if username and id are empty. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values. // Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values. // +kubebuilder:validation:Optional Type *string `json:"type" tf:"type,omitempty"` // (String) The user name to use when making a call to the Kafka REST Proxy // User name of the responder. Must be specified if name and id are empty. // +kubebuilder:validation:Optional Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*RespondersParameters) DeepCopy ¶ added in v0.9.0
func (in *RespondersParameters) DeepCopy() *RespondersParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RespondersParameters.
func (*RespondersParameters) DeepCopyInto ¶ added in v0.9.0
func (in *RespondersParameters) DeepCopyInto(out *RespondersParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleGroup ¶
type RuleGroup 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.intervalSeconds) || (has(self.initProvider) && has(self.initProvider.intervalSeconds))",message="spec.forProvider.intervalSeconds is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || (has(self.initProvider) && has(self.initProvider.rule))",message="spec.forProvider.rule is a required parameter" Spec RuleGroupSpec `json:"spec"` Status RuleGroupStatus `json:"status,omitempty"` }
RuleGroup is the Schema for the RuleGroups API. Manages Grafana Alerting rule groups. Official documentation https://grafana.com/docs/grafana/latest/alerting/alerting-rules/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#alert-rules This resource requires Grafana 9.1.0 or later. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*RuleGroup) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroup.
func (*RuleGroup) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleGroup) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RuleGroup) GetCondition ¶
func (mg *RuleGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this RuleGroup.
func (*RuleGroup) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this RuleGroup
func (*RuleGroup) GetDeletionPolicy ¶
func (mg *RuleGroup) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this RuleGroup.
func (*RuleGroup) GetInitParameters ¶ added in v0.8.0
GetInitParameters of this RuleGroup
func (*RuleGroup) GetManagementPolicies ¶ added in v0.8.0
func (mg *RuleGroup) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this RuleGroup.
func (*RuleGroup) GetMergedParameters ¶ added in v0.10.1
GetInitParameters of this RuleGroup
func (*RuleGroup) GetObservation ¶
GetObservation of this RuleGroup
func (*RuleGroup) GetParameters ¶
GetParameters of this RuleGroup
func (*RuleGroup) GetProviderConfigReference ¶
GetProviderConfigReference of this RuleGroup.
func (*RuleGroup) GetPublishConnectionDetailsTo ¶
func (mg *RuleGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this RuleGroup.
func (*RuleGroup) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this RuleGroup
func (*RuleGroup) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*RuleGroup) GetWriteConnectionSecretToReference ¶
func (mg *RuleGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this RuleGroup.
func (*RuleGroup) Hub ¶ added in v0.10.1
func (tr *RuleGroup) Hub()
Hub marks this type as a conversion hub.
func (*RuleGroup) LateInitialize ¶
LateInitialize this RuleGroup using its observed tfState. returns True if there are any spec changes for the resource.
func (*RuleGroup) ResolveReferences ¶
ResolveReferences of this RuleGroup.
func (*RuleGroup) SetConditions ¶
SetConditions of this RuleGroup.
func (*RuleGroup) SetDeletionPolicy ¶
func (mg *RuleGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this RuleGroup.
func (*RuleGroup) SetManagementPolicies ¶ added in v0.8.0
func (mg *RuleGroup) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this RuleGroup.
func (*RuleGroup) SetObservation ¶
SetObservation for this RuleGroup
func (*RuleGroup) SetParameters ¶
SetParameters for this RuleGroup
func (*RuleGroup) SetProviderConfigReference ¶
SetProviderConfigReference of this RuleGroup.
func (*RuleGroup) SetPublishConnectionDetailsTo ¶
func (mg *RuleGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this RuleGroup.
func (*RuleGroup) SetWriteConnectionSecretToReference ¶
func (mg *RuleGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this RuleGroup.
type RuleGroupInitParameters ¶ added in v0.8.0
type RuleGroupInitParameters struct { // Defaults to false. Defaults to `false`. DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // Reference to a Folder in oss to populate folderUid. // +kubebuilder:validation:Optional FolderRef *v1.Reference `json:"folderRef,omitempty" tf:"-"` // Selector for a Folder in oss to populate folderUid. // +kubebuilder:validation:Optional FolderSelector *v1.Selector `json:"folderSelector,omitempty" tf:"-"` // (String) The UID of the folder that the group belongs to. // The UID of the folder that the group belongs to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Folder // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.UIDExtractor() // +crossplane:generate:reference:refFieldName=FolderRef // +crossplane:generate:reference:selectorFieldName=FolderSelector FolderUID *string `json:"folderUid,omitempty" tf:"folder_uid,omitempty"` // (Number) The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially. // The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially. IntervalSeconds *float64 `json:"intervalSeconds,omitempty" tf:"interval_seconds,omitempty"` // (String) The name of the rule group. // The name of the rule group. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block List, Min: 1) The rules within the group. (see below for nested schema) // The rules within the group. Rule []RuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"` }
func (*RuleGroupInitParameters) DeepCopy ¶ added in v0.8.0
func (in *RuleGroupInitParameters) DeepCopy() *RuleGroupInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupInitParameters.
func (*RuleGroupInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *RuleGroupInitParameters) DeepCopyInto(out *RuleGroupInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleGroupList ¶
type RuleGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RuleGroup `json:"items"` }
RuleGroupList contains a list of RuleGroups
func (*RuleGroupList) DeepCopy ¶
func (in *RuleGroupList) DeepCopy() *RuleGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupList.
func (*RuleGroupList) DeepCopyInto ¶
func (in *RuleGroupList) DeepCopyInto(out *RuleGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleGroupList) DeepCopyObject ¶
func (in *RuleGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RuleGroupList) GetItems ¶
func (l *RuleGroupList) GetItems() []resource.Managed
GetItems of this RuleGroupList.
type RuleGroupObservation ¶
type RuleGroupObservation struct { // Defaults to false. Defaults to `false`. DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // (String) The UID of the folder that the group belongs to. // The UID of the folder that the group belongs to. FolderUID *string `json:"folderUid,omitempty" tf:"folder_uid,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Number) The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially. // The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially. IntervalSeconds *float64 `json:"intervalSeconds,omitempty" tf:"interval_seconds,omitempty"` // (String) The name of the rule group. // The name of the rule group. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Block List, Min: 1) The rules within the group. (see below for nested schema) // The rules within the group. Rule []RuleObservation `json:"rule,omitempty" tf:"rule,omitempty"` }
func (*RuleGroupObservation) DeepCopy ¶
func (in *RuleGroupObservation) DeepCopy() *RuleGroupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupObservation.
func (*RuleGroupObservation) DeepCopyInto ¶
func (in *RuleGroupObservation) DeepCopyInto(out *RuleGroupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleGroupParameters ¶
type RuleGroupParameters struct { // Defaults to false. Defaults to `false`. // +kubebuilder:validation:Optional DisableProvenance *bool `json:"disableProvenance,omitempty" tf:"disable_provenance,omitempty"` // Reference to a Folder in oss to populate folderUid. // +kubebuilder:validation:Optional FolderRef *v1.Reference `json:"folderRef,omitempty" tf:"-"` // Selector for a Folder in oss to populate folderUid. // +kubebuilder:validation:Optional FolderSelector *v1.Selector `json:"folderSelector,omitempty" tf:"-"` // (String) The UID of the folder that the group belongs to. // The UID of the folder that the group belongs to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Folder // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.UIDExtractor() // +crossplane:generate:reference:refFieldName=FolderRef // +crossplane:generate:reference:selectorFieldName=FolderSelector // +kubebuilder:validation:Optional FolderUID *string `json:"folderUid,omitempty" tf:"folder_uid,omitempty"` // (Number) The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially. // The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially. // +kubebuilder:validation:Optional IntervalSeconds *float64 `json:"intervalSeconds,omitempty" tf:"interval_seconds,omitempty"` // (String) The name of the rule group. // The name of the rule group. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block List, Min: 1) The rules within the group. (see below for nested schema) // The rules within the group. // +kubebuilder:validation:Optional Rule []RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"` }
func (*RuleGroupParameters) DeepCopy ¶
func (in *RuleGroupParameters) DeepCopy() *RuleGroupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupParameters.
func (*RuleGroupParameters) DeepCopyInto ¶
func (in *RuleGroupParameters) DeepCopyInto(out *RuleGroupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleGroupSpec ¶
type RuleGroupSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RuleGroupParameters `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 RuleGroupInitParameters `json:"initProvider,omitempty"` }
RuleGroupSpec defines the desired state of RuleGroup
func (*RuleGroupSpec) DeepCopy ¶
func (in *RuleGroupSpec) DeepCopy() *RuleGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupSpec.
func (*RuleGroupSpec) DeepCopyInto ¶
func (in *RuleGroupSpec) DeepCopyInto(out *RuleGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleGroupStatus ¶
type RuleGroupStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RuleGroupObservation `json:"atProvider,omitempty"` }
RuleGroupStatus defines the observed state of RuleGroup.
func (*RuleGroupStatus) DeepCopy ¶
func (in *RuleGroupStatus) DeepCopy() *RuleGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupStatus.
func (*RuleGroupStatus) DeepCopyInto ¶
func (in *RuleGroupStatus) DeepCopyInto(out *RuleGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleInitParameters ¶ added in v0.8.0
type RuleInitParameters struct { // value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[]. // Key-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`. // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // (String) The ref_id of the query node in the data field to use as the alert condition. // The `ref_id` of the query node in the `data` field to use as the alert condition. Condition *string `json:"condition,omitempty" tf:"condition,omitempty"` // (Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema) // A sequence of stages that describe the contents of the rule. Data []DataInitParameters `json:"data,omitempty" tf:"data,omitempty"` // (String) Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, and Alerting. Defaults to Alerting. // Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, and Alerting. Defaults to `Alerting`. ExecErrState *string `json:"execErrState,omitempty" tf:"exec_err_state,omitempty"` // (String) The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to 0. // The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to `0`. For *string `json:"for,omitempty" tf:"for,omitempty"` // (Boolean) Sets whether the alert should be paused or not. Defaults to false. // Sets whether the alert should be paused or not. Defaults to `false`. IsPaused *bool `json:"isPaused,omitempty" tf:"is_paused,omitempty"` // value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[]. // Key-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // (String) The name of the rule group. // The name of the alert rule. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, and Alerting. Defaults to NoData. // Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, and Alerting. Defaults to `NoData`. NoDataState *string `json:"noDataState,omitempty" tf:"no_data_state,omitempty"` // (Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema) // Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. NotificationSettings []NotificationSettingsInitParameters `json:"notificationSettings,omitempty" tf:"notification_settings,omitempty"` }
func (*RuleInitParameters) DeepCopy ¶ added in v0.8.0
func (in *RuleInitParameters) DeepCopy() *RuleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleInitParameters.
func (*RuleInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleObservation ¶
type RuleObservation struct { // value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[]. // Key-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`. // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // (String) The ref_id of the query node in the data field to use as the alert condition. // The `ref_id` of the query node in the `data` field to use as the alert condition. Condition *string `json:"condition,omitempty" tf:"condition,omitempty"` // (Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema) // A sequence of stages that describe the contents of the rule. Data []DataObservation `json:"data,omitempty" tf:"data,omitempty"` // (String) Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, and Alerting. Defaults to Alerting. // Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, and Alerting. Defaults to `Alerting`. ExecErrState *string `json:"execErrState,omitempty" tf:"exec_err_state,omitempty"` // (String) The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to 0. // The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to `0`. For *string `json:"for,omitempty" tf:"for,omitempty"` // (Boolean) Sets whether the alert should be paused or not. Defaults to false. // Sets whether the alert should be paused or not. Defaults to `false`. IsPaused *bool `json:"isPaused,omitempty" tf:"is_paused,omitempty"` // value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[]. // Key-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // (String) The name of the rule group. // The name of the alert rule. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, and Alerting. Defaults to NoData. // Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, and Alerting. Defaults to `NoData`. NoDataState *string `json:"noDataState,omitempty" tf:"no_data_state,omitempty"` // (Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema) // Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. NotificationSettings []NotificationSettingsObservation `json:"notificationSettings,omitempty" tf:"notification_settings,omitempty"` // (String) The unique identifier of the alert rule. // The unique identifier of the alert rule. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*RuleObservation) DeepCopy ¶
func (in *RuleObservation) DeepCopy() *RuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation.
func (*RuleObservation) DeepCopyInto ¶
func (in *RuleObservation) DeepCopyInto(out *RuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleParameters ¶
type RuleParameters struct { // value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[]. // Key-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`. // +kubebuilder:validation:Optional // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // (String) The ref_id of the query node in the data field to use as the alert condition. // The `ref_id` of the query node in the `data` field to use as the alert condition. // +kubebuilder:validation:Optional Condition *string `json:"condition" tf:"condition,omitempty"` // (Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema) // A sequence of stages that describe the contents of the rule. // +kubebuilder:validation:Optional Data []DataParameters `json:"data" tf:"data,omitempty"` // (String) Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, and Alerting. Defaults to Alerting. // Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, and Alerting. Defaults to `Alerting`. // +kubebuilder:validation:Optional ExecErrState *string `json:"execErrState,omitempty" tf:"exec_err_state,omitempty"` // (String) The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to 0. // The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to `0`. // +kubebuilder:validation:Optional For *string `json:"for,omitempty" tf:"for,omitempty"` // (Boolean) Sets whether the alert should be paused or not. Defaults to false. // Sets whether the alert should be paused or not. Defaults to `false`. // +kubebuilder:validation:Optional IsPaused *bool `json:"isPaused,omitempty" tf:"is_paused,omitempty"` // value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[]. // Key-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // (String) The name of the rule group. // The name of the alert rule. // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` // (String) Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, and Alerting. Defaults to NoData. // Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, and Alerting. Defaults to `NoData`. // +kubebuilder:validation:Optional NoDataState *string `json:"noDataState,omitempty" tf:"no_data_state,omitempty"` // (Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema) // Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. // +kubebuilder:validation:Optional NotificationSettings []NotificationSettingsParameters `json:"notificationSettings,omitempty" tf:"notification_settings,omitempty"` }
func (*RuleParameters) DeepCopy ¶
func (in *RuleParameters) DeepCopy() *RuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters.
func (*RuleParameters) DeepCopyInto ¶
func (in *RuleParameters) DeepCopyInto(out *RuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SensugoInitParameters ¶ added in v0.8.0
type SensugoInitParameters struct { // (String) The SensuGo check to which the event should be routed. // The SensuGo check to which the event should be routed. Check *string `json:"check,omitempty" tf:"check,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The entity being monitored. // The entity being monitored. Entity *string `json:"entity,omitempty" tf:"entity,omitempty"` // (String) A custom handler to execute in addition to the check. // A custom handler to execute in addition to the check. Handler *string `json:"handler,omitempty" tf:"handler,omitempty"` // (String) The templated content of the message. // Templated message content describing the alert. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The namespace in which the check resides. // The namespace in which the check resides. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // (String) The URL of the Alertmanager instance. // The SensuGo URL to send requests to. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*SensugoInitParameters) DeepCopy ¶ added in v0.8.0
func (in *SensugoInitParameters) DeepCopy() *SensugoInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensugoInitParameters.
func (*SensugoInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *SensugoInitParameters) DeepCopyInto(out *SensugoInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SensugoObservation ¶
type SensugoObservation struct { // (String) The SensuGo check to which the event should be routed. // The SensuGo check to which the event should be routed. Check *string `json:"check,omitempty" tf:"check,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The entity being monitored. // The entity being monitored. Entity *string `json:"entity,omitempty" tf:"entity,omitempty"` // (String) A custom handler to execute in addition to the check. // A custom handler to execute in addition to the check. Handler *string `json:"handler,omitempty" tf:"handler,omitempty"` // (String) The templated content of the message. // Templated message content describing the alert. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The namespace in which the check resides. // The namespace in which the check resides. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The URL of the Alertmanager instance. // The SensuGo URL to send requests to. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*SensugoObservation) DeepCopy ¶
func (in *SensugoObservation) DeepCopy() *SensugoObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensugoObservation.
func (*SensugoObservation) DeepCopyInto ¶
func (in *SensugoObservation) DeepCopyInto(out *SensugoObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SensugoParameters ¶
type SensugoParameters struct { // (String, Sensitive) The OpsGenie API key to use. // The SensuGo API key. // +kubebuilder:validation:Required APIKeySecretRef v1.SecretKeySelector `json:"apiKeySecretRef" tf:"-"` // (String) The SensuGo check to which the event should be routed. // The SensuGo check to which the event should be routed. // +kubebuilder:validation:Optional Check *string `json:"check,omitempty" tf:"check,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The entity being monitored. // The entity being monitored. // +kubebuilder:validation:Optional Entity *string `json:"entity,omitempty" tf:"entity,omitempty"` // (String) A custom handler to execute in addition to the check. // A custom handler to execute in addition to the check. // +kubebuilder:validation:Optional Handler *string `json:"handler,omitempty" tf:"handler,omitempty"` // (String) The templated content of the message. // Templated message content describing the alert. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The namespace in which the check resides. // The namespace in which the check resides. // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The URL of the Alertmanager instance. // The SensuGo URL to send requests to. // +kubebuilder:validation:Optional URL *string `json:"url" tf:"url,omitempty"` }
func (*SensugoParameters) DeepCopy ¶
func (in *SensugoParameters) DeepCopy() *SensugoParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensugoParameters.
func (*SensugoParameters) DeepCopyInto ¶
func (in *SensugoParameters) DeepCopyInto(out *SensugoParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SlackInitParameters ¶ added in v0.8.0
type SlackInitParameters struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) Use this to override the Slack API endpoint URL to send requests to. // Use this to override the Slack API endpoint URL to send requests to. EndpointURL *string `json:"endpointUrl,omitempty" tf:"endpoint_url,omitempty"` // (String) The name of a Slack workspace emoji to use as the bot icon. // The name of a Slack workspace emoji to use as the bot icon. IconEmoji *string `json:"iconEmoji,omitempty" tf:"icon_emoji,omitempty"` // (String) A URL of an image to use as the bot icon. // A URL of an image to use as the bot icon. IconURL *string `json:"iconUrl,omitempty" tf:"icon_url,omitempty"` // (String) Describes how to ping the slack channel that messages are being sent to. Options are here for an @here ping, channel for @channel, or empty for no ping. // Describes how to ping the slack channel that messages are being sent to. Options are `here` for an @here ping, `channel` for @channel, or empty for no ping. MentionChannel *string `json:"mentionChannel,omitempty" tf:"mention_channel,omitempty"` // separated list of groups to mention in the message. // Comma-separated list of groups to mention in the message. MentionGroups *string `json:"mentionGroups,omitempty" tf:"mention_groups,omitempty"` // separated list of users to mention in the message. // Comma-separated list of users to mention in the message. MentionUsers *string `json:"mentionUsers,omitempty" tf:"mention_users,omitempty"` // (String) Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to. // Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to. Recipient *string `json:"recipient,omitempty" tf:"recipient,omitempty"` // (String) Templated content of the message. // Templated content of the message. Text *string `json:"text,omitempty" tf:"text,omitempty"` // (String) The templated title of the message. // Templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The user name to use when making a call to the Kafka REST Proxy // Username for the bot to use. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*SlackInitParameters) DeepCopy ¶ added in v0.8.0
func (in *SlackInitParameters) DeepCopy() *SlackInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackInitParameters.
func (*SlackInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *SlackInitParameters) DeepCopyInto(out *SlackInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SlackObservation ¶
type SlackObservation struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) Use this to override the Slack API endpoint URL to send requests to. // Use this to override the Slack API endpoint URL to send requests to. EndpointURL *string `json:"endpointUrl,omitempty" tf:"endpoint_url,omitempty"` // (String) The name of a Slack workspace emoji to use as the bot icon. // The name of a Slack workspace emoji to use as the bot icon. IconEmoji *string `json:"iconEmoji,omitempty" tf:"icon_emoji,omitempty"` // (String) A URL of an image to use as the bot icon. // A URL of an image to use as the bot icon. IconURL *string `json:"iconUrl,omitempty" tf:"icon_url,omitempty"` // (String) Describes how to ping the slack channel that messages are being sent to. Options are here for an @here ping, channel for @channel, or empty for no ping. // Describes how to ping the slack channel that messages are being sent to. Options are `here` for an @here ping, `channel` for @channel, or empty for no ping. MentionChannel *string `json:"mentionChannel,omitempty" tf:"mention_channel,omitempty"` // separated list of groups to mention in the message. // Comma-separated list of groups to mention in the message. MentionGroups *string `json:"mentionGroups,omitempty" tf:"mention_groups,omitempty"` // separated list of users to mention in the message. // Comma-separated list of users to mention in the message. MentionUsers *string `json:"mentionUsers,omitempty" tf:"mention_users,omitempty"` // (String) Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to. // Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to. Recipient *string `json:"recipient,omitempty" tf:"recipient,omitempty"` // (String) Templated content of the message. // Templated content of the message. Text *string `json:"text,omitempty" tf:"text,omitempty"` // (String) The templated title of the message. // Templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The user name to use when making a call to the Kafka REST Proxy // Username for the bot to use. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*SlackObservation) DeepCopy ¶
func (in *SlackObservation) DeepCopy() *SlackObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackObservation.
func (*SlackObservation) DeepCopyInto ¶
func (in *SlackObservation) DeepCopyInto(out *SlackObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SlackParameters ¶
type SlackParameters struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) Use this to override the Slack API endpoint URL to send requests to. // Use this to override the Slack API endpoint URL to send requests to. // +kubebuilder:validation:Optional EndpointURL *string `json:"endpointUrl,omitempty" tf:"endpoint_url,omitempty"` // (String) The name of a Slack workspace emoji to use as the bot icon. // The name of a Slack workspace emoji to use as the bot icon. // +kubebuilder:validation:Optional IconEmoji *string `json:"iconEmoji,omitempty" tf:"icon_emoji,omitempty"` // (String) A URL of an image to use as the bot icon. // A URL of an image to use as the bot icon. // +kubebuilder:validation:Optional IconURL *string `json:"iconUrl,omitempty" tf:"icon_url,omitempty"` // (String) Describes how to ping the slack channel that messages are being sent to. Options are here for an @here ping, channel for @channel, or empty for no ping. // Describes how to ping the slack channel that messages are being sent to. Options are `here` for an @here ping, `channel` for @channel, or empty for no ping. // +kubebuilder:validation:Optional MentionChannel *string `json:"mentionChannel,omitempty" tf:"mention_channel,omitempty"` // separated list of groups to mention in the message. // Comma-separated list of groups to mention in the message. // +kubebuilder:validation:Optional MentionGroups *string `json:"mentionGroups,omitempty" tf:"mention_groups,omitempty"` // separated list of users to mention in the message. // Comma-separated list of users to mention in the message. // +kubebuilder:validation:Optional MentionUsers *string `json:"mentionUsers,omitempty" tf:"mention_users,omitempty"` // (String) Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to. // Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to. // +kubebuilder:validation:Optional Recipient *string `json:"recipient,omitempty" tf:"recipient,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) Templated content of the message. // Templated content of the message. // +kubebuilder:validation:Optional Text *string `json:"text,omitempty" tf:"text,omitempty"` // (String) The templated title of the message. // Templated title of the message. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String, Sensitive) The bearer token used to authorize the client. // A Slack API token,for sending messages directly without the webhook method. // +kubebuilder:validation:Optional TokenSecretRef *v1.SecretKeySelector `json:"tokenSecretRef,omitempty" tf:"-"` // (String) The URL of the Alertmanager instance. // A Slack webhook URL,for sending messages via the webhook method. // +kubebuilder:validation:Optional URLSecretRef *v1.SecretKeySelector `json:"urlSecretRef,omitempty" tf:"-"` // (String) The user name to use when making a call to the Kafka REST Proxy // Username for the bot to use. // +kubebuilder:validation:Optional Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*SlackParameters) DeepCopy ¶
func (in *SlackParameters) DeepCopy() *SlackParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackParameters.
func (*SlackParameters) DeepCopyInto ¶
func (in *SlackParameters) DeepCopyInto(out *SlackParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnsInitParameters ¶ added in v0.10.0
type SnsInitParameters struct { // (String) The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS. // The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS. AssumeRoleArn *string `json:"assumeRoleArn,omitempty" tf:"assume_role_arn,omitempty"` // (String) The authentication provider to use. Valid values are default, arn and keys. Default is default. Defaults to default. // The authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`. AuthProvider *string `json:"authProvider,omitempty" tf:"auth_provider,omitempty"` // (String) Body *string `json:"body,omitempty" tf:"body,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The external ID to use when assuming the role. // The external ID to use when assuming the role. ExternalID *string `json:"externalId,omitempty" tf:"external_id,omitempty"` // (String) The format of the message to send. Valid values are text, body and json. Default is text. Defaults to text. // The format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`. MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"` // (String) The templated subject line of the email. Defaults to “. Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` // (String) The name of the Kafka topic to publish to. // The Amazon SNS topic to send notifications to. Topic *string `json:"topic,omitempty" tf:"topic,omitempty"` }
func (*SnsInitParameters) DeepCopy ¶ added in v0.10.0
func (in *SnsInitParameters) DeepCopy() *SnsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnsInitParameters.
func (*SnsInitParameters) DeepCopyInto ¶ added in v0.10.0
func (in *SnsInitParameters) DeepCopyInto(out *SnsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnsObservation ¶ added in v0.10.0
type SnsObservation struct { // (String) The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS. // The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS. AssumeRoleArn *string `json:"assumeRoleArn,omitempty" tf:"assume_role_arn,omitempty"` // (String) The authentication provider to use. Valid values are default, arn and keys. Default is default. Defaults to default. // The authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`. AuthProvider *string `json:"authProvider,omitempty" tf:"auth_provider,omitempty"` // (String) Body *string `json:"body,omitempty" tf:"body,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The external ID to use when assuming the role. // The external ID to use when assuming the role. ExternalID *string `json:"externalId,omitempty" tf:"external_id,omitempty"` // (String) The format of the message to send. Valid values are text, body and json. Default is text. Defaults to text. // The format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`. MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"` // (String) The templated subject line of the email. Defaults to “. Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` // (String) The name of the Kafka topic to publish to. // The Amazon SNS topic to send notifications to. Topic *string `json:"topic,omitempty" tf:"topic,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*SnsObservation) DeepCopy ¶ added in v0.10.0
func (in *SnsObservation) DeepCopy() *SnsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnsObservation.
func (*SnsObservation) DeepCopyInto ¶ added in v0.10.0
func (in *SnsObservation) DeepCopyInto(out *SnsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnsParameters ¶ added in v0.10.0
type SnsParameters struct { // (String, Sensitive) AWS access key ID used to authenticate with Amazon SNS. // AWS access key ID used to authenticate with Amazon SNS. // +kubebuilder:validation:Optional AccessKeySecretRef *v1.SecretKeySelector `json:"accessKeySecretRef,omitempty" tf:"-"` // (String) The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS. // The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS. // +kubebuilder:validation:Optional AssumeRoleArn *string `json:"assumeRoleArn,omitempty" tf:"assume_role_arn,omitempty"` // (String) The authentication provider to use. Valid values are default, arn and keys. Default is default. Defaults to default. // The authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`. // +kubebuilder:validation:Optional AuthProvider *string `json:"authProvider,omitempty" tf:"auth_provider,omitempty"` // (String) // +kubebuilder:validation:Optional Body *string `json:"body,omitempty" tf:"body,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The external ID to use when assuming the role. // The external ID to use when assuming the role. // +kubebuilder:validation:Optional ExternalID *string `json:"externalId,omitempty" tf:"external_id,omitempty"` // (String) The format of the message to send. Valid values are text, body and json. Default is text. Defaults to text. // The format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`. // +kubebuilder:validation:Optional MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"` // (String, Sensitive) AWS secret access key used to authenticate with Amazon SNS. // AWS secret access key used to authenticate with Amazon SNS. // +kubebuilder:validation:Optional SecretKeySecretRef *v1.SecretKeySelector `json:"secretKeySecretRef,omitempty" tf:"-"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated subject line of the email. Defaults to “. // +kubebuilder:validation:Optional Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` // (String) The name of the Kafka topic to publish to. // The Amazon SNS topic to send notifications to. // +kubebuilder:validation:Optional Topic *string `json:"topic" tf:"topic,omitempty"` }
func (*SnsParameters) DeepCopy ¶ added in v0.10.0
func (in *SnsParameters) DeepCopy() *SnsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnsParameters.
func (*SnsParameters) DeepCopyInto ¶ added in v0.10.0
func (in *SnsParameters) DeepCopyInto(out *SnsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamsInitParameters ¶ added in v0.8.0
type TeamsInitParameters struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated message content to send. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated subtitle for each message section. // The templated subtitle for each message section. SectionTitle *string `json:"sectionTitle,omitempty" tf:"section_title,omitempty"` // (String) The templated title of the message. // The templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*TeamsInitParameters) DeepCopy ¶ added in v0.8.0
func (in *TeamsInitParameters) DeepCopy() *TeamsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamsInitParameters.
func (*TeamsInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *TeamsInitParameters) DeepCopyInto(out *TeamsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamsObservation ¶
type TeamsObservation struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated message content to send. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated subtitle for each message section. // The templated subtitle for each message section. SectionTitle *string `json:"sectionTitle,omitempty" tf:"section_title,omitempty"` // (String) The templated title of the message. // The templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*TeamsObservation) DeepCopy ¶
func (in *TeamsObservation) DeepCopy() *TeamsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamsObservation.
func (*TeamsObservation) DeepCopyInto ¶
func (in *TeamsObservation) DeepCopyInto(out *TeamsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamsParameters ¶
type TeamsParameters struct { // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated message content to send. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated subtitle for each message section. // The templated subtitle for each message section. // +kubebuilder:validation:Optional SectionTitle *string `json:"sectionTitle,omitempty" tf:"section_title,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated title of the message. // The templated title of the message. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // A Teams webhook URL. // +kubebuilder:validation:Required URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"` }
func (*TeamsParameters) DeepCopy ¶
func (in *TeamsParameters) DeepCopy() *TeamsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamsParameters.
func (*TeamsParameters) DeepCopyInto ¶
func (in *TeamsParameters) DeepCopyInto(out *TeamsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TelegramInitParameters ¶ added in v0.8.0
type TelegramInitParameters struct { // (String) The chat ID to send messages to. // The chat ID to send messages to. ChatID *string `json:"chatId,omitempty" tf:"chat_id,omitempty"` // (Boolean) When set users will receive a notification with no sound. // When set users will receive a notification with no sound. DisableNotifications *bool `json:"disableNotifications,omitempty" tf:"disable_notifications,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (Boolean) When set it disables link previews for links in the message. // When set it disables link previews for links in the message. DisableWebPagePreview *bool `json:"disableWebPagePreview,omitempty" tf:"disable_web_page_preview,omitempty"` // (String) The templated content of the message. // The templated content of the message. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default. // Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default. ParseMode *string `json:"parseMode,omitempty" tf:"parse_mode,omitempty"` // (Boolean) When set it protects the contents of the message from forwarding and saving. // When set it protects the contents of the message from forwarding and saving. ProtectContent *bool `json:"protectContent,omitempty" tf:"protect_content,omitempty"` }
func (*TelegramInitParameters) DeepCopy ¶ added in v0.8.0
func (in *TelegramInitParameters) DeepCopy() *TelegramInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TelegramInitParameters.
func (*TelegramInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *TelegramInitParameters) DeepCopyInto(out *TelegramInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TelegramObservation ¶
type TelegramObservation struct { // (String) The chat ID to send messages to. // The chat ID to send messages to. ChatID *string `json:"chatId,omitempty" tf:"chat_id,omitempty"` // (Boolean) When set users will receive a notification with no sound. // When set users will receive a notification with no sound. DisableNotifications *bool `json:"disableNotifications,omitempty" tf:"disable_notifications,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (Boolean) When set it disables link previews for links in the message. // When set it disables link previews for links in the message. DisableWebPagePreview *bool `json:"disableWebPagePreview,omitempty" tf:"disable_web_page_preview,omitempty"` // (String) The templated content of the message. // The templated content of the message. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default. // Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default. ParseMode *string `json:"parseMode,omitempty" tf:"parse_mode,omitempty"` // (Boolean) When set it protects the contents of the message from forwarding and saving. // When set it protects the contents of the message from forwarding and saving. ProtectContent *bool `json:"protectContent,omitempty" tf:"protect_content,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*TelegramObservation) DeepCopy ¶
func (in *TelegramObservation) DeepCopy() *TelegramObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TelegramObservation.
func (*TelegramObservation) DeepCopyInto ¶
func (in *TelegramObservation) DeepCopyInto(out *TelegramObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TelegramParameters ¶
type TelegramParameters struct { // (String) The chat ID to send messages to. // The chat ID to send messages to. // +kubebuilder:validation:Optional ChatID *string `json:"chatId" tf:"chat_id,omitempty"` // (Boolean) When set users will receive a notification with no sound. // When set users will receive a notification with no sound. // +kubebuilder:validation:Optional DisableNotifications *bool `json:"disableNotifications,omitempty" tf:"disable_notifications,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (Boolean) When set it disables link previews for links in the message. // When set it disables link previews for links in the message. // +kubebuilder:validation:Optional DisableWebPagePreview *bool `json:"disableWebPagePreview,omitempty" tf:"disable_web_page_preview,omitempty"` // (String) The templated content of the message. // The templated content of the message. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default. // Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default. // +kubebuilder:validation:Optional ParseMode *string `json:"parseMode,omitempty" tf:"parse_mode,omitempty"` // (Boolean) When set it protects the contents of the message from forwarding and saving. // When set it protects the contents of the message from forwarding and saving. // +kubebuilder:validation:Optional ProtectContent *bool `json:"protectContent,omitempty" tf:"protect_content,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String, Sensitive) The bearer token used to authorize the client. // The Telegram bot token. // +kubebuilder:validation:Required TokenSecretRef v1.SecretKeySelector `json:"tokenSecretRef" tf:"-"` }
func (*TelegramParameters) DeepCopy ¶
func (in *TelegramParameters) DeepCopy() *TelegramParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TelegramParameters.
func (*TelegramParameters) DeepCopyInto ¶
func (in *TelegramParameters) DeepCopyInto(out *TelegramParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThreemaInitParameters ¶ added in v0.8.0
type ThreemaInitParameters struct { // (String) The templated description of the Kafka message. // The templated description of the message. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The Threema gateway ID. // The Threema gateway ID. GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"` // (String) The ID of the recipient of the message. // The ID of the recipient of the message. RecipientID *string `json:"recipientId,omitempty" tf:"recipient_id,omitempty"` // (String) The templated title of the message. // The templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*ThreemaInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ThreemaInitParameters) DeepCopy() *ThreemaInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreemaInitParameters.
func (*ThreemaInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ThreemaInitParameters) DeepCopyInto(out *ThreemaInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThreemaObservation ¶
type ThreemaObservation struct { // (String) The templated description of the Kafka message. // The templated description of the message. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The Threema gateway ID. // The Threema gateway ID. GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"` // (String) The ID of the recipient of the message. // The ID of the recipient of the message. RecipientID *string `json:"recipientId,omitempty" tf:"recipient_id,omitempty"` // (String) The templated title of the message. // The templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*ThreemaObservation) DeepCopy ¶
func (in *ThreemaObservation) DeepCopy() *ThreemaObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreemaObservation.
func (*ThreemaObservation) DeepCopyInto ¶
func (in *ThreemaObservation) DeepCopyInto(out *ThreemaObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThreemaParameters ¶
type ThreemaParameters struct { // (String, Sensitive) The Threema API key. // The Threema API key. // +kubebuilder:validation:Required APISecretSecretRef v1.SecretKeySelector `json:"apiSecretSecretRef" tf:"-"` // (String) The templated description of the Kafka message. // The templated description of the message. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The Threema gateway ID. // The Threema gateway ID. // +kubebuilder:validation:Optional GatewayID *string `json:"gatewayId" tf:"gateway_id,omitempty"` // (String) The ID of the recipient of the message. // The ID of the recipient of the message. // +kubebuilder:validation:Optional RecipientID *string `json:"recipientId" tf:"recipient_id,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated title of the message. // The templated title of the message. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*ThreemaParameters) DeepCopy ¶
func (in *ThreemaParameters) DeepCopy() *ThreemaParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreemaParameters.
func (*ThreemaParameters) DeepCopyInto ¶
func (in *ThreemaParameters) DeepCopyInto(out *ThreemaParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimesInitParameters ¶ added in v0.8.0
type TimesInitParameters struct { // (String) The time, in hh:mm format, of when the interval should end exclusively. // The time, in hh:mm format, of when the interval should end exclusively. End *string `json:"end,omitempty" tf:"end,omitempty"` // (String) The time, in hh:mm format, of when the interval should begin inclusively. // The time, in hh:mm format, of when the interval should begin inclusively. Start *string `json:"start,omitempty" tf:"start,omitempty"` }
func (*TimesInitParameters) DeepCopy ¶ added in v0.8.0
func (in *TimesInitParameters) DeepCopy() *TimesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimesInitParameters.
func (*TimesInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *TimesInitParameters) DeepCopyInto(out *TimesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimesObservation ¶
type TimesObservation struct { // (String) The time, in hh:mm format, of when the interval should end exclusively. // The time, in hh:mm format, of when the interval should end exclusively. End *string `json:"end,omitempty" tf:"end,omitempty"` // (String) The time, in hh:mm format, of when the interval should begin inclusively. // The time, in hh:mm format, of when the interval should begin inclusively. Start *string `json:"start,omitempty" tf:"start,omitempty"` }
func (*TimesObservation) DeepCopy ¶
func (in *TimesObservation) DeepCopy() *TimesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimesObservation.
func (*TimesObservation) DeepCopyInto ¶
func (in *TimesObservation) DeepCopyInto(out *TimesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimesParameters ¶
type TimesParameters struct { // (String) The time, in hh:mm format, of when the interval should end exclusively. // The time, in hh:mm format, of when the interval should end exclusively. // +kubebuilder:validation:Optional End *string `json:"end" tf:"end,omitempty"` // (String) The time, in hh:mm format, of when the interval should begin inclusively. // The time, in hh:mm format, of when the interval should begin inclusively. // +kubebuilder:validation:Optional Start *string `json:"start" tf:"start,omitempty"` }
func (*TimesParameters) DeepCopy ¶
func (in *TimesParameters) DeepCopy() *TimesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimesParameters.
func (*TimesParameters) DeepCopyInto ¶
func (in *TimesParameters) DeepCopyInto(out *TimesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VictoropsInitParameters ¶ added in v0.8.0
type VictoropsInitParameters struct { // (String) The templated description of the Kafka message. // Templated description of the message. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // either 'link' or 'actionCard' // The VictorOps alert state - typically either `CRITICAL` or `RECOVERY`. MessageType *string `json:"messageType,omitempty" tf:"message_type,omitempty"` // (String) The templated title of the message. // Templated title to display. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // The VictorOps webhook URL. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*VictoropsInitParameters) DeepCopy ¶ added in v0.8.0
func (in *VictoropsInitParameters) DeepCopy() *VictoropsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VictoropsInitParameters.
func (*VictoropsInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *VictoropsInitParameters) DeepCopyInto(out *VictoropsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VictoropsObservation ¶
type VictoropsObservation struct { // (String) The templated description of the Kafka message. // Templated description of the message. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // either 'link' or 'actionCard' // The VictorOps alert state - typically either `CRITICAL` or `RECOVERY`. MessageType *string `json:"messageType,omitempty" tf:"message_type,omitempty"` // (String) The templated title of the message. // Templated title to display. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The URL of the Alertmanager instance. // The VictorOps webhook URL. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*VictoropsObservation) DeepCopy ¶
func (in *VictoropsObservation) DeepCopy() *VictoropsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VictoropsObservation.
func (*VictoropsObservation) DeepCopyInto ¶
func (in *VictoropsObservation) DeepCopyInto(out *VictoropsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VictoropsParameters ¶
type VictoropsParameters struct { // (String) The templated description of the Kafka message. // Templated description of the message. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // either 'link' or 'actionCard' // The VictorOps alert state - typically either `CRITICAL` or `RECOVERY`. // +kubebuilder:validation:Optional MessageType *string `json:"messageType,omitempty" tf:"message_type,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated title of the message. // Templated title to display. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // The VictorOps webhook URL. // +kubebuilder:validation:Optional URL *string `json:"url" tf:"url,omitempty"` }
func (*VictoropsParameters) DeepCopy ¶
func (in *VictoropsParameters) DeepCopy() *VictoropsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VictoropsParameters.
func (*VictoropsParameters) DeepCopyInto ¶
func (in *VictoropsParameters) DeepCopyInto(out *VictoropsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebexInitParameters ¶ added in v0.9.0
type WebexInitParameters struct { // (String) The URL to send webhook requests to. // The URL to send webhook requests to. APIURL *string `json:"apiUrl,omitempty" tf:"api_url,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated title of the message to send. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) ID of the Webex Teams room where to send the messages. // ID of the Webex Teams room where to send the messages. RoomID *string `json:"roomId,omitempty" tf:"room_id,omitempty"` }
func (*WebexInitParameters) DeepCopy ¶ added in v0.9.0
func (in *WebexInitParameters) DeepCopy() *WebexInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebexInitParameters.
func (*WebexInitParameters) DeepCopyInto ¶ added in v0.9.0
func (in *WebexInitParameters) DeepCopyInto(out *WebexInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebexObservation ¶ added in v0.9.0
type WebexObservation struct { // (String) The URL to send webhook requests to. // The URL to send webhook requests to. APIURL *string `json:"apiUrl,omitempty" tf:"api_url,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated title of the message to send. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) ID of the Webex Teams room where to send the messages. // ID of the Webex Teams room where to send the messages. RoomID *string `json:"roomId,omitempty" tf:"room_id,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*WebexObservation) DeepCopy ¶ added in v0.9.0
func (in *WebexObservation) DeepCopy() *WebexObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebexObservation.
func (*WebexObservation) DeepCopyInto ¶ added in v0.9.0
func (in *WebexObservation) DeepCopyInto(out *WebexObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebexParameters ¶ added in v0.9.0
type WebexParameters struct { // (String) The URL to send webhook requests to. // The URL to send webhook requests to. // +kubebuilder:validation:Optional APIURL *string `json:"apiUrl,omitempty" tf:"api_url,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated title of the message to send. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) ID of the Webex Teams room where to send the messages. // ID of the Webex Teams room where to send the messages. // +kubebuilder:validation:Optional RoomID *string `json:"roomId,omitempty" tf:"room_id,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String, Sensitive) The bearer token used to authorize the client. // The bearer token used to authorize the client. // +kubebuilder:validation:Optional TokenSecretRef *v1.SecretKeySelector `json:"tokenSecretRef,omitempty" tf:"-"` }
func (*WebexParameters) DeepCopy ¶ added in v0.9.0
func (in *WebexParameters) DeepCopy() *WebexParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebexParameters.
func (*WebexParameters) DeepCopyInto ¶ added in v0.9.0
func (in *WebexParameters) DeepCopyInto(out *WebexParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookInitParameters ¶ added in v0.8.0
type WebhookInitParameters struct { // attaches an auth header with this name. Do not use in conjunction with basic auth parameters. // Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters. AuthorizationScheme *string `json:"authorizationScheme,omitempty" tf:"authorization_scheme,omitempty"` // (String) The username component of the basic auth credentials to use. // The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used. BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The HTTP method to use in the request. Defaults to POST. // The HTTP method to use in the request. Defaults to `POST`. HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"` // (Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. // The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. MaxAlerts *float64 `json:"maxAlerts,omitempty" tf:"max_alerts,omitempty"` // (String) The templated content of the message. // Custom message. You can use template variables. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated title of the message. // Templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // The URL to send webhook requests to. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*WebhookInitParameters) DeepCopy ¶ added in v0.8.0
func (in *WebhookInitParameters) DeepCopy() *WebhookInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookInitParameters.
func (*WebhookInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *WebhookInitParameters) DeepCopyInto(out *WebhookInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookObservation ¶
type WebhookObservation struct { // attaches an auth header with this name. Do not use in conjunction with basic auth parameters. // Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters. AuthorizationScheme *string `json:"authorizationScheme,omitempty" tf:"authorization_scheme,omitempty"` // (String) The username component of the basic auth credentials to use. // The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used. BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The HTTP method to use in the request. Defaults to POST. // The HTTP method to use in the request. Defaults to `POST`. HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"` // (Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. // The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. MaxAlerts *float64 `json:"maxAlerts,omitempty" tf:"max_alerts,omitempty"` // (String) The templated content of the message. // Custom message. You can use template variables. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The templated title of the message. // Templated title of the message. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The URL of the Alertmanager instance. // The URL to send webhook requests to. URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*WebhookObservation) DeepCopy ¶
func (in *WebhookObservation) DeepCopy() *WebhookObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookObservation.
func (*WebhookObservation) DeepCopyInto ¶
func (in *WebhookObservation) DeepCopyInto(out *WebhookObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookParameters ¶
type WebhookParameters struct { // attaches an auth header with this value. Do not use in conjunction with basic auth parameters. // Allows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters. // +kubebuilder:validation:Optional AuthorizationCredentialsSecretRef *v1.SecretKeySelector `json:"authorizationCredentialsSecretRef,omitempty" tf:"-"` // attaches an auth header with this name. Do not use in conjunction with basic auth parameters. // Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters. // +kubebuilder:validation:Optional AuthorizationScheme *string `json:"authorizationScheme,omitempty" tf:"authorization_scheme,omitempty"` // (String, Sensitive) The password component of the basic auth credentials to use. // The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used. // +kubebuilder:validation:Optional BasicAuthPasswordSecretRef *v1.SecretKeySelector `json:"basicAuthPasswordSecretRef,omitempty" tf:"-"` // (String) The username component of the basic auth credentials to use. // The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used. // +kubebuilder:validation:Optional BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The HTTP method to use in the request. Defaults to POST. // The HTTP method to use in the request. Defaults to `POST`. // +kubebuilder:validation:Optional HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"` // (Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. // The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit. // +kubebuilder:validation:Optional MaxAlerts *float64 `json:"maxAlerts,omitempty" tf:"max_alerts,omitempty"` // (String) The templated content of the message. // Custom message. You can use template variables. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated title of the message. // Templated title of the message. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The URL of the Alertmanager instance. // The URL to send webhook requests to. // +kubebuilder:validation:Optional URL *string `json:"url" tf:"url,omitempty"` }
func (*WebhookParameters) DeepCopy ¶
func (in *WebhookParameters) DeepCopy() *WebhookParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookParameters.
func (*WebhookParameters) DeepCopyInto ¶
func (in *WebhookParameters) DeepCopyInto(out *WebhookParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WecomInitParameters ¶ added in v0.8.0
type WecomInitParameters struct { // (String) Agent ID added to the request payload when using APIAPP. // Agent ID added to the request payload when using APIAPP. AgentID *string `json:"agentId,omitempty" tf:"agent_id,omitempty"` // (String) Corp ID used to get token when using APIAPP. // Corp ID used to get token when using APIAPP. CorpID *string `json:"corpId,omitempty" tf:"corp_id,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message to send. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The type of them message. Supported: markdown, text. Default: text. // The type of them message. Supported: markdown, text. Default: text. MsgType *string `json:"msgType,omitempty" tf:"msg_type,omitempty"` // (String) The templated title of the message. // The templated title of the message to send. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all. // The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all. ToUser *string `json:"toUser,omitempty" tf:"to_user,omitempty"` }
func (*WecomInitParameters) DeepCopy ¶ added in v0.8.0
func (in *WecomInitParameters) DeepCopy() *WecomInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WecomInitParameters.
func (*WecomInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *WecomInitParameters) DeepCopyInto(out *WecomInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WecomObservation ¶
type WecomObservation struct { // (String) Agent ID added to the request payload when using APIAPP. // Agent ID added to the request payload when using APIAPP. AgentID *string `json:"agentId,omitempty" tf:"agent_id,omitempty"` // (String) Corp ID used to get token when using APIAPP. // Corp ID used to get token when using APIAPP. CorpID *string `json:"corpId,omitempty" tf:"corp_id,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message to send. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The type of them message. Supported: markdown, text. Default: text. // The type of them message. Supported: markdown, text. Default: text. MsgType *string `json:"msgType,omitempty" tf:"msg_type,omitempty"` // (String) The templated title of the message. // The templated title of the message to send. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all. // The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all. ToUser *string `json:"toUser,omitempty" tf:"to_user,omitempty"` // (String) The UID of the contact point. // The UID of the contact point. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*WecomObservation) DeepCopy ¶
func (in *WecomObservation) DeepCopy() *WecomObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WecomObservation.
func (*WecomObservation) DeepCopyInto ¶
func (in *WecomObservation) DeepCopyInto(out *WecomObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WecomParameters ¶
type WecomParameters struct { // (String) Agent ID added to the request payload when using APIAPP. // Agent ID added to the request payload when using APIAPP. // +kubebuilder:validation:Optional AgentID *string `json:"agentId,omitempty" tf:"agent_id,omitempty"` // (String) Corp ID used to get token when using APIAPP. // Corp ID used to get token when using APIAPP. // +kubebuilder:validation:Optional CorpID *string `json:"corpId,omitempty" tf:"corp_id,omitempty"` // (Boolean) Whether to disable sending resolve messages. Defaults to false. // Whether to disable sending resolve messages. Defaults to `false`. // +kubebuilder:validation:Optional DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"` // (String) The templated content of the message. // The templated content of the message to send. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The type of them message. Supported: markdown, text. Default: text. // The type of them message. Supported: markdown, text. Default: text. // +kubebuilder:validation:Optional MsgType *string `json:"msgType,omitempty" tf:"msg_type,omitempty"` // (String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP. // The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP. // +kubebuilder:validation:Optional SecretSecretRef *v1.SecretKeySelector `json:"secretSecretRef,omitempty" tf:"-"` // (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[]. // Additional custom properties to attach to the notifier. Defaults to `map[]`. // +kubebuilder:validation:Optional SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"` // (String) The templated title of the message. // The templated title of the message to send. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all. // The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all. // +kubebuilder:validation:Optional ToUser *string `json:"toUser,omitempty" tf:"to_user,omitempty"` // (String) The URL of the Alertmanager instance. // The WeCom webhook URL. Required if using GroupRobot. // +kubebuilder:validation:Optional URLSecretRef *v1.SecretKeySelector `json:"urlSecretRef,omitempty" tf:"-"` }
func (*WecomParameters) DeepCopy ¶
func (in *WecomParameters) DeepCopy() *WecomParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WecomParameters.
func (*WecomParameters) DeepCopyInto ¶
func (in *WecomParameters) DeepCopyInto(out *WecomParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- zz_contactpoint_terraformed.go
- zz_contactpoint_types.go
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_messagetemplate_terraformed.go
- zz_messagetemplate_types.go
- zz_mutetiming_terraformed.go
- zz_mutetiming_types.go
- zz_notificationpolicy_terraformed.go
- zz_notificationpolicy_types.go
- zz_rulegroup_terraformed.go
- zz_rulegroup_types.go