v1alpha1

package
v0.13.2 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=oncall.grafana.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "oncall.grafana.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Escalation_Kind             = "Escalation"
	Escalation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Escalation_Kind}.String()
	Escalation_KindAPIVersion   = Escalation_Kind + "." + CRDGroupVersion.String()
	Escalation_GroupVersionKind = CRDGroupVersion.WithKind(Escalation_Kind)
)

Repository type metadata.

View Source
var (
	EscalationChain_Kind             = "EscalationChain"
	EscalationChain_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EscalationChain_Kind}.String()
	EscalationChain_KindAPIVersion   = EscalationChain_Kind + "." + CRDGroupVersion.String()
	EscalationChain_GroupVersionKind = CRDGroupVersion.WithKind(EscalationChain_Kind)
)

Repository type metadata.

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Integration_Kind             = "Integration"
	Integration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Integration_Kind}.String()
	Integration_KindAPIVersion   = Integration_Kind + "." + CRDGroupVersion.String()
	Integration_GroupVersionKind = CRDGroupVersion.WithKind(Integration_Kind)
)

Repository type metadata.

View Source
var (
	OnCallShift_Kind             = "OnCallShift"
	OnCallShift_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: OnCallShift_Kind}.String()
	OnCallShift_KindAPIVersion   = OnCallShift_Kind + "." + CRDGroupVersion.String()
	OnCallShift_GroupVersionKind = CRDGroupVersion.WithKind(OnCallShift_Kind)
)

Repository type metadata.

View Source
var (
	OutgoingWebhook_Kind             = "OutgoingWebhook"
	OutgoingWebhook_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: OutgoingWebhook_Kind}.String()
	OutgoingWebhook_KindAPIVersion   = OutgoingWebhook_Kind + "." + CRDGroupVersion.String()
	OutgoingWebhook_GroupVersionKind = CRDGroupVersion.WithKind(OutgoingWebhook_Kind)
)

Repository type metadata.

View Source
var (
	Route_Kind             = "Route"
	Route_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Route_Kind}.String()
	Route_KindAPIVersion   = Route_Kind + "." + CRDGroupVersion.String()
	Route_GroupVersionKind = CRDGroupVersion.WithKind(Route_Kind)
)

Repository type metadata.

View Source
var (
	Schedule_Kind             = "Schedule"
	Schedule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Schedule_Kind}.String()
	Schedule_KindAPIVersion   = Schedule_Kind + "." + CRDGroupVersion.String()
	Schedule_GroupVersionKind = CRDGroupVersion.WithKind(Schedule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DefaultRouteInitParameters added in v0.8.0

type DefaultRouteInitParameters struct {

	// (String) The ID of the escalation chain.
	// The ID of the escalation chain.
	EscalationChainID *string `json:"escalationChainId,omitempty" tf:"escalation_chain_id,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// MS teams-specific settings for a route.
	Msteams []MsteamsInitParameters `json:"msteams,omitempty" tf:"msteams,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Slack-specific settings for a route.
	Slack []SlackInitParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Telegram-specific settings for a route.
	Telegram []TelegramInitParameters `json:"telegram,omitempty" tf:"telegram,omitempty"`
}

func (*DefaultRouteInitParameters) DeepCopy added in v0.8.0

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

func (*DefaultRouteInitParameters) DeepCopyInto added in v0.8.0

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

type DefaultRouteObservation

type DefaultRouteObservation struct {

	// (String) The ID of the escalation chain.
	// The ID of the escalation chain.
	EscalationChainID *string `json:"escalationChainId,omitempty" tf:"escalation_chain_id,omitempty"`

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

	// specific settings for a route. (see below for nested schema)
	// MS teams-specific settings for a route.
	Msteams []MsteamsObservation `json:"msteams,omitempty" tf:"msteams,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Slack-specific settings for a route.
	Slack []SlackObservation `json:"slack,omitempty" tf:"slack,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Telegram-specific settings for a route.
	Telegram []TelegramObservation `json:"telegram,omitempty" tf:"telegram,omitempty"`
}

func (*DefaultRouteObservation) DeepCopy

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

func (*DefaultRouteObservation) DeepCopyInto

func (in *DefaultRouteObservation) DeepCopyInto(out *DefaultRouteObservation)

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

type DefaultRouteParameters

type DefaultRouteParameters struct {

	// (String) The ID of the escalation chain.
	// The ID of the escalation chain.
	// +kubebuilder:validation:Optional
	EscalationChainID *string `json:"escalationChainId,omitempty" tf:"escalation_chain_id,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// MS teams-specific settings for a route.
	// +kubebuilder:validation:Optional
	Msteams []MsteamsParameters `json:"msteams,omitempty" tf:"msteams,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Slack-specific settings for a route.
	// +kubebuilder:validation:Optional
	Slack []SlackParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Telegram-specific settings for a route.
	// +kubebuilder:validation:Optional
	Telegram []TelegramParameters `json:"telegram,omitempty" tf:"telegram,omitempty"`
}

func (*DefaultRouteParameters) DeepCopy

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

func (*DefaultRouteParameters) DeepCopyInto

func (in *DefaultRouteParameters) DeepCopyInto(out *DefaultRouteParameters)

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 {

	// (String) Template for Alert message.
	// Template for Alert message.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,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 added in v0.4.0

type EmailObservation struct {

	// (String) Template for Alert message.
	// Template for Alert message.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*EmailObservation) DeepCopy added in v0.4.0

func (in *EmailObservation) DeepCopy() *EmailObservation

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

func (*EmailObservation) DeepCopyInto added in v0.4.0

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 added in v0.4.0

type EmailParameters struct {

	// (String) Template for Alert message.
	// Template for Alert message.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*EmailParameters) DeepCopy added in v0.4.0

func (in *EmailParameters) DeepCopy() *EmailParameters

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

func (*EmailParameters) DeepCopyInto added in v0.4.0

func (in *EmailParameters) DeepCopyInto(out *EmailParameters)

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

type Escalation

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

Escalation is the Schema for the Escalations API. Official documentation https://grafana.com/docs/oncall/latest/configure/escalation-chains-and-routes/HTTP API https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_policies/ +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 (*Escalation) DeepCopy

func (in *Escalation) DeepCopy() *Escalation

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

func (*Escalation) DeepCopyInto

func (in *Escalation) DeepCopyInto(out *Escalation)

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

func (*Escalation) DeepCopyObject

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

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

func (*Escalation) GetCondition

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

GetCondition of this Escalation.

func (*Escalation) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Escalation

func (*Escalation) GetDeletionPolicy

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

GetDeletionPolicy of this Escalation.

func (*Escalation) GetID

func (tr *Escalation) GetID() string

GetID returns ID of underlying Terraform resource of this Escalation

func (*Escalation) GetInitParameters added in v0.8.0

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

GetInitParameters of this Escalation

func (*Escalation) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this Escalation.

func (*Escalation) GetMergedParameters added in v0.10.1

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

GetInitParameters of this Escalation

func (*Escalation) GetObservation

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

GetObservation of this Escalation

func (*Escalation) GetParameters

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

GetParameters of this Escalation

func (*Escalation) GetProviderConfigReference

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

GetProviderConfigReference of this Escalation.

func (*Escalation) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Escalation.

func (*Escalation) GetTerraformResourceType

func (mg *Escalation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Escalation

func (*Escalation) GetTerraformSchemaVersion

func (tr *Escalation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Escalation) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Escalation.

func (*Escalation) Hub added in v0.10.1

func (tr *Escalation) Hub()

Hub marks this type as a conversion hub.

func (*Escalation) LateInitialize

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

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

func (*Escalation) SetConditions

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

SetConditions of this Escalation.

func (*Escalation) SetDeletionPolicy

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

SetDeletionPolicy of this Escalation.

func (*Escalation) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this Escalation.

func (*Escalation) SetObservation

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

SetObservation for this Escalation

func (*Escalation) SetParameters

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

SetParameters for this Escalation

func (*Escalation) SetProviderConfigReference

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

SetProviderConfigReference of this Escalation.

func (*Escalation) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Escalation.

func (*Escalation) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Escalation.

type EscalationChain

type EscalationChain 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   EscalationChainSpec   `json:"spec"`
	Status EscalationChainStatus `json:"status,omitempty"`
}

EscalationChain is the Schema for the EscalationChains API. HTTP API https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/ +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 (*EscalationChain) DeepCopy

func (in *EscalationChain) DeepCopy() *EscalationChain

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

func (*EscalationChain) DeepCopyInto

func (in *EscalationChain) DeepCopyInto(out *EscalationChain)

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

func (*EscalationChain) DeepCopyObject

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

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

func (*EscalationChain) GetCondition

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

GetCondition of this EscalationChain.

func (*EscalationChain) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EscalationChain

func (*EscalationChain) GetDeletionPolicy

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

GetDeletionPolicy of this EscalationChain.

func (*EscalationChain) GetID

func (tr *EscalationChain) GetID() string

GetID returns ID of underlying Terraform resource of this EscalationChain

func (*EscalationChain) GetInitParameters added in v0.8.0

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

GetInitParameters of this EscalationChain

func (*EscalationChain) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this EscalationChain.

func (*EscalationChain) GetMergedParameters added in v0.10.1

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

GetInitParameters of this EscalationChain

func (*EscalationChain) GetObservation

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

GetObservation of this EscalationChain

func (*EscalationChain) GetParameters

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

GetParameters of this EscalationChain

func (*EscalationChain) GetProviderConfigReference

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

GetProviderConfigReference of this EscalationChain.

func (*EscalationChain) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EscalationChain.

func (*EscalationChain) GetTerraformResourceType

func (mg *EscalationChain) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EscalationChain

func (*EscalationChain) GetTerraformSchemaVersion

func (tr *EscalationChain) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EscalationChain) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EscalationChain.

func (*EscalationChain) Hub added in v0.10.1

func (tr *EscalationChain) Hub()

Hub marks this type as a conversion hub.

func (*EscalationChain) LateInitialize

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

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

func (*EscalationChain) SetConditions

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

SetConditions of this EscalationChain.

func (*EscalationChain) SetDeletionPolicy

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

SetDeletionPolicy of this EscalationChain.

func (*EscalationChain) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this EscalationChain.

func (*EscalationChain) SetObservation

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

SetObservation for this EscalationChain

func (*EscalationChain) SetParameters

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

SetParameters for this EscalationChain

func (*EscalationChain) SetProviderConfigReference

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

SetProviderConfigReference of this EscalationChain.

func (*EscalationChain) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EscalationChain.

func (*EscalationChain) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EscalationChain.

type EscalationChainInitParameters added in v0.8.0

type EscalationChainInitParameters struct {

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

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`
}

func (*EscalationChainInitParameters) DeepCopy added in v0.8.0

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

func (*EscalationChainInitParameters) DeepCopyInto added in v0.8.0

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

type EscalationChainList

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

EscalationChainList contains a list of EscalationChains

func (*EscalationChainList) DeepCopy

func (in *EscalationChainList) DeepCopy() *EscalationChainList

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

func (*EscalationChainList) DeepCopyInto

func (in *EscalationChainList) DeepCopyInto(out *EscalationChainList)

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

func (*EscalationChainList) DeepCopyObject

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

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

func (*EscalationChainList) GetItems

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

GetItems of this EscalationChainList.

type EscalationChainObservation

type EscalationChainObservation struct {

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

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

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`
}

func (*EscalationChainObservation) DeepCopy

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

func (*EscalationChainObservation) DeepCopyInto

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

type EscalationChainParameters

type EscalationChainParameters struct {

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

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`
}

func (*EscalationChainParameters) DeepCopy

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

func (*EscalationChainParameters) DeepCopyInto

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

type EscalationChainSpec

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

EscalationChainSpec defines the desired state of EscalationChain

func (*EscalationChainSpec) DeepCopy

func (in *EscalationChainSpec) DeepCopy() *EscalationChainSpec

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

func (*EscalationChainSpec) DeepCopyInto

func (in *EscalationChainSpec) DeepCopyInto(out *EscalationChainSpec)

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

type EscalationChainStatus

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

EscalationChainStatus defines the observed state of EscalationChain.

func (*EscalationChainStatus) DeepCopy

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

func (*EscalationChainStatus) DeepCopyInto

func (in *EscalationChainStatus) DeepCopyInto(out *EscalationChainStatus)

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

type EscalationInitParameters added in v0.8.0

type EscalationInitParameters struct {

	// (String) The ID of an Action for trigger_action type step.
	// The ID of an Action for trigger_action type step.
	ActionToTrigger *string `json:"actionToTrigger,omitempty" tf:"action_to_trigger,omitempty"`

	// (Number) The duration of delay for wait type step.
	// The duration of delay for wait type step.
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// (String) The ID of the escalation chain.
	// The ID of the escalation chain.
	EscalationChainID *string `json:"escalationChainId,omitempty" tf:"escalation_chain_id,omitempty"`

	// (String) The ID of a User Group for notify_user_group type step.
	// The ID of a User Group for notify_user_group type step.
	GroupToNotify *string `json:"groupToNotify,omitempty" tf:"group_to_notify,omitempty"`

	// (Boolean) Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group
	// Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group
	Important *bool `json:"important,omitempty" tf:"important,omitempty"`

	// (String) The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).
	// The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).
	NotifyIfTimeFrom *string `json:"notifyIfTimeFrom,omitempty" tf:"notify_if_time_from,omitempty"`

	// (String) The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).
	// The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).
	NotifyIfTimeTo *string `json:"notifyIfTimeTo,omitempty" tf:"notify_if_time_to,omitempty"`

	// (String) ID of a Schedule for notify_on_call_from_schedule type step.
	// ID of a Schedule for notify_on_call_from_schedule type step.
	NotifyOnCallFromSchedule *string `json:"notifyOnCallFromSchedule,omitempty" tf:"notify_on_call_from_schedule,omitempty"`

	// (Set of String) The list of ID's of users for notify_persons type step.
	// The list of ID's of users for notify_persons type step.
	// +listType=set
	PersonsToNotify []*string `json:"personsToNotify,omitempty" tf:"persons_to_notify,omitempty"`

	// (Set of String) The list of ID's of users for notify_person_next_each_time type step.
	// The list of ID's of users for notify_person_next_each_time type step.
	// +listType=set
	PersonsToNotifyNextEachTime []*string `json:"personsToNotifyNextEachTime,omitempty" tf:"persons_to_notify_next_each_time,omitempty"`

	// (Number) The position of the escalation step (starts from 0).
	// The position of the escalation step (starts from 0).
	Position *float64 `json:"position,omitempty" tf:"position,omitempty"`

	// (String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_action, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation
	// The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_action, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EscalationInitParameters) DeepCopy added in v0.8.0

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

func (*EscalationInitParameters) DeepCopyInto added in v0.8.0

func (in *EscalationInitParameters) DeepCopyInto(out *EscalationInitParameters)

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

type EscalationList

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

EscalationList contains a list of Escalations

func (*EscalationList) DeepCopy

func (in *EscalationList) DeepCopy() *EscalationList

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

func (*EscalationList) DeepCopyInto

func (in *EscalationList) DeepCopyInto(out *EscalationList)

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

func (*EscalationList) DeepCopyObject

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

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

func (*EscalationList) GetItems

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

GetItems of this EscalationList.

type EscalationObservation

type EscalationObservation struct {

	// (String) The ID of an Action for trigger_action type step.
	// The ID of an Action for trigger_action type step.
	ActionToTrigger *string `json:"actionToTrigger,omitempty" tf:"action_to_trigger,omitempty"`

	// (Number) The duration of delay for wait type step.
	// The duration of delay for wait type step.
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// (String) The ID of the escalation chain.
	// The ID of the escalation chain.
	EscalationChainID *string `json:"escalationChainId,omitempty" tf:"escalation_chain_id,omitempty"`

	// (String) The ID of a User Group for notify_user_group type step.
	// The ID of a User Group for notify_user_group type step.
	GroupToNotify *string `json:"groupToNotify,omitempty" tf:"group_to_notify,omitempty"`

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

	// (Boolean) Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group
	// Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group
	Important *bool `json:"important,omitempty" tf:"important,omitempty"`

	// (String) The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).
	// The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).
	NotifyIfTimeFrom *string `json:"notifyIfTimeFrom,omitempty" tf:"notify_if_time_from,omitempty"`

	// (String) The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).
	// The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).
	NotifyIfTimeTo *string `json:"notifyIfTimeTo,omitempty" tf:"notify_if_time_to,omitempty"`

	// (String) ID of a Schedule for notify_on_call_from_schedule type step.
	// ID of a Schedule for notify_on_call_from_schedule type step.
	NotifyOnCallFromSchedule *string `json:"notifyOnCallFromSchedule,omitempty" tf:"notify_on_call_from_schedule,omitempty"`

	// (Set of String) The list of ID's of users for notify_persons type step.
	// The list of ID's of users for notify_persons type step.
	// +listType=set
	PersonsToNotify []*string `json:"personsToNotify,omitempty" tf:"persons_to_notify,omitempty"`

	// (Set of String) The list of ID's of users for notify_person_next_each_time type step.
	// The list of ID's of users for notify_person_next_each_time type step.
	// +listType=set
	PersonsToNotifyNextEachTime []*string `json:"personsToNotifyNextEachTime,omitempty" tf:"persons_to_notify_next_each_time,omitempty"`

	// (Number) The position of the escalation step (starts from 0).
	// The position of the escalation step (starts from 0).
	Position *float64 `json:"position,omitempty" tf:"position,omitempty"`

	// (String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_action, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation
	// The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_action, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EscalationObservation) DeepCopy

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

func (*EscalationObservation) DeepCopyInto

func (in *EscalationObservation) DeepCopyInto(out *EscalationObservation)

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

type EscalationParameters

type EscalationParameters struct {

	// (String) The ID of an Action for trigger_action type step.
	// The ID of an Action for trigger_action type step.
	// +kubebuilder:validation:Optional
	ActionToTrigger *string `json:"actionToTrigger,omitempty" tf:"action_to_trigger,omitempty"`

	// (Number) The duration of delay for wait type step.
	// The duration of delay for wait type step.
	// +kubebuilder:validation:Optional
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// (String) The ID of the escalation chain.
	// The ID of the escalation chain.
	// +kubebuilder:validation:Optional
	EscalationChainID *string `json:"escalationChainId,omitempty" tf:"escalation_chain_id,omitempty"`

	// (String) The ID of a User Group for notify_user_group type step.
	// The ID of a User Group for notify_user_group type step.
	// +kubebuilder:validation:Optional
	GroupToNotify *string `json:"groupToNotify,omitempty" tf:"group_to_notify,omitempty"`

	// (Boolean) Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group
	// Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group
	// +kubebuilder:validation:Optional
	Important *bool `json:"important,omitempty" tf:"important,omitempty"`

	// (String) The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).
	// The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).
	// +kubebuilder:validation:Optional
	NotifyIfTimeFrom *string `json:"notifyIfTimeFrom,omitempty" tf:"notify_if_time_from,omitempty"`

	// (String) The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).
	// The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).
	// +kubebuilder:validation:Optional
	NotifyIfTimeTo *string `json:"notifyIfTimeTo,omitempty" tf:"notify_if_time_to,omitempty"`

	// (String) ID of a Schedule for notify_on_call_from_schedule type step.
	// ID of a Schedule for notify_on_call_from_schedule type step.
	// +kubebuilder:validation:Optional
	NotifyOnCallFromSchedule *string `json:"notifyOnCallFromSchedule,omitempty" tf:"notify_on_call_from_schedule,omitempty"`

	// (Set of String) The list of ID's of users for notify_persons type step.
	// The list of ID's of users for notify_persons type step.
	// +kubebuilder:validation:Optional
	// +listType=set
	PersonsToNotify []*string `json:"personsToNotify,omitempty" tf:"persons_to_notify,omitempty"`

	// (Set of String) The list of ID's of users for notify_person_next_each_time type step.
	// The list of ID's of users for notify_person_next_each_time type step.
	// +kubebuilder:validation:Optional
	// +listType=set
	PersonsToNotifyNextEachTime []*string `json:"personsToNotifyNextEachTime,omitempty" tf:"persons_to_notify_next_each_time,omitempty"`

	// (Number) The position of the escalation step (starts from 0).
	// The position of the escalation step (starts from 0).
	// +kubebuilder:validation:Optional
	Position *float64 `json:"position,omitempty" tf:"position,omitempty"`

	// (String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_action, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation
	// The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_action, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EscalationParameters) DeepCopy

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

func (*EscalationParameters) DeepCopyInto

func (in *EscalationParameters) DeepCopyInto(out *EscalationParameters)

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

type EscalationSpec

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

EscalationSpec defines the desired state of Escalation

func (*EscalationSpec) DeepCopy

func (in *EscalationSpec) DeepCopy() *EscalationSpec

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

func (*EscalationSpec) DeepCopyInto

func (in *EscalationSpec) DeepCopyInto(out *EscalationSpec)

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

type EscalationStatus

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

EscalationStatus defines the observed state of Escalation.

func (*EscalationStatus) DeepCopy

func (in *EscalationStatus) DeepCopy() *EscalationStatus

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

func (*EscalationStatus) DeepCopyInto

func (in *EscalationStatus) DeepCopyInto(out *EscalationStatus)

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

type Integration

type Integration 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.defaultRoute) || (has(self.initProvider) && has(self.initProvider.defaultRoute))",message="spec.forProvider.defaultRoute 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.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	Spec   IntegrationSpec   `json:"spec"`
	Status IntegrationStatus `json:"status,omitempty"`
}

Integration is the Schema for the Integrations API. Official documentation https://grafana.com/docs/oncall/latest/integrations/HTTP API https://grafana.com/docs/oncall/latest/oncall-api-reference/ +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 (*Integration) DeepCopy

func (in *Integration) DeepCopy() *Integration

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

func (*Integration) DeepCopyInto

func (in *Integration) DeepCopyInto(out *Integration)

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

func (*Integration) DeepCopyObject

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

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

func (*Integration) GetCondition

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

GetCondition of this Integration.

func (*Integration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Integration

func (*Integration) GetDeletionPolicy

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

GetDeletionPolicy of this Integration.

func (*Integration) GetID

func (tr *Integration) GetID() string

GetID returns ID of underlying Terraform resource of this Integration

func (*Integration) GetInitParameters added in v0.8.0

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

GetInitParameters of this Integration

func (*Integration) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this Integration.

func (*Integration) GetMergedParameters added in v0.10.1

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

GetInitParameters of this Integration

func (*Integration) GetObservation

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

GetObservation of this Integration

func (*Integration) GetParameters

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

GetParameters of this Integration

func (*Integration) GetProviderConfigReference

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

GetProviderConfigReference of this Integration.

func (*Integration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Integration.

func (*Integration) GetTerraformResourceType

func (mg *Integration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Integration

func (*Integration) GetTerraformSchemaVersion

func (tr *Integration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Integration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Integration.

func (*Integration) Hub added in v0.10.1

func (tr *Integration) Hub()

Hub marks this type as a conversion hub.

func (*Integration) LateInitialize

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

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

func (*Integration) SetConditions

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

SetConditions of this Integration.

func (*Integration) SetDeletionPolicy

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

SetDeletionPolicy of this Integration.

func (*Integration) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this Integration.

func (*Integration) SetObservation

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

SetObservation for this Integration

func (*Integration) SetParameters

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

SetParameters for this Integration

func (*Integration) SetProviderConfigReference

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

SetProviderConfigReference of this Integration.

func (*Integration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Integration.

func (*Integration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Integration.

type IntegrationInitParameters added in v0.8.0

type IntegrationInitParameters struct {

	// (Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)
	// The Default route for all alerts from the given integration
	DefaultRoute []DefaultRouteInitParameters `json:"defaultRoute,omitempty" tf:"default_route,omitempty"`

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

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)
	// Jinja2 templates for Alert payload. An empty templates block will be ignored.
	Templates []TemplatesInitParameters `json:"templates,omitempty" tf:"templates,omitempty"`

	// (String) The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
	// The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IntegrationInitParameters) DeepCopy added in v0.8.0

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

func (*IntegrationInitParameters) DeepCopyInto added in v0.8.0

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

type IntegrationList

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

IntegrationList contains a list of Integrations

func (*IntegrationList) DeepCopy

func (in *IntegrationList) DeepCopy() *IntegrationList

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

func (*IntegrationList) DeepCopyInto

func (in *IntegrationList) DeepCopyInto(out *IntegrationList)

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

func (*IntegrationList) DeepCopyObject

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

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

func (*IntegrationList) GetItems

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

GetItems of this IntegrationList.

type IntegrationObservation

type IntegrationObservation struct {

	// (Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)
	// The Default route for all alerts from the given integration
	DefaultRoute []DefaultRouteObservation `json:"defaultRoute,omitempty" tf:"default_route,omitempty"`

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

	// (String) The link for using in an integrated tool.
	// The link for using in an integrated tool.
	Link *string `json:"link,omitempty" tf:"link,omitempty"`

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

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)
	// Jinja2 templates for Alert payload. An empty templates block will be ignored.
	Templates []TemplatesObservation `json:"templates,omitempty" tf:"templates,omitempty"`

	// (String) The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
	// The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IntegrationObservation) DeepCopy

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

func (*IntegrationObservation) DeepCopyInto

func (in *IntegrationObservation) DeepCopyInto(out *IntegrationObservation)

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

type IntegrationParameters

type IntegrationParameters struct {

	// (Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)
	// The Default route for all alerts from the given integration
	// +kubebuilder:validation:Optional
	DefaultRoute []DefaultRouteParameters `json:"defaultRoute,omitempty" tf:"default_route,omitempty"`

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

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)
	// Jinja2 templates for Alert payload. An empty templates block will be ignored.
	// +kubebuilder:validation:Optional
	Templates []TemplatesParameters `json:"templates,omitempty" tf:"templates,omitempty"`

	// (String) The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
	// The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IntegrationParameters) DeepCopy

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

func (*IntegrationParameters) DeepCopyInto

func (in *IntegrationParameters) DeepCopyInto(out *IntegrationParameters)

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

type IntegrationSpec

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

IntegrationSpec defines the desired state of Integration

func (*IntegrationSpec) DeepCopy

func (in *IntegrationSpec) DeepCopy() *IntegrationSpec

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

func (*IntegrationSpec) DeepCopyInto

func (in *IntegrationSpec) DeepCopyInto(out *IntegrationSpec)

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

type IntegrationStatus

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

IntegrationStatus defines the observed state of Integration.

func (*IntegrationStatus) DeepCopy

func (in *IntegrationStatus) DeepCopy() *IntegrationStatus

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

func (*IntegrationStatus) DeepCopyInto

func (in *IntegrationStatus) DeepCopyInto(out *IntegrationStatus)

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

type MicrosoftTeamsInitParameters added in v0.8.0

type MicrosoftTeamsInitParameters struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*MicrosoftTeamsInitParameters) DeepCopy added in v0.8.0

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

func (*MicrosoftTeamsInitParameters) DeepCopyInto added in v0.8.0

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

type MicrosoftTeamsObservation added in v0.4.0

type MicrosoftTeamsObservation struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*MicrosoftTeamsObservation) DeepCopy added in v0.4.0

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

func (*MicrosoftTeamsObservation) DeepCopyInto added in v0.4.0

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

type MicrosoftTeamsParameters added in v0.4.0

type MicrosoftTeamsParameters struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	// +kubebuilder:validation:Optional
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*MicrosoftTeamsParameters) DeepCopy added in v0.4.0

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

func (*MicrosoftTeamsParameters) DeepCopyInto added in v0.4.0

func (in *MicrosoftTeamsParameters) DeepCopyInto(out *MicrosoftTeamsParameters)

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

type MsteamsInitParameters added in v0.8.0

type MsteamsInitParameters struct {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in MS teams. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*MsteamsInitParameters) DeepCopy added in v0.8.0

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

func (*MsteamsInitParameters) DeepCopyInto added in v0.8.0

func (in *MsteamsInitParameters) DeepCopyInto(out *MsteamsInitParameters)

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

type MsteamsObservation

type MsteamsObservation struct {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in MS teams. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*MsteamsObservation) DeepCopy

func (in *MsteamsObservation) DeepCopy() *MsteamsObservation

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

func (*MsteamsObservation) DeepCopyInto

func (in *MsteamsObservation) DeepCopyInto(out *MsteamsObservation)

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

type MsteamsParameters

type MsteamsParameters struct {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in MS teams. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*MsteamsParameters) DeepCopy

func (in *MsteamsParameters) DeepCopy() *MsteamsParameters

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

func (*MsteamsParameters) DeepCopyInto

func (in *MsteamsParameters) DeepCopyInto(out *MsteamsParameters)

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

type OnCallShift

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

OnCallShift is the Schema for the OnCallShifts API. HTTP API https://grafana.com/docs/oncall/latest/oncall-api-reference/on_call_shifts/ +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 (*OnCallShift) DeepCopy

func (in *OnCallShift) DeepCopy() *OnCallShift

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

func (*OnCallShift) DeepCopyInto

func (in *OnCallShift) DeepCopyInto(out *OnCallShift)

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

func (*OnCallShift) DeepCopyObject

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

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

func (*OnCallShift) GetCondition

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

GetCondition of this OnCallShift.

func (*OnCallShift) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this OnCallShift

func (*OnCallShift) GetDeletionPolicy

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

GetDeletionPolicy of this OnCallShift.

func (*OnCallShift) GetID

func (tr *OnCallShift) GetID() string

GetID returns ID of underlying Terraform resource of this OnCallShift

func (*OnCallShift) GetInitParameters added in v0.8.0

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

GetInitParameters of this OnCallShift

func (*OnCallShift) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this OnCallShift.

func (*OnCallShift) GetMergedParameters added in v0.10.1

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

GetInitParameters of this OnCallShift

func (*OnCallShift) GetObservation

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

GetObservation of this OnCallShift

func (*OnCallShift) GetParameters

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

GetParameters of this OnCallShift

func (*OnCallShift) GetProviderConfigReference

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

GetProviderConfigReference of this OnCallShift.

func (*OnCallShift) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this OnCallShift.

func (*OnCallShift) GetTerraformResourceType

func (mg *OnCallShift) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this OnCallShift

func (*OnCallShift) GetTerraformSchemaVersion

func (tr *OnCallShift) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*OnCallShift) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this OnCallShift.

func (*OnCallShift) Hub added in v0.10.1

func (tr *OnCallShift) Hub()

Hub marks this type as a conversion hub.

func (*OnCallShift) LateInitialize

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

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

func (*OnCallShift) SetConditions

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

SetConditions of this OnCallShift.

func (*OnCallShift) SetDeletionPolicy

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

SetDeletionPolicy of this OnCallShift.

func (*OnCallShift) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this OnCallShift.

func (*OnCallShift) SetObservation

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

SetObservation for this OnCallShift

func (*OnCallShift) SetParameters

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

SetParameters for this OnCallShift

func (*OnCallShift) SetProviderConfigReference

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

SetProviderConfigReference of this OnCallShift.

func (*OnCallShift) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this OnCallShift.

func (*OnCallShift) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this OnCallShift.

type OnCallShiftInitParameters added in v0.8.0

type OnCallShiftInitParameters struct {

	// (Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// +listType=set
	ByDay []*string `json:"byDay,omitempty" tf:"by_day,omitempty"`

	// (Set of Number) This parameter takes a list of months. Valid values are 1 to 12
	// This parameter takes a list of months. Valid values are 1 to 12
	// +listType=set
	ByMonth []*float64 `json:"byMonth,omitempty" tf:"by_month,omitempty"`

	// 31 to -1
	// This parameter takes a list of days of the month.  Valid values are 1 to 31 or -31 to -1
	// +listType=set
	ByMonthday []*float64 `json:"byMonthday,omitempty" tf:"by_monthday,omitempty"`

	// (Number) The duration of the event.
	// The duration of the event.
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// (String) The frequency of the event. Can be hourly, daily, weekly, monthly
	// The frequency of the event. Can be hourly, daily, weekly, monthly
	Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// (Number) The positive integer representing at which intervals the recurrence rule repeats.
	// The positive integer representing at which intervals the recurrence rule repeats.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// (Number) The priority level. The higher the value, the higher the priority.
	// The priority level. The higher the value, the higher the priority.
	Level *float64 `json:"level,omitempty" tf:"level,omitempty"`

	// (String) The shift's name.
	// The shift's name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// call users (for rolling_users event type)
	// The list of lists with on-call users (for rolling_users event type)
	RollingUsers [][]*string `json:"rollingUsers,omitempty" tf:"rolling_users,omitempty"`

	// call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example "2020-09-05T08:00:00")
	// The start time of the on-call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example "2020-09-05T08:00:00")
	Start *string `json:"start,omitempty" tf:"start,omitempty"`

	// call rotation starts.
	// The index of the list of users in rolling_users, from which on-call rotation starts.
	StartRotationFromUserIndex *float64 `json:"startRotationFromUserIndex,omitempty" tf:"start_rotation_from_user_index,omitempty"`

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (String) The shift's timezone.  Overrides schedule's timezone.
	// The shift's timezone.  Overrides schedule's timezone.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// (String) The shift's type. Can be rolling_users, recurrent_event, single_event
	// The shift's type. Can be rolling_users, recurrent_event, single_event
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// call users (for single_event and recurrent_event event type).
	// The list of on-call users (for single_event and recurrent_event event type).
	// +listType=set
	Users []*string `json:"users,omitempty" tf:"users,omitempty"`

	// (String) Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	WeekStart *string `json:"weekStart,omitempty" tf:"week_start,omitempty"`
}

func (*OnCallShiftInitParameters) DeepCopy added in v0.8.0

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

func (*OnCallShiftInitParameters) DeepCopyInto added in v0.8.0

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

type OnCallShiftList

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

OnCallShiftList contains a list of OnCallShifts

func (*OnCallShiftList) DeepCopy

func (in *OnCallShiftList) DeepCopy() *OnCallShiftList

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

func (*OnCallShiftList) DeepCopyInto

func (in *OnCallShiftList) DeepCopyInto(out *OnCallShiftList)

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

func (*OnCallShiftList) DeepCopyObject

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

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

func (*OnCallShiftList) GetItems

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

GetItems of this OnCallShiftList.

type OnCallShiftObservation

type OnCallShiftObservation struct {

	// (Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// +listType=set
	ByDay []*string `json:"byDay,omitempty" tf:"by_day,omitempty"`

	// (Set of Number) This parameter takes a list of months. Valid values are 1 to 12
	// This parameter takes a list of months. Valid values are 1 to 12
	// +listType=set
	ByMonth []*float64 `json:"byMonth,omitempty" tf:"by_month,omitempty"`

	// 31 to -1
	// This parameter takes a list of days of the month.  Valid values are 1 to 31 or -31 to -1
	// +listType=set
	ByMonthday []*float64 `json:"byMonthday,omitempty" tf:"by_monthday,omitempty"`

	// (Number) The duration of the event.
	// The duration of the event.
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// (String) The frequency of the event. Can be hourly, daily, weekly, monthly
	// The frequency of the event. Can be hourly, daily, weekly, monthly
	Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`

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

	// (Number) The positive integer representing at which intervals the recurrence rule repeats.
	// The positive integer representing at which intervals the recurrence rule repeats.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// (Number) The priority level. The higher the value, the higher the priority.
	// The priority level. The higher the value, the higher the priority.
	Level *float64 `json:"level,omitempty" tf:"level,omitempty"`

	// (String) The shift's name.
	// The shift's name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// call users (for rolling_users event type)
	// The list of lists with on-call users (for rolling_users event type)
	RollingUsers [][]*string `json:"rollingUsers,omitempty" tf:"rolling_users,omitempty"`

	// call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example "2020-09-05T08:00:00")
	// The start time of the on-call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example "2020-09-05T08:00:00")
	Start *string `json:"start,omitempty" tf:"start,omitempty"`

	// call rotation starts.
	// The index of the list of users in rolling_users, from which on-call rotation starts.
	StartRotationFromUserIndex *float64 `json:"startRotationFromUserIndex,omitempty" tf:"start_rotation_from_user_index,omitempty"`

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (String) The shift's timezone.  Overrides schedule's timezone.
	// The shift's timezone.  Overrides schedule's timezone.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// (String) The shift's type. Can be rolling_users, recurrent_event, single_event
	// The shift's type. Can be rolling_users, recurrent_event, single_event
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// call users (for single_event and recurrent_event event type).
	// The list of on-call users (for single_event and recurrent_event event type).
	// +listType=set
	Users []*string `json:"users,omitempty" tf:"users,omitempty"`

	// (String) Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	WeekStart *string `json:"weekStart,omitempty" tf:"week_start,omitempty"`
}

func (*OnCallShiftObservation) DeepCopy

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

func (*OnCallShiftObservation) DeepCopyInto

func (in *OnCallShiftObservation) DeepCopyInto(out *OnCallShiftObservation)

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

type OnCallShiftParameters

type OnCallShiftParameters struct {

	// (Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// +kubebuilder:validation:Optional
	// +listType=set
	ByDay []*string `json:"byDay,omitempty" tf:"by_day,omitempty"`

	// (Set of Number) This parameter takes a list of months. Valid values are 1 to 12
	// This parameter takes a list of months. Valid values are 1 to 12
	// +kubebuilder:validation:Optional
	// +listType=set
	ByMonth []*float64 `json:"byMonth,omitempty" tf:"by_month,omitempty"`

	// 31 to -1
	// This parameter takes a list of days of the month.  Valid values are 1 to 31 or -31 to -1
	// +kubebuilder:validation:Optional
	// +listType=set
	ByMonthday []*float64 `json:"byMonthday,omitempty" tf:"by_monthday,omitempty"`

	// (Number) The duration of the event.
	// The duration of the event.
	// +kubebuilder:validation:Optional
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// (String) The frequency of the event. Can be hourly, daily, weekly, monthly
	// The frequency of the event. Can be hourly, daily, weekly, monthly
	// +kubebuilder:validation:Optional
	Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// (Number) The positive integer representing at which intervals the recurrence rule repeats.
	// The positive integer representing at which intervals the recurrence rule repeats.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// (Number) The priority level. The higher the value, the higher the priority.
	// The priority level. The higher the value, the higher the priority.
	// +kubebuilder:validation:Optional
	Level *float64 `json:"level,omitempty" tf:"level,omitempty"`

	// (String) The shift's name.
	// The shift's name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// call users (for rolling_users event type)
	// The list of lists with on-call users (for rolling_users event type)
	// +kubebuilder:validation:Optional
	RollingUsers [][]*string `json:"rollingUsers,omitempty" tf:"rolling_users,omitempty"`

	// call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example "2020-09-05T08:00:00")
	// The start time of the on-call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example "2020-09-05T08:00:00")
	// +kubebuilder:validation:Optional
	Start *string `json:"start,omitempty" tf:"start,omitempty"`

	// call rotation starts.
	// The index of the list of users in rolling_users, from which on-call rotation starts.
	// +kubebuilder:validation:Optional
	StartRotationFromUserIndex *float64 `json:"startRotationFromUserIndex,omitempty" tf:"start_rotation_from_user_index,omitempty"`

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (String) The shift's timezone.  Overrides schedule's timezone.
	// The shift's timezone.  Overrides schedule's timezone.
	// +kubebuilder:validation:Optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// (String) The shift's type. Can be rolling_users, recurrent_event, single_event
	// The shift's type. Can be rolling_users, recurrent_event, single_event
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// call users (for single_event and recurrent_event event type).
	// The list of on-call users (for single_event and recurrent_event event type).
	// +kubebuilder:validation:Optional
	// +listType=set
	Users []*string `json:"users,omitempty" tf:"users,omitempty"`

	// (String) Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// +kubebuilder:validation:Optional
	WeekStart *string `json:"weekStart,omitempty" tf:"week_start,omitempty"`
}

func (*OnCallShiftParameters) DeepCopy

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

func (*OnCallShiftParameters) DeepCopyInto

func (in *OnCallShiftParameters) DeepCopyInto(out *OnCallShiftParameters)

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

type OnCallShiftSpec

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

OnCallShiftSpec defines the desired state of OnCallShift

func (*OnCallShiftSpec) DeepCopy

func (in *OnCallShiftSpec) DeepCopy() *OnCallShiftSpec

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

func (*OnCallShiftSpec) DeepCopyInto

func (in *OnCallShiftSpec) DeepCopyInto(out *OnCallShiftSpec)

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

type OnCallShiftStatus

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

OnCallShiftStatus defines the observed state of OnCallShift.

func (*OnCallShiftStatus) DeepCopy

func (in *OnCallShiftStatus) DeepCopy() *OnCallShiftStatus

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

func (*OnCallShiftStatus) DeepCopyInto

func (in *OnCallShiftStatus) DeepCopyInto(out *OnCallShiftStatus)

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

type OutgoingWebhook

type OutgoingWebhook 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.url) || (has(self.initProvider) && has(self.initProvider.url))",message="spec.forProvider.url is a required parameter"
	Spec   OutgoingWebhookSpec   `json:"spec"`
	Status OutgoingWebhookStatus `json:"status,omitempty"`
}

OutgoingWebhook is the Schema for the OutgoingWebhooks API. HTTP API https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/ +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 (*OutgoingWebhook) DeepCopy

func (in *OutgoingWebhook) DeepCopy() *OutgoingWebhook

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

func (*OutgoingWebhook) DeepCopyInto

func (in *OutgoingWebhook) DeepCopyInto(out *OutgoingWebhook)

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

func (*OutgoingWebhook) DeepCopyObject

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

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

func (*OutgoingWebhook) GetCondition

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

GetCondition of this OutgoingWebhook.

func (*OutgoingWebhook) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this OutgoingWebhook

func (*OutgoingWebhook) GetDeletionPolicy

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

GetDeletionPolicy of this OutgoingWebhook.

func (*OutgoingWebhook) GetID

func (tr *OutgoingWebhook) GetID() string

GetID returns ID of underlying Terraform resource of this OutgoingWebhook

func (*OutgoingWebhook) GetInitParameters added in v0.8.0

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

GetInitParameters of this OutgoingWebhook

func (*OutgoingWebhook) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this OutgoingWebhook.

func (*OutgoingWebhook) GetMergedParameters added in v0.10.1

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

GetInitParameters of this OutgoingWebhook

func (*OutgoingWebhook) GetObservation

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

GetObservation of this OutgoingWebhook

func (*OutgoingWebhook) GetParameters

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

GetParameters of this OutgoingWebhook

func (*OutgoingWebhook) GetProviderConfigReference

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

GetProviderConfigReference of this OutgoingWebhook.

func (*OutgoingWebhook) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this OutgoingWebhook.

func (*OutgoingWebhook) GetTerraformResourceType

func (mg *OutgoingWebhook) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this OutgoingWebhook

func (*OutgoingWebhook) GetTerraformSchemaVersion

func (tr *OutgoingWebhook) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*OutgoingWebhook) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this OutgoingWebhook.

func (*OutgoingWebhook) Hub added in v0.10.1

func (tr *OutgoingWebhook) Hub()

Hub marks this type as a conversion hub.

func (*OutgoingWebhook) LateInitialize

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

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

func (*OutgoingWebhook) SetConditions

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

SetConditions of this OutgoingWebhook.

func (*OutgoingWebhook) SetDeletionPolicy

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

SetDeletionPolicy of this OutgoingWebhook.

func (*OutgoingWebhook) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this OutgoingWebhook.

func (*OutgoingWebhook) SetObservation

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

SetObservation for this OutgoingWebhook

func (*OutgoingWebhook) SetParameters

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

SetParameters for this OutgoingWebhook

func (*OutgoingWebhook) SetProviderConfigReference

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

SetProviderConfigReference of this OutgoingWebhook.

func (*OutgoingWebhook) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this OutgoingWebhook.

func (*OutgoingWebhook) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this OutgoingWebhook.

type OutgoingWebhookInitParameters added in v0.8.0

type OutgoingWebhookInitParameters struct {

	// (String) The data of the webhook.
	// The data of the webhook.
	Data *string `json:"data,omitempty" tf:"data,omitempty"`

	// (Boolean) Toggle to send the entire webhook payload instead of using the values in the Data field.
	// Toggle to send the entire webhook payload instead of using the values in the Data field.
	ForwardWholePayload *bool `json:"forwardWholePayload,omitempty" tf:"forward_whole_payload,omitempty"`

	// (String) The HTTP method used in the request made by the outgoing webhook. Defaults to POST.
	// The HTTP method used in the request made by the outgoing webhook. Defaults to `POST`.
	HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"`

	// (String) Headers to add to the outgoing webhook request.
	// Headers to add to the outgoing webhook request.
	Headers *string `json:"headers,omitempty" tf:"headers,omitempty"`

	// (List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.
	// Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.
	IntegrationFilter []*string `json:"integrationFilter,omitempty" tf:"integration_filter,omitempty"`

	// (Boolean) Controls whether the outgoing webhook will trigger or is ignored. The default is true.
	// Controls whether the outgoing webhook will trigger or is ignored. The default is `true`.
	IsWebhookEnabled *bool `json:"isWebhookEnabled,omitempty" tf:"is_webhook_enabled,omitempty"`

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

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (String) A template used to dynamically determine whether the webhook should execute based on the content of the payload.
	// A template used to dynamically determine whether the webhook should execute based on the content of the payload.
	TriggerTemplate *string `json:"triggerTemplate,omitempty" tf:"trigger_template,omitempty"`

	// (String) The type of event that will cause this outgoing webhook to execute. The types of triggers are: escalation, alert group created, acknowledge, resolve, silence, unsilence, unresolve, unacknowledge. Defaults to escalation.
	// The type of event that will cause this outgoing webhook to execute. The types of triggers are: `escalation`, `alert group created`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`. Defaults to `escalation`.
	TriggerType *string `json:"triggerType,omitempty" tf:"trigger_type,omitempty"`

	// (String) The webhook URL.
	// The webhook URL.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// (String) Username to use when making the outgoing webhook request.
	// Username to use when making the outgoing webhook request.
	User *string `json:"user,omitempty" tf:"user,omitempty"`
}

func (*OutgoingWebhookInitParameters) DeepCopy added in v0.8.0

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

func (*OutgoingWebhookInitParameters) DeepCopyInto added in v0.8.0

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

type OutgoingWebhookList

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

OutgoingWebhookList contains a list of OutgoingWebhooks

func (*OutgoingWebhookList) DeepCopy

func (in *OutgoingWebhookList) DeepCopy() *OutgoingWebhookList

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

func (*OutgoingWebhookList) DeepCopyInto

func (in *OutgoingWebhookList) DeepCopyInto(out *OutgoingWebhookList)

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

func (*OutgoingWebhookList) DeepCopyObject

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

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

func (*OutgoingWebhookList) GetItems

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

GetItems of this OutgoingWebhookList.

type OutgoingWebhookObservation

type OutgoingWebhookObservation struct {

	// (String) The data of the webhook.
	// The data of the webhook.
	Data *string `json:"data,omitempty" tf:"data,omitempty"`

	// (Boolean) Toggle to send the entire webhook payload instead of using the values in the Data field.
	// Toggle to send the entire webhook payload instead of using the values in the Data field.
	ForwardWholePayload *bool `json:"forwardWholePayload,omitempty" tf:"forward_whole_payload,omitempty"`

	// (String) The HTTP method used in the request made by the outgoing webhook. Defaults to POST.
	// The HTTP method used in the request made by the outgoing webhook. Defaults to `POST`.
	HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"`

	// (String) Headers to add to the outgoing webhook request.
	// Headers to add to the outgoing webhook request.
	Headers *string `json:"headers,omitempty" tf:"headers,omitempty"`

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

	// (List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.
	// Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.
	IntegrationFilter []*string `json:"integrationFilter,omitempty" tf:"integration_filter,omitempty"`

	// (Boolean) Controls whether the outgoing webhook will trigger or is ignored. The default is true.
	// Controls whether the outgoing webhook will trigger or is ignored. The default is `true`.
	IsWebhookEnabled *bool `json:"isWebhookEnabled,omitempty" tf:"is_webhook_enabled,omitempty"`

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

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (String) A template used to dynamically determine whether the webhook should execute based on the content of the payload.
	// A template used to dynamically determine whether the webhook should execute based on the content of the payload.
	TriggerTemplate *string `json:"triggerTemplate,omitempty" tf:"trigger_template,omitempty"`

	// (String) The type of event that will cause this outgoing webhook to execute. The types of triggers are: escalation, alert group created, acknowledge, resolve, silence, unsilence, unresolve, unacknowledge. Defaults to escalation.
	// The type of event that will cause this outgoing webhook to execute. The types of triggers are: `escalation`, `alert group created`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`. Defaults to `escalation`.
	TriggerType *string `json:"triggerType,omitempty" tf:"trigger_type,omitempty"`

	// (String) The webhook URL.
	// The webhook URL.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// (String) Username to use when making the outgoing webhook request.
	// Username to use when making the outgoing webhook request.
	User *string `json:"user,omitempty" tf:"user,omitempty"`
}

func (*OutgoingWebhookObservation) DeepCopy

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

func (*OutgoingWebhookObservation) DeepCopyInto

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

type OutgoingWebhookParameters

type OutgoingWebhookParameters struct {

	// (String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.
	// The auth data of the webhook. Used in Authorization header instead of user/password auth.
	// +kubebuilder:validation:Optional
	AuthorizationHeaderSecretRef *v1.SecretKeySelector `json:"authorizationHeaderSecretRef,omitempty" tf:"-"`

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

	// (Boolean) Toggle to send the entire webhook payload instead of using the values in the Data field.
	// Toggle to send the entire webhook payload instead of using the values in the Data field.
	// +kubebuilder:validation:Optional
	ForwardWholePayload *bool `json:"forwardWholePayload,omitempty" tf:"forward_whole_payload,omitempty"`

	// (String) The HTTP method used in the request made by the outgoing webhook. Defaults to POST.
	// The HTTP method used in the request made by the outgoing webhook. Defaults to `POST`.
	// +kubebuilder:validation:Optional
	HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"`

	// (String) Headers to add to the outgoing webhook request.
	// Headers to add to the outgoing webhook request.
	// +kubebuilder:validation:Optional
	Headers *string `json:"headers,omitempty" tf:"headers,omitempty"`

	// (List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.
	// Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.
	// +kubebuilder:validation:Optional
	IntegrationFilter []*string `json:"integrationFilter,omitempty" tf:"integration_filter,omitempty"`

	// (Boolean) Controls whether the outgoing webhook will trigger or is ignored. The default is true.
	// Controls whether the outgoing webhook will trigger or is ignored. The default is `true`.
	// +kubebuilder:validation:Optional
	IsWebhookEnabled *bool `json:"isWebhookEnabled,omitempty" tf:"is_webhook_enabled,omitempty"`

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

	// (String, Sensitive) The auth data of the webhook. Used for Basic authentication
	// The auth data of the webhook. Used for Basic authentication
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (String) A template used to dynamically determine whether the webhook should execute based on the content of the payload.
	// A template used to dynamically determine whether the webhook should execute based on the content of the payload.
	// +kubebuilder:validation:Optional
	TriggerTemplate *string `json:"triggerTemplate,omitempty" tf:"trigger_template,omitempty"`

	// (String) The type of event that will cause this outgoing webhook to execute. The types of triggers are: escalation, alert group created, acknowledge, resolve, silence, unsilence, unresolve, unacknowledge. Defaults to escalation.
	// The type of event that will cause this outgoing webhook to execute. The types of triggers are: `escalation`, `alert group created`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`. Defaults to `escalation`.
	// +kubebuilder:validation:Optional
	TriggerType *string `json:"triggerType,omitempty" tf:"trigger_type,omitempty"`

	// (String) The webhook URL.
	// The webhook URL.
	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// (String) Username to use when making the outgoing webhook request.
	// Username to use when making the outgoing webhook request.
	// +kubebuilder:validation:Optional
	User *string `json:"user,omitempty" tf:"user,omitempty"`
}

func (*OutgoingWebhookParameters) DeepCopy

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

func (*OutgoingWebhookParameters) DeepCopyInto

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

type OutgoingWebhookSpec

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

OutgoingWebhookSpec defines the desired state of OutgoingWebhook

func (*OutgoingWebhookSpec) DeepCopy

func (in *OutgoingWebhookSpec) DeepCopy() *OutgoingWebhookSpec

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

func (*OutgoingWebhookSpec) DeepCopyInto

func (in *OutgoingWebhookSpec) DeepCopyInto(out *OutgoingWebhookSpec)

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

type OutgoingWebhookStatus

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

OutgoingWebhookStatus defines the observed state of OutgoingWebhook.

func (*OutgoingWebhookStatus) DeepCopy

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

func (*OutgoingWebhookStatus) DeepCopyInto

func (in *OutgoingWebhookStatus) DeepCopyInto(out *OutgoingWebhookStatus)

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

type PhoneCallInitParameters added in v0.8.0

type PhoneCallInitParameters struct {

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*PhoneCallInitParameters) DeepCopy added in v0.8.0

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

func (*PhoneCallInitParameters) DeepCopyInto added in v0.8.0

func (in *PhoneCallInitParameters) DeepCopyInto(out *PhoneCallInitParameters)

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

type PhoneCallObservation added in v0.4.0

type PhoneCallObservation struct {

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*PhoneCallObservation) DeepCopy added in v0.4.0

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

func (*PhoneCallObservation) DeepCopyInto added in v0.4.0

func (in *PhoneCallObservation) DeepCopyInto(out *PhoneCallObservation)

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

type PhoneCallParameters added in v0.4.0

type PhoneCallParameters struct {

	// (String) Template for Alert title.
	// Template for Alert title.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*PhoneCallParameters) DeepCopy added in v0.4.0

func (in *PhoneCallParameters) DeepCopy() *PhoneCallParameters

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

func (*PhoneCallParameters) DeepCopyInto added in v0.4.0

func (in *PhoneCallParameters) DeepCopyInto(out *PhoneCallParameters)

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

type Route

type Route 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.escalationChainId) || (has(self.initProvider) && has(self.initProvider.escalationChainId))",message="spec.forProvider.escalationChainId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.integrationId) || (has(self.initProvider) && has(self.initProvider.integrationId))",message="spec.forProvider.integrationId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.position) || (has(self.initProvider) && has(self.initProvider.position))",message="spec.forProvider.position is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routingRegex) || (has(self.initProvider) && has(self.initProvider.routingRegex))",message="spec.forProvider.routingRegex is a required parameter"
	Spec   RouteSpec   `json:"spec"`
	Status RouteStatus `json:"status,omitempty"`
}

Route is the Schema for the Routes API. HTTP API https://grafana.com/docs/oncall/latest/oncall-api-reference/routes/ +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 (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

func (*Route) DeepCopyObject

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

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

func (*Route) GetCondition

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

GetCondition of this Route.

func (*Route) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Route

func (*Route) GetDeletionPolicy

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

GetDeletionPolicy of this Route.

func (*Route) GetID

func (tr *Route) GetID() string

GetID returns ID of underlying Terraform resource of this Route

func (*Route) GetInitParameters added in v0.8.0

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

GetInitParameters of this Route

func (*Route) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this Route.

func (*Route) GetMergedParameters added in v0.10.1

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

GetInitParameters of this Route

func (*Route) GetObservation

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

GetObservation of this Route

func (*Route) GetParameters

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

GetParameters of this Route

func (*Route) GetProviderConfigReference

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

GetProviderConfigReference of this Route.

func (*Route) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Route.

func (*Route) GetTerraformResourceType

func (mg *Route) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Route

func (*Route) GetTerraformSchemaVersion

func (tr *Route) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Route) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Route.

func (*Route) Hub added in v0.10.1

func (tr *Route) Hub()

Hub marks this type as a conversion hub.

func (*Route) LateInitialize

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

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

func (*Route) SetConditions

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

SetConditions of this Route.

func (*Route) SetDeletionPolicy

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

SetDeletionPolicy of this Route.

func (*Route) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this Route.

func (*Route) SetObservation

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

SetObservation for this Route

func (*Route) SetParameters

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

SetParameters for this Route

func (*Route) SetProviderConfigReference

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

SetProviderConfigReference of this Route.

func (*Route) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Route.

func (*Route) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Route.

type RouteInitParameters added in v0.8.0

type RouteInitParameters struct {

	// (String) The ID of the escalation chain.
	// The ID of the escalation chain.
	EscalationChainID *string `json:"escalationChainId,omitempty" tf:"escalation_chain_id,omitempty"`

	// (String) The ID of the integration.
	// The ID of the integration.
	IntegrationID *string `json:"integrationId,omitempty" tf:"integration_id,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// MS teams-specific settings for a route.
	Msteams []RouteMsteamsInitParameters `json:"msteams,omitempty" tf:"msteams,omitempty"`

	// (Number) The position of the route (starts from 0).
	// The position of the route (starts from 0).
	Position *float64 `json:"position,omitempty" tf:"position,omitempty"`

	// (String) Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.
	// Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.
	RoutingRegex *string `json:"routingRegex,omitempty" tf:"routing_regex,omitempty"`

	// (String) The type of route. Can be jinja2, regex Defaults to regex.
	// The type of route. Can be jinja2, regex Defaults to `regex`.
	RoutingType *string `json:"routingType,omitempty" tf:"routing_type,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Slack-specific settings for a route.
	Slack []RouteSlackInitParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Telegram-specific settings for a route.
	Telegram []RouteTelegramInitParameters `json:"telegram,omitempty" tf:"telegram,omitempty"`
}

func (*RouteInitParameters) DeepCopy added in v0.8.0

func (in *RouteInitParameters) DeepCopy() *RouteInitParameters

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

func (*RouteInitParameters) DeepCopyInto added in v0.8.0

func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters)

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

type RouteList

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

RouteList contains a list of Routes

func (*RouteList) DeepCopy

func (in *RouteList) DeepCopy() *RouteList

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

func (*RouteList) DeepCopyInto

func (in *RouteList) DeepCopyInto(out *RouteList)

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

func (*RouteList) DeepCopyObject

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

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

func (*RouteList) GetItems

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

GetItems of this RouteList.

type RouteMsteamsInitParameters added in v0.8.0

type RouteMsteamsInitParameters struct {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in MS teams. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*RouteMsteamsInitParameters) DeepCopy added in v0.8.0

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

func (*RouteMsteamsInitParameters) DeepCopyInto added in v0.8.0

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

type RouteMsteamsObservation

type RouteMsteamsObservation struct {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in MS teams. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*RouteMsteamsObservation) DeepCopy

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

func (*RouteMsteamsObservation) DeepCopyInto

func (in *RouteMsteamsObservation) DeepCopyInto(out *RouteMsteamsObservation)

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

type RouteMsteamsParameters

type RouteMsteamsParameters struct {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in MS teams. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*RouteMsteamsParameters) DeepCopy

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

func (*RouteMsteamsParameters) DeepCopyInto

func (in *RouteMsteamsParameters) DeepCopyInto(out *RouteMsteamsParameters)

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

type RouteObservation

type RouteObservation struct {

	// (String) The ID of the escalation chain.
	// The ID of the escalation chain.
	EscalationChainID *string `json:"escalationChainId,omitempty" tf:"escalation_chain_id,omitempty"`

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

	// (String) The ID of the integration.
	// The ID of the integration.
	IntegrationID *string `json:"integrationId,omitempty" tf:"integration_id,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// MS teams-specific settings for a route.
	Msteams []RouteMsteamsObservation `json:"msteams,omitempty" tf:"msteams,omitempty"`

	// (Number) The position of the route (starts from 0).
	// The position of the route (starts from 0).
	Position *float64 `json:"position,omitempty" tf:"position,omitempty"`

	// (String) Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.
	// Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.
	RoutingRegex *string `json:"routingRegex,omitempty" tf:"routing_regex,omitempty"`

	// (String) The type of route. Can be jinja2, regex Defaults to regex.
	// The type of route. Can be jinja2, regex Defaults to `regex`.
	RoutingType *string `json:"routingType,omitempty" tf:"routing_type,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Slack-specific settings for a route.
	Slack []RouteSlackObservation `json:"slack,omitempty" tf:"slack,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Telegram-specific settings for a route.
	Telegram []RouteTelegramObservation `json:"telegram,omitempty" tf:"telegram,omitempty"`
}

func (*RouteObservation) DeepCopy

func (in *RouteObservation) DeepCopy() *RouteObservation

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

func (*RouteObservation) DeepCopyInto

func (in *RouteObservation) DeepCopyInto(out *RouteObservation)

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

type RouteParameters

type RouteParameters struct {

	// (String) The ID of the escalation chain.
	// The ID of the escalation chain.
	// +kubebuilder:validation:Optional
	EscalationChainID *string `json:"escalationChainId,omitempty" tf:"escalation_chain_id,omitempty"`

	// (String) The ID of the integration.
	// The ID of the integration.
	// +kubebuilder:validation:Optional
	IntegrationID *string `json:"integrationId,omitempty" tf:"integration_id,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// MS teams-specific settings for a route.
	// +kubebuilder:validation:Optional
	Msteams []RouteMsteamsParameters `json:"msteams,omitempty" tf:"msteams,omitempty"`

	// (Number) The position of the route (starts from 0).
	// The position of the route (starts from 0).
	// +kubebuilder:validation:Optional
	Position *float64 `json:"position,omitempty" tf:"position,omitempty"`

	// (String) Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.
	// Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.
	// +kubebuilder:validation:Optional
	RoutingRegex *string `json:"routingRegex,omitempty" tf:"routing_regex,omitempty"`

	// (String) The type of route. Can be jinja2, regex Defaults to regex.
	// The type of route. Can be jinja2, regex Defaults to `regex`.
	// +kubebuilder:validation:Optional
	RoutingType *string `json:"routingType,omitempty" tf:"routing_type,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Slack-specific settings for a route.
	// +kubebuilder:validation:Optional
	Slack []RouteSlackParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Telegram-specific settings for a route.
	// +kubebuilder:validation:Optional
	Telegram []RouteTelegramParameters `json:"telegram,omitempty" tf:"telegram,omitempty"`
}

func (*RouteParameters) DeepCopy

func (in *RouteParameters) DeepCopy() *RouteParameters

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

func (*RouteParameters) DeepCopyInto

func (in *RouteParameters) DeepCopyInto(out *RouteParameters)

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

type RouteSlackInitParameters added in v0.8.0

type RouteSlackInitParameters struct {

	// (String) Slack channel id. Alerts will be directed to this channel in Slack.
	// Slack channel id. Alerts will be directed to this channel in Slack.
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Slack. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*RouteSlackInitParameters) DeepCopy added in v0.8.0

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

func (*RouteSlackInitParameters) DeepCopyInto added in v0.8.0

func (in *RouteSlackInitParameters) DeepCopyInto(out *RouteSlackInitParameters)

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

type RouteSlackObservation

type RouteSlackObservation struct {

	// (String) Slack channel id. Alerts will be directed to this channel in Slack.
	// Slack channel id. Alerts will be directed to this channel in Slack.
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Slack. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*RouteSlackObservation) DeepCopy

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

func (*RouteSlackObservation) DeepCopyInto

func (in *RouteSlackObservation) DeepCopyInto(out *RouteSlackObservation)

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

type RouteSlackParameters

type RouteSlackParameters struct {

	// (String) Slack channel id. Alerts will be directed to this channel in Slack.
	// Slack channel id. Alerts will be directed to this channel in Slack.
	// +kubebuilder:validation:Optional
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Slack. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*RouteSlackParameters) DeepCopy

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

func (*RouteSlackParameters) DeepCopyInto

func (in *RouteSlackParameters) DeepCopyInto(out *RouteSlackParameters)

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

type RouteSpec

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

RouteSpec defines the desired state of Route

func (*RouteSpec) DeepCopy

func (in *RouteSpec) DeepCopy() *RouteSpec

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

func (*RouteSpec) DeepCopyInto

func (in *RouteSpec) DeepCopyInto(out *RouteSpec)

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

type RouteStatus

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

RouteStatus defines the observed state of Route.

func (*RouteStatus) DeepCopy

func (in *RouteStatus) DeepCopy() *RouteStatus

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

func (*RouteStatus) DeepCopyInto

func (in *RouteStatus) DeepCopyInto(out *RouteStatus)

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

type RouteTelegramInitParameters added in v0.8.0

type RouteTelegramInitParameters struct {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Telegram. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// Telegram channel id. Alerts will be directed to this channel in Telegram.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*RouteTelegramInitParameters) DeepCopy added in v0.8.0

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

func (*RouteTelegramInitParameters) DeepCopyInto added in v0.8.0

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

type RouteTelegramObservation

type RouteTelegramObservation struct {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Telegram. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// Telegram channel id. Alerts will be directed to this channel in Telegram.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*RouteTelegramObservation) DeepCopy

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

func (*RouteTelegramObservation) DeepCopyInto

func (in *RouteTelegramObservation) DeepCopyInto(out *RouteTelegramObservation)

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

type RouteTelegramParameters

type RouteTelegramParameters struct {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Telegram. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// Telegram channel id. Alerts will be directed to this channel in Telegram.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*RouteTelegramParameters) DeepCopy

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

func (*RouteTelegramParameters) DeepCopyInto

func (in *RouteTelegramParameters) DeepCopyInto(out *RouteTelegramParameters)

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

type SMSInitParameters added in v0.8.0

type SMSInitParameters struct {

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*SMSInitParameters) DeepCopy added in v0.8.0

func (in *SMSInitParameters) DeepCopy() *SMSInitParameters

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

func (*SMSInitParameters) DeepCopyInto added in v0.8.0

func (in *SMSInitParameters) DeepCopyInto(out *SMSInitParameters)

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

type SMSObservation added in v0.4.0

type SMSObservation struct {

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*SMSObservation) DeepCopy added in v0.4.0

func (in *SMSObservation) DeepCopy() *SMSObservation

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

func (*SMSObservation) DeepCopyInto added in v0.4.0

func (in *SMSObservation) DeepCopyInto(out *SMSObservation)

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

type SMSParameters added in v0.4.0

type SMSParameters struct {

	// (String) Template for Alert title.
	// Template for Alert title.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*SMSParameters) DeepCopy added in v0.4.0

func (in *SMSParameters) DeepCopy() *SMSParameters

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

func (*SMSParameters) DeepCopyInto added in v0.4.0

func (in *SMSParameters) DeepCopyInto(out *SMSParameters)

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

type Schedule

type Schedule 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.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	Spec   ScheduleSpec   `json:"spec"`
	Status ScheduleStatus `json:"status,omitempty"`
}

Schedule is the Schema for the Schedules API. HTTP API https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/ +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 (*Schedule) DeepCopy

func (in *Schedule) DeepCopy() *Schedule

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

func (*Schedule) DeepCopyInto

func (in *Schedule) DeepCopyInto(out *Schedule)

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

func (*Schedule) DeepCopyObject

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

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

func (*Schedule) GetCondition

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

GetCondition of this Schedule.

func (*Schedule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Schedule

func (*Schedule) GetDeletionPolicy

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

GetDeletionPolicy of this Schedule.

func (*Schedule) GetID

func (tr *Schedule) GetID() string

GetID returns ID of underlying Terraform resource of this Schedule

func (*Schedule) GetInitParameters added in v0.8.0

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

GetInitParameters of this Schedule

func (*Schedule) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this Schedule.

func (*Schedule) GetMergedParameters added in v0.10.1

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

GetInitParameters of this Schedule

func (*Schedule) GetObservation

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

GetObservation of this Schedule

func (*Schedule) GetParameters

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

GetParameters of this Schedule

func (*Schedule) GetProviderConfigReference

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

GetProviderConfigReference of this Schedule.

func (*Schedule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Schedule.

func (*Schedule) GetTerraformResourceType

func (mg *Schedule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Schedule

func (*Schedule) GetTerraformSchemaVersion

func (tr *Schedule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Schedule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Schedule.

func (*Schedule) Hub added in v0.10.1

func (tr *Schedule) Hub()

Hub marks this type as a conversion hub.

func (*Schedule) LateInitialize

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

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

func (*Schedule) SetConditions

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

SetConditions of this Schedule.

func (*Schedule) SetDeletionPolicy

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

SetDeletionPolicy of this Schedule.

func (*Schedule) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this Schedule.

func (*Schedule) SetObservation

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

SetObservation for this Schedule

func (*Schedule) SetParameters

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

SetParameters for this Schedule

func (*Schedule) SetProviderConfigReference

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

SetProviderConfigReference of this Schedule.

func (*Schedule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Schedule.

func (*Schedule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Schedule.

type ScheduleInitParameters added in v0.8.0

type ScheduleInitParameters struct {

	// (Boolean) Enable overrides via web UI (it will ignore ical_url_overrides).
	// Enable overrides via web UI (it will ignore ical_url_overrides).
	EnableWebOverrides *bool `json:"enableWebOverrides,omitempty" tf:"enable_web_overrides,omitempty"`

	// (String) The URL of external iCal calendar which override primary events.
	// The URL of external iCal calendar which override primary events.
	IcalURLOverrides *string `json:"icalUrlOverrides,omitempty" tf:"ical_url_overrides,omitempty"`

	// (String) The URL of the external calendar iCal file.
	// The URL of the external calendar iCal file.
	IcalURLPrimary *string `json:"icalUrlPrimary,omitempty" tf:"ical_url_primary,omitempty"`

	// (String) The schedule's name.
	// The schedule's name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// call shifts.
	// The list of ID's of on-call shifts.
	// +listType=set
	Shifts []*string `json:"shifts,omitempty" tf:"shifts,omitempty"`

	// specific settings for a schedule. (see below for nested schema)
	// The Slack-specific settings for a schedule.
	Slack []ScheduleSlackInitParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (String) The schedule's time zone.
	// The schedule's time zone.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// (String) The schedule's type.
	// The schedule's type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ScheduleInitParameters) DeepCopy added in v0.8.0

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

func (*ScheduleInitParameters) DeepCopyInto added in v0.8.0

func (in *ScheduleInitParameters) DeepCopyInto(out *ScheduleInitParameters)

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

type ScheduleList

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

ScheduleList contains a list of Schedules

func (*ScheduleList) DeepCopy

func (in *ScheduleList) DeepCopy() *ScheduleList

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

func (*ScheduleList) DeepCopyInto

func (in *ScheduleList) DeepCopyInto(out *ScheduleList)

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

func (*ScheduleList) DeepCopyObject

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

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

func (*ScheduleList) GetItems

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

GetItems of this ScheduleList.

type ScheduleObservation

type ScheduleObservation struct {

	// (Boolean) Enable overrides via web UI (it will ignore ical_url_overrides).
	// Enable overrides via web UI (it will ignore ical_url_overrides).
	EnableWebOverrides *bool `json:"enableWebOverrides,omitempty" tf:"enable_web_overrides,omitempty"`

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

	// (String) The URL of external iCal calendar which override primary events.
	// The URL of external iCal calendar which override primary events.
	IcalURLOverrides *string `json:"icalUrlOverrides,omitempty" tf:"ical_url_overrides,omitempty"`

	// (String) The URL of the external calendar iCal file.
	// The URL of the external calendar iCal file.
	IcalURLPrimary *string `json:"icalUrlPrimary,omitempty" tf:"ical_url_primary,omitempty"`

	// (String) The schedule's name.
	// The schedule's name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// call shifts.
	// The list of ID's of on-call shifts.
	// +listType=set
	Shifts []*string `json:"shifts,omitempty" tf:"shifts,omitempty"`

	// specific settings for a schedule. (see below for nested schema)
	// The Slack-specific settings for a schedule.
	Slack []ScheduleSlackObservation `json:"slack,omitempty" tf:"slack,omitempty"`

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (String) The schedule's time zone.
	// The schedule's time zone.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// (String) The schedule's type.
	// The schedule's type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ScheduleObservation) DeepCopy

func (in *ScheduleObservation) DeepCopy() *ScheduleObservation

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

func (*ScheduleObservation) DeepCopyInto

func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation)

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

type ScheduleParameters

type ScheduleParameters struct {

	// (Boolean) Enable overrides via web UI (it will ignore ical_url_overrides).
	// Enable overrides via web UI (it will ignore ical_url_overrides).
	// +kubebuilder:validation:Optional
	EnableWebOverrides *bool `json:"enableWebOverrides,omitempty" tf:"enable_web_overrides,omitempty"`

	// (String) The URL of external iCal calendar which override primary events.
	// The URL of external iCal calendar which override primary events.
	// +kubebuilder:validation:Optional
	IcalURLOverrides *string `json:"icalUrlOverrides,omitempty" tf:"ical_url_overrides,omitempty"`

	// (String) The URL of the external calendar iCal file.
	// The URL of the external calendar iCal file.
	// +kubebuilder:validation:Optional
	IcalURLPrimary *string `json:"icalUrlPrimary,omitempty" tf:"ical_url_primary,omitempty"`

	// (String) The schedule's name.
	// The schedule's name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// call shifts.
	// The list of ID's of on-call shifts.
	// +kubebuilder:validation:Optional
	// +listType=set
	Shifts []*string `json:"shifts,omitempty" tf:"shifts,omitempty"`

	// specific settings for a schedule. (see below for nested schema)
	// The Slack-specific settings for a schedule.
	// +kubebuilder:validation:Optional
	Slack []ScheduleSlackParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// (String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.
	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// (String) The schedule's time zone.
	// The schedule's time zone.
	// +kubebuilder:validation:Optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// (String) The schedule's type.
	// The schedule's type.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ScheduleParameters) DeepCopy

func (in *ScheduleParameters) DeepCopy() *ScheduleParameters

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

func (*ScheduleParameters) DeepCopyInto

func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters)

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

type ScheduleSlackInitParameters added in v0.8.0

type ScheduleSlackInitParameters struct {

	// (String) Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.
	// Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// call users change.
	// Slack user group id. Members of user group will be updated when on-call users change.
	UserGroupID *string `json:"userGroupId,omitempty" tf:"user_group_id,omitempty"`
}

func (*ScheduleSlackInitParameters) DeepCopy added in v0.8.0

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

func (*ScheduleSlackInitParameters) DeepCopyInto added in v0.8.0

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

type ScheduleSlackObservation

type ScheduleSlackObservation struct {

	// (String) Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.
	// Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// call users change.
	// Slack user group id. Members of user group will be updated when on-call users change.
	UserGroupID *string `json:"userGroupId,omitempty" tf:"user_group_id,omitempty"`
}

func (*ScheduleSlackObservation) DeepCopy

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

func (*ScheduleSlackObservation) DeepCopyInto

func (in *ScheduleSlackObservation) DeepCopyInto(out *ScheduleSlackObservation)

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

type ScheduleSlackParameters

type ScheduleSlackParameters struct {

	// (String) Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.
	// Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.
	// +kubebuilder:validation:Optional
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// call users change.
	// Slack user group id. Members of user group will be updated when on-call users change.
	// +kubebuilder:validation:Optional
	UserGroupID *string `json:"userGroupId,omitempty" tf:"user_group_id,omitempty"`
}

func (*ScheduleSlackParameters) DeepCopy

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

func (*ScheduleSlackParameters) DeepCopyInto

func (in *ScheduleSlackParameters) DeepCopyInto(out *ScheduleSlackParameters)

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

type ScheduleSpec

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

ScheduleSpec defines the desired state of Schedule

func (*ScheduleSpec) DeepCopy

func (in *ScheduleSpec) DeepCopy() *ScheduleSpec

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

func (*ScheduleSpec) DeepCopyInto

func (in *ScheduleSpec) DeepCopyInto(out *ScheduleSpec)

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

type ScheduleStatus

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

ScheduleStatus defines the observed state of Schedule.

func (*ScheduleStatus) DeepCopy

func (in *ScheduleStatus) DeepCopy() *ScheduleStatus

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

func (*ScheduleStatus) DeepCopyInto

func (in *ScheduleStatus) DeepCopyInto(out *ScheduleStatus)

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 {

	// (String) Slack channel id. Alerts will be directed to this channel in Slack.
	// Slack channel id. Alerts will be directed to this channel in Slack.
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Slack. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,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 {

	// (String) Slack channel id. Alerts will be directed to this channel in Slack.
	// Slack channel id. Alerts will be directed to this channel in Slack.
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Slack. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,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 {

	// (String) Slack channel id. Alerts will be directed to this channel in Slack.
	// Slack channel id. Alerts will be directed to this channel in Slack.
	// +kubebuilder:validation:Optional
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Slack. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,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 TelegramInitParameters added in v0.8.0

type TelegramInitParameters struct {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Telegram. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// Telegram channel id. Alerts will be directed to this channel in Telegram.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*TelegramInitParameters) DeepCopy added in v0.8.0

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 {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Telegram. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// Telegram channel id. Alerts will be directed to this channel in Telegram.
	ID *string `json:"id,omitempty" tf:"id,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 {

	// (Boolean) Enable notification in MS teams. Defaults to true.
	// Enable notification in Telegram. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) The ID of this resource.
	// Telegram channel id. Alerts will be directed to this channel in Telegram.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

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 TemplatesInitParameters added in v0.8.0

type TemplatesInitParameters struct {

	// (String) Template for sending a signal to acknowledge the Incident.
	// Template for sending a signal to acknowledge the Incident.
	AcknowledgeSignal *string `json:"acknowledgeSignal,omitempty" tf:"acknowledge_signal,omitempty"`

	// (Block List, Max: 1) Templates for Email. (see below for nested schema)
	// Templates for Email.
	Email []EmailInitParameters `json:"email,omitempty" tf:"email,omitempty"`

	// (String) Template for the key by which alerts are grouped.
	// Template for the key by which alerts are grouped.
	GroupingKey *string `json:"groupingKey,omitempty" tf:"grouping_key,omitempty"`

	// (Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)
	// Templates for Microsoft Teams.
	MicrosoftTeams []MicrosoftTeamsInitParameters `json:"microsoftTeams,omitempty" tf:"microsoft_teams,omitempty"`

	// (Block List, Max: 1) Templates for Phone Call. (see below for nested schema)
	// Templates for Phone Call.
	PhoneCall []PhoneCallInitParameters `json:"phoneCall,omitempty" tf:"phone_call,omitempty"`

	// (String) Template for sending a signal to resolve the Incident.
	// Template for sending a signal to resolve the Incident.
	ResolveSignal *string `json:"resolveSignal,omitempty" tf:"resolve_signal,omitempty"`

	// (Block List, Max: 1) Templates for SMS. (see below for nested schema)
	// Templates for SMS.
	SMS []SMSInitParameters `json:"sms,omitempty" tf:"sms,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Templates for Slack.
	Slack []TemplatesSlackInitParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// (String) Template for a source link.
	// Template for a source link.
	SourceLink *string `json:"sourceLink,omitempty" tf:"source_link,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Templates for Telegram.
	Telegram []TemplatesTelegramInitParameters `json:"telegram,omitempty" tf:"telegram,omitempty"`

	// (Block List, Max: 1) Templates for Web. (see below for nested schema)
	// Templates for Web.
	Web []WebInitParameters `json:"web,omitempty" tf:"web,omitempty"`
}

func (*TemplatesInitParameters) DeepCopy added in v0.8.0

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

func (*TemplatesInitParameters) DeepCopyInto added in v0.8.0

func (in *TemplatesInitParameters) DeepCopyInto(out *TemplatesInitParameters)

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

type TemplatesObservation

type TemplatesObservation struct {

	// (String) Template for sending a signal to acknowledge the Incident.
	// Template for sending a signal to acknowledge the Incident.
	AcknowledgeSignal *string `json:"acknowledgeSignal,omitempty" tf:"acknowledge_signal,omitempty"`

	// (Block List, Max: 1) Templates for Email. (see below for nested schema)
	// Templates for Email.
	Email []EmailObservation `json:"email,omitempty" tf:"email,omitempty"`

	// (String) Template for the key by which alerts are grouped.
	// Template for the key by which alerts are grouped.
	GroupingKey *string `json:"groupingKey,omitempty" tf:"grouping_key,omitempty"`

	// (Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)
	// Templates for Microsoft Teams.
	MicrosoftTeams []MicrosoftTeamsObservation `json:"microsoftTeams,omitempty" tf:"microsoft_teams,omitempty"`

	// (Block List, Max: 1) Templates for Phone Call. (see below for nested schema)
	// Templates for Phone Call.
	PhoneCall []PhoneCallObservation `json:"phoneCall,omitempty" tf:"phone_call,omitempty"`

	// (String) Template for sending a signal to resolve the Incident.
	// Template for sending a signal to resolve the Incident.
	ResolveSignal *string `json:"resolveSignal,omitempty" tf:"resolve_signal,omitempty"`

	// (Block List, Max: 1) Templates for SMS. (see below for nested schema)
	// Templates for SMS.
	SMS []SMSObservation `json:"sms,omitempty" tf:"sms,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Templates for Slack.
	Slack []TemplatesSlackObservation `json:"slack,omitempty" tf:"slack,omitempty"`

	// (String) Template for a source link.
	// Template for a source link.
	SourceLink *string `json:"sourceLink,omitempty" tf:"source_link,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Templates for Telegram.
	Telegram []TemplatesTelegramObservation `json:"telegram,omitempty" tf:"telegram,omitempty"`

	// (Block List, Max: 1) Templates for Web. (see below for nested schema)
	// Templates for Web.
	Web []WebObservation `json:"web,omitempty" tf:"web,omitempty"`
}

func (*TemplatesObservation) DeepCopy

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

func (*TemplatesObservation) DeepCopyInto

func (in *TemplatesObservation) DeepCopyInto(out *TemplatesObservation)

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

type TemplatesParameters

type TemplatesParameters struct {

	// (String) Template for sending a signal to acknowledge the Incident.
	// Template for sending a signal to acknowledge the Incident.
	// +kubebuilder:validation:Optional
	AcknowledgeSignal *string `json:"acknowledgeSignal,omitempty" tf:"acknowledge_signal,omitempty"`

	// (Block List, Max: 1) Templates for Email. (see below for nested schema)
	// Templates for Email.
	// +kubebuilder:validation:Optional
	Email []EmailParameters `json:"email,omitempty" tf:"email,omitempty"`

	// (String) Template for the key by which alerts are grouped.
	// Template for the key by which alerts are grouped.
	// +kubebuilder:validation:Optional
	GroupingKey *string `json:"groupingKey,omitempty" tf:"grouping_key,omitempty"`

	// (Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)
	// Templates for Microsoft Teams.
	// +kubebuilder:validation:Optional
	MicrosoftTeams []MicrosoftTeamsParameters `json:"microsoftTeams,omitempty" tf:"microsoft_teams,omitempty"`

	// (Block List, Max: 1) Templates for Phone Call. (see below for nested schema)
	// Templates for Phone Call.
	// +kubebuilder:validation:Optional
	PhoneCall []PhoneCallParameters `json:"phoneCall,omitempty" tf:"phone_call,omitempty"`

	// (String) Template for sending a signal to resolve the Incident.
	// Template for sending a signal to resolve the Incident.
	// +kubebuilder:validation:Optional
	ResolveSignal *string `json:"resolveSignal,omitempty" tf:"resolve_signal,omitempty"`

	// (Block List, Max: 1) Templates for SMS. (see below for nested schema)
	// Templates for SMS.
	// +kubebuilder:validation:Optional
	SMS []SMSParameters `json:"sms,omitempty" tf:"sms,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Templates for Slack.
	// +kubebuilder:validation:Optional
	Slack []TemplatesSlackParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// (String) Template for a source link.
	// Template for a source link.
	// +kubebuilder:validation:Optional
	SourceLink *string `json:"sourceLink,omitempty" tf:"source_link,omitempty"`

	// specific settings for a route. (see below for nested schema)
	// Templates for Telegram.
	// +kubebuilder:validation:Optional
	Telegram []TemplatesTelegramParameters `json:"telegram,omitempty" tf:"telegram,omitempty"`

	// (Block List, Max: 1) Templates for Web. (see below for nested schema)
	// Templates for Web.
	// +kubebuilder:validation:Optional
	Web []WebParameters `json:"web,omitempty" tf:"web,omitempty"`
}

func (*TemplatesParameters) DeepCopy

func (in *TemplatesParameters) DeepCopy() *TemplatesParameters

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

func (*TemplatesParameters) DeepCopyInto

func (in *TemplatesParameters) DeepCopyInto(out *TemplatesParameters)

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

type TemplatesSlackInitParameters added in v0.8.0

type TemplatesSlackInitParameters struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*TemplatesSlackInitParameters) DeepCopy added in v0.8.0

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

func (*TemplatesSlackInitParameters) DeepCopyInto added in v0.8.0

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

type TemplatesSlackObservation

type TemplatesSlackObservation struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*TemplatesSlackObservation) DeepCopy

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

func (*TemplatesSlackObservation) DeepCopyInto

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

type TemplatesSlackParameters

type TemplatesSlackParameters struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	// +kubebuilder:validation:Optional
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*TemplatesSlackParameters) DeepCopy

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

func (*TemplatesSlackParameters) DeepCopyInto

func (in *TemplatesSlackParameters) DeepCopyInto(out *TemplatesSlackParameters)

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

type TemplatesTelegramInitParameters added in v0.8.0

type TemplatesTelegramInitParameters struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*TemplatesTelegramInitParameters) DeepCopy added in v0.8.0

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

func (*TemplatesTelegramInitParameters) DeepCopyInto added in v0.8.0

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

type TemplatesTelegramObservation added in v0.4.0

type TemplatesTelegramObservation struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*TemplatesTelegramObservation) DeepCopy added in v0.4.0

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

func (*TemplatesTelegramObservation) DeepCopyInto added in v0.4.0

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

type TemplatesTelegramParameters added in v0.4.0

type TemplatesTelegramParameters struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	// +kubebuilder:validation:Optional
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*TemplatesTelegramParameters) DeepCopy added in v0.4.0

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

func (*TemplatesTelegramParameters) DeepCopyInto added in v0.4.0

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

type WebInitParameters added in v0.8.0

type WebInitParameters struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*WebInitParameters) DeepCopy added in v0.8.0

func (in *WebInitParameters) DeepCopy() *WebInitParameters

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

func (*WebInitParameters) DeepCopyInto added in v0.8.0

func (in *WebInitParameters) DeepCopyInto(out *WebInitParameters)

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

type WebObservation added in v0.4.0

type WebObservation struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*WebObservation) DeepCopy added in v0.4.0

func (in *WebObservation) DeepCopy() *WebObservation

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

func (*WebObservation) DeepCopyInto added in v0.4.0

func (in *WebObservation) DeepCopyInto(out *WebObservation)

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

type WebParameters added in v0.4.0

type WebParameters struct {

	// (String) Template for Alert image url.
	// Template for Alert image url.
	// +kubebuilder:validation:Optional
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// (String) Template for Alert message.
	// Template for Alert message.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) Template for Alert title.
	// Template for Alert title.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*WebParameters) DeepCopy added in v0.4.0

func (in *WebParameters) DeepCopy() *WebParameters

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

func (*WebParameters) DeepCopyInto added in v0.4.0

func (in *WebParameters) DeepCopyInto(out *WebParameters)

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

Jump to

Keyboard shortcuts

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