v1alpha1

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Metadata_Kind             = "Metadata"
	Metadata_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Metadata_Kind}.String()
	Metadata_KindAPIVersion   = Metadata_Kind + "." + CRDGroupVersion.String()
	Metadata_GroupVersionKind = CRDGroupVersion.WithKind(Metadata_Kind)
)

Repository type metadata.

View Source
var (
	TagConfiguration_Kind             = "TagConfiguration"
	TagConfiguration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TagConfiguration_Kind}.String()
	TagConfiguration_KindAPIVersion   = TagConfiguration_Kind + "." + CRDGroupVersion.String()
	TagConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(TagConfiguration_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AggregationsInitParameters

type AggregationsInitParameters struct {

	// (String) A space aggregation for use in query. Valid values are avg, max, min, sum.
	// A space aggregation for use in query. Valid values are `avg`, `max`, `min`, `sum`.
	Space *string `json:"space,omitempty" tf:"space,omitempty"`

	// (String) A time aggregation for use in query. Valid values are avg, count, max, min, sum.
	// A time aggregation for use in query. Valid values are `avg`, `count`, `max`, `min`, `sum`.
	Time *string `json:"time,omitempty" tf:"time,omitempty"`
}

func (*AggregationsInitParameters) DeepCopy

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

func (*AggregationsInitParameters) DeepCopyInto

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

type AggregationsObservation

type AggregationsObservation struct {

	// (String) A space aggregation for use in query. Valid values are avg, max, min, sum.
	// A space aggregation for use in query. Valid values are `avg`, `max`, `min`, `sum`.
	Space *string `json:"space,omitempty" tf:"space,omitempty"`

	// (String) A time aggregation for use in query. Valid values are avg, count, max, min, sum.
	// A time aggregation for use in query. Valid values are `avg`, `count`, `max`, `min`, `sum`.
	Time *string `json:"time,omitempty" tf:"time,omitempty"`
}

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 {

	// (String) A space aggregation for use in query. Valid values are avg, max, min, sum.
	// A space aggregation for use in query. Valid values are `avg`, `max`, `min`, `sum`.
	// +kubebuilder:validation:Optional
	Space *string `json:"space" tf:"space,omitempty"`

	// (String) A time aggregation for use in query. Valid values are avg, count, max, min, sum.
	// A time aggregation for use in query. Valid values are `avg`, `count`, `max`, `min`, `sum`.
	// +kubebuilder:validation:Optional
	Time *string `json:"time" tf:"time,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 Metadata

type Metadata struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metric) || (has(self.initProvider) && has(self.initProvider.metric))",message="spec.forProvider.metric is a required parameter"
	Spec   MetadataSpec   `json:"spec"`
	Status MetadataStatus `json:"status,omitempty"`
}

Metadata is the Schema for the Metadatas API. Provides a Datadog metric_metadata resource. This can be used to manage a metric's metadata. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,datadog}

func (*Metadata) DeepCopy

func (in *Metadata) DeepCopy() *Metadata

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

func (*Metadata) DeepCopyInto

func (in *Metadata) DeepCopyInto(out *Metadata)

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

func (*Metadata) DeepCopyObject

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

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

func (*Metadata) GetCondition

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

GetCondition of this Metadata.

func (*Metadata) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Metadata

func (*Metadata) GetDeletionPolicy

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

GetDeletionPolicy of this Metadata.

func (*Metadata) GetID

func (tr *Metadata) GetID() string

GetID returns ID of underlying Terraform resource of this Metadata

func (*Metadata) GetInitParameters

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

GetInitParameters of this Metadata

func (*Metadata) GetManagementPolicies

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

GetManagementPolicies of this Metadata.

func (*Metadata) GetMergedParameters

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

GetInitParameters of this Metadata

func (*Metadata) GetObservation

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

GetObservation of this Metadata

func (*Metadata) GetParameters

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

GetParameters of this Metadata

func (*Metadata) GetProviderConfigReference

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

GetProviderConfigReference of this Metadata.

func (*Metadata) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Metadata.

func (*Metadata) GetTerraformResourceType

func (mg *Metadata) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Metadata

func (*Metadata) GetTerraformSchemaVersion

func (tr *Metadata) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Metadata) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Metadata.

func (*Metadata) Hub

func (tr *Metadata) Hub()

Hub marks this type as a conversion hub.

func (*Metadata) LateInitialize

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

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

func (*Metadata) SetConditions

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

SetConditions of this Metadata.

func (*Metadata) SetDeletionPolicy

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

SetDeletionPolicy of this Metadata.

func (*Metadata) SetManagementPolicies

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

SetManagementPolicies of this Metadata.

func (*Metadata) SetObservation

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

SetObservation for this Metadata

func (*Metadata) SetParameters

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

SetParameters for this Metadata

func (*Metadata) SetProviderConfigReference

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

SetProviderConfigReference of this Metadata.

func (*Metadata) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Metadata.

func (*Metadata) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Metadata.

type MetadataInitParameters

type MetadataInitParameters struct {

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

	// (String) The name of the metric.
	// The name of the metric.
	Metric *string `json:"metric,omitempty" tf:"metric,omitempty"`

	// (String) Per unit of the metric such as second in bytes per second.
	// Per unit of the metric such as `second` in `bytes per second`.
	PerUnit *string `json:"perUnit,omitempty" tf:"per_unit,omitempty"`

	// (String) A short name of the metric.
	// A short name of the metric.
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`

	// (Number) If applicable, statsd flush interval in seconds for the metric.
	// If applicable, statsd flush interval in seconds for the metric.
	StatsdInterval *float64 `json:"statsdInterval,omitempty" tf:"statsd_interval,omitempty"`

	// (String) Metric type such as count, gauge, or rate. Updating a metric of type distribution is not supported. If you would like to see the distribution type returned, contact Datadog support.
	// Metric type such as `count`, `gauge`, or `rate`. Updating a metric of type `distribution` is not supported. If you would like to see the `distribution` type returned, contact [Datadog support](https://docs.datadoghq.com/help/).
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// (String) Primary unit of the metric such as byte or operation.
	// Primary unit of the metric such as `byte` or `operation`.
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`
}

func (*MetadataInitParameters) DeepCopy

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

func (*MetadataInitParameters) DeepCopyInto

func (in *MetadataInitParameters) DeepCopyInto(out *MetadataInitParameters)

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

type MetadataList

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

MetadataList contains a list of Metadatas

func (*MetadataList) DeepCopy

func (in *MetadataList) DeepCopy() *MetadataList

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

func (*MetadataList) DeepCopyInto

func (in *MetadataList) DeepCopyInto(out *MetadataList)

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

func (*MetadataList) DeepCopyObject

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

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

func (*MetadataList) GetItems

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

GetItems of this MetadataList.

type MetadataObservation

type MetadataObservation struct {

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

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

	// (String) The name of the metric.
	// The name of the metric.
	Metric *string `json:"metric,omitempty" tf:"metric,omitempty"`

	// (String) Per unit of the metric such as second in bytes per second.
	// Per unit of the metric such as `second` in `bytes per second`.
	PerUnit *string `json:"perUnit,omitempty" tf:"per_unit,omitempty"`

	// (String) A short name of the metric.
	// A short name of the metric.
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`

	// (Number) If applicable, statsd flush interval in seconds for the metric.
	// If applicable, statsd flush interval in seconds for the metric.
	StatsdInterval *float64 `json:"statsdInterval,omitempty" tf:"statsd_interval,omitempty"`

	// (String) Metric type such as count, gauge, or rate. Updating a metric of type distribution is not supported. If you would like to see the distribution type returned, contact Datadog support.
	// Metric type such as `count`, `gauge`, or `rate`. Updating a metric of type `distribution` is not supported. If you would like to see the `distribution` type returned, contact [Datadog support](https://docs.datadoghq.com/help/).
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// (String) Primary unit of the metric such as byte or operation.
	// Primary unit of the metric such as `byte` or `operation`.
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`
}

func (*MetadataObservation) DeepCopy

func (in *MetadataObservation) DeepCopy() *MetadataObservation

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

func (*MetadataObservation) DeepCopyInto

func (in *MetadataObservation) DeepCopyInto(out *MetadataObservation)

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

type MetadataParameters

type MetadataParameters struct {

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

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

	// (String) Per unit of the metric such as second in bytes per second.
	// Per unit of the metric such as `second` in `bytes per second`.
	// +kubebuilder:validation:Optional
	PerUnit *string `json:"perUnit,omitempty" tf:"per_unit,omitempty"`

	// (String) A short name of the metric.
	// A short name of the metric.
	// +kubebuilder:validation:Optional
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`

	// (Number) If applicable, statsd flush interval in seconds for the metric.
	// If applicable, statsd flush interval in seconds for the metric.
	// +kubebuilder:validation:Optional
	StatsdInterval *float64 `json:"statsdInterval,omitempty" tf:"statsd_interval,omitempty"`

	// (String) Metric type such as count, gauge, or rate. Updating a metric of type distribution is not supported. If you would like to see the distribution type returned, contact Datadog support.
	// Metric type such as `count`, `gauge`, or `rate`. Updating a metric of type `distribution` is not supported. If you would like to see the `distribution` type returned, contact [Datadog support](https://docs.datadoghq.com/help/).
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// (String) Primary unit of the metric such as byte or operation.
	// Primary unit of the metric such as `byte` or `operation`.
	// +kubebuilder:validation:Optional
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`
}

func (*MetadataParameters) DeepCopy

func (in *MetadataParameters) DeepCopy() *MetadataParameters

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

func (*MetadataParameters) DeepCopyInto

func (in *MetadataParameters) DeepCopyInto(out *MetadataParameters)

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

type MetadataSpec

type MetadataSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MetadataParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MetadataInitParameters `json:"initProvider,omitempty"`
}

MetadataSpec defines the desired state of Metadata

func (*MetadataSpec) DeepCopy

func (in *MetadataSpec) DeepCopy() *MetadataSpec

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

func (*MetadataSpec) DeepCopyInto

func (in *MetadataSpec) DeepCopyInto(out *MetadataSpec)

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

type MetadataStatus

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

MetadataStatus defines the observed state of Metadata.

func (*MetadataStatus) DeepCopy

func (in *MetadataStatus) DeepCopy() *MetadataStatus

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

func (*MetadataStatus) DeepCopyInto

func (in *MetadataStatus) DeepCopyInto(out *MetadataStatus)

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

type TagConfiguration

type TagConfiguration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || (has(self.initProvider) && has(self.initProvider.metricName))",message="spec.forProvider.metricName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricType) || (has(self.initProvider) && has(self.initProvider.metricType))",message="spec.forProvider.metricType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tags) || (has(self.initProvider) && has(self.initProvider.tags))",message="spec.forProvider.tags is a required parameter"
	Spec   TagConfigurationSpec   `json:"spec"`
	Status TagConfigurationStatus `json:"status,omitempty"`
}

TagConfiguration is the Schema for the TagConfigurations API. Provides a Datadog metric tag configuration resource. This can be used to modify tag configurations for metrics. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,datadog}

func (*TagConfiguration) DeepCopy

func (in *TagConfiguration) DeepCopy() *TagConfiguration

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

func (*TagConfiguration) DeepCopyInto

func (in *TagConfiguration) DeepCopyInto(out *TagConfiguration)

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

func (*TagConfiguration) DeepCopyObject

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

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

func (*TagConfiguration) GetCondition

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

GetCondition of this TagConfiguration.

func (*TagConfiguration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TagConfiguration

func (*TagConfiguration) GetDeletionPolicy

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

GetDeletionPolicy of this TagConfiguration.

func (*TagConfiguration) GetID

func (tr *TagConfiguration) GetID() string

GetID returns ID of underlying Terraform resource of this TagConfiguration

func (*TagConfiguration) GetInitParameters

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

GetInitParameters of this TagConfiguration

func (*TagConfiguration) GetManagementPolicies

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

GetManagementPolicies of this TagConfiguration.

func (*TagConfiguration) GetMergedParameters

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

GetInitParameters of this TagConfiguration

func (*TagConfiguration) GetObservation

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

GetObservation of this TagConfiguration

func (*TagConfiguration) GetParameters

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

GetParameters of this TagConfiguration

func (*TagConfiguration) GetProviderConfigReference

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

GetProviderConfigReference of this TagConfiguration.

func (*TagConfiguration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TagConfiguration.

func (*TagConfiguration) GetTerraformResourceType

func (mg *TagConfiguration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TagConfiguration

func (*TagConfiguration) GetTerraformSchemaVersion

func (tr *TagConfiguration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TagConfiguration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TagConfiguration.

func (*TagConfiguration) Hub

func (tr *TagConfiguration) Hub()

Hub marks this type as a conversion hub.

func (*TagConfiguration) LateInitialize

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

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

func (*TagConfiguration) SetConditions

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

SetConditions of this TagConfiguration.

func (*TagConfiguration) SetDeletionPolicy

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

SetDeletionPolicy of this TagConfiguration.

func (*TagConfiguration) SetManagementPolicies

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

SetManagementPolicies of this TagConfiguration.

func (*TagConfiguration) SetObservation

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

SetObservation for this TagConfiguration

func (*TagConfiguration) SetParameters

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

SetParameters for this TagConfiguration

func (*TagConfiguration) SetProviderConfigReference

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

SetProviderConfigReference of this TagConfiguration.

func (*TagConfiguration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TagConfiguration.

func (*TagConfiguration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TagConfiguration.

type TagConfigurationInitParameters

type TagConfigurationInitParameters struct {

	// (Block Set) A list of queryable aggregation combinations for a count, rate, or gauge metric. By default, count and rate metrics require the (time: sum, space: sum) aggregation and gauge metrics require the (time: avg, space: avg) aggregation. Can only be applied to metrics that have a metric_type of count, rate, or gauge. (see below for nested schema)
	// A list of queryable aggregation combinations for a count, rate, or gauge metric. By default, count and rate metrics require the (time: sum, space: sum) aggregation and gauge metrics require the (time: avg, space: avg) aggregation. Can only be applied to metrics that have a `metric_type` of count, rate, or gauge.
	Aggregations []AggregationsInitParameters `json:"aggregations,omitempty" tf:"aggregations,omitempty"`

	// (Boolean) Toggle to include/exclude tags as queryable for your metric. Can only be applied to metrics that have one or more tags configured. Defaults to false.
	// Toggle to include/exclude tags as queryable for your metric. Can only be applied to metrics that have one or more tags configured. Defaults to `false`.
	ExcludeTagsMode *bool `json:"excludeTagsMode,omitempty" tf:"exclude_tags_mode,omitempty"`

	// (Boolean) Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have a metric_type of distribution.
	// Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have a `metric_type` of distribution.
	IncludePercentiles *bool `json:"includePercentiles,omitempty" tf:"include_percentiles,omitempty"`

	// (String) The metric name for this resource.
	// The metric name for this resource.
	MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"`

	// (String) The metric's type. This field can't be updated after creation. Valid values are gauge, count, rate, distribution.
	// The metric's type. This field can't be updated after creation. Valid values are `gauge`, `count`, `rate`, `distribution`.
	MetricType *string `json:"metricType,omitempty" tf:"metric_type,omitempty"`

	// (Set of String) A list of tag keys that will be queryable for your metric.
	// A list of tag keys that will be queryable for your metric.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*TagConfigurationInitParameters) DeepCopy

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

func (*TagConfigurationInitParameters) DeepCopyInto

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

type TagConfigurationList

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

TagConfigurationList contains a list of TagConfigurations

func (*TagConfigurationList) DeepCopy

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

func (*TagConfigurationList) DeepCopyInto

func (in *TagConfigurationList) DeepCopyInto(out *TagConfigurationList)

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

func (*TagConfigurationList) DeepCopyObject

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

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

func (*TagConfigurationList) GetItems

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

GetItems of this TagConfigurationList.

type TagConfigurationObservation

type TagConfigurationObservation struct {

	// (Block Set) A list of queryable aggregation combinations for a count, rate, or gauge metric. By default, count and rate metrics require the (time: sum, space: sum) aggregation and gauge metrics require the (time: avg, space: avg) aggregation. Can only be applied to metrics that have a metric_type of count, rate, or gauge. (see below for nested schema)
	// A list of queryable aggregation combinations for a count, rate, or gauge metric. By default, count and rate metrics require the (time: sum, space: sum) aggregation and gauge metrics require the (time: avg, space: avg) aggregation. Can only be applied to metrics that have a `metric_type` of count, rate, or gauge.
	Aggregations []AggregationsObservation `json:"aggregations,omitempty" tf:"aggregations,omitempty"`

	// (Boolean) Toggle to include/exclude tags as queryable for your metric. Can only be applied to metrics that have one or more tags configured. Defaults to false.
	// Toggle to include/exclude tags as queryable for your metric. Can only be applied to metrics that have one or more tags configured. Defaults to `false`.
	ExcludeTagsMode *bool `json:"excludeTagsMode,omitempty" tf:"exclude_tags_mode,omitempty"`

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

	// (Boolean) Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have a metric_type of distribution.
	// Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have a `metric_type` of distribution.
	IncludePercentiles *bool `json:"includePercentiles,omitempty" tf:"include_percentiles,omitempty"`

	// (String) The metric name for this resource.
	// The metric name for this resource.
	MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"`

	// (String) The metric's type. This field can't be updated after creation. Valid values are gauge, count, rate, distribution.
	// The metric's type. This field can't be updated after creation. Valid values are `gauge`, `count`, `rate`, `distribution`.
	MetricType *string `json:"metricType,omitempty" tf:"metric_type,omitempty"`

	// (Set of String) A list of tag keys that will be queryable for your metric.
	// A list of tag keys that will be queryable for your metric.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*TagConfigurationObservation) DeepCopy

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

func (*TagConfigurationObservation) DeepCopyInto

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

type TagConfigurationParameters

type TagConfigurationParameters struct {

	// (Block Set) A list of queryable aggregation combinations for a count, rate, or gauge metric. By default, count and rate metrics require the (time: sum, space: sum) aggregation and gauge metrics require the (time: avg, space: avg) aggregation. Can only be applied to metrics that have a metric_type of count, rate, or gauge. (see below for nested schema)
	// A list of queryable aggregation combinations for a count, rate, or gauge metric. By default, count and rate metrics require the (time: sum, space: sum) aggregation and gauge metrics require the (time: avg, space: avg) aggregation. Can only be applied to metrics that have a `metric_type` of count, rate, or gauge.
	// +kubebuilder:validation:Optional
	Aggregations []AggregationsParameters `json:"aggregations,omitempty" tf:"aggregations,omitempty"`

	// (Boolean) Toggle to include/exclude tags as queryable for your metric. Can only be applied to metrics that have one or more tags configured. Defaults to false.
	// Toggle to include/exclude tags as queryable for your metric. Can only be applied to metrics that have one or more tags configured. Defaults to `false`.
	// +kubebuilder:validation:Optional
	ExcludeTagsMode *bool `json:"excludeTagsMode,omitempty" tf:"exclude_tags_mode,omitempty"`

	// (Boolean) Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have a metric_type of distribution.
	// Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have a `metric_type` of distribution.
	// +kubebuilder:validation:Optional
	IncludePercentiles *bool `json:"includePercentiles,omitempty" tf:"include_percentiles,omitempty"`

	// (String) The metric name for this resource.
	// The metric name for this resource.
	// +kubebuilder:validation:Optional
	MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"`

	// (String) The metric's type. This field can't be updated after creation. Valid values are gauge, count, rate, distribution.
	// The metric's type. This field can't be updated after creation. Valid values are `gauge`, `count`, `rate`, `distribution`.
	// +kubebuilder:validation:Optional
	MetricType *string `json:"metricType,omitempty" tf:"metric_type,omitempty"`

	// (Set of String) A list of tag keys that will be queryable for your metric.
	// A list of tag keys that will be queryable for your metric.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*TagConfigurationParameters) DeepCopy

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

func (*TagConfigurationParameters) DeepCopyInto

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

type TagConfigurationSpec

type TagConfigurationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TagConfigurationParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider TagConfigurationInitParameters `json:"initProvider,omitempty"`
}

TagConfigurationSpec defines the desired state of TagConfiguration

func (*TagConfigurationSpec) DeepCopy

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

func (*TagConfigurationSpec) DeepCopyInto

func (in *TagConfigurationSpec) DeepCopyInto(out *TagConfigurationSpec)

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

type TagConfigurationStatus

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

TagConfigurationStatus defines the observed state of TagConfiguration.

func (*TagConfigurationStatus) DeepCopy

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

func (*TagConfigurationStatus) DeepCopyInto

func (in *TagConfigurationStatus) DeepCopyInto(out *TagConfigurationStatus)

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