v1alpha1

package
v0.8.2 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	AddonAttachment_Kind             = "AddonAttachment"
	AddonAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AddonAttachment_Kind}.String()
	AddonAttachment_KindAPIVersion   = AddonAttachment_Kind + "." + CRDGroupVersion.String()
	AddonAttachment_GroupVersionKind = CRDGroupVersion.WithKind(AddonAttachment_Kind)
)

Repository type metadata.

View Source
var (
	AuthAttachment_Kind             = "AuthAttachment"
	AuthAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AuthAttachment_Kind}.String()
	AuthAttachment_KindAPIVersion   = AuthAttachment_Kind + "." + CRDGroupVersion.String()
	AuthAttachment_GroupVersionKind = CRDGroupVersion.WithKind(AuthAttachment_Kind)
)

Repository type metadata.

View Source
var (
	Cluster_Kind             = "Cluster"
	Cluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String()
	Cluster_KindAPIVersion   = Cluster_Kind + "." + CRDGroupVersion.String()
	Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind)
)

Repository type metadata.

View Source
var (
	ClusterAttachment_Kind             = "ClusterAttachment"
	ClusterAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClusterAttachment_Kind}.String()
	ClusterAttachment_KindAPIVersion   = ClusterAttachment_Kind + "." + CRDGroupVersion.String()
	ClusterAttachment_GroupVersionKind = CRDGroupVersion.WithKind(ClusterAttachment_Kind)
)

Repository type metadata.

View Source
var (
	ClusterEndpoint_Kind             = "ClusterEndpoint"
	ClusterEndpoint_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClusterEndpoint_Kind}.String()
	ClusterEndpoint_KindAPIVersion   = ClusterEndpoint_Kind + "." + CRDGroupVersion.String()
	ClusterEndpoint_GroupVersionKind = CRDGroupVersion.WithKind(ClusterEndpoint_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 (
	NodePool_Kind             = "NodePool"
	NodePool_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NodePool_Kind}.String()
	NodePool_KindAPIVersion   = NodePool_Kind + "." + CRDGroupVersion.String()
	NodePool_GroupVersionKind = CRDGroupVersion.WithKind(NodePool_Kind)
)

Repository type metadata.

View Source
var (
	ScaleWorker_Kind             = "ScaleWorker"
	ScaleWorker_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ScaleWorker_Kind}.String()
	ScaleWorker_KindAPIVersion   = ScaleWorker_Kind + "." + CRDGroupVersion.String()
	ScaleWorker_GroupVersionKind = CRDGroupVersion.WithKind(ScaleWorker_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AddonAttachment

type AddonAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   AddonAttachmentSpec   `json:"spec"`
	Status AddonAttachmentStatus `json:"status,omitempty"`
}

AddonAttachment is the Schema for the AddonAttachments API. Provide a resource to configure kubernetes cluster app addons. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*AddonAttachment) DeepCopy

func (in *AddonAttachment) DeepCopy() *AddonAttachment

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

func (*AddonAttachment) DeepCopyInto

func (in *AddonAttachment) DeepCopyInto(out *AddonAttachment)

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

func (*AddonAttachment) DeepCopyObject

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

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

func (*AddonAttachment) GetCondition

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

GetCondition of this AddonAttachment.

func (*AddonAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AddonAttachment

func (*AddonAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this AddonAttachment.

func (*AddonAttachment) GetID

func (tr *AddonAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this AddonAttachment

func (*AddonAttachment) GetInitParameters added in v0.8.0

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

GetInitParameters of this AddonAttachment

func (*AddonAttachment) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this AddonAttachment.

func (*AddonAttachment) GetMergedParameters added in v0.8.1

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

GetInitParameters of this AddonAttachment

func (*AddonAttachment) GetObservation

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

GetObservation of this AddonAttachment

func (*AddonAttachment) GetParameters

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

GetParameters of this AddonAttachment

func (*AddonAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this AddonAttachment.

func (*AddonAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AddonAttachment.

func (*AddonAttachment) GetTerraformResourceType

func (mg *AddonAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AddonAttachment

func (*AddonAttachment) GetTerraformSchemaVersion

func (tr *AddonAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AddonAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AddonAttachment.

func (*AddonAttachment) Hub added in v0.8.1

func (tr *AddonAttachment) Hub()

Hub marks this type as a conversion hub.

func (*AddonAttachment) LateInitialize

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

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

func (*AddonAttachment) ResolveReferences

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

ResolveReferences of this AddonAttachment.

func (*AddonAttachment) SetConditions

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

SetConditions of this AddonAttachment.

func (*AddonAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this AddonAttachment.

func (*AddonAttachment) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this AddonAttachment.

func (*AddonAttachment) SetObservation

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

SetObservation for this AddonAttachment

func (*AddonAttachment) SetParameters

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

SetParameters for this AddonAttachment

func (*AddonAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this AddonAttachment.

func (*AddonAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AddonAttachment.

func (*AddonAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AddonAttachment.

type AddonAttachmentInitParameters added in v0.8.0

type AddonAttachmentInitParameters struct {

	// ID of cluster.
	// ID of cluster.
	// +crossplane:generate:reference:type=Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

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

	// Raw Values. Conflict with request_body. Required with raw_values_type.
	// Raw Values. Conflict with `request_body`. Required with `raw_values_type`.
	RawValues *string `json:"rawValues,omitempty" tf:"raw_values,omitempty"`

	// The type of raw Values. Required with raw_values.
	// The type of raw Values. Required with `raw_values`.
	RawValuesType *string `json:"rawValuesType,omitempty" tf:"raw_values_type,omitempty"`

	// Serialized json string as request body of addon spec. If set, will ignore version and values.
	// Serialized json string as request body of addon spec. If set, will ignore `version` and `values`.
	RequestBody *string `json:"requestBody,omitempty" tf:"request_body,omitempty"`

	// Values the addon passthroughs. Conflict with request_body.
	// Values the addon passthroughs. Conflict with `request_body`.
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`

	// Addon version, default latest version. Conflict with request_body.
	// Addon version, default latest version. Conflict with `request_body`.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*AddonAttachmentInitParameters) DeepCopy added in v0.8.0

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

func (*AddonAttachmentInitParameters) DeepCopyInto added in v0.8.0

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

type AddonAttachmentList

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

AddonAttachmentList contains a list of AddonAttachments

func (*AddonAttachmentList) DeepCopy

func (in *AddonAttachmentList) DeepCopy() *AddonAttachmentList

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

func (*AddonAttachmentList) DeepCopyInto

func (in *AddonAttachmentList) DeepCopyInto(out *AddonAttachmentList)

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

func (*AddonAttachmentList) DeepCopyObject

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

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

func (*AddonAttachmentList) GetItems

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

GetItems of this AddonAttachmentList.

type AddonAttachmentObservation

type AddonAttachmentObservation struct {

	// ID of cluster.
	// ID of cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

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

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

	// Raw Values. Conflict with request_body. Required with raw_values_type.
	// Raw Values. Conflict with `request_body`. Required with `raw_values_type`.
	RawValues *string `json:"rawValues,omitempty" tf:"raw_values,omitempty"`

	// The type of raw Values. Required with raw_values.
	// The type of raw Values. Required with `raw_values`.
	RawValuesType *string `json:"rawValuesType,omitempty" tf:"raw_values_type,omitempty"`

	// Serialized json string as request body of addon spec. If set, will ignore version and values.
	// Serialized json string as request body of addon spec. If set, will ignore `version` and `values`.
	RequestBody *string `json:"requestBody,omitempty" tf:"request_body,omitempty"`

	// Addon response body.
	// Addon response body.
	ResponseBody *string `json:"responseBody,omitempty" tf:"response_body,omitempty"`

	// Addon current status.
	// Addon current status.
	// +mapType=granular
	Status map[string]*string `json:"status,omitempty" tf:"status,omitempty"`

	// Values the addon passthroughs. Conflict with request_body.
	// Values the addon passthroughs. Conflict with `request_body`.
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`

	// Addon version, default latest version. Conflict with request_body.
	// Addon version, default latest version. Conflict with `request_body`.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*AddonAttachmentObservation) DeepCopy

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

func (*AddonAttachmentObservation) DeepCopyInto

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

type AddonAttachmentParameters

type AddonAttachmentParameters struct {

	// ID of cluster.
	// ID of cluster.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

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

	// Raw Values. Conflict with request_body. Required with raw_values_type.
	// Raw Values. Conflict with `request_body`. Required with `raw_values_type`.
	// +kubebuilder:validation:Optional
	RawValues *string `json:"rawValues,omitempty" tf:"raw_values,omitempty"`

	// The type of raw Values. Required with raw_values.
	// The type of raw Values. Required with `raw_values`.
	// +kubebuilder:validation:Optional
	RawValuesType *string `json:"rawValuesType,omitempty" tf:"raw_values_type,omitempty"`

	// Serialized json string as request body of addon spec. If set, will ignore version and values.
	// Serialized json string as request body of addon spec. If set, will ignore `version` and `values`.
	// +kubebuilder:validation:Optional
	RequestBody *string `json:"requestBody,omitempty" tf:"request_body,omitempty"`

	// Values the addon passthroughs. Conflict with request_body.
	// Values the addon passthroughs. Conflict with `request_body`.
	// +kubebuilder:validation:Optional
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`

	// Addon version, default latest version. Conflict with request_body.
	// Addon version, default latest version. Conflict with `request_body`.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*AddonAttachmentParameters) DeepCopy

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

func (*AddonAttachmentParameters) DeepCopyInto

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

type AddonAttachmentSpec

type AddonAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AddonAttachmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AddonAttachmentInitParameters `json:"initProvider,omitempty"`
}

AddonAttachmentSpec defines the desired state of AddonAttachment

func (*AddonAttachmentSpec) DeepCopy

func (in *AddonAttachmentSpec) DeepCopy() *AddonAttachmentSpec

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

func (*AddonAttachmentSpec) DeepCopyInto

func (in *AddonAttachmentSpec) DeepCopyInto(out *AddonAttachmentSpec)

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

type AddonAttachmentStatus

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

AddonAttachmentStatus defines the observed state of AddonAttachment.

func (*AddonAttachmentStatus) DeepCopy

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

func (*AddonAttachmentStatus) DeepCopyInto

func (in *AddonAttachmentStatus) DeepCopyInto(out *AddonAttachmentStatus)

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

type AuthAttachment

type AuthAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AuthAttachmentSpec   `json:"spec"`
	Status            AuthAttachmentStatus `json:"status,omitempty"`
}

AuthAttachment is the Schema for the AuthAttachments API. Provide a resource to configure kubernetes cluster authentication info. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*AuthAttachment) DeepCopy

func (in *AuthAttachment) DeepCopy() *AuthAttachment

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

func (*AuthAttachment) DeepCopyInto

func (in *AuthAttachment) DeepCopyInto(out *AuthAttachment)

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

func (*AuthAttachment) DeepCopyObject

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

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

func (*AuthAttachment) GetCondition

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

GetCondition of this AuthAttachment.

func (*AuthAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AuthAttachment

func (*AuthAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this AuthAttachment.

func (*AuthAttachment) GetID

func (tr *AuthAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this AuthAttachment

func (*AuthAttachment) GetInitParameters added in v0.8.0

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

GetInitParameters of this AuthAttachment

func (*AuthAttachment) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this AuthAttachment.

func (*AuthAttachment) GetMergedParameters added in v0.8.1

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

GetInitParameters of this AuthAttachment

func (*AuthAttachment) GetObservation

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

GetObservation of this AuthAttachment

func (*AuthAttachment) GetParameters

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

GetParameters of this AuthAttachment

func (*AuthAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this AuthAttachment.

func (*AuthAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AuthAttachment.

func (*AuthAttachment) GetTerraformResourceType

func (mg *AuthAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AuthAttachment

func (*AuthAttachment) GetTerraformSchemaVersion

func (tr *AuthAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AuthAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AuthAttachment.

func (*AuthAttachment) Hub added in v0.8.1

func (tr *AuthAttachment) Hub()

Hub marks this type as a conversion hub.

func (*AuthAttachment) LateInitialize

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

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

func (*AuthAttachment) ResolveReferences

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

ResolveReferences of this AuthAttachment.

func (*AuthAttachment) SetConditions

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

SetConditions of this AuthAttachment.

func (*AuthAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this AuthAttachment.

func (*AuthAttachment) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this AuthAttachment.

func (*AuthAttachment) SetObservation

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

SetObservation for this AuthAttachment

func (*AuthAttachment) SetParameters

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

SetParameters for this AuthAttachment

func (*AuthAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this AuthAttachment.

func (*AuthAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AuthAttachment.

func (*AuthAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AuthAttachment.

type AuthAttachmentInitParameters added in v0.8.0

type AuthAttachmentInitParameters struct {

	// Creating ClientId of the identity provider.
	// Creating ClientId of the identity provider.
	// +listType=set
	AutoCreateClientID []*string `json:"autoCreateClientId,omitempty" tf:"auto_create_client_id,omitempty"`

	// If set to true, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	AutoCreateDiscoveryAnonymousAuth *bool `json:"autoCreateDiscoveryAnonymousAuth,omitempty" tf:"auto_create_discovery_anonymous_auth,omitempty"`

	// Creating an identity provider.
	// Creating an identity provider.
	AutoCreateOidcConfig *bool `json:"autoCreateOidcConfig,omitempty" tf:"auto_create_oidc_config,omitempty"`

	// Creating the PodIdentityWebhook component. if auto_create_oidc_config is true, this field must set true.
	// Creating the PodIdentityWebhook component. if `auto_create_oidc_config` is true, this field must set true.
	AutoInstallPodIdentityWebhookAddon *bool `json:"autoInstallPodIdentityWebhookAddon,omitempty" tf:"auto_install_pod_identity_webhook_addon,omitempty"`

	// ID of clusters.
	// ID of clusters.
	// +crossplane:generate:reference:type=Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// Specify service-account-issuer. If use_tke_default is set to true, please do not set this field.
	// Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field.
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// Specify service-account-jwks-uri. If use_tke_default is set to true, please do not set this field.
	// Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field.
	JwksURI *string `json:"jwksUri,omitempty" tf:"jwks_uri,omitempty"`

	// If set to true, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri.
	// If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri.
	UseTkeDefault *bool `json:"useTkeDefault,omitempty" tf:"use_tke_default,omitempty"`
}

func (*AuthAttachmentInitParameters) DeepCopy added in v0.8.0

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

func (*AuthAttachmentInitParameters) DeepCopyInto added in v0.8.0

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

type AuthAttachmentList

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

AuthAttachmentList contains a list of AuthAttachments

func (*AuthAttachmentList) DeepCopy

func (in *AuthAttachmentList) DeepCopy() *AuthAttachmentList

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

func (*AuthAttachmentList) DeepCopyInto

func (in *AuthAttachmentList) DeepCopyInto(out *AuthAttachmentList)

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

func (*AuthAttachmentList) DeepCopyObject

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

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

func (*AuthAttachmentList) GetItems

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

GetItems of this AuthAttachmentList.

type AuthAttachmentObservation

type AuthAttachmentObservation struct {

	// Creating ClientId of the identity provider.
	// Creating ClientId of the identity provider.
	// +listType=set
	AutoCreateClientID []*string `json:"autoCreateClientId,omitempty" tf:"auto_create_client_id,omitempty"`

	// If set to true, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	AutoCreateDiscoveryAnonymousAuth *bool `json:"autoCreateDiscoveryAnonymousAuth,omitempty" tf:"auto_create_discovery_anonymous_auth,omitempty"`

	// Creating an identity provider.
	// Creating an identity provider.
	AutoCreateOidcConfig *bool `json:"autoCreateOidcConfig,omitempty" tf:"auto_create_oidc_config,omitempty"`

	// Creating the PodIdentityWebhook component. if auto_create_oidc_config is true, this field must set true.
	// Creating the PodIdentityWebhook component. if `auto_create_oidc_config` is true, this field must set true.
	AutoInstallPodIdentityWebhookAddon *bool `json:"autoInstallPodIdentityWebhookAddon,omitempty" tf:"auto_install_pod_identity_webhook_addon,omitempty"`

	// ID of clusters.
	// ID of clusters.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

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

	// Specify service-account-issuer. If use_tke_default is set to true, please do not set this field.
	// Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field.
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// Specify service-account-jwks-uri. If use_tke_default is set to true, please do not set this field.
	// Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field.
	JwksURI *string `json:"jwksUri,omitempty" tf:"jwks_uri,omitempty"`

	// The default issuer of tke. If use_tke_default is set to true, this parameter will be set to the default value.
	// The default issuer of tke. If use_tke_default is set to `true`, this parameter will be set to the default value.
	TkeDefaultIssuer *string `json:"tkeDefaultIssuer,omitempty" tf:"tke_default_issuer,omitempty"`

	// The default jwks_uri of tke. If use_tke_default is set to true, this parameter will be set to the default value.
	// The default jwks_uri of tke. If use_tke_default is set to `true`, this parameter will be set to the default value.
	TkeDefaultJwksURI *string `json:"tkeDefaultJwksUri,omitempty" tf:"tke_default_jwks_uri,omitempty"`

	// If set to true, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri.
	// If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri.
	UseTkeDefault *bool `json:"useTkeDefault,omitempty" tf:"use_tke_default,omitempty"`
}

func (*AuthAttachmentObservation) DeepCopy

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

func (*AuthAttachmentObservation) DeepCopyInto

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

type AuthAttachmentParameters

type AuthAttachmentParameters struct {

	// Creating ClientId of the identity provider.
	// Creating ClientId of the identity provider.
	// +kubebuilder:validation:Optional
	// +listType=set
	AutoCreateClientID []*string `json:"autoCreateClientId,omitempty" tf:"auto_create_client_id,omitempty"`

	// If set to true, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	// +kubebuilder:validation:Optional
	AutoCreateDiscoveryAnonymousAuth *bool `json:"autoCreateDiscoveryAnonymousAuth,omitempty" tf:"auto_create_discovery_anonymous_auth,omitempty"`

	// Creating an identity provider.
	// Creating an identity provider.
	// +kubebuilder:validation:Optional
	AutoCreateOidcConfig *bool `json:"autoCreateOidcConfig,omitempty" tf:"auto_create_oidc_config,omitempty"`

	// Creating the PodIdentityWebhook component. if auto_create_oidc_config is true, this field must set true.
	// Creating the PodIdentityWebhook component. if `auto_create_oidc_config` is true, this field must set true.
	// +kubebuilder:validation:Optional
	AutoInstallPodIdentityWebhookAddon *bool `json:"autoInstallPodIdentityWebhookAddon,omitempty" tf:"auto_install_pod_identity_webhook_addon,omitempty"`

	// ID of clusters.
	// ID of clusters.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// Specify service-account-issuer. If use_tke_default is set to true, please do not set this field.
	// Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field.
	// +kubebuilder:validation:Optional
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// Specify service-account-jwks-uri. If use_tke_default is set to true, please do not set this field.
	// Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field.
	// +kubebuilder:validation:Optional
	JwksURI *string `json:"jwksUri,omitempty" tf:"jwks_uri,omitempty"`

	// If set to true, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri.
	// If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri.
	// +kubebuilder:validation:Optional
	UseTkeDefault *bool `json:"useTkeDefault,omitempty" tf:"use_tke_default,omitempty"`
}

func (*AuthAttachmentParameters) DeepCopy

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

func (*AuthAttachmentParameters) DeepCopyInto

func (in *AuthAttachmentParameters) DeepCopyInto(out *AuthAttachmentParameters)

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

type AuthAttachmentSpec

type AuthAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AuthAttachmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AuthAttachmentInitParameters `json:"initProvider,omitempty"`
}

AuthAttachmentSpec defines the desired state of AuthAttachment

func (*AuthAttachmentSpec) DeepCopy

func (in *AuthAttachmentSpec) DeepCopy() *AuthAttachmentSpec

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

func (*AuthAttachmentSpec) DeepCopyInto

func (in *AuthAttachmentSpec) DeepCopyInto(out *AuthAttachmentSpec)

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

type AuthAttachmentStatus

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

AuthAttachmentStatus defines the observed state of AuthAttachment.

func (*AuthAttachmentStatus) DeepCopy

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

func (*AuthAttachmentStatus) DeepCopyInto

func (in *AuthAttachmentStatus) DeepCopyInto(out *AuthAttachmentStatus)

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

type AuthOptionsInitParameters added in v0.8.0

type AuthOptionsInitParameters struct {

	// If set to true, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	AutoCreateDiscoveryAnonymousAuth *bool `json:"autoCreateDiscoveryAnonymousAuth,omitempty" tf:"auto_create_discovery_anonymous_auth,omitempty"`

	// Specify service-account-issuer. If use_tke_default is set to true, please do not set this field, it will be ignored anyway.
	// Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// Specify service-account-jwks-uri. If use_tke_default is set to true, please do not set this field, it will be ignored anyway.
	// Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.
	JwksURI *string `json:"jwksUri,omitempty" tf:"jwks_uri,omitempty"`

	// If set to true, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.
	// If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.
	UseTkeDefault *bool `json:"useTkeDefault,omitempty" tf:"use_tke_default,omitempty"`
}

func (*AuthOptionsInitParameters) DeepCopy added in v0.8.0

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

func (*AuthOptionsInitParameters) DeepCopyInto added in v0.8.0

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

type AuthOptionsObservation

type AuthOptionsObservation struct {

	// If set to true, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	AutoCreateDiscoveryAnonymousAuth *bool `json:"autoCreateDiscoveryAnonymousAuth,omitempty" tf:"auto_create_discovery_anonymous_auth,omitempty"`

	// Specify service-account-issuer. If use_tke_default is set to true, please do not set this field, it will be ignored anyway.
	// Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// Specify service-account-jwks-uri. If use_tke_default is set to true, please do not set this field, it will be ignored anyway.
	// Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.
	JwksURI *string `json:"jwksUri,omitempty" tf:"jwks_uri,omitempty"`

	// If set to true, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.
	// If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.
	UseTkeDefault *bool `json:"useTkeDefault,omitempty" tf:"use_tke_default,omitempty"`
}

func (*AuthOptionsObservation) DeepCopy

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

func (*AuthOptionsObservation) DeepCopyInto

func (in *AuthOptionsObservation) DeepCopyInto(out *AuthOptionsObservation)

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

type AuthOptionsParameters

type AuthOptionsParameters struct {

	// If set to true, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	// +kubebuilder:validation:Optional
	AutoCreateDiscoveryAnonymousAuth *bool `json:"autoCreateDiscoveryAnonymousAuth,omitempty" tf:"auto_create_discovery_anonymous_auth,omitempty"`

	// Specify service-account-issuer. If use_tke_default is set to true, please do not set this field, it will be ignored anyway.
	// Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.
	// +kubebuilder:validation:Optional
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// Specify service-account-jwks-uri. If use_tke_default is set to true, please do not set this field, it will be ignored anyway.
	// Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.
	// +kubebuilder:validation:Optional
	JwksURI *string `json:"jwksUri,omitempty" tf:"jwks_uri,omitempty"`

	// If set to true, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.
	// If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.
	// +kubebuilder:validation:Optional
	UseTkeDefault *bool `json:"useTkeDefault,omitempty" tf:"use_tke_default,omitempty"`
}

func (*AuthOptionsParameters) DeepCopy

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

func (*AuthOptionsParameters) DeepCopyInto

func (in *AuthOptionsParameters) DeepCopyInto(out *AuthOptionsParameters)

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

type AutoScalingConfigDataDiskInitParameters added in v0.8.0

type AutoScalingConfigDataDiskInitParameters struct {

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

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role QcloudKMSAccessForCVMRole was provided.
	// Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role `QcloudKMSAccessForCVMRole` was provided.
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// Data disk snapshot ID.
	// Data disk snapshot ID.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD and data_size > 460GB.
	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `data_size` > 460GB.
	ThroughputPerformance *float64 `json:"throughputPerformance,omitempty" tf:"throughput_performance,omitempty"`
}

func (*AutoScalingConfigDataDiskInitParameters) DeepCopy added in v0.8.0

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

func (*AutoScalingConfigDataDiskInitParameters) DeepCopyInto added in v0.8.0

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

type AutoScalingConfigDataDiskObservation

type AutoScalingConfigDataDiskObservation struct {

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

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role QcloudKMSAccessForCVMRole was provided.
	// Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role `QcloudKMSAccessForCVMRole` was provided.
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// Data disk snapshot ID.
	// Data disk snapshot ID.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD and data_size > 460GB.
	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `data_size` > 460GB.
	ThroughputPerformance *float64 `json:"throughputPerformance,omitempty" tf:"throughput_performance,omitempty"`
}

func (*AutoScalingConfigDataDiskObservation) DeepCopy

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

func (*AutoScalingConfigDataDiskObservation) DeepCopyInto

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

type AutoScalingConfigDataDiskParameters

type AutoScalingConfigDataDiskParameters struct {

	// Indicates whether the disk remove after instance terminated. Default is false.
	// 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.
	// Volume of disk in GB. Default is `0`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role QcloudKMSAccessForCVMRole was provided.
	// Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role `QcloudKMSAccessForCVMRole` was provided.
	// +kubebuilder:validation:Optional
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

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

	// Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD and data_size > 460GB.
	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `data_size` > 460GB.
	// +kubebuilder:validation:Optional
	ThroughputPerformance *float64 `json:"throughputPerformance,omitempty" tf:"throughput_performance,omitempty"`
}

func (*AutoScalingConfigDataDiskParameters) DeepCopy

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

func (*AutoScalingConfigDataDiskParameters) DeepCopyInto

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

type AutoScalingConfigInitParameters added in v0.8.0

type AutoScalingConfigInitParameters struct {

	// Backup CVM instance types if specified instance type sold out or mismatch.
	// Backup CVM instance types if specified instance type sold out or mismatch.
	BackupInstanceTypes []*string `json:"backupInstanceTypes,omitempty" tf:"backup_instance_types,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

	// Name of cam role.
	// Name of cam role.
	CamRoleName *string `json:"camRoleName,omitempty" tf:"cam_role_name,omitempty"`

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []AutoScalingConfigDataDiskInitParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

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

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

	// The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
	// The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	HostName *string `json:"hostName,omitempty" tf:"host_name,omitempty"`

	// The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
	// The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	HostNameStyle *string `json:"hostNameStyle,omitempty" tf:"host_name_style,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.
	// 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.
	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.
	// 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`.
	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.
	// 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`.
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Instance name, no more than 60 characters. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
	// Instance name, no more than 60 characters. For usage, refer to `InstanceNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

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

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

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

	// Ordered security groups to which a CVM instance belongs.
	// Ordered security groups to which a CVM instance belongs.
	OrderlySecurityGroupIds []*string `json:"orderlySecurityGroupIds,omitempty" tf:"orderly_security_group_ids,omitempty"`

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

	// The order of elements in this field cannot be guaranteed. Use orderly_security_group_ids instead. Security groups to which a CVM instance belongs.
	// Security groups to which a CVM instance belongs.
	// +listType=set
	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.
	// Type of spot instance, only support `one-time` now. Note: it only works when instance_charge_type is set to `SPOTPAID`.
	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.
	// 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`.
	SpotMaxPrice *string `json:"spotMaxPrice,omitempty" tf:"spot_max_price,omitempty"`

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

	// Type of a CVM disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD. Default is CLOUD_PREMIUM.
	// Type of a CVM disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`. Default is `CLOUD_PREMIUM`.
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`
}

func (*AutoScalingConfigInitParameters) DeepCopy added in v0.8.0

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

func (*AutoScalingConfigInitParameters) DeepCopyInto added in v0.8.0

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

type AutoScalingConfigObservation

type AutoScalingConfigObservation struct {

	// Backup CVM instance types if specified instance type sold out or mismatch.
	// Backup CVM instance types if specified instance type sold out or mismatch.
	BackupInstanceTypes []*string `json:"backupInstanceTypes,omitempty" tf:"backup_instance_types,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

	// Name of cam role.
	// Name of cam role.
	CamRoleName *string `json:"camRoleName,omitempty" tf:"cam_role_name,omitempty"`

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []AutoScalingConfigDataDiskObservation `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

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

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

	// The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
	// The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	HostName *string `json:"hostName,omitempty" tf:"host_name,omitempty"`

	// The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
	// The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	HostNameStyle *string `json:"hostNameStyle,omitempty" tf:"host_name_style,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.
	// 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.
	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.
	// 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`.
	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.
	// 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`.
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Instance name, no more than 60 characters. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
	// Instance name, no more than 60 characters. For usage, refer to `InstanceNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

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

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

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

	// Ordered security groups to which a CVM instance belongs.
	// Ordered security groups to which a CVM instance belongs.
	OrderlySecurityGroupIds []*string `json:"orderlySecurityGroupIds,omitempty" tf:"orderly_security_group_ids,omitempty"`

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

	// The order of elements in this field cannot be guaranteed. Use orderly_security_group_ids instead. Security groups to which a CVM instance belongs.
	// Security groups to which a CVM instance belongs.
	// +listType=set
	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.
	// Type of spot instance, only support `one-time` now. Note: it only works when instance_charge_type is set to `SPOTPAID`.
	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.
	// 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`.
	SpotMaxPrice *string `json:"spotMaxPrice,omitempty" tf:"spot_max_price,omitempty"`

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

	// Type of a CVM disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD. Default is CLOUD_PREMIUM.
	// Type of a CVM disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`. Default is `CLOUD_PREMIUM`.
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`
}

func (*AutoScalingConfigObservation) DeepCopy

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

func (*AutoScalingConfigObservation) DeepCopyInto

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

type AutoScalingConfigParameters

type AutoScalingConfigParameters struct {

	// Backup CVM instance types if specified instance type sold out or mismatch.
	// Backup CVM instance types if specified instance type sold out or mismatch.
	// +kubebuilder:validation:Optional
	BackupInstanceTypes []*string `json:"backupInstanceTypes,omitempty" tf:"backup_instance_types,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// +kubebuilder:validation:Optional
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

	// Name of cam role.
	// Name of cam role.
	// +kubebuilder:validation:Optional
	CamRoleName *string `json:"camRoleName,omitempty" tf:"cam_role_name,omitempty"`

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

	// To specify whether to enable cloud monitor service. Default is TRUE.
	// 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.
	// To specify whether to enable cloud security service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedSecurityService *bool `json:"enhancedSecurityService,omitempty" tf:"enhanced_security_service,omitempty"`

	// The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
	// The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	// +kubebuilder:validation:Optional
	HostName *string `json:"hostName,omitempty" tf:"host_name,omitempty"`

	// The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
	// The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	// +kubebuilder:validation:Optional
	HostNameStyle *string `json:"hostNameStyle,omitempty" tf:"host_name_style,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.
	// 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.
	// 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.
	// 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"`

	// Instance name, no more than 60 characters. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
	// Instance name, no more than 60 characters. For usage, refer to `InstanceNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	// +kubebuilder:validation:Optional
	InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
	// Charge types for network traffic. Valid value: `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.
	// Max bandwidth of Internet access in Mbps. Default is `0`.
	// +kubebuilder:validation:Optional
	InternetMaxBandwidthOut *float64 `json:"internetMaxBandwidthOut,omitempty" tf:"internet_max_bandwidth_out,omitempty"`

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

	// Ordered security groups to which a CVM instance belongs.
	// Ordered security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	OrderlySecurityGroupIds []*string `json:"orderlySecurityGroupIds,omitempty" tf:"orderly_security_group_ids,omitempty"`

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

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

	// The order of elements in this field cannot be guaranteed. Use orderly_security_group_ids instead. Security groups to which a CVM instance belongs.
	// Security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	// +listType=set
	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.
	// 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.
	// 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.
	// 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 value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD. Default is CLOUD_PREMIUM.
	// Type of a CVM disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`. Default is `CLOUD_PREMIUM`.
	// +kubebuilder:validation:Optional
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`
}

func (*AutoScalingConfigParameters) DeepCopy

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

func (*AutoScalingConfigParameters) DeepCopyInto

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

type Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterSpec   `json:"spec"`
	Status            ClusterStatus `json:"status,omitempty"`
}

Cluster is the Schema for the Clusters API. Provide a resource to create a kubernetes cluster. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) GetCondition

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

GetCondition of this Cluster.

func (*Cluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Cluster

func (*Cluster) GetDeletionPolicy

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

GetDeletionPolicy of this Cluster.

func (*Cluster) GetID

func (tr *Cluster) GetID() string

GetID returns ID of underlying Terraform resource of this Cluster

func (*Cluster) GetInitParameters added in v0.8.0

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

GetInitParameters of this Cluster

func (*Cluster) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this Cluster.

func (*Cluster) GetMergedParameters added in v0.8.1

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

GetInitParameters of this Cluster

func (*Cluster) GetObservation

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

GetObservation of this Cluster

func (*Cluster) GetParameters

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

GetParameters of this Cluster

func (*Cluster) GetProviderConfigReference

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

GetProviderConfigReference of this Cluster.

func (*Cluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Cluster.

func (*Cluster) GetTerraformResourceType

func (mg *Cluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Cluster

func (*Cluster) GetTerraformSchemaVersion

func (tr *Cluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Cluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Cluster.

func (*Cluster) Hub added in v0.8.1

func (tr *Cluster) Hub()

Hub marks this type as a conversion hub.

func (*Cluster) LateInitialize

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

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

func (*Cluster) ResolveReferences

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

ResolveReferences of this Cluster.

func (*Cluster) SetConditions

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

SetConditions of this Cluster.

func (*Cluster) SetDeletionPolicy

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

SetDeletionPolicy of this Cluster.

func (*Cluster) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this Cluster.

func (*Cluster) SetObservation

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

SetObservation for this Cluster

func (*Cluster) SetParameters

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

SetParameters for this Cluster

func (*Cluster) SetProviderConfigReference

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

SetProviderConfigReference of this Cluster.

func (*Cluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Cluster.

func (*Cluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Cluster.

type ClusterAttachment

type ClusterAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterAttachmentSpec   `json:"spec"`
	Status            ClusterAttachmentStatus `json:"status,omitempty"`
}

ClusterAttachment is the Schema for the ClusterAttachments API. Provide a resource to attach an existing cvm to kubernetes cluster. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*ClusterAttachment) DeepCopy

func (in *ClusterAttachment) DeepCopy() *ClusterAttachment

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

func (*ClusterAttachment) DeepCopyInto

func (in *ClusterAttachment) DeepCopyInto(out *ClusterAttachment)

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

func (*ClusterAttachment) DeepCopyObject

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

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

func (*ClusterAttachment) GetCondition

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

GetCondition of this ClusterAttachment.

func (*ClusterAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ClusterAttachment

func (*ClusterAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this ClusterAttachment.

func (*ClusterAttachment) GetID

func (tr *ClusterAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterAttachment

func (*ClusterAttachment) GetInitParameters added in v0.8.0

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

GetInitParameters of this ClusterAttachment

func (*ClusterAttachment) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this ClusterAttachment.

func (*ClusterAttachment) GetMergedParameters added in v0.8.1

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

GetInitParameters of this ClusterAttachment

func (*ClusterAttachment) GetObservation

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

GetObservation of this ClusterAttachment

func (*ClusterAttachment) GetParameters

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

GetParameters of this ClusterAttachment

func (*ClusterAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this ClusterAttachment.

func (*ClusterAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ClusterAttachment.

func (*ClusterAttachment) GetTerraformResourceType

func (mg *ClusterAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterAttachment

func (*ClusterAttachment) GetTerraformSchemaVersion

func (tr *ClusterAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ClusterAttachment.

func (*ClusterAttachment) Hub added in v0.8.1

func (tr *ClusterAttachment) Hub()

Hub marks this type as a conversion hub.

func (*ClusterAttachment) LateInitialize

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

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

func (*ClusterAttachment) ResolveReferences

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

ResolveReferences of this ClusterAttachment.

func (*ClusterAttachment) SetConditions

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

SetConditions of this ClusterAttachment.

func (*ClusterAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this ClusterAttachment.

func (*ClusterAttachment) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this ClusterAttachment.

func (*ClusterAttachment) SetObservation

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

SetObservation for this ClusterAttachment

func (*ClusterAttachment) SetParameters

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

SetParameters for this ClusterAttachment

func (*ClusterAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this ClusterAttachment.

func (*ClusterAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ClusterAttachment.

func (*ClusterAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ClusterAttachment.

type ClusterAttachmentInitParameters added in v0.8.0

type ClusterAttachmentInitParameters struct {

	// ID of the cluster.
	// ID of the cluster.
	// +crossplane:generate:reference:type=Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// ID of the CVM instance, this cvm will reinstall the system.
	// ID of the CVM instance, this cvm will reinstall the system.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/cvm/v1alpha1.Instance
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
	// The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set.
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

	// Labels of tke attachment exits CVM.
	// Labels of tke attachment exits CVM.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
	// Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
	WorkerConfig []ClusterAttachmentWorkerConfigInitParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`

	// Override variable worker_config, commonly used to attach existing instances.
	// Override variable worker_config, commonly used to attach existing instances.
	WorkerConfigOverrides []WorkerConfigOverridesInitParameters `json:"workerConfigOverrides,omitempty" tf:"worker_config_overrides,omitempty"`
}

func (*ClusterAttachmentInitParameters) DeepCopy added in v0.8.0

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

func (*ClusterAttachmentInitParameters) DeepCopyInto added in v0.8.0

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

type ClusterAttachmentList

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

ClusterAttachmentList contains a list of ClusterAttachments

func (*ClusterAttachmentList) DeepCopy

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

func (*ClusterAttachmentList) DeepCopyInto

func (in *ClusterAttachmentList) DeepCopyInto(out *ClusterAttachmentList)

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

func (*ClusterAttachmentList) DeepCopyObject

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

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

func (*ClusterAttachmentList) GetItems

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

GetItems of this ClusterAttachmentList.

type ClusterAttachmentObservation

type ClusterAttachmentObservation struct {

	// ID of the cluster.
	// ID of the cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

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

	// ID of the CVM instance, this cvm will reinstall the system.
	// ID of the CVM instance, this cvm will reinstall the system.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
	// The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set.
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

	// Labels of tke attachment exits CVM.
	// Labels of tke attachment exits CVM.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A list of security group IDs after attach to cluster.
	// A list of security group IDs after attach to cluster.
	// +listType=set
	SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`

	// State of the node.
	// State of the node.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
	// Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
	WorkerConfig []ClusterAttachmentWorkerConfigObservation `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`

	// Override variable worker_config, commonly used to attach existing instances.
	// Override variable worker_config, commonly used to attach existing instances.
	WorkerConfigOverrides []WorkerConfigOverridesObservation `json:"workerConfigOverrides,omitempty" tf:"worker_config_overrides,omitempty"`
}

func (*ClusterAttachmentObservation) DeepCopy

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

func (*ClusterAttachmentObservation) DeepCopyInto

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

type ClusterAttachmentParameters

type ClusterAttachmentParameters struct {

	// ID of the cluster.
	// ID of the cluster.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// ID of the CVM instance, this cvm will reinstall the system.
	// ID of the CVM instance, this cvm will reinstall the system.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/cvm/v1alpha1.Instance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
	// The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set.
	// +kubebuilder:validation:Optional
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

	// Labels of tke attachment exits CVM.
	// Labels of tke attachment exits CVM.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Password to access, should be set if key_ids not set.
	// Password to access, should be set if `key_ids` not set.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// +kubebuilder:validation:Optional
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
	// Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
	// +kubebuilder:validation:Optional
	WorkerConfig []ClusterAttachmentWorkerConfigParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`

	// Override variable worker_config, commonly used to attach existing instances.
	// Override variable worker_config, commonly used to attach existing instances.
	// +kubebuilder:validation:Optional
	WorkerConfigOverrides []WorkerConfigOverridesParameters `json:"workerConfigOverrides,omitempty" tf:"worker_config_overrides,omitempty"`
}

func (*ClusterAttachmentParameters) DeepCopy

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

func (*ClusterAttachmentParameters) DeepCopyInto

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

type ClusterAttachmentSpec

type ClusterAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterAttachmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClusterAttachmentInitParameters `json:"initProvider,omitempty"`
}

ClusterAttachmentSpec defines the desired state of ClusterAttachment

func (*ClusterAttachmentSpec) DeepCopy

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

func (*ClusterAttachmentSpec) DeepCopyInto

func (in *ClusterAttachmentSpec) DeepCopyInto(out *ClusterAttachmentSpec)

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

type ClusterAttachmentStatus

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

ClusterAttachmentStatus defines the observed state of ClusterAttachment.

func (*ClusterAttachmentStatus) DeepCopy

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

func (*ClusterAttachmentStatus) DeepCopyInto

func (in *ClusterAttachmentStatus) DeepCopyInto(out *ClusterAttachmentStatus)

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

type ClusterAttachmentWorkerConfigDataDiskInitParameters added in v0.8.0

type ClusterAttachmentWorkerConfigDataDiskInitParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*ClusterAttachmentWorkerConfigDataDiskInitParameters) DeepCopy added in v0.8.0

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

func (*ClusterAttachmentWorkerConfigDataDiskInitParameters) DeepCopyInto added in v0.8.0

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

type ClusterAttachmentWorkerConfigDataDiskObservation

type ClusterAttachmentWorkerConfigDataDiskObservation struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*ClusterAttachmentWorkerConfigDataDiskObservation) DeepCopy

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

func (*ClusterAttachmentWorkerConfigDataDiskObservation) DeepCopyInto

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

type ClusterAttachmentWorkerConfigDataDiskParameters

type ClusterAttachmentWorkerConfigDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*ClusterAttachmentWorkerConfigDataDiskParameters) DeepCopy

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

func (*ClusterAttachmentWorkerConfigDataDiskParameters) DeepCopyInto

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

type ClusterAttachmentWorkerConfigInitParameters added in v0.8.0

type ClusterAttachmentWorkerConfigInitParameters struct {

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []ClusterAttachmentWorkerConfigDataDiskInitParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	GpuArgs []GpuArgsInitParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target.
	// Mount target. Default is not mounting.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	PreStartUserScript *string `json:"preStartUserScript,omitempty" tf:"pre_start_user_script,omitempty"`

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

func (*ClusterAttachmentWorkerConfigInitParameters) DeepCopy added in v0.8.0

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

func (*ClusterAttachmentWorkerConfigInitParameters) DeepCopyInto added in v0.8.0

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

type ClusterAttachmentWorkerConfigObservation

type ClusterAttachmentWorkerConfigObservation struct {

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []ClusterAttachmentWorkerConfigDataDiskObservation `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	GpuArgs []GpuArgsObservation `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target.
	// Mount target. Default is not mounting.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	PreStartUserScript *string `json:"preStartUserScript,omitempty" tf:"pre_start_user_script,omitempty"`

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

func (*ClusterAttachmentWorkerConfigObservation) DeepCopy

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

func (*ClusterAttachmentWorkerConfigObservation) DeepCopyInto

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

type ClusterAttachmentWorkerConfigParameters

type ClusterAttachmentWorkerConfigParameters struct {

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

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// Custom parameter information related to the node. This is a white-list parameter.
	// +kubebuilder:validation:Optional
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	// +kubebuilder:validation:Optional
	GpuArgs []GpuArgsParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// Indicate to schedule the adding node or not. Default is true.
	// +kubebuilder:validation:Optional
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target.
	// Mount target. Default is not mounting.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// +kubebuilder:validation:Optional
	PreStartUserScript *string `json:"preStartUserScript,omitempty" tf:"pre_start_user_script,omitempty"`

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

func (*ClusterAttachmentWorkerConfigParameters) DeepCopy

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

func (*ClusterAttachmentWorkerConfigParameters) DeepCopyInto

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

type ClusterAuditInitParameters added in v0.8.0

type ClusterAuditInitParameters struct {

	// when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted.
	// when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted.
	DeleteAuditLogAndTopic *bool `json:"deleteAuditLogAndTopic,omitempty" tf:"delete_audit_log_and_topic,omitempty"`

	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	LogSetID *string `json:"logSetId,omitempty" tf:"log_set_id,omitempty"`

	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	TopicID *string `json:"topicId,omitempty" tf:"topic_id,omitempty"`
}

func (*ClusterAuditInitParameters) DeepCopy added in v0.8.0

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

func (*ClusterAuditInitParameters) DeepCopyInto added in v0.8.0

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

type ClusterAuditObservation

type ClusterAuditObservation struct {

	// when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted.
	// when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted.
	DeleteAuditLogAndTopic *bool `json:"deleteAuditLogAndTopic,omitempty" tf:"delete_audit_log_and_topic,omitempty"`

	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	LogSetID *string `json:"logSetId,omitempty" tf:"log_set_id,omitempty"`

	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	TopicID *string `json:"topicId,omitempty" tf:"topic_id,omitempty"`
}

func (*ClusterAuditObservation) DeepCopy

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

func (*ClusterAuditObservation) DeepCopyInto

func (in *ClusterAuditObservation) DeepCopyInto(out *ClusterAuditObservation)

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

type ClusterAuditParameters

type ClusterAuditParameters struct {

	// when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted.
	// when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted.
	// +kubebuilder:validation:Optional
	DeleteAuditLogAndTopic *bool `json:"deleteAuditLogAndTopic,omitempty" tf:"delete_audit_log_and_topic,omitempty"`

	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	// +kubebuilder:validation:Optional
	LogSetID *string `json:"logSetId,omitempty" tf:"log_set_id,omitempty"`

	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	// +kubebuilder:validation:Optional
	TopicID *string `json:"topicId,omitempty" tf:"topic_id,omitempty"`
}

func (*ClusterAuditParameters) DeepCopy

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

func (*ClusterAuditParameters) DeepCopyInto

func (in *ClusterAuditParameters) DeepCopyInto(out *ClusterAuditParameters)

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

type ClusterEndpoint

type ClusterEndpoint struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterEndpointSpec   `json:"spec"`
	Status            ClusterEndpointStatus `json:"status,omitempty"`
}

ClusterEndpoint is the Schema for the ClusterEndpoints API. Provide a resource to create a KubernetesClusterEndpoint. This resource allows you to create an empty cluster first without any workers. Only all attached node depends create complete, cluster endpoint will finally be enabled. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*ClusterEndpoint) DeepCopy

func (in *ClusterEndpoint) DeepCopy() *ClusterEndpoint

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

func (*ClusterEndpoint) DeepCopyInto

func (in *ClusterEndpoint) DeepCopyInto(out *ClusterEndpoint)

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

func (*ClusterEndpoint) DeepCopyObject

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

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

func (*ClusterEndpoint) GetCondition

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

GetCondition of this ClusterEndpoint.

func (*ClusterEndpoint) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ClusterEndpoint

func (*ClusterEndpoint) GetDeletionPolicy

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

GetDeletionPolicy of this ClusterEndpoint.

func (*ClusterEndpoint) GetID

func (tr *ClusterEndpoint) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterEndpoint

func (*ClusterEndpoint) GetInitParameters added in v0.8.0

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

GetInitParameters of this ClusterEndpoint

func (*ClusterEndpoint) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this ClusterEndpoint.

func (*ClusterEndpoint) GetMergedParameters added in v0.8.1

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

GetInitParameters of this ClusterEndpoint

func (*ClusterEndpoint) GetObservation

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

GetObservation of this ClusterEndpoint

func (*ClusterEndpoint) GetParameters

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

GetParameters of this ClusterEndpoint

func (*ClusterEndpoint) GetProviderConfigReference

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

GetProviderConfigReference of this ClusterEndpoint.

func (*ClusterEndpoint) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ClusterEndpoint.

func (*ClusterEndpoint) GetTerraformResourceType

func (mg *ClusterEndpoint) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterEndpoint

func (*ClusterEndpoint) GetTerraformSchemaVersion

func (tr *ClusterEndpoint) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterEndpoint) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ClusterEndpoint.

func (*ClusterEndpoint) Hub added in v0.8.1

func (tr *ClusterEndpoint) Hub()

Hub marks this type as a conversion hub.

func (*ClusterEndpoint) LateInitialize

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

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

func (*ClusterEndpoint) ResolveReferences

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

ResolveReferences of this ClusterEndpoint.

func (*ClusterEndpoint) SetConditions

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

SetConditions of this ClusterEndpoint.

func (*ClusterEndpoint) SetDeletionPolicy

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

SetDeletionPolicy of this ClusterEndpoint.

func (*ClusterEndpoint) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this ClusterEndpoint.

func (*ClusterEndpoint) SetObservation

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

SetObservation for this ClusterEndpoint

func (*ClusterEndpoint) SetParameters

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

SetParameters for this ClusterEndpoint

func (*ClusterEndpoint) SetProviderConfigReference

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

SetProviderConfigReference of this ClusterEndpoint.

func (*ClusterEndpoint) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ClusterEndpoint.

func (*ClusterEndpoint) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ClusterEndpoint.

type ClusterEndpointInitParameters added in v0.8.0

type ClusterEndpointInitParameters struct {

	// Specify cluster ID.
	// Specify cluster ID.
	// +crossplane:generate:reference:type=Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// Open internet access or not.
	// Open internet access or not.
	ClusterInternet *bool `json:"clusterInternet,omitempty" tf:"cluster_internet,omitempty"`

	// Domain name for cluster Kube-apiserver internet access.  Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver internet access.  Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	ClusterInternetDomain *string `json:"clusterInternetDomain,omitempty" tf:"cluster_internet_domain,omitempty"`

	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	ClusterInternetSecurityGroup *string `json:"clusterInternetSecurityGroup,omitempty" tf:"cluster_internet_security_group,omitempty"`

	// Open intranet access or not.
	// Open intranet access or not.
	ClusterIntranet *bool `json:"clusterIntranet,omitempty" tf:"cluster_intranet,omitempty"`

	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	ClusterIntranetDomain *string `json:"clusterIntranetDomain,omitempty" tf:"cluster_intranet_domain,omitempty"`

	// Subnet id who can access this independent cluster, this field must and can only set  when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
	// Subnet id who can access this independent cluster, this field must and can only set  when `cluster_intranet` is true. `cluster_intranet_subnet_id` can not modify once be set.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.Subnet
	ClusterIntranetSubnetID *string `json:"clusterIntranetSubnetId,omitempty" tf:"cluster_intranet_subnet_id,omitempty"`

	// Reference to a Subnet in vpc to populate clusterIntranetSubnetId.
	// +kubebuilder:validation:Optional
	ClusterIntranetSubnetIDRef *v1.Reference `json:"clusterIntranetSubnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in vpc to populate clusterIntranetSubnetId.
	// +kubebuilder:validation:Optional
	ClusterIntranetSubnetIDSelector *v1.Selector `json:"clusterIntranetSubnetIdSelector,omitempty" tf:"-"`

	// The LB parameter. Only used for public network access.
	// The LB parameter. Only used for public network access.
	ExtensiveParameters *string `json:"extensiveParameters,omitempty" tf:"extensive_parameters,omitempty"`

	// this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.
	// Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `cluster_deploy_type` is 'MANAGED_CLUSTER' and `cluster_internet` is true. `managed_cluster_internet_security_policies` can not delete or empty once be set.
	ManagedClusterInternetSecurityPolicies []*string `json:"managedClusterInternetSecurityPolicies,omitempty" tf:"managed_cluster_internet_security_policies,omitempty"`
}

func (*ClusterEndpointInitParameters) DeepCopy added in v0.8.0

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

func (*ClusterEndpointInitParameters) DeepCopyInto added in v0.8.0

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

type ClusterEndpointList

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

ClusterEndpointList contains a list of ClusterEndpoints

func (*ClusterEndpointList) DeepCopy

func (in *ClusterEndpointList) DeepCopy() *ClusterEndpointList

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

func (*ClusterEndpointList) DeepCopyInto

func (in *ClusterEndpointList) DeepCopyInto(out *ClusterEndpointList)

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

func (*ClusterEndpointList) DeepCopyObject

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

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

func (*ClusterEndpointList) GetItems

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

GetItems of this ClusterEndpointList.

type ClusterEndpointObservation

type ClusterEndpointObservation struct {

	// The certificate used for access.
	// The certificate used for access.
	CertificationAuthority *string `json:"certificationAuthority,omitempty" tf:"certification_authority,omitempty"`

	// Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
	// Cluster deploy type of `MANAGED_CLUSTER` or `INDEPENDENT_CLUSTER`.
	ClusterDeployType *string `json:"clusterDeployType,omitempty" tf:"cluster_deploy_type,omitempty"`

	// External network address to access.
	// External network address to access.
	ClusterExternalEndpoint *string `json:"clusterExternalEndpoint,omitempty" tf:"cluster_external_endpoint,omitempty"`

	// Specify cluster ID.
	// Specify cluster ID.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Open internet access or not.
	// Open internet access or not.
	ClusterInternet *bool `json:"clusterInternet,omitempty" tf:"cluster_internet,omitempty"`

	// Domain name for cluster Kube-apiserver internet access.  Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver internet access.  Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	ClusterInternetDomain *string `json:"clusterInternetDomain,omitempty" tf:"cluster_internet_domain,omitempty"`

	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	ClusterInternetSecurityGroup *string `json:"clusterInternetSecurityGroup,omitempty" tf:"cluster_internet_security_group,omitempty"`

	// Open intranet access or not.
	// Open intranet access or not.
	ClusterIntranet *bool `json:"clusterIntranet,omitempty" tf:"cluster_intranet,omitempty"`

	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	ClusterIntranetDomain *string `json:"clusterIntranetDomain,omitempty" tf:"cluster_intranet_domain,omitempty"`

	// Subnet id who can access this independent cluster, this field must and can only set  when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
	// Subnet id who can access this independent cluster, this field must and can only set  when `cluster_intranet` is true. `cluster_intranet_subnet_id` can not modify once be set.
	ClusterIntranetSubnetID *string `json:"clusterIntranetSubnetId,omitempty" tf:"cluster_intranet_subnet_id,omitempty"`

	// Domain name for access.
	// Domain name for access.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The LB parameter. Only used for public network access.
	// The LB parameter. Only used for public network access.
	ExtensiveParameters *string `json:"extensiveParameters,omitempty" tf:"extensive_parameters,omitempty"`

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

	// this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.
	// Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `cluster_deploy_type` is 'MANAGED_CLUSTER' and `cluster_internet` is true. `managed_cluster_internet_security_policies` can not delete or empty once be set.
	ManagedClusterInternetSecurityPolicies []*string `json:"managedClusterInternetSecurityPolicies,omitempty" tf:"managed_cluster_internet_security_policies,omitempty"`

	// The Intranet address used for access.
	// The Intranet address used for access.
	PgwEndpoint *string `json:"pgwEndpoint,omitempty" tf:"pgw_endpoint,omitempty"`

	// User name of account.
	// User name of account.
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*ClusterEndpointObservation) DeepCopy

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

func (*ClusterEndpointObservation) DeepCopyInto

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

type ClusterEndpointParameters

type ClusterEndpointParameters struct {

	// Specify cluster ID.
	// Specify cluster ID.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// Open internet access or not.
	// Open internet access or not.
	// +kubebuilder:validation:Optional
	ClusterInternet *bool `json:"clusterInternet,omitempty" tf:"cluster_internet,omitempty"`

	// Domain name for cluster Kube-apiserver internet access.  Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver internet access.  Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	// +kubebuilder:validation:Optional
	ClusterInternetDomain *string `json:"clusterInternetDomain,omitempty" tf:"cluster_internet_domain,omitempty"`

	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	// +kubebuilder:validation:Optional
	ClusterInternetSecurityGroup *string `json:"clusterInternetSecurityGroup,omitempty" tf:"cluster_internet_security_group,omitempty"`

	// Open intranet access or not.
	// Open intranet access or not.
	// +kubebuilder:validation:Optional
	ClusterIntranet *bool `json:"clusterIntranet,omitempty" tf:"cluster_intranet,omitempty"`

	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	// +kubebuilder:validation:Optional
	ClusterIntranetDomain *string `json:"clusterIntranetDomain,omitempty" tf:"cluster_intranet_domain,omitempty"`

	// Subnet id who can access this independent cluster, this field must and can only set  when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
	// Subnet id who can access this independent cluster, this field must and can only set  when `cluster_intranet` is true. `cluster_intranet_subnet_id` can not modify once be set.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	ClusterIntranetSubnetID *string `json:"clusterIntranetSubnetId,omitempty" tf:"cluster_intranet_subnet_id,omitempty"`

	// Reference to a Subnet in vpc to populate clusterIntranetSubnetId.
	// +kubebuilder:validation:Optional
	ClusterIntranetSubnetIDRef *v1.Reference `json:"clusterIntranetSubnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in vpc to populate clusterIntranetSubnetId.
	// +kubebuilder:validation:Optional
	ClusterIntranetSubnetIDSelector *v1.Selector `json:"clusterIntranetSubnetIdSelector,omitempty" tf:"-"`

	// The LB parameter. Only used for public network access.
	// The LB parameter. Only used for public network access.
	// +kubebuilder:validation:Optional
	ExtensiveParameters *string `json:"extensiveParameters,omitempty" tf:"extensive_parameters,omitempty"`

	// this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.
	// Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `cluster_deploy_type` is 'MANAGED_CLUSTER' and `cluster_internet` is true. `managed_cluster_internet_security_policies` can not delete or empty once be set.
	// +kubebuilder:validation:Optional
	ManagedClusterInternetSecurityPolicies []*string `json:"managedClusterInternetSecurityPolicies,omitempty" tf:"managed_cluster_internet_security_policies,omitempty"`
}

func (*ClusterEndpointParameters) DeepCopy

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

func (*ClusterEndpointParameters) DeepCopyInto

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

type ClusterEndpointSpec

type ClusterEndpointSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterEndpointParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClusterEndpointInitParameters `json:"initProvider,omitempty"`
}

ClusterEndpointSpec defines the desired state of ClusterEndpoint

func (*ClusterEndpointSpec) DeepCopy

func (in *ClusterEndpointSpec) DeepCopy() *ClusterEndpointSpec

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

func (*ClusterEndpointSpec) DeepCopyInto

func (in *ClusterEndpointSpec) DeepCopyInto(out *ClusterEndpointSpec)

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

type ClusterEndpointStatus

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

ClusterEndpointStatus defines the observed state of ClusterEndpoint.

func (*ClusterEndpointStatus) DeepCopy

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

func (*ClusterEndpointStatus) DeepCopyInto

func (in *ClusterEndpointStatus) DeepCopyInto(out *ClusterEndpointStatus)

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

type ClusterExtraArgsInitParameters added in v0.8.0

type ClusterExtraArgsInitParameters struct {

	// The customized parameters for kube-apiserver.
	// The customized parameters for kube-apiserver.
	KubeApiserver []*string `json:"kubeApiserver,omitempty" tf:"kube_apiserver,omitempty"`

	// The customized parameters for kube-controller-manager.
	// The customized parameters for kube-controller-manager.
	KubeControllerManager []*string `json:"kubeControllerManager,omitempty" tf:"kube_controller_manager,omitempty"`

	// The customized parameters for kube-scheduler.
	// The customized parameters for kube-scheduler.
	KubeScheduler []*string `json:"kubeScheduler,omitempty" tf:"kube_scheduler,omitempty"`
}

func (*ClusterExtraArgsInitParameters) DeepCopy added in v0.8.0

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

func (*ClusterExtraArgsInitParameters) DeepCopyInto added in v0.8.0

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

type ClusterExtraArgsObservation

type ClusterExtraArgsObservation struct {

	// The customized parameters for kube-apiserver.
	// The customized parameters for kube-apiserver.
	KubeApiserver []*string `json:"kubeApiserver,omitempty" tf:"kube_apiserver,omitempty"`

	// The customized parameters for kube-controller-manager.
	// The customized parameters for kube-controller-manager.
	KubeControllerManager []*string `json:"kubeControllerManager,omitempty" tf:"kube_controller_manager,omitempty"`

	// The customized parameters for kube-scheduler.
	// The customized parameters for kube-scheduler.
	KubeScheduler []*string `json:"kubeScheduler,omitempty" tf:"kube_scheduler,omitempty"`
}

func (*ClusterExtraArgsObservation) DeepCopy

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

func (*ClusterExtraArgsObservation) DeepCopyInto

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

type ClusterExtraArgsParameters

type ClusterExtraArgsParameters struct {

	// The customized parameters for kube-apiserver.
	// The customized parameters for kube-apiserver.
	// +kubebuilder:validation:Optional
	KubeApiserver []*string `json:"kubeApiserver,omitempty" tf:"kube_apiserver,omitempty"`

	// The customized parameters for kube-controller-manager.
	// The customized parameters for kube-controller-manager.
	// +kubebuilder:validation:Optional
	KubeControllerManager []*string `json:"kubeControllerManager,omitempty" tf:"kube_controller_manager,omitempty"`

	// The customized parameters for kube-scheduler.
	// The customized parameters for kube-scheduler.
	// +kubebuilder:validation:Optional
	KubeScheduler []*string `json:"kubeScheduler,omitempty" tf:"kube_scheduler,omitempty"`
}

func (*ClusterExtraArgsParameters) DeepCopy

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

func (*ClusterExtraArgsParameters) DeepCopyInto

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

type ClusterInitParameters added in v0.8.0

type ClusterInitParameters struct {

	// If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to false after acquired.
	// If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired.
	AcquireClusterAdminRole *bool `json:"acquireClusterAdminRole,omitempty" tf:"acquire_cluster_admin_role,omitempty"`

	// Specify cluster authentication configuration. Only available for managed cluster and cluster_version >= 1.20.
	// Specify cluster authentication configuration. Only available for managed cluster and `cluster_version` >= 1.20.
	AuthOptions []AuthOptionsInitParameters `json:"authOptions,omitempty" tf:"auth_options,omitempty"`

	// Whether the cluster level auto upgraded, valid for managed cluster.
	// Whether the cluster level auto upgraded, valid for managed cluster.
	AutoUpgradeClusterLevel *bool `json:"autoUpgradeClusterLevel,omitempty" tf:"auto_upgrade_cluster_level,omitempty"`

	// The number of basic pods. valid when enable_customized_pod_cidr=true.
	// The number of basic pods. valid when enable_customized_pod_cidr=true.
	BasePodNum *float64 `json:"basePodNum,omitempty" tf:"base_pod_num,omitempty"`

	// Claim expired seconds to recycle ENI. This field can only set when field network_type is 'VPC-CNI'. claim_expired_seconds must greater or equal than 300 and less than 15768000.
	// Claim expired seconds to recycle ENI. This field can only set when field `network_type` is 'VPC-CNI'. `claim_expired_seconds` must greater or equal than 300 and less than 15768000.
	ClaimExpiredSeconds *float64 `json:"claimExpiredSeconds,omitempty" tf:"claim_expired_seconds,omitempty"`

	// Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	// Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	ClusterAudit []ClusterAuditInitParameters `json:"clusterAudit,omitempty" tf:"cluster_audit,omitempty"`

	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	ClusterCidr *string `json:"clusterCidr,omitempty" tf:"cluster_cidr,omitempty"`

	// Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
	// Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
	ClusterDeployType *string `json:"clusterDeployType,omitempty" tf:"cluster_deploy_type,omitempty"`

	// Description of the cluster.
	// Description of the cluster.
	ClusterDesc *string `json:"clusterDesc,omitempty" tf:"cluster_desc,omitempty"`

	// Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
	// Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
	ClusterExtraArgs []ClusterExtraArgsInitParameters `json:"clusterExtraArgs,omitempty" tf:"cluster_extra_args,omitempty"`

	// Open internet access or not. If this field is set 'true', the field below worker_config must be set. Because only cluster with node is allowed enable access endpoint. You may open it through tencentcloud_kubernetes_cluster_endpoint.
	// Open internet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint. You may open it through `tencentcloud_kubernetes_cluster_endpoint`.
	ClusterInternet *bool `json:"clusterInternet,omitempty" tf:"cluster_internet,omitempty"`

	// Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	ClusterInternetDomain *string `json:"clusterInternetDomain,omitempty" tf:"cluster_internet_domain,omitempty"`

	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	ClusterInternetSecurityGroup *string `json:"clusterInternetSecurityGroup,omitempty" tf:"cluster_internet_security_group,omitempty"`

	// Open intranet access or not. If this field is set 'true', the field below worker_config must be set. Because only cluster with node is allowed enable access endpoint. You may open it through tencentcloud_kubernetes_cluster_endpoint.
	// Open intranet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint. You may open it through `tencentcloud_kubernetes_cluster_endpoint`.
	ClusterIntranet *bool `json:"clusterIntranet,omitempty" tf:"cluster_intranet,omitempty"`

	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	ClusterIntranetDomain *string `json:"clusterIntranetDomain,omitempty" tf:"cluster_intranet_domain,omitempty"`

	// Subnet id who can access this independent cluster, this field must and can only set  when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
	// Subnet id who can access this independent cluster, this field must and can only set  when `cluster_intranet` is true. `cluster_intranet_subnet_id` can not modify once be set.
	ClusterIntranetSubnetID *string `json:"clusterIntranetSubnetId,omitempty" tf:"cluster_intranet_subnet_id,omitempty"`

	// Indicates whether ipvs is enabled. Default is true. False means iptables is enabled.
	// Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.
	ClusterIpvs *bool `json:"clusterIpvs,omitempty" tf:"cluster_ipvs,omitempty"`

	// Specify cluster level, valid for managed cluster, use data source tencentcloud_kubernetes_cluster_levels to query available levels. Available value examples L5, L20, L50, L100, etc.
	// Specify cluster level, valid for managed cluster, use data source `tencentcloud_kubernetes_cluster_levels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc.
	ClusterLevel *string `json:"clusterLevel,omitempty" tf:"cluster_level,omitempty"`

	// The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
	// The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
	ClusterMaxPodNum *float64 `json:"clusterMaxPodNum,omitempty" tf:"cluster_max_pod_num,omitempty"`

	// The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
	// The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
	ClusterMaxServiceNum *float64 `json:"clusterMaxServiceNum,omitempty" tf:"cluster_max_service_num,omitempty"`

	// Name of the cluster.
	// Name of the cluster.
	ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"`

	// Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
	// Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
	ClusterOs *string `json:"clusterOs,omitempty" tf:"cluster_os,omitempty"`

	// Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
	// Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
	ClusterOsType *string `json:"clusterOsType,omitempty" tf:"cluster_os_type,omitempty"`

	// Subnet ID of the cluster, such as: subnet-b3p7d7q5.
	// Subnet ID of the cluster, such as: subnet-b3p7d7q5.
	ClusterSubnetID *string `json:"clusterSubnetId,omitempty" tf:"cluster_subnet_id,omitempty"`

	// Version of the cluster. Use tencentcloud_kubernetes_available_cluster_versions to get the upgradable cluster version.
	// Version of the cluster. Use `tencentcloud_kubernetes_available_cluster_versions` to get the upgradable cluster version.
	ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`

	// Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'.
	// Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'.
	ContainerRuntime *string `json:"containerRuntime,omitempty" tf:"container_runtime,omitempty"`

	// Indicates whether cluster deletion protection is enabled. Default is false.
	// Indicates whether cluster deletion protection is enabled. Default is false.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Whether to enable the custom mode of node podCIDR size. Default is false.
	// Whether to enable the custom mode of node podCIDR size. Default is false.
	EnableCustomizedPodCidr *bool `json:"enableCustomizedPodCidr,omitempty" tf:"enable_customized_pod_cidr,omitempty"`

	// Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field network_type is 'VPC-CNI'. eni_subnet_ids can not empty once be set.
	// Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `network_type` is 'VPC-CNI'. `eni_subnet_ids` can not empty once be set.
	EniSubnetIds []*string `json:"eniSubnetIds,omitempty" tf:"eni_subnet_ids,omitempty"`

	// Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	// Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	EventPersistence []EventPersistenceInitParameters `json:"eventPersistence,omitempty" tf:"event_persistence,omitempty"`

	// create tke cluster by existed instances.
	// create tke cluster by existed instances.
	ExistInstance []ExistInstanceInitParameters `json:"existInstance,omitempty" tf:"exist_instance,omitempty"`

	// Information of the add-on to be installed.
	// Information of the add-on to be installed.
	ExtensionAddon []ExtensionAddonInitParameters `json:"extensionAddon,omitempty" tf:"extension_addon,omitempty"`

	// Custom parameter information related to the node.
	// Custom parameter information related to the node.
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
	GlobeDesiredPodNum *float64 `json:"globeDesiredPodNum,omitempty" tf:"globe_desired_pod_num,omitempty"`

	// Indicates whether to ignore the cluster cidr conflict error. Default is false.
	// Indicates whether to ignore the cluster cidr conflict error. Default is false.
	IgnoreClusterCidrConflict *bool `json:"ignoreClusterCidrConflict,omitempty" tf:"ignore_cluster_cidr_conflict,omitempty"`

	// Indicates whether non-static ip mode is enabled. Default is false.
	// Indicates whether non-static ip mode is enabled. Default is false.
	IsNonStaticIPMode *bool `json:"isNonStaticIpMode,omitempty" tf:"is_non_static_ip_mode,omitempty"`

	// Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
	// Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
	KubeProxyMode *string `json:"kubeProxyMode,omitempty" tf:"kube_proxy_mode,omitempty"`

	// Labels of tke cluster nodes.
	// Labels of tke cluster nodes.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Specify cluster log agent config.
	// Specify cluster log agent config.
	LogAgent []LogAgentInitParameters `json:"logAgent,omitempty" tf:"log_agent,omitempty"`

	// this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.
	// Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `cluster_deploy_type` is 'MANAGED_CLUSTER' and `cluster_internet` is true. `managed_cluster_internet_security_policies` can not delete or empty once be set.
	ManagedClusterInternetSecurityPolicies []*string `json:"managedClusterInternetSecurityPolicies,omitempty" tf:"managed_cluster_internet_security_policies,omitempty"`

	// Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
	// Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
	MasterConfig []MasterConfigInitParameters `json:"masterConfig,omitempty" tf:"master_config,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target. Default is not mounting.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Cluster network type, the available values include: 'GR' and 'VPC-CNI' and 'CiliumOverlay'. Default is GR.
	// Cluster network type, the available values include: 'GR' and 'VPC-CNI' and 'CiliumOverlay'. Default is GR.
	NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`

	// Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
	// Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
	NodeNameType *string `json:"nodeNameType,omitempty" tf:"node_name_type,omitempty"`

	// Global config effective for all node pools.
	// Global config effective for all node pools.
	NodePoolGlobalConfig []NodePoolGlobalConfigInitParameters `json:"nodePoolGlobalConfig,omitempty" tf:"node_pool_global_config,omitempty"`

	// Project ID, default value is 0.
	// Project ID, default value is 0.
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Container Runtime version.
	// Container Runtime version.
	RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"`

	// A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	// A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	ServiceCidr *string `json:"serviceCidr,omitempty" tf:"service_cidr,omitempty"`

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

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Indicates whether upgrade all instances when cluster_version change. Default is false.
	// Indicates whether upgrade all instances when cluster_version change. Default is false.
	UpgradeInstancesFollowCluster *bool `json:"upgradeInstancesFollowCluster,omitempty" tf:"upgrade_instances_follow_cluster,omitempty"`

	// Distinguish between shared network card multi-IP mode and independent network card mode. Fill in tke-route-eni for shared network card multi-IP mode and tke-direct-eni for independent network card mode. The default is shared network card mode. When it is necessary to turn off the vpc-cni container network capability, both eni_subnet_ids and vpc_cni_type must be set to empty.
	// Distinguish between shared network card multi-IP mode and independent network card mode. Fill in `tke-route-eni` for shared network card multi-IP mode and `tke-direct-eni` for independent network card mode. The default is shared network card mode. When it is necessary to turn off the vpc-cni container network capability, both `eni_subnet_ids` and `vpc_cni_type` must be set to empty.
	VPCCniType *string `json:"vpcCniType,omitempty" tf:"vpc_cni_type,omitempty"`

	// Vpc Id of the cluster.
	// Vpc Id of the cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC
	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:"-"`

	// Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
	// Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
	WorkerConfig []WorkerConfigInitParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`
}

func (*ClusterInitParameters) DeepCopy added in v0.8.0

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

func (*ClusterInitParameters) DeepCopyInto added in v0.8.0

func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters)

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

type ClusterList

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

ClusterList contains a list of Clusters

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

func (*ClusterList) GetItems

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

GetItems of this ClusterList.

type ClusterObservation

type ClusterObservation struct {

	// If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to false after acquired.
	// If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired.
	AcquireClusterAdminRole *bool `json:"acquireClusterAdminRole,omitempty" tf:"acquire_cluster_admin_role,omitempty"`

	// Specify cluster authentication configuration. Only available for managed cluster and cluster_version >= 1.20.
	// Specify cluster authentication configuration. Only available for managed cluster and `cluster_version` >= 1.20.
	AuthOptions []AuthOptionsObservation `json:"authOptions,omitempty" tf:"auth_options,omitempty"`

	// Whether the cluster level auto upgraded, valid for managed cluster.
	// Whether the cluster level auto upgraded, valid for managed cluster.
	AutoUpgradeClusterLevel *bool `json:"autoUpgradeClusterLevel,omitempty" tf:"auto_upgrade_cluster_level,omitempty"`

	// The number of basic pods. valid when enable_customized_pod_cidr=true.
	// The number of basic pods. valid when enable_customized_pod_cidr=true.
	BasePodNum *float64 `json:"basePodNum,omitempty" tf:"base_pod_num,omitempty"`

	// The certificate used for access.
	// The certificate used for access.
	CertificationAuthority *string `json:"certificationAuthority,omitempty" tf:"certification_authority,omitempty"`

	// Claim expired seconds to recycle ENI. This field can only set when field network_type is 'VPC-CNI'. claim_expired_seconds must greater or equal than 300 and less than 15768000.
	// Claim expired seconds to recycle ENI. This field can only set when field `network_type` is 'VPC-CNI'. `claim_expired_seconds` must greater or equal than 300 and less than 15768000.
	ClaimExpiredSeconds *float64 `json:"claimExpiredSeconds,omitempty" tf:"claim_expired_seconds,omitempty"`

	// (Deprecated) This argument is deprecated because the TKE auto-scaling group was no longer available. Indicates whether to enable cluster node auto scaling. Default is false.
	// Indicates whether to enable cluster node auto scaling. Default is false.
	ClusterAsEnabled *bool `json:"clusterAsEnabled,omitempty" tf:"cluster_as_enabled,omitempty"`

	// Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	// Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	ClusterAudit []ClusterAuditObservation `json:"clusterAudit,omitempty" tf:"cluster_audit,omitempty"`

	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	ClusterCidr *string `json:"clusterCidr,omitempty" tf:"cluster_cidr,omitempty"`

	// Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
	// Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
	ClusterDeployType *string `json:"clusterDeployType,omitempty" tf:"cluster_deploy_type,omitempty"`

	// Description of the cluster.
	// Description of the cluster.
	ClusterDesc *string `json:"clusterDesc,omitempty" tf:"cluster_desc,omitempty"`

	// External network address to access.
	// External network address to access.
	ClusterExternalEndpoint *string `json:"clusterExternalEndpoint,omitempty" tf:"cluster_external_endpoint,omitempty"`

	// Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
	// Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
	ClusterExtraArgs []ClusterExtraArgsObservation `json:"clusterExtraArgs,omitempty" tf:"cluster_extra_args,omitempty"`

	// Open internet access or not. If this field is set 'true', the field below worker_config must be set. Because only cluster with node is allowed enable access endpoint. You may open it through tencentcloud_kubernetes_cluster_endpoint.
	// Open internet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint. You may open it through `tencentcloud_kubernetes_cluster_endpoint`.
	ClusterInternet *bool `json:"clusterInternet,omitempty" tf:"cluster_internet,omitempty"`

	// Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	ClusterInternetDomain *string `json:"clusterInternetDomain,omitempty" tf:"cluster_internet_domain,omitempty"`

	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	ClusterInternetSecurityGroup *string `json:"clusterInternetSecurityGroup,omitempty" tf:"cluster_internet_security_group,omitempty"`

	// Open intranet access or not. If this field is set 'true', the field below worker_config must be set. Because only cluster with node is allowed enable access endpoint. You may open it through tencentcloud_kubernetes_cluster_endpoint.
	// Open intranet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint. You may open it through `tencentcloud_kubernetes_cluster_endpoint`.
	ClusterIntranet *bool `json:"clusterIntranet,omitempty" tf:"cluster_intranet,omitempty"`

	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	ClusterIntranetDomain *string `json:"clusterIntranetDomain,omitempty" tf:"cluster_intranet_domain,omitempty"`

	// Subnet id who can access this independent cluster, this field must and can only set  when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
	// Subnet id who can access this independent cluster, this field must and can only set  when `cluster_intranet` is true. `cluster_intranet_subnet_id` can not modify once be set.
	ClusterIntranetSubnetID *string `json:"clusterIntranetSubnetId,omitempty" tf:"cluster_intranet_subnet_id,omitempty"`

	// Indicates whether ipvs is enabled. Default is true. False means iptables is enabled.
	// Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.
	ClusterIpvs *bool `json:"clusterIpvs,omitempty" tf:"cluster_ipvs,omitempty"`

	// Specify cluster level, valid for managed cluster, use data source tencentcloud_kubernetes_cluster_levels to query available levels. Available value examples L5, L20, L50, L100, etc.
	// Specify cluster level, valid for managed cluster, use data source `tencentcloud_kubernetes_cluster_levels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc.
	ClusterLevel *string `json:"clusterLevel,omitempty" tf:"cluster_level,omitempty"`

	// The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
	// The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
	ClusterMaxPodNum *float64 `json:"clusterMaxPodNum,omitempty" tf:"cluster_max_pod_num,omitempty"`

	// The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
	// The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
	ClusterMaxServiceNum *float64 `json:"clusterMaxServiceNum,omitempty" tf:"cluster_max_service_num,omitempty"`

	// Name of the cluster.
	// Name of the cluster.
	ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"`

	// Number of nodes in the cluster.
	// Number of nodes in the cluster.
	ClusterNodeNum *float64 `json:"clusterNodeNum,omitempty" tf:"cluster_node_num,omitempty"`

	// Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
	// Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
	ClusterOs *string `json:"clusterOs,omitempty" tf:"cluster_os,omitempty"`

	// Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
	// Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
	ClusterOsType *string `json:"clusterOsType,omitempty" tf:"cluster_os_type,omitempty"`

	// Subnet ID of the cluster, such as: subnet-b3p7d7q5.
	// Subnet ID of the cluster, such as: subnet-b3p7d7q5.
	ClusterSubnetID *string `json:"clusterSubnetId,omitempty" tf:"cluster_subnet_id,omitempty"`

	// Version of the cluster. Use tencentcloud_kubernetes_available_cluster_versions to get the upgradable cluster version.
	// Version of the cluster. Use `tencentcloud_kubernetes_available_cluster_versions` to get the upgradable cluster version.
	ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`

	// Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'.
	// Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'.
	ContainerRuntime *string `json:"containerRuntime,omitempty" tf:"container_runtime,omitempty"`

	// Indicates whether cluster deletion protection is enabled. Default is false.
	// Indicates whether cluster deletion protection is enabled. Default is false.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Domain name for access.
	// Domain name for access.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// Whether to enable the custom mode of node podCIDR size. Default is false.
	// Whether to enable the custom mode of node podCIDR size. Default is false.
	EnableCustomizedPodCidr *bool `json:"enableCustomizedPodCidr,omitempty" tf:"enable_customized_pod_cidr,omitempty"`

	// Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field network_type is 'VPC-CNI'. eni_subnet_ids can not empty once be set.
	// Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `network_type` is 'VPC-CNI'. `eni_subnet_ids` can not empty once be set.
	EniSubnetIds []*string `json:"eniSubnetIds,omitempty" tf:"eni_subnet_ids,omitempty"`

	// Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	// Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	EventPersistence []EventPersistenceObservation `json:"eventPersistence,omitempty" tf:"event_persistence,omitempty"`

	// create tke cluster by existed instances.
	// create tke cluster by existed instances.
	ExistInstance []ExistInstanceObservation `json:"existInstance,omitempty" tf:"exist_instance,omitempty"`

	// Information of the add-on to be installed.
	// Information of the add-on to be installed.
	ExtensionAddon []ExtensionAddonObservation `json:"extensionAddon,omitempty" tf:"extension_addon,omitempty"`

	// Custom parameter information related to the node.
	// Custom parameter information related to the node.
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
	GlobeDesiredPodNum *float64 `json:"globeDesiredPodNum,omitempty" tf:"globe_desired_pod_num,omitempty"`

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

	// Indicates whether to ignore the cluster cidr conflict error. Default is false.
	// Indicates whether to ignore the cluster cidr conflict error. Default is false.
	IgnoreClusterCidrConflict *bool `json:"ignoreClusterCidrConflict,omitempty" tf:"ignore_cluster_cidr_conflict,omitempty"`

	// Indicates whether non-static ip mode is enabled. Default is false.
	// Indicates whether non-static ip mode is enabled. Default is false.
	IsNonStaticIPMode *bool `json:"isNonStaticIpMode,omitempty" tf:"is_non_static_ip_mode,omitempty"`

	// Kubernetes config.
	// Kubernetes config.
	KubeConfig *string `json:"kubeConfig,omitempty" tf:"kube_config,omitempty"`

	// Kubernetes config of private network.
	// Kubernetes config of private network.
	KubeConfigIntranet *string `json:"kubeConfigIntranet,omitempty" tf:"kube_config_intranet,omitempty"`

	// Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
	// Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
	KubeProxyMode *string `json:"kubeProxyMode,omitempty" tf:"kube_proxy_mode,omitempty"`

	// Labels of tke cluster nodes.
	// Labels of tke cluster nodes.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Specify cluster log agent config.
	// Specify cluster log agent config.
	LogAgent []LogAgentObservation `json:"logAgent,omitempty" tf:"log_agent,omitempty"`

	// this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.
	// Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `cluster_deploy_type` is 'MANAGED_CLUSTER' and `cluster_internet` is true. `managed_cluster_internet_security_policies` can not delete or empty once be set.
	ManagedClusterInternetSecurityPolicies []*string `json:"managedClusterInternetSecurityPolicies,omitempty" tf:"managed_cluster_internet_security_policies,omitempty"`

	// Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
	// Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
	MasterConfig []MasterConfigObservation `json:"masterConfig,omitempty" tf:"master_config,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target. Default is not mounting.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Cluster network type, the available values include: 'GR' and 'VPC-CNI' and 'CiliumOverlay'. Default is GR.
	// Cluster network type, the available values include: 'GR' and 'VPC-CNI' and 'CiliumOverlay'. Default is GR.
	NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`

	// Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
	// Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
	NodeNameType *string `json:"nodeNameType,omitempty" tf:"node_name_type,omitempty"`

	// Global config effective for all node pools.
	// Global config effective for all node pools.
	NodePoolGlobalConfig []NodePoolGlobalConfigObservation `json:"nodePoolGlobalConfig,omitempty" tf:"node_pool_global_config,omitempty"`

	// Password to access, should be set if key_ids not set.
	// Password of account.
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The Intranet address used for access.
	// The Intranet address used for access.
	PgwEndpoint *string `json:"pgwEndpoint,omitempty" tf:"pgw_endpoint,omitempty"`

	// Project ID, default value is 0.
	// Project ID, default value is 0.
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Container Runtime version.
	// Container Runtime version.
	RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"`

	// Access policy.
	// Access policy.
	SecurityPolicy []*string `json:"securityPolicy,omitempty" tf:"security_policy,omitempty"`

	// A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	// A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	ServiceCidr *string `json:"serviceCidr,omitempty" tf:"service_cidr,omitempty"`

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

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Indicates whether upgrade all instances when cluster_version change. Default is false.
	// Indicates whether upgrade all instances when cluster_version change. Default is false.
	UpgradeInstancesFollowCluster *bool `json:"upgradeInstancesFollowCluster,omitempty" tf:"upgrade_instances_follow_cluster,omitempty"`

	// User name of account.
	// User name of account.
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`

	// Distinguish between shared network card multi-IP mode and independent network card mode. Fill in tke-route-eni for shared network card multi-IP mode and tke-direct-eni for independent network card mode. The default is shared network card mode. When it is necessary to turn off the vpc-cni container network capability, both eni_subnet_ids and vpc_cni_type must be set to empty.
	// Distinguish between shared network card multi-IP mode and independent network card mode. Fill in `tke-route-eni` for shared network card multi-IP mode and `tke-direct-eni` for independent network card mode. The default is shared network card mode. When it is necessary to turn off the vpc-cni container network capability, both `eni_subnet_ids` and `vpc_cni_type` must be set to empty.
	VPCCniType *string `json:"vpcCniType,omitempty" tf:"vpc_cni_type,omitempty"`

	// Vpc Id of the cluster.
	// Vpc Id of the cluster.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
	// Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
	WorkerConfig []WorkerConfigObservation `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`

	// An information list of cvm within the 'WORKER' clusters. Each element contains the following attributes:
	// An information list of cvm within the 'WORKER' clusters. Each element contains the following attributes:
	WorkerInstancesList []WorkerInstancesListObservation `json:"workerInstancesList,omitempty" tf:"worker_instances_list,omitempty"`
}

func (*ClusterObservation) DeepCopy

func (in *ClusterObservation) DeepCopy() *ClusterObservation

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

func (*ClusterObservation) DeepCopyInto

func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation)

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

type ClusterParameters

type ClusterParameters struct {

	// If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to false after acquired.
	// If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired.
	// +kubebuilder:validation:Optional
	AcquireClusterAdminRole *bool `json:"acquireClusterAdminRole,omitempty" tf:"acquire_cluster_admin_role,omitempty"`

	// Specify cluster authentication configuration. Only available for managed cluster and cluster_version >= 1.20.
	// Specify cluster authentication configuration. Only available for managed cluster and `cluster_version` >= 1.20.
	// +kubebuilder:validation:Optional
	AuthOptions []AuthOptionsParameters `json:"authOptions,omitempty" tf:"auth_options,omitempty"`

	// Whether the cluster level auto upgraded, valid for managed cluster.
	// Whether the cluster level auto upgraded, valid for managed cluster.
	// +kubebuilder:validation:Optional
	AutoUpgradeClusterLevel *bool `json:"autoUpgradeClusterLevel,omitempty" tf:"auto_upgrade_cluster_level,omitempty"`

	// The number of basic pods. valid when enable_customized_pod_cidr=true.
	// The number of basic pods. valid when enable_customized_pod_cidr=true.
	// +kubebuilder:validation:Optional
	BasePodNum *float64 `json:"basePodNum,omitempty" tf:"base_pod_num,omitempty"`

	// Claim expired seconds to recycle ENI. This field can only set when field network_type is 'VPC-CNI'. claim_expired_seconds must greater or equal than 300 and less than 15768000.
	// Claim expired seconds to recycle ENI. This field can only set when field `network_type` is 'VPC-CNI'. `claim_expired_seconds` must greater or equal than 300 and less than 15768000.
	// +kubebuilder:validation:Optional
	ClaimExpiredSeconds *float64 `json:"claimExpiredSeconds,omitempty" tf:"claim_expired_seconds,omitempty"`

	// Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	// Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	// +kubebuilder:validation:Optional
	ClusterAudit []ClusterAuditParameters `json:"clusterAudit,omitempty" tf:"cluster_audit,omitempty"`

	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	// +kubebuilder:validation:Optional
	ClusterCidr *string `json:"clusterCidr,omitempty" tf:"cluster_cidr,omitempty"`

	// Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
	// Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
	// +kubebuilder:validation:Optional
	ClusterDeployType *string `json:"clusterDeployType,omitempty" tf:"cluster_deploy_type,omitempty"`

	// Description of the cluster.
	// Description of the cluster.
	// +kubebuilder:validation:Optional
	ClusterDesc *string `json:"clusterDesc,omitempty" tf:"cluster_desc,omitempty"`

	// Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
	// Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
	// +kubebuilder:validation:Optional
	ClusterExtraArgs []ClusterExtraArgsParameters `json:"clusterExtraArgs,omitempty" tf:"cluster_extra_args,omitempty"`

	// Open internet access or not. If this field is set 'true', the field below worker_config must be set. Because only cluster with node is allowed enable access endpoint. You may open it through tencentcloud_kubernetes_cluster_endpoint.
	// Open internet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint. You may open it through `tencentcloud_kubernetes_cluster_endpoint`.
	// +kubebuilder:validation:Optional
	ClusterInternet *bool `json:"clusterInternet,omitempty" tf:"cluster_internet,omitempty"`

	// Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	// +kubebuilder:validation:Optional
	ClusterInternetDomain *string `json:"clusterInternetDomain,omitempty" tf:"cluster_internet_domain,omitempty"`

	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	// +kubebuilder:validation:Optional
	ClusterInternetSecurityGroup *string `json:"clusterInternetSecurityGroup,omitempty" tf:"cluster_internet_security_group,omitempty"`

	// Open intranet access or not. If this field is set 'true', the field below worker_config must be set. Because only cluster with node is allowed enable access endpoint. You may open it through tencentcloud_kubernetes_cluster_endpoint.
	// Open intranet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint. You may open it through `tencentcloud_kubernetes_cluster_endpoint`.
	// +kubebuilder:validation:Optional
	ClusterIntranet *bool `json:"clusterIntranet,omitempty" tf:"cluster_intranet,omitempty"`

	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	// +kubebuilder:validation:Optional
	ClusterIntranetDomain *string `json:"clusterIntranetDomain,omitempty" tf:"cluster_intranet_domain,omitempty"`

	// Subnet id who can access this independent cluster, this field must and can only set  when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
	// Subnet id who can access this independent cluster, this field must and can only set  when `cluster_intranet` is true. `cluster_intranet_subnet_id` can not modify once be set.
	// +kubebuilder:validation:Optional
	ClusterIntranetSubnetID *string `json:"clusterIntranetSubnetId,omitempty" tf:"cluster_intranet_subnet_id,omitempty"`

	// Indicates whether ipvs is enabled. Default is true. False means iptables is enabled.
	// Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.
	// +kubebuilder:validation:Optional
	ClusterIpvs *bool `json:"clusterIpvs,omitempty" tf:"cluster_ipvs,omitempty"`

	// Specify cluster level, valid for managed cluster, use data source tencentcloud_kubernetes_cluster_levels to query available levels. Available value examples L5, L20, L50, L100, etc.
	// Specify cluster level, valid for managed cluster, use data source `tencentcloud_kubernetes_cluster_levels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc.
	// +kubebuilder:validation:Optional
	ClusterLevel *string `json:"clusterLevel,omitempty" tf:"cluster_level,omitempty"`

	// The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
	// The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
	// +kubebuilder:validation:Optional
	ClusterMaxPodNum *float64 `json:"clusterMaxPodNum,omitempty" tf:"cluster_max_pod_num,omitempty"`

	// The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
	// The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
	// +kubebuilder:validation:Optional
	ClusterMaxServiceNum *float64 `json:"clusterMaxServiceNum,omitempty" tf:"cluster_max_service_num,omitempty"`

	// Name of the cluster.
	// Name of the cluster.
	// +kubebuilder:validation:Optional
	ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"`

	// Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
	// Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
	// +kubebuilder:validation:Optional
	ClusterOs *string `json:"clusterOs,omitempty" tf:"cluster_os,omitempty"`

	// Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
	// Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
	// +kubebuilder:validation:Optional
	ClusterOsType *string `json:"clusterOsType,omitempty" tf:"cluster_os_type,omitempty"`

	// Subnet ID of the cluster, such as: subnet-b3p7d7q5.
	// Subnet ID of the cluster, such as: subnet-b3p7d7q5.
	// +kubebuilder:validation:Optional
	ClusterSubnetID *string `json:"clusterSubnetId,omitempty" tf:"cluster_subnet_id,omitempty"`

	// Version of the cluster. Use tencentcloud_kubernetes_available_cluster_versions to get the upgradable cluster version.
	// Version of the cluster. Use `tencentcloud_kubernetes_available_cluster_versions` to get the upgradable cluster version.
	// +kubebuilder:validation:Optional
	ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`

	// Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'.
	// Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'.
	// +kubebuilder:validation:Optional
	ContainerRuntime *string `json:"containerRuntime,omitempty" tf:"container_runtime,omitempty"`

	// Indicates whether cluster deletion protection is enabled. Default is false.
	// Indicates whether cluster deletion protection is enabled. Default is false.
	// +kubebuilder:validation:Optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Whether to enable the custom mode of node podCIDR size. Default is false.
	// Whether to enable the custom mode of node podCIDR size. Default is false.
	// +kubebuilder:validation:Optional
	EnableCustomizedPodCidr *bool `json:"enableCustomizedPodCidr,omitempty" tf:"enable_customized_pod_cidr,omitempty"`

	// Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field network_type is 'VPC-CNI'. eni_subnet_ids can not empty once be set.
	// Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `network_type` is 'VPC-CNI'. `eni_subnet_ids` can not empty once be set.
	// +kubebuilder:validation:Optional
	EniSubnetIds []*string `json:"eniSubnetIds,omitempty" tf:"eni_subnet_ids,omitempty"`

	// Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	// Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	// +kubebuilder:validation:Optional
	EventPersistence []EventPersistenceParameters `json:"eventPersistence,omitempty" tf:"event_persistence,omitempty"`

	// create tke cluster by existed instances.
	// create tke cluster by existed instances.
	// +kubebuilder:validation:Optional
	ExistInstance []ExistInstanceParameters `json:"existInstance,omitempty" tf:"exist_instance,omitempty"`

	// Information of the add-on to be installed.
	// Information of the add-on to be installed.
	// +kubebuilder:validation:Optional
	ExtensionAddon []ExtensionAddonParameters `json:"extensionAddon,omitempty" tf:"extension_addon,omitempty"`

	// Custom parameter information related to the node.
	// Custom parameter information related to the node.
	// +kubebuilder:validation:Optional
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
	// +kubebuilder:validation:Optional
	GlobeDesiredPodNum *float64 `json:"globeDesiredPodNum,omitempty" tf:"globe_desired_pod_num,omitempty"`

	// Indicates whether to ignore the cluster cidr conflict error. Default is false.
	// Indicates whether to ignore the cluster cidr conflict error. Default is false.
	// +kubebuilder:validation:Optional
	IgnoreClusterCidrConflict *bool `json:"ignoreClusterCidrConflict,omitempty" tf:"ignore_cluster_cidr_conflict,omitempty"`

	// Indicates whether non-static ip mode is enabled. Default is false.
	// Indicates whether non-static ip mode is enabled. Default is false.
	// +kubebuilder:validation:Optional
	IsNonStaticIPMode *bool `json:"isNonStaticIpMode,omitempty" tf:"is_non_static_ip_mode,omitempty"`

	// Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
	// Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
	// +kubebuilder:validation:Optional
	KubeProxyMode *string `json:"kubeProxyMode,omitempty" tf:"kube_proxy_mode,omitempty"`

	// Labels of tke cluster nodes.
	// Labels of tke cluster nodes.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Specify cluster log agent config.
	// Specify cluster log agent config.
	// +kubebuilder:validation:Optional
	LogAgent []LogAgentParameters `json:"logAgent,omitempty" tf:"log_agent,omitempty"`

	// this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.
	// Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `cluster_deploy_type` is 'MANAGED_CLUSTER' and `cluster_internet` is true. `managed_cluster_internet_security_policies` can not delete or empty once be set.
	// +kubebuilder:validation:Optional
	ManagedClusterInternetSecurityPolicies []*string `json:"managedClusterInternetSecurityPolicies,omitempty" tf:"managed_cluster_internet_security_policies,omitempty"`

	// Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
	// Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
	// +kubebuilder:validation:Optional
	MasterConfig []MasterConfigParameters `json:"masterConfig,omitempty" tf:"master_config,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target. Default is not mounting.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Cluster network type, the available values include: 'GR' and 'VPC-CNI' and 'CiliumOverlay'. Default is GR.
	// Cluster network type, the available values include: 'GR' and 'VPC-CNI' and 'CiliumOverlay'. Default is GR.
	// +kubebuilder:validation:Optional
	NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`

	// Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
	// Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
	// +kubebuilder:validation:Optional
	NodeNameType *string `json:"nodeNameType,omitempty" tf:"node_name_type,omitempty"`

	// Global config effective for all node pools.
	// Global config effective for all node pools.
	// +kubebuilder:validation:Optional
	NodePoolGlobalConfig []NodePoolGlobalConfigParameters `json:"nodePoolGlobalConfig,omitempty" tf:"node_pool_global_config,omitempty"`

	// Project ID, default value is 0.
	// Project ID, default value is 0.
	// +kubebuilder:validation:Optional
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Container Runtime version.
	// Container Runtime version.
	// +kubebuilder:validation:Optional
	RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"`

	// A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	// A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	// +kubebuilder:validation:Optional
	ServiceCidr *string `json:"serviceCidr,omitempty" tf:"service_cidr,omitempty"`

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

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// +kubebuilder:validation:Optional
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Indicates whether upgrade all instances when cluster_version change. Default is false.
	// Indicates whether upgrade all instances when cluster_version change. Default is false.
	// +kubebuilder:validation:Optional
	UpgradeInstancesFollowCluster *bool `json:"upgradeInstancesFollowCluster,omitempty" tf:"upgrade_instances_follow_cluster,omitempty"`

	// Distinguish between shared network card multi-IP mode and independent network card mode. Fill in tke-route-eni for shared network card multi-IP mode and tke-direct-eni for independent network card mode. The default is shared network card mode. When it is necessary to turn off the vpc-cni container network capability, both eni_subnet_ids and vpc_cni_type must be set to empty.
	// Distinguish between shared network card multi-IP mode and independent network card mode. Fill in `tke-route-eni` for shared network card multi-IP mode and `tke-direct-eni` for independent network card mode. The default is shared network card mode. When it is necessary to turn off the vpc-cni container network capability, both `eni_subnet_ids` and `vpc_cni_type` must be set to empty.
	// +kubebuilder:validation:Optional
	VPCCniType *string `json:"vpcCniType,omitempty" tf:"vpc_cni_type,omitempty"`

	// Vpc Id of the cluster.
	// Vpc Id of the cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.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:"-"`

	// Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
	// Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
	// +kubebuilder:validation:Optional
	WorkerConfig []WorkerConfigParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`
}

func (*ClusterParameters) DeepCopy

func (in *ClusterParameters) DeepCopy() *ClusterParameters

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

func (*ClusterParameters) DeepCopyInto

func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters)

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

type ClusterSpec

type ClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClusterInitParameters `json:"initProvider,omitempty"`
}

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

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

ClusterStatus defines the observed state of Cluster.

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type DataDiskInitParameters added in v0.8.0

type DataDiskInitParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// The name of the device or partition to mount.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default false.
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

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

func (*DataDiskInitParameters) DeepCopy added in v0.8.0

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

func (*DataDiskInitParameters) DeepCopyInto added in v0.8.0

func (in *DataDiskInitParameters) DeepCopyInto(out *DataDiskInitParameters)

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

type DataDiskObservation

type DataDiskObservation struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// The name of the device or partition to mount.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default false.
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

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

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 {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// The name of the device or partition to mount.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default false.
	// Indicates whether to encrypt data disk, default `false`.
	// +kubebuilder:validation:Optional
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Data disk snapshot ID.
	// 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 EventPersistenceInitParameters added in v0.8.0

type EventPersistenceInitParameters struct {

	// when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted.
	// when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted.
	DeleteEventLogAndTopic *bool `json:"deleteEventLogAndTopic,omitempty" tf:"delete_event_log_and_topic,omitempty"`

	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// Specify weather the Event Persistence enabled.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	LogSetID *string `json:"logSetId,omitempty" tf:"log_set_id,omitempty"`

	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	TopicID *string `json:"topicId,omitempty" tf:"topic_id,omitempty"`
}

func (*EventPersistenceInitParameters) DeepCopy added in v0.8.0

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

func (*EventPersistenceInitParameters) DeepCopyInto added in v0.8.0

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

type EventPersistenceObservation

type EventPersistenceObservation struct {

	// when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted.
	// when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted.
	DeleteEventLogAndTopic *bool `json:"deleteEventLogAndTopic,omitempty" tf:"delete_event_log_and_topic,omitempty"`

	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// Specify weather the Event Persistence enabled.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	LogSetID *string `json:"logSetId,omitempty" tf:"log_set_id,omitempty"`

	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	TopicID *string `json:"topicId,omitempty" tf:"topic_id,omitempty"`
}

func (*EventPersistenceObservation) DeepCopy

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

func (*EventPersistenceObservation) DeepCopyInto

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

type EventPersistenceParameters

type EventPersistenceParameters struct {

	// when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted.
	// when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted.
	// +kubebuilder:validation:Optional
	DeleteEventLogAndTopic *bool `json:"deleteEventLogAndTopic,omitempty" tf:"delete_event_log_and_topic,omitempty"`

	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// Specify weather the Event Persistence enabled.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	// +kubebuilder:validation:Optional
	LogSetID *string `json:"logSetId,omitempty" tf:"log_set_id,omitempty"`

	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	// +kubebuilder:validation:Optional
	TopicID *string `json:"topicId,omitempty" tf:"topic_id,omitempty"`
}

func (*EventPersistenceParameters) DeepCopy

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

func (*EventPersistenceParameters) DeepCopyInto

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

type ExistInstanceInitParameters added in v0.8.0

type ExistInstanceInitParameters struct {

	// Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
	// Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
	DesiredPodNumbers []*float64 `json:"desiredPodNumbers,omitempty" tf:"desired_pod_numbers,omitempty"`

	// Reinstallation parameters of an existing instance.
	// Reinstallation parameters of an existing instance.
	InstancesPara []InstancesParaInitParameters `json:"instancesPara,omitempty" tf:"instances_para,omitempty"`

	// Role of existed node. value:MASTER_ETCD or WORKER.
	// Role of existed node. value:MASTER_ETCD or WORKER.
	NodeRole *string `json:"nodeRole,omitempty" tf:"node_role,omitempty"`
}

func (*ExistInstanceInitParameters) DeepCopy added in v0.8.0

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

func (*ExistInstanceInitParameters) DeepCopyInto added in v0.8.0

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

type ExistInstanceObservation

type ExistInstanceObservation struct {

	// Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
	// Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
	DesiredPodNumbers []*float64 `json:"desiredPodNumbers,omitempty" tf:"desired_pod_numbers,omitempty"`

	// Reinstallation parameters of an existing instance.
	// Reinstallation parameters of an existing instance.
	InstancesPara []InstancesParaObservation `json:"instancesPara,omitempty" tf:"instances_para,omitempty"`

	// Role of existed node. value:MASTER_ETCD or WORKER.
	// Role of existed node. value:MASTER_ETCD or WORKER.
	NodeRole *string `json:"nodeRole,omitempty" tf:"node_role,omitempty"`
}

func (*ExistInstanceObservation) DeepCopy

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

func (*ExistInstanceObservation) DeepCopyInto

func (in *ExistInstanceObservation) DeepCopyInto(out *ExistInstanceObservation)

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

type ExistInstanceParameters

type ExistInstanceParameters struct {

	// Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
	// Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
	// +kubebuilder:validation:Optional
	DesiredPodNumbers []*float64 `json:"desiredPodNumbers,omitempty" tf:"desired_pod_numbers,omitempty"`

	// Reinstallation parameters of an existing instance.
	// Reinstallation parameters of an existing instance.
	// +kubebuilder:validation:Optional
	InstancesPara []InstancesParaParameters `json:"instancesPara,omitempty" tf:"instances_para,omitempty"`

	// Role of existed node. value:MASTER_ETCD or WORKER.
	// Role of existed node. value:MASTER_ETCD or WORKER.
	// +kubebuilder:validation:Optional
	NodeRole *string `json:"nodeRole,omitempty" tf:"node_role,omitempty"`
}

func (*ExistInstanceParameters) DeepCopy

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

func (*ExistInstanceParameters) DeepCopyInto

func (in *ExistInstanceParameters) DeepCopyInto(out *ExistInstanceParameters)

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

type ExtensionAddonInitParameters added in v0.8.0

type ExtensionAddonInitParameters struct {

	// Add-on name.
	// Add-on name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Parameter of the add-on resource object in JSON string format, please check the example at the top of page for reference.
	// Parameter of the add-on resource object in JSON string format, please check the example at the top of page for reference.
	Param *string `json:"param,omitempty" tf:"param,omitempty"`
}

func (*ExtensionAddonInitParameters) DeepCopy added in v0.8.0

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

func (*ExtensionAddonInitParameters) DeepCopyInto added in v0.8.0

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

type ExtensionAddonObservation

type ExtensionAddonObservation struct {

	// Add-on name.
	// Add-on name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Parameter of the add-on resource object in JSON string format, please check the example at the top of page for reference.
	// Parameter of the add-on resource object in JSON string format, please check the example at the top of page for reference.
	Param *string `json:"param,omitempty" tf:"param,omitempty"`
}

func (*ExtensionAddonObservation) DeepCopy

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

func (*ExtensionAddonObservation) DeepCopyInto

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

type ExtensionAddonParameters

type ExtensionAddonParameters struct {

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

	// Parameter of the add-on resource object in JSON string format, please check the example at the top of page for reference.
	// Parameter of the add-on resource object in JSON string format, please check the example at the top of page for reference.
	// +kubebuilder:validation:Optional
	Param *string `json:"param" tf:"param,omitempty"`
}

func (*ExtensionAddonParameters) DeepCopy

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

func (*ExtensionAddonParameters) DeepCopyInto

func (in *ExtensionAddonParameters) DeepCopyInto(out *ExtensionAddonParameters)

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

type GpuArgsInitParameters added in v0.8.0

type GpuArgsInitParameters struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*GpuArgsInitParameters) DeepCopy added in v0.8.0

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

func (*GpuArgsInitParameters) DeepCopyInto added in v0.8.0

func (in *GpuArgsInitParameters) DeepCopyInto(out *GpuArgsInitParameters)

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

type GpuArgsObservation added in v0.7.0

type GpuArgsObservation struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*GpuArgsObservation) DeepCopy added in v0.7.0

func (in *GpuArgsObservation) DeepCopy() *GpuArgsObservation

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

func (*GpuArgsObservation) DeepCopyInto added in v0.7.0

func (in *GpuArgsObservation) DeepCopyInto(out *GpuArgsObservation)

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

type GpuArgsParameters added in v0.7.0

type GpuArgsParameters struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	// +kubebuilder:validation:Optional
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*GpuArgsParameters) DeepCopy added in v0.7.0

func (in *GpuArgsParameters) DeepCopy() *GpuArgsParameters

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

func (*GpuArgsParameters) DeepCopyInto added in v0.7.0

func (in *GpuArgsParameters) DeepCopyInto(out *GpuArgsParameters)

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

type InstancesParaInitParameters added in v0.8.0

type InstancesParaInitParameters struct {

	// Cluster IDs.
	// Cluster IDs.
	InstanceIds []*string `json:"instanceIds,omitempty" tf:"instance_ids,omitempty"`
}

func (*InstancesParaInitParameters) DeepCopy added in v0.8.0

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

func (*InstancesParaInitParameters) DeepCopyInto added in v0.8.0

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

type InstancesParaObservation

type InstancesParaObservation struct {

	// Cluster IDs.
	// Cluster IDs.
	InstanceIds []*string `json:"instanceIds,omitempty" tf:"instance_ids,omitempty"`
}

func (*InstancesParaObservation) DeepCopy

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

func (*InstancesParaObservation) DeepCopyInto

func (in *InstancesParaObservation) DeepCopyInto(out *InstancesParaObservation)

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

type InstancesParaParameters

type InstancesParaParameters struct {

	// Cluster IDs.
	// Cluster IDs.
	// +kubebuilder:validation:Optional
	InstanceIds []*string `json:"instanceIds" tf:"instance_ids,omitempty"`
}

func (*InstancesParaParameters) DeepCopy

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

func (*InstancesParaParameters) DeepCopyInto

func (in *InstancesParaParameters) DeepCopyInto(out *InstancesParaParameters)

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

type LogAgentInitParameters added in v0.8.0

type LogAgentInitParameters struct {

	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// Whether the log agent enabled.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Kubelet root directory as the literal.
	// Kubelet root directory as the literal.
	KubeletRootDir *string `json:"kubeletRootDir,omitempty" tf:"kubelet_root_dir,omitempty"`
}

func (*LogAgentInitParameters) DeepCopy added in v0.8.0

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

func (*LogAgentInitParameters) DeepCopyInto added in v0.8.0

func (in *LogAgentInitParameters) DeepCopyInto(out *LogAgentInitParameters)

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

type LogAgentObservation

type LogAgentObservation struct {

	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// Whether the log agent enabled.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Kubelet root directory as the literal.
	// Kubelet root directory as the literal.
	KubeletRootDir *string `json:"kubeletRootDir,omitempty" tf:"kubelet_root_dir,omitempty"`
}

func (*LogAgentObservation) DeepCopy

func (in *LogAgentObservation) DeepCopy() *LogAgentObservation

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

func (*LogAgentObservation) DeepCopyInto

func (in *LogAgentObservation) DeepCopyInto(out *LogAgentObservation)

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

type LogAgentParameters

type LogAgentParameters struct {

	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// Whether the log agent enabled.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// Kubelet root directory as the literal.
	// Kubelet root directory as the literal.
	// +kubebuilder:validation:Optional
	KubeletRootDir *string `json:"kubeletRootDir,omitempty" tf:"kubelet_root_dir,omitempty"`
}

func (*LogAgentParameters) DeepCopy

func (in *LogAgentParameters) DeepCopy() *LogAgentParameters

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

func (*LogAgentParameters) DeepCopyInto

func (in *LogAgentParameters) DeepCopyInto(out *LogAgentParameters)

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

type MasterConfigInitParameters added in v0.8.0

type MasterConfigInitParameters struct {

	// Indicates which availability zone will be used.
	// Indicates which availability zone will be used.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

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

	// Number of cvm.
	// Number of cvm.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []DataDiskInitParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

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

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

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// Id of cvm hpc cluster.
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// The valid image id, format of img-xxx.
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is 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.
	// The tenancy (time unit is 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`.
	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.
	// 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`.
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Name of the CVMs.
	// Name of the CVMs.
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

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

	// ID list of keys, should be set if password not set.
	// ID list of keys, should be set if `password` not set.
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

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

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

	// Private network ID.
	// Private network ID.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

	// System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

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

func (*MasterConfigInitParameters) DeepCopy added in v0.8.0

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

func (*MasterConfigInitParameters) DeepCopyInto added in v0.8.0

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

type MasterConfigObservation

type MasterConfigObservation struct {

	// Indicates which availability zone will be used.
	// Indicates which availability zone will be used.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

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

	// Number of cvm.
	// Number of cvm.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []DataDiskObservation `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

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

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

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// Id of cvm hpc cluster.
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// The valid image id, format of img-xxx.
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is 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.
	// The tenancy (time unit is 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`.
	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.
	// 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`.
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Name of the CVMs.
	// Name of the CVMs.
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

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

	// ID list of keys, should be set if password not set.
	// ID list of keys, should be set if `password` not set.
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

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

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

	// Private network ID.
	// Private network ID.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

	// System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

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

func (*MasterConfigObservation) DeepCopy

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

func (*MasterConfigObservation) DeepCopyInto

func (in *MasterConfigObservation) DeepCopyInto(out *MasterConfigObservation)

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

type MasterConfigParameters

type MasterConfigParameters struct {

	// Indicates which availability zone will be used.
	// Indicates which availability zone will be used.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// +kubebuilder:validation:Optional
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

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

	// Number of cvm.
	// Number of cvm.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

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

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// +kubebuilder:validation:Optional
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

	// To specify whether to enable cloud monitor service. Default is TRUE.
	// 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.
	// To specify whether to enable cloud security service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedSecurityService *bool `json:"enhancedSecurityService,omitempty" tf:"enhanced_security_service,omitempty"`

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// Id of cvm hpc cluster.
	// +kubebuilder:validation:Optional
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// The valid image id, format of img-xxx.
	// +kubebuilder:validation:Optional
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// +kubebuilder:validation:Optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is 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.
	// The tenancy (time unit is 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.
	// 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"`

	// Name of the CVMs.
	// Name of the CVMs.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	// +kubebuilder:validation:Optional
	InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`

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

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

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

	// Password to access, should be set if key_ids not set.
	// Password to access, should be set if `key_ids` not set.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specify whether to assign an Internet IP address.
	// 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.
	// Security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// Private network ID.
	// Private network ID.
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"`

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

	// System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	// +kubebuilder:validation:Optional
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

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

func (*MasterConfigParameters) DeepCopy

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

func (*MasterConfigParameters) DeepCopyInto

func (in *MasterConfigParameters) DeepCopyInto(out *MasterConfigParameters)

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

type NodeConfigDataDiskInitParameters added in v0.8.0

type NodeConfigDataDiskInitParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*NodeConfigDataDiskInitParameters) DeepCopy added in v0.8.0

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

func (*NodeConfigDataDiskInitParameters) DeepCopyInto added in v0.8.0

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

type NodeConfigDataDiskObservation

type NodeConfigDataDiskObservation struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*NodeConfigDataDiskObservation) DeepCopy

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

func (*NodeConfigDataDiskObservation) DeepCopyInto

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

type NodeConfigDataDiskParameters

type NodeConfigDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*NodeConfigDataDiskParameters) DeepCopy

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

func (*NodeConfigDataDiskParameters) DeepCopyInto

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

type NodeConfigGpuArgsInitParameters added in v0.8.0

type NodeConfigGpuArgsInitParameters struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*NodeConfigGpuArgsInitParameters) DeepCopy added in v0.8.0

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

func (*NodeConfigGpuArgsInitParameters) DeepCopyInto added in v0.8.0

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

type NodeConfigGpuArgsObservation added in v0.7.0

type NodeConfigGpuArgsObservation struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*NodeConfigGpuArgsObservation) DeepCopy added in v0.7.0

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

func (*NodeConfigGpuArgsObservation) DeepCopyInto added in v0.7.0

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

type NodeConfigGpuArgsParameters added in v0.7.0

type NodeConfigGpuArgsParameters struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	// +kubebuilder:validation:Optional
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*NodeConfigGpuArgsParameters) DeepCopy added in v0.7.0

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

func (*NodeConfigGpuArgsParameters) DeepCopyInto added in v0.7.0

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

type NodeConfigInitParameters added in v0.8.0

type NodeConfigInitParameters struct {

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []NodeConfigDataDiskInitParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	GpuArgs []NodeConfigGpuArgsInitParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target.
	// Mount target. Default is not mounting.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	PreStartUserScript *string `json:"preStartUserScript,omitempty" tf:"pre_start_user_script,omitempty"`

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

func (*NodeConfigInitParameters) DeepCopy added in v0.8.0

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

func (*NodeConfigInitParameters) DeepCopyInto added in v0.8.0

func (in *NodeConfigInitParameters) DeepCopyInto(out *NodeConfigInitParameters)

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

type NodeConfigObservation

type NodeConfigObservation struct {

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []NodeConfigDataDiskObservation `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	GpuArgs []NodeConfigGpuArgsObservation `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target.
	// Mount target. Default is not mounting.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	PreStartUserScript *string `json:"preStartUserScript,omitempty" tf:"pre_start_user_script,omitempty"`

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

func (*NodeConfigObservation) DeepCopy

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

func (*NodeConfigObservation) DeepCopyInto

func (in *NodeConfigObservation) DeepCopyInto(out *NodeConfigObservation)

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

type NodeConfigParameters

type NodeConfigParameters struct {

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

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// Custom parameter information related to the node. This is a white-list parameter.
	// +kubebuilder:validation:Optional
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	// +kubebuilder:validation:Optional
	GpuArgs []NodeConfigGpuArgsParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// Indicate to schedule the adding node or not. Default is true.
	// +kubebuilder:validation:Optional
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target.
	// Mount target. Default is not mounting.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// +kubebuilder:validation:Optional
	PreStartUserScript *string `json:"preStartUserScript,omitempty" tf:"pre_start_user_script,omitempty"`

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

func (*NodeConfigParameters) DeepCopy

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

func (*NodeConfigParameters) DeepCopyInto

func (in *NodeConfigParameters) DeepCopyInto(out *NodeConfigParameters)

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

type NodePool

type NodePool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.autoScalingConfig) || (has(self.initProvider) && has(self.initProvider.autoScalingConfig))",message="spec.forProvider.autoScalingConfig is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.clusterId) || (has(self.initProvider) && has(self.initProvider.clusterId))",message="spec.forProvider.clusterId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.maxSize) || (has(self.initProvider) && has(self.initProvider.maxSize))",message="spec.forProvider.maxSize is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.minSize) || (has(self.initProvider) && has(self.initProvider.minSize))",message="spec.forProvider.minSize is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   NodePoolSpec   `json:"spec"`
	Status NodePoolStatus `json:"status,omitempty"`
}

NodePool is the Schema for the NodePools API. Provide a resource to create an auto scaling group for kubernetes cluster. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*NodePool) DeepCopy

func (in *NodePool) DeepCopy() *NodePool

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

func (*NodePool) DeepCopyInto

func (in *NodePool) DeepCopyInto(out *NodePool)

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

func (*NodePool) DeepCopyObject

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

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

func (*NodePool) GetCondition

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

GetCondition of this NodePool.

func (*NodePool) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NodePool

func (*NodePool) GetDeletionPolicy

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

GetDeletionPolicy of this NodePool.

func (*NodePool) GetID

func (tr *NodePool) GetID() string

GetID returns ID of underlying Terraform resource of this NodePool

func (*NodePool) GetInitParameters added in v0.8.0

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

GetInitParameters of this NodePool

func (*NodePool) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this NodePool.

func (*NodePool) GetMergedParameters added in v0.8.1

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

GetInitParameters of this NodePool

func (*NodePool) GetObservation

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

GetObservation of this NodePool

func (*NodePool) GetParameters

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

GetParameters of this NodePool

func (*NodePool) GetProviderConfigReference

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

GetProviderConfigReference of this NodePool.

func (*NodePool) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this NodePool.

func (*NodePool) GetTerraformResourceType

func (mg *NodePool) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NodePool

func (*NodePool) GetTerraformSchemaVersion

func (tr *NodePool) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NodePool) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NodePool.

func (*NodePool) Hub added in v0.8.1

func (tr *NodePool) Hub()

Hub marks this type as a conversion hub.

func (*NodePool) LateInitialize

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

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

func (*NodePool) ResolveReferences

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

ResolveReferences of this NodePool.

func (*NodePool) SetConditions

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

SetConditions of this NodePool.

func (*NodePool) SetDeletionPolicy

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

SetDeletionPolicy of this NodePool.

func (*NodePool) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this NodePool.

func (*NodePool) SetObservation

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

SetObservation for this NodePool

func (*NodePool) SetParameters

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

SetParameters for this NodePool

func (*NodePool) SetProviderConfigReference

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

SetProviderConfigReference of this NodePool.

func (*NodePool) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this NodePool.

func (*NodePool) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NodePool.

type NodePoolGlobalConfigInitParameters added in v0.8.0

type NodePoolGlobalConfigInitParameters struct {

	// Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: random - select a random scaling group, most-pods - select the scaling group that can schedule the most pods, least-waste - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.
	// Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: `random` - select a random scaling group, `most-pods` - select the scaling group that can schedule the most pods, `least-waste` - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.
	Expander *string `json:"expander,omitempty" tf:"expander,omitempty"`

	// Whether to ignore DaemonSet pods by default when calculating resource usage.
	// Whether to ignore DaemonSet pods by default when calculating resource usage.
	IgnoreDaemonSetsUtilization *bool `json:"ignoreDaemonSetsUtilization,omitempty" tf:"ignore_daemon_sets_utilization,omitempty"`

	// Indicates whether to enable scale-in.
	// Indicates whether to enable scale-in.
	IsScaleInEnabled *bool `json:"isScaleInEnabled,omitempty" tf:"is_scale_in_enabled,omitempty"`

	// Max concurrent scale-in volume.
	// Max concurrent scale-in volume.
	MaxConcurrentScaleIn *float64 `json:"maxConcurrentScaleIn,omitempty" tf:"max_concurrent_scale_in,omitempty"`

	// Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.
	// Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.
	ScaleInDelay *float64 `json:"scaleInDelay,omitempty" tf:"scale_in_delay,omitempty"`

	// Number of consecutive minutes of idleness after which the node is subject to scale-in.
	// Number of consecutive minutes of idleness after which the node is subject to scale-in.
	ScaleInUnneededTime *float64 `json:"scaleInUnneededTime,omitempty" tf:"scale_in_unneeded_time,omitempty"`

	// Percentage of node resource usage below which the node is considered to be idle.
	// Percentage of node resource usage below which the node is considered to be idle.
	ScaleInUtilizationThreshold *float64 `json:"scaleInUtilizationThreshold,omitempty" tf:"scale_in_utilization_threshold,omitempty"`

	// During scale-in, ignore nodes with local storage pods.
	// During scale-in, ignore nodes with local storage pods.
	SkipNodesWithLocalStorage *bool `json:"skipNodesWithLocalStorage,omitempty" tf:"skip_nodes_with_local_storage,omitempty"`

	// During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.
	// During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.
	SkipNodesWithSystemPods *bool `json:"skipNodesWithSystemPods,omitempty" tf:"skip_nodes_with_system_pods,omitempty"`
}

func (*NodePoolGlobalConfigInitParameters) DeepCopy added in v0.8.0

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

func (*NodePoolGlobalConfigInitParameters) DeepCopyInto added in v0.8.0

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

type NodePoolGlobalConfigObservation

type NodePoolGlobalConfigObservation struct {

	// Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: random - select a random scaling group, most-pods - select the scaling group that can schedule the most pods, least-waste - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.
	// Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: `random` - select a random scaling group, `most-pods` - select the scaling group that can schedule the most pods, `least-waste` - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.
	Expander *string `json:"expander,omitempty" tf:"expander,omitempty"`

	// Whether to ignore DaemonSet pods by default when calculating resource usage.
	// Whether to ignore DaemonSet pods by default when calculating resource usage.
	IgnoreDaemonSetsUtilization *bool `json:"ignoreDaemonSetsUtilization,omitempty" tf:"ignore_daemon_sets_utilization,omitempty"`

	// Indicates whether to enable scale-in.
	// Indicates whether to enable scale-in.
	IsScaleInEnabled *bool `json:"isScaleInEnabled,omitempty" tf:"is_scale_in_enabled,omitempty"`

	// Max concurrent scale-in volume.
	// Max concurrent scale-in volume.
	MaxConcurrentScaleIn *float64 `json:"maxConcurrentScaleIn,omitempty" tf:"max_concurrent_scale_in,omitempty"`

	// Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.
	// Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.
	ScaleInDelay *float64 `json:"scaleInDelay,omitempty" tf:"scale_in_delay,omitempty"`

	// Number of consecutive minutes of idleness after which the node is subject to scale-in.
	// Number of consecutive minutes of idleness after which the node is subject to scale-in.
	ScaleInUnneededTime *float64 `json:"scaleInUnneededTime,omitempty" tf:"scale_in_unneeded_time,omitempty"`

	// Percentage of node resource usage below which the node is considered to be idle.
	// Percentage of node resource usage below which the node is considered to be idle.
	ScaleInUtilizationThreshold *float64 `json:"scaleInUtilizationThreshold,omitempty" tf:"scale_in_utilization_threshold,omitempty"`

	// During scale-in, ignore nodes with local storage pods.
	// During scale-in, ignore nodes with local storage pods.
	SkipNodesWithLocalStorage *bool `json:"skipNodesWithLocalStorage,omitempty" tf:"skip_nodes_with_local_storage,omitempty"`

	// During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.
	// During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.
	SkipNodesWithSystemPods *bool `json:"skipNodesWithSystemPods,omitempty" tf:"skip_nodes_with_system_pods,omitempty"`
}

func (*NodePoolGlobalConfigObservation) DeepCopy

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

func (*NodePoolGlobalConfigObservation) DeepCopyInto

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

type NodePoolGlobalConfigParameters

type NodePoolGlobalConfigParameters struct {

	// Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: random - select a random scaling group, most-pods - select the scaling group that can schedule the most pods, least-waste - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.
	// Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: `random` - select a random scaling group, `most-pods` - select the scaling group that can schedule the most pods, `least-waste` - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.
	// +kubebuilder:validation:Optional
	Expander *string `json:"expander,omitempty" tf:"expander,omitempty"`

	// Whether to ignore DaemonSet pods by default when calculating resource usage.
	// Whether to ignore DaemonSet pods by default when calculating resource usage.
	// +kubebuilder:validation:Optional
	IgnoreDaemonSetsUtilization *bool `json:"ignoreDaemonSetsUtilization,omitempty" tf:"ignore_daemon_sets_utilization,omitempty"`

	// Indicates whether to enable scale-in.
	// Indicates whether to enable scale-in.
	// +kubebuilder:validation:Optional
	IsScaleInEnabled *bool `json:"isScaleInEnabled,omitempty" tf:"is_scale_in_enabled,omitempty"`

	// Max concurrent scale-in volume.
	// Max concurrent scale-in volume.
	// +kubebuilder:validation:Optional
	MaxConcurrentScaleIn *float64 `json:"maxConcurrentScaleIn,omitempty" tf:"max_concurrent_scale_in,omitempty"`

	// Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.
	// Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.
	// +kubebuilder:validation:Optional
	ScaleInDelay *float64 `json:"scaleInDelay,omitempty" tf:"scale_in_delay,omitempty"`

	// Number of consecutive minutes of idleness after which the node is subject to scale-in.
	// Number of consecutive minutes of idleness after which the node is subject to scale-in.
	// +kubebuilder:validation:Optional
	ScaleInUnneededTime *float64 `json:"scaleInUnneededTime,omitempty" tf:"scale_in_unneeded_time,omitempty"`

	// Percentage of node resource usage below which the node is considered to be idle.
	// Percentage of node resource usage below which the node is considered to be idle.
	// +kubebuilder:validation:Optional
	ScaleInUtilizationThreshold *float64 `json:"scaleInUtilizationThreshold,omitempty" tf:"scale_in_utilization_threshold,omitempty"`

	// During scale-in, ignore nodes with local storage pods.
	// During scale-in, ignore nodes with local storage pods.
	// +kubebuilder:validation:Optional
	SkipNodesWithLocalStorage *bool `json:"skipNodesWithLocalStorage,omitempty" tf:"skip_nodes_with_local_storage,omitempty"`

	// During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.
	// During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.
	// +kubebuilder:validation:Optional
	SkipNodesWithSystemPods *bool `json:"skipNodesWithSystemPods,omitempty" tf:"skip_nodes_with_system_pods,omitempty"`
}

func (*NodePoolGlobalConfigParameters) DeepCopy

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

func (*NodePoolGlobalConfigParameters) DeepCopyInto

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

type NodePoolInitParameters added in v0.8.0

type NodePoolInitParameters struct {

	// Auto scaling config parameters.
	// Auto scaling config parameters.
	AutoScalingConfig []AutoScalingConfigInitParameters `json:"autoScalingConfig,omitempty" tf:"auto_scaling_config,omitempty"`

	// ID of the cluster.
	// ID of the cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Seconds of scaling group cool down. Default value is 300.
	// Seconds of scaling group cool down. Default value is `300`.
	DefaultCooldown *float64 `json:"defaultCooldown,omitempty" tf:"default_cooldown,omitempty"`

	// Indicate to keep the CVM instance when delete the node pool. Default is true.
	// Indicate to keep the CVM instance when delete the node pool. Default is `true`.
	DeleteKeepInstance *bool `json:"deleteKeepInstance,omitempty" tf:"delete_keep_instance,omitempty"`

	// Indicates whether the node pool deletion protection is enabled.
	// Indicates whether the node pool deletion protection is enabled.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
	// Desired capacity of the node. If `enable_auto_scale` is set `true`, this will be a computed parameter.
	DesiredCapacity *float64 `json:"desiredCapacity,omitempty" tf:"desired_capacity,omitempty"`

	// Indicate whether to enable auto scaling or not.
	// Indicate whether to enable auto scaling or not.
	EnableAutoScale *bool `json:"enableAutoScale,omitempty" tf:"enable_auto_scale,omitempty"`

	// Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Maximum number of node.
	// Maximum number of node.
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// Minimum number of node.
	// Minimum number of node.
	MinSize *float64 `json:"minSize,omitempty" tf:"min_size,omitempty"`

	// Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
	// Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
	MultiZoneSubnetPolicy *string `json:"multiZoneSubnetPolicy,omitempty" tf:"multi_zone_subnet_policy,omitempty"`

	// Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
	// Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Node config.
	// Node config.
	NodeConfig []NodeConfigInitParameters `json:"nodeConfig,omitempty" tf:"node_config,omitempty"`

	// Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
	// Operating system of the cluster. Please refer to [TencentCloud Documentation](https://www.tencentcloud.com/document/product/457/46750?lang=en&pg=#list-of-public-images-supported-by-tke) for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
	NodeOs *string `json:"nodeOs,omitempty" tf:"node_os,omitempty"`

	// The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
	// The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes.
	NodeOsType *string `json:"nodeOsType,omitempty" tf:"node_os_type,omitempty"`

	// Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
	// Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.
	RetryPolicy *string `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"`

	// Name of relative scaling group.
	// Name of relative scaling group.
	ScalingGroupName *string `json:"scalingGroupName,omitempty" tf:"scaling_group_name,omitempty"`

	// Project ID the scaling group belongs to.
	// Project ID the scaling group belongs to.
	ScalingGroupProjectID *float64 `json:"scalingGroupProjectId,omitempty" tf:"scaling_group_project_id,omitempty"`

	// Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
	// Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
	ScalingMode *string `json:"scalingMode,omitempty" tf:"scaling_mode,omitempty"`

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

	// Node pool tag specifications, will passthroughs to the scaling instances.
	// Node pool tag specifications, will passthroughs to the scaling instances.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Taints of kubernetes node pool created nodes.
	// Taints of kubernetes node pool created nodes.
	Taints []TaintsInitParameters `json:"taints,omitempty" tf:"taints,omitempty"`

	// Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
	// Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`.
	TerminationPolicies []*string `json:"terminationPolicies,omitempty" tf:"termination_policies,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// ID of VPC network.
	// ID of VPC network.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC
	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:"-"`

	// List of auto scaling group available zones, for Basic network it is required.
	// List of auto scaling group available zones, for Basic network it is required.
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*NodePoolInitParameters) DeepCopy added in v0.8.0

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

func (*NodePoolInitParameters) DeepCopyInto added in v0.8.0

func (in *NodePoolInitParameters) DeepCopyInto(out *NodePoolInitParameters)

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

type NodePoolList

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

NodePoolList contains a list of NodePools

func (*NodePoolList) DeepCopy

func (in *NodePoolList) DeepCopy() *NodePoolList

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

func (*NodePoolList) DeepCopyInto

func (in *NodePoolList) DeepCopyInto(out *NodePoolList)

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

func (*NodePoolList) DeepCopyObject

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

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

func (*NodePoolList) GetItems

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

GetItems of this NodePoolList.

type NodePoolObservation

type NodePoolObservation struct {

	// Auto scaling config parameters.
	// Auto scaling config parameters.
	AutoScalingConfig []AutoScalingConfigObservation `json:"autoScalingConfig,omitempty" tf:"auto_scaling_config,omitempty"`

	// The auto scaling group ID.
	// The auto scaling group ID.
	AutoScalingGroupID *string `json:"autoScalingGroupId,omitempty" tf:"auto_scaling_group_id,omitempty"`

	// The total of autoscaling added node.
	// The total of autoscaling added node.
	AutoscalingAddedTotal *float64 `json:"autoscalingAddedTotal,omitempty" tf:"autoscaling_added_total,omitempty"`

	// ID of the cluster.
	// ID of the cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Seconds of scaling group cool down. Default value is 300.
	// Seconds of scaling group cool down. Default value is `300`.
	DefaultCooldown *float64 `json:"defaultCooldown,omitempty" tf:"default_cooldown,omitempty"`

	// Indicate to keep the CVM instance when delete the node pool. Default is true.
	// Indicate to keep the CVM instance when delete the node pool. Default is `true`.
	DeleteKeepInstance *bool `json:"deleteKeepInstance,omitempty" tf:"delete_keep_instance,omitempty"`

	// Indicates whether the node pool deletion protection is enabled.
	// Indicates whether the node pool deletion protection is enabled.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
	// Desired capacity of the node. If `enable_auto_scale` is set `true`, this will be a computed parameter.
	DesiredCapacity *float64 `json:"desiredCapacity,omitempty" tf:"desired_capacity,omitempty"`

	// Indicate whether to enable auto scaling or not.
	// Indicate whether to enable auto scaling or not.
	EnableAutoScale *bool `json:"enableAutoScale,omitempty" tf:"enable_auto_scale,omitempty"`

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

	// Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The launch config ID.
	// The launch config ID.
	LaunchConfigID *string `json:"launchConfigId,omitempty" tf:"launch_config_id,omitempty"`

	// The total of manually added node.
	// The total of manually added node.
	ManuallyAddedTotal *float64 `json:"manuallyAddedTotal,omitempty" tf:"manually_added_total,omitempty"`

	// Maximum number of node.
	// Maximum number of node.
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// Minimum number of node.
	// Minimum number of node.
	MinSize *float64 `json:"minSize,omitempty" tf:"min_size,omitempty"`

	// Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
	// Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
	MultiZoneSubnetPolicy *string `json:"multiZoneSubnetPolicy,omitempty" tf:"multi_zone_subnet_policy,omitempty"`

	// Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
	// Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Node config.
	// Node config.
	NodeConfig []NodeConfigObservation `json:"nodeConfig,omitempty" tf:"node_config,omitempty"`

	// The total node count.
	// The total node count.
	NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`

	// Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
	// Operating system of the cluster. Please refer to [TencentCloud Documentation](https://www.tencentcloud.com/document/product/457/46750?lang=en&pg=#list-of-public-images-supported-by-tke) for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
	NodeOs *string `json:"nodeOs,omitempty" tf:"node_os,omitempty"`

	// The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
	// The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes.
	NodeOsType *string `json:"nodeOsType,omitempty" tf:"node_os_type,omitempty"`

	// Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
	// Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.
	RetryPolicy *string `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"`

	// Name of relative scaling group.
	// Name of relative scaling group.
	ScalingGroupName *string `json:"scalingGroupName,omitempty" tf:"scaling_group_name,omitempty"`

	// Project ID the scaling group belongs to.
	// Project ID the scaling group belongs to.
	ScalingGroupProjectID *float64 `json:"scalingGroupProjectId,omitempty" tf:"scaling_group_project_id,omitempty"`

	// Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
	// Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
	ScalingMode *string `json:"scalingMode,omitempty" tf:"scaling_mode,omitempty"`

	// Status of the node pool.
	// Status of the node pool.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

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

	// Node pool tag specifications, will passthroughs to the scaling instances.
	// Node pool tag specifications, will passthroughs to the scaling instances.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Taints of kubernetes node pool created nodes.
	// Taints of kubernetes node pool created nodes.
	Taints []TaintsObservation `json:"taints,omitempty" tf:"taints,omitempty"`

	// Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
	// Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`.
	TerminationPolicies []*string `json:"terminationPolicies,omitempty" tf:"termination_policies,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

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

	// List of auto scaling group available zones, for Basic network it is required.
	// List of auto scaling group available zones, for Basic network it is required.
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*NodePoolObservation) DeepCopy

func (in *NodePoolObservation) DeepCopy() *NodePoolObservation

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

func (*NodePoolObservation) DeepCopyInto

func (in *NodePoolObservation) DeepCopyInto(out *NodePoolObservation)

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

type NodePoolParameters

type NodePoolParameters struct {

	// Auto scaling config parameters.
	// Auto scaling config parameters.
	// +kubebuilder:validation:Optional
	AutoScalingConfig []AutoScalingConfigParameters `json:"autoScalingConfig,omitempty" tf:"auto_scaling_config,omitempty"`

	// ID of the cluster.
	// ID of the cluster.
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Seconds of scaling group cool down. Default value is 300.
	// Seconds of scaling group cool down. Default value is `300`.
	// +kubebuilder:validation:Optional
	DefaultCooldown *float64 `json:"defaultCooldown,omitempty" tf:"default_cooldown,omitempty"`

	// Indicate to keep the CVM instance when delete the node pool. Default is true.
	// Indicate to keep the CVM instance when delete the node pool. Default is `true`.
	// +kubebuilder:validation:Optional
	DeleteKeepInstance *bool `json:"deleteKeepInstance,omitempty" tf:"delete_keep_instance,omitempty"`

	// Indicates whether the node pool deletion protection is enabled.
	// Indicates whether the node pool deletion protection is enabled.
	// +kubebuilder:validation:Optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
	// Desired capacity of the node. If `enable_auto_scale` is set `true`, this will be a computed parameter.
	// +kubebuilder:validation:Optional
	DesiredCapacity *float64 `json:"desiredCapacity,omitempty" tf:"desired_capacity,omitempty"`

	// Indicate whether to enable auto scaling or not.
	// Indicate whether to enable auto scaling or not.
	// +kubebuilder:validation:Optional
	EnableAutoScale *bool `json:"enableAutoScale,omitempty" tf:"enable_auto_scale,omitempty"`

	// Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Maximum number of node.
	// Maximum number of node.
	// +kubebuilder:validation:Optional
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// Minimum number of node.
	// Minimum number of node.
	// +kubebuilder:validation:Optional
	MinSize *float64 `json:"minSize,omitempty" tf:"min_size,omitempty"`

	// Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
	// Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
	// +kubebuilder:validation:Optional
	MultiZoneSubnetPolicy *string `json:"multiZoneSubnetPolicy,omitempty" tf:"multi_zone_subnet_policy,omitempty"`

	// Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
	// Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Node config.
	// Node config.
	// +kubebuilder:validation:Optional
	NodeConfig []NodeConfigParameters `json:"nodeConfig,omitempty" tf:"node_config,omitempty"`

	// Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
	// Operating system of the cluster. Please refer to [TencentCloud Documentation](https://www.tencentcloud.com/document/product/457/46750?lang=en&pg=#list-of-public-images-supported-by-tke) for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
	// +kubebuilder:validation:Optional
	NodeOs *string `json:"nodeOs,omitempty" tf:"node_os,omitempty"`

	// The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
	// The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes.
	// +kubebuilder:validation:Optional
	NodeOsType *string `json:"nodeOsType,omitempty" tf:"node_os_type,omitempty"`

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

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

	// Project ID the scaling group belongs to.
	// Project ID the scaling group belongs to.
	// +kubebuilder:validation:Optional
	ScalingGroupProjectID *float64 `json:"scalingGroupProjectId,omitempty" tf:"scaling_group_project_id,omitempty"`

	// Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
	// Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
	// +kubebuilder:validation:Optional
	ScalingMode *string `json:"scalingMode,omitempty" tf:"scaling_mode,omitempty"`

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

	// Node pool tag specifications, will passthroughs to the scaling instances.
	// Node pool tag specifications, will passthroughs to the scaling instances.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Taints of kubernetes node pool created nodes.
	// Taints of kubernetes node pool created nodes.
	// +kubebuilder:validation:Optional
	Taints []TaintsParameters `json:"taints,omitempty" tf:"taints,omitempty"`

	// Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
	// Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`.
	// +kubebuilder:validation:Optional
	TerminationPolicies []*string `json:"terminationPolicies,omitempty" tf:"termination_policies,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// +kubebuilder:validation:Optional
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// ID of VPC network.
	// ID of VPC network.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.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:"-"`

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

func (*NodePoolParameters) DeepCopy

func (in *NodePoolParameters) DeepCopy() *NodePoolParameters

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

func (*NodePoolParameters) DeepCopyInto

func (in *NodePoolParameters) DeepCopyInto(out *NodePoolParameters)

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

type NodePoolSpec

type NodePoolSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NodePoolParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider NodePoolInitParameters `json:"initProvider,omitempty"`
}

NodePoolSpec defines the desired state of NodePool

func (*NodePoolSpec) DeepCopy

func (in *NodePoolSpec) DeepCopy() *NodePoolSpec

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

func (*NodePoolSpec) DeepCopyInto

func (in *NodePoolSpec) DeepCopyInto(out *NodePoolSpec)

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

type NodePoolStatus

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

NodePoolStatus defines the observed state of NodePool.

func (*NodePoolStatus) DeepCopy

func (in *NodePoolStatus) DeepCopy() *NodePoolStatus

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

func (*NodePoolStatus) DeepCopyInto

func (in *NodePoolStatus) DeepCopyInto(out *NodePoolStatus)

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

type ScaleWorker

type ScaleWorker struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.workerConfig) || (has(self.initProvider) && has(self.initProvider.workerConfig))",message="spec.forProvider.workerConfig is a required parameter"
	Spec   ScaleWorkerSpec   `json:"spec"`
	Status ScaleWorkerStatus `json:"status,omitempty"`
}

ScaleWorker is the Schema for the ScaleWorkers API. Provide a resource to increase instance to cluster +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*ScaleWorker) DeepCopy

func (in *ScaleWorker) DeepCopy() *ScaleWorker

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

func (*ScaleWorker) DeepCopyInto

func (in *ScaleWorker) DeepCopyInto(out *ScaleWorker)

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

func (*ScaleWorker) DeepCopyObject

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

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

func (*ScaleWorker) GetCondition

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

GetCondition of this ScaleWorker.

func (*ScaleWorker) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ScaleWorker

func (*ScaleWorker) GetDeletionPolicy

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

GetDeletionPolicy of this ScaleWorker.

func (*ScaleWorker) GetID

func (tr *ScaleWorker) GetID() string

GetID returns ID of underlying Terraform resource of this ScaleWorker

func (*ScaleWorker) GetInitParameters added in v0.8.0

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

GetInitParameters of this ScaleWorker

func (*ScaleWorker) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this ScaleWorker.

func (*ScaleWorker) GetMergedParameters added in v0.8.1

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

GetInitParameters of this ScaleWorker

func (*ScaleWorker) GetObservation

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

GetObservation of this ScaleWorker

func (*ScaleWorker) GetParameters

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

GetParameters of this ScaleWorker

func (*ScaleWorker) GetProviderConfigReference

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

GetProviderConfigReference of this ScaleWorker.

func (*ScaleWorker) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ScaleWorker.

func (*ScaleWorker) GetTerraformResourceType

func (mg *ScaleWorker) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ScaleWorker

func (*ScaleWorker) GetTerraformSchemaVersion

func (tr *ScaleWorker) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ScaleWorker) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ScaleWorker.

func (*ScaleWorker) Hub added in v0.8.1

func (tr *ScaleWorker) Hub()

Hub marks this type as a conversion hub.

func (*ScaleWorker) LateInitialize

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

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

func (*ScaleWorker) ResolveReferences

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

ResolveReferences of this ScaleWorker.

func (*ScaleWorker) SetConditions

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

SetConditions of this ScaleWorker.

func (*ScaleWorker) SetDeletionPolicy

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

SetDeletionPolicy of this ScaleWorker.

func (*ScaleWorker) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this ScaleWorker.

func (*ScaleWorker) SetObservation

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

SetObservation for this ScaleWorker

func (*ScaleWorker) SetParameters

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

SetParameters for this ScaleWorker

func (*ScaleWorker) SetProviderConfigReference

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

SetProviderConfigReference of this ScaleWorker.

func (*ScaleWorker) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ScaleWorker.

func (*ScaleWorker) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ScaleWorker.

type ScaleWorkerDataDiskInitParameters added in v0.8.0

type ScaleWorkerDataDiskInitParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*ScaleWorkerDataDiskInitParameters) DeepCopy added in v0.8.0

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

func (*ScaleWorkerDataDiskInitParameters) DeepCopyInto added in v0.8.0

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

type ScaleWorkerDataDiskObservation

type ScaleWorkerDataDiskObservation struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*ScaleWorkerDataDiskObservation) DeepCopy

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

func (*ScaleWorkerDataDiskObservation) DeepCopyInto

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

type ScaleWorkerDataDiskParameters

type ScaleWorkerDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*ScaleWorkerDataDiskParameters) DeepCopy

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

func (*ScaleWorkerDataDiskParameters) DeepCopyInto

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

type ScaleWorkerGpuArgsInitParameters added in v0.8.0

type ScaleWorkerGpuArgsInitParameters struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*ScaleWorkerGpuArgsInitParameters) DeepCopy added in v0.8.0

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

func (*ScaleWorkerGpuArgsInitParameters) DeepCopyInto added in v0.8.0

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

type ScaleWorkerGpuArgsObservation added in v0.7.0

type ScaleWorkerGpuArgsObservation struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*ScaleWorkerGpuArgsObservation) DeepCopy added in v0.7.0

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

func (*ScaleWorkerGpuArgsObservation) DeepCopyInto added in v0.7.0

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

type ScaleWorkerGpuArgsParameters added in v0.7.0

type ScaleWorkerGpuArgsParameters struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	// +kubebuilder:validation:Optional
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*ScaleWorkerGpuArgsParameters) DeepCopy added in v0.7.0

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

func (*ScaleWorkerGpuArgsParameters) DeepCopyInto added in v0.7.0

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

type ScaleWorkerInitParameters added in v0.8.0

type ScaleWorkerInitParameters struct {

	// ID of the cluster.
	// ID of the cluster.
	// +crossplane:generate:reference:type=Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []ScaleWorkerDataDiskInitParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node.
	// Custom parameter information related to the node.
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	GpuArgs []ScaleWorkerGpuArgsInitParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Labels of kubernetes scale worker created nodes.
	// Labels of kubernetes scale worker created nodes.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target. Default is not mounting.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
	// Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
	WorkerConfig []ScaleWorkerWorkerConfigInitParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`
}

func (*ScaleWorkerInitParameters) DeepCopy added in v0.8.0

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

func (*ScaleWorkerInitParameters) DeepCopyInto added in v0.8.0

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

type ScaleWorkerList

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

ScaleWorkerList contains a list of ScaleWorkers

func (*ScaleWorkerList) DeepCopy

func (in *ScaleWorkerList) DeepCopy() *ScaleWorkerList

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

func (*ScaleWorkerList) DeepCopyInto

func (in *ScaleWorkerList) DeepCopyInto(out *ScaleWorkerList)

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

func (*ScaleWorkerList) DeepCopyObject

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

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

func (*ScaleWorkerList) GetItems

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

GetItems of this ScaleWorkerList.

type ScaleWorkerObservation

type ScaleWorkerObservation struct {

	// ID of the cluster.
	// ID of the cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []ScaleWorkerDataDiskObservation `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node.
	// Custom parameter information related to the node.
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	GpuArgs []ScaleWorkerGpuArgsObservation `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

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

	// Labels of kubernetes scale worker created nodes.
	// Labels of kubernetes scale worker created nodes.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target. Default is not mounting.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
	// Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
	WorkerConfig []ScaleWorkerWorkerConfigObservation `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`

	// An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
	// An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
	WorkerInstancesList []ScaleWorkerWorkerInstancesListObservation `json:"workerInstancesList,omitempty" tf:"worker_instances_list,omitempty"`
}

func (*ScaleWorkerObservation) DeepCopy

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

func (*ScaleWorkerObservation) DeepCopyInto

func (in *ScaleWorkerObservation) DeepCopyInto(out *ScaleWorkerObservation)

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

type ScaleWorkerParameters

type ScaleWorkerParameters struct {

	// ID of the cluster.
	// ID of the cluster.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

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

	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node.
	// Custom parameter information related to the node.
	// +kubebuilder:validation:Optional
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	// +kubebuilder:validation:Optional
	GpuArgs []ScaleWorkerGpuArgsParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Labels of kubernetes scale worker created nodes.
	// Labels of kubernetes scale worker created nodes.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target. Default is not mounting.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// +kubebuilder:validation:Optional
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
	// Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
	// +kubebuilder:validation:Optional
	WorkerConfig []ScaleWorkerWorkerConfigParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`
}

func (*ScaleWorkerParameters) DeepCopy

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

func (*ScaleWorkerParameters) DeepCopyInto

func (in *ScaleWorkerParameters) DeepCopyInto(out *ScaleWorkerParameters)

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

type ScaleWorkerSpec

type ScaleWorkerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScaleWorkerParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ScaleWorkerInitParameters `json:"initProvider,omitempty"`
}

ScaleWorkerSpec defines the desired state of ScaleWorker

func (*ScaleWorkerSpec) DeepCopy

func (in *ScaleWorkerSpec) DeepCopy() *ScaleWorkerSpec

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

func (*ScaleWorkerSpec) DeepCopyInto

func (in *ScaleWorkerSpec) DeepCopyInto(out *ScaleWorkerSpec)

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

type ScaleWorkerStatus

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

ScaleWorkerStatus defines the observed state of ScaleWorker.

func (*ScaleWorkerStatus) DeepCopy

func (in *ScaleWorkerStatus) DeepCopy() *ScaleWorkerStatus

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

func (*ScaleWorkerStatus) DeepCopyInto

func (in *ScaleWorkerStatus) DeepCopyInto(out *ScaleWorkerStatus)

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

type ScaleWorkerWorkerConfigDataDiskInitParameters added in v0.8.0

type ScaleWorkerWorkerConfigDataDiskInitParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// The name of the device or partition to mount.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default false.
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

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

func (*ScaleWorkerWorkerConfigDataDiskInitParameters) DeepCopy added in v0.8.0

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

func (*ScaleWorkerWorkerConfigDataDiskInitParameters) DeepCopyInto added in v0.8.0

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

type ScaleWorkerWorkerConfigDataDiskObservation

type ScaleWorkerWorkerConfigDataDiskObservation struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// The name of the device or partition to mount.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default false.
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

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

func (*ScaleWorkerWorkerConfigDataDiskObservation) DeepCopy

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

func (*ScaleWorkerWorkerConfigDataDiskObservation) DeepCopyInto

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

type ScaleWorkerWorkerConfigDataDiskParameters

type ScaleWorkerWorkerConfigDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// The name of the device or partition to mount.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default false.
	// Indicates whether to encrypt data disk, default `false`.
	// +kubebuilder:validation:Optional
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

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

func (*ScaleWorkerWorkerConfigDataDiskParameters) DeepCopy

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

func (*ScaleWorkerWorkerConfigDataDiskParameters) DeepCopyInto

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

type ScaleWorkerWorkerConfigInitParameters added in v0.8.0

type ScaleWorkerWorkerConfigInitParameters struct {

	// Indicates which availability zone will be used.
	// Indicates which availability zone will be used.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

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

	// Number of cvm.
	// Number of cvm.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []ScaleWorkerWorkerConfigDataDiskInitParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

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

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

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// Id of cvm hpc cluster.
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// The valid image id, format of img-xxx.
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is 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.
	// The tenancy (time unit is 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`.
	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.
	// 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`.
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Name of the CVMs.
	// Name of the CVMs.
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

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

	// ID list of keys, should be set if password not set.
	// ID list of keys, should be set if `password` not set.
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

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

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

	// Private network ID.
	// Private network ID.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

	// System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

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

func (*ScaleWorkerWorkerConfigInitParameters) DeepCopy added in v0.8.0

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

func (*ScaleWorkerWorkerConfigInitParameters) DeepCopyInto added in v0.8.0

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

type ScaleWorkerWorkerConfigObservation

type ScaleWorkerWorkerConfigObservation struct {

	// Indicates which availability zone will be used.
	// Indicates which availability zone will be used.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

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

	// Number of cvm.
	// Number of cvm.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []ScaleWorkerWorkerConfigDataDiskObservation `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

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

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

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// Id of cvm hpc cluster.
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// The valid image id, format of img-xxx.
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is 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.
	// The tenancy (time unit is 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`.
	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.
	// 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`.
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Name of the CVMs.
	// Name of the CVMs.
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

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

	// ID list of keys, should be set if password not set.
	// ID list of keys, should be set if `password` not set.
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

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

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

	// Private network ID.
	// Private network ID.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

	// System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

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

func (*ScaleWorkerWorkerConfigObservation) DeepCopy

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

func (*ScaleWorkerWorkerConfigObservation) DeepCopyInto

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

type ScaleWorkerWorkerConfigParameters

type ScaleWorkerWorkerConfigParameters struct {

	// Indicates which availability zone will be used.
	// Indicates which availability zone will be used.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// +kubebuilder:validation:Optional
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

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

	// Number of cvm.
	// Number of cvm.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

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

	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// +kubebuilder:validation:Optional
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

	// To specify whether to enable cloud monitor service. Default is TRUE.
	// 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.
	// To specify whether to enable cloud security service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedSecurityService *bool `json:"enhancedSecurityService,omitempty" tf:"enhanced_security_service,omitempty"`

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// Id of cvm hpc cluster.
	// +kubebuilder:validation:Optional
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// The valid image id, format of img-xxx.
	// +kubebuilder:validation:Optional
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// +kubebuilder:validation:Optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is 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.
	// The tenancy (time unit is 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.
	// 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"`

	// Name of the CVMs.
	// Name of the CVMs.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	// +kubebuilder:validation:Optional
	InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`

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

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

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

	// Password to access, should be set if key_ids not set.
	// Password to access, should be set if `key_ids` not set.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specify whether to assign an Internet IP address.
	// 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.
	// Security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// Private network ID.
	// Private network ID.
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"`

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

	// System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	// +kubebuilder:validation:Optional
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

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

func (*ScaleWorkerWorkerConfigParameters) DeepCopy

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

func (*ScaleWorkerWorkerConfigParameters) DeepCopyInto

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

type ScaleWorkerWorkerInstancesListInitParameters added in v0.8.0

type ScaleWorkerWorkerInstancesListInitParameters struct {
}

func (*ScaleWorkerWorkerInstancesListInitParameters) DeepCopy added in v0.8.0

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

func (*ScaleWorkerWorkerInstancesListInitParameters) DeepCopyInto added in v0.8.0

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

type ScaleWorkerWorkerInstancesListObservation

type ScaleWorkerWorkerInstancesListObservation struct {

	// Information of the cvm when it is failed.
	FailedReason *string `json:"failedReason,omitempty" tf:"failed_reason,omitempty"`

	// ID of the cvm.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// Role of the cvm.
	InstanceRole *string `json:"instanceRole,omitempty" tf:"instance_role,omitempty"`

	// State of the cvm.
	InstanceState *string `json:"instanceState,omitempty" tf:"instance_state,omitempty"`

	// LAN IP of the cvm.
	LanIP *string `json:"lanIp,omitempty" tf:"lan_ip,omitempty"`
}

func (*ScaleWorkerWorkerInstancesListObservation) DeepCopy

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

func (*ScaleWorkerWorkerInstancesListObservation) DeepCopyInto

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

type ScaleWorkerWorkerInstancesListParameters

type ScaleWorkerWorkerInstancesListParameters struct {
}

func (*ScaleWorkerWorkerInstancesListParameters) DeepCopy

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

func (*ScaleWorkerWorkerInstancesListParameters) DeepCopyInto

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

type TaintsInitParameters added in v0.8.0

type TaintsInitParameters struct {

	// Effect of the taint. Valid values are: NoSchedule, PreferNoSchedule, NoExecute.
	// Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`.
	Effect *string `json:"effect,omitempty" tf:"effect,omitempty"`

	// Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Value of the taint.
	// Value of the taint.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TaintsInitParameters) DeepCopy added in v0.8.0

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

func (*TaintsInitParameters) DeepCopyInto added in v0.8.0

func (in *TaintsInitParameters) DeepCopyInto(out *TaintsInitParameters)

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

type TaintsObservation

type TaintsObservation struct {

	// Effect of the taint. Valid values are: NoSchedule, PreferNoSchedule, NoExecute.
	// Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`.
	Effect *string `json:"effect,omitempty" tf:"effect,omitempty"`

	// Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Value of the taint.
	// Value of the taint.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TaintsObservation) DeepCopy

func (in *TaintsObservation) DeepCopy() *TaintsObservation

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

func (*TaintsObservation) DeepCopyInto

func (in *TaintsObservation) DeepCopyInto(out *TaintsObservation)

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

type TaintsParameters

type TaintsParameters struct {

	// Effect of the taint. Valid values are: NoSchedule, PreferNoSchedule, NoExecute.
	// Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`.
	// +kubebuilder:validation:Optional
	Effect *string `json:"effect" tf:"effect,omitempty"`

	// Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// +kubebuilder:validation:Optional
	Key *string `json:"key" tf:"key,omitempty"`

	// Value of the taint.
	// Value of the taint.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*TaintsParameters) DeepCopy

func (in *TaintsParameters) DeepCopy() *TaintsParameters

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

func (*TaintsParameters) DeepCopyInto

func (in *TaintsParameters) DeepCopyInto(out *TaintsParameters)

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

type WorkerConfigDataDiskInitParameters added in v0.8.0

type WorkerConfigDataDiskInitParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// The name of the device or partition to mount.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default false.
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

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

func (*WorkerConfigDataDiskInitParameters) DeepCopy added in v0.8.0

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

func (*WorkerConfigDataDiskInitParameters) DeepCopyInto added in v0.8.0

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

type WorkerConfigDataDiskObservation

type WorkerConfigDataDiskObservation struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// The name of the device or partition to mount.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default false.
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

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

func (*WorkerConfigDataDiskObservation) DeepCopy

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

func (*WorkerConfigDataDiskObservation) DeepCopyInto

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

type WorkerConfigDataDiskParameters

type WorkerConfigDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// The name of the device or partition to mount.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default false.
	// Indicates whether to encrypt data disk, default `false`.
	// +kubebuilder:validation:Optional
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target. Default is not mounting.
	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

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

func (*WorkerConfigDataDiskParameters) DeepCopy

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

func (*WorkerConfigDataDiskParameters) DeepCopyInto

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

type WorkerConfigInitParameters added in v0.8.0

type WorkerConfigInitParameters struct {

	// Indicates which availability zone will be used.
	// Indicates which availability zone will be used.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

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

	// Number of cvm.
	// Number of cvm.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []WorkerConfigDataDiskInitParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

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

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

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// Id of cvm hpc cluster.
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// The valid image id, format of img-xxx.
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is 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.
	// The tenancy (time unit is 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`.
	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.
	// 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`.
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Name of the CVMs.
	// Name of the CVMs.
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

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

	// ID list of keys, should be set if password not set.
	// ID list of keys, should be set if `password` not set.
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

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

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

	// Private network ID.
	// Private network ID.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

	// System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

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

func (*WorkerConfigInitParameters) DeepCopy added in v0.8.0

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

func (*WorkerConfigInitParameters) DeepCopyInto added in v0.8.0

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

type WorkerConfigObservation

type WorkerConfigObservation struct {

	// Indicates which availability zone will be used.
	// Indicates which availability zone will be used.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

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

	// Number of cvm.
	// Number of cvm.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []WorkerConfigDataDiskObservation `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

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

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

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// Id of cvm hpc cluster.
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// The valid image id, format of img-xxx.
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is 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.
	// The tenancy (time unit is 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`.
	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.
	// 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`.
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Name of the CVMs.
	// Name of the CVMs.
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

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

	// ID list of keys, should be set if password not set.
	// ID list of keys, should be set if `password` not set.
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

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

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

	// Private network ID.
	// Private network ID.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

	// System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

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

func (*WorkerConfigObservation) DeepCopy

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

func (*WorkerConfigObservation) DeepCopyInto

func (in *WorkerConfigObservation) DeepCopyInto(out *WorkerConfigObservation)

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

type WorkerConfigOverridesDataDiskInitParameters added in v0.8.0

type WorkerConfigOverridesDataDiskInitParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*WorkerConfigOverridesDataDiskInitParameters) DeepCopy added in v0.8.0

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

func (*WorkerConfigOverridesDataDiskInitParameters) DeepCopyInto added in v0.8.0

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

type WorkerConfigOverridesDataDiskObservation

type WorkerConfigOverridesDataDiskObservation struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// Mount target.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*WorkerConfigOverridesDataDiskObservation) DeepCopy

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

func (*WorkerConfigOverridesDataDiskObservation) DeepCopyInto

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

type WorkerConfigOverridesDataDiskParameters

type WorkerConfigOverridesDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is false.
	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

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

	// Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
	// Types of disk. Valid value: `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, `CLOUD_HSSD`, `CLOUD_TSSD` and `CLOUD_BSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. ext3/ext4/xfs.
	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*WorkerConfigOverridesDataDiskParameters) DeepCopy

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

func (*WorkerConfigOverridesDataDiskParameters) DeepCopyInto

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

type WorkerConfigOverridesGpuArgsInitParameters added in v0.8.0

type WorkerConfigOverridesGpuArgsInitParameters struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*WorkerConfigOverridesGpuArgsInitParameters) DeepCopy added in v0.8.0

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

func (*WorkerConfigOverridesGpuArgsInitParameters) DeepCopyInto added in v0.8.0

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

type WorkerConfigOverridesGpuArgsObservation added in v0.7.0

type WorkerConfigOverridesGpuArgsObservation struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*WorkerConfigOverridesGpuArgsObservation) DeepCopy added in v0.7.0

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

func (*WorkerConfigOverridesGpuArgsObservation) DeepCopyInto added in v0.7.0

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

type WorkerConfigOverridesGpuArgsParameters added in v0.7.0

type WorkerConfigOverridesGpuArgsParameters struct {

	// CUDA  version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// Whether to enable MIG.
	// +kubebuilder:validation:Optional
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*WorkerConfigOverridesGpuArgsParameters) DeepCopy added in v0.7.0

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

func (*WorkerConfigOverridesGpuArgsParameters) DeepCopyInto added in v0.7.0

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

type WorkerConfigOverridesInitParameters added in v0.8.0

type WorkerConfigOverridesInitParameters struct {

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []WorkerConfigOverridesDataDiskInitParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	GpuArgs []WorkerConfigOverridesGpuArgsInitParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target.
	// Mount target. Default is not mounting.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	PreStartUserScript *string `json:"preStartUserScript,omitempty" tf:"pre_start_user_script,omitempty"`

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

func (*WorkerConfigOverridesInitParameters) DeepCopy added in v0.8.0

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

func (*WorkerConfigOverridesInitParameters) DeepCopyInto added in v0.8.0

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

type WorkerConfigOverridesObservation

type WorkerConfigOverridesObservation struct {

	// Configurations of data disk.
	// Configurations of data disk.
	DataDisk []WorkerConfigOverridesDataDiskObservation `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	GpuArgs []WorkerConfigOverridesGpuArgsObservation `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target.
	// Mount target. Default is not mounting.
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	PreStartUserScript *string `json:"preStartUserScript,omitempty" tf:"pre_start_user_script,omitempty"`

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

func (*WorkerConfigOverridesObservation) DeepCopy

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

func (*WorkerConfigOverridesObservation) DeepCopyInto

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

type WorkerConfigOverridesParameters

type WorkerConfigOverridesParameters struct {

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

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is /var/lib/docker.
	// Docker graph path. Default is `/var/lib/docker`.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// Custom parameter information related to the node. This is a white-list parameter.
	// +kubebuilder:validation:Optional
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// GPU driver parameters.
	// +kubebuilder:validation:Optional
	GpuArgs []WorkerConfigOverridesGpuArgsParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// Indicate to schedule the adding node or not. Default is true.
	// +kubebuilder:validation:Optional
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target.
	// Mount target. Default is not mounting.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
	// +kubebuilder:validation:Optional
	PreStartUserScript *string `json:"preStartUserScript,omitempty" tf:"pre_start_user_script,omitempty"`

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

func (*WorkerConfigOverridesParameters) DeepCopy

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

func (*WorkerConfigOverridesParameters) DeepCopyInto

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

type WorkerConfigParameters

type WorkerConfigParameters struct {

	// Indicates which availability zone will be used.
	// Indicates which availability zone will be used.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// +kubebuilder:validation:Optional
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

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

	// Number of cvm.
	// Number of cvm.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

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

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// +kubebuilder:validation:Optional
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

	// To specify whether to enable cloud monitor service. Default is TRUE.
	// 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.
	// To specify whether to enable cloud security service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedSecurityService *bool `json:"enhancedSecurityService,omitempty" tf:"enhanced_security_service,omitempty"`

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// Id of cvm hpc cluster.
	// +kubebuilder:validation:Optional
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// The valid image id, format of img-xxx.
	// +kubebuilder:validation:Optional
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// +kubebuilder:validation:Optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is 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.
	// The tenancy (time unit is 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.
	// 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"`

	// Name of the CVMs.
	// Name of the CVMs.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// Specified types of CVM instance.
	// +kubebuilder:validation:Optional
	InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`

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

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

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

	// Password to access, should be set if key_ids not set.
	// Password to access, should be set if `key_ids` not set.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specify whether to assign an Internet IP address.
	// 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.
	// Security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// Private network ID.
	// Private network ID.
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"`

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

	// System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	// +kubebuilder:validation:Optional
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

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

func (*WorkerConfigParameters) DeepCopy

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

func (*WorkerConfigParameters) DeepCopyInto

func (in *WorkerConfigParameters) DeepCopyInto(out *WorkerConfigParameters)

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

type WorkerInstancesListInitParameters added in v0.8.0

type WorkerInstancesListInitParameters struct {
}

func (*WorkerInstancesListInitParameters) DeepCopy added in v0.8.0

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

func (*WorkerInstancesListInitParameters) DeepCopyInto added in v0.8.0

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

type WorkerInstancesListObservation

type WorkerInstancesListObservation struct {

	// Information of the cvm when it is failed.
	FailedReason *string `json:"failedReason,omitempty" tf:"failed_reason,omitempty"`

	// ID of the cvm.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// Role of the cvm.
	InstanceRole *string `json:"instanceRole,omitempty" tf:"instance_role,omitempty"`

	// State of the cvm.
	InstanceState *string `json:"instanceState,omitempty" tf:"instance_state,omitempty"`

	// LAN IP of the cvm.
	LanIP *string `json:"lanIp,omitempty" tf:"lan_ip,omitempty"`
}

func (*WorkerInstancesListObservation) DeepCopy

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

func (*WorkerInstancesListObservation) DeepCopyInto

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

type WorkerInstancesListParameters

type WorkerInstancesListParameters struct {
}

func (*WorkerInstancesListParameters) DeepCopy

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

func (*WorkerInstancesListParameters) 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