v1alpha1

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=ims.opentelekomcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "ims.opentelekomcloud.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	DataImageV2_Kind             = "DataImageV2"
	DataImageV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DataImageV2_Kind}.String()
	DataImageV2_KindAPIVersion   = DataImageV2_Kind + "." + CRDGroupVersion.String()
	DataImageV2_GroupVersionKind = CRDGroupVersion.WithKind(DataImageV2_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 (
	ImageV2_Kind             = "ImageV2"
	ImageV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ImageV2_Kind}.String()
	ImageV2_KindAPIVersion   = ImageV2_Kind + "." + CRDGroupVersion.String()
	ImageV2_GroupVersionKind = CRDGroupVersion.WithKind(ImageV2_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DataImageV2

type DataImageV2 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   DataImageV2Spec   `json:"spec"`
	Status DataImageV2Status `json:"status,omitempty"`
}

DataImageV2 is the Schema for the DataImageV2s API. Manages a IMS Data Image resource within OpenTelekomCloud. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opentelekomcloud}

func (*DataImageV2) DeepCopy

func (in *DataImageV2) DeepCopy() *DataImageV2

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

func (*DataImageV2) DeepCopyInto

func (in *DataImageV2) DeepCopyInto(out *DataImageV2)

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

func (*DataImageV2) DeepCopyObject

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

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

func (*DataImageV2) GetCondition

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

GetCondition of this DataImageV2.

func (*DataImageV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DataImageV2

func (*DataImageV2) GetDeletionPolicy

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

GetDeletionPolicy of this DataImageV2.

func (*DataImageV2) GetID

func (tr *DataImageV2) GetID() string

GetID returns ID of underlying Terraform resource of this DataImageV2

func (*DataImageV2) GetInitParameters

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

GetInitParameters of this DataImageV2

func (*DataImageV2) GetManagementPolicies

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

GetManagementPolicies of this DataImageV2.

func (*DataImageV2) GetMergedParameters added in v0.2.0

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

GetInitParameters of this DataImageV2

func (*DataImageV2) GetObservation

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

GetObservation of this DataImageV2

func (*DataImageV2) GetParameters

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

GetParameters of this DataImageV2

func (*DataImageV2) GetProviderConfigReference

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

GetProviderConfigReference of this DataImageV2.

func (*DataImageV2) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DataImageV2.

func (*DataImageV2) GetTerraformResourceType

func (mg *DataImageV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DataImageV2

func (*DataImageV2) GetTerraformSchemaVersion

func (tr *DataImageV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DataImageV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DataImageV2.

func (*DataImageV2) Hub added in v0.2.0

func (tr *DataImageV2) Hub()

Hub marks this type as a conversion hub.

func (*DataImageV2) LateInitialize

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

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

func (*DataImageV2) SetConditions

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

SetConditions of this DataImageV2.

func (*DataImageV2) SetDeletionPolicy

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

SetDeletionPolicy of this DataImageV2.

func (*DataImageV2) SetManagementPolicies

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

SetManagementPolicies of this DataImageV2.

func (*DataImageV2) SetObservation

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

SetObservation for this DataImageV2

func (*DataImageV2) SetParameters

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

SetParameters for this DataImageV2

func (*DataImageV2) SetProviderConfigReference

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

SetProviderConfigReference of this DataImageV2.

func (*DataImageV2) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DataImageV2.

func (*DataImageV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DataImageV2.

type DataImageV2InitParameters

type DataImageV2InitParameters struct {

	// The master key used for encrypting an image.
	// Changing this creates a new image.
	CmkID *string `json:"cmkId,omitempty" tf:"cmk_id,omitempty"`

	// A description of the image. Changing this creates a new image.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The URL of the external image file in the OBS bucket.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The format is OBS bucket name:Image file name.
	// Changing this creates a new image.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// The minimum size of the system disk in the unit of GB.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The value ranges from 1 GB to 1024 GB.
	// Changing this creates a new image.
	MinDisk *float64 `json:"minDisk,omitempty" tf:"min_disk,omitempty"`

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

	// The OS type. It can only be Windows or Linux.
	// This parameter is valid when you create a private image from an external file
	// uploaded to an OBS bucket. Changing this creates a new image.
	OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"`

	// The tags of the image.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The ID of the ECS atatched volume that needs to be converted into an image.
	// This parameter is mandatory when you create a privete image from an ECS.
	// Changing this creates a new image.
	VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
}

func (*DataImageV2InitParameters) DeepCopy

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

func (*DataImageV2InitParameters) DeepCopyInto

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

type DataImageV2List

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

DataImageV2List contains a list of DataImageV2s

func (*DataImageV2List) DeepCopy

func (in *DataImageV2List) DeepCopy() *DataImageV2List

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

func (*DataImageV2List) DeepCopyInto

func (in *DataImageV2List) DeepCopyInto(out *DataImageV2List)

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

func (*DataImageV2List) DeepCopyObject

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

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

func (*DataImageV2List) GetItems

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

GetItems of this DataImageV2List.

type DataImageV2Observation

type DataImageV2Observation struct {

	// The master key used for encrypting an image.
	// Changing this creates a new image.
	CmkID *string `json:"cmkId,omitempty" tf:"cmk_id,omitempty"`

	// The image resource. The pattern can be 'instance,instance_id' or 'file,image_url'.
	DataOrigin *string `json:"dataOrigin,omitempty" tf:"data_origin,omitempty"`

	// A description of the image. Changing this creates a new image.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The image file format. The value can be vhd, zvhd, raw, zvhd2, or qcow2.
	DiskFormat *string `json:"diskFormat,omitempty" tf:"disk_format,omitempty"`

	// A unique ID assigned by IMS.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The size(bytes) of the image file format.
	ImageSize *string `json:"imageSize,omitempty" tf:"image_size,omitempty"`

	// The URL of the external image file in the OBS bucket.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The format is OBS bucket name:Image file name.
	// Changing this creates a new image.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// The minimum size of the system disk in the unit of GB.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The value ranges from 1 GB to 1024 GB.
	// Changing this creates a new image.
	MinDisk *float64 `json:"minDisk,omitempty" tf:"min_disk,omitempty"`

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

	// The OS type. It can only be Windows or Linux.
	// This parameter is valid when you create a private image from an external file
	// uploaded to an OBS bucket. Changing this creates a new image.
	OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"`

	// The tags of the image.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Whether the image is visible to other tenants.
	Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"`

	// The ID of the ECS atatched volume that needs to be converted into an image.
	// This parameter is mandatory when you create a privete image from an ECS.
	// Changing this creates a new image.
	VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
}

func (*DataImageV2Observation) DeepCopy

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

func (*DataImageV2Observation) DeepCopyInto

func (in *DataImageV2Observation) DeepCopyInto(out *DataImageV2Observation)

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

type DataImageV2Parameters

type DataImageV2Parameters struct {

	// The master key used for encrypting an image.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	CmkID *string `json:"cmkId,omitempty" tf:"cmk_id,omitempty"`

	// A description of the image. Changing this creates a new image.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The URL of the external image file in the OBS bucket.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The format is OBS bucket name:Image file name.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// The minimum size of the system disk in the unit of GB.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The value ranges from 1 GB to 1024 GB.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	MinDisk *float64 `json:"minDisk,omitempty" tf:"min_disk,omitempty"`

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

	// The OS type. It can only be Windows or Linux.
	// This parameter is valid when you create a private image from an external file
	// uploaded to an OBS bucket. Changing this creates a new image.
	// +kubebuilder:validation:Optional
	OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"`

	// The tags of the image.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The ID of the ECS atatched volume that needs to be converted into an image.
	// This parameter is mandatory when you create a privete image from an ECS.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
}

func (*DataImageV2Parameters) DeepCopy

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

func (*DataImageV2Parameters) DeepCopyInto

func (in *DataImageV2Parameters) DeepCopyInto(out *DataImageV2Parameters)

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

type DataImageV2Spec

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

DataImageV2Spec defines the desired state of DataImageV2

func (*DataImageV2Spec) DeepCopy

func (in *DataImageV2Spec) DeepCopy() *DataImageV2Spec

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

func (*DataImageV2Spec) DeepCopyInto

func (in *DataImageV2Spec) DeepCopyInto(out *DataImageV2Spec)

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

type DataImageV2Status

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

DataImageV2Status defines the observed state of DataImageV2.

func (*DataImageV2Status) DeepCopy

func (in *DataImageV2Status) DeepCopy() *DataImageV2Status

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

func (*DataImageV2Status) DeepCopyInto

func (in *DataImageV2Status) DeepCopyInto(out *DataImageV2Status)

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

type ImageV2

type ImageV2 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   ImageV2Spec   `json:"spec"`
	Status ImageV2Status `json:"status,omitempty"`
}

ImageV2 is the Schema for the ImageV2s API. Manages a IMS Image resource within OpenTelekomCloud. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opentelekomcloud}

func (*ImageV2) DeepCopy

func (in *ImageV2) DeepCopy() *ImageV2

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

func (*ImageV2) DeepCopyInto

func (in *ImageV2) DeepCopyInto(out *ImageV2)

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

func (*ImageV2) DeepCopyObject

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

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

func (*ImageV2) GetCondition

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

GetCondition of this ImageV2.

func (*ImageV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ImageV2

func (*ImageV2) GetDeletionPolicy

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

GetDeletionPolicy of this ImageV2.

func (*ImageV2) GetID

func (tr *ImageV2) GetID() string

GetID returns ID of underlying Terraform resource of this ImageV2

func (*ImageV2) GetInitParameters

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

GetInitParameters of this ImageV2

func (*ImageV2) GetManagementPolicies

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

GetManagementPolicies of this ImageV2.

func (*ImageV2) GetMergedParameters added in v0.2.0

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

GetInitParameters of this ImageV2

func (*ImageV2) GetObservation

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

GetObservation of this ImageV2

func (*ImageV2) GetParameters

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

GetParameters of this ImageV2

func (*ImageV2) GetProviderConfigReference

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

GetProviderConfigReference of this ImageV2.

func (*ImageV2) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ImageV2.

func (*ImageV2) GetTerraformResourceType

func (mg *ImageV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ImageV2

func (*ImageV2) GetTerraformSchemaVersion

func (tr *ImageV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ImageV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ImageV2.

func (*ImageV2) Hub added in v0.2.0

func (tr *ImageV2) Hub()

Hub marks this type as a conversion hub.

func (*ImageV2) LateInitialize

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

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

func (*ImageV2) SetConditions

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

SetConditions of this ImageV2.

func (*ImageV2) SetDeletionPolicy

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

SetDeletionPolicy of this ImageV2.

func (*ImageV2) SetManagementPolicies

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

SetManagementPolicies of this ImageV2.

func (*ImageV2) SetObservation

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

SetObservation for this ImageV2

func (*ImageV2) SetParameters

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

SetParameters for this ImageV2

func (*ImageV2) SetProviderConfigReference

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

SetProviderConfigReference of this ImageV2.

func (*ImageV2) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ImageV2.

func (*ImageV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ImageV2.

type ImageV2InitParameters

type ImageV2InitParameters struct {

	// The master key used for encrypting an image.
	// Changing this creates a new image.
	CmkID *string `json:"cmkId,omitempty" tf:"cmk_id,omitempty"`

	// A description of the image. Changing this creates a new image.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the boot mode. The value can be bios or uefi.
	HwFirmwareType *string `json:"hwFirmwareType,omitempty" tf:"hw_firmware_type,omitempty"`

	// The URL of the external image file in the OBS bucket.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The format is OBS bucket name:Image file name.
	// Changing this creates a new image.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// The ID of the ECS that needs to be converted into an image.
	// This parameter is mandatory when you create a private image from an ECS.
	// Changing this creates a new image.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// If automatic configuration is required, set the value to true.
	// Otherwise, set the value to false. Changing this creates a new image.
	IsConfig *bool `json:"isConfig,omitempty" tf:"is_config,omitempty"`

	// The maximum memory of the image in the unit of MB.
	// Changing this creates a new image.
	MaxRAM *float64 `json:"maxRam,omitempty" tf:"max_ram,omitempty"`

	// The minimum size of the system disk in the unit of GB.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The value ranges from 1 GB to 1024 GB.
	// Changing this creates a new image.
	MinDisk *float64 `json:"minDisk,omitempty" tf:"min_disk,omitempty"`

	// The minimum memory of the image in the unit of MB.
	// The default value is 0, indicating that the memory is not restricted.
	// Changing this creates a new image.
	MinRAM *float64 `json:"minRam,omitempty" tf:"min_ram,omitempty"`

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

	// The OS version.
	// This parameter is valid when you create a private image from an external file.
	// This parameter is mandatory when you create a private image from a volume.
	// uploaded to an OBS bucket. Changing this creates a new image.
	OsVersion *string `json:"osVersion,omitempty" tf:"os_version,omitempty"`

	// The tags of the image.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The image type. Must be one of ECS, FusionCompute, BMS,
	// Ironic or IsoImage. Changing this creates a new image.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Specifies the data disk ID.
	// This parameter is mandatory when you create a private image from a volume.
	// Changing this creates a new image.
	VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
}

func (*ImageV2InitParameters) DeepCopy

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

func (*ImageV2InitParameters) DeepCopyInto

func (in *ImageV2InitParameters) DeepCopyInto(out *ImageV2InitParameters)

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

type ImageV2List

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

ImageV2List contains a list of ImageV2s

func (*ImageV2List) DeepCopy

func (in *ImageV2List) DeepCopy() *ImageV2List

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

func (*ImageV2List) DeepCopyInto

func (in *ImageV2List) DeepCopyInto(out *ImageV2List)

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

func (*ImageV2List) DeepCopyObject

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

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

func (*ImageV2List) GetItems

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

GetItems of this ImageV2List.

type ImageV2Observation

type ImageV2Observation struct {

	// The master key used for encrypting an image.
	// Changing this creates a new image.
	CmkID *string `json:"cmkId,omitempty" tf:"cmk_id,omitempty"`

	// The image resource. The pattern can be 'instance,instance_id' or 'file,image_url'.
	DataOrigin *string `json:"dataOrigin,omitempty" tf:"data_origin,omitempty"`

	// A description of the image. Changing this creates a new image.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The image file format. The value can be vhd, zvhd, raw, zvhd2, or qcow2.
	DiskFormat *string `json:"diskFormat,omitempty" tf:"disk_format,omitempty"`

	// The URL for uploading and downloading the image file.
	File *string `json:"file,omitempty" tf:"file,omitempty"`

	// Specifies the boot mode. The value can be bios or uefi.
	HwFirmwareType *string `json:"hwFirmwareType,omitempty" tf:"hw_firmware_type,omitempty"`

	// A unique ID assigned by IMS.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The size(bytes) of the image file format.
	ImageSize *string `json:"imageSize,omitempty" tf:"image_size,omitempty"`

	// The URL of the external image file in the OBS bucket.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The format is OBS bucket name:Image file name.
	// Changing this creates a new image.
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// The ID of the ECS that needs to be converted into an image.
	// This parameter is mandatory when you create a private image from an ECS.
	// Changing this creates a new image.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// If automatic configuration is required, set the value to true.
	// Otherwise, set the value to false. Changing this creates a new image.
	IsConfig *bool `json:"isConfig,omitempty" tf:"is_config,omitempty"`

	// The maximum memory of the image in the unit of MB.
	// Changing this creates a new image.
	MaxRAM *float64 `json:"maxRam,omitempty" tf:"max_ram,omitempty"`

	// The minimum size of the system disk in the unit of GB.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The value ranges from 1 GB to 1024 GB.
	// Changing this creates a new image.
	MinDisk *float64 `json:"minDisk,omitempty" tf:"min_disk,omitempty"`

	// The minimum memory of the image in the unit of MB.
	// The default value is 0, indicating that the memory is not restricted.
	// Changing this creates a new image.
	MinRAM *float64 `json:"minRam,omitempty" tf:"min_ram,omitempty"`

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

	// The OS version.
	// This parameter is valid when you create a private image from an external file.
	// This parameter is mandatory when you create a private image from a volume.
	// uploaded to an OBS bucket. Changing this creates a new image.
	OsVersion *string `json:"osVersion,omitempty" tf:"os_version,omitempty"`

	// The tags of the image.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The image type. Must be one of ECS, FusionCompute, BMS,
	// Ironic or IsoImage. Changing this creates a new image.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Whether the image is visible to other tenants.
	Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"`

	// Specifies the data disk ID.
	// This parameter is mandatory when you create a private image from a volume.
	// Changing this creates a new image.
	VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
}

func (*ImageV2Observation) DeepCopy

func (in *ImageV2Observation) DeepCopy() *ImageV2Observation

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

func (*ImageV2Observation) DeepCopyInto

func (in *ImageV2Observation) DeepCopyInto(out *ImageV2Observation)

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

type ImageV2Parameters

type ImageV2Parameters struct {

	// The master key used for encrypting an image.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	CmkID *string `json:"cmkId,omitempty" tf:"cmk_id,omitempty"`

	// A description of the image. Changing this creates a new image.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the boot mode. The value can be bios or uefi.
	// +kubebuilder:validation:Optional
	HwFirmwareType *string `json:"hwFirmwareType,omitempty" tf:"hw_firmware_type,omitempty"`

	// The URL of the external image file in the OBS bucket.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The format is OBS bucket name:Image file name.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// The ID of the ECS that needs to be converted into an image.
	// This parameter is mandatory when you create a private image from an ECS.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// If automatic configuration is required, set the value to true.
	// Otherwise, set the value to false. Changing this creates a new image.
	// +kubebuilder:validation:Optional
	IsConfig *bool `json:"isConfig,omitempty" tf:"is_config,omitempty"`

	// The maximum memory of the image in the unit of MB.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	MaxRAM *float64 `json:"maxRam,omitempty" tf:"max_ram,omitempty"`

	// The minimum size of the system disk in the unit of GB.
	// This parameter is mandatory when you create a private image from an external file
	// uploaded to an OBS bucket. The value ranges from 1 GB to 1024 GB.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	MinDisk *float64 `json:"minDisk,omitempty" tf:"min_disk,omitempty"`

	// The minimum memory of the image in the unit of MB.
	// The default value is 0, indicating that the memory is not restricted.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	MinRAM *float64 `json:"minRam,omitempty" tf:"min_ram,omitempty"`

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

	// The OS version.
	// This parameter is valid when you create a private image from an external file.
	// This parameter is mandatory when you create a private image from a volume.
	// uploaded to an OBS bucket. Changing this creates a new image.
	// +kubebuilder:validation:Optional
	OsVersion *string `json:"osVersion,omitempty" tf:"os_version,omitempty"`

	// The tags of the image.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The image type. Must be one of ECS, FusionCompute, BMS,
	// Ironic or IsoImage. Changing this creates a new image.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Specifies the data disk ID.
	// This parameter is mandatory when you create a private image from a volume.
	// Changing this creates a new image.
	// +kubebuilder:validation:Optional
	VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
}

func (*ImageV2Parameters) DeepCopy

func (in *ImageV2Parameters) DeepCopy() *ImageV2Parameters

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

func (*ImageV2Parameters) DeepCopyInto

func (in *ImageV2Parameters) DeepCopyInto(out *ImageV2Parameters)

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

type ImageV2Spec

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

ImageV2Spec defines the desired state of ImageV2

func (*ImageV2Spec) DeepCopy

func (in *ImageV2Spec) DeepCopy() *ImageV2Spec

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

func (*ImageV2Spec) DeepCopyInto

func (in *ImageV2Spec) DeepCopyInto(out *ImageV2Spec)

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

type ImageV2Status

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

ImageV2Status defines the observed state of ImageV2.

func (*ImageV2Status) DeepCopy

func (in *ImageV2Status) DeepCopy() *ImageV2Status

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

func (*ImageV2Status) DeepCopyInto

func (in *ImageV2Status) DeepCopyInto(out *ImageV2Status)

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