v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=lb.yandex-cloud.upjet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "lb.yandex-cloud.upjet.crossplane.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 (
	NetworkLoadBalancer_Kind             = "NetworkLoadBalancer"
	NetworkLoadBalancer_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NetworkLoadBalancer_Kind}.String()
	NetworkLoadBalancer_KindAPIVersion   = NetworkLoadBalancer_Kind + "." + CRDGroupVersion.String()
	NetworkLoadBalancer_GroupVersionKind = CRDGroupVersion.WithKind(NetworkLoadBalancer_Kind)
)

Repository type metadata.

View Source
var (
	TargetGroup_Kind             = "TargetGroup"
	TargetGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TargetGroup_Kind}.String()
	TargetGroup_KindAPIVersion   = TargetGroup_Kind + "." + CRDGroupVersion.String()
	TargetGroup_GroupVersionKind = CRDGroupVersion.WithKind(TargetGroup_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AttachedTargetGroupInitParameters

type AttachedTargetGroupInitParameters struct {

	// A HealthCheck resource. The structure is documented below.
	Healthcheck []HealthcheckInitParameters `json:"healthcheck,omitempty" tf:"healthcheck,omitempty"`

	// ID of the target group.
	// +crossplane:generate:reference:type=TargetGroup
	TargetGroupID *string `json:"targetGroupId,omitempty" tf:"target_group_id,omitempty"`

	// Reference to a TargetGroup to populate targetGroupId.
	// +kubebuilder:validation:Optional
	TargetGroupIDRef *v1.Reference `json:"targetGroupIdRef,omitempty" tf:"-"`

	// Selector for a TargetGroup to populate targetGroupId.
	// +kubebuilder:validation:Optional
	TargetGroupIDSelector *v1.Selector `json:"targetGroupIdSelector,omitempty" tf:"-"`
}

func (*AttachedTargetGroupInitParameters) DeepCopy

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

func (*AttachedTargetGroupInitParameters) DeepCopyInto

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

type AttachedTargetGroupObservation

type AttachedTargetGroupObservation struct {

	// A HealthCheck resource. The structure is documented below.
	Healthcheck []HealthcheckObservation `json:"healthcheck,omitempty" tf:"healthcheck,omitempty"`

	// ID of the target group.
	TargetGroupID *string `json:"targetGroupId,omitempty" tf:"target_group_id,omitempty"`
}

func (*AttachedTargetGroupObservation) DeepCopy

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

func (*AttachedTargetGroupObservation) DeepCopyInto

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

type AttachedTargetGroupParameters

type AttachedTargetGroupParameters struct {

	// A HealthCheck resource. The structure is documented below.
	// +kubebuilder:validation:Optional
	Healthcheck []HealthcheckParameters `json:"healthcheck" tf:"healthcheck,omitempty"`

	// ID of the target group.
	// +crossplane:generate:reference:type=TargetGroup
	// +kubebuilder:validation:Optional
	TargetGroupID *string `json:"targetGroupId,omitempty" tf:"target_group_id,omitempty"`

	// Reference to a TargetGroup to populate targetGroupId.
	// +kubebuilder:validation:Optional
	TargetGroupIDRef *v1.Reference `json:"targetGroupIdRef,omitempty" tf:"-"`

	// Selector for a TargetGroup to populate targetGroupId.
	// +kubebuilder:validation:Optional
	TargetGroupIDSelector *v1.Selector `json:"targetGroupIdSelector,omitempty" tf:"-"`
}

func (*AttachedTargetGroupParameters) DeepCopy

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

func (*AttachedTargetGroupParameters) DeepCopyInto

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

type ExternalAddressSpecInitParameters

type ExternalAddressSpecInitParameters struct {

	// Internal IP address for a listener. Must belong to the subnet that is referenced in subnet_id. IP address will be allocated if it wasn't been set.
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// IP version of the internal addresses that the load balancer works with. Must be one of ipv4 or ipv6. The default is ipv4.
	IPVersion *string `json:"ipVersion,omitempty" tf:"ip_version,omitempty"`
}

func (*ExternalAddressSpecInitParameters) DeepCopy

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

func (*ExternalAddressSpecInitParameters) DeepCopyInto

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

type ExternalAddressSpecObservation

type ExternalAddressSpecObservation struct {

	// Internal IP address for a listener. Must belong to the subnet that is referenced in subnet_id. IP address will be allocated if it wasn't been set.
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// IP version of the internal addresses that the load balancer works with. Must be one of ipv4 or ipv6. The default is ipv4.
	IPVersion *string `json:"ipVersion,omitempty" tf:"ip_version,omitempty"`
}

func (*ExternalAddressSpecObservation) DeepCopy

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

func (*ExternalAddressSpecObservation) DeepCopyInto

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

type ExternalAddressSpecParameters

type ExternalAddressSpecParameters struct {

	// Internal IP address for a listener. Must belong to the subnet that is referenced in subnet_id. IP address will be allocated if it wasn't been set.
	// +kubebuilder:validation:Optional
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// IP version of the internal addresses that the load balancer works with. Must be one of ipv4 or ipv6. The default is ipv4.
	// +kubebuilder:validation:Optional
	IPVersion *string `json:"ipVersion,omitempty" tf:"ip_version,omitempty"`
}

func (*ExternalAddressSpecParameters) DeepCopy

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

func (*ExternalAddressSpecParameters) DeepCopyInto

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

type HTTPOptionsInitParameters

type HTTPOptionsInitParameters struct {

	// URL path to set for health checking requests for every target in the target group. For example /ping. The default path is /.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Port to use for TCP health checks.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
}

func (*HTTPOptionsInitParameters) DeepCopy

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

func (*HTTPOptionsInitParameters) DeepCopyInto

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

type HTTPOptionsObservation

type HTTPOptionsObservation struct {

	// URL path to set for health checking requests for every target in the target group. For example /ping. The default path is /.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Port to use for TCP health checks.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
}

func (*HTTPOptionsObservation) DeepCopy

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

func (*HTTPOptionsObservation) DeepCopyInto

func (in *HTTPOptionsObservation) DeepCopyInto(out *HTTPOptionsObservation)

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

type HTTPOptionsParameters

type HTTPOptionsParameters struct {

	// URL path to set for health checking requests for every target in the target group. For example /ping. The default path is /.
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Port to use for TCP health checks.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port" tf:"port,omitempty"`
}

func (*HTTPOptionsParameters) DeepCopy

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

func (*HTTPOptionsParameters) DeepCopyInto

func (in *HTTPOptionsParameters) DeepCopyInto(out *HTTPOptionsParameters)

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

type HealthcheckInitParameters

type HealthcheckInitParameters struct {

	// Options for HTTP health check. The structure is documented below.
	HTTPOptions []HTTPOptionsInitParameters `json:"httpOptions,omitempty" tf:"http_options,omitempty"`

	// Number of successful health checks required in order to set the HEALTHY status for the target.
	HealthyThreshold *float64 `json:"healthyThreshold,omitempty" tf:"healthy_threshold,omitempty"`

	// The interval between health checks. The default is 2 seconds.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// Name of the network load balancer. Provided by the client when the network load balancer is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Options for TCP health check. The structure is documented below.
	TCPOptions []TCPOptionsInitParameters `json:"tcpOptions,omitempty" tf:"tcp_options,omitempty"`

	// Timeout for a target to return a response for the health check. The default is 1 second.
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// Number of failed health checks before changing the status to UNHEALTHY. The default is 2.
	UnhealthyThreshold *float64 `json:"unhealthyThreshold,omitempty" tf:"unhealthy_threshold,omitempty"`
}

func (*HealthcheckInitParameters) DeepCopy

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

func (*HealthcheckInitParameters) DeepCopyInto

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

type HealthcheckObservation

type HealthcheckObservation struct {

	// Options for HTTP health check. The structure is documented below.
	HTTPOptions []HTTPOptionsObservation `json:"httpOptions,omitempty" tf:"http_options,omitempty"`

	// Number of successful health checks required in order to set the HEALTHY status for the target.
	HealthyThreshold *float64 `json:"healthyThreshold,omitempty" tf:"healthy_threshold,omitempty"`

	// The interval between health checks. The default is 2 seconds.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// Name of the network load balancer. Provided by the client when the network load balancer is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Options for TCP health check. The structure is documented below.
	TCPOptions []TCPOptionsObservation `json:"tcpOptions,omitempty" tf:"tcp_options,omitempty"`

	// Timeout for a target to return a response for the health check. The default is 1 second.
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// Number of failed health checks before changing the status to UNHEALTHY. The default is 2.
	UnhealthyThreshold *float64 `json:"unhealthyThreshold,omitempty" tf:"unhealthy_threshold,omitempty"`
}

func (*HealthcheckObservation) DeepCopy

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

func (*HealthcheckObservation) DeepCopyInto

func (in *HealthcheckObservation) DeepCopyInto(out *HealthcheckObservation)

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

type HealthcheckParameters

type HealthcheckParameters struct {

	// Options for HTTP health check. The structure is documented below.
	// +kubebuilder:validation:Optional
	HTTPOptions []HTTPOptionsParameters `json:"httpOptions,omitempty" tf:"http_options,omitempty"`

	// Number of successful health checks required in order to set the HEALTHY status for the target.
	// +kubebuilder:validation:Optional
	HealthyThreshold *float64 `json:"healthyThreshold,omitempty" tf:"healthy_threshold,omitempty"`

	// The interval between health checks. The default is 2 seconds.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// Name of the network load balancer. Provided by the client when the network load balancer is created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// Options for TCP health check. The structure is documented below.
	// +kubebuilder:validation:Optional
	TCPOptions []TCPOptionsParameters `json:"tcpOptions,omitempty" tf:"tcp_options,omitempty"`

	// Timeout for a target to return a response for the health check. The default is 1 second.
	// +kubebuilder:validation:Optional
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// Number of failed health checks before changing the status to UNHEALTHY. The default is 2.
	// +kubebuilder:validation:Optional
	UnhealthyThreshold *float64 `json:"unhealthyThreshold,omitempty" tf:"unhealthy_threshold,omitempty"`
}

func (*HealthcheckParameters) DeepCopy

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

func (*HealthcheckParameters) DeepCopyInto

func (in *HealthcheckParameters) DeepCopyInto(out *HealthcheckParameters)

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

type InternalAddressSpecInitParameters

type InternalAddressSpecInitParameters struct {

	// Internal IP address for a listener. Must belong to the subnet that is referenced in subnet_id. IP address will be allocated if it wasn't been set.
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// IP version of the internal addresses that the load balancer works with. Must be one of ipv4 or ipv6. The default is ipv4.
	IPVersion *string `json:"ipVersion,omitempty" tf:"ip_version,omitempty"`

	// ID of the subnet to which the internal IP address belongs.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.Subnet
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
}

func (*InternalAddressSpecInitParameters) DeepCopy

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

func (*InternalAddressSpecInitParameters) DeepCopyInto

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

type InternalAddressSpecObservation

type InternalAddressSpecObservation struct {

	// Internal IP address for a listener. Must belong to the subnet that is referenced in subnet_id. IP address will be allocated if it wasn't been set.
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// IP version of the internal addresses that the load balancer works with. Must be one of ipv4 or ipv6. The default is ipv4.
	IPVersion *string `json:"ipVersion,omitempty" tf:"ip_version,omitempty"`

	// ID of the subnet to which the internal IP address belongs.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*InternalAddressSpecObservation) DeepCopy

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

func (*InternalAddressSpecObservation) DeepCopyInto

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

type InternalAddressSpecParameters

type InternalAddressSpecParameters struct {

	// Internal IP address for a listener. Must belong to the subnet that is referenced in subnet_id. IP address will be allocated if it wasn't been set.
	// +kubebuilder:validation:Optional
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// IP version of the internal addresses that the load balancer works with. Must be one of ipv4 or ipv6. The default is ipv4.
	// +kubebuilder:validation:Optional
	IPVersion *string `json:"ipVersion,omitempty" tf:"ip_version,omitempty"`

	// ID of the subnet to which the internal IP address belongs.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
}

func (*InternalAddressSpecParameters) DeepCopy

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

func (*InternalAddressSpecParameters) DeepCopyInto

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

type ListenerInitParameters

type ListenerInitParameters struct {

	// External IP address specification. The structure is documented below.
	ExternalAddressSpec []ExternalAddressSpecInitParameters `json:"externalAddressSpec,omitempty" tf:"external_address_spec,omitempty"`

	// Internal IP address specification. The structure is documented below.
	InternalAddressSpec []InternalAddressSpecInitParameters `json:"internalAddressSpec,omitempty" tf:"internal_address_spec,omitempty"`

	// Name of the listener. The name must be unique for each listener on a single load balancer.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Port for incoming traffic.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Protocol for incoming traffic. TCP or UDP and the default is TCP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Port of a target. The default is the same as listener's port.
	TargetPort *float64 `json:"targetPort,omitempty" tf:"target_port,omitempty"`
}

func (*ListenerInitParameters) DeepCopy

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

func (*ListenerInitParameters) DeepCopyInto

func (in *ListenerInitParameters) DeepCopyInto(out *ListenerInitParameters)

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

type ListenerObservation

type ListenerObservation struct {

	// External IP address specification. The structure is documented below.
	ExternalAddressSpec []ExternalAddressSpecObservation `json:"externalAddressSpec,omitempty" tf:"external_address_spec,omitempty"`

	// Internal IP address specification. The structure is documented below.
	InternalAddressSpec []InternalAddressSpecObservation `json:"internalAddressSpec,omitempty" tf:"internal_address_spec,omitempty"`

	// Name of the listener. The name must be unique for each listener on a single load balancer.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Port for incoming traffic.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Protocol for incoming traffic. TCP or UDP and the default is TCP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Port of a target. The default is the same as listener's port.
	TargetPort *float64 `json:"targetPort,omitempty" tf:"target_port,omitempty"`
}

func (*ListenerObservation) DeepCopy

func (in *ListenerObservation) DeepCopy() *ListenerObservation

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

func (*ListenerObservation) DeepCopyInto

func (in *ListenerObservation) DeepCopyInto(out *ListenerObservation)

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

type ListenerParameters

type ListenerParameters struct {

	// External IP address specification. The structure is documented below.
	// +kubebuilder:validation:Optional
	ExternalAddressSpec []ExternalAddressSpecParameters `json:"externalAddressSpec,omitempty" tf:"external_address_spec,omitempty"`

	// Internal IP address specification. The structure is documented below.
	// +kubebuilder:validation:Optional
	InternalAddressSpec []InternalAddressSpecParameters `json:"internalAddressSpec,omitempty" tf:"internal_address_spec,omitempty"`

	// Name of the listener. The name must be unique for each listener on a single load balancer.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// Port for incoming traffic.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port" tf:"port,omitempty"`

	// Protocol for incoming traffic. TCP or UDP and the default is TCP.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Port of a target. The default is the same as listener's port.
	// +kubebuilder:validation:Optional
	TargetPort *float64 `json:"targetPort,omitempty" tf:"target_port,omitempty"`
}

func (*ListenerParameters) DeepCopy

func (in *ListenerParameters) DeepCopy() *ListenerParameters

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

func (*ListenerParameters) DeepCopyInto

func (in *ListenerParameters) DeepCopyInto(out *ListenerParameters)

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

type NetworkLoadBalancer

type NetworkLoadBalancer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NetworkLoadBalancerSpec   `json:"spec"`
	Status            NetworkLoadBalancerStatus `json:"status,omitempty"`
}

NetworkLoadBalancer is the Schema for the NetworkLoadBalancers API. A network load balancer is used to evenly distribute the load across cloud resources. +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,yandex-cloud}

func (*NetworkLoadBalancer) DeepCopy

func (in *NetworkLoadBalancer) DeepCopy() *NetworkLoadBalancer

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

func (*NetworkLoadBalancer) DeepCopyInto

func (in *NetworkLoadBalancer) DeepCopyInto(out *NetworkLoadBalancer)

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

func (*NetworkLoadBalancer) DeepCopyObject

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

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

func (*NetworkLoadBalancer) GetCondition

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

GetCondition of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NetworkLoadBalancer

func (*NetworkLoadBalancer) GetDeletionPolicy

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

GetDeletionPolicy of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) GetID

func (tr *NetworkLoadBalancer) GetID() string

GetID returns ID of underlying Terraform resource of this NetworkLoadBalancer

func (*NetworkLoadBalancer) GetInitParameters

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

GetInitParameters of this NetworkLoadBalancer

func (*NetworkLoadBalancer) GetManagementPolicies

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

GetManagementPolicies of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) GetMergedParameters added in v0.1.3

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

GetInitParameters of this NetworkLoadBalancer

func (*NetworkLoadBalancer) GetObservation

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

GetObservation of this NetworkLoadBalancer

func (*NetworkLoadBalancer) GetParameters

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

GetParameters of this NetworkLoadBalancer

func (*NetworkLoadBalancer) GetProviderConfigReference

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

GetProviderConfigReference of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) GetTerraformResourceType

func (mg *NetworkLoadBalancer) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NetworkLoadBalancer

func (*NetworkLoadBalancer) GetTerraformSchemaVersion

func (tr *NetworkLoadBalancer) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NetworkLoadBalancer) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) Hub added in v0.2.0

func (tr *NetworkLoadBalancer) Hub()

Hub marks this type as a conversion hub.

func (*NetworkLoadBalancer) LateInitialize

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

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

func (*NetworkLoadBalancer) ResolveReferences

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

ResolveReferences of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) SetConditions

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

SetConditions of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) SetDeletionPolicy

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

SetDeletionPolicy of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) SetManagementPolicies

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

SetManagementPolicies of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) SetObservation

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

SetObservation for this NetworkLoadBalancer

func (*NetworkLoadBalancer) SetParameters

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

SetParameters for this NetworkLoadBalancer

func (*NetworkLoadBalancer) SetProviderConfigReference

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

SetProviderConfigReference of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this NetworkLoadBalancer.

func (*NetworkLoadBalancer) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NetworkLoadBalancer.

type NetworkLoadBalancerInitParameters

type NetworkLoadBalancerInitParameters struct {

	// An AttachedTargetGroup resource. The structure is documented below.
	AttachedTargetGroup []AttachedTargetGroupInitParameters `json:"attachedTargetGroup,omitempty" tf:"attached_target_group,omitempty"`

	// Flag that protects the network load balancer from accidental deletion.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// An optional description of the network load balancer. Provide this property when
	// you create the resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder to which the resource belongs.
	// If omitted, the provider folder is used.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Labels to assign to this network load balancer. A list of key/value pairs.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Listener specification that will be used by a network load balancer. The structure is documented below.
	Listener []ListenerInitParameters `json:"listener,omitempty" tf:"listener,omitempty"`

	// Name of the network load balancer. Provided by the client when the network load balancer is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the availability zone where the network load balancer resides.
	// If omitted, default region is being used.
	RegionID *string `json:"regionId,omitempty" tf:"region_id,omitempty"`

	// Type of the network load balancer. Must be one of 'external' or 'internal'. The default is 'external'.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NetworkLoadBalancerInitParameters) DeepCopy

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

func (*NetworkLoadBalancerInitParameters) DeepCopyInto

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

type NetworkLoadBalancerList

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

NetworkLoadBalancerList contains a list of NetworkLoadBalancers

func (*NetworkLoadBalancerList) DeepCopy

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

func (*NetworkLoadBalancerList) DeepCopyInto

func (in *NetworkLoadBalancerList) DeepCopyInto(out *NetworkLoadBalancerList)

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

func (*NetworkLoadBalancerList) DeepCopyObject

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

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

func (*NetworkLoadBalancerList) GetItems

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

GetItems of this NetworkLoadBalancerList.

type NetworkLoadBalancerObservation

type NetworkLoadBalancerObservation struct {

	// An AttachedTargetGroup resource. The structure is documented below.
	AttachedTargetGroup []AttachedTargetGroupObservation `json:"attachedTargetGroup,omitempty" tf:"attached_target_group,omitempty"`

	// The network load balancer creation timestamp.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Flag that protects the network load balancer from accidental deletion.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// An optional description of the network load balancer. Provide this property when
	// you create the resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder to which the resource belongs.
	// If omitted, the provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// The ID of the network load balancer.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels to assign to this network load balancer. A list of key/value pairs.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Listener specification that will be used by a network load balancer. The structure is documented below.
	Listener []ListenerObservation `json:"listener,omitempty" tf:"listener,omitempty"`

	// Name of the network load balancer. Provided by the client when the network load balancer is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the availability zone where the network load balancer resides.
	// If omitted, default region is being used.
	RegionID *string `json:"regionId,omitempty" tf:"region_id,omitempty"`

	// Type of the network load balancer. Must be one of 'external' or 'internal'. The default is 'external'.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NetworkLoadBalancerObservation) DeepCopy

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

func (*NetworkLoadBalancerObservation) DeepCopyInto

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

type NetworkLoadBalancerParameters

type NetworkLoadBalancerParameters struct {

	// An AttachedTargetGroup resource. The structure is documented below.
	// +kubebuilder:validation:Optional
	AttachedTargetGroup []AttachedTargetGroupParameters `json:"attachedTargetGroup,omitempty" tf:"attached_target_group,omitempty"`

	// Flag that protects the network load balancer from accidental deletion.
	// +kubebuilder:validation:Optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// An optional description of the network load balancer. Provide this property when
	// you create the resource.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder to which the resource belongs.
	// If omitted, the provider folder is used.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Labels to assign to this network load balancer. A list of key/value pairs.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Listener specification that will be used by a network load balancer. The structure is documented below.
	// +kubebuilder:validation:Optional
	Listener []ListenerParameters `json:"listener,omitempty" tf:"listener,omitempty"`

	// Name of the network load balancer. Provided by the client when the network load balancer is created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the availability zone where the network load balancer resides.
	// If omitted, default region is being used.
	// +kubebuilder:validation:Optional
	RegionID *string `json:"regionId,omitempty" tf:"region_id,omitempty"`

	// Type of the network load balancer. Must be one of 'external' or 'internal'. The default is 'external'.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NetworkLoadBalancerParameters) DeepCopy

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

func (*NetworkLoadBalancerParameters) DeepCopyInto

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

type NetworkLoadBalancerSpec

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

NetworkLoadBalancerSpec defines the desired state of NetworkLoadBalancer

func (*NetworkLoadBalancerSpec) DeepCopy

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

func (*NetworkLoadBalancerSpec) DeepCopyInto

func (in *NetworkLoadBalancerSpec) DeepCopyInto(out *NetworkLoadBalancerSpec)

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

type NetworkLoadBalancerStatus

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

NetworkLoadBalancerStatus defines the observed state of NetworkLoadBalancer.

func (*NetworkLoadBalancerStatus) DeepCopy

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

func (*NetworkLoadBalancerStatus) DeepCopyInto

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

type TCPOptionsInitParameters

type TCPOptionsInitParameters struct {

	// Port to use for TCP health checks.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
}

func (*TCPOptionsInitParameters) DeepCopy

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

func (*TCPOptionsInitParameters) DeepCopyInto

func (in *TCPOptionsInitParameters) DeepCopyInto(out *TCPOptionsInitParameters)

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

type TCPOptionsObservation

type TCPOptionsObservation struct {

	// Port to use for TCP health checks.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
}

func (*TCPOptionsObservation) DeepCopy

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

func (*TCPOptionsObservation) DeepCopyInto

func (in *TCPOptionsObservation) DeepCopyInto(out *TCPOptionsObservation)

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

type TCPOptionsParameters

type TCPOptionsParameters struct {

	// Port to use for TCP health checks.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port" tf:"port,omitempty"`
}

func (*TCPOptionsParameters) DeepCopy

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

func (*TCPOptionsParameters) DeepCopyInto

func (in *TCPOptionsParameters) DeepCopyInto(out *TCPOptionsParameters)

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

type TargetGroup

type TargetGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TargetGroupSpec   `json:"spec"`
	Status            TargetGroupStatus `json:"status,omitempty"`
}

TargetGroup is the Schema for the TargetGroups API. A load balancer distributes the load across cloud resources that are combined into a target group. +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,yandex-cloud}

func (*TargetGroup) DeepCopy

func (in *TargetGroup) DeepCopy() *TargetGroup

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

func (*TargetGroup) DeepCopyInto

func (in *TargetGroup) DeepCopyInto(out *TargetGroup)

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

func (*TargetGroup) DeepCopyObject

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

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

func (*TargetGroup) GetCondition

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

GetCondition of this TargetGroup.

func (*TargetGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TargetGroup

func (*TargetGroup) GetDeletionPolicy

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

GetDeletionPolicy of this TargetGroup.

func (*TargetGroup) GetID

func (tr *TargetGroup) GetID() string

GetID returns ID of underlying Terraform resource of this TargetGroup

func (*TargetGroup) GetInitParameters

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

GetInitParameters of this TargetGroup

func (*TargetGroup) GetManagementPolicies

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

GetManagementPolicies of this TargetGroup.

func (*TargetGroup) GetMergedParameters added in v0.1.3

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

GetInitParameters of this TargetGroup

func (*TargetGroup) GetObservation

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

GetObservation of this TargetGroup

func (*TargetGroup) GetParameters

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

GetParameters of this TargetGroup

func (*TargetGroup) GetProviderConfigReference

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

GetProviderConfigReference of this TargetGroup.

func (*TargetGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TargetGroup.

func (*TargetGroup) GetTerraformResourceType

func (mg *TargetGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TargetGroup

func (*TargetGroup) GetTerraformSchemaVersion

func (tr *TargetGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TargetGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TargetGroup.

func (*TargetGroup) Hub added in v0.2.0

func (tr *TargetGroup) Hub()

Hub marks this type as a conversion hub.

func (*TargetGroup) LateInitialize

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

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

func (*TargetGroup) ResolveReferences

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

ResolveReferences of this TargetGroup.

func (*TargetGroup) SetConditions

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

SetConditions of this TargetGroup.

func (*TargetGroup) SetDeletionPolicy

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

SetDeletionPolicy of this TargetGroup.

func (*TargetGroup) SetManagementPolicies

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

SetManagementPolicies of this TargetGroup.

func (*TargetGroup) SetObservation

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

SetObservation for this TargetGroup

func (*TargetGroup) SetParameters

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

SetParameters for this TargetGroup

func (*TargetGroup) SetProviderConfigReference

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

SetProviderConfigReference of this TargetGroup.

func (*TargetGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TargetGroup.

func (*TargetGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TargetGroup.

type TargetGroupInitParameters

type TargetGroupInitParameters struct {

	// An optional description of the target group. Provide this property when
	// you create the resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder to which the resource belongs.
	// If omitted, the provider folder is used.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Labels to assign to this target group. A list of key/value pairs.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the target group. Provided by the client when the target group is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the availability zone where the target group resides.
	// If omitted, default region is being used.
	RegionID *string `json:"regionId,omitempty" tf:"region_id,omitempty"`

	// A Target resource. The structure is documented below.
	Target []TargetInitParameters `json:"target,omitempty" tf:"target,omitempty"`
}

func (*TargetGroupInitParameters) DeepCopy

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

func (*TargetGroupInitParameters) DeepCopyInto

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

type TargetGroupList

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

TargetGroupList contains a list of TargetGroups

func (*TargetGroupList) DeepCopy

func (in *TargetGroupList) DeepCopy() *TargetGroupList

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

func (*TargetGroupList) DeepCopyInto

func (in *TargetGroupList) DeepCopyInto(out *TargetGroupList)

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

func (*TargetGroupList) DeepCopyObject

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

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

func (*TargetGroupList) GetItems

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

GetItems of this TargetGroupList.

type TargetGroupObservation

type TargetGroupObservation struct {

	// The target group creation timestamp.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// An optional description of the target group. Provide this property when
	// you create the resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder to which the resource belongs.
	// If omitted, the provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// The ID of the target group.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels to assign to this target group. A list of key/value pairs.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the target group. Provided by the client when the target group is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the availability zone where the target group resides.
	// If omitted, default region is being used.
	RegionID *string `json:"regionId,omitempty" tf:"region_id,omitempty"`

	// A Target resource. The structure is documented below.
	Target []TargetObservation `json:"target,omitempty" tf:"target,omitempty"`
}

func (*TargetGroupObservation) DeepCopy

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

func (*TargetGroupObservation) DeepCopyInto

func (in *TargetGroupObservation) DeepCopyInto(out *TargetGroupObservation)

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

type TargetGroupParameters

type TargetGroupParameters struct {

	// An optional description of the target group. Provide this property when
	// you create the resource.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder to which the resource belongs.
	// If omitted, the provider folder is used.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Labels to assign to this target group. A list of key/value pairs.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the target group. Provided by the client when the target group is created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the availability zone where the target group resides.
	// If omitted, default region is being used.
	// +kubebuilder:validation:Optional
	RegionID *string `json:"regionId,omitempty" tf:"region_id,omitempty"`

	// A Target resource. The structure is documented below.
	// +kubebuilder:validation:Optional
	Target []TargetParameters `json:"target,omitempty" tf:"target,omitempty"`
}

func (*TargetGroupParameters) DeepCopy

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

func (*TargetGroupParameters) DeepCopyInto

func (in *TargetGroupParameters) DeepCopyInto(out *TargetGroupParameters)

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

type TargetGroupSpec

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

TargetGroupSpec defines the desired state of TargetGroup

func (*TargetGroupSpec) DeepCopy

func (in *TargetGroupSpec) DeepCopy() *TargetGroupSpec

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

func (*TargetGroupSpec) DeepCopyInto

func (in *TargetGroupSpec) DeepCopyInto(out *TargetGroupSpec)

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

type TargetGroupStatus

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

TargetGroupStatus defines the observed state of TargetGroup.

func (*TargetGroupStatus) DeepCopy

func (in *TargetGroupStatus) DeepCopy() *TargetGroupStatus

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

func (*TargetGroupStatus) DeepCopyInto

func (in *TargetGroupStatus) DeepCopyInto(out *TargetGroupStatus)

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

type TargetInitParameters

type TargetInitParameters struct {

	// IP address of the target.
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// ID of the subnet that targets are connected to.
	// All targets in the target group must be connected to the same subnet within a single availability zone.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.Subnet
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
}

func (*TargetInitParameters) DeepCopy

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

func (*TargetInitParameters) DeepCopyInto

func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters)

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

type TargetObservation

type TargetObservation struct {

	// IP address of the target.
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// ID of the subnet that targets are connected to.
	// All targets in the target group must be connected to the same subnet within a single availability zone.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*TargetObservation) DeepCopy

func (in *TargetObservation) DeepCopy() *TargetObservation

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

func (*TargetObservation) DeepCopyInto

func (in *TargetObservation) DeepCopyInto(out *TargetObservation)

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

type TargetParameters

type TargetParameters struct {

	// IP address of the target.
	// +kubebuilder:validation:Optional
	Address *string `json:"address" tf:"address,omitempty"`

	// ID of the subnet that targets are connected to.
	// All targets in the target group must be connected to the same subnet within a single availability zone.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
}

func (*TargetParameters) DeepCopy

func (in *TargetParameters) DeepCopy() *TargetParameters

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

func (*TargetParameters) DeepCopyInto

func (in *TargetParameters) DeepCopyInto(out *TargetParameters)

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