v1beta1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=as.flexibleengine.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "as.flexibleengine.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Configuration_Kind             = "Configuration"
	Configuration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Configuration_Kind}.String()
	Configuration_KindAPIVersion   = Configuration_Kind + "." + CRDGroupVersion.String()
	Configuration_GroupVersionKind = CRDGroupVersion.WithKind(Configuration_Kind)
)

Repository type metadata.

View Source
var (
	Group_Kind             = "Group"
	Group_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String()
	Group_KindAPIVersion   = Group_Kind + "." + CRDGroupVersion.String()
	Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_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 (
	LifecycleHook_Kind             = "LifecycleHook"
	LifecycleHook_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LifecycleHook_Kind}.String()
	LifecycleHook_KindAPIVersion   = LifecycleHook_Kind + "." + CRDGroupVersion.String()
	LifecycleHook_GroupVersionKind = CRDGroupVersion.WithKind(LifecycleHook_Kind)
)

Repository type metadata.

View Source
var (
	Policy_Kind             = "Policy"
	Policy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String()
	Policy_KindAPIVersion   = Policy_Kind + "." + CRDGroupVersion.String()
	Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BandwidthObservation

type BandwidthObservation struct {
}

func (*BandwidthObservation) DeepCopy

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

func (*BandwidthObservation) DeepCopyInto

func (in *BandwidthObservation) DeepCopyInto(out *BandwidthObservation)

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

type BandwidthParameters

type BandwidthParameters struct {

	// The bandwidth charging mode. The system only supports traffic.
	// +kubebuilder:validation:Required
	ChargingMode *string `json:"chargingMode" tf:"charging_mode,omitempty"`

	// The bandwidth sharing type. The system only supports PER (indicates exclusive bandwidth).
	// +kubebuilder:validation:Required
	ShareType *string `json:"shareType" tf:"share_type,omitempty"`

	// The disk size. The unit is GB. The system disk size ranges from 1 to 32768,
	// and the data disk size ranges from 10 to 32768.
	// +kubebuilder:validation:Required
	Size *float64 `json:"size" tf:"size,omitempty"`
}

func (*BandwidthParameters) DeepCopy

func (in *BandwidthParameters) DeepCopy() *BandwidthParameters

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

func (*BandwidthParameters) DeepCopyInto

func (in *BandwidthParameters) DeepCopyInto(out *BandwidthParameters)

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

type Configuration

type Configuration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ConfigurationSpec   `json:"spec"`
	Status            ConfigurationStatus `json:"status,omitempty"`
}

Configuration is the Schema for the Configurations API. ""page_title: "flexibleengine_as_configuration_v1" +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,flexibleengine}

func (*Configuration) DeepCopy

func (in *Configuration) DeepCopy() *Configuration

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

func (*Configuration) DeepCopyInto

func (in *Configuration) DeepCopyInto(out *Configuration)

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

func (*Configuration) DeepCopyObject

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

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

func (*Configuration) GetCondition

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

GetCondition of this Configuration.

func (*Configuration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Configuration

func (*Configuration) GetDeletionPolicy

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

GetDeletionPolicy of this Configuration.

func (*Configuration) GetID

func (tr *Configuration) GetID() string

GetID returns ID of underlying Terraform resource of this Configuration

func (*Configuration) GetObservation

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

GetObservation of this Configuration

func (*Configuration) GetParameters

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

GetParameters of this Configuration

func (*Configuration) GetProviderConfigReference

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

GetProviderConfigReference of this Configuration.

func (*Configuration) GetProviderReference

func (mg *Configuration) GetProviderReference() *xpv1.Reference

GetProviderReference of this Configuration. Deprecated: Use GetProviderConfigReference.

func (*Configuration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Configuration.

func (*Configuration) GetTerraformResourceType

func (mg *Configuration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Configuration

func (*Configuration) GetTerraformSchemaVersion

func (tr *Configuration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Configuration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Configuration.

func (*Configuration) LateInitialize

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

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

func (*Configuration) ResolveReferences

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

ResolveReferences of this Configuration.

func (*Configuration) SetConditions

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

SetConditions of this Configuration.

func (*Configuration) SetDeletionPolicy

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

SetDeletionPolicy of this Configuration.

func (*Configuration) SetObservation

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

SetObservation for this Configuration

func (*Configuration) SetParameters

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

SetParameters for this Configuration

func (*Configuration) SetProviderConfigReference

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

SetProviderConfigReference of this Configuration.

func (*Configuration) SetProviderReference

func (mg *Configuration) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Configuration. Deprecated: Use SetProviderConfigReference.

func (*Configuration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Configuration.

func (*Configuration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Configuration.

type ConfigurationList

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

ConfigurationList contains a list of Configurations

func (*ConfigurationList) DeepCopy

func (in *ConfigurationList) DeepCopy() *ConfigurationList

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

func (*ConfigurationList) DeepCopyInto

func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList)

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

func (*ConfigurationList) DeepCopyObject

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

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

func (*ConfigurationList) GetItems

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

GetItems of this ConfigurationList.

type ConfigurationObservation

type ConfigurationObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ConfigurationObservation) DeepCopy

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

func (*ConfigurationObservation) DeepCopyInto

func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation)

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

type ConfigurationParameters

type ConfigurationParameters struct {

	// The information about instance configurations. The instance_config
	// dictionary data structure is documented below.
	// +kubebuilder:validation:Required
	InstanceConfig []InstanceConfigParameters `json:"instanceConfig" tf:"instance_config,omitempty"`

	// The region in which to create the AS configuration. If
	// omitted, the region argument of the provider is used. Changing this
	// creates a new AS configuration.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The name of the AS configuration. The name can contain letters,
	// digits, underscores(_), and hyphens(-), and cannot exceed 64 characters.
	// +kubebuilder:validation:Required
	ScalingConfigurationName *string `json:"scalingConfigurationName" tf:"scaling_configuration_name,omitempty"`
}

func (*ConfigurationParameters) DeepCopy

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

func (*ConfigurationParameters) DeepCopyInto

func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters)

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

type ConfigurationSpec

type ConfigurationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ConfigurationParameters `json:"forProvider"`
}

ConfigurationSpec defines the desired state of Configuration

func (*ConfigurationSpec) DeepCopy

func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec

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

func (*ConfigurationSpec) DeepCopyInto

func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)

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

type ConfigurationStatus

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

ConfigurationStatus defines the observed state of Configuration.

func (*ConfigurationStatus) DeepCopy

func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus

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

func (*ConfigurationStatus) DeepCopyInto

func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus)

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

type DiskObservation

type DiskObservation struct {
}

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 {

	// Whether the disk is a system disk or a data disk. Option DATA indicates
	// a data disk. option SYS indicates a system disk.
	// +kubebuilder:validation:Required
	DiskType *string `json:"diskType" tf:"disk_type,omitempty"`

	// The disk size. The unit is GB. The system disk size ranges from 1 to 32768,
	// and the data disk size ranges from 10 to 32768.
	// +kubebuilder:validation:Required
	Size *float64 `json:"size" tf:"size,omitempty"`

	// The disk type, which must be the same as the disk type available in the system.
	// The options include SATA (common I/O disk type) and SSD (ultra-high I/O disk type).
	// +kubebuilder:validation:Required
	VolumeType *string `json:"volumeType" tf:"volume_type,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 EIPObservation

type EIPObservation struct {
}

func (*EIPObservation) DeepCopy

func (in *EIPObservation) DeepCopy() *EIPObservation

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

func (*EIPObservation) DeepCopyInto

func (in *EIPObservation) DeepCopyInto(out *EIPObservation)

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

type EIPParameters

type EIPParameters struct {

	// The bandwidth information. The structure is described below.
	// +kubebuilder:validation:Required
	Bandwidth []BandwidthParameters `json:"bandwidth" tf:"bandwidth,omitempty"`

	// The IP address type. The system only supports 5_bgp (indicates dynamic BGP).
	// +kubebuilder:validation:Required
	IPType *string `json:"ipType" tf:"ip_type,omitempty"`
}

func (*EIPParameters) DeepCopy

func (in *EIPParameters) DeepCopy() *EIPParameters

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

func (*EIPParameters) DeepCopyInto

func (in *EIPParameters) DeepCopyInto(out *EIPParameters)

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

type Group

type Group struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GroupSpec   `json:"spec"`
	Status            GroupStatus `json:"status,omitempty"`
}

Group is the Schema for the Groups API. ""page_title: "flexibleengine_as_group_v1" +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,flexibleengine}

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

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

func (*Group) DeepCopyObject

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

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

func (*Group) GetCondition

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

GetCondition of this Group.

func (*Group) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Group

func (*Group) GetDeletionPolicy

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

GetDeletionPolicy of this Group.

func (*Group) GetID

func (tr *Group) GetID() string

GetID returns ID of underlying Terraform resource of this Group

func (*Group) GetObservation

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

GetObservation of this Group

func (*Group) GetParameters

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

GetParameters of this Group

func (*Group) GetProviderConfigReference

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

GetProviderConfigReference of this Group.

func (*Group) GetProviderReference

func (mg *Group) GetProviderReference() *xpv1.Reference

GetProviderReference of this Group. Deprecated: Use GetProviderConfigReference.

func (*Group) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Group.

func (*Group) GetTerraformResourceType

func (mg *Group) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Group

func (*Group) GetTerraformSchemaVersion

func (tr *Group) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Group) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Group.

func (*Group) LateInitialize

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

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

func (*Group) ResolveReferences

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

ResolveReferences of this Group.

func (*Group) SetConditions

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

SetConditions of this Group.

func (*Group) SetDeletionPolicy

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

SetDeletionPolicy of this Group.

func (*Group) SetObservation

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

SetObservation for this Group

func (*Group) SetParameters

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

SetParameters for this Group

func (*Group) SetProviderConfigReference

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

SetProviderConfigReference of this Group.

func (*Group) SetProviderReference

func (mg *Group) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Group. Deprecated: Use SetProviderConfigReference.

func (*Group) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Group.

func (*Group) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Group.

type GroupList

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

GroupList contains a list of Groups

func (*GroupList) DeepCopy

func (in *GroupList) DeepCopy() *GroupList

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

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

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

func (*GroupList) DeepCopyObject

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

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

func (*GroupList) GetItems

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

GetItems of this GroupList.

type GroupObservation

type GroupObservation struct {

	// Indicates the number of current instances in the AS group.
	CurrentInstanceNumber *float64 `json:"currentInstanceNumber,omitempty" tf:"current_instance_number,omitempty"`

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

	// The instances IDs of the AS group.
	// The instances id list in the as group.
	Instances []*string `json:"instances,omitempty" tf:"instances,omitempty"`

	// Indicates the status of the AS group.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*GroupObservation) DeepCopy

func (in *GroupObservation) DeepCopy() *GroupObservation

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

func (*GroupObservation) DeepCopyInto

func (in *GroupObservation) DeepCopyInto(out *GroupObservation)

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

type GroupParameters

type GroupParameters struct {

	// The availability zones in which to create
	// the instances in the autoscaling group.
	// +kubebuilder:validation:Optional
	AvailableZones []*string `json:"availableZones,omitempty" tf:"available_zones,omitempty"`

	// The cooling duration (in seconds). The value ranges
	// from 0 to 86400, and is 900 by default.
	// The cooling duration, in seconds.
	// +kubebuilder:validation:Optional
	CoolDownTime *float64 `json:"coolDownTime,omitempty" tf:"cool_down_time,omitempty"`

	// Whether to delete the instances in the AS group
	// when deleting the AS group. The options are yes and no.
	// Whether to delete instances when they are removed from the AS group.
	// +kubebuilder:validation:Optional
	DeleteInstances *string `json:"deleteInstances,omitempty" tf:"delete_instances,omitempty"`

	// Whether to delete the elastic IP address bound to the
	// instances of AS group when deleting the instances. The options are true and false.
	// +kubebuilder:validation:Optional
	DeletePublicip *bool `json:"deletePublicip,omitempty" tf:"delete_publicip,omitempty"`

	// The expected number of instances. The default
	// value is the minimum number of instances. The value ranges from the minimum number of
	// instances to the maximum number of instances.
	// +kubebuilder:validation:Optional
	DesireInstanceNumber *float64 `json:"desireInstanceNumber,omitempty" tf:"desire_instance_number,omitempty"`

	// Whether to forcibly delete the AS group, remove the ECS instances and release them.
	// The default value is false.
	// +kubebuilder:validation:Optional
	ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"`

	// The health check method for instances
	// in the AS group. The health check methods include ELB_AUDIT and NOVA_AUDIT.
	// If load balancing is configured, the default value of this parameter is ELB_AUDIT.
	// Otherwise, the default value is NOVA_AUDIT.
	// +kubebuilder:validation:Optional
	HealthPeriodicAuditMethod *string `json:"healthPeriodicAuditMethod,omitempty" tf:"health_periodic_audit_method,omitempty"`

	// The health check period for instances.
	// The period has four options: 5 minutes (default), 15 minutes, 60 minutes, and 180 minutes.
	// The health check period for instances, in minutes.
	// +kubebuilder:validation:Optional
	HealthPeriodicAuditTime *float64 `json:"healthPeriodicAuditTime,omitempty" tf:"health_periodic_audit_time,omitempty"`

	// The instance removal policy. The policy has
	// four options: OLD_CONFIG_OLD_INSTANCE (default), OLD_CONFIG_NEW_INSTANCE,
	// OLD_INSTANCE, and NEW_INSTANCE.
	// +kubebuilder:validation:Optional
	InstanceTerminatePolicy *string `json:"instanceTerminatePolicy,omitempty" tf:"instance_terminate_policy,omitempty"`

	// The ELB listener IDs. The system supports up to
	// six ELB listeners, the IDs of which are separated using a comma (,).
	// The system supports the binding of up to six ELB listeners, the IDs of which are separated using a comma.
	// +kubebuilder:validation:Optional
	LBListenerID *string `json:"lbListenerId,omitempty" tf:"lb_listener_id,omitempty"`

	// An array of one or more enhanced load balancer.
	// The system supports the binding of up to six load balancers. The field is
	// alternative to lb_listener_id.  The object structure is documented below.
	// +kubebuilder:validation:Optional
	LbaasListeners []LbaasListenersParameters `json:"lbaasListeners,omitempty" tf:"lbaas_listeners,omitempty"`

	// The maximum number of instances.
	// The default value is 0.
	// +kubebuilder:validation:Optional
	MaxInstanceNumber *float64 `json:"maxInstanceNumber,omitempty" tf:"max_instance_number,omitempty"`

	// The minimum number of instances.
	// The default value is 0.
	// +kubebuilder:validation:Optional
	MinInstanceNumber *float64 `json:"minInstanceNumber,omitempty" tf:"min_instance_number,omitempty"`

	// An array of one or more network IDs.
	// The system supports up to five networks. The networks object structure
	// is documented below.
	// +kubebuilder:validation:Required
	Networks []NetworksParameters `json:"networks" tf:"networks,omitempty"`

	// The notification mode. The system only supports EMAIL
	// mode which refers to notification by email.
	// +kubebuilder:validation:Optional
	Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"`

	// The region in which to create the AS group. If
	// omitted, the region argument of the provider is used. Changing this
	// creates a new AS group.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The configuration ID which defines
	// configurations of instances in the AS group.
	// +crossplane:generate:reference:type=Configuration
	// +kubebuilder:validation:Optional
	ScalingConfigurationID *string `json:"scalingConfigurationId,omitempty" tf:"scaling_configuration_id,omitempty"`

	// Reference to a Configuration to populate scalingConfigurationId.
	// +kubebuilder:validation:Optional
	ScalingConfigurationIDRef *v1.Reference `json:"scalingConfigurationIdRef,omitempty" tf:"-"`

	// Selector for a Configuration to populate scalingConfigurationId.
	// +kubebuilder:validation:Optional
	ScalingConfigurationIDSelector *v1.Selector `json:"scalingConfigurationIdSelector,omitempty" tf:"-"`

	// The name of the scaling group. The name can contain letters,
	// digits, underscores(_), and hyphens(-),and cannot exceed 64 characters.
	// +kubebuilder:validation:Required
	ScalingGroupName *string `json:"scalingGroupName" tf:"scaling_group_name,omitempty"`

	// An array of one security group ID to
	// associate with the group. The security_groups object structure is
	// documented below.
	// +kubebuilder:validation:Required
	SecurityGroups []SecurityGroupsParameters `json:"securityGroups" tf:"security_groups,omitempty"`

	// The key/value pairs to associate with the scaling group.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The VPC ID. Changing this creates a new group.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPC
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Reference to a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"`

	// Selector for a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"`
}

func (*GroupParameters) DeepCopy

func (in *GroupParameters) DeepCopy() *GroupParameters

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

func (*GroupParameters) DeepCopyInto

func (in *GroupParameters) DeepCopyInto(out *GroupParameters)

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

type GroupSpec

type GroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GroupParameters `json:"forProvider"`
}

GroupSpec defines the desired state of Group

func (*GroupSpec) DeepCopy

func (in *GroupSpec) DeepCopy() *GroupSpec

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

func (*GroupSpec) DeepCopyInto

func (in *GroupSpec) DeepCopyInto(out *GroupSpec)

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

type GroupStatus

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

GroupStatus defines the observed state of Group.

func (*GroupStatus) DeepCopy

func (in *GroupStatus) DeepCopy() *GroupStatus

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

func (*GroupStatus) DeepCopyInto

func (in *GroupStatus) DeepCopyInto(out *GroupStatus)

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

type InstanceConfigObservation

type InstanceConfigObservation struct {
}

func (*InstanceConfigObservation) DeepCopy

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

func (*InstanceConfigObservation) DeepCopyInto

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

type InstanceConfigParameters

type InstanceConfigParameters struct {

	// The disk group information. System disks are mandatory and data disks are optional.
	// The dick structure is described below.
	// +kubebuilder:validation:Optional
	Disk []DiskParameters `json:"disk,omitempty" tf:"disk,omitempty"`

	// The flavor ID.
	// +kubebuilder:validation:Optional
	Flavor *string `json:"flavor,omitempty" tf:"flavor,omitempty"`

	// The image ID.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ims/v1beta1.Image
	// +kubebuilder:validation:Optional
	Image *string `json:"image,omitempty" tf:"image,omitempty"`

	// Reference to a Image in ims to populate image.
	// +kubebuilder:validation:Optional
	ImageRef *v1.Reference `json:"imageRef,omitempty" tf:"-"`

	// Selector for a Image in ims to populate image.
	// +kubebuilder:validation:Optional
	ImageSelector *v1.Selector `json:"imageSelector,omitempty" tf:"-"`

	// When using the existing instance specifications as the template to
	// create AS configurations, specify this argument. In this case, flavor, image,
	// and disk arguments do not take effect. If the instance_id argument is not specified,
	// flavor, image, and disk arguments are mandatory.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ecs/v1beta1.Instance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// Reference to a Instance in ecs to populate instanceId.
	// +kubebuilder:validation:Optional
	InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"`

	// Selector for a Instance in ecs to populate instanceId.
	// +kubebuilder:validation:Optional
	InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"`

	// The name of the SSH key pair used to log in to the instance.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ecs/v1beta1.KeyPair
	// +kubebuilder:validation:Optional
	KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`

	// Reference to a KeyPair in ecs to populate keyName.
	// +kubebuilder:validation:Optional
	KeyNameRef *v1.Reference `json:"keyNameRef,omitempty" tf:"-"`

	// Selector for a KeyPair in ecs to populate keyName.
	// +kubebuilder:validation:Optional
	KeyNameSelector *v1.Selector `json:"keyNameSelector,omitempty" tf:"-"`

	// Metadata key/value pairs to make available from
	// within the instance.
	// +kubebuilder:validation:Optional
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Customize the personality of an instance by
	// defining one or more files and their contents. The personality structure
	// is described below.
	// +kubebuilder:validation:Optional
	Personality []PersonalityParameters `json:"personality,omitempty" tf:"personality,omitempty"`

	// The elastic IP address of the instance. The public_ip structure
	// is described below.
	// +kubebuilder:validation:Optional
	PublicIP []PublicIPParameters `json:"publicIp,omitempty" tf:"public_ip,omitempty"`

	// The user data to provide when launching the instance.
	// The file content must be encoded with Base64.
	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
}

func (*InstanceConfigParameters) DeepCopy

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

func (*InstanceConfigParameters) DeepCopyInto

func (in *InstanceConfigParameters) DeepCopyInto(out *InstanceConfigParameters)

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

type LbaasListenersObservation

type LbaasListenersObservation struct {
}

func (*LbaasListenersObservation) DeepCopy

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

func (*LbaasListenersObservation) DeepCopyInto

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

type LbaasListenersParameters

type LbaasListenersParameters struct {

	// Specifies the backend ECS group ID.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/elb/v1beta1.Pool
	// +kubebuilder:validation:Optional
	PoolID *string `json:"poolId,omitempty" tf:"pool_id,omitempty"`

	// Reference to a Pool in elb to populate poolId.
	// +kubebuilder:validation:Optional
	PoolIDRef *v1.Reference `json:"poolIdRef,omitempty" tf:"-"`

	// Selector for a Pool in elb to populate poolId.
	// +kubebuilder:validation:Optional
	PoolIDSelector *v1.Selector `json:"poolIdSelector,omitempty" tf:"-"`

	// Specifies the backend protocol, which is the port on which
	// a backend ECS listens for traffic. The number of the port ranges from 1 to 65535.
	// +kubebuilder:validation:Required
	ProtocolPort *float64 `json:"protocolPort" tf:"protocol_port,omitempty"`

	// Specifies the weight, which determines the portion of requests a
	// backend ECS processes compared to other backend ECSs added to the same listener. The value
	// of this parameter ranges from 0 to 100. The default value is 1.
	// +kubebuilder:validation:Optional
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*LbaasListenersParameters) DeepCopy

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

func (*LbaasListenersParameters) DeepCopyInto

func (in *LbaasListenersParameters) DeepCopyInto(out *LbaasListenersParameters)

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

type LifecycleHook

type LifecycleHook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LifecycleHookSpec   `json:"spec"`
	Status            LifecycleHookStatus `json:"status,omitempty"`
}

LifecycleHook is the Schema for the LifecycleHooks API. ""page_title: "flexibleengine_as_lifecycle_hook_v1" +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,flexibleengine}

func (*LifecycleHook) DeepCopy

func (in *LifecycleHook) DeepCopy() *LifecycleHook

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

func (*LifecycleHook) DeepCopyInto

func (in *LifecycleHook) DeepCopyInto(out *LifecycleHook)

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

func (*LifecycleHook) DeepCopyObject

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

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

func (*LifecycleHook) GetCondition

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

GetCondition of this LifecycleHook.

func (*LifecycleHook) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LifecycleHook

func (*LifecycleHook) GetDeletionPolicy

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

GetDeletionPolicy of this LifecycleHook.

func (*LifecycleHook) GetID

func (tr *LifecycleHook) GetID() string

GetID returns ID of underlying Terraform resource of this LifecycleHook

func (*LifecycleHook) GetObservation

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

GetObservation of this LifecycleHook

func (*LifecycleHook) GetParameters

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

GetParameters of this LifecycleHook

func (*LifecycleHook) GetProviderConfigReference

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

GetProviderConfigReference of this LifecycleHook.

func (*LifecycleHook) GetProviderReference

func (mg *LifecycleHook) GetProviderReference() *xpv1.Reference

GetProviderReference of this LifecycleHook. Deprecated: Use GetProviderConfigReference.

func (*LifecycleHook) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LifecycleHook.

func (*LifecycleHook) GetTerraformResourceType

func (mg *LifecycleHook) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LifecycleHook

func (*LifecycleHook) GetTerraformSchemaVersion

func (tr *LifecycleHook) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LifecycleHook) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LifecycleHook.

func (*LifecycleHook) LateInitialize

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

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

func (*LifecycleHook) ResolveReferences

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

ResolveReferences of this LifecycleHook.

func (*LifecycleHook) SetConditions

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

SetConditions of this LifecycleHook.

func (*LifecycleHook) SetDeletionPolicy

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

SetDeletionPolicy of this LifecycleHook.

func (*LifecycleHook) SetObservation

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

SetObservation for this LifecycleHook

func (*LifecycleHook) SetParameters

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

SetParameters for this LifecycleHook

func (*LifecycleHook) SetProviderConfigReference

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

SetProviderConfigReference of this LifecycleHook.

func (*LifecycleHook) SetProviderReference

func (mg *LifecycleHook) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this LifecycleHook. Deprecated: Use SetProviderConfigReference.

func (*LifecycleHook) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LifecycleHook.

func (*LifecycleHook) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LifecycleHook.

type LifecycleHookList

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

LifecycleHookList contains a list of LifecycleHooks

func (*LifecycleHookList) DeepCopy

func (in *LifecycleHookList) DeepCopy() *LifecycleHookList

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

func (*LifecycleHookList) DeepCopyInto

func (in *LifecycleHookList) DeepCopyInto(out *LifecycleHookList)

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

func (*LifecycleHookList) DeepCopyObject

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

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

func (*LifecycleHookList) GetItems

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

GetItems of this LifecycleHookList.

type LifecycleHookObservation

type LifecycleHookObservation struct {

	// The server time in UTC format when the lifecycle hook is created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// The resource ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The topic name in SMN.
	NotificationTopicName *string `json:"notificationTopicName,omitempty" tf:"notification_topic_name,omitempty"`
}

func (*LifecycleHookObservation) DeepCopy

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

func (*LifecycleHookObservation) DeepCopyInto

func (in *LifecycleHookObservation) DeepCopyInto(out *LifecycleHookObservation)

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

type LifecycleHookParameters

type LifecycleHookParameters struct {

	// Specifies the default lifecycle hook callback operation.
	// This operation is performed when the timeout duration expires.
	// The valid values are ABANDON and CONTINUE, default to ABANDON.
	// +kubebuilder:validation:Optional
	DefaultResult *string `json:"defaultResult,omitempty" tf:"default_result,omitempty"`

	// Specifies a customized notification.
	// This parameter can contains a maximum of 256 characters, which cannot contain the following characters: <>&'().
	// +kubebuilder:validation:Optional
	NotificationMessage *string `json:"notificationMessage,omitempty" tf:"notification_message,omitempty"`

	// Specifies a unique topic in SMN.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/smn/v1beta1.Topic
	// +kubebuilder:validation:Optional
	NotificationTopicUrn *string `json:"notificationTopicUrn,omitempty" tf:"notification_topic_urn,omitempty"`

	// Reference to a Topic in smn to populate notificationTopicUrn.
	// +kubebuilder:validation:Optional
	NotificationTopicUrnRef *v1.Reference `json:"notificationTopicUrnRef,omitempty" tf:"-"`

	// Selector for a Topic in smn to populate notificationTopicUrn.
	// +kubebuilder:validation:Optional
	NotificationTopicUrnSelector *v1.Selector `json:"notificationTopicUrnSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the ID of the AS group in UUID format.
	// Changing this creates a new AS lifecycle hook.
	// +crossplane:generate:reference:type=Group
	// +kubebuilder:validation:Optional
	ScalingGroupID *string `json:"scalingGroupId,omitempty" tf:"scaling_group_id,omitempty"`

	// Reference to a Group to populate scalingGroupId.
	// +kubebuilder:validation:Optional
	ScalingGroupIDRef *v1.Reference `json:"scalingGroupIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate scalingGroupId.
	// +kubebuilder:validation:Optional
	ScalingGroupIDSelector *v1.Selector `json:"scalingGroupIdSelector,omitempty" tf:"-"`

	// Specifies the lifecycle hook timeout duration, which ranges from 300 to 86400 in the
	// unit of second, default to 3600.
	// +kubebuilder:validation:Optional
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// Specifies the lifecycle hook type.
	// The valid values are following strings:
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*LifecycleHookParameters) DeepCopy

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

func (*LifecycleHookParameters) DeepCopyInto

func (in *LifecycleHookParameters) DeepCopyInto(out *LifecycleHookParameters)

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

type LifecycleHookSpec

type LifecycleHookSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LifecycleHookParameters `json:"forProvider"`
}

LifecycleHookSpec defines the desired state of LifecycleHook

func (*LifecycleHookSpec) DeepCopy

func (in *LifecycleHookSpec) DeepCopy() *LifecycleHookSpec

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

func (*LifecycleHookSpec) DeepCopyInto

func (in *LifecycleHookSpec) DeepCopyInto(out *LifecycleHookSpec)

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

type LifecycleHookStatus

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

LifecycleHookStatus defines the observed state of LifecycleHook.

func (*LifecycleHookStatus) DeepCopy

func (in *LifecycleHookStatus) DeepCopy() *LifecycleHookStatus

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

func (*LifecycleHookStatus) DeepCopyInto

func (in *LifecycleHookStatus) DeepCopyInto(out *LifecycleHookStatus)

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

type NetworksObservation

type NetworksObservation struct {
}

func (*NetworksObservation) DeepCopy

func (in *NetworksObservation) DeepCopy() *NetworksObservation

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

func (*NetworksObservation) DeepCopyInto

func (in *NetworksObservation) DeepCopyInto(out *NetworksObservation)

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

type NetworksParameters

type NetworksParameters struct {

	// The network UUID.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet
	// +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "id")
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Reference to a VPCSubnet in vpc to populate id.
	// +kubebuilder:validation:Optional
	IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"`

	// Selector for a VPCSubnet in vpc to populate id.
	// +kubebuilder:validation:Optional
	IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"`
}

func (*NetworksParameters) DeepCopy

func (in *NetworksParameters) DeepCopy() *NetworksParameters

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

func (*NetworksParameters) DeepCopyInto

func (in *NetworksParameters) DeepCopyInto(out *NetworksParameters)

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

type PersonalityObservation

type PersonalityObservation struct {
}

func (*PersonalityObservation) DeepCopy

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

func (*PersonalityObservation) DeepCopyInto

func (in *PersonalityObservation) DeepCopyInto(out *PersonalityObservation)

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

type PersonalityParameters

type PersonalityParameters struct {

	// +kubebuilder:validation:Required
	Content *string `json:"content" tf:"content,omitempty"`

	// The absolute path of the destination file.
	// +kubebuilder:validation:Required
	Path *string `json:"path" tf:"path,omitempty"`
}

func (*PersonalityParameters) DeepCopy

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

func (*PersonalityParameters) DeepCopyInto

func (in *PersonalityParameters) DeepCopyInto(out *PersonalityParameters)

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

type Policy

type Policy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicySpec   `json:"spec"`
	Status            PolicyStatus `json:"status,omitempty"`
}

Policy is the Schema for the Policys API. ""page_title: "flexibleengine_as_policy_v1" +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,flexibleengine}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) GetCondition

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

GetCondition of this Policy.

func (*Policy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Policy

func (*Policy) GetDeletionPolicy

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

GetDeletionPolicy of this Policy.

func (*Policy) GetID

func (tr *Policy) GetID() string

GetID returns ID of underlying Terraform resource of this Policy

func (*Policy) GetObservation

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

GetObservation of this Policy

func (*Policy) GetParameters

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

GetParameters of this Policy

func (*Policy) GetProviderConfigReference

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

GetProviderConfigReference of this Policy.

func (*Policy) GetProviderReference

func (mg *Policy) GetProviderReference() *xpv1.Reference

GetProviderReference of this Policy. Deprecated: Use GetProviderConfigReference.

func (*Policy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Policy.

func (*Policy) GetTerraformResourceType

func (mg *Policy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Policy

func (*Policy) GetTerraformSchemaVersion

func (tr *Policy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Policy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Policy.

func (*Policy) LateInitialize

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

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

func (*Policy) ResolveReferences

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

ResolveReferences of this Policy.

func (*Policy) SetConditions

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

SetConditions of this Policy.

func (*Policy) SetDeletionPolicy

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

SetDeletionPolicy of this Policy.

func (*Policy) SetObservation

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

SetObservation for this Policy

func (*Policy) SetParameters

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

SetParameters for this Policy

func (*Policy) SetProviderConfigReference

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

SetProviderConfigReference of this Policy.

func (*Policy) SetProviderReference

func (mg *Policy) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Policy. Deprecated: Use SetProviderConfigReference.

func (*Policy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Policy.

func (*Policy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Policy.

type PolicyList

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

PolicyList contains a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

func (*PolicyList) GetItems

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

GetItems of this PolicyList.

type PolicyObservation

type PolicyObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*PolicyObservation) DeepCopy

func (in *PolicyObservation) DeepCopy() *PolicyObservation

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

func (*PolicyObservation) DeepCopyInto

func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)

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

type PolicyParameters

type PolicyParameters struct {

	// The alarm rule ID. This argument is mandatory
	// when scaling_policy_type is set to ALARM.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ces/v1beta1.AlarmRule
	// +kubebuilder:validation:Optional
	AlarmID *string `json:"alarmId,omitempty" tf:"alarm_id,omitempty"`

	// Reference to a AlarmRule in ces to populate alarmId.
	// +kubebuilder:validation:Optional
	AlarmIDRef *v1.Reference `json:"alarmIdRef,omitempty" tf:"-"`

	// Selector for a AlarmRule in ces to populate alarmId.
	// +kubebuilder:validation:Optional
	AlarmIDSelector *v1.Selector `json:"alarmIdSelector,omitempty" tf:"-"`

	// The cooling duration (in seconds), and is 900 by default.
	// +kubebuilder:validation:Optional
	CoolDownTime *float64 `json:"coolDownTime,omitempty" tf:"cool_down_time,omitempty"`

	// The region in which to create the AS policy. If
	// omitted, the region argument of the provider is used. Changing this
	// creates a new AS policy.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The AS group ID. Changing this creates a new AS policy.
	// +crossplane:generate:reference:type=Group
	// +kubebuilder:validation:Optional
	ScalingGroupID *string `json:"scalingGroupId,omitempty" tf:"scaling_group_id,omitempty"`

	// Reference to a Group to populate scalingGroupId.
	// +kubebuilder:validation:Optional
	ScalingGroupIDRef *v1.Reference `json:"scalingGroupIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate scalingGroupId.
	// +kubebuilder:validation:Optional
	ScalingGroupIDSelector *v1.Selector `json:"scalingGroupIdSelector,omitempty" tf:"-"`

	// The action of the AS policy. The scaling_policy_action
	// structure is documented below.
	// +kubebuilder:validation:Optional
	ScalingPolicyAction []ScalingPolicyActionParameters `json:"scalingPolicyAction,omitempty" tf:"scaling_policy_action,omitempty"`

	// The name of the AS policy. The name can contain letters,
	// digits, underscores(_), and hyphens(-),and cannot exceed 64 characters.
	// +kubebuilder:validation:Required
	ScalingPolicyName *string `json:"scalingPolicyName" tf:"scaling_policy_name,omitempty"`

	// The AS policy type. The values can be ALARM, SCHEDULED,
	// and RECURRENCE.
	// +kubebuilder:validation:Required
	ScalingPolicyType *string `json:"scalingPolicyType" tf:"scaling_policy_type,omitempty"`

	// The periodic or scheduled AS policy. This argument is mandatory
	// when scaling_policy_type is set to SCHEDULED or RECURRENCE. The scheduled_policy structure
	// is documented below.
	// +kubebuilder:validation:Optional
	ScheduledPolicy []ScheduledPolicyParameters `json:"scheduledPolicy,omitempty" tf:"scheduled_policy,omitempty"`
}

func (*PolicyParameters) DeepCopy

func (in *PolicyParameters) DeepCopy() *PolicyParameters

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

func (*PolicyParameters) DeepCopyInto

func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)

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

type PolicySpec

type PolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyParameters `json:"forProvider"`
}

PolicySpec defines the desired state of Policy

func (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicyStatus

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

PolicyStatus defines the observed state of Policy.

func (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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

type PublicIPObservation

type PublicIPObservation struct {
}

func (*PublicIPObservation) DeepCopy

func (in *PublicIPObservation) DeepCopy() *PublicIPObservation

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

func (*PublicIPObservation) DeepCopyInto

func (in *PublicIPObservation) DeepCopyInto(out *PublicIPObservation)

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

type PublicIPParameters

type PublicIPParameters struct {

	// The configuration parameter for creating an elastic IP address
	// that will be automatically assigned to the instance. The eip structure is described below.
	// +kubebuilder:validation:Required
	EIP []EIPParameters `json:"eip" tf:"eip,omitempty"`
}

func (*PublicIPParameters) DeepCopy

func (in *PublicIPParameters) DeepCopy() *PublicIPParameters

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

func (*PublicIPParameters) DeepCopyInto

func (in *PublicIPParameters) DeepCopyInto(out *PublicIPParameters)

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

type ScalingPolicyActionObservation

type ScalingPolicyActionObservation struct {
}

func (*ScalingPolicyActionObservation) DeepCopy

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

func (*ScalingPolicyActionObservation) DeepCopyInto

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

type ScalingPolicyActionParameters

type ScalingPolicyActionParameters struct {

	// The number of instances to be operated. The default number is 1.
	// +kubebuilder:validation:Optional
	InstanceNumber *float64 `json:"instanceNumber,omitempty" tf:"instance_number,omitempty"`

	// The operation to be performed. The options include ADD (default), REMOVE,
	// and SET.
	// +kubebuilder:validation:Optional
	Operation *string `json:"operation,omitempty" tf:"operation,omitempty"`
}

func (*ScalingPolicyActionParameters) DeepCopy

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

func (*ScalingPolicyActionParameters) DeepCopyInto

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

type ScheduledPolicyObservation

type ScheduledPolicyObservation struct {
}

func (*ScheduledPolicyObservation) DeepCopy

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

func (*ScheduledPolicyObservation) DeepCopyInto

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

type ScheduledPolicyParameters

type ScheduledPolicyParameters struct {

	// The end time of the scaling action triggered periodically.
	// The time format complies with UTC. This argument is mandatory when scaling_policy_type
	// is set to RECURRENCE. The time format is YYYY-MM-DDThh:mmZ.
	// +kubebuilder:validation:Optional
	EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"`

	// The time when the scaling action is triggered. If scaling_policy_type
	// is set to SCHEDULED, the time format is YYYY-MM-DDThh:mmZ. If scaling_policy_type is set to
	// RECURRENCE, the time format is hh:mm.
	// +kubebuilder:validation:Required
	LaunchTime *string `json:"launchTime" tf:"launch_time,omitempty"`

	// The periodic triggering type. This argument is mandatory when
	// scaling_policy_type is set to RECURRENCE. The options include Daily, Weekly, and Monthly.
	// +kubebuilder:validation:Optional
	RecurrenceType *string `json:"recurrenceType,omitempty" tf:"recurrence_type,omitempty"`

	// The frequency at which scaling actions are triggered.
	// +kubebuilder:validation:Optional
	RecurrenceValue *string `json:"recurrenceValue,omitempty" tf:"recurrence_value,omitempty"`

	// The start time of the scaling action triggered periodically.
	// The time format complies with UTC. The current time is used by default. The time
	// format is YYYY-MM-DDThh:mmZ.
	// +kubebuilder:validation:Optional
	StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"`
}

func (*ScheduledPolicyParameters) DeepCopy

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

func (*ScheduledPolicyParameters) DeepCopyInto

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

type SecurityGroupsObservation

type SecurityGroupsObservation struct {
}

func (*SecurityGroupsObservation) DeepCopy

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

func (*SecurityGroupsObservation) DeepCopyInto

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

type SecurityGroupsParameters

type SecurityGroupsParameters struct {

	// The UUID of the security group.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.SecurityGroup
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Reference to a SecurityGroup in vpc to populate id.
	// +kubebuilder:validation:Optional
	IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"`

	// Selector for a SecurityGroup in vpc to populate id.
	// +kubebuilder:validation:Optional
	IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"`
}

func (*SecurityGroupsParameters) DeepCopy

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

func (*SecurityGroupsParameters) DeepCopyInto

func (in *SecurityGroupsParameters) DeepCopyInto(out *SecurityGroupsParameters)

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