v1beta2

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=timeseriesinsights.azure.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "timeseriesinsights.azure.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

View Source
var (
	Gen2Environment_Kind             = "Gen2Environment"
	Gen2Environment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Gen2Environment_Kind}.String()
	Gen2Environment_KindAPIVersion   = Gen2Environment_Kind + "." + CRDGroupVersion.String()
	Gen2Environment_GroupVersionKind = CRDGroupVersion.WithKind(Gen2Environment_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
)

Functions

This section is empty.

Types

type Gen2Environment

type Gen2Environment 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.idProperties) || (has(self.initProvider) && has(self.initProvider.idProperties))",message="spec.forProvider.idProperties is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.skuName) || (has(self.initProvider) && has(self.initProvider.skuName))",message="spec.forProvider.skuName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storage) || (has(self.initProvider) && has(self.initProvider.storage))",message="spec.forProvider.storage is a required parameter"
	Spec   Gen2EnvironmentSpec   `json:"spec"`
	Status Gen2EnvironmentStatus `json:"status,omitempty"`
}

Gen2Environment is the Schema for the Gen2Environments API. Manages an Azure IoT Time Series Insights Gen2 Environment. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,azure}

func (*Gen2Environment) DeepCopy

func (in *Gen2Environment) DeepCopy() *Gen2Environment

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

func (*Gen2Environment) DeepCopyInto

func (in *Gen2Environment) DeepCopyInto(out *Gen2Environment)

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

func (*Gen2Environment) DeepCopyObject

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

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

func (*Gen2Environment) GetCondition

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

GetCondition of this Gen2Environment.

func (*Gen2Environment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Gen2Environment

func (*Gen2Environment) GetDeletionPolicy

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

GetDeletionPolicy of this Gen2Environment.

func (*Gen2Environment) GetID

func (tr *Gen2Environment) GetID() string

GetID returns ID of underlying Terraform resource of this Gen2Environment

func (*Gen2Environment) GetInitParameters

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

GetInitParameters of this Gen2Environment

func (*Gen2Environment) GetManagementPolicies

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

GetManagementPolicies of this Gen2Environment.

func (*Gen2Environment) GetMergedParameters

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

GetInitParameters of this Gen2Environment

func (*Gen2Environment) GetObservation

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

GetObservation of this Gen2Environment

func (*Gen2Environment) GetParameters

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

GetParameters of this Gen2Environment

func (*Gen2Environment) GetProviderConfigReference

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

GetProviderConfigReference of this Gen2Environment.

func (*Gen2Environment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Gen2Environment.

func (*Gen2Environment) GetTerraformResourceType

func (mg *Gen2Environment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Gen2Environment

func (*Gen2Environment) GetTerraformSchemaVersion

func (tr *Gen2Environment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Gen2Environment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Gen2Environment.

func (*Gen2Environment) Hub

func (tr *Gen2Environment) Hub()

Hub marks this type as a conversion hub.

func (*Gen2Environment) LateInitialize

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

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

func (*Gen2Environment) ResolveReferences

func (mg *Gen2Environment) ResolveReferences(
	ctx context.Context, c client.Reader) error

func (*Gen2Environment) SetConditions

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

SetConditions of this Gen2Environment.

func (*Gen2Environment) SetDeletionPolicy

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

SetDeletionPolicy of this Gen2Environment.

func (*Gen2Environment) SetManagementPolicies

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

SetManagementPolicies of this Gen2Environment.

func (*Gen2Environment) SetObservation

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

SetObservation for this Gen2Environment

func (*Gen2Environment) SetParameters

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

SetParameters for this Gen2Environment

func (*Gen2Environment) SetProviderConfigReference

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

SetProviderConfigReference of this Gen2Environment.

func (*Gen2Environment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Gen2Environment.

func (*Gen2Environment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Gen2Environment.

type Gen2EnvironmentInitParameters

type Gen2EnvironmentInitParameters struct {

	// A list of property ids for the Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created.
	IDProperties []*string `json:"idProperties,omitempty" tf:"id_properties,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified. Changing this forces a new resource to be created.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// A storage block as defined below.
	Storage *StorageInitParameters `json:"storage,omitempty" tf:"storage,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
	WarmStoreDataRetentionTime *string `json:"warmStoreDataRetentionTime,omitempty" tf:"warm_store_data_retention_time,omitempty"`
}

func (*Gen2EnvironmentInitParameters) DeepCopy

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

func (*Gen2EnvironmentInitParameters) DeepCopyInto

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

type Gen2EnvironmentList

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

Gen2EnvironmentList contains a list of Gen2Environments

func (*Gen2EnvironmentList) DeepCopy

func (in *Gen2EnvironmentList) DeepCopy() *Gen2EnvironmentList

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

func (*Gen2EnvironmentList) DeepCopyInto

func (in *Gen2EnvironmentList) DeepCopyInto(out *Gen2EnvironmentList)

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

func (*Gen2EnvironmentList) DeepCopyObject

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

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

func (*Gen2EnvironmentList) GetItems

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

GetItems of this Gen2EnvironmentList.

type Gen2EnvironmentObservation

type Gen2EnvironmentObservation struct {

	// The FQDN used to access the environment data.
	DataAccessFqdn *string `json:"dataAccessFqdn,omitempty" tf:"data_access_fqdn,omitempty"`

	// The ID of the IoT Time Series Insights Gen2 Environment.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A list of property ids for the Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created.
	IDProperties []*string `json:"idProperties,omitempty" tf:"id_properties,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified. Changing this forces a new resource to be created.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// A storage block as defined below.
	Storage *StorageObservation `json:"storage,omitempty" tf:"storage,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
	WarmStoreDataRetentionTime *string `json:"warmStoreDataRetentionTime,omitempty" tf:"warm_store_data_retention_time,omitempty"`
}

func (*Gen2EnvironmentObservation) DeepCopy

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

func (*Gen2EnvironmentObservation) DeepCopyInto

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

type Gen2EnvironmentParameters

type Gen2EnvironmentParameters struct {

	// A list of property ids for the Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	IDProperties []*string `json:"idProperties,omitempty" tf:"id_properties,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// A storage block as defined below.
	// +kubebuilder:validation:Optional
	Storage *StorageParameters `json:"storage,omitempty" tf:"storage,omitempty"`

	// A mapping of tags to assign to the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
	// +kubebuilder:validation:Optional
	WarmStoreDataRetentionTime *string `json:"warmStoreDataRetentionTime,omitempty" tf:"warm_store_data_retention_time,omitempty"`
}

func (*Gen2EnvironmentParameters) DeepCopy

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

func (*Gen2EnvironmentParameters) DeepCopyInto

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

type Gen2EnvironmentSpec

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

Gen2EnvironmentSpec defines the desired state of Gen2Environment

func (*Gen2EnvironmentSpec) DeepCopy

func (in *Gen2EnvironmentSpec) DeepCopy() *Gen2EnvironmentSpec

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

func (*Gen2EnvironmentSpec) DeepCopyInto

func (in *Gen2EnvironmentSpec) DeepCopyInto(out *Gen2EnvironmentSpec)

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

type Gen2EnvironmentStatus

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

Gen2EnvironmentStatus defines the observed state of Gen2Environment.

func (*Gen2EnvironmentStatus) DeepCopy

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

func (*Gen2EnvironmentStatus) DeepCopyInto

func (in *Gen2EnvironmentStatus) DeepCopyInto(out *Gen2EnvironmentStatus)

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

type StorageInitParameters

type StorageInitParameters struct {

	// Access key of storage account for Azure IoT Time Series Insights Gen2 Environment
	KeySecretRef v1.SecretKeySelector `json:"keySecretRef" tf:"-"`

	// Name of storage account for Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Reference to a Account in storage to populate name.
	// +kubebuilder:validation:Optional
	NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"`

	// Selector for a Account in storage to populate name.
	// +kubebuilder:validation:Optional
	NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"`
}

func (*StorageInitParameters) DeepCopy

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

func (*StorageInitParameters) DeepCopyInto

func (in *StorageInitParameters) DeepCopyInto(out *StorageInitParameters)

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

type StorageObservation

type StorageObservation struct {

	// Name of storage account for Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*StorageObservation) DeepCopy

func (in *StorageObservation) DeepCopy() *StorageObservation

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

func (*StorageObservation) DeepCopyInto

func (in *StorageObservation) DeepCopyInto(out *StorageObservation)

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

type StorageParameters

type StorageParameters struct {

	// Access key of storage account for Azure IoT Time Series Insights Gen2 Environment
	// +kubebuilder:validation:Optional
	KeySecretRef v1.SecretKeySelector `json:"keySecretRef" tf:"-"`

	// Name of storage account for Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Reference to a Account in storage to populate name.
	// +kubebuilder:validation:Optional
	NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"`

	// Selector for a Account in storage to populate name.
	// +kubebuilder:validation:Optional
	NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"`
}

func (*StorageParameters) DeepCopy

func (in *StorageParameters) DeepCopy() *StorageParameters

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

func (*StorageParameters) DeepCopyInto

func (in *StorageParameters) DeepCopyInto(out *StorageParameters)

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