v1alpha1

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=as.tencentcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "as.tencentcloud.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Attachment_Kind             = "Attachment"
	Attachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Attachment_Kind}.String()
	Attachment_KindAPIVersion   = Attachment_Kind + "." + CRDGroupVersion.String()
	Attachment_GroupVersionKind = CRDGroupVersion.WithKind(Attachment_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 (
	Notification_Kind             = "Notification"
	Notification_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Notification_Kind}.String()
	Notification_KindAPIVersion   = Notification_Kind + "." + CRDGroupVersion.String()
	Notification_GroupVersionKind = CRDGroupVersion.WithKind(Notification_Kind)
)

Repository type metadata.

View Source
var (
	ScalingConfig_Kind             = "ScalingConfig"
	ScalingConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ScalingConfig_Kind}.String()
	ScalingConfig_KindAPIVersion   = ScalingConfig_Kind + "." + CRDGroupVersion.String()
	ScalingConfig_GroupVersionKind = CRDGroupVersion.WithKind(ScalingConfig_Kind)
)

Repository type metadata.

View Source
var (
	ScalingGroup_Kind             = "ScalingGroup"
	ScalingGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ScalingGroup_Kind}.String()
	ScalingGroup_KindAPIVersion   = ScalingGroup_Kind + "." + CRDGroupVersion.String()
	ScalingGroup_GroupVersionKind = CRDGroupVersion.WithKind(ScalingGroup_Kind)
)

Repository type metadata.

View Source
var (
	ScalingPolicy_Kind             = "ScalingPolicy"
	ScalingPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ScalingPolicy_Kind}.String()
	ScalingPolicy_KindAPIVersion   = ScalingPolicy_Kind + "." + CRDGroupVersion.String()
	ScalingPolicy_GroupVersionKind = CRDGroupVersion.WithKind(ScalingPolicy_Kind)
)

Repository type metadata.

View Source
var (
	Schedule_Kind             = "Schedule"
	Schedule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Schedule_Kind}.String()
	Schedule_KindAPIVersion   = Schedule_Kind + "." + CRDGroupVersion.String()
	Schedule_GroupVersionKind = CRDGroupVersion.WithKind(Schedule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AttachmentSpec   `json:"spec"`
	Status            AttachmentStatus `json:"status,omitempty"`
}

Attachment is the Schema for the Attachments API +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,tencentcloudjet}

func (*Attachment) DeepCopy

func (in *Attachment) DeepCopy() *Attachment

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

func (*Attachment) DeepCopyInto

func (in *Attachment) DeepCopyInto(out *Attachment)

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

func (*Attachment) DeepCopyObject

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

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

func (*Attachment) GetCondition

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

GetCondition of this Attachment.

func (*Attachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Attachment

func (*Attachment) GetDeletionPolicy

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

GetDeletionPolicy of this Attachment.

func (*Attachment) GetID

func (tr *Attachment) GetID() string

GetID returns ID of underlying Terraform resource of this Attachment

func (*Attachment) GetObservation

func (tr *Attachment) GetObservation() (map[string]interface{}, error)

GetObservation of this Attachment

func (*Attachment) GetParameters

func (tr *Attachment) GetParameters() (map[string]interface{}, error)

GetParameters of this Attachment

func (*Attachment) GetProviderConfigReference

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

GetProviderConfigReference of this Attachment.

func (*Attachment) GetProviderReference

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

GetProviderReference of this Attachment. Deprecated: Use GetProviderConfigReference.

func (*Attachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Attachment.

func (*Attachment) GetTerraformResourceType

func (mg *Attachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Attachment

func (*Attachment) GetTerraformSchemaVersion

func (tr *Attachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Attachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Attachment.

func (*Attachment) LateInitialize

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

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

func (*Attachment) ResolveReferences

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

ResolveReferences of this Attachment.

func (*Attachment) SetConditions

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

SetConditions of this Attachment.

func (*Attachment) SetDeletionPolicy

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

SetDeletionPolicy of this Attachment.

func (*Attachment) SetObservation

func (tr *Attachment) SetObservation(obs map[string]interface{}) error

SetObservation for this Attachment

func (*Attachment) SetParameters

func (tr *Attachment) SetParameters(params map[string]interface{}) error

SetParameters for this Attachment

func (*Attachment) SetProviderConfigReference

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

SetProviderConfigReference of this Attachment.

func (*Attachment) SetProviderReference

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

SetProviderReference of this Attachment. Deprecated: Use SetProviderConfigReference.

func (*Attachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Attachment.

func (*Attachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Attachment.

type AttachmentList

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

AttachmentList contains a list of Attachments

func (*AttachmentList) DeepCopy

func (in *AttachmentList) DeepCopy() *AttachmentList

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

func (*AttachmentList) DeepCopyInto

func (in *AttachmentList) DeepCopyInto(out *AttachmentList)

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

func (*AttachmentList) DeepCopyObject

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

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

func (*AttachmentList) GetItems

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

GetItems of this AttachmentList.

type AttachmentObservation

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

func (*AttachmentObservation) DeepCopy

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

func (*AttachmentObservation) DeepCopyInto

func (in *AttachmentObservation) DeepCopyInto(out *AttachmentObservation)

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

type AttachmentParameters

type AttachmentParameters struct {

	// ID list of CVM instances to be attached to the scaling group.
	// +kubebuilder:validation:Required
	InstanceIds []*string `json:"instanceIds" tf:"instance_ids,omitempty"`

	// ID of a scaling group.
	// +crossplane:generate:reference:type=ScalingGroup
	// +kubebuilder:validation:Optional
	ScalingGroupID *string `json:"scalingGroupId,omitempty" tf:"scaling_group_id,omitempty"`

	// +kubebuilder:validation:Optional
	ScalingGroupIDRef *v1.Reference `json:"scalingGroupIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ScalingGroupIDSelector *v1.Selector `json:"scalingGroupIdSelector,omitempty" tf:"-"`
}

func (*AttachmentParameters) DeepCopy

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

func (*AttachmentParameters) DeepCopyInto

func (in *AttachmentParameters) DeepCopyInto(out *AttachmentParameters)

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

type AttachmentSpec

type AttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AttachmentParameters `json:"forProvider"`
}

AttachmentSpec defines the desired state of Attachment

func (*AttachmentSpec) DeepCopy

func (in *AttachmentSpec) DeepCopy() *AttachmentSpec

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

func (*AttachmentSpec) DeepCopyInto

func (in *AttachmentSpec) DeepCopyInto(out *AttachmentSpec)

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

type AttachmentStatus

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

AttachmentStatus defines the observed state of Attachment.

func (*AttachmentStatus) DeepCopy

func (in *AttachmentStatus) DeepCopy() *AttachmentStatus

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

func (*AttachmentStatus) DeepCopyInto

func (in *AttachmentStatus) DeepCopyInto(out *AttachmentStatus)

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

type DataDiskObservation

type DataDiskObservation struct {
}

func (*DataDiskObservation) DeepCopy

func (in *DataDiskObservation) DeepCopy() *DataDiskObservation

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

func (*DataDiskObservation) DeepCopyInto

func (in *DataDiskObservation) DeepCopyInto(out *DataDiskObservation)

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

type DataDiskParameters

type DataDiskParameters struct {

	// Indicates whether the disk remove after instance terminated. Default is `false`.
	// +kubebuilder:validation:Optional
	DeleteWithInstance *bool `json:"deleteWithInstance,omitempty" tf:"delete_with_instance,omitempty"`

	// Volume of disk in GB. Default is `0`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// Types of disk. Valid values: `CLOUD_PREMIUM` and `CLOUD_SSD`. valid when disk_type_policy is ORIGINAL.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Data disk snapshot ID.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
}

func (*DataDiskParameters) DeepCopy

func (in *DataDiskParameters) DeepCopy() *DataDiskParameters

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

func (*DataDiskParameters) DeepCopyInto

func (in *DataDiskParameters) DeepCopyInto(out *DataDiskParameters)

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

type ForwardBalancerIdsObservation

type ForwardBalancerIdsObservation struct {
}

func (*ForwardBalancerIdsObservation) DeepCopy

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

func (*ForwardBalancerIdsObservation) DeepCopyInto

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

type ForwardBalancerIdsParameters

type ForwardBalancerIdsParameters struct {

	// Listener ID for application load balancers.
	// +kubebuilder:validation:Required
	ListenerID *string `json:"listenerId" tf:"listener_id,omitempty"`

	// ID of available load balancers.
	// +kubebuilder:validation:Required
	LoadBalancerID *string `json:"loadBalancerId" tf:"load_balancer_id,omitempty"`

	// ID of forwarding rules.
	// +kubebuilder:validation:Optional
	RuleID *string `json:"ruleId,omitempty" tf:"rule_id,omitempty"`

	// Attribute list of target rules.
	// +kubebuilder:validation:Required
	TargetAttribute []TargetAttributeParameters `json:"targetAttribute" tf:"target_attribute,omitempty"`
}

func (*ForwardBalancerIdsParameters) DeepCopy

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

func (*ForwardBalancerIdsParameters) DeepCopyInto

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

type HostNameSettingsObservation added in v0.7.0

type HostNameSettingsObservation struct {
}

func (*HostNameSettingsObservation) DeepCopy added in v0.7.0

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

func (*HostNameSettingsObservation) DeepCopyInto added in v0.7.0

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

type HostNameSettingsParameters added in v0.7.0

type HostNameSettingsParameters struct {

	// The host name of the cloud server; dots (.) and dashes (-) cannot be used as the first and last characters of HostName, and cannot be used consecutively; Windows instances are not supported; other types (Linux, etc.) instances: the character length is [2, 40], it is allowed to support multiple dots, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (no uppercase and lowercase restrictions), numbers and dashes (-). Pure numbers are not allowed.
	// +kubebuilder:validation:Required
	HostName *string `json:"hostName" tf:"host_name,omitempty"`

	// The style of the host name of the cloud server, the value range includes `ORIGINAL` and `UNIQUE`, the default is `ORIGINAL`; `ORIGINAL`, the AS directly passes the HostName filled in the input parameter to the CVM, and the CVM may append a sequence to the HostName number, the HostName of the instance in the scaling group will conflict; `UNIQUE`, the HostName filled in as a parameter is equivalent to the host name prefix, AS and CVM will expand it, and the HostName of the instance in the scaling group can be guaranteed to be unique.
	// +kubebuilder:validation:Optional
	HostNameStyle *string `json:"hostNameStyle,omitempty" tf:"host_name_style,omitempty"`
}

func (*HostNameSettingsParameters) DeepCopy added in v0.7.0

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

func (*HostNameSettingsParameters) DeepCopyInto added in v0.7.0

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

type InstanceNameSettingsObservation

type InstanceNameSettingsObservation struct {
}

func (*InstanceNameSettingsObservation) DeepCopy

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

func (*InstanceNameSettingsObservation) DeepCopyInto

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

type InstanceNameSettingsParameters

type InstanceNameSettingsParameters struct {

	// CVM instance name.
	// +kubebuilder:validation:Required
	InstanceName *string `json:"instanceName" tf:"instance_name,omitempty"`

	// Type of CVM instance name. Valid values: `ORIGINAL` and `UNIQUE`. Default is `ORIGINAL`.
	// +kubebuilder:validation:Optional
	InstanceNameStyle *string `json:"instanceNameStyle,omitempty" tf:"instance_name_style,omitempty"`
}

func (*InstanceNameSettingsParameters) DeepCopy

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

func (*InstanceNameSettingsParameters) DeepCopyInto

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 +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,tencentcloudjet}

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]interface{}, error)

GetObservation of this LifecycleHook

func (*LifecycleHook) GetParameters

func (tr *LifecycleHook) GetParameters() (map[string]interface{}, 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]interface{}) error

SetObservation for this LifecycleHook

func (*LifecycleHook) SetParameters

func (tr *LifecycleHook) SetParameters(params map[string]interface{}) 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 {
	ID *string `json:"id,omitempty" tf:"id,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 {

	// Defines the action the AS group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. Valid values: `CONTINUE` and `ABANDON`. The default value is `CONTINUE`.
	// +kubebuilder:validation:Optional
	DefaultResult *string `json:"defaultResult,omitempty" tf:"default_result,omitempty"`

	// Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. Valid value ranges: (30~7200). and default value is `300`.
	// +kubebuilder:validation:Optional
	HeartbeatTimeout *float64 `json:"heartbeatTimeout,omitempty" tf:"heartbeat_timeout,omitempty"`

	// The name of the lifecycle hook.
	// +kubebuilder:validation:Required
	LifecycleHookName *string `json:"lifecycleHookName" tf:"lifecycle_hook_name,omitempty"`

	// The instance state to which you want to attach the lifecycle hook. Valid values: `INSTANCE_LAUNCHING` and `INSTANCE_TERMINATING`.
	// +kubebuilder:validation:Required
	LifecycleTransition *string `json:"lifecycleTransition" tf:"lifecycle_transition,omitempty"`

	// Contains additional information that you want to include any time AS sends a message to the notification target.
	// +kubebuilder:validation:Optional
	NotificationMetadata *string `json:"notificationMetadata,omitempty" tf:"notification_metadata,omitempty"`

	// For CMQ_QUEUE type, a name of queue must be set.
	// +kubebuilder:validation:Optional
	NotificationQueueName *string `json:"notificationQueueName,omitempty" tf:"notification_queue_name,omitempty"`

	// Target type. Valid values: `CMQ_QUEUE`, `CMQ_TOPIC`.
	// +kubebuilder:validation:Optional
	NotificationTargetType *string `json:"notificationTargetType,omitempty" tf:"notification_target_type,omitempty"`

	// For CMQ_TOPIC type, a name of topic must be set.
	// +kubebuilder:validation:Optional
	NotificationTopicName *string `json:"notificationTopicName,omitempty" tf:"notification_topic_name,omitempty"`

	// ID of a scaling group.
	// +crossplane:generate:reference:type=ScalingGroup
	// +kubebuilder:validation:Optional
	ScalingGroupID *string `json:"scalingGroupId,omitempty" tf:"scaling_group_id,omitempty"`

	// +kubebuilder:validation:Optional
	ScalingGroupIDRef *v1.Reference `json:"scalingGroupIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ScalingGroupIDSelector *v1.Selector `json:"scalingGroupIdSelector,omitempty" tf:"-"`
}

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 Notification

type Notification struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NotificationSpec   `json:"spec"`
	Status            NotificationStatus `json:"status,omitempty"`
}

Notification is the Schema for the Notifications API +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,tencentcloudjet}

func (*Notification) DeepCopy

func (in *Notification) DeepCopy() *Notification

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

func (*Notification) DeepCopyInto

func (in *Notification) DeepCopyInto(out *Notification)

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

func (*Notification) DeepCopyObject

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

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

func (*Notification) GetCondition

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

GetCondition of this Notification.

func (*Notification) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Notification

func (*Notification) GetDeletionPolicy

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

GetDeletionPolicy of this Notification.

func (*Notification) GetID

func (tr *Notification) GetID() string

GetID returns ID of underlying Terraform resource of this Notification

func (*Notification) GetObservation

func (tr *Notification) GetObservation() (map[string]interface{}, error)

GetObservation of this Notification

func (*Notification) GetParameters

func (tr *Notification) GetParameters() (map[string]interface{}, error)

GetParameters of this Notification

func (*Notification) GetProviderConfigReference

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

GetProviderConfigReference of this Notification.

func (*Notification) GetProviderReference

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

GetProviderReference of this Notification. Deprecated: Use GetProviderConfigReference.

func (*Notification) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Notification.

func (*Notification) GetTerraformResourceType

func (mg *Notification) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Notification

func (*Notification) GetTerraformSchemaVersion

func (tr *Notification) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Notification) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Notification.

func (*Notification) LateInitialize

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

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

func (*Notification) ResolveReferences

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

ResolveReferences of this Notification.

func (*Notification) SetConditions

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

SetConditions of this Notification.

func (*Notification) SetDeletionPolicy

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

SetDeletionPolicy of this Notification.

func (*Notification) SetObservation

func (tr *Notification) SetObservation(obs map[string]interface{}) error

SetObservation for this Notification

func (*Notification) SetParameters

func (tr *Notification) SetParameters(params map[string]interface{}) error

SetParameters for this Notification

func (*Notification) SetProviderConfigReference

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

SetProviderConfigReference of this Notification.

func (*Notification) SetProviderReference

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

SetProviderReference of this Notification. Deprecated: Use SetProviderConfigReference.

func (*Notification) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Notification.

func (*Notification) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Notification.

type NotificationList

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

NotificationList contains a list of Notifications

func (*NotificationList) DeepCopy

func (in *NotificationList) DeepCopy() *NotificationList

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

func (*NotificationList) DeepCopyInto

func (in *NotificationList) DeepCopyInto(out *NotificationList)

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

func (*NotificationList) DeepCopyObject

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

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

func (*NotificationList) GetItems

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

GetItems of this NotificationList.

type NotificationObservation

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

func (*NotificationObservation) DeepCopy

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

func (*NotificationObservation) DeepCopyInto

func (in *NotificationObservation) DeepCopyInto(out *NotificationObservation)

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

type NotificationParameters

type NotificationParameters struct {

	// A list of Notification Types that trigger notifications. Acceptable values are `SCALE_OUT_FAILED`, `SCALE_IN_SUCCESSFUL`, `SCALE_IN_FAILED`, `REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL` and `REPLACE_UNHEALTHY_INSTANCE_FAILED`.
	// +kubebuilder:validation:Required
	NotificationTypes []*string `json:"notificationTypes" tf:"notification_types,omitempty"`

	// A group of user IDs to be notified.
	// +kubebuilder:validation:Required
	NotificationUserGroupIds []*string `json:"notificationUserGroupIds" tf:"notification_user_group_ids,omitempty"`

	// ID of a scaling group.
	// +crossplane:generate:reference:type=ScalingGroup
	// +kubebuilder:validation:Optional
	ScalingGroupID *string `json:"scalingGroupId,omitempty" tf:"scaling_group_id,omitempty"`

	// +kubebuilder:validation:Optional
	ScalingGroupIDRef *v1.Reference `json:"scalingGroupIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ScalingGroupIDSelector *v1.Selector `json:"scalingGroupIdSelector,omitempty" tf:"-"`
}

func (*NotificationParameters) DeepCopy

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

func (*NotificationParameters) DeepCopyInto

func (in *NotificationParameters) DeepCopyInto(out *NotificationParameters)

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

type NotificationSpec

type NotificationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NotificationParameters `json:"forProvider"`
}

NotificationSpec defines the desired state of Notification

func (*NotificationSpec) DeepCopy

func (in *NotificationSpec) DeepCopy() *NotificationSpec

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

func (*NotificationSpec) DeepCopyInto

func (in *NotificationSpec) DeepCopyInto(out *NotificationSpec)

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

type NotificationStatus

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

NotificationStatus defines the observed state of Notification.

func (*NotificationStatus) DeepCopy

func (in *NotificationStatus) DeepCopy() *NotificationStatus

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

func (*NotificationStatus) DeepCopyInto

func (in *NotificationStatus) DeepCopyInto(out *NotificationStatus)

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

type ScalingConfig

type ScalingConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScalingConfigSpec   `json:"spec"`
	Status            ScalingConfigStatus `json:"status,omitempty"`
}

ScalingConfig is the Schema for the ScalingConfigs API +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,tencentcloudjet}

func (*ScalingConfig) DeepCopy

func (in *ScalingConfig) DeepCopy() *ScalingConfig

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

func (*ScalingConfig) DeepCopyInto

func (in *ScalingConfig) DeepCopyInto(out *ScalingConfig)

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

func (*ScalingConfig) DeepCopyObject

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

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

func (*ScalingConfig) GetCondition

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

GetCondition of this ScalingConfig.

func (*ScalingConfig) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ScalingConfig

func (*ScalingConfig) GetDeletionPolicy

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

GetDeletionPolicy of this ScalingConfig.

func (*ScalingConfig) GetID

func (tr *ScalingConfig) GetID() string

GetID returns ID of underlying Terraform resource of this ScalingConfig

func (*ScalingConfig) GetObservation

func (tr *ScalingConfig) GetObservation() (map[string]interface{}, error)

GetObservation of this ScalingConfig

func (*ScalingConfig) GetParameters

func (tr *ScalingConfig) GetParameters() (map[string]interface{}, error)

GetParameters of this ScalingConfig

func (*ScalingConfig) GetProviderConfigReference

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

GetProviderConfigReference of this ScalingConfig.

func (*ScalingConfig) GetProviderReference

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

GetProviderReference of this ScalingConfig. Deprecated: Use GetProviderConfigReference.

func (*ScalingConfig) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ScalingConfig.

func (*ScalingConfig) GetTerraformResourceType

func (mg *ScalingConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ScalingConfig

func (*ScalingConfig) GetTerraformSchemaVersion

func (tr *ScalingConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ScalingConfig) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ScalingConfig.

func (*ScalingConfig) LateInitialize

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

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

func (*ScalingConfig) SetConditions

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

SetConditions of this ScalingConfig.

func (*ScalingConfig) SetDeletionPolicy

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

SetDeletionPolicy of this ScalingConfig.

func (*ScalingConfig) SetObservation

func (tr *ScalingConfig) SetObservation(obs map[string]interface{}) error

SetObservation for this ScalingConfig

func (*ScalingConfig) SetParameters

func (tr *ScalingConfig) SetParameters(params map[string]interface{}) error

SetParameters for this ScalingConfig

func (*ScalingConfig) SetProviderConfigReference

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

SetProviderConfigReference of this ScalingConfig.

func (*ScalingConfig) SetProviderReference

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

SetProviderReference of this ScalingConfig. Deprecated: Use SetProviderConfigReference.

func (*ScalingConfig) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ScalingConfig.

func (*ScalingConfig) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ScalingConfig.

type ScalingConfigList

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

ScalingConfigList contains a list of ScalingConfigs

func (*ScalingConfigList) DeepCopy

func (in *ScalingConfigList) DeepCopy() *ScalingConfigList

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

func (*ScalingConfigList) DeepCopyInto

func (in *ScalingConfigList) DeepCopyInto(out *ScalingConfigList)

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

func (*ScalingConfigList) DeepCopyObject

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

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

func (*ScalingConfigList) GetItems

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

GetItems of this ScalingConfigList.

type ScalingConfigObservation

type ScalingConfigObservation struct {
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

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

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ScalingConfigObservation) DeepCopy

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

func (*ScalingConfigObservation) DeepCopyInto

func (in *ScalingConfigObservation) DeepCopyInto(out *ScalingConfigObservation)

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

type ScalingConfigParameters

type ScalingConfigParameters struct {

	// CAM role name authorized to access.
	// +kubebuilder:validation:Optional
	CamRoleName *string `json:"camRoleName,omitempty" tf:"cam_role_name,omitempty"`

	// Name of a launch configuration.
	// +kubebuilder:validation:Required
	ConfigurationName *string `json:"configurationName" tf:"configuration_name,omitempty"`

	// Configurations of data disk.
	// +kubebuilder:validation:Optional
	DataDisk []DataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Policy of cloud disk type. Valid values: `ORIGINAL` and `AUTOMATIC`. Default is `ORIGINAL`.
	// +kubebuilder:validation:Optional
	DiskTypePolicy *string `json:"diskTypePolicy,omitempty" tf:"disk_type_policy,omitempty"`

	// To specify whether to enable cloud monitor service. Default is `TRUE`.
	// +kubebuilder:validation:Optional
	EnhancedMonitorService *bool `json:"enhancedMonitorService,omitempty" tf:"enhanced_monitor_service,omitempty"`

	// To specify whether to enable cloud security service. Default is `TRUE`.
	// +kubebuilder:validation:Optional
	EnhancedSecurityService *bool `json:"enhancedSecurityService,omitempty" tf:"enhanced_security_service,omitempty"`

	// Related settings of the cloud server hostname (HostName).
	// +kubebuilder:validation:Optional
	HostNameSettings []HostNameSettingsParameters `json:"hostNameSettings,omitempty" tf:"host_name_settings,omitempty"`

	// An available image ID for a cvm instance.
	// +kubebuilder:validation:Required
	ImageID *string `json:"imageId" tf:"image_id,omitempty"`

	// Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time.
	// +kubebuilder:validation:Optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (in month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	// +kubebuilder:validation:Optional
	InstanceChargeTypePrepaidPeriod *float64 `json:"instanceChargeTypePrepaidPeriod,omitempty" tf:"instance_charge_type_prepaid_period,omitempty"`

	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to `PREPAID`.
	// +kubebuilder:validation:Optional
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Settings of CVM instance names.
	// +kubebuilder:validation:Optional
	InstanceNameSettings []InstanceNameSettingsParameters `json:"instanceNameSettings,omitempty" tf:"instance_name_settings,omitempty"`

	// A list of tags used to associate different resources.
	// +kubebuilder:validation:Optional
	InstanceTags map[string]*string `json:"instanceTags,omitempty" tf:"instance_tags,omitempty"`

	// Specified types of CVM instances.
	// +kubebuilder:validation:Required
	InstanceTypes []*string `json:"instanceTypes" tf:"instance_types,omitempty"`

	// Charge types for network traffic. Valid values: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.
	// +kubebuilder:validation:Optional
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

	// Max bandwidth of Internet access in Mbps. Default is `0`.
	// +kubebuilder:validation:Optional
	InternetMaxBandwidthOut *float64 `json:"internetMaxBandwidthOut,omitempty" tf:"internet_max_bandwidth_out,omitempty"`

	// Specify whether to keep original settings of a CVM image. And it can't be used with password or key_ids together.
	// +kubebuilder:validation:Optional
	KeepImageLogin *bool `json:"keepImageLogin,omitempty" tf:"keep_image_login,omitempty"`

	// ID list of keys.
	// +kubebuilder:validation:Optional
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

	// Password to access.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specifys to which project the configuration belongs.
	// +kubebuilder:validation:Optional
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Specify whether to assign an Internet IP address.
	// +kubebuilder:validation:Optional
	PublicIPAssigned *bool `json:"publicIpAssigned,omitempty" tf:"public_ip_assigned,omitempty"`

	// Security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// Type of spot instance, only support `one-time` now. Note: it only works when instance_charge_type is set to `SPOTPAID`.
	// +kubebuilder:validation:Optional
	SpotInstanceType *string `json:"spotInstanceType,omitempty" tf:"spot_instance_type,omitempty"`

	// Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to `SPOTPAID`.
	// +kubebuilder:validation:Optional
	SpotMaxPrice *string `json:"spotMaxPrice,omitempty" tf:"spot_max_price,omitempty"`

	// Volume of system disk in GB. Default is `50`.
	// +kubebuilder:validation:Optional
	SystemDiskSize *float64 `json:"systemDiskSize,omitempty" tf:"system_disk_size,omitempty"`

	// Type of a CVM disk. Valid values: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`. valid when disk_type_policy is ORIGINAL.
	// +kubebuilder:validation:Optional
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

	// ase64-encoded User Data text, the length limit is 16KB.
	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
}

func (*ScalingConfigParameters) DeepCopy

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

func (*ScalingConfigParameters) DeepCopyInto

func (in *ScalingConfigParameters) DeepCopyInto(out *ScalingConfigParameters)

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

type ScalingConfigSpec

type ScalingConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScalingConfigParameters `json:"forProvider"`
}

ScalingConfigSpec defines the desired state of ScalingConfig

func (*ScalingConfigSpec) DeepCopy

func (in *ScalingConfigSpec) DeepCopy() *ScalingConfigSpec

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

func (*ScalingConfigSpec) DeepCopyInto

func (in *ScalingConfigSpec) DeepCopyInto(out *ScalingConfigSpec)

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

type ScalingConfigStatus

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

ScalingConfigStatus defines the observed state of ScalingConfig.

func (*ScalingConfigStatus) DeepCopy

func (in *ScalingConfigStatus) DeepCopy() *ScalingConfigStatus

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

func (*ScalingConfigStatus) DeepCopyInto

func (in *ScalingConfigStatus) DeepCopyInto(out *ScalingConfigStatus)

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

type ScalingGroup

type ScalingGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScalingGroupSpec   `json:"spec"`
	Status            ScalingGroupStatus `json:"status,omitempty"`
}

ScalingGroup is the Schema for the ScalingGroups API +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,tencentcloudjet}

func (*ScalingGroup) DeepCopy

func (in *ScalingGroup) DeepCopy() *ScalingGroup

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

func (*ScalingGroup) DeepCopyInto

func (in *ScalingGroup) DeepCopyInto(out *ScalingGroup)

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

func (*ScalingGroup) DeepCopyObject

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

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

func (*ScalingGroup) GetCondition

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

GetCondition of this ScalingGroup.

func (*ScalingGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ScalingGroup

func (*ScalingGroup) GetDeletionPolicy

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

GetDeletionPolicy of this ScalingGroup.

func (*ScalingGroup) GetID

func (tr *ScalingGroup) GetID() string

GetID returns ID of underlying Terraform resource of this ScalingGroup

func (*ScalingGroup) GetObservation

func (tr *ScalingGroup) GetObservation() (map[string]interface{}, error)

GetObservation of this ScalingGroup

func (*ScalingGroup) GetParameters

func (tr *ScalingGroup) GetParameters() (map[string]interface{}, error)

GetParameters of this ScalingGroup

func (*ScalingGroup) GetProviderConfigReference

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

GetProviderConfigReference of this ScalingGroup.

func (*ScalingGroup) GetProviderReference

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

GetProviderReference of this ScalingGroup. Deprecated: Use GetProviderConfigReference.

func (*ScalingGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ScalingGroup.

func (*ScalingGroup) GetTerraformResourceType

func (mg *ScalingGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ScalingGroup

func (*ScalingGroup) GetTerraformSchemaVersion

func (tr *ScalingGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ScalingGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ScalingGroup.

func (*ScalingGroup) LateInitialize

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

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

func (*ScalingGroup) ResolveReferences

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

ResolveReferences of this ScalingGroup.

func (*ScalingGroup) SetConditions

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

SetConditions of this ScalingGroup.

func (*ScalingGroup) SetDeletionPolicy

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

SetDeletionPolicy of this ScalingGroup.

func (*ScalingGroup) SetObservation

func (tr *ScalingGroup) SetObservation(obs map[string]interface{}) error

SetObservation for this ScalingGroup

func (*ScalingGroup) SetParameters

func (tr *ScalingGroup) SetParameters(params map[string]interface{}) error

SetParameters for this ScalingGroup

func (*ScalingGroup) SetProviderConfigReference

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

SetProviderConfigReference of this ScalingGroup.

func (*ScalingGroup) SetProviderReference

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

SetProviderReference of this ScalingGroup. Deprecated: Use SetProviderConfigReference.

func (*ScalingGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ScalingGroup.

func (*ScalingGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ScalingGroup.

type ScalingGroupList

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

ScalingGroupList contains a list of ScalingGroups

func (*ScalingGroupList) DeepCopy

func (in *ScalingGroupList) DeepCopy() *ScalingGroupList

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

func (*ScalingGroupList) DeepCopyInto

func (in *ScalingGroupList) DeepCopyInto(out *ScalingGroupList)

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

func (*ScalingGroupList) DeepCopyObject

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

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

func (*ScalingGroupList) GetItems

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

GetItems of this ScalingGroupList.

type ScalingGroupObservation

type ScalingGroupObservation struct {
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

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

	InstanceCount *float64 `json:"instanceCount,omitempty" tf:"instance_count,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ScalingGroupObservation) DeepCopy

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

func (*ScalingGroupObservation) DeepCopyInto

func (in *ScalingGroupObservation) DeepCopyInto(out *ScalingGroupObservation)

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

type ScalingGroupParameters

type ScalingGroupParameters struct {

	// An available ID for a launch configuration.
	// +crossplane:generate:reference:type=ScalingConfig
	// +kubebuilder:validation:Optional
	ConfigurationID *string `json:"configurationId,omitempty" tf:"configuration_id,omitempty"`

	// +kubebuilder:validation:Optional
	ConfigurationIDRef *v1.Reference `json:"configurationIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ConfigurationIDSelector *v1.Selector `json:"configurationIdSelector,omitempty" tf:"-"`

	// Default cooldown time in second, and default value is `300`.
	// +kubebuilder:validation:Optional
	DefaultCooldown *float64 `json:"defaultCooldown,omitempty" tf:"default_cooldown,omitempty"`

	// Desired volume of CVM instances, which is between `max_size` and `min_size`.
	// +kubebuilder:validation:Optional
	DesiredCapacity *float64 `json:"desiredCapacity,omitempty" tf:"desired_capacity,omitempty"`

	// List of application load balancers, which can't be specified with `load_balancer_ids` together.
	// +kubebuilder:validation:Optional
	ForwardBalancerIds []ForwardBalancerIdsParameters `json:"forwardBalancerIds,omitempty" tf:"forward_balancer_ids,omitempty"`

	// ID list of traditional load balancers.
	// +kubebuilder:validation:Optional
	LoadBalancerIds []*string `json:"loadBalancerIds,omitempty" tf:"load_balancer_ids,omitempty"`

	// Maximum number of CVM instances. Valid value ranges: (0~2000).
	// +kubebuilder:validation:Required
	MaxSize *float64 `json:"maxSize" tf:"max_size,omitempty"`

	// Minimum number of CVM instances. Valid value ranges: (0~2000).
	// +kubebuilder:validation:Required
	MinSize *float64 `json:"minSize" tf:"min_size,omitempty"`

	// Multi zone or subnet strategy, Valid values: PRIORITY and EQUALITY.
	// +kubebuilder:validation:Optional
	MultiZoneSubnetPolicy *string `json:"multiZoneSubnetPolicy,omitempty" tf:"multi_zone_subnet_policy,omitempty"`

	// Specifies to which project the scaling group belongs.
	// +kubebuilder:validation:Optional
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Enable unhealthy instance replacement. If set to `true`, AS will replace instances that are found unhealthy in the CLB health check.
	// +kubebuilder:validation:Optional
	ReplaceLoadBalancerUnhealthy *bool `json:"replaceLoadBalancerUnhealthy,omitempty" tf:"replace_load_balancer_unhealthy,omitempty"`

	// Enables unhealthy instance replacement. If set to `true`, AS will replace instances that are flagged as unhealthy by Cloud Monitor.
	// +kubebuilder:validation:Optional
	ReplaceMonitorUnhealthy *bool `json:"replaceMonitorUnhealthy,omitempty" tf:"replace_monitor_unhealthy,omitempty"`

	// Available values for retry policies. Valid values: IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
	// +kubebuilder:validation:Optional
	RetryPolicy *string `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"`

	// Name of a scaling group.
	// +kubebuilder:validation:Required
	ScalingGroupName *string `json:"scalingGroupName" tf:"scaling_group_name,omitempty"`

	// Indicates scaling mode which creates and terminates instances (classic method), or method first tries to start stopped instances (wake up stopped) to perform scaling operations. Available values: `CLASSIC_SCALING`, `WAKE_UP_STOPPED_SCALING`. Default: `CLASSIC_SCALING`.
	// +kubebuilder:validation:Optional
	ScalingMode *string `json:"scalingMode,omitempty" tf:"scaling_mode,omitempty"`

	// ID list of subnet, and for VPC it is required.
	// +kubebuilder:validation:Optional
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// Tags of a scaling group.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Available values for termination policies. Valid values: OLDEST_INSTANCE and NEWEST_INSTANCE.
	// +kubebuilder:validation:Optional
	TerminationPolicies []*string `json:"terminationPolicies,omitempty" tf:"termination_policies,omitempty"`

	// ID of VPC network.
	// +kubebuilder:validation:Required
	VPCID *string `json:"vpcId" tf:"vpc_id,omitempty"`

	// List of available zones, for Basic network it is required.
	// +kubebuilder:validation:Optional
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*ScalingGroupParameters) DeepCopy

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

func (*ScalingGroupParameters) DeepCopyInto

func (in *ScalingGroupParameters) DeepCopyInto(out *ScalingGroupParameters)

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

type ScalingGroupSpec

type ScalingGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScalingGroupParameters `json:"forProvider"`
}

ScalingGroupSpec defines the desired state of ScalingGroup

func (*ScalingGroupSpec) DeepCopy

func (in *ScalingGroupSpec) DeepCopy() *ScalingGroupSpec

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

func (*ScalingGroupSpec) DeepCopyInto

func (in *ScalingGroupSpec) DeepCopyInto(out *ScalingGroupSpec)

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

type ScalingGroupStatus

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

ScalingGroupStatus defines the observed state of ScalingGroup.

func (*ScalingGroupStatus) DeepCopy

func (in *ScalingGroupStatus) DeepCopy() *ScalingGroupStatus

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

func (*ScalingGroupStatus) DeepCopyInto

func (in *ScalingGroupStatus) DeepCopyInto(out *ScalingGroupStatus)

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

type ScalingPolicy

type ScalingPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScalingPolicySpec   `json:"spec"`
	Status            ScalingPolicyStatus `json:"status,omitempty"`
}

ScalingPolicy is the Schema for the ScalingPolicys API +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,tencentcloudjet}

func (*ScalingPolicy) DeepCopy

func (in *ScalingPolicy) DeepCopy() *ScalingPolicy

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

func (*ScalingPolicy) DeepCopyInto

func (in *ScalingPolicy) DeepCopyInto(out *ScalingPolicy)

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

func (*ScalingPolicy) DeepCopyObject

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

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

func (*ScalingPolicy) GetCondition

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

GetCondition of this ScalingPolicy.

func (*ScalingPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ScalingPolicy

func (*ScalingPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this ScalingPolicy.

func (*ScalingPolicy) GetID

func (tr *ScalingPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this ScalingPolicy

func (*ScalingPolicy) GetObservation

func (tr *ScalingPolicy) GetObservation() (map[string]interface{}, error)

GetObservation of this ScalingPolicy

func (*ScalingPolicy) GetParameters

func (tr *ScalingPolicy) GetParameters() (map[string]interface{}, error)

GetParameters of this ScalingPolicy

func (*ScalingPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this ScalingPolicy.

func (*ScalingPolicy) GetProviderReference

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

GetProviderReference of this ScalingPolicy. Deprecated: Use GetProviderConfigReference.

func (*ScalingPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ScalingPolicy.

func (*ScalingPolicy) GetTerraformResourceType

func (mg *ScalingPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ScalingPolicy

func (*ScalingPolicy) GetTerraformSchemaVersion

func (tr *ScalingPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ScalingPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ScalingPolicy.

func (*ScalingPolicy) LateInitialize

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

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

func (*ScalingPolicy) ResolveReferences

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

ResolveReferences of this ScalingPolicy.

func (*ScalingPolicy) SetConditions

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

SetConditions of this ScalingPolicy.

func (*ScalingPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this ScalingPolicy.

func (*ScalingPolicy) SetObservation

func (tr *ScalingPolicy) SetObservation(obs map[string]interface{}) error

SetObservation for this ScalingPolicy

func (*ScalingPolicy) SetParameters

func (tr *ScalingPolicy) SetParameters(params map[string]interface{}) error

SetParameters for this ScalingPolicy

func (*ScalingPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this ScalingPolicy.

func (*ScalingPolicy) SetProviderReference

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

SetProviderReference of this ScalingPolicy. Deprecated: Use SetProviderConfigReference.

func (*ScalingPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ScalingPolicy.

func (*ScalingPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ScalingPolicy.

type ScalingPolicyList

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

ScalingPolicyList contains a list of ScalingPolicys

func (*ScalingPolicyList) DeepCopy

func (in *ScalingPolicyList) DeepCopy() *ScalingPolicyList

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

func (*ScalingPolicyList) DeepCopyInto

func (in *ScalingPolicyList) DeepCopyInto(out *ScalingPolicyList)

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

func (*ScalingPolicyList) DeepCopyObject

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

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

func (*ScalingPolicyList) GetItems

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

GetItems of this ScalingPolicyList.

type ScalingPolicyObservation

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

func (*ScalingPolicyObservation) DeepCopy

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

func (*ScalingPolicyObservation) DeepCopyInto

func (in *ScalingPolicyObservation) DeepCopyInto(out *ScalingPolicyObservation)

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

type ScalingPolicyParameters

type ScalingPolicyParameters struct {

	// Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values: `CHANGE_IN_CAPACITY`, `EXACT_CAPACITY` and `PERCENT_CHANGE_IN_CAPACITY`.
	// +kubebuilder:validation:Required
	AdjustmentType *string `json:"adjustmentType" tf:"adjustment_type,omitempty"`

	// Define the number of instances by which to scale.For `CHANGE_IN_CAPACITY` type or PERCENT_CHANGE_IN_CAPACITY, a positive increment adds to the current capacity and a negative value removes from the current capacity. For `EXACT_CAPACITY` type, it defines an absolute number of the existing Auto Scaling group size.
	// +kubebuilder:validation:Required
	AdjustmentValue *float64 `json:"adjustmentValue" tf:"adjustment_value,omitempty"`

	// Comparison operator. Valid values: `GREATER_THAN`, `GREATER_THAN_OR_EQUAL_TO`, `LESS_THAN`, `LESS_THAN_OR_EQUAL_TO`, `EQUAL_TO` and `NOT_EQUAL_TO`.
	// +kubebuilder:validation:Required
	ComparisonOperator *string `json:"comparisonOperator" tf:"comparison_operator,omitempty"`

	// Retry times. Valid value ranges: (1~10).
	// +kubebuilder:validation:Required
	ContinuousTime *float64 `json:"continuousTime" tf:"continuous_time,omitempty"`

	// Cooldwon time in second. Default is `30`0.
	// +kubebuilder:validation:Optional
	Cooldown *float64 `json:"cooldown,omitempty" tf:"cooldown,omitempty"`

	// Name of an indicator. Valid values: `CPU_UTILIZATION`, `MEM_UTILIZATION`, `LAN_TRAFFIC_OUT`, `LAN_TRAFFIC_IN`, `WAN_TRAFFIC_OUT` and `WAN_TRAFFIC_IN`.
	// +kubebuilder:validation:Required
	MetricName *string `json:"metricName" tf:"metric_name,omitempty"`

	// An ID group of users to be notified when an alarm is triggered.
	// +kubebuilder:validation:Optional
	NotificationUserGroupIds []*string `json:"notificationUserGroupIds,omitempty" tf:"notification_user_group_ids,omitempty"`

	// Time period in second. Valid values: `60` and `300`.
	// +kubebuilder:validation:Required
	Period *float64 `json:"period" tf:"period,omitempty"`

	// Name of a policy used to define a reaction when an alarm is triggered.
	// +kubebuilder:validation:Required
	PolicyName *string `json:"policyName" tf:"policy_name,omitempty"`

	// ID of a scaling group.
	// +crossplane:generate:reference:type=ScalingGroup
	// +kubebuilder:validation:Optional
	ScalingGroupID *string `json:"scalingGroupId,omitempty" tf:"scaling_group_id,omitempty"`

	// +kubebuilder:validation:Optional
	ScalingGroupIDRef *v1.Reference `json:"scalingGroupIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ScalingGroupIDSelector *v1.Selector `json:"scalingGroupIdSelector,omitempty" tf:"-"`

	// Statistic types. Valid values: `AVERAGE`, `MAXIMUM` and `MINIMUM`. Default is `AVERAGE`.
	// +kubebuilder:validation:Optional
	Statistic *string `json:"statistic,omitempty" tf:"statistic,omitempty"`

	// Alarm threshold.
	// +kubebuilder:validation:Required
	Threshold *float64 `json:"threshold" tf:"threshold,omitempty"`
}

func (*ScalingPolicyParameters) DeepCopy

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

func (*ScalingPolicyParameters) DeepCopyInto

func (in *ScalingPolicyParameters) DeepCopyInto(out *ScalingPolicyParameters)

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

type ScalingPolicySpec

type ScalingPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScalingPolicyParameters `json:"forProvider"`
}

ScalingPolicySpec defines the desired state of ScalingPolicy

func (*ScalingPolicySpec) DeepCopy

func (in *ScalingPolicySpec) DeepCopy() *ScalingPolicySpec

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

func (*ScalingPolicySpec) DeepCopyInto

func (in *ScalingPolicySpec) DeepCopyInto(out *ScalingPolicySpec)

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

type ScalingPolicyStatus

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

ScalingPolicyStatus defines the observed state of ScalingPolicy.

func (*ScalingPolicyStatus) DeepCopy

func (in *ScalingPolicyStatus) DeepCopy() *ScalingPolicyStatus

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

func (*ScalingPolicyStatus) DeepCopyInto

func (in *ScalingPolicyStatus) DeepCopyInto(out *ScalingPolicyStatus)

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

type Schedule

type Schedule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScheduleSpec   `json:"spec"`
	Status            ScheduleStatus `json:"status,omitempty"`
}

Schedule is the Schema for the Schedules API +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,tencentcloudjet}

func (*Schedule) DeepCopy

func (in *Schedule) DeepCopy() *Schedule

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

func (*Schedule) DeepCopyInto

func (in *Schedule) DeepCopyInto(out *Schedule)

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

func (*Schedule) DeepCopyObject

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

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

func (*Schedule) GetCondition

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

GetCondition of this Schedule.

func (*Schedule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Schedule

func (*Schedule) GetDeletionPolicy

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

GetDeletionPolicy of this Schedule.

func (*Schedule) GetID

func (tr *Schedule) GetID() string

GetID returns ID of underlying Terraform resource of this Schedule

func (*Schedule) GetObservation

func (tr *Schedule) GetObservation() (map[string]interface{}, error)

GetObservation of this Schedule

func (*Schedule) GetParameters

func (tr *Schedule) GetParameters() (map[string]interface{}, error)

GetParameters of this Schedule

func (*Schedule) GetProviderConfigReference

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

GetProviderConfigReference of this Schedule.

func (*Schedule) GetProviderReference

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

GetProviderReference of this Schedule. Deprecated: Use GetProviderConfigReference.

func (*Schedule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Schedule.

func (*Schedule) GetTerraformResourceType

func (mg *Schedule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Schedule

func (*Schedule) GetTerraformSchemaVersion

func (tr *Schedule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Schedule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Schedule.

func (*Schedule) LateInitialize

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

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

func (*Schedule) ResolveReferences

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

ResolveReferences of this Schedule.

func (*Schedule) SetConditions

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

SetConditions of this Schedule.

func (*Schedule) SetDeletionPolicy

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

SetDeletionPolicy of this Schedule.

func (*Schedule) SetObservation

func (tr *Schedule) SetObservation(obs map[string]interface{}) error

SetObservation for this Schedule

func (*Schedule) SetParameters

func (tr *Schedule) SetParameters(params map[string]interface{}) error

SetParameters for this Schedule

func (*Schedule) SetProviderConfigReference

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

SetProviderConfigReference of this Schedule.

func (*Schedule) SetProviderReference

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

SetProviderReference of this Schedule. Deprecated: Use SetProviderConfigReference.

func (*Schedule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Schedule.

func (*Schedule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Schedule.

type ScheduleList

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

ScheduleList contains a list of Schedules

func (*ScheduleList) DeepCopy

func (in *ScheduleList) DeepCopy() *ScheduleList

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

func (*ScheduleList) DeepCopyInto

func (in *ScheduleList) DeepCopyInto(out *ScheduleList)

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

func (*ScheduleList) DeepCopyObject

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

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

func (*ScheduleList) GetItems

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

GetItems of this ScheduleList.

type ScheduleObservation

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

func (*ScheduleObservation) DeepCopy

func (in *ScheduleObservation) DeepCopy() *ScheduleObservation

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

func (*ScheduleObservation) DeepCopyInto

func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation)

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

type ScheduleParameters

type ScheduleParameters struct {

	// The desired number of CVM instances that should be running in the group.
	// +kubebuilder:validation:Required
	DesiredCapacity *float64 `json:"desiredCapacity" tf:"desired_capacity,omitempty"`

	// The time for this action to end, in "YYYY-MM-DDThh:mm:ss+08:00" format (UTC+8).
	// +kubebuilder:validation:Optional
	EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"`

	// The maximum size for the Auto Scaling group.
	// +kubebuilder:validation:Required
	MaxSize *float64 `json:"maxSize" tf:"max_size,omitempty"`

	// The minimum size for the Auto Scaling group.
	// +kubebuilder:validation:Required
	MinSize *float64 `json:"minSize" tf:"min_size,omitempty"`

	// The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. And this argument should be set with end_time together.
	// +kubebuilder:validation:Optional
	Recurrence *string `json:"recurrence,omitempty" tf:"recurrence,omitempty"`

	// ID of a scaling group.
	// +crossplane:generate:reference:type=ScalingGroup
	// +kubebuilder:validation:Optional
	ScalingGroupID *string `json:"scalingGroupId,omitempty" tf:"scaling_group_id,omitempty"`

	// +kubebuilder:validation:Optional
	ScalingGroupIDRef *v1.Reference `json:"scalingGroupIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ScalingGroupIDSelector *v1.Selector `json:"scalingGroupIdSelector,omitempty" tf:"-"`

	// The name of this scaling action.
	// +kubebuilder:validation:Required
	ScheduleActionName *string `json:"scheduleActionName" tf:"schedule_action_name,omitempty"`

	// The time for this action to start, in "YYYY-MM-DDThh:mm:ss+08:00" format (UTC+8).
	// +kubebuilder:validation:Required
	StartTime *string `json:"startTime" tf:"start_time,omitempty"`
}

func (*ScheduleParameters) DeepCopy

func (in *ScheduleParameters) DeepCopy() *ScheduleParameters

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

func (*ScheduleParameters) DeepCopyInto

func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters)

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

type ScheduleSpec

type ScheduleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScheduleParameters `json:"forProvider"`
}

ScheduleSpec defines the desired state of Schedule

func (*ScheduleSpec) DeepCopy

func (in *ScheduleSpec) DeepCopy() *ScheduleSpec

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

func (*ScheduleSpec) DeepCopyInto

func (in *ScheduleSpec) DeepCopyInto(out *ScheduleSpec)

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

type ScheduleStatus

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

ScheduleStatus defines the observed state of Schedule.

func (*ScheduleStatus) DeepCopy

func (in *ScheduleStatus) DeepCopy() *ScheduleStatus

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

func (*ScheduleStatus) DeepCopyInto

func (in *ScheduleStatus) DeepCopyInto(out *ScheduleStatus)

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

type TargetAttributeObservation

type TargetAttributeObservation struct {
}

func (*TargetAttributeObservation) DeepCopy

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

func (*TargetAttributeObservation) DeepCopyInto

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

type TargetAttributeParameters

type TargetAttributeParameters struct {

	// Port number.
	// +kubebuilder:validation:Required
	Port *float64 `json:"port" tf:"port,omitempty"`

	// Weight.
	// +kubebuilder:validation:Required
	Weight *float64 `json:"weight" tf:"weight,omitempty"`
}

func (*TargetAttributeParameters) DeepCopy

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

func (*TargetAttributeParameters) DeepCopyInto

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