v1alpha1

package
v0.7.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 (
	Instance_Kind             = "Instance"
	Instance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String()
	Instance_KindAPIVersion   = Instance_Kind + "." + CRDGroupVersion.String()
	Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind)
)

Repository type metadata.

View Source
var (
	ReadonlyAttachment_Kind             = "ReadonlyAttachment"
	ReadonlyAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ReadonlyAttachment_Kind}.String()
	ReadonlyAttachment_KindAPIVersion   = ReadonlyAttachment_Kind + "." + CRDGroupVersion.String()
	ReadonlyAttachment_GroupVersionKind = CRDGroupVersion.WithKind(ReadonlyAttachment_Kind)
)

Repository type metadata.

View Source
var (
	ReadonlyGroup_Kind             = "ReadonlyGroup"
	ReadonlyGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ReadonlyGroup_Kind}.String()
	ReadonlyGroup_KindAPIVersion   = ReadonlyGroup_Kind + "." + CRDGroupVersion.String()
	ReadonlyGroup_GroupVersionKind = CRDGroupVersion.WithKind(ReadonlyGroup_Kind)
)

Repository type metadata.

View Source
var (
	ReadonlyInstance_Kind             = "ReadonlyInstance"
	ReadonlyInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ReadonlyInstance_Kind}.String()
	ReadonlyInstance_KindAPIVersion   = ReadonlyInstance_Kind + "." + CRDGroupVersion.String()
	ReadonlyInstance_GroupVersionKind = CRDGroupVersion.WithKind(ReadonlyInstance_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BackupPlanObservation

type BackupPlanObservation struct {
}

func (*BackupPlanObservation) DeepCopy

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

func (*BackupPlanObservation) DeepCopyInto

func (in *BackupPlanObservation) DeepCopyInto(out *BackupPlanObservation)

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

type BackupPlanParameters

type BackupPlanParameters struct {

	// List of backup period per week, available values: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. NOTE: At least specify two days.
	// +kubebuilder:validation:Optional
	BackupPeriod []*string `json:"backupPeriod,omitempty" tf:"backup_period,omitempty"`

	// Specify days of the retention.
	// +kubebuilder:validation:Optional
	BaseBackupRetentionPeriod *float64 `json:"baseBackupRetentionPeriod,omitempty" tf:"base_backup_retention_period,omitempty"`

	// Specify latest backup start time, format `hh:mm:ss`.
	// +kubebuilder:validation:Optional
	MaxBackupStartTime *string `json:"maxBackupStartTime,omitempty" tf:"max_backup_start_time,omitempty"`

	// Specify earliest backup start time, format `hh:mm:ss`.
	// +kubebuilder:validation:Optional
	MinBackupStartTime *string `json:"minBackupStartTime,omitempty" tf:"min_backup_start_time,omitempty"`
}

func (*BackupPlanParameters) DeepCopy

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

func (*BackupPlanParameters) DeepCopyInto

func (in *BackupPlanParameters) DeepCopyInto(out *BackupPlanParameters)

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

type DBNodeSetObservation

type DBNodeSetObservation struct {
}

func (*DBNodeSetObservation) DeepCopy

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

func (*DBNodeSetObservation) DeepCopyInto

func (in *DBNodeSetObservation) DeepCopyInto(out *DBNodeSetObservation)

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

type DBNodeSetParameters

type DBNodeSetParameters struct {

	// Indicates node type, available values:`Primary`, `Standby`. Default: `Standby`.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Indicates the node available zone.
	// +kubebuilder:validation:Required
	Zone *string `json:"zone" tf:"zone,omitempty"`
}

func (*DBNodeSetParameters) DeepCopy

func (in *DBNodeSetParameters) DeepCopy() *DBNodeSetParameters

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

func (*DBNodeSetParameters) DeepCopyInto

func (in *DBNodeSetParameters) DeepCopyInto(out *DBNodeSetParameters)

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

type Instance

type Instance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstanceSpec   `json:"spec"`
	Status            InstanceStatus `json:"status,omitempty"`
}

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

func (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto

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

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

func (*Instance) DeepCopyObject

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

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

func (*Instance) GetCondition

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

GetCondition of this Instance.

func (*Instance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Instance

func (*Instance) GetDeletionPolicy

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

GetDeletionPolicy of this Instance.

func (*Instance) GetID

func (tr *Instance) GetID() string

GetID returns ID of underlying Terraform resource of this Instance

func (*Instance) GetObservation

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

GetObservation of this Instance

func (*Instance) GetParameters

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

GetParameters of this Instance

func (*Instance) GetProviderConfigReference

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

GetProviderConfigReference of this Instance.

func (*Instance) GetProviderReference

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

GetProviderReference of this Instance. Deprecated: Use GetProviderConfigReference.

func (*Instance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Instance.

func (*Instance) GetTerraformResourceType

func (mg *Instance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Instance

func (*Instance) GetTerraformSchemaVersion

func (tr *Instance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Instance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Instance.

func (*Instance) LateInitialize

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

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

func (*Instance) ResolveReferences

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

ResolveReferences of this Instance.

func (*Instance) SetConditions

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

SetConditions of this Instance.

func (*Instance) SetDeletionPolicy

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

SetDeletionPolicy of this Instance.

func (*Instance) SetObservation

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

SetObservation for this Instance

func (*Instance) SetParameters

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

SetParameters for this Instance

func (*Instance) SetProviderConfigReference

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

SetProviderConfigReference of this Instance.

func (*Instance) SetProviderReference

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

SetProviderReference of this Instance. Deprecated: Use SetProviderConfigReference.

func (*Instance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Instance.

func (*Instance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Instance.

type InstanceList

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

InstanceList contains a list of Instances

func (*InstanceList) DeepCopy

func (in *InstanceList) DeepCopy() *InstanceList

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

func (*InstanceList) DeepCopyInto

func (in *InstanceList) DeepCopyInto(out *InstanceList)

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

func (*InstanceList) DeepCopyObject

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

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

func (*InstanceList) GetItems

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

GetItems of this InstanceList.

type InstanceObservation

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

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

	PrivateAccessIP *string `json:"privateAccessIp,omitempty" tf:"private_access_ip,omitempty"`

	PrivateAccessPort *float64 `json:"privateAccessPort,omitempty" tf:"private_access_port,omitempty"`

	PublicAccessHost *string `json:"publicAccessHost,omitempty" tf:"public_access_host,omitempty"`

	PublicAccessPort *float64 `json:"publicAccessPort,omitempty" tf:"public_access_port,omitempty"`

	UID *float64 `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*InstanceObservation) DeepCopy

func (in *InstanceObservation) DeepCopy() *InstanceObservation

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

func (*InstanceObservation) DeepCopyInto

func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)

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

type InstanceParameters

type InstanceParameters struct {

	// Availability zone. NOTE: If value modified but included in `db_node_set`, the diff will be suppressed.
	// +kubebuilder:validation:Required
	AvailabilityZone *string `json:"availabilityZone" tf:"availability_zone,omitempty"`

	// Specify DB backup plan.
	// +kubebuilder:validation:Optional
	BackupPlan []BackupPlanParameters `json:"backupPlan,omitempty" tf:"backup_plan,omitempty"`

	// Pay type of the postgresql instance. For now, only `POSTPAID_BY_HOUR` is valid.
	// +kubebuilder:validation:Optional
	ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"`

	// Charset of the root account. Valid values are `UTF8`,`LATIN1`.
	// +kubebuilder:validation:Optional
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// PostgreSQL kernel version number. If it is specified, an instance running kernel DBKernelVersion will be created.
	// +kubebuilder:validation:Optional
	DBKernelVersion *string `json:"dbKernelVersion,omitempty" tf:"db_kernel_version,omitempty"`

	// PostgreSQL major version number. Valid values: 10, 11, 12, 13. If it is specified, an instance running the latest kernel of PostgreSQL DBMajorVersion will be created.
	// +kubebuilder:validation:Optional
	DBMajorVersion *string `json:"dbMajorVersion,omitempty" tf:"db_major_version,omitempty"`

	// PostgreSQL major version number. Valid values: 10, 11, 12, 13. If it is specified, an instance running the latest kernel of PostgreSQL DBMajorVersion will be created.
	// +kubebuilder:validation:Optional
	DBMajorVesion *string `json:"dbMajorVesion,omitempty" tf:"db_major_vesion,omitempty"`

	// Specify instance node info for disaster migration.
	// +kubebuilder:validation:Optional
	DBNodeSet []DBNodeSetParameters `json:"dbNodeSet,omitempty" tf:"db_node_set,omitempty"`

	// Version of the postgresql database engine. Valid values: `10.4`, `11.8`, `12.4`.
	// +kubebuilder:validation:Optional
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// KeyId of the custom key.
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Region of the custom key.
	// +kubebuilder:validation:Optional
	KMSRegion *string `json:"kmsRegion,omitempty" tf:"kms_region,omitempty"`

	// max_standby_archive_delay applies when WAL data is being read from WAL archive (and is therefore not current). Units are milliseconds if not specified.
	// +kubebuilder:validation:Optional
	MaxStandbyArchiveDelay *float64 `json:"maxStandbyArchiveDelay,omitempty" tf:"max_standby_archive_delay,omitempty"`

	// max_standby_streaming_delay applies when WAL data is being received via streaming replication. Units are milliseconds if not specified.
	// +kubebuilder:validation:Optional
	MaxStandbyStreamingDelay *float64 `json:"maxStandbyStreamingDelay,omitempty" tf:"max_standby_streaming_delay,omitempty"`

	// Memory size(in GB). Allowed value must be larger than `memory` that data source `tencentcloud_postgresql_specinfos` provides.
	// +kubebuilder:validation:Required
	Memory *float64 `json:"memory" tf:"memory,omitempty"`

	// Name of the postgresql instance.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Whether to support data transparent encryption, 1: yes, 0: no (default).
	// +kubebuilder:validation:Optional
	NeedSupportTde *float64 `json:"needSupportTde,omitempty" tf:"need_support_tde,omitempty"`

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

	// Indicates whether to enable the access to an instance from public network or not.
	// +kubebuilder:validation:Optional
	PublicAccessSwitch *bool `json:"publicAccessSwitch,omitempty" tf:"public_access_switch,omitempty"`

	// Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
	// +kubebuilder:validation:Required
	RootPasswordSecretRef v1.SecretKeySelector `json:"rootPasswordSecretRef" tf:"-"`

	// Instance root account name. This parameter is optional, Default value is `root`.
	// +kubebuilder:validation:Optional
	RootUser *string `json:"rootUser,omitempty" tf:"root_user,omitempty"`

	// ID of security group. If both vpc_id and subnet_id are not set, this argument should not be set either.
	// +kubebuilder:validation:Optional
	SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`

	// Volume size(in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of `storage_min` and `storage_max` which data source `tencentcloud_postgresql_specinfos` provides.
	// +kubebuilder:validation:Required
	Storage *float64 `json:"storage" tf:"storage,omitempty"`

	// ID of subnet.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

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

	// The available tags within this postgresql.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// ID of VPC.
	// +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"`

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

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

func (*InstanceParameters) DeepCopy

func (in *InstanceParameters) DeepCopy() *InstanceParameters

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

func (*InstanceParameters) DeepCopyInto

func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)

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

type InstanceSpec

type InstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     InstanceParameters `json:"forProvider"`
}

InstanceSpec defines the desired state of Instance

func (*InstanceSpec) DeepCopy

func (in *InstanceSpec) DeepCopy() *InstanceSpec

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

func (*InstanceSpec) DeepCopyInto

func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)

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

type InstanceStatus

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

InstanceStatus defines the observed state of Instance.

func (*InstanceStatus) DeepCopy

func (in *InstanceStatus) DeepCopy() *InstanceStatus

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

func (*InstanceStatus) DeepCopyInto

func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)

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

type ReadonlyAttachment

type ReadonlyAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReadonlyAttachmentSpec   `json:"spec"`
	Status            ReadonlyAttachmentStatus `json:"status,omitempty"`
}

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

func (*ReadonlyAttachment) DeepCopy

func (in *ReadonlyAttachment) DeepCopy() *ReadonlyAttachment

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

func (*ReadonlyAttachment) DeepCopyInto

func (in *ReadonlyAttachment) DeepCopyInto(out *ReadonlyAttachment)

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

func (*ReadonlyAttachment) DeepCopyObject

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

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

func (*ReadonlyAttachment) GetCondition

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

GetCondition of this ReadonlyAttachment.

func (*ReadonlyAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ReadonlyAttachment

func (*ReadonlyAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this ReadonlyAttachment.

func (*ReadonlyAttachment) GetID

func (tr *ReadonlyAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this ReadonlyAttachment

func (*ReadonlyAttachment) GetObservation

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

GetObservation of this ReadonlyAttachment

func (*ReadonlyAttachment) GetParameters

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

GetParameters of this ReadonlyAttachment

func (*ReadonlyAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this ReadonlyAttachment.

func (*ReadonlyAttachment) GetProviderReference

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

GetProviderReference of this ReadonlyAttachment. Deprecated: Use GetProviderConfigReference.

func (*ReadonlyAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ReadonlyAttachment.

func (*ReadonlyAttachment) GetTerraformResourceType

func (mg *ReadonlyAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ReadonlyAttachment

func (*ReadonlyAttachment) GetTerraformSchemaVersion

func (tr *ReadonlyAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ReadonlyAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ReadonlyAttachment.

func (*ReadonlyAttachment) LateInitialize

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

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

func (*ReadonlyAttachment) ResolveReferences

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

ResolveReferences of this ReadonlyAttachment.

func (*ReadonlyAttachment) SetConditions

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

SetConditions of this ReadonlyAttachment.

func (*ReadonlyAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this ReadonlyAttachment.

func (*ReadonlyAttachment) SetObservation

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

SetObservation for this ReadonlyAttachment

func (*ReadonlyAttachment) SetParameters

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

SetParameters for this ReadonlyAttachment

func (*ReadonlyAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this ReadonlyAttachment.

func (*ReadonlyAttachment) SetProviderReference

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

SetProviderReference of this ReadonlyAttachment. Deprecated: Use SetProviderConfigReference.

func (*ReadonlyAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ReadonlyAttachment.

func (*ReadonlyAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ReadonlyAttachment.

type ReadonlyAttachmentList

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

ReadonlyAttachmentList contains a list of ReadonlyAttachments

func (*ReadonlyAttachmentList) DeepCopy

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

func (*ReadonlyAttachmentList) DeepCopyInto

func (in *ReadonlyAttachmentList) DeepCopyInto(out *ReadonlyAttachmentList)

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

func (*ReadonlyAttachmentList) DeepCopyObject

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

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

func (*ReadonlyAttachmentList) GetItems

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

GetItems of this ReadonlyAttachmentList.

type ReadonlyAttachmentObservation

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

func (*ReadonlyAttachmentObservation) DeepCopy

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

func (*ReadonlyAttachmentObservation) DeepCopyInto

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

type ReadonlyAttachmentParameters

type ReadonlyAttachmentParameters struct {

	// Read only instance ID.
	// +crossplane:generate:reference:type=ReadonlyInstance
	// +kubebuilder:validation:Optional
	DBInstanceID *string `json:"dbInstanceId,omitempty" tf:"db_instance_id,omitempty"`

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

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

	// Read only group ID.
	// +crossplane:generate:reference:type=ReadonlyGroup
	// +kubebuilder:validation:Optional
	ReadOnlyGroupID *string `json:"readOnlyGroupId,omitempty" tf:"read_only_group_id,omitempty"`

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

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

func (*ReadonlyAttachmentParameters) DeepCopy

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

func (*ReadonlyAttachmentParameters) DeepCopyInto

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

type ReadonlyAttachmentSpec

type ReadonlyAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ReadonlyAttachmentParameters `json:"forProvider"`
}

ReadonlyAttachmentSpec defines the desired state of ReadonlyAttachment

func (*ReadonlyAttachmentSpec) DeepCopy

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

func (*ReadonlyAttachmentSpec) DeepCopyInto

func (in *ReadonlyAttachmentSpec) DeepCopyInto(out *ReadonlyAttachmentSpec)

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

type ReadonlyAttachmentStatus

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

ReadonlyAttachmentStatus defines the observed state of ReadonlyAttachment.

func (*ReadonlyAttachmentStatus) DeepCopy

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

func (*ReadonlyAttachmentStatus) DeepCopyInto

func (in *ReadonlyAttachmentStatus) DeepCopyInto(out *ReadonlyAttachmentStatus)

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

type ReadonlyGroup

type ReadonlyGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReadonlyGroupSpec   `json:"spec"`
	Status            ReadonlyGroupStatus `json:"status,omitempty"`
}

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

func (*ReadonlyGroup) DeepCopy

func (in *ReadonlyGroup) DeepCopy() *ReadonlyGroup

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

func (*ReadonlyGroup) DeepCopyInto

func (in *ReadonlyGroup) DeepCopyInto(out *ReadonlyGroup)

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

func (*ReadonlyGroup) DeepCopyObject

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

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

func (*ReadonlyGroup) GetCondition

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

GetCondition of this ReadonlyGroup.

func (*ReadonlyGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ReadonlyGroup

func (*ReadonlyGroup) GetDeletionPolicy

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

GetDeletionPolicy of this ReadonlyGroup.

func (*ReadonlyGroup) GetID

func (tr *ReadonlyGroup) GetID() string

GetID returns ID of underlying Terraform resource of this ReadonlyGroup

func (*ReadonlyGroup) GetObservation

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

GetObservation of this ReadonlyGroup

func (*ReadonlyGroup) GetParameters

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

GetParameters of this ReadonlyGroup

func (*ReadonlyGroup) GetProviderConfigReference

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

GetProviderConfigReference of this ReadonlyGroup.

func (*ReadonlyGroup) GetProviderReference

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

GetProviderReference of this ReadonlyGroup. Deprecated: Use GetProviderConfigReference.

func (*ReadonlyGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ReadonlyGroup.

func (*ReadonlyGroup) GetTerraformResourceType

func (mg *ReadonlyGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ReadonlyGroup

func (*ReadonlyGroup) GetTerraformSchemaVersion

func (tr *ReadonlyGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ReadonlyGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ReadonlyGroup.

func (*ReadonlyGroup) LateInitialize

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

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

func (*ReadonlyGroup) ResolveReferences

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

ResolveReferences of this ReadonlyGroup.

func (*ReadonlyGroup) SetConditions

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

SetConditions of this ReadonlyGroup.

func (*ReadonlyGroup) SetDeletionPolicy

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

SetDeletionPolicy of this ReadonlyGroup.

func (*ReadonlyGroup) SetObservation

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

SetObservation for this ReadonlyGroup

func (*ReadonlyGroup) SetParameters

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

SetParameters for this ReadonlyGroup

func (*ReadonlyGroup) SetProviderConfigReference

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

SetProviderConfigReference of this ReadonlyGroup.

func (*ReadonlyGroup) SetProviderReference

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

SetProviderReference of this ReadonlyGroup. Deprecated: Use SetProviderConfigReference.

func (*ReadonlyGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ReadonlyGroup.

func (*ReadonlyGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ReadonlyGroup.

type ReadonlyGroupList

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

ReadonlyGroupList contains a list of ReadonlyGroups

func (*ReadonlyGroupList) DeepCopy

func (in *ReadonlyGroupList) DeepCopy() *ReadonlyGroupList

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

func (*ReadonlyGroupList) DeepCopyInto

func (in *ReadonlyGroupList) DeepCopyInto(out *ReadonlyGroupList)

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

func (*ReadonlyGroupList) DeepCopyObject

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

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

func (*ReadonlyGroupList) GetItems

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

GetItems of this ReadonlyGroupList.

type ReadonlyGroupObservation

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

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

func (*ReadonlyGroupObservation) DeepCopy

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

func (*ReadonlyGroupObservation) DeepCopyInto

func (in *ReadonlyGroupObservation) DeepCopyInto(out *ReadonlyGroupObservation)

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

type ReadonlyGroupParameters

type ReadonlyGroupParameters struct {

	// Primary instance ID.
	// +kubebuilder:validation:Required
	MasterDBInstanceID *string `json:"masterDbInstanceId" tf:"master_db_instance_id,omitempty"`

	// Delay threshold in ms.
	// +kubebuilder:validation:Required
	MaxReplayLag *float64 `json:"maxReplayLag" tf:"max_replay_lag,omitempty"`

	// Delayed log size threshold in MB.
	// +kubebuilder:validation:Required
	MaxReplayLatency *float64 `json:"maxReplayLatency" tf:"max_replay_latency,omitempty"`

	// The minimum number of read-only replicas that must be retained in an RO group.
	// +kubebuilder:validation:Required
	MinDelayEliminateReserve *float64 `json:"minDelayEliminateReserve" tf:"min_delay_eliminate_reserve,omitempty"`

	// RO group name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Project ID.
	// +kubebuilder:validation:Required
	ProjectID *float64 `json:"projectId" tf:"project_id,omitempty"`

	// Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: 0 (no), 1 (yes).
	// +kubebuilder:validation:Required
	ReplayLagEliminate *float64 `json:"replayLagEliminate" tf:"replay_lag_eliminate,omitempty"`

	// Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: 0 (no), 1 (yes).
	// +kubebuilder:validation:Required
	ReplayLatencyEliminate *float64 `json:"replayLatencyEliminate" tf:"replay_latency_eliminate,omitempty"`

	// ID of security group. If both vpc_id and subnet_id are not set, this argument should not be set either.
	// +kubebuilder:validation:Optional
	SecurityGroupsIds []*string `json:"securityGroupsIds,omitempty" tf:"security_groups_ids,omitempty"`

	// VPC subnet ID.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

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

	// VPC ID.
	// +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"`

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

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

func (*ReadonlyGroupParameters) DeepCopy

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

func (*ReadonlyGroupParameters) DeepCopyInto

func (in *ReadonlyGroupParameters) DeepCopyInto(out *ReadonlyGroupParameters)

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

type ReadonlyGroupSpec

type ReadonlyGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ReadonlyGroupParameters `json:"forProvider"`
}

ReadonlyGroupSpec defines the desired state of ReadonlyGroup

func (*ReadonlyGroupSpec) DeepCopy

func (in *ReadonlyGroupSpec) DeepCopy() *ReadonlyGroupSpec

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

func (*ReadonlyGroupSpec) DeepCopyInto

func (in *ReadonlyGroupSpec) DeepCopyInto(out *ReadonlyGroupSpec)

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

type ReadonlyGroupStatus

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

ReadonlyGroupStatus defines the observed state of ReadonlyGroup.

func (*ReadonlyGroupStatus) DeepCopy

func (in *ReadonlyGroupStatus) DeepCopy() *ReadonlyGroupStatus

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

func (*ReadonlyGroupStatus) DeepCopyInto

func (in *ReadonlyGroupStatus) DeepCopyInto(out *ReadonlyGroupStatus)

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

type ReadonlyInstance

type ReadonlyInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReadonlyInstanceSpec   `json:"spec"`
	Status            ReadonlyInstanceStatus `json:"status,omitempty"`
}

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

func (*ReadonlyInstance) DeepCopy

func (in *ReadonlyInstance) DeepCopy() *ReadonlyInstance

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

func (*ReadonlyInstance) DeepCopyInto

func (in *ReadonlyInstance) DeepCopyInto(out *ReadonlyInstance)

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

func (*ReadonlyInstance) DeepCopyObject

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

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

func (*ReadonlyInstance) GetCondition

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

GetCondition of this ReadonlyInstance.

func (*ReadonlyInstance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ReadonlyInstance

func (*ReadonlyInstance) GetDeletionPolicy

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

GetDeletionPolicy of this ReadonlyInstance.

func (*ReadonlyInstance) GetID

func (tr *ReadonlyInstance) GetID() string

GetID returns ID of underlying Terraform resource of this ReadonlyInstance

func (*ReadonlyInstance) GetObservation

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

GetObservation of this ReadonlyInstance

func (*ReadonlyInstance) GetParameters

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

GetParameters of this ReadonlyInstance

func (*ReadonlyInstance) GetProviderConfigReference

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

GetProviderConfigReference of this ReadonlyInstance.

func (*ReadonlyInstance) GetProviderReference

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

GetProviderReference of this ReadonlyInstance. Deprecated: Use GetProviderConfigReference.

func (*ReadonlyInstance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ReadonlyInstance.

func (*ReadonlyInstance) GetTerraformResourceType

func (mg *ReadonlyInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ReadonlyInstance

func (*ReadonlyInstance) GetTerraformSchemaVersion

func (tr *ReadonlyInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ReadonlyInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ReadonlyInstance.

func (*ReadonlyInstance) LateInitialize

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

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

func (*ReadonlyInstance) ResolveReferences

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

ResolveReferences of this ReadonlyInstance.

func (*ReadonlyInstance) SetConditions

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

SetConditions of this ReadonlyInstance.

func (*ReadonlyInstance) SetDeletionPolicy

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

SetDeletionPolicy of this ReadonlyInstance.

func (*ReadonlyInstance) SetObservation

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

SetObservation for this ReadonlyInstance

func (*ReadonlyInstance) SetParameters

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

SetParameters for this ReadonlyInstance

func (*ReadonlyInstance) SetProviderConfigReference

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

SetProviderConfigReference of this ReadonlyInstance.

func (*ReadonlyInstance) SetProviderReference

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

SetProviderReference of this ReadonlyInstance. Deprecated: Use SetProviderConfigReference.

func (*ReadonlyInstance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ReadonlyInstance.

func (*ReadonlyInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ReadonlyInstance.

type ReadonlyInstanceList

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

ReadonlyInstanceList contains a list of ReadonlyInstances

func (*ReadonlyInstanceList) DeepCopy

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

func (*ReadonlyInstanceList) DeepCopyInto

func (in *ReadonlyInstanceList) DeepCopyInto(out *ReadonlyInstanceList)

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

func (*ReadonlyInstanceList) DeepCopyObject

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

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

func (*ReadonlyInstanceList) GetItems

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

GetItems of this ReadonlyInstanceList.

type ReadonlyInstanceObservation

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

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

func (*ReadonlyInstanceObservation) DeepCopy

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

func (*ReadonlyInstanceObservation) DeepCopyInto

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

type ReadonlyInstanceParameters

type ReadonlyInstanceParameters struct {

	// Renewal flag. Valid values: 0 (manual renewal), 1 (auto-renewal). Default value: 0.
	// +kubebuilder:validation:Optional
	AutoRenewFlag *float64 `json:"autoRenewFlag,omitempty" tf:"auto_renew_flag,omitempty"`

	// PostgreSQL kernel version, which must be the same as that of the primary instance.
	// +kubebuilder:validation:Required
	DBVersion *string `json:"dbVersion" tf:"db_version,omitempty"`

	// instance billing mode. Valid values: PREPAID (monthly subscription), POSTPAID_BY_HOUR (pay-as-you-go).
	// +kubebuilder:validation:Optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// ID of the primary instance to which the read-only replica belongs.
	// +kubebuilder:validation:Required
	MasterDBInstanceID *string `json:"masterDbInstanceId" tf:"master_db_instance_id,omitempty"`

	// Memory size(in GB). Allowed value must be larger than `memory` that data source `tencentcloud_postgresql_specinfos` provides.
	// +kubebuilder:validation:Required
	Memory *float64 `json:"memory" tf:"memory,omitempty"`

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

	// Whether to support IPv6 address access. Valid values: 1 (yes), 0 (no).
	// +kubebuilder:validation:Optional
	NeedSupportIPv6 *float64 `json:"needSupportIpv6,omitempty" tf:"need_support_ipv6,omitempty"`

	// Project ID.
	// +kubebuilder:validation:Required
	ProjectID *float64 `json:"projectId" tf:"project_id,omitempty"`

	// ID of security group.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.SecurityGroup
	// +kubebuilder:validation:Optional
	SecurityGroupsIds []*string `json:"securityGroupsIds,omitempty" tf:"security_groups_ids,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupsIdsRefs []v1.Reference `json:"securityGroupsIdsRefs,omitempty" tf:"-"`

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

	// Instance storage capacity in GB.
	// +kubebuilder:validation:Required
	Storage *float64 `json:"storage" tf:"storage,omitempty"`

	// VPC subnet ID.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

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

	// VPC ID.
	// +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"`

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

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

	// Availability zone ID, which can be obtained through the Zone field in the returned value of the DescribeZones API.
	// +kubebuilder:validation:Required
	Zone *string `json:"zone" tf:"zone,omitempty"`
}

func (*ReadonlyInstanceParameters) DeepCopy

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

func (*ReadonlyInstanceParameters) DeepCopyInto

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

type ReadonlyInstanceSpec

type ReadonlyInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ReadonlyInstanceParameters `json:"forProvider"`
}

ReadonlyInstanceSpec defines the desired state of ReadonlyInstance

func (*ReadonlyInstanceSpec) DeepCopy

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

func (*ReadonlyInstanceSpec) DeepCopyInto

func (in *ReadonlyInstanceSpec) DeepCopyInto(out *ReadonlyInstanceSpec)

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

type ReadonlyInstanceStatus

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

ReadonlyInstanceStatus defines the observed state of ReadonlyInstance.

func (*ReadonlyInstanceStatus) DeepCopy

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

func (*ReadonlyInstanceStatus) DeepCopyInto

func (in *ReadonlyInstanceStatus) DeepCopyInto(out *ReadonlyInstanceStatus)

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