v1beta1

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=monitoring.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "monitoring.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	AlertPolicy_Kind             = "AlertPolicy"
	AlertPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AlertPolicy_Kind}.String()
	AlertPolicy_KindAPIVersion   = AlertPolicy_Kind + "." + CRDGroupVersion.String()
	AlertPolicy_GroupVersionKind = CRDGroupVersion.WithKind(AlertPolicy_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 (
	NotificationChannel_Kind             = "NotificationChannel"
	NotificationChannel_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NotificationChannel_Kind}.String()
	NotificationChannel_KindAPIVersion   = NotificationChannel_Kind + "." + CRDGroupVersion.String()
	NotificationChannel_GroupVersionKind = CRDGroupVersion.WithKind(NotificationChannel_Kind)
)

Repository type metadata.

View Source
var (
	UptimeCheckConfig_Kind             = "UptimeCheckConfig"
	UptimeCheckConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: UptimeCheckConfig_Kind}.String()
	UptimeCheckConfig_KindAPIVersion   = UptimeCheckConfig_Kind + "." + CRDGroupVersion.String()
	UptimeCheckConfig_GroupVersionKind = CRDGroupVersion.WithKind(UptimeCheckConfig_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AggregationsObservation

type AggregationsObservation struct {
}

func (*AggregationsObservation) DeepCopy

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

func (*AggregationsObservation) DeepCopyInto

func (in *AggregationsObservation) DeepCopyInto(out *AggregationsObservation)

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

type AggregationsParameters

type AggregationsParameters struct {

	// The alignment period for per-time
	// series alignment. If present,
	// alignmentPeriod must be at least
	// 60 seconds. After per-time series
	// alignment, each time series will
	// contain data points only on the
	// period boundaries. If
	// perSeriesAligner is not specified
	// or equals ALIGN_NONE, then this
	// field is ignored. If
	// perSeriesAligner is specified and
	// does not equal ALIGN_NONE, then
	// this field must be defined;
	// otherwise an error is returned.
	// +kubebuilder:validation:Optional
	AlignmentPeriod *string `json:"alignmentPeriod,omitempty" tf:"alignment_period,omitempty"`

	// The approach to be used to combine
	// time series. Not all reducer
	// functions may be applied to all
	// time series, depending on the
	// metric type and the value type of
	// the original time series.
	// Reduction may change the metric
	// type of value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50, and REDUCE_PERCENTILE_05.
	// +kubebuilder:validation:Optional
	CrossSeriesReducer *string `json:"crossSeriesReducer,omitempty" tf:"cross_series_reducer,omitempty"`

	// The set of fields to preserve when
	// crossSeriesReducer is specified.
	// The groupByFields determine how
	// the time series are partitioned
	// into subsets prior to applying the
	// aggregation function. Each subset
	// contains time series that have the
	// same value for each of the
	// grouping fields. Each individual
	// time series is a member of exactly
	// one subset. The crossSeriesReducer
	// is applied to each subset of time
	// series. It is not possible to
	// reduce across different resource
	// types, so this field implicitly
	// contains resource.type. Fields not
	// specified in groupByFields are
	// aggregated away. If groupByFields
	// is not specified and all the time
	// series have the same resource
	// type, then the time series are
	// aggregated into a single output
	// time series. If crossSeriesReducer
	// is not defined, this field is
	// ignored.
	// +kubebuilder:validation:Optional
	GroupByFields []*string `json:"groupByFields,omitempty" tf:"group_by_fields,omitempty"`

	// The approach to be used to align
	// individual time series. Not all
	// alignment functions may be applied
	// to all time series, depending on
	// the metric type and value type of
	// the original time series.
	// Alignment may change the metric
	// type or the value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are ALIGN_NONE, ALIGN_DELTA, ALIGN_RATE, ALIGN_INTERPOLATE, ALIGN_NEXT_OLDER, ALIGN_MIN, ALIGN_MAX, ALIGN_MEAN, ALIGN_COUNT, ALIGN_SUM, ALIGN_STDDEV, ALIGN_COUNT_TRUE, ALIGN_COUNT_FALSE, ALIGN_FRACTION_TRUE, ALIGN_PERCENTILE_99, ALIGN_PERCENTILE_95, ALIGN_PERCENTILE_50, ALIGN_PERCENTILE_05, and ALIGN_PERCENT_CHANGE.
	// +kubebuilder:validation:Optional
	PerSeriesAligner *string `json:"perSeriesAligner,omitempty" tf:"per_series_aligner,omitempty"`
}

func (*AggregationsParameters) DeepCopy

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

func (*AggregationsParameters) DeepCopyInto

func (in *AggregationsParameters) DeepCopyInto(out *AggregationsParameters)

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

type AlertPolicy

type AlertPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AlertPolicySpec   `json:"spec"`
	Status            AlertPolicyStatus `json:"status,omitempty"`
}

AlertPolicy is the Schema for the AlertPolicys API. A description of the conditions under which some aspect of your system is considered to be "unhealthy" and the ways to notify people or services about this state. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*AlertPolicy) DeepCopy

func (in *AlertPolicy) DeepCopy() *AlertPolicy

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

func (*AlertPolicy) DeepCopyInto

func (in *AlertPolicy) DeepCopyInto(out *AlertPolicy)

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

func (*AlertPolicy) DeepCopyObject

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

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

func (*AlertPolicy) GetCondition

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

GetCondition of this AlertPolicy.

func (*AlertPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AlertPolicy

func (*AlertPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this AlertPolicy.

func (*AlertPolicy) GetID

func (tr *AlertPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this AlertPolicy

func (*AlertPolicy) GetObservation

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

GetObservation of this AlertPolicy

func (*AlertPolicy) GetParameters

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

GetParameters of this AlertPolicy

func (*AlertPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this AlertPolicy.

func (*AlertPolicy) GetProviderReference

func (mg *AlertPolicy) GetProviderReference() *xpv1.Reference

GetProviderReference of this AlertPolicy. Deprecated: Use GetProviderConfigReference.

func (*AlertPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AlertPolicy.

func (*AlertPolicy) GetTerraformResourceType

func (mg *AlertPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AlertPolicy

func (*AlertPolicy) GetTerraformSchemaVersion

func (tr *AlertPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AlertPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AlertPolicy.

func (*AlertPolicy) LateInitialize

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

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

func (*AlertPolicy) SetConditions

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

SetConditions of this AlertPolicy.

func (*AlertPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this AlertPolicy.

func (*AlertPolicy) SetObservation

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

SetObservation for this AlertPolicy

func (*AlertPolicy) SetParameters

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

SetParameters for this AlertPolicy

func (*AlertPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this AlertPolicy.

func (*AlertPolicy) SetProviderReference

func (mg *AlertPolicy) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this AlertPolicy. Deprecated: Use SetProviderConfigReference.

func (*AlertPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AlertPolicy.

func (*AlertPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AlertPolicy.

type AlertPolicyList

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

AlertPolicyList contains a list of AlertPolicys

func (*AlertPolicyList) DeepCopy

func (in *AlertPolicyList) DeepCopy() *AlertPolicyList

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

func (*AlertPolicyList) DeepCopyInto

func (in *AlertPolicyList) DeepCopyInto(out *AlertPolicyList)

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

func (*AlertPolicyList) DeepCopyObject

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

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

func (*AlertPolicyList) GetItems

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

GetItems of this AlertPolicyList.

type AlertPolicyObservation

type AlertPolicyObservation struct {

	// A list of conditions for the policy. The conditions are combined by
	// AND or OR according to the combiner field. If the combined conditions
	// evaluate to true, then an incident is created. A policy can have from
	// one to six conditions.
	// Structure is documented below.
	// +kubebuilder:validation:Required
	Conditions []ConditionsObservation `json:"conditions,omitempty" tf:"conditions,omitempty"`

	// A read-only record of the creation of the alerting policy.
	// If provided in a call to create or update, this field will
	// be ignored.
	// Structure is documented below.
	CreationRecord []CreationRecordObservation `json:"creationRecord,omitempty" tf:"creation_record,omitempty"`

	// an identifier for the resource with format {{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The unique resource name for this policy.
	// Its syntax is: projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*AlertPolicyObservation) DeepCopy

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

func (*AlertPolicyObservation) DeepCopyInto

func (in *AlertPolicyObservation) DeepCopyInto(out *AlertPolicyObservation)

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

type AlertPolicyParameters

type AlertPolicyParameters struct {

	// Control over how this alert policy's notification channels are notified.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	AlertStrategy []AlertStrategyParameters `json:"alertStrategy,omitempty" tf:"alert_strategy,omitempty"`

	// How to combine the results of multiple conditions to
	// determine if an incident should be opened.
	// Possible values are AND, OR, and AND_WITH_MATCHING_RESOURCE.
	// +kubebuilder:validation:Required
	Combiner *string `json:"combiner" tf:"combiner,omitempty"`

	// A list of conditions for the policy. The conditions are combined by
	// AND or OR according to the combiner field. If the combined conditions
	// evaluate to true, then an incident is created. A policy can have from
	// one to six conditions.
	// Structure is documented below.
	// +kubebuilder:validation:Required
	Conditions []ConditionsParameters `json:"conditions" tf:"conditions,omitempty"`

	// A short name or phrase used to identify the policy in
	// dashboards, notifications, and incidents. To avoid confusion, don't use
	// the same display name for multiple policies in the same project. The
	// name is limited to 512 Unicode characters.
	// +kubebuilder:validation:Required
	DisplayName *string `json:"displayName" tf:"display_name,omitempty"`

	// Documentation that is included with notifications and incidents related
	// to this policy. Best practice is for the documentation to include information
	// to help responders understand, mitigate, escalate, and correct the underlying
	// problems detected by the alerting policy. Notification channels that have
	// limited capacity might not show this documentation.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Documentation []DocumentationParameters `json:"documentation,omitempty" tf:"documentation,omitempty"`

	// Whether or not the policy is enabled. The default is true.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Identifies the notification channels to which notifications should be
	// sent when incidents are opened or closed or when new violations occur
	// on an already opened incident. Each element of this array corresponds
	// to the name field in each of the NotificationChannel objects that are
	// returned from the notificationChannels.list method. The syntax of the
	// entries in this field is
	// projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
	// +kubebuilder:validation:Optional
	NotificationChannels []*string `json:"notificationChannels,omitempty" tf:"notification_channels,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// This field is intended to be used for organizing and identifying the AlertPolicy
	// objects.The field can contain up to 64 entries. Each key and value is limited
	// to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values
	// can contain only lowercase letters, numerals, underscores, and dashes. Keys
	// must begin with a letter.
	// +kubebuilder:validation:Optional
	UserLabels map[string]*string `json:"userLabels,omitempty" tf:"user_labels,omitempty"`
}

func (*AlertPolicyParameters) DeepCopy

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

func (*AlertPolicyParameters) DeepCopyInto

func (in *AlertPolicyParameters) DeepCopyInto(out *AlertPolicyParameters)

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

type AlertPolicySpec

type AlertPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AlertPolicyParameters `json:"forProvider"`
}

AlertPolicySpec defines the desired state of AlertPolicy

func (*AlertPolicySpec) DeepCopy

func (in *AlertPolicySpec) DeepCopy() *AlertPolicySpec

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

func (*AlertPolicySpec) DeepCopyInto

func (in *AlertPolicySpec) DeepCopyInto(out *AlertPolicySpec)

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

type AlertPolicyStatus

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

AlertPolicyStatus defines the observed state of AlertPolicy.

func (*AlertPolicyStatus) DeepCopy

func (in *AlertPolicyStatus) DeepCopy() *AlertPolicyStatus

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

func (*AlertPolicyStatus) DeepCopyInto

func (in *AlertPolicyStatus) DeepCopyInto(out *AlertPolicyStatus)

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

type AlertStrategyObservation

type AlertStrategyObservation struct {
}

func (*AlertStrategyObservation) DeepCopy

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

func (*AlertStrategyObservation) DeepCopyInto

func (in *AlertStrategyObservation) DeepCopyInto(out *AlertStrategyObservation)

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

type AlertStrategyParameters

type AlertStrategyParameters struct {

	// If an alert policy that was active has no data for this long, any open incidents will close.
	// +kubebuilder:validation:Optional
	AutoClose *string `json:"autoClose,omitempty" tf:"auto_close,omitempty"`

	// Required for alert policies with a LogMatch condition.
	// This limit is not implemented for alert policies that are not log-based.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	NotificationRateLimit []NotificationRateLimitParameters `json:"notificationRateLimit,omitempty" tf:"notification_rate_limit,omitempty"`
}

func (*AlertStrategyParameters) DeepCopy

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

func (*AlertStrategyParameters) DeepCopyInto

func (in *AlertStrategyParameters) DeepCopyInto(out *AlertStrategyParameters)

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

type AuthInfoObservation

type AuthInfoObservation struct {
}

func (*AuthInfoObservation) DeepCopy

func (in *AuthInfoObservation) DeepCopy() *AuthInfoObservation

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

func (*AuthInfoObservation) DeepCopyInto

func (in *AuthInfoObservation) DeepCopyInto(out *AuthInfoObservation)

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

type AuthInfoParameters

type AuthInfoParameters struct {

	// The password to authenticate.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// The username to authenticate.
	// +kubebuilder:validation:Required
	Username *string `json:"username" tf:"username,omitempty"`
}

func (*AuthInfoParameters) DeepCopy

func (in *AuthInfoParameters) DeepCopy() *AuthInfoParameters

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

func (*AuthInfoParameters) DeepCopyInto

func (in *AuthInfoParameters) DeepCopyInto(out *AuthInfoParameters)

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

type ConditionAbsentObservation

type ConditionAbsentObservation struct {
}

func (*ConditionAbsentObservation) DeepCopy

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

func (*ConditionAbsentObservation) DeepCopyInto

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

type ConditionAbsentParameters

type ConditionAbsentParameters struct {

	// Specifies the alignment of data points in
	// individual time series as well as how to
	// combine the retrieved time series together
	// (such as when aggregating multiple streams
	// on each resource to a single stream for each
	// resource or when aggregating streams across
	// all members of a group of resources).
	// Multiple aggregations are applied in the
	// order specified.This field is similar to the
	// one in the MetricService.ListTimeSeries
	// request. It is advisable to use the
	// ListTimeSeries method when debugging this
	// field.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Aggregations []AggregationsParameters `json:"aggregations,omitempty" tf:"aggregations,omitempty"`

	// The amount of time that a time series must
	// violate the threshold to be considered
	// failing. Currently, only values that are a
	// multiple of a minute--e.g., 0, 60, 120, or
	// 300 seconds--are supported. If an invalid
	// value is given, an error will be returned.
	// When choosing a duration, it is useful to
	// keep in mind the frequency of the underlying
	// time series data (which may also be affected
	// by any alignments specified in the
	// aggregations field); a good duration is long
	// enough so that a single outlier does not
	// generate spurious alerts, but short enough
	// that unhealthy states are detected and
	// alerted on quickly.
	// +kubebuilder:validation:Required
	Duration *string `json:"duration" tf:"duration,omitempty"`

	// A filter that identifies which time series
	// should be compared with the threshold.The
	// filter is similar to the one that is
	// specified in the
	// MetricService.ListTimeSeries request (that
	// call is useful to verify the time series
	// that will be retrieved / processed) and must
	// specify the metric type and optionally may
	// contain restrictions on resource type,
	// resource labels, and metric labels. This
	// field may not exceed 2048 Unicode characters
	// in length.
	// +kubebuilder:validation:Optional
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// The number/percent of time series for which
	// the comparison must hold in order for the
	// condition to trigger. If unspecified, then
	// the condition will trigger if the comparison
	// is true for any of the time series that have
	// been identified by filter and aggregations,
	// or by the ratio, if denominator_filter and
	// denominator_aggregations are specified.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Trigger []TriggerParameters `json:"trigger,omitempty" tf:"trigger,omitempty"`
}

func (*ConditionAbsentParameters) DeepCopy

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

func (*ConditionAbsentParameters) DeepCopyInto

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

type ConditionMatchedLogObservation

type ConditionMatchedLogObservation struct {
}

func (*ConditionMatchedLogObservation) DeepCopy

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

func (*ConditionMatchedLogObservation) DeepCopyInto

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

type ConditionMatchedLogParameters

type ConditionMatchedLogParameters struct {

	// A filter that identifies which time series
	// should be compared with the threshold.The
	// filter is similar to the one that is
	// specified in the
	// MetricService.ListTimeSeries request (that
	// call is useful to verify the time series
	// that will be retrieved / processed) and must
	// specify the metric type and optionally may
	// contain restrictions on resource type,
	// resource labels, and metric labels. This
	// field may not exceed 2048 Unicode characters
	// in length.
	// +kubebuilder:validation:Required
	Filter *string `json:"filter" tf:"filter,omitempty"`

	// A map from a label key to an extractor expression, which is used to
	// extract the value for this label key. Each entry in this map is
	// a specification for how data should be extracted from log entries that
	// match filter. Each combination of extracted values is treated as
	// a separate rule for the purposes of triggering notifications.
	// Label keys and corresponding values can be used in notifications
	// generated by this condition.
	// +kubebuilder:validation:Optional
	LabelExtractors map[string]*string `json:"labelExtractors,omitempty" tf:"label_extractors,omitempty"`
}

func (*ConditionMatchedLogParameters) DeepCopy

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

func (*ConditionMatchedLogParameters) DeepCopyInto

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

type ConditionMonitoringQueryLanguageObservation

type ConditionMonitoringQueryLanguageObservation struct {
}

func (*ConditionMonitoringQueryLanguageObservation) DeepCopy

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

func (*ConditionMonitoringQueryLanguageObservation) DeepCopyInto

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

type ConditionMonitoringQueryLanguageParameters

type ConditionMonitoringQueryLanguageParameters struct {

	// The amount of time that a time series must
	// violate the threshold to be considered
	// failing. Currently, only values that are a
	// multiple of a minute--e.g., 0, 60, 120, or
	// 300 seconds--are supported. If an invalid
	// value is given, an error will be returned.
	// When choosing a duration, it is useful to
	// keep in mind the frequency of the underlying
	// time series data (which may also be affected
	// by any alignments specified in the
	// aggregations field); a good duration is long
	// enough so that a single outlier does not
	// generate spurious alerts, but short enough
	// that unhealthy states are detected and
	// alerted on quickly.
	// +kubebuilder:validation:Required
	Duration *string `json:"duration" tf:"duration,omitempty"`

	// Monitoring Query Language query that outputs a boolean stream.
	// +kubebuilder:validation:Required
	Query *string `json:"query" tf:"query,omitempty"`

	// The number/percent of time series for which
	// the comparison must hold in order for the
	// condition to trigger. If unspecified, then
	// the condition will trigger if the comparison
	// is true for any of the time series that have
	// been identified by filter and aggregations,
	// or by the ratio, if denominator_filter and
	// denominator_aggregations are specified.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Trigger []ConditionMonitoringQueryLanguageTriggerParameters `json:"trigger,omitempty" tf:"trigger,omitempty"`
}

func (*ConditionMonitoringQueryLanguageParameters) DeepCopy

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

func (*ConditionMonitoringQueryLanguageParameters) DeepCopyInto

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

type ConditionMonitoringQueryLanguageTriggerObservation

type ConditionMonitoringQueryLanguageTriggerObservation struct {
}

func (*ConditionMonitoringQueryLanguageTriggerObservation) DeepCopy

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

func (*ConditionMonitoringQueryLanguageTriggerObservation) DeepCopyInto

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

type ConditionMonitoringQueryLanguageTriggerParameters

type ConditionMonitoringQueryLanguageTriggerParameters struct {

	// The absolute number of time series
	// that must fail the predicate for the
	// condition to be triggered.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// The percentage of time series that
	// must fail the predicate for the
	// condition to be triggered.
	// +kubebuilder:validation:Optional
	Percent *float64 `json:"percent,omitempty" tf:"percent,omitempty"`
}

func (*ConditionMonitoringQueryLanguageTriggerParameters) DeepCopy

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

func (*ConditionMonitoringQueryLanguageTriggerParameters) DeepCopyInto

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

type ConditionThresholdAggregationsObservation

type ConditionThresholdAggregationsObservation struct {
}

func (*ConditionThresholdAggregationsObservation) DeepCopy

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

func (*ConditionThresholdAggregationsObservation) DeepCopyInto

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

type ConditionThresholdAggregationsParameters

type ConditionThresholdAggregationsParameters struct {

	// The alignment period for per-time
	// series alignment. If present,
	// alignmentPeriod must be at least
	// 60 seconds. After per-time series
	// alignment, each time series will
	// contain data points only on the
	// period boundaries. If
	// perSeriesAligner is not specified
	// or equals ALIGN_NONE, then this
	// field is ignored. If
	// perSeriesAligner is specified and
	// does not equal ALIGN_NONE, then
	// this field must be defined;
	// otherwise an error is returned.
	// +kubebuilder:validation:Optional
	AlignmentPeriod *string `json:"alignmentPeriod,omitempty" tf:"alignment_period,omitempty"`

	// The approach to be used to combine
	// time series. Not all reducer
	// functions may be applied to all
	// time series, depending on the
	// metric type and the value type of
	// the original time series.
	// Reduction may change the metric
	// type of value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50, and REDUCE_PERCENTILE_05.
	// +kubebuilder:validation:Optional
	CrossSeriesReducer *string `json:"crossSeriesReducer,omitempty" tf:"cross_series_reducer,omitempty"`

	// The set of fields to preserve when
	// crossSeriesReducer is specified.
	// The groupByFields determine how
	// the time series are partitioned
	// into subsets prior to applying the
	// aggregation function. Each subset
	// contains time series that have the
	// same value for each of the
	// grouping fields. Each individual
	// time series is a member of exactly
	// one subset. The crossSeriesReducer
	// is applied to each subset of time
	// series. It is not possible to
	// reduce across different resource
	// types, so this field implicitly
	// contains resource.type. Fields not
	// specified in groupByFields are
	// aggregated away. If groupByFields
	// is not specified and all the time
	// series have the same resource
	// type, then the time series are
	// aggregated into a single output
	// time series. If crossSeriesReducer
	// is not defined, this field is
	// ignored.
	// +kubebuilder:validation:Optional
	GroupByFields []*string `json:"groupByFields,omitempty" tf:"group_by_fields,omitempty"`

	// The approach to be used to align
	// individual time series. Not all
	// alignment functions may be applied
	// to all time series, depending on
	// the metric type and value type of
	// the original time series.
	// Alignment may change the metric
	// type or the value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are ALIGN_NONE, ALIGN_DELTA, ALIGN_RATE, ALIGN_INTERPOLATE, ALIGN_NEXT_OLDER, ALIGN_MIN, ALIGN_MAX, ALIGN_MEAN, ALIGN_COUNT, ALIGN_SUM, ALIGN_STDDEV, ALIGN_COUNT_TRUE, ALIGN_COUNT_FALSE, ALIGN_FRACTION_TRUE, ALIGN_PERCENTILE_99, ALIGN_PERCENTILE_95, ALIGN_PERCENTILE_50, ALIGN_PERCENTILE_05, and ALIGN_PERCENT_CHANGE.
	// +kubebuilder:validation:Optional
	PerSeriesAligner *string `json:"perSeriesAligner,omitempty" tf:"per_series_aligner,omitempty"`
}

func (*ConditionThresholdAggregationsParameters) DeepCopy

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

func (*ConditionThresholdAggregationsParameters) DeepCopyInto

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

type ConditionThresholdObservation

type ConditionThresholdObservation struct {
}

func (*ConditionThresholdObservation) DeepCopy

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

func (*ConditionThresholdObservation) DeepCopyInto

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

type ConditionThresholdParameters

type ConditionThresholdParameters struct {

	// Specifies the alignment of data points in
	// individual time series as well as how to
	// combine the retrieved time series together
	// (such as when aggregating multiple streams
	// on each resource to a single stream for each
	// resource or when aggregating streams across
	// all members of a group of resources).
	// Multiple aggregations are applied in the
	// order specified.This field is similar to the
	// one in the MetricService.ListTimeSeries
	// request. It is advisable to use the
	// ListTimeSeries method when debugging this
	// field.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Aggregations []ConditionThresholdAggregationsParameters `json:"aggregations,omitempty" tf:"aggregations,omitempty"`

	// The comparison to apply between the time
	// series (indicated by filter and aggregation)
	// and the threshold (indicated by
	// threshold_value). The comparison is applied
	// on each time series, with the time series on
	// the left-hand side and the threshold on the
	// right-hand side. Only COMPARISON_LT and
	// COMPARISON_GT are supported currently.
	// Possible values are COMPARISON_GT, COMPARISON_GE, COMPARISON_LT, COMPARISON_LE, COMPARISON_EQ, and COMPARISON_NE.
	// +kubebuilder:validation:Required
	Comparison *string `json:"comparison" tf:"comparison,omitempty"`

	// Specifies the alignment of data points in
	// individual time series selected by
	// denominatorFilter as well as how to combine
	// the retrieved time series together (such as
	// when aggregating multiple streams on each
	// resource to a single stream for each
	// resource or when aggregating streams across
	// all members of a group of resources).When
	// computing ratios, the aggregations and
	// denominator_aggregations fields must use the
	// same alignment period and produce time
	// series that have the same periodicity and
	// labels.This field is similar to the one in
	// the MetricService.ListTimeSeries request. It
	// is advisable to use the ListTimeSeries
	// method when debugging this field.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	DenominatorAggregations []DenominatorAggregationsParameters `json:"denominatorAggregations,omitempty" tf:"denominator_aggregations,omitempty"`

	// A filter that identifies a time series that
	// should be used as the denominator of a ratio
	// that will be compared with the threshold. If
	// a denominator_filter is specified, the time
	// series specified by the filter field will be
	// used as the numerator.The filter is similar
	// to the one that is specified in the
	// MetricService.ListTimeSeries request (that
	// call is useful to verify the time series
	// that will be retrieved / processed) and must
	// specify the metric type and optionally may
	// contain restrictions on resource type,
	// resource labels, and metric labels. This
	// field may not exceed 2048 Unicode characters
	// in length.
	// +kubebuilder:validation:Optional
	DenominatorFilter *string `json:"denominatorFilter,omitempty" tf:"denominator_filter,omitempty"`

	// The amount of time that a time series must
	// violate the threshold to be considered
	// failing. Currently, only values that are a
	// multiple of a minute--e.g., 0, 60, 120, or
	// 300 seconds--are supported. If an invalid
	// value is given, an error will be returned.
	// When choosing a duration, it is useful to
	// keep in mind the frequency of the underlying
	// time series data (which may also be affected
	// by any alignments specified in the
	// aggregations field); a good duration is long
	// enough so that a single outlier does not
	// generate spurious alerts, but short enough
	// that unhealthy states are detected and
	// alerted on quickly.
	// +kubebuilder:validation:Required
	Duration *string `json:"duration" tf:"duration,omitempty"`

	// A filter that identifies which time series
	// should be compared with the threshold.The
	// filter is similar to the one that is
	// specified in the
	// MetricService.ListTimeSeries request (that
	// call is useful to verify the time series
	// that will be retrieved / processed) and must
	// specify the metric type and optionally may
	// contain restrictions on resource type,
	// resource labels, and metric labels. This
	// field may not exceed 2048 Unicode characters
	// in length.
	// +kubebuilder:validation:Optional
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// A value against which to compare the time
	// series.
	// +kubebuilder:validation:Optional
	ThresholdValue *float64 `json:"thresholdValue,omitempty" tf:"threshold_value,omitempty"`

	// The number/percent of time series for which
	// the comparison must hold in order for the
	// condition to trigger. If unspecified, then
	// the condition will trigger if the comparison
	// is true for any of the time series that have
	// been identified by filter and aggregations,
	// or by the ratio, if denominator_filter and
	// denominator_aggregations are specified.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Trigger []ConditionThresholdTriggerParameters `json:"trigger,omitempty" tf:"trigger,omitempty"`
}

func (*ConditionThresholdParameters) DeepCopy

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

func (*ConditionThresholdParameters) DeepCopyInto

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

type ConditionThresholdTriggerObservation

type ConditionThresholdTriggerObservation struct {
}

func (*ConditionThresholdTriggerObservation) DeepCopy

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

func (*ConditionThresholdTriggerObservation) DeepCopyInto

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

type ConditionThresholdTriggerParameters

type ConditionThresholdTriggerParameters struct {

	// The absolute number of time series
	// that must fail the predicate for the
	// condition to be triggered.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// The percentage of time series that
	// must fail the predicate for the
	// condition to be triggered.
	// +kubebuilder:validation:Optional
	Percent *float64 `json:"percent,omitempty" tf:"percent,omitempty"`
}

func (*ConditionThresholdTriggerParameters) DeepCopy

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

func (*ConditionThresholdTriggerParameters) DeepCopyInto

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

type ConditionsObservation

type ConditionsObservation struct {

	// The unique resource name for this condition.
	// Its syntax is:
	// projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
	// [CONDITION_ID] is assigned by Stackdriver Monitoring when
	// the condition is created as part of a new or updated alerting
	// policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ConditionsObservation) DeepCopy

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

func (*ConditionsObservation) DeepCopyInto

func (in *ConditionsObservation) DeepCopyInto(out *ConditionsObservation)

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

type ConditionsParameters

type ConditionsParameters struct {

	// A condition that checks that a time series
	// continues to receive new data points.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ConditionAbsent []ConditionAbsentParameters `json:"conditionAbsent,omitempty" tf:"condition_absent,omitempty"`

	// A condition that checks for log messages matching given constraints.
	// If set, no other conditions can be present.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ConditionMatchedLog []ConditionMatchedLogParameters `json:"conditionMatchedLog,omitempty" tf:"condition_matched_log,omitempty"`

	// A Monitoring Query Language query that outputs a boolean stream
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ConditionMonitoringQueryLanguage []ConditionMonitoringQueryLanguageParameters `json:"conditionMonitoringQueryLanguage,omitempty" tf:"condition_monitoring_query_language,omitempty"`

	// A condition that compares a time series against a
	// threshold.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ConditionThreshold []ConditionThresholdParameters `json:"conditionThreshold,omitempty" tf:"condition_threshold,omitempty"`

	// A short name or phrase used to identify the
	// condition in dashboards, notifications, and
	// incidents. To avoid confusion, don't use the same
	// display name for multiple conditions in the same
	// policy.
	// +kubebuilder:validation:Required
	DisplayName *string `json:"displayName" tf:"display_name,omitempty"`
}

func (*ConditionsParameters) DeepCopy

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

func (*ConditionsParameters) DeepCopyInto

func (in *ConditionsParameters) DeepCopyInto(out *ConditionsParameters)

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

type ContentMatchersObservation

type ContentMatchersObservation struct {
}

func (*ContentMatchersObservation) DeepCopy

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

func (*ContentMatchersObservation) DeepCopyInto

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

type ContentMatchersParameters

type ContentMatchersParameters struct {

	// String or regex content to match (max 1024 bytes)
	// +kubebuilder:validation:Required
	Content *string `json:"content" tf:"content,omitempty"`

	// The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
	// Default value is CONTAINS_STRING.
	// Possible values are CONTAINS_STRING, NOT_CONTAINS_STRING, MATCHES_REGEX, and NOT_MATCHES_REGEX.
	// +kubebuilder:validation:Optional
	Matcher *string `json:"matcher,omitempty" tf:"matcher,omitempty"`
}

func (*ContentMatchersParameters) DeepCopy

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

func (*ContentMatchersParameters) DeepCopyInto

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

type CreationRecordObservation

type CreationRecordObservation struct {

	// When the change occurred.
	MutateTime *string `json:"mutateTime,omitempty" tf:"mutate_time,omitempty"`

	// The email address of the user making the change.
	MutatedBy *string `json:"mutatedBy,omitempty" tf:"mutated_by,omitempty"`
}

func (*CreationRecordObservation) DeepCopy

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

func (*CreationRecordObservation) DeepCopyInto

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

type CreationRecordParameters

type CreationRecordParameters struct {
}

func (*CreationRecordParameters) DeepCopy

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

func (*CreationRecordParameters) DeepCopyInto

func (in *CreationRecordParameters) DeepCopyInto(out *CreationRecordParameters)

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

type DenominatorAggregationsObservation

type DenominatorAggregationsObservation struct {
}

func (*DenominatorAggregationsObservation) DeepCopy

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

func (*DenominatorAggregationsObservation) DeepCopyInto

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

type DenominatorAggregationsParameters

type DenominatorAggregationsParameters struct {

	// The alignment period for per-time
	// series alignment. If present,
	// alignmentPeriod must be at least
	// 60 seconds. After per-time series
	// alignment, each time series will
	// contain data points only on the
	// period boundaries. If
	// perSeriesAligner is not specified
	// or equals ALIGN_NONE, then this
	// field is ignored. If
	// perSeriesAligner is specified and
	// does not equal ALIGN_NONE, then
	// this field must be defined;
	// otherwise an error is returned.
	// +kubebuilder:validation:Optional
	AlignmentPeriod *string `json:"alignmentPeriod,omitempty" tf:"alignment_period,omitempty"`

	// The approach to be used to combine
	// time series. Not all reducer
	// functions may be applied to all
	// time series, depending on the
	// metric type and the value type of
	// the original time series.
	// Reduction may change the metric
	// type of value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50, and REDUCE_PERCENTILE_05.
	// +kubebuilder:validation:Optional
	CrossSeriesReducer *string `json:"crossSeriesReducer,omitempty" tf:"cross_series_reducer,omitempty"`

	// The set of fields to preserve when
	// crossSeriesReducer is specified.
	// The groupByFields determine how
	// the time series are partitioned
	// into subsets prior to applying the
	// aggregation function. Each subset
	// contains time series that have the
	// same value for each of the
	// grouping fields. Each individual
	// time series is a member of exactly
	// one subset. The crossSeriesReducer
	// is applied to each subset of time
	// series. It is not possible to
	// reduce across different resource
	// types, so this field implicitly
	// contains resource.type. Fields not
	// specified in groupByFields are
	// aggregated away. If groupByFields
	// is not specified and all the time
	// series have the same resource
	// type, then the time series are
	// aggregated into a single output
	// time series. If crossSeriesReducer
	// is not defined, this field is
	// ignored.
	// +kubebuilder:validation:Optional
	GroupByFields []*string `json:"groupByFields,omitempty" tf:"group_by_fields,omitempty"`

	// The approach to be used to align
	// individual time series. Not all
	// alignment functions may be applied
	// to all time series, depending on
	// the metric type and value type of
	// the original time series.
	// Alignment may change the metric
	// type or the value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are ALIGN_NONE, ALIGN_DELTA, ALIGN_RATE, ALIGN_INTERPOLATE, ALIGN_NEXT_OLDER, ALIGN_MIN, ALIGN_MAX, ALIGN_MEAN, ALIGN_COUNT, ALIGN_SUM, ALIGN_STDDEV, ALIGN_COUNT_TRUE, ALIGN_COUNT_FALSE, ALIGN_FRACTION_TRUE, ALIGN_PERCENTILE_99, ALIGN_PERCENTILE_95, ALIGN_PERCENTILE_50, ALIGN_PERCENTILE_05, and ALIGN_PERCENT_CHANGE.
	// +kubebuilder:validation:Optional
	PerSeriesAligner *string `json:"perSeriesAligner,omitempty" tf:"per_series_aligner,omitempty"`
}

func (*DenominatorAggregationsParameters) DeepCopy

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

func (*DenominatorAggregationsParameters) DeepCopyInto

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

type DocumentationObservation

type DocumentationObservation struct {
}

func (*DocumentationObservation) DeepCopy

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

func (*DocumentationObservation) DeepCopyInto

func (in *DocumentationObservation) DeepCopyInto(out *DocumentationObservation)

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

type DocumentationParameters

type DocumentationParameters struct {

	// The text of the documentation, interpreted according to mimeType.
	// The content may not exceed 8,192 Unicode characters and may not
	// exceed more than 10,240 bytes when encoded in UTF-8 format,
	// whichever is smaller.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// The format of the content field. Presently, only the value
	// "text/markdown" is supported.
	// +kubebuilder:validation:Optional
	MimeType *string `json:"mimeType,omitempty" tf:"mime_type,omitempty"`
}

func (*DocumentationParameters) DeepCopy

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

func (*DocumentationParameters) DeepCopyInto

func (in *DocumentationParameters) DeepCopyInto(out *DocumentationParameters)

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

type HTTPCheckObservation

type HTTPCheckObservation struct {
}

func (*HTTPCheckObservation) DeepCopy

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

func (*HTTPCheckObservation) DeepCopyInto

func (in *HTTPCheckObservation) DeepCopyInto(out *HTTPCheckObservation)

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

type HTTPCheckParameters

type HTTPCheckParameters struct {

	// The authentication information. Optional when creating an HTTP check; defaults to empty.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	AuthInfo []AuthInfoParameters `json:"authInfo,omitempty" tf:"auth_info,omitempty"`

	// The request body associated with the HTTP POST request. If contentType is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the requestMethod is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. "foo=bar" in URL-encoded form is "foo%3Dbar" and in base64 encoding is "Zm9vJTI1M0RiYXI=".
	// +kubebuilder:validation:Optional
	Body *string `json:"body,omitempty" tf:"body,omitempty"`

	// The content type to use for the check.
	// Possible values are TYPE_UNSPECIFIED and URL_ENCODED.
	// +kubebuilder:validation:Optional
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// The list of headers to send as part of the uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
	// +kubebuilder:validation:Optional
	Headers map[string]*string `json:"headers,omitempty" tf:"headers,omitempty"`

	// Boolean specifying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if mask_headers is set to True then the headers will be obscured with ******.
	// +kubebuilder:validation:Optional
	MaskHeaders *bool `json:"maskHeaders,omitempty" tf:"mask_headers,omitempty"`

	// The path to the page to run the check against. Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically. Optional (defaults to "/").
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) and path to construct the full URL. Optional (defaults to 80 without SSL, or 443 with SSL).
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then requestMethod defaults to GET.
	// Default value is GET.
	// Possible values are METHOD_UNSPECIFIED, GET, and POST.
	// +kubebuilder:validation:Optional
	RequestMethod *string `json:"requestMethod,omitempty" tf:"request_method,omitempty"`

	// If true, use HTTPS instead of HTTP to run the check.
	// +kubebuilder:validation:Optional
	UseSSL *bool `json:"useSsl,omitempty" tf:"use_ssl,omitempty"`

	// Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitoredResource is set to uptime_url. If useSsl is false, setting validateSsl to true has no effect.
	// +kubebuilder:validation:Optional
	ValidateSSL *bool `json:"validateSsl,omitempty" tf:"validate_ssl,omitempty"`
}

func (*HTTPCheckParameters) DeepCopy

func (in *HTTPCheckParameters) DeepCopy() *HTTPCheckParameters

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

func (*HTTPCheckParameters) DeepCopyInto

func (in *HTTPCheckParameters) DeepCopyInto(out *HTTPCheckParameters)

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

type MonitoredResourceObservation

type MonitoredResourceObservation struct {
}

func (*MonitoredResourceObservation) DeepCopy

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

func (*MonitoredResourceObservation) DeepCopyInto

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

type MonitoredResourceParameters

type MonitoredResourceParameters struct {

	// Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
	// +kubebuilder:validation:Required
	Labels map[string]*string `json:"labels" tf:"labels,omitempty"`

	// The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.monitoredResourceDescriptors#MonitoredResourceDescriptor) object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*MonitoredResourceParameters) DeepCopy

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

func (*MonitoredResourceParameters) DeepCopyInto

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

type NotificationChannel

type NotificationChannel struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NotificationChannelSpec   `json:"spec"`
	Status            NotificationChannelStatus `json:"status,omitempty"`
}

NotificationChannel is the Schema for the NotificationChannels API. A NotificationChannel is a medium through which an alert is delivered when a policy violation is detected. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*NotificationChannel) DeepCopy

func (in *NotificationChannel) DeepCopy() *NotificationChannel

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

func (*NotificationChannel) DeepCopyInto

func (in *NotificationChannel) DeepCopyInto(out *NotificationChannel)

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

func (*NotificationChannel) DeepCopyObject

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

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

func (*NotificationChannel) GetCondition

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

GetCondition of this NotificationChannel.

func (*NotificationChannel) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NotificationChannel

func (*NotificationChannel) GetDeletionPolicy

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

GetDeletionPolicy of this NotificationChannel.

func (*NotificationChannel) GetID

func (tr *NotificationChannel) GetID() string

GetID returns ID of underlying Terraform resource of this NotificationChannel

func (*NotificationChannel) GetObservation

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

GetObservation of this NotificationChannel

func (*NotificationChannel) GetParameters

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

GetParameters of this NotificationChannel

func (*NotificationChannel) GetProviderConfigReference

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

GetProviderConfigReference of this NotificationChannel.

func (*NotificationChannel) GetProviderReference

func (mg *NotificationChannel) GetProviderReference() *xpv1.Reference

GetProviderReference of this NotificationChannel. Deprecated: Use GetProviderConfigReference.

func (*NotificationChannel) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this NotificationChannel.

func (*NotificationChannel) GetTerraformResourceType

func (mg *NotificationChannel) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NotificationChannel

func (*NotificationChannel) GetTerraformSchemaVersion

func (tr *NotificationChannel) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NotificationChannel) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NotificationChannel.

func (*NotificationChannel) LateInitialize

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

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

func (*NotificationChannel) SetConditions

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

SetConditions of this NotificationChannel.

func (*NotificationChannel) SetDeletionPolicy

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

SetDeletionPolicy of this NotificationChannel.

func (*NotificationChannel) SetObservation

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

SetObservation for this NotificationChannel

func (*NotificationChannel) SetParameters

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

SetParameters for this NotificationChannel

func (*NotificationChannel) SetProviderConfigReference

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

SetProviderConfigReference of this NotificationChannel.

func (*NotificationChannel) SetProviderReference

func (mg *NotificationChannel) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this NotificationChannel. Deprecated: Use SetProviderConfigReference.

func (*NotificationChannel) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this NotificationChannel.

func (*NotificationChannel) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NotificationChannel.

type NotificationChannelList

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

NotificationChannelList contains a list of NotificationChannels

func (*NotificationChannelList) DeepCopy

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

func (*NotificationChannelList) DeepCopyInto

func (in *NotificationChannelList) DeepCopyInto(out *NotificationChannelList)

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

func (*NotificationChannelList) DeepCopyObject

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

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

func (*NotificationChannelList) GetItems

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

GetItems of this NotificationChannelList.

type NotificationChannelObservation

type NotificationChannelObservation struct {

	// an identifier for the resource with format {{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The full REST resource name for this channel. The syntax is:
	// projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
	// The [CHANNEL_ID] is automatically assigned by the server on creation.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Indicates whether this channel has been verified or not. On a ListNotificationChannels or GetNotificationChannel operation, this field is expected to be populated.If the value is UNVERIFIED, then it indicates that the channel is non-functioning (it both requires verification and lacks verification); otherwise, it is assumed that the channel works.If the channel is neither VERIFIED nor UNVERIFIED, it implies that the channel is of a type that does not require verification or that this specific channel has been exempted from verification because it was created prior to verification being required for channels of this type.This field cannot be modified using a standard UpdateNotificationChannel operation. To change the value of this field, you must call VerifyNotificationChannel.
	VerificationStatus *string `json:"verificationStatus,omitempty" tf:"verification_status,omitempty"`
}

func (*NotificationChannelObservation) DeepCopy

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

func (*NotificationChannelObservation) DeepCopyInto

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

type NotificationChannelParameters

type NotificationChannelParameters struct {

	// An optional human-readable description of this notification channel. This description may provide additional details, beyond the display name, for the channel. This may not exceed 1024 Unicode characters.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// An optional human-readable name for this notification channel. It is recommended that you specify a non-empty and unique name in order to make it easier to identify the channels in your project, though this is not enforced. The display name is limited to 512 Unicode characters.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Whether notifications are forwarded to the described channel. This makes it possible to disable delivery of notifications to a particular channel without removing the channel from all alerting policies that reference the channel. This is a more convenient approach when the change is temporary and you want to receive notifications from the same set of alerting policies on the channel at some point in the future.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Configuration fields that define the channel and its behavior. The
	// permissible and required labels are specified in the
	// NotificationChannelDescriptor corresponding to the type field. They can also be configured via
	// the sensitive_labels block, but cannot be configured in both places.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Different notification type behaviors are configured primarily using the the labels field on this
	// resource. This block contains the labels which contain secrets or passwords so that they can be marked
	// sensitive and hidden from plan output. The name of the field, eg: password, will be the key
	// in the labels map in the api request.
	// Credentials may not be specified in both locations and will cause an error. Changing from one location
	// to a different credential configuration in the config will require an apply to update state.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	SensitiveLabels []SensitiveLabelsParameters `json:"sensitiveLabels,omitempty" tf:"sensitive_labels,omitempty"`

	// The type of the notification channel. This field matches the value of the NotificationChannelDescriptor.type field. See https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannelDescriptors/list to get the list of valid values such as "email", "slack", etc...
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field. This field is intended to be used for organizing and identifying the NotificationChannel objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
	// +kubebuilder:validation:Optional
	UserLabels map[string]*string `json:"userLabels,omitempty" tf:"user_labels,omitempty"`
}

func (*NotificationChannelParameters) DeepCopy

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

func (*NotificationChannelParameters) DeepCopyInto

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

type NotificationChannelSpec

type NotificationChannelSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NotificationChannelParameters `json:"forProvider"`
}

NotificationChannelSpec defines the desired state of NotificationChannel

func (*NotificationChannelSpec) DeepCopy

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

func (*NotificationChannelSpec) DeepCopyInto

func (in *NotificationChannelSpec) DeepCopyInto(out *NotificationChannelSpec)

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

type NotificationChannelStatus

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

NotificationChannelStatus defines the observed state of NotificationChannel.

func (*NotificationChannelStatus) DeepCopy

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

func (*NotificationChannelStatus) DeepCopyInto

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

type NotificationRateLimitObservation

type NotificationRateLimitObservation struct {
}

func (*NotificationRateLimitObservation) DeepCopy

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

func (*NotificationRateLimitObservation) DeepCopyInto

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

type NotificationRateLimitParameters

type NotificationRateLimitParameters struct {

	// Not more than one notification per period.
	// +kubebuilder:validation:Optional
	Period *string `json:"period,omitempty" tf:"period,omitempty"`
}

func (*NotificationRateLimitParameters) DeepCopy

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

func (*NotificationRateLimitParameters) DeepCopyInto

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

type ResourceGroupObservation

type ResourceGroupObservation struct {
}

func (*ResourceGroupObservation) DeepCopy

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

func (*ResourceGroupObservation) DeepCopyInto

func (in *ResourceGroupObservation) DeepCopyInto(out *ResourceGroupObservation)

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

type ResourceGroupParameters

type ResourceGroupParameters struct {

	// The group of resources being monitored. Should be the name of a group
	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// The resource type of the group members.
	// Possible values are RESOURCE_TYPE_UNSPECIFIED, INSTANCE, and AWS_ELB_LOAD_BALANCER.
	// +kubebuilder:validation:Optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`
}

func (*ResourceGroupParameters) DeepCopy

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

func (*ResourceGroupParameters) DeepCopyInto

func (in *ResourceGroupParameters) DeepCopyInto(out *ResourceGroupParameters)

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

type SensitiveLabelsObservation

type SensitiveLabelsObservation struct {
}

func (*SensitiveLabelsObservation) DeepCopy

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

func (*SensitiveLabelsObservation) DeepCopyInto

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

type SensitiveLabelsParameters

type SensitiveLabelsParameters struct {

	// An authorization token for a notification channel. Channel types that support this field include: slack
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	AuthTokenSecretRef *v1.SecretKeySelector `json:"authTokenSecretRef,omitempty" tf:"-"`

	// An password for a notification channel. Channel types that support this field include: webhook_basicauth
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// An servicekey token for a notification channel. Channel types that support this field include: pagerduty
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	ServiceKeySecretRef *v1.SecretKeySelector `json:"serviceKeySecretRef,omitempty" tf:"-"`
}

func (*SensitiveLabelsParameters) DeepCopy

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

func (*SensitiveLabelsParameters) DeepCopyInto

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

type TCPCheckObservation

type TCPCheckObservation struct {
}

func (*TCPCheckObservation) DeepCopy

func (in *TCPCheckObservation) DeepCopy() *TCPCheckObservation

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

func (*TCPCheckObservation) DeepCopyInto

func (in *TCPCheckObservation) DeepCopyInto(out *TCPCheckObservation)

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

type TCPCheckParameters

type TCPCheckParameters struct {

	// The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) to construct the full URL.
	// +kubebuilder:validation:Required
	Port *float64 `json:"port" tf:"port,omitempty"`
}

func (*TCPCheckParameters) DeepCopy

func (in *TCPCheckParameters) DeepCopy() *TCPCheckParameters

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

func (*TCPCheckParameters) DeepCopyInto

func (in *TCPCheckParameters) DeepCopyInto(out *TCPCheckParameters)

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

type TriggerObservation

type TriggerObservation struct {
}

func (*TriggerObservation) DeepCopy

func (in *TriggerObservation) DeepCopy() *TriggerObservation

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

func (*TriggerObservation) DeepCopyInto

func (in *TriggerObservation) DeepCopyInto(out *TriggerObservation)

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

type TriggerParameters

type TriggerParameters struct {

	// The absolute number of time series
	// that must fail the predicate for the
	// condition to be triggered.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// The percentage of time series that
	// must fail the predicate for the
	// condition to be triggered.
	// +kubebuilder:validation:Optional
	Percent *float64 `json:"percent,omitempty" tf:"percent,omitempty"`
}

func (*TriggerParameters) DeepCopy

func (in *TriggerParameters) DeepCopy() *TriggerParameters

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

func (*TriggerParameters) DeepCopyInto

func (in *TriggerParameters) DeepCopyInto(out *TriggerParameters)

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

type UptimeCheckConfig

type UptimeCheckConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              UptimeCheckConfigSpec   `json:"spec"`
	Status            UptimeCheckConfigStatus `json:"status,omitempty"`
}

UptimeCheckConfig is the Schema for the UptimeCheckConfigs API. This message configures which resources and services to monitor for availability. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*UptimeCheckConfig) DeepCopy

func (in *UptimeCheckConfig) DeepCopy() *UptimeCheckConfig

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

func (*UptimeCheckConfig) DeepCopyInto

func (in *UptimeCheckConfig) DeepCopyInto(out *UptimeCheckConfig)

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

func (*UptimeCheckConfig) DeepCopyObject

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

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

func (*UptimeCheckConfig) GetCondition

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

GetCondition of this UptimeCheckConfig.

func (*UptimeCheckConfig) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this UptimeCheckConfig

func (*UptimeCheckConfig) GetDeletionPolicy

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

GetDeletionPolicy of this UptimeCheckConfig.

func (*UptimeCheckConfig) GetID

func (tr *UptimeCheckConfig) GetID() string

GetID returns ID of underlying Terraform resource of this UptimeCheckConfig

func (*UptimeCheckConfig) GetObservation

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

GetObservation of this UptimeCheckConfig

func (*UptimeCheckConfig) GetParameters

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

GetParameters of this UptimeCheckConfig

func (*UptimeCheckConfig) GetProviderConfigReference

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

GetProviderConfigReference of this UptimeCheckConfig.

func (*UptimeCheckConfig) GetProviderReference

func (mg *UptimeCheckConfig) GetProviderReference() *xpv1.Reference

GetProviderReference of this UptimeCheckConfig. Deprecated: Use GetProviderConfigReference.

func (*UptimeCheckConfig) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this UptimeCheckConfig.

func (*UptimeCheckConfig) GetTerraformResourceType

func (mg *UptimeCheckConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this UptimeCheckConfig

func (*UptimeCheckConfig) GetTerraformSchemaVersion

func (tr *UptimeCheckConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*UptimeCheckConfig) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this UptimeCheckConfig.

func (*UptimeCheckConfig) LateInitialize

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

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

func (*UptimeCheckConfig) SetConditions

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

SetConditions of this UptimeCheckConfig.

func (*UptimeCheckConfig) SetDeletionPolicy

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

SetDeletionPolicy of this UptimeCheckConfig.

func (*UptimeCheckConfig) SetObservation

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

SetObservation for this UptimeCheckConfig

func (*UptimeCheckConfig) SetParameters

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

SetParameters for this UptimeCheckConfig

func (*UptimeCheckConfig) SetProviderConfigReference

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

SetProviderConfigReference of this UptimeCheckConfig.

func (*UptimeCheckConfig) SetProviderReference

func (mg *UptimeCheckConfig) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this UptimeCheckConfig. Deprecated: Use SetProviderConfigReference.

func (*UptimeCheckConfig) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this UptimeCheckConfig.

func (*UptimeCheckConfig) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this UptimeCheckConfig.

type UptimeCheckConfigList

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

UptimeCheckConfigList contains a list of UptimeCheckConfigs

func (*UptimeCheckConfigList) DeepCopy

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

func (*UptimeCheckConfigList) DeepCopyInto

func (in *UptimeCheckConfigList) DeepCopyInto(out *UptimeCheckConfigList)

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

func (*UptimeCheckConfigList) DeepCopyObject

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

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

func (*UptimeCheckConfigList) GetItems

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

GetItems of this UptimeCheckConfigList.

type UptimeCheckConfigObservation

type UptimeCheckConfigObservation struct {

	// an identifier for the resource with format {{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A unique resource name for this UptimeCheckConfig. The format is projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The id of the uptime check
	UptimeCheckID *string `json:"uptimeCheckId,omitempty" tf:"uptime_check_id,omitempty"`
}

func (*UptimeCheckConfigObservation) DeepCopy

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

func (*UptimeCheckConfigObservation) DeepCopyInto

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

type UptimeCheckConfigParameters

type UptimeCheckConfigParameters struct {

	// The checker type to use for the check. If the monitored resource type is servicedirectory_service, checkerType must be set to VPC_CHECKERS.
	// Possible values are STATIC_IP_CHECKERS and VPC_CHECKERS.
	// +kubebuilder:validation:Optional
	CheckerType *string `json:"checkerType,omitempty" tf:"checker_type,omitempty"`

	// The expected content on the page the check is run against. Currently, only the first entry in the list is supported, and other entries will be ignored. The server will look for an exact match of the string in the page response's content. This field is optional and should only be specified if a content match is required.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ContentMatchers []ContentMatchersParameters `json:"contentMatchers,omitempty" tf:"content_matchers,omitempty"`

	// A human-friendly name for the uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced.
	// +kubebuilder:validation:Required
	DisplayName *string `json:"displayName" tf:"display_name,omitempty"`

	// Contains information needed to make an HTTP or HTTPS check.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	HTTPCheck []HTTPCheckParameters `json:"httpCheck,omitempty" tf:"http_check,omitempty"`

	// The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are supported for uptime checks:  uptime_url  gce_instance  gae_app  aws_ec2_instance  aws_elb_load_balancer
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	MonitoredResource []MonitoredResourceParameters `json:"monitoredResource,omitempty" tf:"monitored_resource,omitempty"`

	// How often, in seconds, the uptime check is performed. Currently, the only supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and 900s (15 minutes). Optional, defaults to 300s.
	// +kubebuilder:validation:Optional
	Period *string `json:"period,omitempty" tf:"period,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The group resource associated with the configuration.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ResourceGroup []ResourceGroupParameters `json:"resourceGroup,omitempty" tf:"resource_group,omitempty"`

	// The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions to include a minimum of 3 locations must be provided, or an error message is returned. Not specifying this field will result in uptime checks running from all regions.
	// +kubebuilder:validation:Optional
	SelectedRegions []*string `json:"selectedRegions,omitempty" tf:"selected_regions,omitempty"`

	// Contains information needed to make a TCP check.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	TCPCheck []TCPCheckParameters `json:"tcpCheck,omitempty" tf:"tcp_check,omitempty"`

	// The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Accepted formats https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration
	// +kubebuilder:validation:Required
	Timeout *string `json:"timeout" tf:"timeout,omitempty"`
}

func (*UptimeCheckConfigParameters) DeepCopy

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

func (*UptimeCheckConfigParameters) DeepCopyInto

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

type UptimeCheckConfigSpec

type UptimeCheckConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     UptimeCheckConfigParameters `json:"forProvider"`
}

UptimeCheckConfigSpec defines the desired state of UptimeCheckConfig

func (*UptimeCheckConfigSpec) DeepCopy

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

func (*UptimeCheckConfigSpec) DeepCopyInto

func (in *UptimeCheckConfigSpec) DeepCopyInto(out *UptimeCheckConfigSpec)

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

type UptimeCheckConfigStatus

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

UptimeCheckConfigStatus defines the observed state of UptimeCheckConfig.

func (*UptimeCheckConfigStatus) DeepCopy

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

func (*UptimeCheckConfigStatus) DeepCopyInto

func (in *UptimeCheckConfigStatus) DeepCopyInto(out *UptimeCheckConfigStatus)

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