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: 16 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "compute.yandex-cloud.upjet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Disk_Kind             = "Disk"
	Disk_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Disk_Kind}.String()
	Disk_KindAPIVersion   = Disk_Kind + "." + CRDGroupVersion.String()
	Disk_GroupVersionKind = CRDGroupVersion.WithKind(Disk_Kind)
)

Repository type metadata.

View Source
var (
	DiskPlacementGroup_Kind             = "DiskPlacementGroup"
	DiskPlacementGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DiskPlacementGroup_Kind}.String()
	DiskPlacementGroup_KindAPIVersion   = DiskPlacementGroup_Kind + "." + CRDGroupVersion.String()
	DiskPlacementGroup_GroupVersionKind = CRDGroupVersion.WithKind(DiskPlacementGroup_Kind)
)

Repository type metadata.

View Source
var (
	Filesystem_Kind             = "Filesystem"
	Filesystem_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Filesystem_Kind}.String()
	Filesystem_KindAPIVersion   = Filesystem_Kind + "." + CRDGroupVersion.String()
	Filesystem_GroupVersionKind = CRDGroupVersion.WithKind(Filesystem_Kind)
)

Repository type metadata.

View Source
var (
	GpuCluster_Kind             = "GpuCluster"
	GpuCluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GpuCluster_Kind}.String()
	GpuCluster_KindAPIVersion   = GpuCluster_Kind + "." + CRDGroupVersion.String()
	GpuCluster_GroupVersionKind = CRDGroupVersion.WithKind(GpuCluster_Kind)
)

Repository type metadata.

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Image_Kind             = "Image"
	Image_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Image_Kind}.String()
	Image_KindAPIVersion   = Image_Kind + "." + CRDGroupVersion.String()
	Image_GroupVersionKind = CRDGroupVersion.WithKind(Image_Kind)
)

Repository type metadata.

View Source
var (
	Instance_Kind             = "Instance"
	Instance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String()
	Instance_KindAPIVersion   = Instance_Kind + "." + CRDGroupVersion.String()
	Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind)
)

Repository type metadata.

View Source
var (
	InstanceGroup_Kind             = "InstanceGroup"
	InstanceGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: InstanceGroup_Kind}.String()
	InstanceGroup_KindAPIVersion   = InstanceGroup_Kind + "." + CRDGroupVersion.String()
	InstanceGroup_GroupVersionKind = CRDGroupVersion.WithKind(InstanceGroup_Kind)
)

Repository type metadata.

View Source
var (
	PlacementGroup_Kind             = "PlacementGroup"
	PlacementGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PlacementGroup_Kind}.String()
	PlacementGroup_KindAPIVersion   = PlacementGroup_Kind + "." + CRDGroupVersion.String()
	PlacementGroup_GroupVersionKind = CRDGroupVersion.WithKind(PlacementGroup_Kind)
)

Repository type metadata.

View Source
var (
	Snapshot_Kind             = "Snapshot"
	Snapshot_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Snapshot_Kind}.String()
	Snapshot_KindAPIVersion   = Snapshot_Kind + "." + CRDGroupVersion.String()
	Snapshot_GroupVersionKind = CRDGroupVersion.WithKind(Snapshot_Kind)
)

Repository type metadata.

View Source
var (
	SnapshotSchedule_Kind             = "SnapshotSchedule"
	SnapshotSchedule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SnapshotSchedule_Kind}.String()
	SnapshotSchedule_KindAPIVersion   = SnapshotSchedule_Kind + "." + CRDGroupVersion.String()
	SnapshotSchedule_GroupVersionKind = CRDGroupVersion.WithKind(SnapshotSchedule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AllocationPolicyInitParameters

type AllocationPolicyInitParameters struct {

	// Array of availability zone IDs with list of instance tags.
	InstanceTagsPool []InstanceTagsPoolInitParameters `json:"instanceTagsPool,omitempty" tf:"instance_tags_pool,omitempty"`

	// A list of availability zones.
	// +listType=set
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*AllocationPolicyInitParameters) DeepCopy

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

func (*AllocationPolicyInitParameters) DeepCopyInto

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

type AllocationPolicyObservation

type AllocationPolicyObservation struct {

	// Array of availability zone IDs with list of instance tags.
	InstanceTagsPool []InstanceTagsPoolObservation `json:"instanceTagsPool,omitempty" tf:"instance_tags_pool,omitempty"`

	// A list of availability zones.
	// +listType=set
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*AllocationPolicyObservation) DeepCopy

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

func (*AllocationPolicyObservation) DeepCopyInto

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

type AllocationPolicyParameters

type AllocationPolicyParameters struct {

	// Array of availability zone IDs with list of instance tags.
	// +kubebuilder:validation:Optional
	InstanceTagsPool []InstanceTagsPoolParameters `json:"instanceTagsPool,omitempty" tf:"instance_tags_pool,omitempty"`

	// A list of availability zones.
	// +kubebuilder:validation:Optional
	// +listType=set
	Zones []*string `json:"zones" tf:"zones,omitempty"`
}

func (*AllocationPolicyParameters) DeepCopy

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

func (*AllocationPolicyParameters) DeepCopyInto

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

type ApplicationLoadBalancerInitParameters

type ApplicationLoadBalancerInitParameters struct {

	// Do not wait load balancer health checks.
	IgnoreHealthChecks *bool `json:"ignoreHealthChecks,omitempty" tf:"ignore_health_checks,omitempty"`

	// Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
	MaxOpeningTrafficDuration *float64 `json:"maxOpeningTrafficDuration,omitempty" tf:"max_opening_traffic_duration,omitempty"`

	// A description of the target group.
	TargetGroupDescription *string `json:"targetGroupDescription,omitempty" tf:"target_group_description,omitempty"`

	// A set of key/value label pairs.
	// +mapType=granular
	TargetGroupLabels map[string]*string `json:"targetGroupLabels,omitempty" tf:"target_group_labels,omitempty"`

	// The name of the target group.
	TargetGroupName *string `json:"targetGroupName,omitempty" tf:"target_group_name,omitempty"`
}

func (*ApplicationLoadBalancerInitParameters) DeepCopy

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

func (*ApplicationLoadBalancerInitParameters) DeepCopyInto

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

type ApplicationLoadBalancerObservation

type ApplicationLoadBalancerObservation struct {

	// Do not wait load balancer health checks.
	IgnoreHealthChecks *bool `json:"ignoreHealthChecks,omitempty" tf:"ignore_health_checks,omitempty"`

	// Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
	MaxOpeningTrafficDuration *float64 `json:"maxOpeningTrafficDuration,omitempty" tf:"max_opening_traffic_duration,omitempty"`

	// The status message of the target group.
	StatusMessage *string `json:"statusMessage,omitempty" tf:"status_message,omitempty"`

	// A description of the target group.
	TargetGroupDescription *string `json:"targetGroupDescription,omitempty" tf:"target_group_description,omitempty"`

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

	// A set of key/value label pairs.
	// +mapType=granular
	TargetGroupLabels map[string]*string `json:"targetGroupLabels,omitempty" tf:"target_group_labels,omitempty"`

	// The name of the target group.
	TargetGroupName *string `json:"targetGroupName,omitempty" tf:"target_group_name,omitempty"`
}

func (*ApplicationLoadBalancerObservation) DeepCopy

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

func (*ApplicationLoadBalancerObservation) DeepCopyInto

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

type ApplicationLoadBalancerParameters

type ApplicationLoadBalancerParameters struct {

	// Do not wait load balancer health checks.
	// +kubebuilder:validation:Optional
	IgnoreHealthChecks *bool `json:"ignoreHealthChecks,omitempty" tf:"ignore_health_checks,omitempty"`

	// Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
	// +kubebuilder:validation:Optional
	MaxOpeningTrafficDuration *float64 `json:"maxOpeningTrafficDuration,omitempty" tf:"max_opening_traffic_duration,omitempty"`

	// A description of the target group.
	// +kubebuilder:validation:Optional
	TargetGroupDescription *string `json:"targetGroupDescription,omitempty" tf:"target_group_description,omitempty"`

	// A set of key/value label pairs.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	TargetGroupLabels map[string]*string `json:"targetGroupLabels,omitempty" tf:"target_group_labels,omitempty"`

	// The name of the target group.
	// +kubebuilder:validation:Optional
	TargetGroupName *string `json:"targetGroupName,omitempty" tf:"target_group_name,omitempty"`
}

func (*ApplicationLoadBalancerParameters) DeepCopy

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

func (*ApplicationLoadBalancerParameters) DeepCopyInto

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

type AutoScaleInitParameters

type AutoScaleInitParameters struct {

	// Target CPU load level.
	CPUUtilizationTarget *float64 `json:"cpuUtilizationTarget,omitempty" tf:"cpu_utilization_target,omitempty"`

	// A list of custom rules. The structure is documented below.
	CustomRule []CustomRuleInitParameters `json:"customRule,omitempty" tf:"custom_rule,omitempty"`

	// The initial number of instances in the instance group.
	InitialSize *float64 `json:"initialSize,omitempty" tf:"initial_size,omitempty"`

	// The maximum number of virtual machines in the group.
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// The amount of time, in seconds, that metrics are averaged for.
	// If the average value at the end of the interval is higher than the cpu_utilization_target,
	// the instance group will increase the number of virtual machines in the group.
	MeasurementDuration *float64 `json:"measurementDuration,omitempty" tf:"measurement_duration,omitempty"`

	// The minimum number of virtual machines in a single availability zone.
	MinZoneSize *float64 `json:"minZoneSize,omitempty" tf:"min_zone_size,omitempty"`

	// The minimum time interval, in seconds, to monitor the load before
	// an instance group can reduce the number of virtual machines in the group. During this time, the group
	// will not decrease even if the average load falls below the value of cpu_utilization_target.
	StabilizationDuration *float64 `json:"stabilizationDuration,omitempty" tf:"stabilization_duration,omitempty"`

	// The warm-up time of the virtual machine, in seconds. During this time,
	// traffic is fed to the virtual machine, but load metrics are not taken into account.
	WarmupDuration *float64 `json:"warmupDuration,omitempty" tf:"warmup_duration,omitempty"`
}

func (*AutoScaleInitParameters) DeepCopy

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

func (*AutoScaleInitParameters) DeepCopyInto

func (in *AutoScaleInitParameters) DeepCopyInto(out *AutoScaleInitParameters)

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

type AutoScaleObservation

type AutoScaleObservation struct {

	// Target CPU load level.
	CPUUtilizationTarget *float64 `json:"cpuUtilizationTarget,omitempty" tf:"cpu_utilization_target,omitempty"`

	// A list of custom rules. The structure is documented below.
	CustomRule []CustomRuleObservation `json:"customRule,omitempty" tf:"custom_rule,omitempty"`

	// The initial number of instances in the instance group.
	InitialSize *float64 `json:"initialSize,omitempty" tf:"initial_size,omitempty"`

	// The maximum number of virtual machines in the group.
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// The amount of time, in seconds, that metrics are averaged for.
	// If the average value at the end of the interval is higher than the cpu_utilization_target,
	// the instance group will increase the number of virtual machines in the group.
	MeasurementDuration *float64 `json:"measurementDuration,omitempty" tf:"measurement_duration,omitempty"`

	// The minimum number of virtual machines in a single availability zone.
	MinZoneSize *float64 `json:"minZoneSize,omitempty" tf:"min_zone_size,omitempty"`

	// The minimum time interval, in seconds, to monitor the load before
	// an instance group can reduce the number of virtual machines in the group. During this time, the group
	// will not decrease even if the average load falls below the value of cpu_utilization_target.
	StabilizationDuration *float64 `json:"stabilizationDuration,omitempty" tf:"stabilization_duration,omitempty"`

	// The warm-up time of the virtual machine, in seconds. During this time,
	// traffic is fed to the virtual machine, but load metrics are not taken into account.
	WarmupDuration *float64 `json:"warmupDuration,omitempty" tf:"warmup_duration,omitempty"`
}

func (*AutoScaleObservation) DeepCopy

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

func (*AutoScaleObservation) DeepCopyInto

func (in *AutoScaleObservation) DeepCopyInto(out *AutoScaleObservation)

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

type AutoScaleParameters

type AutoScaleParameters struct {

	// Target CPU load level.
	// +kubebuilder:validation:Optional
	CPUUtilizationTarget *float64 `json:"cpuUtilizationTarget,omitempty" tf:"cpu_utilization_target,omitempty"`

	// A list of custom rules. The structure is documented below.
	// +kubebuilder:validation:Optional
	CustomRule []CustomRuleParameters `json:"customRule,omitempty" tf:"custom_rule,omitempty"`

	// The initial number of instances in the instance group.
	// +kubebuilder:validation:Optional
	InitialSize *float64 `json:"initialSize" tf:"initial_size,omitempty"`

	// The maximum number of virtual machines in the group.
	// +kubebuilder:validation:Optional
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// The amount of time, in seconds, that metrics are averaged for.
	// If the average value at the end of the interval is higher than the cpu_utilization_target,
	// the instance group will increase the number of virtual machines in the group.
	// +kubebuilder:validation:Optional
	MeasurementDuration *float64 `json:"measurementDuration" tf:"measurement_duration,omitempty"`

	// The minimum number of virtual machines in a single availability zone.
	// +kubebuilder:validation:Optional
	MinZoneSize *float64 `json:"minZoneSize,omitempty" tf:"min_zone_size,omitempty"`

	// The minimum time interval, in seconds, to monitor the load before
	// an instance group can reduce the number of virtual machines in the group. During this time, the group
	// will not decrease even if the average load falls below the value of cpu_utilization_target.
	// +kubebuilder:validation:Optional
	StabilizationDuration *float64 `json:"stabilizationDuration,omitempty" tf:"stabilization_duration,omitempty"`

	// The warm-up time of the virtual machine, in seconds. During this time,
	// traffic is fed to the virtual machine, but load metrics are not taken into account.
	// +kubebuilder:validation:Optional
	WarmupDuration *float64 `json:"warmupDuration,omitempty" tf:"warmup_duration,omitempty"`
}

func (*AutoScaleParameters) DeepCopy

func (in *AutoScaleParameters) DeepCopy() *AutoScaleParameters

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

func (*AutoScaleParameters) DeepCopyInto

func (in *AutoScaleParameters) DeepCopyInto(out *AutoScaleParameters)

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

type BootDiskInitParameters

type BootDiskInitParameters struct {

	// Defines whether the disk will be auto-deleted when the instance
	// is deleted. The default value is True.
	AutoDelete *bool `json:"autoDelete,omitempty" tf:"auto_delete,omitempty"`

	// Name that can be used to access an attached disk.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// The ID of the existing disk (such as those managed by
	// yandex_compute_disk) to attach as a boot disk.
	// +crossplane:generate:reference:type=Disk
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Reference to a Disk to populate diskId.
	// +kubebuilder:validation:Optional
	DiskIDRef *v1.Reference `json:"diskIdRef,omitempty" tf:"-"`

	// Selector for a Disk to populate diskId.
	// +kubebuilder:validation:Optional
	DiskIDSelector *v1.Selector `json:"diskIdSelector,omitempty" tf:"-"`

	// Parameters for a new disk that will be created
	// alongside the new instance. Either initialize_params or disk_id must be set. The structure is documented below.
	InitializeParams []InitializeParamsInitParameters `json:"initializeParams,omitempty" tf:"initialize_params,omitempty"`

	// Type of access to the disk resource. By default, a disk is attached in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*BootDiskInitParameters) DeepCopy

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

func (*BootDiskInitParameters) DeepCopyInto

func (in *BootDiskInitParameters) DeepCopyInto(out *BootDiskInitParameters)

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

type BootDiskInitializeParamsInitParameters

type BootDiskInitializeParamsInitParameters struct {

	// A description of the instance.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The disk image to initialize this disk from.
	// +crossplane:generate:reference:type=Image
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// Reference to a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDRef *v1.Reference `json:"imageIdRef,omitempty" tf:"-"`

	// Selector for a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDSelector *v1.Selector `json:"imageIdSelector,omitempty" tf:"-"`

	// The size of the disk in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The snapshot to initialize this disk from.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Network acceleration type. By default a network is in STANDARD mode.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*BootDiskInitializeParamsInitParameters) DeepCopy

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

func (*BootDiskInitializeParamsInitParameters) DeepCopyInto

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

type BootDiskInitializeParamsObservation

type BootDiskInitializeParamsObservation struct {

	// A description of the instance.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The disk image to initialize this disk from.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The size of the disk in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The snapshot to initialize this disk from.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Network acceleration type. By default a network is in STANDARD mode.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*BootDiskInitializeParamsObservation) DeepCopy

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

func (*BootDiskInitializeParamsObservation) DeepCopyInto

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

type BootDiskInitializeParamsParameters

type BootDiskInitializeParamsParameters struct {

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

	// The disk image to initialize this disk from.
	// +crossplane:generate:reference:type=Image
	// +kubebuilder:validation:Optional
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// Reference to a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDRef *v1.Reference `json:"imageIdRef,omitempty" tf:"-"`

	// Selector for a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDSelector *v1.Selector `json:"imageIdSelector,omitempty" tf:"-"`

	// The size of the disk in GB.
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The snapshot to initialize this disk from.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Network acceleration type. By default a network is in STANDARD mode.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*BootDiskInitializeParamsParameters) DeepCopy

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

func (*BootDiskInitializeParamsParameters) DeepCopyInto

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

type BootDiskObservation

type BootDiskObservation struct {

	// Defines whether the disk will be auto-deleted when the instance
	// is deleted. The default value is True.
	AutoDelete *bool `json:"autoDelete,omitempty" tf:"auto_delete,omitempty"`

	// Name that can be used to access an attached disk.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// The ID of the existing disk (such as those managed by
	// yandex_compute_disk) to attach as a boot disk.
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Parameters for a new disk that will be created
	// alongside the new instance. Either initialize_params or disk_id must be set. The structure is documented below.
	InitializeParams []InitializeParamsObservation `json:"initializeParams,omitempty" tf:"initialize_params,omitempty"`

	// Type of access to the disk resource. By default, a disk is attached in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*BootDiskObservation) DeepCopy

func (in *BootDiskObservation) DeepCopy() *BootDiskObservation

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

func (*BootDiskObservation) DeepCopyInto

func (in *BootDiskObservation) DeepCopyInto(out *BootDiskObservation)

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

type BootDiskParameters

type BootDiskParameters struct {

	// Defines whether the disk will be auto-deleted when the instance
	// is deleted. The default value is True.
	// +kubebuilder:validation:Optional
	AutoDelete *bool `json:"autoDelete,omitempty" tf:"auto_delete,omitempty"`

	// Name that can be used to access an attached disk.
	// +kubebuilder:validation:Optional
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// The ID of the existing disk (such as those managed by
	// yandex_compute_disk) to attach as a boot disk.
	// +crossplane:generate:reference:type=Disk
	// +kubebuilder:validation:Optional
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Reference to a Disk to populate diskId.
	// +kubebuilder:validation:Optional
	DiskIDRef *v1.Reference `json:"diskIdRef,omitempty" tf:"-"`

	// Selector for a Disk to populate diskId.
	// +kubebuilder:validation:Optional
	DiskIDSelector *v1.Selector `json:"diskIdSelector,omitempty" tf:"-"`

	// Parameters for a new disk that will be created
	// alongside the new instance. Either initialize_params or disk_id must be set. The structure is documented below.
	// +kubebuilder:validation:Optional
	InitializeParams []InitializeParamsParameters `json:"initializeParams,omitempty" tf:"initialize_params,omitempty"`

	// Type of access to the disk resource. By default, a disk is attached in READ_WRITE mode.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*BootDiskParameters) DeepCopy

func (in *BootDiskParameters) DeepCopy() *BootDiskParameters

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

func (*BootDiskParameters) DeepCopyInto

func (in *BootDiskParameters) DeepCopyInto(out *BootDiskParameters)

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

type CustomRuleInitParameters

type CustomRuleInitParameters struct {

	// The ID of the folder that the resources belong to.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// The name of metric.
	MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"`

	// Metric type, GAUGE or COUNTER.
	MetricType *string `json:"metricType,omitempty" tf:"metric_type,omitempty"`

	// Rule type: UTILIZATION - This type means that the metric applies to one instance.
	// First, Instance Groups calculates the average metric value for each instance,
	// then averages the values for instances in one availability zone.
	// This type of metric must have the instance_id label. WORKLOAD - This type means that the metric applies to instances in one availability zone.
	// This type of metric must have the zone_id label.
	RuleType *string `json:"ruleType,omitempty" tf:"rule_type,omitempty"`

	// Service of custom metric in Yandex Monitoring that should be used for scaling.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// Target metric value level.
	Target *float64 `json:"target,omitempty" tf:"target,omitempty"`
}

func (*CustomRuleInitParameters) DeepCopy

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

func (*CustomRuleInitParameters) DeepCopyInto

func (in *CustomRuleInitParameters) DeepCopyInto(out *CustomRuleInitParameters)

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

type CustomRuleObservation

type CustomRuleObservation struct {

	// The ID of the folder that the resources belong to.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// The name of metric.
	MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"`

	// Metric type, GAUGE or COUNTER.
	MetricType *string `json:"metricType,omitempty" tf:"metric_type,omitempty"`

	// Rule type: UTILIZATION - This type means that the metric applies to one instance.
	// First, Instance Groups calculates the average metric value for each instance,
	// then averages the values for instances in one availability zone.
	// This type of metric must have the instance_id label. WORKLOAD - This type means that the metric applies to instances in one availability zone.
	// This type of metric must have the zone_id label.
	RuleType *string `json:"ruleType,omitempty" tf:"rule_type,omitempty"`

	// Service of custom metric in Yandex Monitoring that should be used for scaling.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// Target metric value level.
	Target *float64 `json:"target,omitempty" tf:"target,omitempty"`
}

func (*CustomRuleObservation) DeepCopy

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

func (*CustomRuleObservation) DeepCopyInto

func (in *CustomRuleObservation) DeepCopyInto(out *CustomRuleObservation)

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

type CustomRuleParameters

type CustomRuleParameters struct {

	// The ID of the folder that the resources belong to.
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// The name of metric.
	// +kubebuilder:validation:Optional
	MetricName *string `json:"metricName" tf:"metric_name,omitempty"`

	// Metric type, GAUGE or COUNTER.
	// +kubebuilder:validation:Optional
	MetricType *string `json:"metricType" tf:"metric_type,omitempty"`

	// Rule type: UTILIZATION - This type means that the metric applies to one instance.
	// First, Instance Groups calculates the average metric value for each instance,
	// then averages the values for instances in one availability zone.
	// This type of metric must have the instance_id label. WORKLOAD - This type means that the metric applies to instances in one availability zone.
	// This type of metric must have the zone_id label.
	// +kubebuilder:validation:Optional
	RuleType *string `json:"ruleType" tf:"rule_type,omitempty"`

	// Service of custom metric in Yandex Monitoring that should be used for scaling.
	// +kubebuilder:validation:Optional
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// Target metric value level.
	// +kubebuilder:validation:Optional
	Target *float64 `json:"target" tf:"target,omitempty"`
}

func (*CustomRuleParameters) DeepCopy

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

func (*CustomRuleParameters) DeepCopyInto

func (in *CustomRuleParameters) DeepCopyInto(out *CustomRuleParameters)

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

type DNSRecordInitParameters

type DNSRecordInitParameters struct {

	// DNS zone ID (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record FQDN (must have a dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create a PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL. in seconds
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*DNSRecordInitParameters) DeepCopy

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

func (*DNSRecordInitParameters) DeepCopyInto

func (in *DNSRecordInitParameters) DeepCopyInto(out *DNSRecordInitParameters)

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

type DNSRecordObservation

type DNSRecordObservation struct {

	// DNS zone ID (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record FQDN (must have a dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create a PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL. in seconds
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*DNSRecordObservation) DeepCopy

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

func (*DNSRecordObservation) DeepCopyInto

func (in *DNSRecordObservation) DeepCopyInto(out *DNSRecordObservation)

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

type DNSRecordParameters

type DNSRecordParameters struct {

	// DNS zone ID (if not set, private zone used).
	// +kubebuilder:validation:Optional
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record FQDN (must have a dot at the end).
	// +kubebuilder:validation:Optional
	Fqdn *string `json:"fqdn" tf:"fqdn,omitempty"`

	// When set to true, also create a PTR DNS record.
	// +kubebuilder:validation:Optional
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL. in seconds
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*DNSRecordParameters) DeepCopy

func (in *DNSRecordParameters) DeepCopy() *DNSRecordParameters

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

func (*DNSRecordParameters) DeepCopyInto

func (in *DNSRecordParameters) DeepCopyInto(out *DNSRecordParameters)

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

type DeployPolicyInitParameters

type DeployPolicyInitParameters struct {

	// The maximum number of instances that can be created at the same time.
	MaxCreating *float64 `json:"maxCreating,omitempty" tf:"max_creating,omitempty"`

	// The maximum number of instances that can be deleted at the same time.
	MaxDeleting *float64 `json:"maxDeleting,omitempty" tf:"max_deleting,omitempty"`

	// The maximum number of instances that can be temporarily allocated above the group's target size
	// during the update process.
	MaxExpansion *float64 `json:"maxExpansion,omitempty" tf:"max_expansion,omitempty"`

	// The maximum number of running instances that can be taken offline (stopped or deleted) at the same time
	// during the update process.
	MaxUnavailable *float64 `json:"maxUnavailable,omitempty" tf:"max_unavailable,omitempty"`

	// The amount of time in seconds to allow for an instance to start.
	// Instance will be considered up and running (and start receiving traffic) only after the startup_duration
	// has elapsed and all health checks are passed.
	StartupDuration *float64 `json:"startupDuration,omitempty" tf:"startup_duration,omitempty"`

	// Affects the lifecycle of the instance during deployment. If set to proactive (default), Instance Groups
	// can forcefully stop a running instance. If opportunistic, Instance Groups does not stop a running instance. Instead,
	// it will wait until the instance stops itself or becomes unhealthy.
	Strategy *string `json:"strategy,omitempty" tf:"strategy,omitempty"`
}

func (*DeployPolicyInitParameters) DeepCopy

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

func (*DeployPolicyInitParameters) DeepCopyInto

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

type DeployPolicyObservation

type DeployPolicyObservation struct {

	// The maximum number of instances that can be created at the same time.
	MaxCreating *float64 `json:"maxCreating,omitempty" tf:"max_creating,omitempty"`

	// The maximum number of instances that can be deleted at the same time.
	MaxDeleting *float64 `json:"maxDeleting,omitempty" tf:"max_deleting,omitempty"`

	// The maximum number of instances that can be temporarily allocated above the group's target size
	// during the update process.
	MaxExpansion *float64 `json:"maxExpansion,omitempty" tf:"max_expansion,omitempty"`

	// The maximum number of running instances that can be taken offline (stopped or deleted) at the same time
	// during the update process.
	MaxUnavailable *float64 `json:"maxUnavailable,omitempty" tf:"max_unavailable,omitempty"`

	// The amount of time in seconds to allow for an instance to start.
	// Instance will be considered up and running (and start receiving traffic) only after the startup_duration
	// has elapsed and all health checks are passed.
	StartupDuration *float64 `json:"startupDuration,omitempty" tf:"startup_duration,omitempty"`

	// Affects the lifecycle of the instance during deployment. If set to proactive (default), Instance Groups
	// can forcefully stop a running instance. If opportunistic, Instance Groups does not stop a running instance. Instead,
	// it will wait until the instance stops itself or becomes unhealthy.
	Strategy *string `json:"strategy,omitempty" tf:"strategy,omitempty"`
}

func (*DeployPolicyObservation) DeepCopy

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

func (*DeployPolicyObservation) DeepCopyInto

func (in *DeployPolicyObservation) DeepCopyInto(out *DeployPolicyObservation)

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

type DeployPolicyParameters

type DeployPolicyParameters struct {

	// The maximum number of instances that can be created at the same time.
	// +kubebuilder:validation:Optional
	MaxCreating *float64 `json:"maxCreating,omitempty" tf:"max_creating,omitempty"`

	// The maximum number of instances that can be deleted at the same time.
	// +kubebuilder:validation:Optional
	MaxDeleting *float64 `json:"maxDeleting,omitempty" tf:"max_deleting,omitempty"`

	// The maximum number of instances that can be temporarily allocated above the group's target size
	// during the update process.
	// +kubebuilder:validation:Optional
	MaxExpansion *float64 `json:"maxExpansion" tf:"max_expansion,omitempty"`

	// The maximum number of running instances that can be taken offline (stopped or deleted) at the same time
	// during the update process.
	// +kubebuilder:validation:Optional
	MaxUnavailable *float64 `json:"maxUnavailable" tf:"max_unavailable,omitempty"`

	// The amount of time in seconds to allow for an instance to start.
	// Instance will be considered up and running (and start receiving traffic) only after the startup_duration
	// has elapsed and all health checks are passed.
	// +kubebuilder:validation:Optional
	StartupDuration *float64 `json:"startupDuration,omitempty" tf:"startup_duration,omitempty"`

	// Affects the lifecycle of the instance during deployment. If set to proactive (default), Instance Groups
	// can forcefully stop a running instance. If opportunistic, Instance Groups does not stop a running instance. Instead,
	// it will wait until the instance stops itself or becomes unhealthy.
	// +kubebuilder:validation:Optional
	Strategy *string `json:"strategy,omitempty" tf:"strategy,omitempty"`
}

func (*DeployPolicyParameters) DeepCopy

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

func (*DeployPolicyParameters) DeepCopyInto

func (in *DeployPolicyParameters) DeepCopyInto(out *DeployPolicyParameters)

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

type Disk

type Disk struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DiskSpec   `json:"spec"`
	Status            DiskStatus `json:"status,omitempty"`
}

Disk is the Schema for the Disks API. Persistent disks are durable storage devices that function similarly to the physical disks in a desktop or a server. +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 (*Disk) DeepCopy

func (in *Disk) DeepCopy() *Disk

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

func (*Disk) DeepCopyInto

func (in *Disk) DeepCopyInto(out *Disk)

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

func (*Disk) DeepCopyObject

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

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

func (*Disk) GetCondition

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

GetCondition of this Disk.

func (*Disk) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Disk

func (*Disk) GetDeletionPolicy

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

GetDeletionPolicy of this Disk.

func (*Disk) GetID

func (tr *Disk) GetID() string

GetID returns ID of underlying Terraform resource of this Disk

func (*Disk) GetInitParameters

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

GetInitParameters of this Disk

func (*Disk) GetManagementPolicies

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

GetManagementPolicies of this Disk.

func (*Disk) GetMergedParameters added in v0.1.3

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

GetInitParameters of this Disk

func (*Disk) GetObservation

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

GetObservation of this Disk

func (*Disk) GetParameters

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

GetParameters of this Disk

func (*Disk) GetProviderConfigReference

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

GetProviderConfigReference of this Disk.

func (*Disk) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Disk.

func (*Disk) GetTerraformResourceType

func (mg *Disk) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Disk

func (*Disk) GetTerraformSchemaVersion

func (tr *Disk) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Disk) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Disk.

func (*Disk) Hub added in v0.2.0

func (tr *Disk) Hub()

Hub marks this type as a conversion hub.

func (*Disk) LateInitialize

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

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

func (*Disk) ResolveReferences

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

ResolveReferences of this Disk.

func (*Disk) SetConditions

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

SetConditions of this Disk.

func (*Disk) SetDeletionPolicy

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

SetDeletionPolicy of this Disk.

func (*Disk) SetManagementPolicies

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

SetManagementPolicies of this Disk.

func (*Disk) SetObservation

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

SetObservation for this Disk

func (*Disk) SetParameters

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

SetParameters for this Disk

func (*Disk) SetProviderConfigReference

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

SetProviderConfigReference of this Disk.

func (*Disk) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Disk.

func (*Disk) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Disk.

type DiskInitParameters

type DiskInitParameters struct {

	// Default is 5 minutes.
	AllowRecreate *bool `json:"allowRecreate,omitempty" tf:"allow_recreate,omitempty"`

	// Block size of the disk, specified in bytes.
	BlockSize *float64 `json:"blockSize,omitempty" tf:"block_size,omitempty"`

	// Description of the disk. Provide this property when
	// you create a resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Disk placement policy configuration. The structure is documented below.
	DiskPlacementPolicy []DiskPlacementPolicyInitParameters `json:"diskPlacementPolicy,omitempty" tf:"disk_placement_policy,omitempty"`

	// The ID of the folder that the disk belongs to.
	// If it is not provided, the default 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:"-"`

	// The source image to use for disk creation.
	// +crossplane:generate:reference:type=Image
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// Reference to a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDRef *v1.Reference `json:"imageIdRef,omitempty" tf:"-"`

	// Selector for a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDSelector *v1.Selector `json:"imageIdSelector,omitempty" tf:"-"`

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

	// Name of the disk. Provide this property when
	// you create a resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Size of the persistent disk, specified in GB. You can specify this
	// field when creating a persistent disk using the image_id or snapshot_id
	// parameter, or specify it alone to create an empty persistent disk.
	// If you specify this field along with image_id or snapshot_id,
	// the size value must not be less than the size of the source image
	// or the size of the snapshot.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The source snapshot to use for disk creation.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Type of disk to create. Provide this when creating a disk.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Availability zone where the disk will reside.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*DiskInitParameters) DeepCopy

func (in *DiskInitParameters) DeepCopy() *DiskInitParameters

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

func (*DiskInitParameters) DeepCopyInto

func (in *DiskInitParameters) DeepCopyInto(out *DiskInitParameters)

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

type DiskList

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

DiskList contains a list of Disks

func (*DiskList) DeepCopy

func (in *DiskList) DeepCopy() *DiskList

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

func (*DiskList) DeepCopyInto

func (in *DiskList) DeepCopyInto(out *DiskList)

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

func (*DiskList) DeepCopyObject

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

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

func (*DiskList) GetItems

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

GetItems of this DiskList.

type DiskObservation

type DiskObservation struct {

	// Default is 5 minutes.
	AllowRecreate *bool `json:"allowRecreate,omitempty" tf:"allow_recreate,omitempty"`

	// Block size of the disk, specified in bytes.
	BlockSize *float64 `json:"blockSize,omitempty" tf:"block_size,omitempty"`

	// Creation timestamp of the disk.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the disk. Provide this property when
	// you create a resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Disk placement policy configuration. The structure is documented below.
	DiskPlacementPolicy []DiskPlacementPolicyObservation `json:"diskPlacementPolicy,omitempty" tf:"disk_placement_policy,omitempty"`

	// The ID of the folder that the disk belongs to.
	// If it is not provided, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The source image to use for disk creation.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

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

	// Name of the disk. Provide this property when
	// you create a resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	ProductIds []*string `json:"productIds,omitempty" tf:"product_ids,omitempty"`

	// Size of the persistent disk, specified in GB. You can specify this
	// field when creating a persistent disk using the image_id or snapshot_id
	// parameter, or specify it alone to create an empty persistent disk.
	// If you specify this field along with image_id or snapshot_id,
	// the size value must not be less than the size of the source image
	// or the size of the snapshot.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The source snapshot to use for disk creation.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// The status of the disk.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Type of disk to create. Provide this when creating a disk.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Availability zone where the disk will reside.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*DiskObservation) DeepCopy

func (in *DiskObservation) DeepCopy() *DiskObservation

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

func (*DiskObservation) DeepCopyInto

func (in *DiskObservation) DeepCopyInto(out *DiskObservation)

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

type DiskParameters

type DiskParameters struct {

	// Default is 5 minutes.
	// +kubebuilder:validation:Optional
	AllowRecreate *bool `json:"allowRecreate,omitempty" tf:"allow_recreate,omitempty"`

	// Block size of the disk, specified in bytes.
	// +kubebuilder:validation:Optional
	BlockSize *float64 `json:"blockSize,omitempty" tf:"block_size,omitempty"`

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

	// Disk placement policy configuration. The structure is documented below.
	// +kubebuilder:validation:Optional
	DiskPlacementPolicy []DiskPlacementPolicyParameters `json:"diskPlacementPolicy,omitempty" tf:"disk_placement_policy,omitempty"`

	// The ID of the folder that the disk belongs to.
	// If it is not provided, the default 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:"-"`

	// The source image to use for disk creation.
	// +crossplane:generate:reference:type=Image
	// +kubebuilder:validation:Optional
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// Reference to a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDRef *v1.Reference `json:"imageIdRef,omitempty" tf:"-"`

	// Selector for a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDSelector *v1.Selector `json:"imageIdSelector,omitempty" tf:"-"`

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

	// Name of the disk. Provide this property when
	// you create a resource.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Size of the persistent disk, specified in GB. You can specify this
	// field when creating a persistent disk using the image_id or snapshot_id
	// parameter, or specify it alone to create an empty persistent disk.
	// If you specify this field along with image_id or snapshot_id,
	// the size value must not be less than the size of the source image
	// or the size of the snapshot.
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The source snapshot to use for disk creation.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Type of disk to create. Provide this when creating a disk.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Availability zone where the disk will reside.
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*DiskParameters) DeepCopy

func (in *DiskParameters) DeepCopy() *DiskParameters

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

func (*DiskParameters) DeepCopyInto

func (in *DiskParameters) DeepCopyInto(out *DiskParameters)

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

type DiskPlacementGroup

type DiskPlacementGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DiskPlacementGroupSpec   `json:"spec"`
	Status            DiskPlacementGroupStatus `json:"status,omitempty"`
}

DiskPlacementGroup is the Schema for the DiskPlacementGroups API. Manages a Disk Placement Group resource. +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 (*DiskPlacementGroup) DeepCopy

func (in *DiskPlacementGroup) DeepCopy() *DiskPlacementGroup

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

func (*DiskPlacementGroup) DeepCopyInto

func (in *DiskPlacementGroup) DeepCopyInto(out *DiskPlacementGroup)

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

func (*DiskPlacementGroup) DeepCopyObject

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

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

func (*DiskPlacementGroup) GetCondition

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

GetCondition of this DiskPlacementGroup.

func (*DiskPlacementGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DiskPlacementGroup

func (*DiskPlacementGroup) GetDeletionPolicy

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

GetDeletionPolicy of this DiskPlacementGroup.

func (*DiskPlacementGroup) GetID

func (tr *DiskPlacementGroup) GetID() string

GetID returns ID of underlying Terraform resource of this DiskPlacementGroup

func (*DiskPlacementGroup) GetInitParameters

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

GetInitParameters of this DiskPlacementGroup

func (*DiskPlacementGroup) GetManagementPolicies

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

GetManagementPolicies of this DiskPlacementGroup.

func (*DiskPlacementGroup) GetMergedParameters added in v0.1.3

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

GetInitParameters of this DiskPlacementGroup

func (*DiskPlacementGroup) GetObservation

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

GetObservation of this DiskPlacementGroup

func (*DiskPlacementGroup) GetParameters

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

GetParameters of this DiskPlacementGroup

func (*DiskPlacementGroup) GetProviderConfigReference

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

GetProviderConfigReference of this DiskPlacementGroup.

func (*DiskPlacementGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DiskPlacementGroup.

func (*DiskPlacementGroup) GetTerraformResourceType

func (mg *DiskPlacementGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DiskPlacementGroup

func (*DiskPlacementGroup) GetTerraformSchemaVersion

func (tr *DiskPlacementGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DiskPlacementGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DiskPlacementGroup.

func (*DiskPlacementGroup) Hub added in v0.2.0

func (tr *DiskPlacementGroup) Hub()

Hub marks this type as a conversion hub.

func (*DiskPlacementGroup) LateInitialize

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

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

func (*DiskPlacementGroup) ResolveReferences

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

ResolveReferences of this DiskPlacementGroup.

func (*DiskPlacementGroup) SetConditions

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

SetConditions of this DiskPlacementGroup.

func (*DiskPlacementGroup) SetDeletionPolicy

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

SetDeletionPolicy of this DiskPlacementGroup.

func (*DiskPlacementGroup) SetManagementPolicies

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

SetManagementPolicies of this DiskPlacementGroup.

func (*DiskPlacementGroup) SetObservation

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

SetObservation for this DiskPlacementGroup

func (*DiskPlacementGroup) SetParameters

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

SetParameters for this DiskPlacementGroup

func (*DiskPlacementGroup) SetProviderConfigReference

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

SetProviderConfigReference of this DiskPlacementGroup.

func (*DiskPlacementGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DiskPlacementGroup.

func (*DiskPlacementGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DiskPlacementGroup.

type DiskPlacementGroupInitParameters

type DiskPlacementGroupInitParameters struct {

	// A description of the Disk Placement Group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Folder that the resource belongs to. If value is omitted, the default 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:"-"`

	// A set of key/value label pairs to assign to the Disk Placement Group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the Disk Placement Group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the zone where the Disk Placement Group resides.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*DiskPlacementGroupInitParameters) DeepCopy

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

func (*DiskPlacementGroupInitParameters) DeepCopyInto

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

type DiskPlacementGroupList

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

DiskPlacementGroupList contains a list of DiskPlacementGroups

func (*DiskPlacementGroupList) DeepCopy

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

func (*DiskPlacementGroupList) DeepCopyInto

func (in *DiskPlacementGroupList) DeepCopyInto(out *DiskPlacementGroupList)

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

func (*DiskPlacementGroupList) DeepCopyObject

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

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

func (*DiskPlacementGroupList) GetItems

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

GetItems of this DiskPlacementGroupList.

type DiskPlacementGroupObservation

type DiskPlacementGroupObservation struct {
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// A description of the Disk Placement Group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Folder that the resource belongs to. If value is omitted, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A set of key/value label pairs to assign to the Disk Placement Group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the Disk Placement Group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Status of the Disk Placement Group.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// ID of the zone where the Disk Placement Group resides.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*DiskPlacementGroupObservation) DeepCopy

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

func (*DiskPlacementGroupObservation) DeepCopyInto

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

type DiskPlacementGroupParameters

type DiskPlacementGroupParameters struct {

	// A description of the Disk Placement Group.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Folder that the resource belongs to. If value is omitted, the default 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:"-"`

	// A set of key/value label pairs to assign to the Disk Placement Group.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the Disk Placement Group.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the zone where the Disk Placement Group resides.
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*DiskPlacementGroupParameters) DeepCopy

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

func (*DiskPlacementGroupParameters) DeepCopyInto

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

type DiskPlacementGroupSpec

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

DiskPlacementGroupSpec defines the desired state of DiskPlacementGroup

func (*DiskPlacementGroupSpec) DeepCopy

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

func (*DiskPlacementGroupSpec) DeepCopyInto

func (in *DiskPlacementGroupSpec) DeepCopyInto(out *DiskPlacementGroupSpec)

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

type DiskPlacementGroupStatus

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

DiskPlacementGroupStatus defines the observed state of DiskPlacementGroup.

func (*DiskPlacementGroupStatus) DeepCopy

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

func (*DiskPlacementGroupStatus) DeepCopyInto

func (in *DiskPlacementGroupStatus) DeepCopyInto(out *DiskPlacementGroupStatus)

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

type DiskPlacementPolicyInitParameters

type DiskPlacementPolicyInitParameters struct {

	// Specifies Disk Placement Group id.
	DiskPlacementGroupID *string `json:"diskPlacementGroupId,omitempty" tf:"disk_placement_group_id,omitempty"`
}

func (*DiskPlacementPolicyInitParameters) DeepCopy

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

func (*DiskPlacementPolicyInitParameters) DeepCopyInto

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

type DiskPlacementPolicyObservation

type DiskPlacementPolicyObservation struct {

	// Specifies Disk Placement Group id.
	DiskPlacementGroupID *string `json:"diskPlacementGroupId,omitempty" tf:"disk_placement_group_id,omitempty"`
}

func (*DiskPlacementPolicyObservation) DeepCopy

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

func (*DiskPlacementPolicyObservation) DeepCopyInto

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

type DiskPlacementPolicyParameters

type DiskPlacementPolicyParameters struct {

	// Specifies Disk Placement Group id.
	// +kubebuilder:validation:Optional
	DiskPlacementGroupID *string `json:"diskPlacementGroupId" tf:"disk_placement_group_id,omitempty"`
}

func (*DiskPlacementPolicyParameters) DeepCopy

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

func (*DiskPlacementPolicyParameters) DeepCopyInto

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

type DiskSpec

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

DiskSpec defines the desired state of Disk

func (*DiskSpec) DeepCopy

func (in *DiskSpec) DeepCopy() *DiskSpec

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

func (*DiskSpec) DeepCopyInto

func (in *DiskSpec) DeepCopyInto(out *DiskSpec)

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

type DiskStatus

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

DiskStatus defines the observed state of Disk.

func (*DiskStatus) DeepCopy

func (in *DiskStatus) DeepCopy() *DiskStatus

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

func (*DiskStatus) DeepCopyInto

func (in *DiskStatus) DeepCopyInto(out *DiskStatus)

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

type Filesystem

type Filesystem struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FilesystemSpec   `json:"spec"`
	Status            FilesystemStatus `json:"status,omitempty"`
}

Filesystem is the Schema for the Filesystems API. File storage is a virtual file system that can be attached to multiple Compute Cloud VMs in the same availability zone. +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 (*Filesystem) DeepCopy

func (in *Filesystem) DeepCopy() *Filesystem

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

func (*Filesystem) DeepCopyInto

func (in *Filesystem) DeepCopyInto(out *Filesystem)

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

func (*Filesystem) DeepCopyObject

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

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

func (*Filesystem) GetCondition

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

GetCondition of this Filesystem.

func (*Filesystem) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Filesystem

func (*Filesystem) GetDeletionPolicy

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

GetDeletionPolicy of this Filesystem.

func (*Filesystem) GetID

func (tr *Filesystem) GetID() string

GetID returns ID of underlying Terraform resource of this Filesystem

func (*Filesystem) GetInitParameters

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

GetInitParameters of this Filesystem

func (*Filesystem) GetManagementPolicies

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

GetManagementPolicies of this Filesystem.

func (*Filesystem) GetMergedParameters added in v0.1.3

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

GetInitParameters of this Filesystem

func (*Filesystem) GetObservation

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

GetObservation of this Filesystem

func (*Filesystem) GetParameters

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

GetParameters of this Filesystem

func (*Filesystem) GetProviderConfigReference

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

GetProviderConfigReference of this Filesystem.

func (*Filesystem) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Filesystem.

func (*Filesystem) GetTerraformResourceType

func (mg *Filesystem) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Filesystem

func (*Filesystem) GetTerraformSchemaVersion

func (tr *Filesystem) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Filesystem) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Filesystem.

func (*Filesystem) Hub added in v0.2.0

func (tr *Filesystem) Hub()

Hub marks this type as a conversion hub.

func (*Filesystem) LateInitialize

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

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

func (*Filesystem) ResolveReferences

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

ResolveReferences of this Filesystem.

func (*Filesystem) SetConditions

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

SetConditions of this Filesystem.

func (*Filesystem) SetDeletionPolicy

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

SetDeletionPolicy of this Filesystem.

func (*Filesystem) SetManagementPolicies

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

SetManagementPolicies of this Filesystem.

func (*Filesystem) SetObservation

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

SetObservation for this Filesystem

func (*Filesystem) SetParameters

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

SetParameters for this Filesystem

func (*Filesystem) SetProviderConfigReference

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

SetProviderConfigReference of this Filesystem.

func (*Filesystem) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Filesystem.

func (*Filesystem) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Filesystem.

type FilesystemInitParameters

type FilesystemInitParameters struct {

	// Block size of the filesystem, specified in bytes.
	BlockSize *float64 `json:"blockSize,omitempty" tf:"block_size,omitempty"`

	// Description of the filesystem. Provide this property when you create a resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder that the filesystem belongs to. If it is not provided, the default
	// 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 filesystem. A list of key/value pairs. For details about the concept,
	// see documentation.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the filesystem. Provide this property when you create a resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Size of the filesystem, specified in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// Type of filesystem to create. Type network-hdd is set by default.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Availability zone where the filesystem will reside.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*FilesystemInitParameters) DeepCopy

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

func (*FilesystemInitParameters) DeepCopyInto

func (in *FilesystemInitParameters) DeepCopyInto(out *FilesystemInitParameters)

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

type FilesystemList

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

FilesystemList contains a list of Filesystems

func (*FilesystemList) DeepCopy

func (in *FilesystemList) DeepCopy() *FilesystemList

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

func (*FilesystemList) DeepCopyInto

func (in *FilesystemList) DeepCopyInto(out *FilesystemList)

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

func (*FilesystemList) DeepCopyObject

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

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

func (*FilesystemList) GetItems

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

GetItems of this FilesystemList.

type FilesystemObservation

type FilesystemObservation struct {

	// Block size of the filesystem, specified in bytes.
	BlockSize *float64 `json:"blockSize,omitempty" tf:"block_size,omitempty"`

	// Creation timestamp of the filesystem.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the filesystem. Provide this property when you create a resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder that the filesystem belongs to. If it is not provided, the default
	// provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels to assign to this filesystem. A list of key/value pairs. For details about the concept,
	// see documentation.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the filesystem. Provide this property when you create a resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Size of the filesystem, specified in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The status of the filesystem.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Type of filesystem to create. Type network-hdd is set by default.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Availability zone where the filesystem will reside.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*FilesystemObservation) DeepCopy

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

func (*FilesystemObservation) DeepCopyInto

func (in *FilesystemObservation) DeepCopyInto(out *FilesystemObservation)

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

type FilesystemParameters

type FilesystemParameters struct {

	// Block size of the filesystem, specified in bytes.
	// +kubebuilder:validation:Optional
	BlockSize *float64 `json:"blockSize,omitempty" tf:"block_size,omitempty"`

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

	// The ID of the folder that the filesystem belongs to. If it is not provided, the default
	// 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 filesystem. A list of key/value pairs. For details about the concept,
	// see documentation.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the filesystem. Provide this property when you create a resource.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Size of the filesystem, specified in GB.
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// Type of filesystem to create. Type network-hdd is set by default.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Availability zone where the filesystem will reside.
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*FilesystemParameters) DeepCopy

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

func (*FilesystemParameters) DeepCopyInto

func (in *FilesystemParameters) DeepCopyInto(out *FilesystemParameters)

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

type FilesystemSpec

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

FilesystemSpec defines the desired state of Filesystem

func (*FilesystemSpec) DeepCopy

func (in *FilesystemSpec) DeepCopy() *FilesystemSpec

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

func (*FilesystemSpec) DeepCopyInto

func (in *FilesystemSpec) DeepCopyInto(out *FilesystemSpec)

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

type FilesystemStatus

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

FilesystemStatus defines the observed state of Filesystem.

func (*FilesystemStatus) DeepCopy

func (in *FilesystemStatus) DeepCopy() *FilesystemStatus

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

func (*FilesystemStatus) DeepCopyInto

func (in *FilesystemStatus) DeepCopyInto(out *FilesystemStatus)

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

type FixedScaleInitParameters

type FixedScaleInitParameters struct {

	// The size of the disk in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`
}

func (*FixedScaleInitParameters) DeepCopy

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

func (*FixedScaleInitParameters) DeepCopyInto

func (in *FixedScaleInitParameters) DeepCopyInto(out *FixedScaleInitParameters)

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

type FixedScaleObservation

type FixedScaleObservation struct {

	// The size of the disk in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`
}

func (*FixedScaleObservation) DeepCopy

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

func (*FixedScaleObservation) DeepCopyInto

func (in *FixedScaleObservation) DeepCopyInto(out *FixedScaleObservation)

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

type FixedScaleParameters

type FixedScaleParameters struct {

	// The size of the disk in GB.
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size" tf:"size,omitempty"`
}

func (*FixedScaleParameters) DeepCopy

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

func (*FixedScaleParameters) DeepCopyInto

func (in *FixedScaleParameters) DeepCopyInto(out *FixedScaleParameters)

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

type GpuCluster

type GpuCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GpuClusterSpec   `json:"spec"`
	Status            GpuClusterStatus `json:"status,omitempty"`
}

GpuCluster is the Schema for the GpuClusters API. GPU Cluster connects multiple Compute GPU Instances in the same availability zone with high-speed low-latency network. +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 (*GpuCluster) DeepCopy

func (in *GpuCluster) DeepCopy() *GpuCluster

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

func (*GpuCluster) DeepCopyInto

func (in *GpuCluster) DeepCopyInto(out *GpuCluster)

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

func (*GpuCluster) DeepCopyObject

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

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

func (*GpuCluster) GetCondition

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

GetCondition of this GpuCluster.

func (*GpuCluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this GpuCluster

func (*GpuCluster) GetDeletionPolicy

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

GetDeletionPolicy of this GpuCluster.

func (*GpuCluster) GetID

func (tr *GpuCluster) GetID() string

GetID returns ID of underlying Terraform resource of this GpuCluster

func (*GpuCluster) GetInitParameters

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

GetInitParameters of this GpuCluster

func (*GpuCluster) GetManagementPolicies

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

GetManagementPolicies of this GpuCluster.

func (*GpuCluster) GetMergedParameters added in v0.1.3

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

GetInitParameters of this GpuCluster

func (*GpuCluster) GetObservation

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

GetObservation of this GpuCluster

func (*GpuCluster) GetParameters

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

GetParameters of this GpuCluster

func (*GpuCluster) GetProviderConfigReference

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

GetProviderConfigReference of this GpuCluster.

func (*GpuCluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this GpuCluster.

func (*GpuCluster) GetTerraformResourceType

func (mg *GpuCluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GpuCluster

func (*GpuCluster) GetTerraformSchemaVersion

func (tr *GpuCluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GpuCluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this GpuCluster.

func (*GpuCluster) Hub added in v0.2.0

func (tr *GpuCluster) Hub()

Hub marks this type as a conversion hub.

func (*GpuCluster) LateInitialize

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

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

func (*GpuCluster) ResolveReferences

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

ResolveReferences of this GpuCluster.

func (*GpuCluster) SetConditions

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

SetConditions of this GpuCluster.

func (*GpuCluster) SetDeletionPolicy

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

SetDeletionPolicy of this GpuCluster.

func (*GpuCluster) SetManagementPolicies

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

SetManagementPolicies of this GpuCluster.

func (*GpuCluster) SetObservation

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

SetObservation for this GpuCluster

func (*GpuCluster) SetParameters

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

SetParameters for this GpuCluster

func (*GpuCluster) SetProviderConfigReference

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

SetProviderConfigReference of this GpuCluster.

func (*GpuCluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this GpuCluster.

func (*GpuCluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this GpuCluster.

type GpuClusterInitParameters

type GpuClusterInitParameters struct {

	// Description of the GPU cluster. Provide this property when you create a resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder that the GPU cluster belongs to. If it is not provided, the default
	// 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:"-"`

	// Type of interconnect between nodes to use in GPU cluster. Type infiniband is set by default,
	// and it is the only one available at the moment.
	InterconnectType *string `json:"interconnectType,omitempty" tf:"interconnect_type,omitempty"`

	// Labels to assign to this GPU cluster. A list of key/value pairs. For details about the concept,
	// see documentation.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the GPU cluster. Provide this property when you create a resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Availability zone where the GPU cluster will reside.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*GpuClusterInitParameters) DeepCopy

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

func (*GpuClusterInitParameters) DeepCopyInto

func (in *GpuClusterInitParameters) DeepCopyInto(out *GpuClusterInitParameters)

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

type GpuClusterList

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

GpuClusterList contains a list of GpuClusters

func (*GpuClusterList) DeepCopy

func (in *GpuClusterList) DeepCopy() *GpuClusterList

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

func (*GpuClusterList) DeepCopyInto

func (in *GpuClusterList) DeepCopyInto(out *GpuClusterList)

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

func (*GpuClusterList) DeepCopyObject

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

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

func (*GpuClusterList) GetItems

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

GetItems of this GpuClusterList.

type GpuClusterObservation

type GpuClusterObservation struct {

	// Creation timestamp of the GPU cluster.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the GPU cluster. Provide this property when you create a resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder that the GPU cluster belongs to. If it is not provided, the default
	// provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Type of interconnect between nodes to use in GPU cluster. Type infiniband is set by default,
	// and it is the only one available at the moment.
	InterconnectType *string `json:"interconnectType,omitempty" tf:"interconnect_type,omitempty"`

	// Labels to assign to this GPU cluster. A list of key/value pairs. For details about the concept,
	// see documentation.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the GPU cluster. Provide this property when you create a resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The status of the GPU cluster.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Availability zone where the GPU cluster will reside.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*GpuClusterObservation) DeepCopy

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

func (*GpuClusterObservation) DeepCopyInto

func (in *GpuClusterObservation) DeepCopyInto(out *GpuClusterObservation)

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

type GpuClusterParameters

type GpuClusterParameters struct {

	// Description of the GPU cluster. Provide this property when you create a resource.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder that the GPU cluster belongs to. If it is not provided, the default
	// 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:"-"`

	// Type of interconnect between nodes to use in GPU cluster. Type infiniband is set by default,
	// and it is the only one available at the moment.
	// +kubebuilder:validation:Optional
	InterconnectType *string `json:"interconnectType,omitempty" tf:"interconnect_type,omitempty"`

	// Labels to assign to this GPU cluster. A list of key/value pairs. For details about the concept,
	// see documentation.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the GPU cluster. Provide this property when you create a resource.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Availability zone where the GPU cluster will reside.
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*GpuClusterParameters) DeepCopy

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

func (*GpuClusterParameters) DeepCopyInto

func (in *GpuClusterParameters) DeepCopyInto(out *GpuClusterParameters)

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

type GpuClusterSpec

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

GpuClusterSpec defines the desired state of GpuCluster

func (*GpuClusterSpec) DeepCopy

func (in *GpuClusterSpec) DeepCopy() *GpuClusterSpec

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

func (*GpuClusterSpec) DeepCopyInto

func (in *GpuClusterSpec) DeepCopyInto(out *GpuClusterSpec)

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

type GpuClusterStatus

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

GpuClusterStatus defines the observed state of GpuCluster.

func (*GpuClusterStatus) DeepCopy

func (in *GpuClusterStatus) DeepCopy() *GpuClusterStatus

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

func (*GpuClusterStatus) DeepCopyInto

func (in *GpuClusterStatus) DeepCopyInto(out *GpuClusterStatus)

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

type HTTPOptionsInitParameters

type HTTPOptionsInitParameters struct {

	// The URL path used for health check requests.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// The port used 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 {

	// The URL path used for health check requests.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// The port used 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 {

	// The URL path used for health check requests.
	// +kubebuilder:validation:Optional
	Path *string `json:"path" tf:"path,omitempty"`

	// The port used 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 {

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

	// The number of successful health checks before the managed instance is declared healthy.
	HealthyThreshold *float64 `json:"healthyThreshold,omitempty" tf:"healthy_threshold,omitempty"`

	// The interval to wait between health checks in seconds.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

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

	// The length of time to wait for a response before the health check times out in seconds.
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// The number of failed health checks before the managed instance is declared unhealthy.
	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 {

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

	// The number of successful health checks before the managed instance is declared healthy.
	HealthyThreshold *float64 `json:"healthyThreshold,omitempty" tf:"healthy_threshold,omitempty"`

	// The interval to wait between health checks in seconds.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

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

	// The length of time to wait for a response before the health check times out in seconds.
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// The number of failed health checks before the managed instance is declared unhealthy.
	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 {

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

	// The number of successful health checks before the managed instance is declared healthy.
	// +kubebuilder:validation:Optional
	HealthyThreshold *float64 `json:"healthyThreshold,omitempty" tf:"healthy_threshold,omitempty"`

	// The interval to wait between health checks in seconds.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

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

	// The length of time to wait for a response before the health check times out in seconds.
	// +kubebuilder:validation:Optional
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// The number of failed health checks before the managed instance is declared unhealthy.
	// +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 HostAffinityRulesInitParameters

type HostAffinityRulesInitParameters struct {

	// Affinity label or one of reserved values - yc.hostId, yc.hostGroupId.
	Key *string `json:"key,omitempty" tf:"key"`

	// Affinity action. The only value supported is IN.
	Op *string `json:"op,omitempty" tf:"op"`

	Values []*string `json:"values,omitempty" tf:"values"`
}

func (*HostAffinityRulesInitParameters) DeepCopy

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

func (*HostAffinityRulesInitParameters) DeepCopyInto

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

type HostAffinityRulesObservation

type HostAffinityRulesObservation struct {

	// Affinity label or one of reserved values - yc.hostId, yc.hostGroupId.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Affinity action. The only value supported is IN.
	Op *string `json:"op,omitempty" tf:"op,omitempty"`

	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*HostAffinityRulesObservation) DeepCopy

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

func (*HostAffinityRulesObservation) DeepCopyInto

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

type HostAffinityRulesParameters

type HostAffinityRulesParameters struct {

	// Affinity label or one of reserved values - yc.hostId, yc.hostGroupId.
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key"`

	// Affinity action. The only value supported is IN.
	// +kubebuilder:validation:Optional
	Op *string `json:"op,omitempty" tf:"op"`

	// +kubebuilder:validation:Optional
	Values []*string `json:"values,omitempty" tf:"values"`
}

func (*HostAffinityRulesParameters) DeepCopy

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

func (*HostAffinityRulesParameters) DeepCopyInto

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

type IPv6DNSRecordInitParameters

type IPv6DNSRecordInitParameters struct {

	// DNS zone ID (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record FQDN (must have a dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create a PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL. in seconds
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*IPv6DNSRecordInitParameters) DeepCopy

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

func (*IPv6DNSRecordInitParameters) DeepCopyInto

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

type IPv6DNSRecordObservation

type IPv6DNSRecordObservation struct {

	// DNS zone ID (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record FQDN (must have a dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create a PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL. in seconds
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*IPv6DNSRecordObservation) DeepCopy

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

func (*IPv6DNSRecordObservation) DeepCopyInto

func (in *IPv6DNSRecordObservation) DeepCopyInto(out *IPv6DNSRecordObservation)

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

type IPv6DNSRecordParameters

type IPv6DNSRecordParameters struct {

	// DNS zone ID (if not set, private zone used).
	// +kubebuilder:validation:Optional
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record FQDN (must have a dot at the end).
	// +kubebuilder:validation:Optional
	Fqdn *string `json:"fqdn" tf:"fqdn,omitempty"`

	// When set to true, also create a PTR DNS record.
	// +kubebuilder:validation:Optional
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL. in seconds
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*IPv6DNSRecordParameters) DeepCopy

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

func (*IPv6DNSRecordParameters) DeepCopyInto

func (in *IPv6DNSRecordParameters) DeepCopyInto(out *IPv6DNSRecordParameters)

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

type Image

type Image struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ImageSpec   `json:"spec"`
	Status            ImageStatus `json:"status,omitempty"`
}

Image is the Schema for the Images API. Creates a VM image for the Yandex Compute service from an existing tarball. +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 (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

func (*Image) DeepCopyObject

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

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

func (*Image) GetCondition

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

GetCondition of this Image.

func (*Image) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Image

func (*Image) GetDeletionPolicy

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

GetDeletionPolicy of this Image.

func (*Image) GetID

func (tr *Image) GetID() string

GetID returns ID of underlying Terraform resource of this Image

func (*Image) GetInitParameters

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

GetInitParameters of this Image

func (*Image) GetManagementPolicies

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

GetManagementPolicies of this Image.

func (*Image) GetMergedParameters added in v0.1.3

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

GetInitParameters of this Image

func (*Image) GetObservation

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

GetObservation of this Image

func (*Image) GetParameters

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

GetParameters of this Image

func (*Image) GetProviderConfigReference

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

GetProviderConfigReference of this Image.

func (*Image) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Image.

func (*Image) GetTerraformResourceType

func (mg *Image) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Image

func (*Image) GetTerraformSchemaVersion

func (tr *Image) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Image) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Image.

func (*Image) Hub added in v0.2.0

func (tr *Image) Hub()

Hub marks this type as a conversion hub.

func (*Image) LateInitialize

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

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

func (*Image) ResolveReferences

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

ResolveReferences of this Image.

func (*Image) SetConditions

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

SetConditions of this Image.

func (*Image) SetDeletionPolicy

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

SetDeletionPolicy of this Image.

func (*Image) SetManagementPolicies

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

SetManagementPolicies of this Image.

func (*Image) SetObservation

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

SetObservation for this Image

func (*Image) SetParameters

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

SetParameters for this Image

func (*Image) SetProviderConfigReference

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

SetProviderConfigReference of this Image.

func (*Image) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Image.

func (*Image) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Image.

type ImageInitParameters

type ImageInitParameters struct {

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

	// The name of the image family to which this image belongs.
	Family *string `json:"family,omitempty" tf:"family,omitempty"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default 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:"-"`

	// A set of key/value label pairs to assign to the image.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Minimum size in GB of the disk that will be created from this image.
	MinDiskSize *float64 `json:"minDiskSize,omitempty" tf:"min_disk_size,omitempty"`

	// Name of the disk.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
	OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"`

	// Optimize the image to create a disk.
	Pooled *bool `json:"pooled,omitempty" tf:"pooled,omitempty"`

	// License IDs that indicate which licenses are
	// attached to this image.
	// +listType=set
	ProductIds []*string `json:"productIds,omitempty" tf:"product_ids,omitempty"`

	// The ID of a disk to use as the source of the
	// image. Changing this ID forces a new resource to be created.
	SourceDisk *string `json:"sourceDisk,omitempty" tf:"source_disk,omitempty"`

	// The name of the family to use as the source of the new image.
	// The ID of the latest image is taken from the "standard-images" folder. Changing the family forces
	// a new resource to be created.
	SourceFamily *string `json:"sourceFamily,omitempty" tf:"source_family,omitempty"`

	// The ID of an existing image to use as the source of the
	// image. Changing this ID forces a new resource to be created.
	SourceImage *string `json:"sourceImage,omitempty" tf:"source_image,omitempty"`

	// The ID of a snapshot to use as the source of the
	// image. Changing this ID forces a new resource to be created.
	SourceSnapshot *string `json:"sourceSnapshot,omitempty" tf:"source_snapshot,omitempty"`

	// The URL to use as the source of the
	// image. Changing this URL forces a new resource to be created.
	SourceURL *string `json:"sourceUrl,omitempty" tf:"source_url,omitempty"`
}

func (*ImageInitParameters) DeepCopy

func (in *ImageInitParameters) DeepCopy() *ImageInitParameters

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

func (*ImageInitParameters) DeepCopyInto

func (in *ImageInitParameters) DeepCopyInto(out *ImageInitParameters)

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

type ImageList

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

ImageList contains a list of Images

func (*ImageList) DeepCopy

func (in *ImageList) DeepCopy() *ImageList

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

func (*ImageList) DeepCopyInto

func (in *ImageList) DeepCopyInto(out *ImageList)

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

func (*ImageList) DeepCopyObject

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

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

func (*ImageList) GetItems

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

GetItems of this ImageList.

type ImageObservation

type ImageObservation struct {

	// Creation timestamp of the image.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

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

	// The name of the image family to which this image belongs.
	Family *string `json:"family,omitempty" tf:"family,omitempty"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A set of key/value label pairs to assign to the image.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Minimum size in GB of the disk that will be created from this image.
	MinDiskSize *float64 `json:"minDiskSize,omitempty" tf:"min_disk_size,omitempty"`

	// Name of the disk.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
	OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"`

	// Optimize the image to create a disk.
	Pooled *bool `json:"pooled,omitempty" tf:"pooled,omitempty"`

	// License IDs that indicate which licenses are
	// attached to this image.
	// +listType=set
	ProductIds []*string `json:"productIds,omitempty" tf:"product_ids,omitempty"`

	// The size of the image, specified in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The ID of a disk to use as the source of the
	// image. Changing this ID forces a new resource to be created.
	SourceDisk *string `json:"sourceDisk,omitempty" tf:"source_disk,omitempty"`

	// The name of the family to use as the source of the new image.
	// The ID of the latest image is taken from the "standard-images" folder. Changing the family forces
	// a new resource to be created.
	SourceFamily *string `json:"sourceFamily,omitempty" tf:"source_family,omitempty"`

	// The ID of an existing image to use as the source of the
	// image. Changing this ID forces a new resource to be created.
	SourceImage *string `json:"sourceImage,omitempty" tf:"source_image,omitempty"`

	// The ID of a snapshot to use as the source of the
	// image. Changing this ID forces a new resource to be created.
	SourceSnapshot *string `json:"sourceSnapshot,omitempty" tf:"source_snapshot,omitempty"`

	// The URL to use as the source of the
	// image. Changing this URL forces a new resource to be created.
	SourceURL *string `json:"sourceUrl,omitempty" tf:"source_url,omitempty"`

	// The status of the image.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ImageObservation) DeepCopy

func (in *ImageObservation) DeepCopy() *ImageObservation

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

func (*ImageObservation) DeepCopyInto

func (in *ImageObservation) DeepCopyInto(out *ImageObservation)

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

type ImageParameters

type ImageParameters struct {

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

	// The name of the image family to which this image belongs.
	// +kubebuilder:validation:Optional
	Family *string `json:"family,omitempty" tf:"family,omitempty"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default 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:"-"`

	// A set of key/value label pairs to assign to the image.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Minimum size in GB of the disk that will be created from this image.
	// +kubebuilder:validation:Optional
	MinDiskSize *float64 `json:"minDiskSize,omitempty" tf:"min_disk_size,omitempty"`

	// Name of the disk.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
	// +kubebuilder:validation:Optional
	OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"`

	// Optimize the image to create a disk.
	// +kubebuilder:validation:Optional
	Pooled *bool `json:"pooled,omitempty" tf:"pooled,omitempty"`

	// License IDs that indicate which licenses are
	// attached to this image.
	// +kubebuilder:validation:Optional
	// +listType=set
	ProductIds []*string `json:"productIds,omitempty" tf:"product_ids,omitempty"`

	// The ID of a disk to use as the source of the
	// image. Changing this ID forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SourceDisk *string `json:"sourceDisk,omitempty" tf:"source_disk,omitempty"`

	// The name of the family to use as the source of the new image.
	// The ID of the latest image is taken from the "standard-images" folder. Changing the family forces
	// a new resource to be created.
	// +kubebuilder:validation:Optional
	SourceFamily *string `json:"sourceFamily,omitempty" tf:"source_family,omitempty"`

	// The ID of an existing image to use as the source of the
	// image. Changing this ID forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SourceImage *string `json:"sourceImage,omitempty" tf:"source_image,omitempty"`

	// The ID of a snapshot to use as the source of the
	// image. Changing this ID forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SourceSnapshot *string `json:"sourceSnapshot,omitempty" tf:"source_snapshot,omitempty"`

	// The URL to use as the source of the
	// image. Changing this URL forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SourceURL *string `json:"sourceUrl,omitempty" tf:"source_url,omitempty"`
}

func (*ImageParameters) DeepCopy

func (in *ImageParameters) DeepCopy() *ImageParameters

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

func (*ImageParameters) DeepCopyInto

func (in *ImageParameters) DeepCopyInto(out *ImageParameters)

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

type ImageSpec

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

ImageSpec defines the desired state of Image

func (*ImageSpec) DeepCopy

func (in *ImageSpec) DeepCopy() *ImageSpec

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

func (*ImageSpec) DeepCopyInto

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

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

type ImageStatus

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

ImageStatus defines the observed state of Image.

func (*ImageStatus) DeepCopy

func (in *ImageStatus) DeepCopy() *ImageStatus

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

func (*ImageStatus) DeepCopyInto

func (in *ImageStatus) DeepCopyInto(out *ImageStatus)

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

type InitializeParamsInitParameters

type InitializeParamsInitParameters struct {

	// Block size of the disk, specified in bytes.
	BlockSize *float64 `json:"blockSize,omitempty" tf:"block_size,omitempty"`

	// Description of the boot disk.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A disk image to initialize this disk from.
	// +crossplane:generate:reference:type=Image
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// Reference to a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDRef *v1.Reference `json:"imageIdRef,omitempty" tf:"-"`

	// Selector for a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDSelector *v1.Selector `json:"imageIdSelector,omitempty" tf:"-"`

	// Resource name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Size of the disk in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// A snapshot to initialize this disk from.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Disk type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*InitializeParamsInitParameters) DeepCopy

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

func (*InitializeParamsInitParameters) DeepCopyInto

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

type InitializeParamsObservation

type InitializeParamsObservation struct {

	// Block size of the disk, specified in bytes.
	BlockSize *float64 `json:"blockSize,omitempty" tf:"block_size,omitempty"`

	// Description of the boot disk.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A disk image to initialize this disk from.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// Resource name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Size of the disk in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// A snapshot to initialize this disk from.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Disk type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*InitializeParamsObservation) DeepCopy

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

func (*InitializeParamsObservation) DeepCopyInto

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

type InitializeParamsParameters

type InitializeParamsParameters struct {

	// Block size of the disk, specified in bytes.
	// +kubebuilder:validation:Optional
	BlockSize *float64 `json:"blockSize,omitempty" tf:"block_size,omitempty"`

	// Description of the boot disk.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A disk image to initialize this disk from.
	// +crossplane:generate:reference:type=Image
	// +kubebuilder:validation:Optional
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// Reference to a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDRef *v1.Reference `json:"imageIdRef,omitempty" tf:"-"`

	// Selector for a Image to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDSelector *v1.Selector `json:"imageIdSelector,omitempty" tf:"-"`

	// Resource name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Size of the disk in GB.
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// A snapshot to initialize this disk from.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Disk type.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*InitializeParamsParameters) DeepCopy

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

func (*InitializeParamsParameters) DeepCopyInto

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

type Instance

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

Instance is the Schema for the Instances API. Manages a VM instance resource. +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 (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

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

func (*Instance) DeepCopyObject

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

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

func (*Instance) GetCondition

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

GetCondition of this Instance.

func (*Instance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Instance

func (*Instance) GetDeletionPolicy

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

GetDeletionPolicy of this Instance.

func (*Instance) GetID

func (tr *Instance) GetID() string

GetID returns ID of underlying Terraform resource of this Instance

func (*Instance) GetInitParameters

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

GetInitParameters of this Instance

func (*Instance) GetManagementPolicies

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

GetManagementPolicies of this Instance.

func (*Instance) GetMergedParameters added in v0.1.3

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

GetInitParameters of this Instance

func (*Instance) GetObservation

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

GetObservation of this Instance

func (*Instance) GetParameters

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

GetParameters of this Instance

func (*Instance) GetProviderConfigReference

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

GetProviderConfigReference of this Instance.

func (*Instance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Instance.

func (*Instance) GetTerraformResourceType

func (mg *Instance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Instance

func (*Instance) GetTerraformSchemaVersion

func (tr *Instance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Instance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Instance.

func (*Instance) Hub added in v0.2.0

func (tr *Instance) Hub()

Hub marks this type as a conversion hub.

func (*Instance) LateInitialize

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

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

func (*Instance) ResolveReferences

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

ResolveReferences of this Instance.

func (*Instance) SetConditions

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

SetConditions of this Instance.

func (*Instance) SetDeletionPolicy

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

SetDeletionPolicy of this Instance.

func (*Instance) SetManagementPolicies

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

SetManagementPolicies of this Instance.

func (*Instance) SetObservation

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

SetObservation for this Instance

func (*Instance) SetParameters

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

SetParameters for this Instance

func (*Instance) SetProviderConfigReference

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

SetProviderConfigReference of this Instance.

func (*Instance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Instance.

func (*Instance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Instance.

type InstanceFilesystemInitParameters

type InstanceFilesystemInitParameters struct {

	// Name of the device representing the filesystem on the instance.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the filesystem that should be attached.
	FilesystemID *string `json:"filesystemId,omitempty" tf:"filesystem_id,omitempty"`

	// Mode of access to the filesystem that should be attached. By default, filesystem is attached
	// in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*InstanceFilesystemInitParameters) DeepCopy

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

func (*InstanceFilesystemInitParameters) DeepCopyInto

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

type InstanceFilesystemObservation

type InstanceFilesystemObservation struct {

	// Name of the device representing the filesystem on the instance.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the filesystem that should be attached.
	FilesystemID *string `json:"filesystemId,omitempty" tf:"filesystem_id,omitempty"`

	// Mode of access to the filesystem that should be attached. By default, filesystem is attached
	// in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*InstanceFilesystemObservation) DeepCopy

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

func (*InstanceFilesystemObservation) DeepCopyInto

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

type InstanceFilesystemParameters

type InstanceFilesystemParameters struct {

	// Name of the device representing the filesystem on the instance.
	// +kubebuilder:validation:Optional
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the filesystem that should be attached.
	// +kubebuilder:validation:Optional
	FilesystemID *string `json:"filesystemId" tf:"filesystem_id,omitempty"`

	// Mode of access to the filesystem that should be attached. By default, filesystem is attached
	// in READ_WRITE mode.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*InstanceFilesystemParameters) DeepCopy

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

func (*InstanceFilesystemParameters) DeepCopyInto

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

type InstanceGroup

type InstanceGroup 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.allocationPolicy) || (has(self.initProvider) && has(self.initProvider.allocationPolicy))",message="spec.forProvider.allocationPolicy is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deployPolicy) || (has(self.initProvider) && has(self.initProvider.deployPolicy))",message="spec.forProvider.deployPolicy is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceTemplate) || (has(self.initProvider) && has(self.initProvider.instanceTemplate))",message="spec.forProvider.instanceTemplate is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scalePolicy) || (has(self.initProvider) && has(self.initProvider.scalePolicy))",message="spec.forProvider.scalePolicy is a required parameter"
	Spec   InstanceGroupSpec   `json:"spec"`
	Status InstanceGroupStatus `json:"status,omitempty"`
}

InstanceGroup is the Schema for the InstanceGroups API. Manages an Instance group resource. +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 (*InstanceGroup) DeepCopy

func (in *InstanceGroup) DeepCopy() *InstanceGroup

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

func (*InstanceGroup) DeepCopyInto

func (in *InstanceGroup) DeepCopyInto(out *InstanceGroup)

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

func (*InstanceGroup) DeepCopyObject

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

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

func (*InstanceGroup) GetCondition

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

GetCondition of this InstanceGroup.

func (*InstanceGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this InstanceGroup

func (*InstanceGroup) GetDeletionPolicy

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

GetDeletionPolicy of this InstanceGroup.

func (*InstanceGroup) GetID

func (tr *InstanceGroup) GetID() string

GetID returns ID of underlying Terraform resource of this InstanceGroup

func (*InstanceGroup) GetInitParameters

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

GetInitParameters of this InstanceGroup

func (*InstanceGroup) GetManagementPolicies

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

GetManagementPolicies of this InstanceGroup.

func (*InstanceGroup) GetMergedParameters added in v0.1.3

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

GetInitParameters of this InstanceGroup

func (*InstanceGroup) GetObservation

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

GetObservation of this InstanceGroup

func (*InstanceGroup) GetParameters

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

GetParameters of this InstanceGroup

func (*InstanceGroup) GetProviderConfigReference

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

GetProviderConfigReference of this InstanceGroup.

func (*InstanceGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this InstanceGroup.

func (*InstanceGroup) GetTerraformResourceType

func (mg *InstanceGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this InstanceGroup

func (*InstanceGroup) GetTerraformSchemaVersion

func (tr *InstanceGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*InstanceGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this InstanceGroup.

func (*InstanceGroup) Hub added in v0.2.0

func (tr *InstanceGroup) Hub()

Hub marks this type as a conversion hub.

func (*InstanceGroup) LateInitialize

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

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

func (*InstanceGroup) ResolveReferences

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

ResolveReferences of this InstanceGroup.

func (*InstanceGroup) SetConditions

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

SetConditions of this InstanceGroup.

func (*InstanceGroup) SetDeletionPolicy

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

SetDeletionPolicy of this InstanceGroup.

func (*InstanceGroup) SetManagementPolicies

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

SetManagementPolicies of this InstanceGroup.

func (*InstanceGroup) SetObservation

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

SetObservation for this InstanceGroup

func (*InstanceGroup) SetParameters

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

SetParameters for this InstanceGroup

func (*InstanceGroup) SetProviderConfigReference

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

SetProviderConfigReference of this InstanceGroup.

func (*InstanceGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this InstanceGroup.

func (*InstanceGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this InstanceGroup.

type InstanceGroupInitParameters

type InstanceGroupInitParameters struct {

	// The allocation policy of the instance group by zone and region. The structure is documented below.
	AllocationPolicy []AllocationPolicyInitParameters `json:"allocationPolicy,omitempty" tf:"allocation_policy,omitempty"`

	// Application Load balancing (L7) specifications. The structure is documented below.
	ApplicationLoadBalancer []ApplicationLoadBalancerInitParameters `json:"applicationLoadBalancer,omitempty" tf:"application_load_balancer,omitempty"`

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

	// The deployment policy of the instance group. The structure is documented below.
	DeployPolicy []DeployPolicyInitParameters `json:"deployPolicy,omitempty" tf:"deploy_policy,omitempty"`

	// A description of the instance group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder that the resources belong to.
	// +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:"-"`

	// Health check specifications. The structure is documented below.
	HealthCheck []HealthCheckInitParameters `json:"healthCheck,omitempty" tf:"health_check,omitempty"`

	// The template for creating new instances. The structure is documented below.
	InstanceTemplate []InstanceTemplateInitParameters `json:"instanceTemplate,omitempty" tf:"instance_template,omitempty"`

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

	// Load balancing specifications. The structure is documented below.
	LoadBalancer []LoadBalancerInitParameters `json:"loadBalancer,omitempty" tf:"load_balancer,omitempty"`

	// Timeout for waiting for the VM to become healthy. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
	MaxCheckingHealthDuration *float64 `json:"maxCheckingHealthDuration,omitempty" tf:"max_checking_health_duration,omitempty"`

	// The name of the instance group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The scaling policy of the instance group. The structure is documented below.
	ScalePolicy []ScalePolicyInitParameters `json:"scalePolicy,omitempty" tf:"scale_policy,omitempty"`

	// The ID of the service account authorized for this instance group.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/iam/v1alpha1.ServiceAccount
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a ServiceAccount in iam to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in iam to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`

	// A set of key/value  variables pairs to assign to the instance group.
	// +mapType=granular
	Variables map[string]*string `json:"variables,omitempty" tf:"variables,omitempty"`
}

func (*InstanceGroupInitParameters) DeepCopy

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

func (*InstanceGroupInitParameters) DeepCopyInto

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

type InstanceGroupList

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

InstanceGroupList contains a list of InstanceGroups

func (*InstanceGroupList) DeepCopy

func (in *InstanceGroupList) DeepCopy() *InstanceGroupList

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

func (*InstanceGroupList) DeepCopyInto

func (in *InstanceGroupList) DeepCopyInto(out *InstanceGroupList)

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

func (*InstanceGroupList) DeepCopyObject

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

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

func (*InstanceGroupList) GetItems

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

GetItems of this InstanceGroupList.

type InstanceGroupObservation

type InstanceGroupObservation struct {

	// The allocation policy of the instance group by zone and region. The structure is documented below.
	AllocationPolicy []AllocationPolicyObservation `json:"allocationPolicy,omitempty" tf:"allocation_policy,omitempty"`

	// Application Load balancing (L7) specifications. The structure is documented below.
	ApplicationLoadBalancer []ApplicationLoadBalancerObservation `json:"applicationLoadBalancer,omitempty" tf:"application_load_balancer,omitempty"`

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

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

	// The deployment policy of the instance group. The structure is documented below.
	DeployPolicy []DeployPolicyObservation `json:"deployPolicy,omitempty" tf:"deploy_policy,omitempty"`

	// A description of the instance group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder that the resources belong to.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Health check specifications. The structure is documented below.
	HealthCheck []HealthCheckObservation `json:"healthCheck,omitempty" tf:"health_check,omitempty"`

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

	// The template for creating new instances. The structure is documented below.
	InstanceTemplate []InstanceTemplateObservation `json:"instanceTemplate,omitempty" tf:"instance_template,omitempty"`

	Instances []InstancesObservation `json:"instances,omitempty" tf:"instances,omitempty"`

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

	// Load balancing specifications. The structure is documented below.
	LoadBalancer []LoadBalancerObservation `json:"loadBalancer,omitempty" tf:"load_balancer,omitempty"`

	// Timeout for waiting for the VM to become healthy. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
	MaxCheckingHealthDuration *float64 `json:"maxCheckingHealthDuration,omitempty" tf:"max_checking_health_duration,omitempty"`

	// The name of the instance group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The scaling policy of the instance group. The structure is documented below.
	ScalePolicy []ScalePolicyObservation `json:"scalePolicy,omitempty" tf:"scale_policy,omitempty"`

	// The ID of the service account authorized for this instance group.
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// The status of the instance.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// A set of key/value  variables pairs to assign to the instance group.
	// +mapType=granular
	Variables map[string]*string `json:"variables,omitempty" tf:"variables,omitempty"`
}

func (*InstanceGroupObservation) DeepCopy

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

func (*InstanceGroupObservation) DeepCopyInto

func (in *InstanceGroupObservation) DeepCopyInto(out *InstanceGroupObservation)

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

type InstanceGroupParameters

type InstanceGroupParameters struct {

	// The allocation policy of the instance group by zone and region. The structure is documented below.
	// +kubebuilder:validation:Optional
	AllocationPolicy []AllocationPolicyParameters `json:"allocationPolicy,omitempty" tf:"allocation_policy,omitempty"`

	// Application Load balancing (L7) specifications. The structure is documented below.
	// +kubebuilder:validation:Optional
	ApplicationLoadBalancer []ApplicationLoadBalancerParameters `json:"applicationLoadBalancer,omitempty" tf:"application_load_balancer,omitempty"`

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

	// The deployment policy of the instance group. The structure is documented below.
	// +kubebuilder:validation:Optional
	DeployPolicy []DeployPolicyParameters `json:"deployPolicy,omitempty" tf:"deploy_policy,omitempty"`

	// A description of the instance group.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder that the resources belong to.
	// +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:"-"`

	// Health check specifications. The structure is documented below.
	// +kubebuilder:validation:Optional
	HealthCheck []HealthCheckParameters `json:"healthCheck,omitempty" tf:"health_check,omitempty"`

	// The template for creating new instances. The structure is documented below.
	// +kubebuilder:validation:Optional
	InstanceTemplate []InstanceTemplateParameters `json:"instanceTemplate,omitempty" tf:"instance_template,omitempty"`

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

	// Load balancing specifications. The structure is documented below.
	// +kubebuilder:validation:Optional
	LoadBalancer []LoadBalancerParameters `json:"loadBalancer,omitempty" tf:"load_balancer,omitempty"`

	// Timeout for waiting for the VM to become healthy. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
	// +kubebuilder:validation:Optional
	MaxCheckingHealthDuration *float64 `json:"maxCheckingHealthDuration,omitempty" tf:"max_checking_health_duration,omitempty"`

	// The name of the instance group.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The scaling policy of the instance group. The structure is documented below.
	// +kubebuilder:validation:Optional
	ScalePolicy []ScalePolicyParameters `json:"scalePolicy,omitempty" tf:"scale_policy,omitempty"`

	// The ID of the service account authorized for this instance group.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/iam/v1alpha1.ServiceAccount
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a ServiceAccount in iam to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in iam to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`

	// A set of key/value  variables pairs to assign to the instance group.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Variables map[string]*string `json:"variables,omitempty" tf:"variables,omitempty"`
}

func (*InstanceGroupParameters) DeepCopy

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

func (*InstanceGroupParameters) DeepCopyInto

func (in *InstanceGroupParameters) DeepCopyInto(out *InstanceGroupParameters)

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

type InstanceGroupSpec

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

InstanceGroupSpec defines the desired state of InstanceGroup

func (*InstanceGroupSpec) DeepCopy

func (in *InstanceGroupSpec) DeepCopy() *InstanceGroupSpec

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

func (*InstanceGroupSpec) DeepCopyInto

func (in *InstanceGroupSpec) DeepCopyInto(out *InstanceGroupSpec)

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

type InstanceGroupStatus

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

InstanceGroupStatus defines the observed state of InstanceGroup.

func (*InstanceGroupStatus) DeepCopy

func (in *InstanceGroupStatus) DeepCopy() *InstanceGroupStatus

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

func (*InstanceGroupStatus) DeepCopyInto

func (in *InstanceGroupStatus) DeepCopyInto(out *InstanceGroupStatus)

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

type InstanceInitParameters

type InstanceInitParameters struct {

	// Default 5 minutes
	AllowRecreate *bool `json:"allowRecreate,omitempty" tf:"allow_recreate,omitempty"`

	// If you try to update a property that requires stopping the instance without setting this field, the update will fail.
	AllowStoppingForUpdate *bool `json:"allowStoppingForUpdate,omitempty" tf:"allow_stopping_for_update,omitempty"`

	// The boot disk for the instance. The structure is documented below.
	BootDisk []BootDiskInitParameters `json:"bootDisk,omitempty" tf:"boot_disk,omitempty"`

	// Description of the instance.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// List of filesystems that are attached to the instance. Structure is documented below.
	Filesystem []InstanceFilesystemInitParameters `json:"filesystem,omitempty" tf:"filesystem,omitempty"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default 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:"-"`

	// ID of the GPU cluster to attach this instance to. The GPU cluster must exist in the same zone as the instance.
	GpuClusterID *string `json:"gpuClusterId,omitempty" tf:"gpu_cluster_id,omitempty"`

	// Host name for the instance. This field is used to generate the instance fqdn value.
	// The host name must be unique within the network and region. If not specified, the host name will be equal
	// to id of the instance and fqdn will be <id>.auto.internal.
	// Otherwise FQDN will be <hostname>.<region_id>.internal.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// A set of key/value label pairs to assign to the instance.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// List of local disks that are attached to the instance. Structure is documented below.
	LocalDisk []LocalDiskInitParameters `json:"localDisk,omitempty" tf:"local_disk,omitempty"`

	// Time between notification via metadata service and maintenance. E.g., 60s.
	MaintenanceGracePeriod *string `json:"maintenanceGracePeriod,omitempty" tf:"maintenance_grace_period,omitempty"`

	// Behaviour on maintenance events. The default is unspecified. Values: unspecified, migrate, restart.
	MaintenancePolicy *string `json:"maintenancePolicy,omitempty" tf:"maintenance_policy,omitempty"`

	// Metadata key/value pairs to make available from
	// within the instance.
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Options allow user to configure access to instance's metadata
	MetadataOptions []MetadataOptionsInitParameters `json:"metadataOptions,omitempty" tf:"metadata_options,omitempty"`

	// Resource name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Type of network acceleration. The default is standard. Values: standard, software_accelerated
	NetworkAccelerationType *string `json:"networkAccelerationType,omitempty" tf:"network_acceleration_type,omitempty"`

	// Networks to attach to the instance. This can
	// be specified multiple times. The structure is documented below.
	NetworkInterface []NetworkInterfaceInitParameters `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`

	// The placement policy configuration. The structure is documented below.
	PlacementPolicy []PlacementPolicyInitParameters `json:"placementPolicy,omitempty" tf:"placement_policy,omitempty"`

	// The type of virtual machine to create. The default is 'standard-v1'.
	PlatformID *string `json:"platformId,omitempty" tf:"platform_id,omitempty"`

	// Compute resources that are allocated for the instance. The structure is documented below.
	Resources []ResourcesInitParameters `json:"resources,omitempty" tf:"resources,omitempty"`

	// Scheduling policy configuration. The structure is documented below.
	SchedulingPolicy []SchedulingPolicyInitParameters `json:"schedulingPolicy,omitempty" tf:"scheduling_policy,omitempty"`

	// A list of disks to attach to the instance. The structure is documented below.
	// Note: The allow_stopping_for_update property must be set to true in order to update this structure.
	SecondaryDisk []SecondaryDiskInitParameters `json:"secondaryDisk,omitempty" tf:"secondary_disk,omitempty"`

	// ID of the service account authorized for this instance.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/iam/v1alpha1.ServiceAccount
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a ServiceAccount in iam to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in iam to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`

	// The availability zone where the virtual machine will be created. If it is not provided,
	// the default provider folder is used.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*InstanceInitParameters) DeepCopy

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

func (*InstanceInitParameters) DeepCopyInto

func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters)

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

type InstanceList

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

InstanceList contains a list of Instances

func (*InstanceList) DeepCopy

func (in *InstanceList) DeepCopy() *InstanceList

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

func (*InstanceList) DeepCopyInto

func (in *InstanceList) DeepCopyInto(out *InstanceList)

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

func (*InstanceList) DeepCopyObject

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

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

func (*InstanceList) GetItems

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

GetItems of this InstanceList.

type InstanceObservation

type InstanceObservation struct {

	// Default 5 minutes
	AllowRecreate *bool `json:"allowRecreate,omitempty" tf:"allow_recreate,omitempty"`

	// If you try to update a property that requires stopping the instance without setting this field, the update will fail.
	AllowStoppingForUpdate *bool `json:"allowStoppingForUpdate,omitempty" tf:"allow_stopping_for_update,omitempty"`

	// The boot disk for the instance. The structure is documented below.
	BootDisk []BootDiskObservation `json:"bootDisk,omitempty" tf:"boot_disk,omitempty"`

	// Creation timestamp of the instance.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the instance.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// List of filesystems that are attached to the instance. Structure is documented below.
	Filesystem []InstanceFilesystemObservation `json:"filesystem,omitempty" tf:"filesystem,omitempty"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// The fully qualified DNS name of this instance.
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// ID of the GPU cluster to attach this instance to. The GPU cluster must exist in the same zone as the instance.
	GpuClusterID *string `json:"gpuClusterId,omitempty" tf:"gpu_cluster_id,omitempty"`

	// Host name for the instance. This field is used to generate the instance fqdn value.
	// The host name must be unique within the network and region. If not specified, the host name will be equal
	// to id of the instance and fqdn will be <id>.auto.internal.
	// Otherwise FQDN will be <hostname>.<region_id>.internal.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A set of key/value label pairs to assign to the instance.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// List of local disks that are attached to the instance. Structure is documented below.
	LocalDisk []LocalDiskObservation `json:"localDisk,omitempty" tf:"local_disk,omitempty"`

	// Time between notification via metadata service and maintenance. E.g., 60s.
	MaintenanceGracePeriod *string `json:"maintenanceGracePeriod,omitempty" tf:"maintenance_grace_period,omitempty"`

	// Behaviour on maintenance events. The default is unspecified. Values: unspecified, migrate, restart.
	MaintenancePolicy *string `json:"maintenancePolicy,omitempty" tf:"maintenance_policy,omitempty"`

	// Metadata key/value pairs to make available from
	// within the instance.
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Options allow user to configure access to instance's metadata
	MetadataOptions []MetadataOptionsObservation `json:"metadataOptions,omitempty" tf:"metadata_options,omitempty"`

	// Resource name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Type of network acceleration. The default is standard. Values: standard, software_accelerated
	NetworkAccelerationType *string `json:"networkAccelerationType,omitempty" tf:"network_acceleration_type,omitempty"`

	// Networks to attach to the instance. This can
	// be specified multiple times. The structure is documented below.
	NetworkInterface []NetworkInterfaceObservation `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`

	// The placement policy configuration. The structure is documented below.
	PlacementPolicy []PlacementPolicyObservation `json:"placementPolicy,omitempty" tf:"placement_policy,omitempty"`

	// The type of virtual machine to create. The default is 'standard-v1'.
	PlatformID *string `json:"platformId,omitempty" tf:"platform_id,omitempty"`

	// Compute resources that are allocated for the instance. The structure is documented below.
	Resources []ResourcesObservation `json:"resources,omitempty" tf:"resources,omitempty"`

	// Scheduling policy configuration. The structure is documented below.
	SchedulingPolicy []SchedulingPolicyObservation `json:"schedulingPolicy,omitempty" tf:"scheduling_policy,omitempty"`

	// A list of disks to attach to the instance. The structure is documented below.
	// Note: The allow_stopping_for_update property must be set to true in order to update this structure.
	SecondaryDisk []SecondaryDiskObservation `json:"secondaryDisk,omitempty" tf:"secondary_disk,omitempty"`

	// ID of the service account authorized for this instance.
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// The status of this instance.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The availability zone where the virtual machine will be created. If it is not provided,
	// the default provider folder is used.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*InstanceObservation) DeepCopy

func (in *InstanceObservation) DeepCopy() *InstanceObservation

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

func (*InstanceObservation) DeepCopyInto

func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)

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

type InstanceParameters

type InstanceParameters struct {

	// Default 5 minutes
	// +kubebuilder:validation:Optional
	AllowRecreate *bool `json:"allowRecreate,omitempty" tf:"allow_recreate,omitempty"`

	// If you try to update a property that requires stopping the instance without setting this field, the update will fail.
	// +kubebuilder:validation:Optional
	AllowStoppingForUpdate *bool `json:"allowStoppingForUpdate,omitempty" tf:"allow_stopping_for_update,omitempty"`

	// The boot disk for the instance. The structure is documented below.
	// +kubebuilder:validation:Optional
	BootDisk []BootDiskParameters `json:"bootDisk,omitempty" tf:"boot_disk,omitempty"`

	// Description of the instance.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// List of filesystems that are attached to the instance. Structure is documented below.
	// +kubebuilder:validation:Optional
	Filesystem []InstanceFilesystemParameters `json:"filesystem,omitempty" tf:"filesystem,omitempty"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default 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:"-"`

	// ID of the GPU cluster to attach this instance to. The GPU cluster must exist in the same zone as the instance.
	// +kubebuilder:validation:Optional
	GpuClusterID *string `json:"gpuClusterId,omitempty" tf:"gpu_cluster_id,omitempty"`

	// Host name for the instance. This field is used to generate the instance fqdn value.
	// The host name must be unique within the network and region. If not specified, the host name will be equal
	// to id of the instance and fqdn will be <id>.auto.internal.
	// Otherwise FQDN will be <hostname>.<region_id>.internal.
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// A set of key/value label pairs to assign to the instance.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// List of local disks that are attached to the instance. Structure is documented below.
	// +kubebuilder:validation:Optional
	LocalDisk []LocalDiskParameters `json:"localDisk,omitempty" tf:"local_disk,omitempty"`

	// Time between notification via metadata service and maintenance. E.g., 60s.
	// +kubebuilder:validation:Optional
	MaintenanceGracePeriod *string `json:"maintenanceGracePeriod,omitempty" tf:"maintenance_grace_period,omitempty"`

	// Behaviour on maintenance events. The default is unspecified. Values: unspecified, migrate, restart.
	// +kubebuilder:validation:Optional
	MaintenancePolicy *string `json:"maintenancePolicy,omitempty" tf:"maintenance_policy,omitempty"`

	// Metadata key/value pairs to make available from
	// within the instance.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Options allow user to configure access to instance's metadata
	// +kubebuilder:validation:Optional
	MetadataOptions []MetadataOptionsParameters `json:"metadataOptions,omitempty" tf:"metadata_options,omitempty"`

	// Resource name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Type of network acceleration. The default is standard. Values: standard, software_accelerated
	// +kubebuilder:validation:Optional
	NetworkAccelerationType *string `json:"networkAccelerationType,omitempty" tf:"network_acceleration_type,omitempty"`

	// Networks to attach to the instance. This can
	// be specified multiple times. The structure is documented below.
	// +kubebuilder:validation:Optional
	NetworkInterface []NetworkInterfaceParameters `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`

	// The placement policy configuration. The structure is documented below.
	// +kubebuilder:validation:Optional
	PlacementPolicy []PlacementPolicyParameters `json:"placementPolicy,omitempty" tf:"placement_policy,omitempty"`

	// The type of virtual machine to create. The default is 'standard-v1'.
	// +kubebuilder:validation:Optional
	PlatformID *string `json:"platformId,omitempty" tf:"platform_id,omitempty"`

	// Compute resources that are allocated for the instance. The structure is documented below.
	// +kubebuilder:validation:Optional
	Resources []ResourcesParameters `json:"resources,omitempty" tf:"resources,omitempty"`

	// Scheduling policy configuration. The structure is documented below.
	// +kubebuilder:validation:Optional
	SchedulingPolicy []SchedulingPolicyParameters `json:"schedulingPolicy,omitempty" tf:"scheduling_policy,omitempty"`

	// A list of disks to attach to the instance. The structure is documented below.
	// Note: The allow_stopping_for_update property must be set to true in order to update this structure.
	// +kubebuilder:validation:Optional
	SecondaryDisk []SecondaryDiskParameters `json:"secondaryDisk,omitempty" tf:"secondary_disk,omitempty"`

	// ID of the service account authorized for this instance.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/iam/v1alpha1.ServiceAccount
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a ServiceAccount in iam to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in iam to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`

	// The availability zone where the virtual machine will be created. If it is not provided,
	// the default provider folder is used.
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*InstanceParameters) DeepCopy

func (in *InstanceParameters) DeepCopy() *InstanceParameters

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

func (*InstanceParameters) DeepCopyInto

func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)

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

type InstanceSpec

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

InstanceSpec defines the desired state of Instance

func (*InstanceSpec) DeepCopy

func (in *InstanceSpec) DeepCopy() *InstanceSpec

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

func (*InstanceSpec) DeepCopyInto

func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)

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

type InstanceStatus

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

InstanceStatus defines the observed state of Instance.

func (*InstanceStatus) DeepCopy

func (in *InstanceStatus) DeepCopy() *InstanceStatus

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

func (*InstanceStatus) DeepCopyInto

func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)

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

type InstanceTagsPoolInitParameters added in v0.1.1

type InstanceTagsPoolInitParameters struct {

	// List of tags for instances in zone.
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Availability zone.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*InstanceTagsPoolInitParameters) DeepCopy added in v0.1.1

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

func (*InstanceTagsPoolInitParameters) DeepCopyInto added in v0.1.1

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

type InstanceTagsPoolObservation added in v0.1.1

type InstanceTagsPoolObservation struct {

	// List of tags for instances in zone.
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Availability zone.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*InstanceTagsPoolObservation) DeepCopy added in v0.1.1

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

func (*InstanceTagsPoolObservation) DeepCopyInto added in v0.1.1

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

type InstanceTagsPoolParameters added in v0.1.1

type InstanceTagsPoolParameters struct {

	// List of tags for instances in zone.
	// +kubebuilder:validation:Optional
	Tags []*string `json:"tags" tf:"tags,omitempty"`

	// Availability zone.
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone" tf:"zone,omitempty"`
}

func (*InstanceTagsPoolParameters) DeepCopy added in v0.1.1

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

func (*InstanceTagsPoolParameters) DeepCopyInto added in v0.1.1

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

type InstanceTemplateBootDiskInitParameters

type InstanceTemplateBootDiskInitParameters struct {

	// This value can be used to reference the device under /dev/disk/by-id/.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the existing disk. To set use variables.
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Parameters used for creating a disk alongside the instance. The structure is documented below.
	InitializeParams []BootDiskInitializeParamsInitParameters `json:"initializeParams,omitempty" tf:"initialize_params,omitempty"`

	// The access mode to the disk resource. By default a disk is attached in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// When set can be later used to change DiskSpec of actual disk.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*InstanceTemplateBootDiskInitParameters) DeepCopy

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

func (*InstanceTemplateBootDiskInitParameters) DeepCopyInto

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

type InstanceTemplateBootDiskObservation

type InstanceTemplateBootDiskObservation struct {

	// This value can be used to reference the device under /dev/disk/by-id/.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the existing disk. To set use variables.
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Parameters used for creating a disk alongside the instance. The structure is documented below.
	InitializeParams []BootDiskInitializeParamsObservation `json:"initializeParams,omitempty" tf:"initialize_params,omitempty"`

	// The access mode to the disk resource. By default a disk is attached in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// When set can be later used to change DiskSpec of actual disk.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*InstanceTemplateBootDiskObservation) DeepCopy

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

func (*InstanceTemplateBootDiskObservation) DeepCopyInto

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

type InstanceTemplateBootDiskParameters

type InstanceTemplateBootDiskParameters struct {

	// This value can be used to reference the device under /dev/disk/by-id/.
	// +kubebuilder:validation:Optional
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the existing disk. To set use variables.
	// +kubebuilder:validation:Optional
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Parameters used for creating a disk alongside the instance. The structure is documented below.
	// +kubebuilder:validation:Optional
	InitializeParams []BootDiskInitializeParamsParameters `json:"initializeParams,omitempty" tf:"initialize_params,omitempty"`

	// The access mode to the disk resource. By default a disk is attached in READ_WRITE mode.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// When set can be later used to change DiskSpec of actual disk.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*InstanceTemplateBootDiskParameters) DeepCopy

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

func (*InstanceTemplateBootDiskParameters) DeepCopyInto

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

type InstanceTemplateFilesystemInitParameters

type InstanceTemplateFilesystemInitParameters struct {

	// This value can be used to reference the device under /dev/disk/by-id/.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the filesystem that should be attached.
	FilesystemID *string `json:"filesystemId,omitempty" tf:"filesystem_id,omitempty"`

	// The access mode to the disk resource. By default a disk is attached in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*InstanceTemplateFilesystemInitParameters) DeepCopy

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

func (*InstanceTemplateFilesystemInitParameters) DeepCopyInto

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

type InstanceTemplateFilesystemObservation

type InstanceTemplateFilesystemObservation struct {

	// This value can be used to reference the device under /dev/disk/by-id/.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the filesystem that should be attached.
	FilesystemID *string `json:"filesystemId,omitempty" tf:"filesystem_id,omitempty"`

	// The access mode to the disk resource. By default a disk is attached in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*InstanceTemplateFilesystemObservation) DeepCopy

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

func (*InstanceTemplateFilesystemObservation) DeepCopyInto

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

type InstanceTemplateFilesystemParameters

type InstanceTemplateFilesystemParameters struct {

	// This value can be used to reference the device under /dev/disk/by-id/.
	// +kubebuilder:validation:Optional
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the filesystem that should be attached.
	// +kubebuilder:validation:Optional
	FilesystemID *string `json:"filesystemId" tf:"filesystem_id,omitempty"`

	// The access mode to the disk resource. By default a disk is attached in READ_WRITE mode.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*InstanceTemplateFilesystemParameters) DeepCopy

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

func (*InstanceTemplateFilesystemParameters) DeepCopyInto

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

type InstanceTemplateInitParameters

type InstanceTemplateInitParameters struct {

	// Boot disk specifications for the instance. The structure is documented below.
	BootDisk []InstanceTemplateBootDiskInitParameters `json:"bootDisk,omitempty" tf:"boot_disk,omitempty"`

	// A description of the instance.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// List of filesystems to attach to the instance. The structure is documented below.
	Filesystem []InstanceTemplateFilesystemInitParameters `json:"filesystem,omitempty" tf:"filesystem,omitempty"`

	// Hostname template for the instance.
	// This field is used to generate the FQDN value of instance.
	// The hostname must be unique within the network and region.
	// If not specified, the hostname will be equal to id of the instance
	// and FQDN will be <id>.auto.internal. Otherwise FQDN will be <hostname>.<region_id>.internal.
	// In order to be unique it must contain at least on of instance unique placeholders:
	// {instance.short_id}
	// {instance.index}
	// combination of {instance.zone_id} and {instance.index_in_zone}
	// Example: my-instance-{instance.index}
	// If not set, name value will be used
	// It may also contain another placeholders, see metadata doc for full list.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// A set of key/value label pairs to assign to the instance.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A set of metadata key/value pairs to make available from within the instance.
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Name template of the instance.
	// In order to be unique it must contain at least one of instance unique placeholders:
	// {instance.short_id}
	// {instance.index}
	// combination of {instance.zone_id} and {instance.index_in_zone}
	// Example: my-instance-{instance.index}
	// If not set, default is used: {instance_group.id}-{instance.short_id}
	// It may also contain another placeholders, see metadata doc for full list.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Network specifications for the instance. This can be used multiple times for adding multiple interfaces. The structure is documented below.
	NetworkInterface []InstanceTemplateNetworkInterfaceInitParameters `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`

	// Network acceleration type for instance. The structure is documented below.
	NetworkSettings []NetworkSettingsInitParameters `json:"networkSettings,omitempty" tf:"network_settings,omitempty"`

	// The placement policy configuration. The structure is documented below.
	PlacementPolicy []InstanceTemplatePlacementPolicyInitParameters `json:"placementPolicy,omitempty" tf:"placement_policy,omitempty"`

	// The ID of the hardware platform configuration for the instance. The default is 'standard-v1'.
	PlatformID *string `json:"platformId,omitempty" tf:"platform_id,omitempty"`

	// Compute resource specifications for the instance. The structure is documented below.
	Resources []InstanceTemplateResourcesInitParameters `json:"resources,omitempty" tf:"resources,omitempty"`

	// The scheduling policy configuration. The structure is documented below.
	SchedulingPolicy []InstanceTemplateSchedulingPolicyInitParameters `json:"schedulingPolicy,omitempty" tf:"scheduling_policy,omitempty"`

	// A list of disks to attach to the instance. The structure is documented below.
	SecondaryDisk []InstanceTemplateSecondaryDiskInitParameters `json:"secondaryDisk,omitempty" tf:"secondary_disk,omitempty"`

	// The ID of the service account authorized for this instance.
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`
}

func (*InstanceTemplateInitParameters) DeepCopy

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

func (*InstanceTemplateInitParameters) DeepCopyInto

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

type InstanceTemplateNetworkInterfaceInitParameters

type InstanceTemplateNetworkInterfaceInitParameters struct {

	// List of dns records.  The structure is documented below.
	DNSRecord []NetworkInterfaceDNSRecordInitParameters `json:"dnsRecord,omitempty" tf:"dns_record,omitempty"`

	// Manual set static IP address.
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// True if IPv4 address allocated for the network interface.
	IPv4 *bool `json:"ipv4,omitempty" tf:"ipv4,omitempty"`

	IPv6 *bool `json:"ipv6,omitempty" tf:"ipv6,omitempty"`

	// Manual set static IPv6 address.
	IPv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address,omitempty"`

	// List of ipv6 dns records.  The structure is documented below.
	IPv6DNSRecord []NetworkInterfaceIPv6DNSRecordInitParameters `json:"ipv6DnsRecord,omitempty" tf:"ipv6_dns_record,omitempty"`

	// Flag for using NAT.
	NAT *bool `json:"nat,omitempty" tf:"nat,omitempty"`

	// List of nat dns records.  The structure is documented below.
	NATDNSRecord []NetworkInterfaceNATDNSRecordInitParameters `json:"natDnsRecord,omitempty" tf:"nat_dns_record,omitempty"`

	// A public address that can be used to access the internet over NAT. Use variables to set.
	NATIPAddress *string `json:"natIpAddress,omitempty" tf:"nat_ip_address,omitempty"`

	// The ID of the network.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.Network
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Reference to a Network in vpc to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// Selector for a Network in vpc to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	// Security group ids for network interface.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.SecurityGroup
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to SecurityGroup in vpc to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in vpc to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// The ID of the subnets to attach this interface to.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.Subnet
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// References to Subnet in vpc to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIdsRefs []v1.Reference `json:"subnetIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in vpc to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIdsSelector *v1.Selector `json:"subnetIdsSelector,omitempty" tf:"-"`
}

func (*InstanceTemplateNetworkInterfaceInitParameters) DeepCopy

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

func (*InstanceTemplateNetworkInterfaceInitParameters) DeepCopyInto

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

type InstanceTemplateNetworkInterfaceObservation

type InstanceTemplateNetworkInterfaceObservation struct {

	// List of dns records.  The structure is documented below.
	DNSRecord []NetworkInterfaceDNSRecordObservation `json:"dnsRecord,omitempty" tf:"dns_record,omitempty"`

	// Manual set static IP address.
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// True if IPv4 address allocated for the network interface.
	IPv4 *bool `json:"ipv4,omitempty" tf:"ipv4,omitempty"`

	IPv6 *bool `json:"ipv6,omitempty" tf:"ipv6,omitempty"`

	// Manual set static IPv6 address.
	IPv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address,omitempty"`

	// List of ipv6 dns records.  The structure is documented below.
	IPv6DNSRecord []NetworkInterfaceIPv6DNSRecordObservation `json:"ipv6DnsRecord,omitempty" tf:"ipv6_dns_record,omitempty"`

	// Flag for using NAT.
	NAT *bool `json:"nat,omitempty" tf:"nat,omitempty"`

	// List of nat dns records.  The structure is documented below.
	NATDNSRecord []NetworkInterfaceNATDNSRecordObservation `json:"natDnsRecord,omitempty" tf:"nat_dns_record,omitempty"`

	// A public address that can be used to access the internet over NAT. Use variables to set.
	NATIPAddress *string `json:"natIpAddress,omitempty" tf:"nat_ip_address,omitempty"`

	// The ID of the network.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Security group ids for network interface.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// The ID of the subnets to attach this interface to.
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`
}

func (*InstanceTemplateNetworkInterfaceObservation) DeepCopy

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

func (*InstanceTemplateNetworkInterfaceObservation) DeepCopyInto

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

type InstanceTemplateNetworkInterfaceParameters

type InstanceTemplateNetworkInterfaceParameters struct {

	// List of dns records.  The structure is documented below.
	// +kubebuilder:validation:Optional
	DNSRecord []NetworkInterfaceDNSRecordParameters `json:"dnsRecord,omitempty" tf:"dns_record,omitempty"`

	// Manual set static IP address.
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// True if IPv4 address allocated for the network interface.
	// +kubebuilder:validation:Optional
	IPv4 *bool `json:"ipv4,omitempty" tf:"ipv4,omitempty"`

	// +kubebuilder:validation:Optional
	IPv6 *bool `json:"ipv6,omitempty" tf:"ipv6,omitempty"`

	// Manual set static IPv6 address.
	// +kubebuilder:validation:Optional
	IPv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address,omitempty"`

	// List of ipv6 dns records.  The structure is documented below.
	// +kubebuilder:validation:Optional
	IPv6DNSRecord []NetworkInterfaceIPv6DNSRecordParameters `json:"ipv6DnsRecord,omitempty" tf:"ipv6_dns_record,omitempty"`

	// Flag for using NAT.
	// +kubebuilder:validation:Optional
	NAT *bool `json:"nat,omitempty" tf:"nat,omitempty"`

	// List of nat dns records.  The structure is documented below.
	// +kubebuilder:validation:Optional
	NATDNSRecord []NetworkInterfaceNATDNSRecordParameters `json:"natDnsRecord,omitempty" tf:"nat_dns_record,omitempty"`

	// A public address that can be used to access the internet over NAT. Use variables to set.
	// +kubebuilder:validation:Optional
	NATIPAddress *string `json:"natIpAddress,omitempty" tf:"nat_ip_address,omitempty"`

	// The ID of the network.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.Network
	// +kubebuilder:validation:Optional
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Reference to a Network in vpc to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// Selector for a Network in vpc to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	// Security group ids for network interface.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.SecurityGroup
	// +kubebuilder:validation:Optional
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to SecurityGroup in vpc to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in vpc to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// The ID of the subnets to attach this interface to.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// References to Subnet in vpc to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIdsRefs []v1.Reference `json:"subnetIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in vpc to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIdsSelector *v1.Selector `json:"subnetIdsSelector,omitempty" tf:"-"`
}

func (*InstanceTemplateNetworkInterfaceParameters) DeepCopy

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

func (*InstanceTemplateNetworkInterfaceParameters) DeepCopyInto

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

type InstanceTemplateObservation

type InstanceTemplateObservation struct {

	// Boot disk specifications for the instance. The structure is documented below.
	BootDisk []InstanceTemplateBootDiskObservation `json:"bootDisk,omitempty" tf:"boot_disk,omitempty"`

	// A description of the instance.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// List of filesystems to attach to the instance. The structure is documented below.
	Filesystem []InstanceTemplateFilesystemObservation `json:"filesystem,omitempty" tf:"filesystem,omitempty"`

	// Hostname template for the instance.
	// This field is used to generate the FQDN value of instance.
	// The hostname must be unique within the network and region.
	// If not specified, the hostname will be equal to id of the instance
	// and FQDN will be <id>.auto.internal. Otherwise FQDN will be <hostname>.<region_id>.internal.
	// In order to be unique it must contain at least on of instance unique placeholders:
	// {instance.short_id}
	// {instance.index}
	// combination of {instance.zone_id} and {instance.index_in_zone}
	// Example: my-instance-{instance.index}
	// If not set, name value will be used
	// It may also contain another placeholders, see metadata doc for full list.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// A set of key/value label pairs to assign to the instance.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A set of metadata key/value pairs to make available from within the instance.
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Name template of the instance.
	// In order to be unique it must contain at least one of instance unique placeholders:
	// {instance.short_id}
	// {instance.index}
	// combination of {instance.zone_id} and {instance.index_in_zone}
	// Example: my-instance-{instance.index}
	// If not set, default is used: {instance_group.id}-{instance.short_id}
	// It may also contain another placeholders, see metadata doc for full list.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Network specifications for the instance. This can be used multiple times for adding multiple interfaces. The structure is documented below.
	NetworkInterface []InstanceTemplateNetworkInterfaceObservation `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`

	// Network acceleration type for instance. The structure is documented below.
	NetworkSettings []NetworkSettingsObservation `json:"networkSettings,omitempty" tf:"network_settings,omitempty"`

	// The placement policy configuration. The structure is documented below.
	PlacementPolicy []InstanceTemplatePlacementPolicyObservation `json:"placementPolicy,omitempty" tf:"placement_policy,omitempty"`

	// The ID of the hardware platform configuration for the instance. The default is 'standard-v1'.
	PlatformID *string `json:"platformId,omitempty" tf:"platform_id,omitempty"`

	// Compute resource specifications for the instance. The structure is documented below.
	Resources []InstanceTemplateResourcesObservation `json:"resources,omitempty" tf:"resources,omitempty"`

	// The scheduling policy configuration. The structure is documented below.
	SchedulingPolicy []InstanceTemplateSchedulingPolicyObservation `json:"schedulingPolicy,omitempty" tf:"scheduling_policy,omitempty"`

	// A list of disks to attach to the instance. The structure is documented below.
	SecondaryDisk []InstanceTemplateSecondaryDiskObservation `json:"secondaryDisk,omitempty" tf:"secondary_disk,omitempty"`

	// The ID of the service account authorized for this instance.
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`
}

func (*InstanceTemplateObservation) DeepCopy

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

func (*InstanceTemplateObservation) DeepCopyInto

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

type InstanceTemplateParameters

type InstanceTemplateParameters struct {

	// Boot disk specifications for the instance. The structure is documented below.
	// +kubebuilder:validation:Optional
	BootDisk []InstanceTemplateBootDiskParameters `json:"bootDisk" tf:"boot_disk,omitempty"`

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

	// List of filesystems to attach to the instance. The structure is documented below.
	// +kubebuilder:validation:Optional
	Filesystem []InstanceTemplateFilesystemParameters `json:"filesystem,omitempty" tf:"filesystem,omitempty"`

	// Hostname template for the instance.
	// This field is used to generate the FQDN value of instance.
	// The hostname must be unique within the network and region.
	// If not specified, the hostname will be equal to id of the instance
	// and FQDN will be <id>.auto.internal. Otherwise FQDN will be <hostname>.<region_id>.internal.
	// In order to be unique it must contain at least on of instance unique placeholders:
	// {instance.short_id}
	// {instance.index}
	// combination of {instance.zone_id} and {instance.index_in_zone}
	// Example: my-instance-{instance.index}
	// If not set, name value will be used
	// It may also contain another placeholders, see metadata doc for full list.
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// A set of key/value label pairs to assign to the instance.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A set of metadata key/value pairs to make available from within the instance.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Name template of the instance.
	// In order to be unique it must contain at least one of instance unique placeholders:
	// {instance.short_id}
	// {instance.index}
	// combination of {instance.zone_id} and {instance.index_in_zone}
	// Example: my-instance-{instance.index}
	// If not set, default is used: {instance_group.id}-{instance.short_id}
	// It may also contain another placeholders, see metadata doc for full list.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Network specifications for the instance. This can be used multiple times for adding multiple interfaces. The structure is documented below.
	// +kubebuilder:validation:Optional
	NetworkInterface []InstanceTemplateNetworkInterfaceParameters `json:"networkInterface" tf:"network_interface,omitempty"`

	// Network acceleration type for instance. The structure is documented below.
	// +kubebuilder:validation:Optional
	NetworkSettings []NetworkSettingsParameters `json:"networkSettings,omitempty" tf:"network_settings,omitempty"`

	// The placement policy configuration. The structure is documented below.
	// +kubebuilder:validation:Optional
	PlacementPolicy []InstanceTemplatePlacementPolicyParameters `json:"placementPolicy,omitempty" tf:"placement_policy,omitempty"`

	// The ID of the hardware platform configuration for the instance. The default is 'standard-v1'.
	// +kubebuilder:validation:Optional
	PlatformID *string `json:"platformId,omitempty" tf:"platform_id,omitempty"`

	// Compute resource specifications for the instance. The structure is documented below.
	// +kubebuilder:validation:Optional
	Resources []InstanceTemplateResourcesParameters `json:"resources" tf:"resources,omitempty"`

	// The scheduling policy configuration. The structure is documented below.
	// +kubebuilder:validation:Optional
	SchedulingPolicy []InstanceTemplateSchedulingPolicyParameters `json:"schedulingPolicy,omitempty" tf:"scheduling_policy,omitempty"`

	// A list of disks to attach to the instance. The structure is documented below.
	// +kubebuilder:validation:Optional
	SecondaryDisk []InstanceTemplateSecondaryDiskParameters `json:"secondaryDisk,omitempty" tf:"secondary_disk,omitempty"`

	// The ID of the service account authorized for this instance.
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`
}

func (*InstanceTemplateParameters) DeepCopy

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

func (*InstanceTemplateParameters) DeepCopyInto

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

type InstanceTemplatePlacementPolicyInitParameters

type InstanceTemplatePlacementPolicyInitParameters struct {

	// Specifies the id of the Placement Group to assign to the instances.
	PlacementGroupID *string `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`
}

func (*InstanceTemplatePlacementPolicyInitParameters) DeepCopy

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

func (*InstanceTemplatePlacementPolicyInitParameters) DeepCopyInto

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

type InstanceTemplatePlacementPolicyObservation

type InstanceTemplatePlacementPolicyObservation struct {

	// Specifies the id of the Placement Group to assign to the instances.
	PlacementGroupID *string `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`
}

func (*InstanceTemplatePlacementPolicyObservation) DeepCopy

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

func (*InstanceTemplatePlacementPolicyObservation) DeepCopyInto

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

type InstanceTemplatePlacementPolicyParameters

type InstanceTemplatePlacementPolicyParameters struct {

	// Specifies the id of the Placement Group to assign to the instances.
	// +kubebuilder:validation:Optional
	PlacementGroupID *string `json:"placementGroupId" tf:"placement_group_id,omitempty"`
}

func (*InstanceTemplatePlacementPolicyParameters) DeepCopy

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

func (*InstanceTemplatePlacementPolicyParameters) DeepCopyInto

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

type InstanceTemplateResourcesInitParameters

type InstanceTemplateResourcesInitParameters struct {

	// If provided, specifies baseline core performance as a percent.
	CoreFraction *float64 `json:"coreFraction,omitempty" tf:"core_fraction,omitempty"`

	// The number of CPU cores for the instance.
	Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"`

	Gpus *float64 `json:"gpus,omitempty" tf:"gpus,omitempty"`

	// The memory size in GB.
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`
}

func (*InstanceTemplateResourcesInitParameters) DeepCopy

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

func (*InstanceTemplateResourcesInitParameters) DeepCopyInto

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

type InstanceTemplateResourcesObservation

type InstanceTemplateResourcesObservation struct {

	// If provided, specifies baseline core performance as a percent.
	CoreFraction *float64 `json:"coreFraction,omitempty" tf:"core_fraction,omitempty"`

	// The number of CPU cores for the instance.
	Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"`

	Gpus *float64 `json:"gpus,omitempty" tf:"gpus,omitempty"`

	// The memory size in GB.
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`
}

func (*InstanceTemplateResourcesObservation) DeepCopy

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

func (*InstanceTemplateResourcesObservation) DeepCopyInto

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

type InstanceTemplateResourcesParameters

type InstanceTemplateResourcesParameters struct {

	// If provided, specifies baseline core performance as a percent.
	// +kubebuilder:validation:Optional
	CoreFraction *float64 `json:"coreFraction,omitempty" tf:"core_fraction,omitempty"`

	// The number of CPU cores for the instance.
	// +kubebuilder:validation:Optional
	Cores *float64 `json:"cores" tf:"cores,omitempty"`

	// +kubebuilder:validation:Optional
	Gpus *float64 `json:"gpus,omitempty" tf:"gpus,omitempty"`

	// The memory size in GB.
	// +kubebuilder:validation:Optional
	Memory *float64 `json:"memory" tf:"memory,omitempty"`
}

func (*InstanceTemplateResourcesParameters) DeepCopy

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

func (*InstanceTemplateResourcesParameters) DeepCopyInto

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

type InstanceTemplateSchedulingPolicyInitParameters

type InstanceTemplateSchedulingPolicyInitParameters struct {

	// Specifies if the instance is preemptible. Defaults to false.
	Preemptible *bool `json:"preemptible,omitempty" tf:"preemptible,omitempty"`
}

func (*InstanceTemplateSchedulingPolicyInitParameters) DeepCopy

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

func (*InstanceTemplateSchedulingPolicyInitParameters) DeepCopyInto

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

type InstanceTemplateSchedulingPolicyObservation

type InstanceTemplateSchedulingPolicyObservation struct {

	// Specifies if the instance is preemptible. Defaults to false.
	Preemptible *bool `json:"preemptible,omitempty" tf:"preemptible,omitempty"`
}

func (*InstanceTemplateSchedulingPolicyObservation) DeepCopy

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

func (*InstanceTemplateSchedulingPolicyObservation) DeepCopyInto

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

type InstanceTemplateSchedulingPolicyParameters

type InstanceTemplateSchedulingPolicyParameters struct {

	// Specifies if the instance is preemptible. Defaults to false.
	// +kubebuilder:validation:Optional
	Preemptible *bool `json:"preemptible,omitempty" tf:"preemptible,omitempty"`
}

func (*InstanceTemplateSchedulingPolicyParameters) DeepCopy

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

func (*InstanceTemplateSchedulingPolicyParameters) DeepCopyInto

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

type InstanceTemplateSecondaryDiskInitParameters

type InstanceTemplateSecondaryDiskInitParameters struct {

	// This value can be used to reference the device under /dev/disk/by-id/.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the existing disk. To set use variables.
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Parameters used for creating a disk alongside the instance. The structure is documented below.
	InitializeParams []SecondaryDiskInitializeParamsInitParameters `json:"initializeParams,omitempty" tf:"initialize_params,omitempty"`

	// The access mode to the disk resource. By default a disk is attached in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// When set can be later used to change DiskSpec of actual disk.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*InstanceTemplateSecondaryDiskInitParameters) DeepCopy

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

func (*InstanceTemplateSecondaryDiskInitParameters) DeepCopyInto

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

type InstanceTemplateSecondaryDiskObservation

type InstanceTemplateSecondaryDiskObservation struct {

	// This value can be used to reference the device under /dev/disk/by-id/.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the existing disk. To set use variables.
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Parameters used for creating a disk alongside the instance. The structure is documented below.
	InitializeParams []SecondaryDiskInitializeParamsObservation `json:"initializeParams,omitempty" tf:"initialize_params,omitempty"`

	// The access mode to the disk resource. By default a disk is attached in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// When set can be later used to change DiskSpec of actual disk.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*InstanceTemplateSecondaryDiskObservation) DeepCopy

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

func (*InstanceTemplateSecondaryDiskObservation) DeepCopyInto

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

type InstanceTemplateSecondaryDiskParameters

type InstanceTemplateSecondaryDiskParameters struct {

	// This value can be used to reference the device under /dev/disk/by-id/.
	// +kubebuilder:validation:Optional
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the existing disk. To set use variables.
	// +kubebuilder:validation:Optional
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Parameters used for creating a disk alongside the instance. The structure is documented below.
	// +kubebuilder:validation:Optional
	InitializeParams []SecondaryDiskInitializeParamsParameters `json:"initializeParams,omitempty" tf:"initialize_params,omitempty"`

	// The access mode to the disk resource. By default a disk is attached in READ_WRITE mode.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// When set can be later used to change DiskSpec of actual disk.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*InstanceTemplateSecondaryDiskParameters) DeepCopy

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

func (*InstanceTemplateSecondaryDiskParameters) DeepCopyInto

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

type InstancesInitParameters

type InstancesInitParameters struct {
}

func (*InstancesInitParameters) DeepCopy

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

func (*InstancesInitParameters) DeepCopyInto

func (in *InstancesInitParameters) DeepCopyInto(out *InstancesInitParameters)

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

type InstancesNetworkInterfaceInitParameters

type InstancesNetworkInterfaceInitParameters struct {
}

func (*InstancesNetworkInterfaceInitParameters) DeepCopy

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

func (*InstancesNetworkInterfaceInitParameters) DeepCopyInto

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

type InstancesNetworkInterfaceObservation

type InstancesNetworkInterfaceObservation struct {

	// The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// True if IPv4 address allocated for the network interface.
	IPv4 *bool `json:"ipv4,omitempty" tf:"ipv4,omitempty"`

	IPv6 *bool `json:"ipv6,omitempty" tf:"ipv6,omitempty"`

	// Manual set static IPv6 address.
	IPv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address,omitempty"`

	// The index of the network interface as generated by the server.
	Index *float64 `json:"index,omitempty" tf:"index,omitempty"`

	// The MAC address assigned to the network interface.
	MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"`

	// The instance's public address for accessing the internet over NAT.
	NAT *bool `json:"nat,omitempty" tf:"nat,omitempty"`

	// The public IP address of the instance.
	NATIPAddress *string `json:"natIpAddress,omitempty" tf:"nat_ip_address,omitempty"`

	// The IP version for the public address.
	NATIPVersion *string `json:"natIpVersion,omitempty" tf:"nat_ip_version,omitempty"`

	// The ID of the subnet to attach this interface to. The subnet must reside in the same zone where this instance was created.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*InstancesNetworkInterfaceObservation) DeepCopy

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

func (*InstancesNetworkInterfaceObservation) DeepCopyInto

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

type InstancesNetworkInterfaceParameters

type InstancesNetworkInterfaceParameters struct {
}

func (*InstancesNetworkInterfaceParameters) DeepCopy

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

func (*InstancesNetworkInterfaceParameters) DeepCopyInto

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

type InstancesObservation

type InstancesObservation struct {

	// The Fully Qualified Domain Name.
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// The ID of the instance.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	InstanceTag *string `json:"instanceTag,omitempty" tf:"instance_tag,omitempty"`

	// The name of the managed instance.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// An array with the network interfaces attached to the managed instance.
	NetworkInterface []InstancesNetworkInterfaceObservation `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`

	// The status of the instance.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	StatusChangedAt *string `json:"statusChangedAt,omitempty" tf:"status_changed_at,omitempty"`

	// The status message of the instance.
	StatusMessage *string `json:"statusMessage,omitempty" tf:"status_message,omitempty"`

	// The ID of the availability zone where the instance resides.
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`
}

func (*InstancesObservation) DeepCopy

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

func (*InstancesObservation) DeepCopyInto

func (in *InstancesObservation) DeepCopyInto(out *InstancesObservation)

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

type InstancesParameters

type InstancesParameters struct {
}

func (*InstancesParameters) DeepCopy

func (in *InstancesParameters) DeepCopy() *InstancesParameters

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

func (*InstancesParameters) DeepCopyInto

func (in *InstancesParameters) DeepCopyInto(out *InstancesParameters)

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

type LoadBalancerInitParameters

type LoadBalancerInitParameters struct {

	// Do not wait load balancer health checks.
	IgnoreHealthChecks *bool `json:"ignoreHealthChecks,omitempty" tf:"ignore_health_checks,omitempty"`

	// Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
	MaxOpeningTrafficDuration *float64 `json:"maxOpeningTrafficDuration,omitempty" tf:"max_opening_traffic_duration,omitempty"`

	// A description of the target group.
	TargetGroupDescription *string `json:"targetGroupDescription,omitempty" tf:"target_group_description,omitempty"`

	// A set of key/value label pairs.
	// +mapType=granular
	TargetGroupLabels map[string]*string `json:"targetGroupLabels,omitempty" tf:"target_group_labels,omitempty"`

	// The name of the target group.
	TargetGroupName *string `json:"targetGroupName,omitempty" tf:"target_group_name,omitempty"`
}

func (*LoadBalancerInitParameters) DeepCopy

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

func (*LoadBalancerInitParameters) DeepCopyInto

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

type LoadBalancerObservation

type LoadBalancerObservation struct {

	// Do not wait load balancer health checks.
	IgnoreHealthChecks *bool `json:"ignoreHealthChecks,omitempty" tf:"ignore_health_checks,omitempty"`

	// Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
	MaxOpeningTrafficDuration *float64 `json:"maxOpeningTrafficDuration,omitempty" tf:"max_opening_traffic_duration,omitempty"`

	// The status message of the target group.
	StatusMessage *string `json:"statusMessage,omitempty" tf:"status_message,omitempty"`

	// A description of the target group.
	TargetGroupDescription *string `json:"targetGroupDescription,omitempty" tf:"target_group_description,omitempty"`

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

	// A set of key/value label pairs.
	// +mapType=granular
	TargetGroupLabels map[string]*string `json:"targetGroupLabels,omitempty" tf:"target_group_labels,omitempty"`

	// The name of the target group.
	TargetGroupName *string `json:"targetGroupName,omitempty" tf:"target_group_name,omitempty"`
}

func (*LoadBalancerObservation) DeepCopy

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

func (*LoadBalancerObservation) DeepCopyInto

func (in *LoadBalancerObservation) DeepCopyInto(out *LoadBalancerObservation)

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

type LoadBalancerParameters

type LoadBalancerParameters struct {

	// Do not wait load balancer health checks.
	// +kubebuilder:validation:Optional
	IgnoreHealthChecks *bool `json:"ignoreHealthChecks,omitempty" tf:"ignore_health_checks,omitempty"`

	// Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
	// +kubebuilder:validation:Optional
	MaxOpeningTrafficDuration *float64 `json:"maxOpeningTrafficDuration,omitempty" tf:"max_opening_traffic_duration,omitempty"`

	// A description of the target group.
	// +kubebuilder:validation:Optional
	TargetGroupDescription *string `json:"targetGroupDescription,omitempty" tf:"target_group_description,omitempty"`

	// A set of key/value label pairs.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	TargetGroupLabels map[string]*string `json:"targetGroupLabels,omitempty" tf:"target_group_labels,omitempty"`

	// The name of the target group.
	// +kubebuilder:validation:Optional
	TargetGroupName *string `json:"targetGroupName,omitempty" tf:"target_group_name,omitempty"`
}

func (*LoadBalancerParameters) DeepCopy

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

func (*LoadBalancerParameters) DeepCopyInto

func (in *LoadBalancerParameters) DeepCopyInto(out *LoadBalancerParameters)

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

type LocalDiskInitParameters

type LocalDiskInitParameters struct {

	// Size of the disk, specified in bytes.
	SizeBytes *float64 `json:"sizeBytes,omitempty" tf:"size_bytes,omitempty"`
}

func (*LocalDiskInitParameters) DeepCopy

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

func (*LocalDiskInitParameters) DeepCopyInto

func (in *LocalDiskInitParameters) DeepCopyInto(out *LocalDiskInitParameters)

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

type LocalDiskObservation

type LocalDiskObservation struct {

	// The name of the local disk device.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// Size of the disk, specified in bytes.
	SizeBytes *float64 `json:"sizeBytes,omitempty" tf:"size_bytes,omitempty"`
}

func (*LocalDiskObservation) DeepCopy

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

func (*LocalDiskObservation) DeepCopyInto

func (in *LocalDiskObservation) DeepCopyInto(out *LocalDiskObservation)

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

type LocalDiskParameters

type LocalDiskParameters struct {

	// Size of the disk, specified in bytes.
	// +kubebuilder:validation:Optional
	SizeBytes *float64 `json:"sizeBytes" tf:"size_bytes,omitempty"`
}

func (*LocalDiskParameters) DeepCopy

func (in *LocalDiskParameters) DeepCopy() *LocalDiskParameters

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

func (*LocalDiskParameters) DeepCopyInto

func (in *LocalDiskParameters) DeepCopyInto(out *LocalDiskParameters)

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

type MetadataOptionsInitParameters

type MetadataOptionsInitParameters struct {
	AwsV1HTTPEndpoint *float64 `json:"awsV1HttpEndpoint,omitempty" tf:"aws_v1_http_endpoint,omitempty"`

	AwsV1HTTPToken *float64 `json:"awsV1HttpToken,omitempty" tf:"aws_v1_http_token,omitempty"`

	GceHTTPEndpoint *float64 `json:"gceHttpEndpoint,omitempty" tf:"gce_http_endpoint,omitempty"`

	GceHTTPToken *float64 `json:"gceHttpToken,omitempty" tf:"gce_http_token,omitempty"`
}

func (*MetadataOptionsInitParameters) DeepCopy

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

func (*MetadataOptionsInitParameters) DeepCopyInto

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

type MetadataOptionsObservation

type MetadataOptionsObservation struct {
	AwsV1HTTPEndpoint *float64 `json:"awsV1HttpEndpoint,omitempty" tf:"aws_v1_http_endpoint,omitempty"`

	AwsV1HTTPToken *float64 `json:"awsV1HttpToken,omitempty" tf:"aws_v1_http_token,omitempty"`

	GceHTTPEndpoint *float64 `json:"gceHttpEndpoint,omitempty" tf:"gce_http_endpoint,omitempty"`

	GceHTTPToken *float64 `json:"gceHttpToken,omitempty" tf:"gce_http_token,omitempty"`
}

func (*MetadataOptionsObservation) DeepCopy

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

func (*MetadataOptionsObservation) DeepCopyInto

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

type MetadataOptionsParameters

type MetadataOptionsParameters struct {

	// +kubebuilder:validation:Optional
	AwsV1HTTPEndpoint *float64 `json:"awsV1HttpEndpoint,omitempty" tf:"aws_v1_http_endpoint,omitempty"`

	// +kubebuilder:validation:Optional
	AwsV1HTTPToken *float64 `json:"awsV1HttpToken,omitempty" tf:"aws_v1_http_token,omitempty"`

	// +kubebuilder:validation:Optional
	GceHTTPEndpoint *float64 `json:"gceHttpEndpoint,omitempty" tf:"gce_http_endpoint,omitempty"`

	// +kubebuilder:validation:Optional
	GceHTTPToken *float64 `json:"gceHttpToken,omitempty" tf:"gce_http_token,omitempty"`
}

func (*MetadataOptionsParameters) DeepCopy

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

func (*MetadataOptionsParameters) DeepCopyInto

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

type NATDNSRecordInitParameters

type NATDNSRecordInitParameters struct {

	// DNS zone ID (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record FQDN (must have a dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create a PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL. in seconds
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NATDNSRecordInitParameters) DeepCopy

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

func (*NATDNSRecordInitParameters) DeepCopyInto

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

type NATDNSRecordObservation

type NATDNSRecordObservation struct {

	// DNS zone ID (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record FQDN (must have a dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create a PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL. in seconds
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NATDNSRecordObservation) DeepCopy

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

func (*NATDNSRecordObservation) DeepCopyInto

func (in *NATDNSRecordObservation) DeepCopyInto(out *NATDNSRecordObservation)

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

type NATDNSRecordParameters

type NATDNSRecordParameters struct {

	// DNS zone ID (if not set, private zone used).
	// +kubebuilder:validation:Optional
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record FQDN (must have a dot at the end).
	// +kubebuilder:validation:Optional
	Fqdn *string `json:"fqdn" tf:"fqdn,omitempty"`

	// When set to true, also create a PTR DNS record.
	// +kubebuilder:validation:Optional
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL. in seconds
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NATDNSRecordParameters) DeepCopy

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

func (*NATDNSRecordParameters) DeepCopyInto

func (in *NATDNSRecordParameters) DeepCopyInto(out *NATDNSRecordParameters)

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

type NetworkInterfaceDNSRecordInitParameters

type NetworkInterfaceDNSRecordInitParameters struct {

	// DNS zone id (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record fqdn (must have dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NetworkInterfaceDNSRecordInitParameters) DeepCopy

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

func (*NetworkInterfaceDNSRecordInitParameters) DeepCopyInto

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

type NetworkInterfaceDNSRecordObservation

type NetworkInterfaceDNSRecordObservation struct {

	// DNS zone id (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record fqdn (must have dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NetworkInterfaceDNSRecordObservation) DeepCopy

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

func (*NetworkInterfaceDNSRecordObservation) DeepCopyInto

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

type NetworkInterfaceDNSRecordParameters

type NetworkInterfaceDNSRecordParameters struct {

	// DNS zone id (if not set, private zone used).
	// +kubebuilder:validation:Optional
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record fqdn (must have dot at the end).
	// +kubebuilder:validation:Optional
	Fqdn *string `json:"fqdn" tf:"fqdn,omitempty"`

	// When set to true, also create PTR DNS record.
	// +kubebuilder:validation:Optional
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL.
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NetworkInterfaceDNSRecordParameters) DeepCopy

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

func (*NetworkInterfaceDNSRecordParameters) DeepCopyInto

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

type NetworkInterfaceIPv6DNSRecordInitParameters

type NetworkInterfaceIPv6DNSRecordInitParameters struct {

	// DNS zone id (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record fqdn (must have dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NetworkInterfaceIPv6DNSRecordInitParameters) DeepCopy

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

func (*NetworkInterfaceIPv6DNSRecordInitParameters) DeepCopyInto

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

type NetworkInterfaceIPv6DNSRecordObservation

type NetworkInterfaceIPv6DNSRecordObservation struct {

	// DNS zone id (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record fqdn (must have dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NetworkInterfaceIPv6DNSRecordObservation) DeepCopy

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

func (*NetworkInterfaceIPv6DNSRecordObservation) DeepCopyInto

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

type NetworkInterfaceIPv6DNSRecordParameters

type NetworkInterfaceIPv6DNSRecordParameters struct {

	// DNS zone id (if not set, private zone used).
	// +kubebuilder:validation:Optional
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record fqdn (must have dot at the end).
	// +kubebuilder:validation:Optional
	Fqdn *string `json:"fqdn" tf:"fqdn,omitempty"`

	// When set to true, also create PTR DNS record.
	// +kubebuilder:validation:Optional
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL.
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NetworkInterfaceIPv6DNSRecordParameters) DeepCopy

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

func (*NetworkInterfaceIPv6DNSRecordParameters) DeepCopyInto

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

type NetworkInterfaceInitParameters

type NetworkInterfaceInitParameters struct {

	// List of configurations for creating ipv4 DNS records. The structure is documented below.
	DNSRecord []DNSRecordInitParameters `json:"dnsRecord,omitempty" tf:"dns_record,omitempty"`

	// The private IP address to assign to the instance. If
	// empty, the address will be automatically assigned from the specified subnet.
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Allocate an IPv4 address for the interface. The default value is true.
	IPv4 *bool `json:"ipv4,omitempty" tf:"ipv4,omitempty"`

	// If true, allocate an IPv6 address for the interface.
	// The address will be automatically assigned from the specified subnet.
	IPv6 *bool `json:"ipv6,omitempty" tf:"ipv6,omitempty"`

	// The private IPv6 address to assign to the instance.
	IPv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address,omitempty"`

	// List of configurations for creating ipv6 DNS records. The structure is documented below.
	IPv6DNSRecord []IPv6DNSRecordInitParameters `json:"ipv6DnsRecord,omitempty" tf:"ipv6_dns_record,omitempty"`

	// Provide a public address, for instance, to access the internet over NAT.
	NAT *bool `json:"nat,omitempty" tf:"nat,omitempty"`

	// List of configurations for creating ipv4 NAT DNS records. The structure is documented below.
	NATDNSRecord []NATDNSRecordInitParameters `json:"natDnsRecord,omitempty" tf:"nat_dns_record,omitempty"`

	// Provide a public address, for instance, to access the internet over NAT. Address should be already reserved in web UI.
	NATIPAddress *string `json:"natIpAddress,omitempty" tf:"nat_ip_address,omitempty"`

	// Security group ids for network interface.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.SecurityGroup
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to SecurityGroup in vpc to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in vpc to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// ID of the subnet to attach this
	// interface to. The subnet must exist in the same zone where this instance will be
	// created.
	// +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 (*NetworkInterfaceInitParameters) DeepCopy

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

func (*NetworkInterfaceInitParameters) DeepCopyInto

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

type NetworkInterfaceNATDNSRecordInitParameters

type NetworkInterfaceNATDNSRecordInitParameters struct {

	// DNS zone id (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record fqdn (must have dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NetworkInterfaceNATDNSRecordInitParameters) DeepCopy

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

func (*NetworkInterfaceNATDNSRecordInitParameters) DeepCopyInto

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

type NetworkInterfaceNATDNSRecordObservation

type NetworkInterfaceNATDNSRecordObservation struct {

	// DNS zone id (if not set, private zone used).
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record fqdn (must have dot at the end).
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// When set to true, also create PTR DNS record.
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NetworkInterfaceNATDNSRecordObservation) DeepCopy

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

func (*NetworkInterfaceNATDNSRecordObservation) DeepCopyInto

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

type NetworkInterfaceNATDNSRecordParameters

type NetworkInterfaceNATDNSRecordParameters struct {

	// DNS zone id (if not set, private zone used).
	// +kubebuilder:validation:Optional
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// DNS record fqdn (must have dot at the end).
	// +kubebuilder:validation:Optional
	Fqdn *string `json:"fqdn" tf:"fqdn,omitempty"`

	// When set to true, also create PTR DNS record.
	// +kubebuilder:validation:Optional
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// DNS record TTL.
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*NetworkInterfaceNATDNSRecordParameters) DeepCopy

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

func (*NetworkInterfaceNATDNSRecordParameters) DeepCopyInto

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

type NetworkInterfaceObservation

type NetworkInterfaceObservation struct {

	// List of configurations for creating ipv4 DNS records. The structure is documented below.
	DNSRecord []DNSRecordObservation `json:"dnsRecord,omitempty" tf:"dns_record,omitempty"`

	// The private IP address to assign to the instance. If
	// empty, the address will be automatically assigned from the specified subnet.
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Allocate an IPv4 address for the interface. The default value is true.
	IPv4 *bool `json:"ipv4,omitempty" tf:"ipv4,omitempty"`

	// If true, allocate an IPv6 address for the interface.
	// The address will be automatically assigned from the specified subnet.
	IPv6 *bool `json:"ipv6,omitempty" tf:"ipv6,omitempty"`

	// The private IPv6 address to assign to the instance.
	IPv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address,omitempty"`

	// List of configurations for creating ipv6 DNS records. The structure is documented below.
	IPv6DNSRecord []IPv6DNSRecordObservation `json:"ipv6DnsRecord,omitempty" tf:"ipv6_dns_record,omitempty"`

	Index *float64 `json:"index,omitempty" tf:"index,omitempty"`

	MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"`

	// Provide a public address, for instance, to access the internet over NAT.
	NAT *bool `json:"nat,omitempty" tf:"nat,omitempty"`

	// List of configurations for creating ipv4 NAT DNS records. The structure is documented below.
	NATDNSRecord []NATDNSRecordObservation `json:"natDnsRecord,omitempty" tf:"nat_dns_record,omitempty"`

	// Provide a public address, for instance, to access the internet over NAT. Address should be already reserved in web UI.
	NATIPAddress *string `json:"natIpAddress,omitempty" tf:"nat_ip_address,omitempty"`

	NATIPVersion *string `json:"natIpVersion,omitempty" tf:"nat_ip_version,omitempty"`

	// Security group ids for network interface.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// ID of the subnet to attach this
	// interface to. The subnet must exist in the same zone where this instance will be
	// created.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*NetworkInterfaceObservation) DeepCopy

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

func (*NetworkInterfaceObservation) DeepCopyInto

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

type NetworkInterfaceParameters

type NetworkInterfaceParameters struct {

	// List of configurations for creating ipv4 DNS records. The structure is documented below.
	// +kubebuilder:validation:Optional
	DNSRecord []DNSRecordParameters `json:"dnsRecord,omitempty" tf:"dns_record,omitempty"`

	// The private IP address to assign to the instance. If
	// empty, the address will be automatically assigned from the specified subnet.
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Allocate an IPv4 address for the interface. The default value is true.
	// +kubebuilder:validation:Optional
	IPv4 *bool `json:"ipv4,omitempty" tf:"ipv4,omitempty"`

	// If true, allocate an IPv6 address for the interface.
	// The address will be automatically assigned from the specified subnet.
	// +kubebuilder:validation:Optional
	IPv6 *bool `json:"ipv6,omitempty" tf:"ipv6,omitempty"`

	// The private IPv6 address to assign to the instance.
	// +kubebuilder:validation:Optional
	IPv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address,omitempty"`

	// List of configurations for creating ipv6 DNS records. The structure is documented below.
	// +kubebuilder:validation:Optional
	IPv6DNSRecord []IPv6DNSRecordParameters `json:"ipv6DnsRecord,omitempty" tf:"ipv6_dns_record,omitempty"`

	// Provide a public address, for instance, to access the internet over NAT.
	// +kubebuilder:validation:Optional
	NAT *bool `json:"nat,omitempty" tf:"nat,omitempty"`

	// List of configurations for creating ipv4 NAT DNS records. The structure is documented below.
	// +kubebuilder:validation:Optional
	NATDNSRecord []NATDNSRecordParameters `json:"natDnsRecord,omitempty" tf:"nat_dns_record,omitempty"`

	// Provide a public address, for instance, to access the internet over NAT. Address should be already reserved in web UI.
	// +kubebuilder:validation:Optional
	NATIPAddress *string `json:"natIpAddress,omitempty" tf:"nat_ip_address,omitempty"`

	// Security group ids for network interface.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/vpc/v1alpha1.SecurityGroup
	// +kubebuilder:validation:Optional
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to SecurityGroup in vpc to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in vpc to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// ID of the subnet to attach this
	// interface to. The subnet must exist in the same zone where this instance will be
	// created.
	// +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 (*NetworkInterfaceParameters) DeepCopy

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

func (*NetworkInterfaceParameters) DeepCopyInto

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

type NetworkSettingsInitParameters

type NetworkSettingsInitParameters struct {

	// Network acceleration type. By default a network is in STANDARD mode.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NetworkSettingsInitParameters) DeepCopy

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

func (*NetworkSettingsInitParameters) DeepCopyInto

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

type NetworkSettingsObservation

type NetworkSettingsObservation struct {

	// Network acceleration type. By default a network is in STANDARD mode.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NetworkSettingsObservation) DeepCopy

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

func (*NetworkSettingsObservation) DeepCopyInto

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

type NetworkSettingsParameters

type NetworkSettingsParameters struct {

	// Network acceleration type. By default a network is in STANDARD mode.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NetworkSettingsParameters) DeepCopy

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

func (*NetworkSettingsParameters) DeepCopyInto

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

type PlacementGroup

type PlacementGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PlacementGroupSpec   `json:"spec"`
	Status            PlacementGroupStatus `json:"status,omitempty"`
}

PlacementGroup is the Schema for the PlacementGroups API. Manages a Placement group resource. +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 (*PlacementGroup) DeepCopy

func (in *PlacementGroup) DeepCopy() *PlacementGroup

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

func (*PlacementGroup) DeepCopyInto

func (in *PlacementGroup) DeepCopyInto(out *PlacementGroup)

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

func (*PlacementGroup) DeepCopyObject

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

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

func (*PlacementGroup) GetCondition

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

GetCondition of this PlacementGroup.

func (*PlacementGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PlacementGroup

func (*PlacementGroup) GetDeletionPolicy

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

GetDeletionPolicy of this PlacementGroup.

func (*PlacementGroup) GetID

func (tr *PlacementGroup) GetID() string

GetID returns ID of underlying Terraform resource of this PlacementGroup

func (*PlacementGroup) GetInitParameters

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

GetInitParameters of this PlacementGroup

func (*PlacementGroup) GetManagementPolicies

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

GetManagementPolicies of this PlacementGroup.

func (*PlacementGroup) GetMergedParameters added in v0.1.3

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

GetInitParameters of this PlacementGroup

func (*PlacementGroup) GetObservation

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

GetObservation of this PlacementGroup

func (*PlacementGroup) GetParameters

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

GetParameters of this PlacementGroup

func (*PlacementGroup) GetProviderConfigReference

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

GetProviderConfigReference of this PlacementGroup.

func (*PlacementGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PlacementGroup.

func (*PlacementGroup) GetTerraformResourceType

func (mg *PlacementGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PlacementGroup

func (*PlacementGroup) GetTerraformSchemaVersion

func (tr *PlacementGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PlacementGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PlacementGroup.

func (*PlacementGroup) Hub added in v0.2.0

func (tr *PlacementGroup) Hub()

Hub marks this type as a conversion hub.

func (*PlacementGroup) LateInitialize

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

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

func (*PlacementGroup) ResolveReferences

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

ResolveReferences of this PlacementGroup.

func (*PlacementGroup) SetConditions

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

SetConditions of this PlacementGroup.

func (*PlacementGroup) SetDeletionPolicy

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

SetDeletionPolicy of this PlacementGroup.

func (*PlacementGroup) SetManagementPolicies

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

SetManagementPolicies of this PlacementGroup.

func (*PlacementGroup) SetObservation

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

SetObservation for this PlacementGroup

func (*PlacementGroup) SetParameters

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

SetParameters for this PlacementGroup

func (*PlacementGroup) SetProviderConfigReference

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

SetProviderConfigReference of this PlacementGroup.

func (*PlacementGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PlacementGroup.

func (*PlacementGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PlacementGroup.

type PlacementGroupInitParameters

type PlacementGroupInitParameters struct {

	// A description of the Placement Group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Folder that the resource belongs to. If value is omitted, the default 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:"-"`

	// A set of key/value label pairs to assign to the Placement Group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the Placement Group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A number of partitions in the placement strategy with partitions policy of the Placement Group (conflicts with placement_strategy_spread).
	PlacementStrategyPartitions *float64 `json:"placementStrategyPartitions,omitempty" tf:"placement_strategy_partitions,omitempty"`

	// A placement strategy with spread policy of the Placement Group. Should be true or unset (conflicts with placement_strategy_partitions).
	PlacementStrategySpread *bool `json:"placementStrategySpread,omitempty" tf:"placement_strategy_spread,omitempty"`
}

func (*PlacementGroupInitParameters) DeepCopy

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

func (*PlacementGroupInitParameters) DeepCopyInto

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

type PlacementGroupList

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

PlacementGroupList contains a list of PlacementGroups

func (*PlacementGroupList) DeepCopy

func (in *PlacementGroupList) DeepCopy() *PlacementGroupList

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

func (*PlacementGroupList) DeepCopyInto

func (in *PlacementGroupList) DeepCopyInto(out *PlacementGroupList)

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

func (*PlacementGroupList) DeepCopyObject

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

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

func (*PlacementGroupList) GetItems

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

GetItems of this PlacementGroupList.

type PlacementGroupObservation

type PlacementGroupObservation struct {
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// A description of the Placement Group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Folder that the resource belongs to. If value is omitted, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A set of key/value label pairs to assign to the Placement Group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the Placement Group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A number of partitions in the placement strategy with partitions policy of the Placement Group (conflicts with placement_strategy_spread).
	PlacementStrategyPartitions *float64 `json:"placementStrategyPartitions,omitempty" tf:"placement_strategy_partitions,omitempty"`

	// A placement strategy with spread policy of the Placement Group. Should be true or unset (conflicts with placement_strategy_partitions).
	PlacementStrategySpread *bool `json:"placementStrategySpread,omitempty" tf:"placement_strategy_spread,omitempty"`
}

func (*PlacementGroupObservation) DeepCopy

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

func (*PlacementGroupObservation) DeepCopyInto

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

type PlacementGroupParameters

type PlacementGroupParameters struct {

	// A description of the Placement Group.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Folder that the resource belongs to. If value is omitted, the default 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:"-"`

	// A set of key/value label pairs to assign to the Placement Group.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the Placement Group.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A number of partitions in the placement strategy with partitions policy of the Placement Group (conflicts with placement_strategy_spread).
	// +kubebuilder:validation:Optional
	PlacementStrategyPartitions *float64 `json:"placementStrategyPartitions,omitempty" tf:"placement_strategy_partitions,omitempty"`

	// A placement strategy with spread policy of the Placement Group. Should be true or unset (conflicts with placement_strategy_partitions).
	// +kubebuilder:validation:Optional
	PlacementStrategySpread *bool `json:"placementStrategySpread,omitempty" tf:"placement_strategy_spread,omitempty"`
}

func (*PlacementGroupParameters) DeepCopy

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

func (*PlacementGroupParameters) DeepCopyInto

func (in *PlacementGroupParameters) DeepCopyInto(out *PlacementGroupParameters)

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

type PlacementGroupSpec

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

PlacementGroupSpec defines the desired state of PlacementGroup

func (*PlacementGroupSpec) DeepCopy

func (in *PlacementGroupSpec) DeepCopy() *PlacementGroupSpec

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

func (*PlacementGroupSpec) DeepCopyInto

func (in *PlacementGroupSpec) DeepCopyInto(out *PlacementGroupSpec)

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

type PlacementGroupStatus

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

PlacementGroupStatus defines the observed state of PlacementGroup.

func (*PlacementGroupStatus) DeepCopy

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

func (*PlacementGroupStatus) DeepCopyInto

func (in *PlacementGroupStatus) DeepCopyInto(out *PlacementGroupStatus)

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

type PlacementPolicyInitParameters

type PlacementPolicyInitParameters struct {

	// List of host affinity rules. The structure is documented below.
	HostAffinityRules []HostAffinityRulesInitParameters `json:"hostAffinityRules,omitempty" tf:"host_affinity_rules,omitempty"`

	// Specifies the id of the Placement Group to assign to the instance.
	PlacementGroupID *string `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`

	PlacementGroupPartition *float64 `json:"placementGroupPartition,omitempty" tf:"placement_group_partition,omitempty"`
}

func (*PlacementPolicyInitParameters) DeepCopy

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

func (*PlacementPolicyInitParameters) DeepCopyInto

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

type PlacementPolicyObservation

type PlacementPolicyObservation struct {

	// List of host affinity rules. The structure is documented below.
	HostAffinityRules []HostAffinityRulesObservation `json:"hostAffinityRules,omitempty" tf:"host_affinity_rules,omitempty"`

	// Specifies the id of the Placement Group to assign to the instance.
	PlacementGroupID *string `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`

	PlacementGroupPartition *float64 `json:"placementGroupPartition,omitempty" tf:"placement_group_partition,omitempty"`
}

func (*PlacementPolicyObservation) DeepCopy

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

func (*PlacementPolicyObservation) DeepCopyInto

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

type PlacementPolicyParameters

type PlacementPolicyParameters struct {

	// List of host affinity rules. The structure is documented below.
	// +kubebuilder:validation:Optional
	HostAffinityRules []HostAffinityRulesParameters `json:"hostAffinityRules,omitempty" tf:"host_affinity_rules,omitempty"`

	// Specifies the id of the Placement Group to assign to the instance.
	// +kubebuilder:validation:Optional
	PlacementGroupID *string `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`

	// +kubebuilder:validation:Optional
	PlacementGroupPartition *float64 `json:"placementGroupPartition,omitempty" tf:"placement_group_partition,omitempty"`
}

func (*PlacementPolicyParameters) DeepCopy

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

func (*PlacementPolicyParameters) DeepCopyInto

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

type ResourcesInitParameters

type ResourcesInitParameters struct {

	// If provided, specifies baseline performance for a core as a percent.
	CoreFraction *float64 `json:"coreFraction,omitempty" tf:"core_fraction,omitempty"`

	// CPU cores for the instance.
	Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"`

	Gpus *float64 `json:"gpus,omitempty" tf:"gpus,omitempty"`

	// Memory size in GB.
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`
}

func (*ResourcesInitParameters) DeepCopy

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

func (*ResourcesInitParameters) DeepCopyInto

func (in *ResourcesInitParameters) DeepCopyInto(out *ResourcesInitParameters)

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

type ResourcesObservation

type ResourcesObservation struct {

	// If provided, specifies baseline performance for a core as a percent.
	CoreFraction *float64 `json:"coreFraction,omitempty" tf:"core_fraction,omitempty"`

	// CPU cores for the instance.
	Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"`

	Gpus *float64 `json:"gpus,omitempty" tf:"gpus,omitempty"`

	// Memory size in GB.
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`
}

func (*ResourcesObservation) DeepCopy

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

func (*ResourcesObservation) DeepCopyInto

func (in *ResourcesObservation) DeepCopyInto(out *ResourcesObservation)

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

type ResourcesParameters

type ResourcesParameters struct {

	// If provided, specifies baseline performance for a core as a percent.
	// +kubebuilder:validation:Optional
	CoreFraction *float64 `json:"coreFraction,omitempty" tf:"core_fraction,omitempty"`

	// CPU cores for the instance.
	// +kubebuilder:validation:Optional
	Cores *float64 `json:"cores" tf:"cores,omitempty"`

	// +kubebuilder:validation:Optional
	Gpus *float64 `json:"gpus,omitempty" tf:"gpus,omitempty"`

	// Memory size in GB.
	// +kubebuilder:validation:Optional
	Memory *float64 `json:"memory" tf:"memory,omitempty"`
}

func (*ResourcesParameters) DeepCopy

func (in *ResourcesParameters) DeepCopy() *ResourcesParameters

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

func (*ResourcesParameters) DeepCopyInto

func (in *ResourcesParameters) DeepCopyInto(out *ResourcesParameters)

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

type ScalePolicyInitParameters

type ScalePolicyInitParameters struct {

	// The auto scaling policy of the instance group. The structure is documented below.
	AutoScale []AutoScaleInitParameters `json:"autoScale,omitempty" tf:"auto_scale,omitempty"`

	// The fixed scaling policy of the instance group. The structure is documented below.
	FixedScale []FixedScaleInitParameters `json:"fixedScale,omitempty" tf:"fixed_scale,omitempty"`

	// The test auto scaling policy of the instance group. Use it to test how the auto scale works. The structure is documented below.
	TestAutoScale []TestAutoScaleInitParameters `json:"testAutoScale,omitempty" tf:"test_auto_scale,omitempty"`
}

func (*ScalePolicyInitParameters) DeepCopy

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

func (*ScalePolicyInitParameters) DeepCopyInto

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

type ScalePolicyObservation

type ScalePolicyObservation struct {

	// The auto scaling policy of the instance group. The structure is documented below.
	AutoScale []AutoScaleObservation `json:"autoScale,omitempty" tf:"auto_scale,omitempty"`

	// The fixed scaling policy of the instance group. The structure is documented below.
	FixedScale []FixedScaleObservation `json:"fixedScale,omitempty" tf:"fixed_scale,omitempty"`

	// The test auto scaling policy of the instance group. Use it to test how the auto scale works. The structure is documented below.
	TestAutoScale []TestAutoScaleObservation `json:"testAutoScale,omitempty" tf:"test_auto_scale,omitempty"`
}

func (*ScalePolicyObservation) DeepCopy

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

func (*ScalePolicyObservation) DeepCopyInto

func (in *ScalePolicyObservation) DeepCopyInto(out *ScalePolicyObservation)

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

type ScalePolicyParameters

type ScalePolicyParameters struct {

	// The auto scaling policy of the instance group. The structure is documented below.
	// +kubebuilder:validation:Optional
	AutoScale []AutoScaleParameters `json:"autoScale,omitempty" tf:"auto_scale,omitempty"`

	// The fixed scaling policy of the instance group. The structure is documented below.
	// +kubebuilder:validation:Optional
	FixedScale []FixedScaleParameters `json:"fixedScale,omitempty" tf:"fixed_scale,omitempty"`

	// The test auto scaling policy of the instance group. Use it to test how the auto scale works. The structure is documented below.
	// +kubebuilder:validation:Optional
	TestAutoScale []TestAutoScaleParameters `json:"testAutoScale,omitempty" tf:"test_auto_scale,omitempty"`
}

func (*ScalePolicyParameters) DeepCopy

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

func (*ScalePolicyParameters) DeepCopyInto

func (in *ScalePolicyParameters) DeepCopyInto(out *ScalePolicyParameters)

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

type SchedulePolicyInitParameters

type SchedulePolicyInitParameters struct {

	// Cron expression to schedule snapshots (in cron format "* * * * *").
	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	// Time to start the snapshot schedule (in format RFC3339 "2006-01-02T15:04:05Z07:00"). If empty current time will be used. Unlike an expression that specifies regularity rules, the start_at parameter determines from what point these rules will be applied.
	StartAt *string `json:"startAt,omitempty" tf:"start_at,omitempty"`
}

func (*SchedulePolicyInitParameters) DeepCopy

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

func (*SchedulePolicyInitParameters) DeepCopyInto

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

type SchedulePolicyObservation

type SchedulePolicyObservation struct {

	// Cron expression to schedule snapshots (in cron format "* * * * *").
	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	// Time to start the snapshot schedule (in format RFC3339 "2006-01-02T15:04:05Z07:00"). If empty current time will be used. Unlike an expression that specifies regularity rules, the start_at parameter determines from what point these rules will be applied.
	StartAt *string `json:"startAt,omitempty" tf:"start_at,omitempty"`
}

func (*SchedulePolicyObservation) DeepCopy

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

func (*SchedulePolicyObservation) DeepCopyInto

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

type SchedulePolicyParameters

type SchedulePolicyParameters struct {

	// Cron expression to schedule snapshots (in cron format "* * * * *").
	// +kubebuilder:validation:Optional
	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	// Time to start the snapshot schedule (in format RFC3339 "2006-01-02T15:04:05Z07:00"). If empty current time will be used. Unlike an expression that specifies regularity rules, the start_at parameter determines from what point these rules will be applied.
	// +kubebuilder:validation:Optional
	StartAt *string `json:"startAt,omitempty" tf:"start_at,omitempty"`
}

func (*SchedulePolicyParameters) DeepCopy

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

func (*SchedulePolicyParameters) DeepCopyInto

func (in *SchedulePolicyParameters) DeepCopyInto(out *SchedulePolicyParameters)

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

type SchedulingPolicyInitParameters

type SchedulingPolicyInitParameters struct {

	// Specifies if the instance is preemptible. Defaults to false.
	Preemptible *bool `json:"preemptible,omitempty" tf:"preemptible,omitempty"`
}

func (*SchedulingPolicyInitParameters) DeepCopy

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

func (*SchedulingPolicyInitParameters) DeepCopyInto

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

type SchedulingPolicyObservation

type SchedulingPolicyObservation struct {

	// Specifies if the instance is preemptible. Defaults to false.
	Preemptible *bool `json:"preemptible,omitempty" tf:"preemptible,omitempty"`
}

func (*SchedulingPolicyObservation) DeepCopy

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

func (*SchedulingPolicyObservation) DeepCopyInto

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

type SchedulingPolicyParameters

type SchedulingPolicyParameters struct {

	// Specifies if the instance is preemptible. Defaults to false.
	// +kubebuilder:validation:Optional
	Preemptible *bool `json:"preemptible,omitempty" tf:"preemptible,omitempty"`
}

func (*SchedulingPolicyParameters) DeepCopy

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

func (*SchedulingPolicyParameters) DeepCopyInto

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

type SecondaryDiskInitParameters

type SecondaryDiskInitParameters struct {

	// Whether the disk is auto-deleted when the instance
	// is deleted. The default value is false.
	AutoDelete *bool `json:"autoDelete,omitempty" tf:"auto_delete,omitempty"`

	// Name that can be used to access an attached disk
	// under /dev/disk/by-id/.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the disk that is attached to the instance.
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Type of access to the disk resource. By default, a disk is attached in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*SecondaryDiskInitParameters) DeepCopy

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

func (*SecondaryDiskInitParameters) DeepCopyInto

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

type SecondaryDiskInitializeParamsInitParameters

type SecondaryDiskInitializeParamsInitParameters struct {

	// A description of the instance.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The disk image to initialize this disk from.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The size of the disk in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The snapshot to initialize this disk from.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Network acceleration type. By default a network is in STANDARD mode.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SecondaryDiskInitializeParamsInitParameters) DeepCopy

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

func (*SecondaryDiskInitializeParamsInitParameters) DeepCopyInto

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

type SecondaryDiskInitializeParamsObservation

type SecondaryDiskInitializeParamsObservation struct {

	// A description of the instance.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The disk image to initialize this disk from.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The size of the disk in GB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The snapshot to initialize this disk from.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Network acceleration type. By default a network is in STANDARD mode.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SecondaryDiskInitializeParamsObservation) DeepCopy

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

func (*SecondaryDiskInitializeParamsObservation) DeepCopyInto

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

type SecondaryDiskInitializeParamsParameters

type SecondaryDiskInitializeParamsParameters struct {

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

	// The disk image to initialize this disk from.
	// +kubebuilder:validation:Optional
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The size of the disk in GB.
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The snapshot to initialize this disk from.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Network acceleration type. By default a network is in STANDARD mode.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SecondaryDiskInitializeParamsParameters) DeepCopy

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

func (*SecondaryDiskInitializeParamsParameters) DeepCopyInto

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

type SecondaryDiskObservation

type SecondaryDiskObservation struct {

	// Whether the disk is auto-deleted when the instance
	// is deleted. The default value is false.
	AutoDelete *bool `json:"autoDelete,omitempty" tf:"auto_delete,omitempty"`

	// Name that can be used to access an attached disk
	// under /dev/disk/by-id/.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the disk that is attached to the instance.
	DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"`

	// Type of access to the disk resource. By default, a disk is attached in READ_WRITE mode.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*SecondaryDiskObservation) DeepCopy

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

func (*SecondaryDiskObservation) DeepCopyInto

func (in *SecondaryDiskObservation) DeepCopyInto(out *SecondaryDiskObservation)

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

type SecondaryDiskParameters

type SecondaryDiskParameters struct {

	// Whether the disk is auto-deleted when the instance
	// is deleted. The default value is false.
	// +kubebuilder:validation:Optional
	AutoDelete *bool `json:"autoDelete,omitempty" tf:"auto_delete,omitempty"`

	// Name that can be used to access an attached disk
	// under /dev/disk/by-id/.
	// +kubebuilder:validation:Optional
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// ID of the disk that is attached to the instance.
	// +kubebuilder:validation:Optional
	DiskID *string `json:"diskId" tf:"disk_id,omitempty"`

	// Type of access to the disk resource. By default, a disk is attached in READ_WRITE mode.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*SecondaryDiskParameters) DeepCopy

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

func (*SecondaryDiskParameters) DeepCopyInto

func (in *SecondaryDiskParameters) DeepCopyInto(out *SecondaryDiskParameters)

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

type Snapshot

type Snapshot struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnapshotSpec   `json:"spec"`
	Status            SnapshotStatus `json:"status,omitempty"`
}

Snapshot is the Schema for the Snapshots API. Creates a new snapshot of a disk. +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 (*Snapshot) DeepCopy

func (in *Snapshot) DeepCopy() *Snapshot

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

func (*Snapshot) DeepCopyInto

func (in *Snapshot) DeepCopyInto(out *Snapshot)

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

func (*Snapshot) DeepCopyObject

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

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

func (*Snapshot) GetCondition

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

GetCondition of this Snapshot.

func (*Snapshot) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Snapshot

func (*Snapshot) GetDeletionPolicy

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

GetDeletionPolicy of this Snapshot.

func (*Snapshot) GetID

func (tr *Snapshot) GetID() string

GetID returns ID of underlying Terraform resource of this Snapshot

func (*Snapshot) GetInitParameters

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

GetInitParameters of this Snapshot

func (*Snapshot) GetManagementPolicies

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

GetManagementPolicies of this Snapshot.

func (*Snapshot) GetMergedParameters added in v0.1.3

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

GetInitParameters of this Snapshot

func (*Snapshot) GetObservation

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

GetObservation of this Snapshot

func (*Snapshot) GetParameters

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

GetParameters of this Snapshot

func (*Snapshot) GetProviderConfigReference

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

GetProviderConfigReference of this Snapshot.

func (*Snapshot) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Snapshot.

func (*Snapshot) GetTerraformResourceType

func (mg *Snapshot) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Snapshot

func (*Snapshot) GetTerraformSchemaVersion

func (tr *Snapshot) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Snapshot) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Snapshot.

func (*Snapshot) Hub added in v0.2.0

func (tr *Snapshot) Hub()

Hub marks this type as a conversion hub.

func (*Snapshot) LateInitialize

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

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

func (*Snapshot) ResolveReferences

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

ResolveReferences of this Snapshot.

func (*Snapshot) SetConditions

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

SetConditions of this Snapshot.

func (*Snapshot) SetDeletionPolicy

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

SetDeletionPolicy of this Snapshot.

func (*Snapshot) SetManagementPolicies

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

SetManagementPolicies of this Snapshot.

func (*Snapshot) SetObservation

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

SetObservation for this Snapshot

func (*Snapshot) SetParameters

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

SetParameters for this Snapshot

func (*Snapshot) SetProviderConfigReference

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

SetProviderConfigReference of this Snapshot.

func (*Snapshot) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Snapshot.

func (*Snapshot) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Snapshot.

type SnapshotInitParameters

type SnapshotInitParameters struct {

	// Description of the resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default 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:"-"`

	// A set of key/value label pairs to assign to the snapshot.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A name for the resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the disk to create a snapshot from.
	// +crossplane:generate:reference:type=Disk
	SourceDiskID *string `json:"sourceDiskId,omitempty" tf:"source_disk_id,omitempty"`

	// Reference to a Disk to populate sourceDiskId.
	// +kubebuilder:validation:Optional
	SourceDiskIDRef *v1.Reference `json:"sourceDiskIdRef,omitempty" tf:"-"`

	// Selector for a Disk to populate sourceDiskId.
	// +kubebuilder:validation:Optional
	SourceDiskIDSelector *v1.Selector `json:"sourceDiskIdSelector,omitempty" tf:"-"`
}

func (*SnapshotInitParameters) DeepCopy

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

func (*SnapshotInitParameters) DeepCopyInto

func (in *SnapshotInitParameters) DeepCopyInto(out *SnapshotInitParameters)

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

type SnapshotList

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

SnapshotList contains a list of Snapshots

func (*SnapshotList) DeepCopy

func (in *SnapshotList) DeepCopy() *SnapshotList

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

func (*SnapshotList) DeepCopyInto

func (in *SnapshotList) DeepCopyInto(out *SnapshotList)

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

func (*SnapshotList) DeepCopyObject

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

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

func (*SnapshotList) GetItems

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

GetItems of this SnapshotList.

type SnapshotObservation

type SnapshotObservation struct {

	// Creation timestamp of the snapshot.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Size of the disk when the snapshot was created, specified in GB.
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A set of key/value label pairs to assign to the snapshot.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A name for the resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the disk to create a snapshot from.
	SourceDiskID *string `json:"sourceDiskId,omitempty" tf:"source_disk_id,omitempty"`

	// Size of the snapshot, specified in GB.
	StorageSize *float64 `json:"storageSize,omitempty" tf:"storage_size,omitempty"`
}

func (*SnapshotObservation) DeepCopy

func (in *SnapshotObservation) DeepCopy() *SnapshotObservation

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

func (*SnapshotObservation) DeepCopyInto

func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation)

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

type SnapshotParameters

type SnapshotParameters struct {

	// Description of the resource.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default 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:"-"`

	// A set of key/value label pairs to assign to the snapshot.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A name for the resource.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the disk to create a snapshot from.
	// +crossplane:generate:reference:type=Disk
	// +kubebuilder:validation:Optional
	SourceDiskID *string `json:"sourceDiskId,omitempty" tf:"source_disk_id,omitempty"`

	// Reference to a Disk to populate sourceDiskId.
	// +kubebuilder:validation:Optional
	SourceDiskIDRef *v1.Reference `json:"sourceDiskIdRef,omitempty" tf:"-"`

	// Selector for a Disk to populate sourceDiskId.
	// +kubebuilder:validation:Optional
	SourceDiskIDSelector *v1.Selector `json:"sourceDiskIdSelector,omitempty" tf:"-"`
}

func (*SnapshotParameters) DeepCopy

func (in *SnapshotParameters) DeepCopy() *SnapshotParameters

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

func (*SnapshotParameters) DeepCopyInto

func (in *SnapshotParameters) DeepCopyInto(out *SnapshotParameters)

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

type SnapshotSchedule

type SnapshotSchedule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnapshotScheduleSpec   `json:"spec"`
	Status            SnapshotScheduleStatus `json:"status,omitempty"`
}

SnapshotSchedule is the Schema for the SnapshotSchedules API. Creates a new snapshot schedule. +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 (*SnapshotSchedule) DeepCopy

func (in *SnapshotSchedule) DeepCopy() *SnapshotSchedule

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

func (*SnapshotSchedule) DeepCopyInto

func (in *SnapshotSchedule) DeepCopyInto(out *SnapshotSchedule)

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

func (*SnapshotSchedule) DeepCopyObject

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

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

func (*SnapshotSchedule) GetCondition

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

GetCondition of this SnapshotSchedule.

func (*SnapshotSchedule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SnapshotSchedule

func (*SnapshotSchedule) GetDeletionPolicy

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

GetDeletionPolicy of this SnapshotSchedule.

func (*SnapshotSchedule) GetID

func (tr *SnapshotSchedule) GetID() string

GetID returns ID of underlying Terraform resource of this SnapshotSchedule

func (*SnapshotSchedule) GetInitParameters

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

GetInitParameters of this SnapshotSchedule

func (*SnapshotSchedule) GetManagementPolicies

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

GetManagementPolicies of this SnapshotSchedule.

func (*SnapshotSchedule) GetMergedParameters added in v0.1.3

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

GetInitParameters of this SnapshotSchedule

func (*SnapshotSchedule) GetObservation

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

GetObservation of this SnapshotSchedule

func (*SnapshotSchedule) GetParameters

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

GetParameters of this SnapshotSchedule

func (*SnapshotSchedule) GetProviderConfigReference

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

GetProviderConfigReference of this SnapshotSchedule.

func (*SnapshotSchedule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SnapshotSchedule.

func (*SnapshotSchedule) GetTerraformResourceType

func (mg *SnapshotSchedule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SnapshotSchedule

func (*SnapshotSchedule) GetTerraformSchemaVersion

func (tr *SnapshotSchedule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SnapshotSchedule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SnapshotSchedule.

func (*SnapshotSchedule) Hub added in v0.2.0

func (tr *SnapshotSchedule) Hub()

Hub marks this type as a conversion hub.

func (*SnapshotSchedule) LateInitialize

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

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

func (*SnapshotSchedule) ResolveReferences

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

ResolveReferences of this SnapshotSchedule.

func (*SnapshotSchedule) SetConditions

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

SetConditions of this SnapshotSchedule.

func (*SnapshotSchedule) SetDeletionPolicy

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

SetDeletionPolicy of this SnapshotSchedule.

func (*SnapshotSchedule) SetManagementPolicies

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

SetManagementPolicies of this SnapshotSchedule.

func (*SnapshotSchedule) SetObservation

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

SetObservation for this SnapshotSchedule

func (*SnapshotSchedule) SetParameters

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

SetParameters for this SnapshotSchedule

func (*SnapshotSchedule) SetProviderConfigReference

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

SetProviderConfigReference of this SnapshotSchedule.

func (*SnapshotSchedule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SnapshotSchedule.

func (*SnapshotSchedule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SnapshotSchedule.

type SnapshotScheduleInitParameters

type SnapshotScheduleInitParameters struct {

	// Description of the resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// IDs of the disk for snapshot schedule.
	// +crossplane:generate:reference:type=Disk
	// +listType=set
	DiskIds []*string `json:"diskIds,omitempty" tf:"disk_ids,omitempty"`

	// References to Disk to populate diskIds.
	// +kubebuilder:validation:Optional
	DiskIdsRefs []v1.Reference `json:"diskIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Disk to populate diskIds.
	// +kubebuilder:validation:Optional
	DiskIdsSelector *v1.Selector `json:"diskIdsSelector,omitempty" tf:"-"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default 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:"-"`

	// A set of key/value label pairs to assign to the snapshot schedule.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A name for the resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Time duration applied to snapshots created by this snapshot schedule. This is a signed sequence of decimal numbers, each with optional fraction and a unit suffix. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Examples: "300ms", "1.5h" or "2h45m".
	RetentionPeriod *string `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`

	// Schedule policy of the snapshot schedule.
	SchedulePolicy []SchedulePolicyInitParameters `json:"schedulePolicy,omitempty" tf:"schedule_policy,omitempty"`

	// Maximum number of snapshots for every disk of the snapshot schedule.
	SnapshotCount *float64 `json:"snapshotCount,omitempty" tf:"snapshot_count,omitempty"`

	// Additional attributes for snapshots created by this snapshot schedule.
	SnapshotSpec []SnapshotSpecInitParameters `json:"snapshotSpec,omitempty" tf:"snapshot_spec,omitempty"`
}

func (*SnapshotScheduleInitParameters) DeepCopy

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

func (*SnapshotScheduleInitParameters) DeepCopyInto

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

type SnapshotScheduleList

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

SnapshotScheduleList contains a list of SnapshotSchedules

func (*SnapshotScheduleList) DeepCopy

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

func (*SnapshotScheduleList) DeepCopyInto

func (in *SnapshotScheduleList) DeepCopyInto(out *SnapshotScheduleList)

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

func (*SnapshotScheduleList) DeepCopyObject

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

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

func (*SnapshotScheduleList) GetItems

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

GetItems of this SnapshotScheduleList.

type SnapshotScheduleObservation

type SnapshotScheduleObservation struct {

	// Creation timestamp of the snapshot schedule.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the resource.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// IDs of the disk for snapshot schedule.
	// +listType=set
	DiskIds []*string `json:"diskIds,omitempty" tf:"disk_ids,omitempty"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A set of key/value label pairs to assign to the snapshot schedule.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A name for the resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Time duration applied to snapshots created by this snapshot schedule. This is a signed sequence of decimal numbers, each with optional fraction and a unit suffix. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Examples: "300ms", "1.5h" or "2h45m".
	RetentionPeriod *string `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`

	// Schedule policy of the snapshot schedule.
	SchedulePolicy []SchedulePolicyObservation `json:"schedulePolicy,omitempty" tf:"schedule_policy,omitempty"`

	// Maximum number of snapshots for every disk of the snapshot schedule.
	SnapshotCount *float64 `json:"snapshotCount,omitempty" tf:"snapshot_count,omitempty"`

	// Additional attributes for snapshots created by this snapshot schedule.
	SnapshotSpec []SnapshotSpecObservation `json:"snapshotSpec,omitempty" tf:"snapshot_spec,omitempty"`

	// The status of the snapshot schedule.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*SnapshotScheduleObservation) DeepCopy

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

func (*SnapshotScheduleObservation) DeepCopyInto

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

type SnapshotScheduleParameters

type SnapshotScheduleParameters struct {

	// Description of the resource.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// IDs of the disk for snapshot schedule.
	// +crossplane:generate:reference:type=Disk
	// +kubebuilder:validation:Optional
	// +listType=set
	DiskIds []*string `json:"diskIds,omitempty" tf:"disk_ids,omitempty"`

	// References to Disk to populate diskIds.
	// +kubebuilder:validation:Optional
	DiskIdsRefs []v1.Reference `json:"diskIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Disk to populate diskIds.
	// +kubebuilder:validation:Optional
	DiskIdsSelector *v1.Selector `json:"diskIdsSelector,omitempty" tf:"-"`

	// The ID of the folder that the resource belongs to. If it
	// is not provided, the default 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:"-"`

	// A set of key/value label pairs to assign to the snapshot schedule.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A name for the resource.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Time duration applied to snapshots created by this snapshot schedule. This is a signed sequence of decimal numbers, each with optional fraction and a unit suffix. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Examples: "300ms", "1.5h" or "2h45m".
	// +kubebuilder:validation:Optional
	RetentionPeriod *string `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`

	// Schedule policy of the snapshot schedule.
	// +kubebuilder:validation:Optional
	SchedulePolicy []SchedulePolicyParameters `json:"schedulePolicy,omitempty" tf:"schedule_policy,omitempty"`

	// Maximum number of snapshots for every disk of the snapshot schedule.
	// +kubebuilder:validation:Optional
	SnapshotCount *float64 `json:"snapshotCount,omitempty" tf:"snapshot_count,omitempty"`

	// Additional attributes for snapshots created by this snapshot schedule.
	// +kubebuilder:validation:Optional
	SnapshotSpec []SnapshotSpecParameters `json:"snapshotSpec,omitempty" tf:"snapshot_spec,omitempty"`
}

func (*SnapshotScheduleParameters) DeepCopy

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

func (*SnapshotScheduleParameters) DeepCopyInto

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

type SnapshotScheduleSpec

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

SnapshotScheduleSpec defines the desired state of SnapshotSchedule

func (*SnapshotScheduleSpec) DeepCopy

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

func (*SnapshotScheduleSpec) DeepCopyInto

func (in *SnapshotScheduleSpec) DeepCopyInto(out *SnapshotScheduleSpec)

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

type SnapshotScheduleStatus

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

SnapshotScheduleStatus defines the observed state of SnapshotSchedule.

func (*SnapshotScheduleStatus) DeepCopy

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

func (*SnapshotScheduleStatus) DeepCopyInto

func (in *SnapshotScheduleStatus) DeepCopyInto(out *SnapshotScheduleStatus)

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

type SnapshotSpec

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

SnapshotSpec defines the desired state of Snapshot

func (*SnapshotSpec) DeepCopy

func (in *SnapshotSpec) DeepCopy() *SnapshotSpec

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

func (*SnapshotSpec) DeepCopyInto

func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec)

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

type SnapshotSpecInitParameters

type SnapshotSpecInitParameters struct {

	// Description to assign to snapshots created by this snapshot schedule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A set of key/value label pairs to assign to snapshots created by this snapshot schedule.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
}

func (*SnapshotSpecInitParameters) DeepCopy

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

func (*SnapshotSpecInitParameters) DeepCopyInto

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

type SnapshotSpecObservation

type SnapshotSpecObservation struct {

	// Description to assign to snapshots created by this snapshot schedule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A set of key/value label pairs to assign to snapshots created by this snapshot schedule.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
}

func (*SnapshotSpecObservation) DeepCopy

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

func (*SnapshotSpecObservation) DeepCopyInto

func (in *SnapshotSpecObservation) DeepCopyInto(out *SnapshotSpecObservation)

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

type SnapshotSpecParameters

type SnapshotSpecParameters struct {

	// Description to assign to snapshots created by this snapshot schedule.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A set of key/value label pairs to assign to snapshots created by this snapshot schedule.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
}

func (*SnapshotSpecParameters) DeepCopy

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

func (*SnapshotSpecParameters) DeepCopyInto

func (in *SnapshotSpecParameters) DeepCopyInto(out *SnapshotSpecParameters)

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

type SnapshotStatus

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

SnapshotStatus defines the observed state of Snapshot.

func (*SnapshotStatus) DeepCopy

func (in *SnapshotStatus) DeepCopy() *SnapshotStatus

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

func (*SnapshotStatus) DeepCopyInto

func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)

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

type TCPOptionsInitParameters

type TCPOptionsInitParameters struct {

	// The port used 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 {

	// The port used 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 {

	// The port used 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 TestAutoScaleCustomRuleInitParameters

type TestAutoScaleCustomRuleInitParameters struct {

	// The ID of the folder that the resources belong to.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// The name of metric.
	MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"`

	// Metric type, GAUGE or COUNTER.
	MetricType *string `json:"metricType,omitempty" tf:"metric_type,omitempty"`

	// Rule type: UTILIZATION - This type means that the metric applies to one instance.
	// First, Instance Groups calculates the average metric value for each instance,
	// then averages the values for instances in one availability zone.
	// This type of metric must have the instance_id label. WORKLOAD - This type means that the metric applies to instances in one availability zone.
	// This type of metric must have the zone_id label.
	RuleType *string `json:"ruleType,omitempty" tf:"rule_type,omitempty"`

	// Service of custom metric in Yandex Monitoring that should be used for scaling.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// Target metric value level.
	Target *float64 `json:"target,omitempty" tf:"target,omitempty"`
}

func (*TestAutoScaleCustomRuleInitParameters) DeepCopy

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

func (*TestAutoScaleCustomRuleInitParameters) DeepCopyInto

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

type TestAutoScaleCustomRuleObservation

type TestAutoScaleCustomRuleObservation struct {

	// The ID of the folder that the resources belong to.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// The name of metric.
	MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"`

	// Metric type, GAUGE or COUNTER.
	MetricType *string `json:"metricType,omitempty" tf:"metric_type,omitempty"`

	// Rule type: UTILIZATION - This type means that the metric applies to one instance.
	// First, Instance Groups calculates the average metric value for each instance,
	// then averages the values for instances in one availability zone.
	// This type of metric must have the instance_id label. WORKLOAD - This type means that the metric applies to instances in one availability zone.
	// This type of metric must have the zone_id label.
	RuleType *string `json:"ruleType,omitempty" tf:"rule_type,omitempty"`

	// Service of custom metric in Yandex Monitoring that should be used for scaling.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// Target metric value level.
	Target *float64 `json:"target,omitempty" tf:"target,omitempty"`
}

func (*TestAutoScaleCustomRuleObservation) DeepCopy

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

func (*TestAutoScaleCustomRuleObservation) DeepCopyInto

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

type TestAutoScaleCustomRuleParameters

type TestAutoScaleCustomRuleParameters struct {

	// The ID of the folder that the resources belong to.
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// The name of metric.
	// +kubebuilder:validation:Optional
	MetricName *string `json:"metricName" tf:"metric_name,omitempty"`

	// Metric type, GAUGE or COUNTER.
	// +kubebuilder:validation:Optional
	MetricType *string `json:"metricType" tf:"metric_type,omitempty"`

	// Rule type: UTILIZATION - This type means that the metric applies to one instance.
	// First, Instance Groups calculates the average metric value for each instance,
	// then averages the values for instances in one availability zone.
	// This type of metric must have the instance_id label. WORKLOAD - This type means that the metric applies to instances in one availability zone.
	// This type of metric must have the zone_id label.
	// +kubebuilder:validation:Optional
	RuleType *string `json:"ruleType" tf:"rule_type,omitempty"`

	// Service of custom metric in Yandex Monitoring that should be used for scaling.
	// +kubebuilder:validation:Optional
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// Target metric value level.
	// +kubebuilder:validation:Optional
	Target *float64 `json:"target" tf:"target,omitempty"`
}

func (*TestAutoScaleCustomRuleParameters) DeepCopy

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

func (*TestAutoScaleCustomRuleParameters) DeepCopyInto

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

type TestAutoScaleInitParameters

type TestAutoScaleInitParameters struct {

	// Target CPU load level.
	CPUUtilizationTarget *float64 `json:"cpuUtilizationTarget,omitempty" tf:"cpu_utilization_target,omitempty"`

	// A list of custom rules. The structure is documented below.
	CustomRule []TestAutoScaleCustomRuleInitParameters `json:"customRule,omitempty" tf:"custom_rule,omitempty"`

	// The initial number of instances in the instance group.
	InitialSize *float64 `json:"initialSize,omitempty" tf:"initial_size,omitempty"`

	// The maximum number of virtual machines in the group.
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// The amount of time, in seconds, that metrics are averaged for.
	// If the average value at the end of the interval is higher than the cpu_utilization_target,
	// the instance group will increase the number of virtual machines in the group.
	MeasurementDuration *float64 `json:"measurementDuration,omitempty" tf:"measurement_duration,omitempty"`

	// The minimum number of virtual machines in a single availability zone.
	MinZoneSize *float64 `json:"minZoneSize,omitempty" tf:"min_zone_size,omitempty"`

	// The minimum time interval, in seconds, to monitor the load before
	// an instance group can reduce the number of virtual machines in the group. During this time, the group
	// will not decrease even if the average load falls below the value of cpu_utilization_target.
	StabilizationDuration *float64 `json:"stabilizationDuration,omitempty" tf:"stabilization_duration,omitempty"`

	// The warm-up time of the virtual machine, in seconds. During this time,
	// traffic is fed to the virtual machine, but load metrics are not taken into account.
	WarmupDuration *float64 `json:"warmupDuration,omitempty" tf:"warmup_duration,omitempty"`
}

func (*TestAutoScaleInitParameters) DeepCopy

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

func (*TestAutoScaleInitParameters) DeepCopyInto

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

type TestAutoScaleObservation

type TestAutoScaleObservation struct {

	// Target CPU load level.
	CPUUtilizationTarget *float64 `json:"cpuUtilizationTarget,omitempty" tf:"cpu_utilization_target,omitempty"`

	// A list of custom rules. The structure is documented below.
	CustomRule []TestAutoScaleCustomRuleObservation `json:"customRule,omitempty" tf:"custom_rule,omitempty"`

	// The initial number of instances in the instance group.
	InitialSize *float64 `json:"initialSize,omitempty" tf:"initial_size,omitempty"`

	// The maximum number of virtual machines in the group.
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// The amount of time, in seconds, that metrics are averaged for.
	// If the average value at the end of the interval is higher than the cpu_utilization_target,
	// the instance group will increase the number of virtual machines in the group.
	MeasurementDuration *float64 `json:"measurementDuration,omitempty" tf:"measurement_duration,omitempty"`

	// The minimum number of virtual machines in a single availability zone.
	MinZoneSize *float64 `json:"minZoneSize,omitempty" tf:"min_zone_size,omitempty"`

	// The minimum time interval, in seconds, to monitor the load before
	// an instance group can reduce the number of virtual machines in the group. During this time, the group
	// will not decrease even if the average load falls below the value of cpu_utilization_target.
	StabilizationDuration *float64 `json:"stabilizationDuration,omitempty" tf:"stabilization_duration,omitempty"`

	// The warm-up time of the virtual machine, in seconds. During this time,
	// traffic is fed to the virtual machine, but load metrics are not taken into account.
	WarmupDuration *float64 `json:"warmupDuration,omitempty" tf:"warmup_duration,omitempty"`
}

func (*TestAutoScaleObservation) DeepCopy

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

func (*TestAutoScaleObservation) DeepCopyInto

func (in *TestAutoScaleObservation) DeepCopyInto(out *TestAutoScaleObservation)

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

type TestAutoScaleParameters

type TestAutoScaleParameters struct {

	// Target CPU load level.
	// +kubebuilder:validation:Optional
	CPUUtilizationTarget *float64 `json:"cpuUtilizationTarget,omitempty" tf:"cpu_utilization_target,omitempty"`

	// A list of custom rules. The structure is documented below.
	// +kubebuilder:validation:Optional
	CustomRule []TestAutoScaleCustomRuleParameters `json:"customRule,omitempty" tf:"custom_rule,omitempty"`

	// The initial number of instances in the instance group.
	// +kubebuilder:validation:Optional
	InitialSize *float64 `json:"initialSize" tf:"initial_size,omitempty"`

	// The maximum number of virtual machines in the group.
	// +kubebuilder:validation:Optional
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// The amount of time, in seconds, that metrics are averaged for.
	// If the average value at the end of the interval is higher than the cpu_utilization_target,
	// the instance group will increase the number of virtual machines in the group.
	// +kubebuilder:validation:Optional
	MeasurementDuration *float64 `json:"measurementDuration" tf:"measurement_duration,omitempty"`

	// The minimum number of virtual machines in a single availability zone.
	// +kubebuilder:validation:Optional
	MinZoneSize *float64 `json:"minZoneSize,omitempty" tf:"min_zone_size,omitempty"`

	// The minimum time interval, in seconds, to monitor the load before
	// an instance group can reduce the number of virtual machines in the group. During this time, the group
	// will not decrease even if the average load falls below the value of cpu_utilization_target.
	// +kubebuilder:validation:Optional
	StabilizationDuration *float64 `json:"stabilizationDuration,omitempty" tf:"stabilization_duration,omitempty"`

	// The warm-up time of the virtual machine, in seconds. During this time,
	// traffic is fed to the virtual machine, but load metrics are not taken into account.
	// +kubebuilder:validation:Optional
	WarmupDuration *float64 `json:"warmupDuration,omitempty" tf:"warmup_duration,omitempty"`
}

func (*TestAutoScaleParameters) DeepCopy

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

func (*TestAutoScaleParameters) DeepCopyInto

func (in *TestAutoScaleParameters) DeepCopyInto(out *TestAutoScaleParameters)

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