v1alpha1

package
v0.6.0-rc.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Account_Kind             = "Account"
	Account_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String()
	Account_KindAPIVersion   = Account_Kind + "." + CRDGroupVersion.String()
	Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind)
)

Repository type metadata.

View Source
var (
	AccountDBAttachment_Kind             = "AccountDBAttachment"
	AccountDBAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AccountDBAttachment_Kind}.String()
	AccountDBAttachment_KindAPIVersion   = AccountDBAttachment_Kind + "." + CRDGroupVersion.String()
	AccountDBAttachment_GroupVersionKind = CRDGroupVersion.WithKind(AccountDBAttachment_Kind)
)

Repository type metadata.

View Source
var (
	BasicInstance_Kind             = "BasicInstance"
	BasicInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BasicInstance_Kind}.String()
	BasicInstance_KindAPIVersion   = BasicInstance_Kind + "." + CRDGroupVersion.String()
	BasicInstance_GroupVersionKind = CRDGroupVersion.WithKind(BasicInstance_Kind)
)

Repository type metadata.

View Source
var (
	DB_Kind             = "DB"
	DB_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DB_Kind}.String()
	DB_KindAPIVersion   = DB_Kind + "." + CRDGroupVersion.String()
	DB_GroupVersionKind = CRDGroupVersion.WithKind(DB_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 (
	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 (
	PublishSubscribe_Kind             = "PublishSubscribe"
	PublishSubscribe_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PublishSubscribe_Kind}.String()
	PublishSubscribe_KindAPIVersion   = PublishSubscribe_Kind + "." + CRDGroupVersion.String()
	PublishSubscribe_GroupVersionKind = CRDGroupVersion.WithKind(PublishSubscribe_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 Account

type Account struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccountSpec   `json:"spec"`
	Status            AccountStatus `json:"status,omitempty"`
}

Account is the Schema for the Accounts 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 (*Account) DeepCopy

func (in *Account) DeepCopy() *Account

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

func (*Account) DeepCopyInto

func (in *Account) DeepCopyInto(out *Account)

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

func (*Account) DeepCopyObject

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

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

func (*Account) GetCondition

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

GetCondition of this Account.

func (*Account) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Account

func (*Account) GetDeletionPolicy

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

GetDeletionPolicy of this Account.

func (*Account) GetID

func (tr *Account) GetID() string

GetID returns ID of underlying Terraform resource of this Account

func (*Account) GetObservation

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

GetObservation of this Account

func (*Account) GetParameters

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

GetParameters of this Account

func (*Account) GetProviderConfigReference

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

GetProviderConfigReference of this Account.

func (*Account) GetProviderReference

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

GetProviderReference of this Account. Deprecated: Use GetProviderConfigReference.

func (*Account) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Account.

func (*Account) GetTerraformResourceType

func (mg *Account) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Account

func (*Account) GetTerraformSchemaVersion

func (tr *Account) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Account) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Account.

func (*Account) LateInitialize

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

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

func (*Account) ResolveReferences

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

ResolveReferences of this Account.

func (*Account) SetConditions

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

SetConditions of this Account.

func (*Account) SetDeletionPolicy

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

SetDeletionPolicy of this Account.

func (*Account) SetObservation

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

SetObservation for this Account

func (*Account) SetParameters

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

SetParameters for this Account

func (*Account) SetProviderConfigReference

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

SetProviderConfigReference of this Account.

func (*Account) SetProviderReference

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

SetProviderReference of this Account. Deprecated: Use SetProviderConfigReference.

func (*Account) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Account.

func (*Account) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Account.

type AccountDBAttachment

type AccountDBAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccountDBAttachmentSpec   `json:"spec"`
	Status            AccountDBAttachmentStatus `json:"status,omitempty"`
}

AccountDBAttachment is the Schema for the AccountDBAttachments 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 (*AccountDBAttachment) DeepCopy

func (in *AccountDBAttachment) DeepCopy() *AccountDBAttachment

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

func (*AccountDBAttachment) DeepCopyInto

func (in *AccountDBAttachment) DeepCopyInto(out *AccountDBAttachment)

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

func (*AccountDBAttachment) DeepCopyObject

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

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

func (*AccountDBAttachment) GetCondition

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

GetCondition of this AccountDBAttachment.

func (*AccountDBAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AccountDBAttachment

func (*AccountDBAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this AccountDBAttachment.

func (*AccountDBAttachment) GetID

func (tr *AccountDBAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this AccountDBAttachment

func (*AccountDBAttachment) GetObservation

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

GetObservation of this AccountDBAttachment

func (*AccountDBAttachment) GetParameters

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

GetParameters of this AccountDBAttachment

func (*AccountDBAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this AccountDBAttachment.

func (*AccountDBAttachment) GetProviderReference

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

GetProviderReference of this AccountDBAttachment. Deprecated: Use GetProviderConfigReference.

func (*AccountDBAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AccountDBAttachment.

func (*AccountDBAttachment) GetTerraformResourceType

func (mg *AccountDBAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AccountDBAttachment

func (*AccountDBAttachment) GetTerraformSchemaVersion

func (tr *AccountDBAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AccountDBAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AccountDBAttachment.

func (*AccountDBAttachment) LateInitialize

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

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

func (*AccountDBAttachment) ResolveReferences

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

ResolveReferences of this AccountDBAttachment.

func (*AccountDBAttachment) SetConditions

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

SetConditions of this AccountDBAttachment.

func (*AccountDBAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this AccountDBAttachment.

func (*AccountDBAttachment) SetObservation

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

SetObservation for this AccountDBAttachment

func (*AccountDBAttachment) SetParameters

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

SetParameters for this AccountDBAttachment

func (*AccountDBAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this AccountDBAttachment.

func (*AccountDBAttachment) SetProviderReference

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

SetProviderReference of this AccountDBAttachment. Deprecated: Use SetProviderConfigReference.

func (*AccountDBAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AccountDBAttachment.

func (*AccountDBAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AccountDBAttachment.

type AccountDBAttachmentList

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

AccountDBAttachmentList contains a list of AccountDBAttachments

func (*AccountDBAttachmentList) DeepCopy

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

func (*AccountDBAttachmentList) DeepCopyInto

func (in *AccountDBAttachmentList) DeepCopyInto(out *AccountDBAttachmentList)

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

func (*AccountDBAttachmentList) DeepCopyObject

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

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

func (*AccountDBAttachmentList) GetItems

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

GetItems of this AccountDBAttachmentList.

type AccountDBAttachmentObservation

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

func (*AccountDBAttachmentObservation) DeepCopy

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

func (*AccountDBAttachmentObservation) DeepCopyInto

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

type AccountDBAttachmentParameters

type AccountDBAttachmentParameters struct {

	// SQL Server account name.
	// +kubebuilder:validation:Required
	AccountName *string `json:"accountName" tf:"account_name,omitempty"`

	// SQL Server DB name.
	// +kubebuilder:validation:Required
	DBName *string `json:"dbName" tf:"db_name,omitempty"`

	// SQL Server instance ID that the account belongs to.
	// +crossplane:generate:reference:type=Instance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// Privilege of the account on DB. Valid values: `ReadOnly`, `ReadWrite`.
	// +kubebuilder:validation:Required
	Privilege *string `json:"privilege" tf:"privilege,omitempty"`
}

func (*AccountDBAttachmentParameters) DeepCopy

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

func (*AccountDBAttachmentParameters) DeepCopyInto

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

type AccountDBAttachmentSpec

type AccountDBAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AccountDBAttachmentParameters `json:"forProvider"`
}

AccountDBAttachmentSpec defines the desired state of AccountDBAttachment

func (*AccountDBAttachmentSpec) DeepCopy

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

func (*AccountDBAttachmentSpec) DeepCopyInto

func (in *AccountDBAttachmentSpec) DeepCopyInto(out *AccountDBAttachmentSpec)

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

type AccountDBAttachmentStatus

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

AccountDBAttachmentStatus defines the observed state of AccountDBAttachment.

func (*AccountDBAttachmentStatus) DeepCopy

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

func (*AccountDBAttachmentStatus) DeepCopyInto

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

type AccountList

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

AccountList contains a list of Accounts

func (*AccountList) DeepCopy

func (in *AccountList) DeepCopy() *AccountList

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

func (*AccountList) DeepCopyInto

func (in *AccountList) DeepCopyInto(out *AccountList)

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

func (*AccountList) DeepCopyObject

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

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

func (*AccountList) GetItems

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

GetItems of this AccountList.

type AccountObservation

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

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

	Status *float64 `json:"status,omitempty" tf:"status,omitempty"`

	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*AccountObservation) DeepCopy

func (in *AccountObservation) DeepCopy() *AccountObservation

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

func (*AccountObservation) DeepCopyInto

func (in *AccountObservation) DeepCopyInto(out *AccountObservation)

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

type AccountParameters

type AccountParameters struct {

	// Instance ID that the account belongs to.
	// +crossplane:generate:reference:type=Instance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// Indicate that the account is root account or not.
	// +kubebuilder:validation:Optional
	IsAdmin *bool `json:"isAdmin,omitempty" tf:"is_admin,omitempty"`

	// Name of the SQL Server account.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Password of the SQL Server account.
	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Remark of the SQL Server account.
	// +kubebuilder:validation:Optional
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`
}

func (*AccountParameters) DeepCopy

func (in *AccountParameters) DeepCopy() *AccountParameters

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

func (*AccountParameters) DeepCopyInto

func (in *AccountParameters) DeepCopyInto(out *AccountParameters)

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

type AccountSpec

type AccountSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AccountParameters `json:"forProvider"`
}

AccountSpec defines the desired state of Account

func (*AccountSpec) DeepCopy

func (in *AccountSpec) DeepCopy() *AccountSpec

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

func (*AccountSpec) DeepCopyInto

func (in *AccountSpec) DeepCopyInto(out *AccountSpec)

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

type AccountStatus

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

AccountStatus defines the observed state of Account.

func (*AccountStatus) DeepCopy

func (in *AccountStatus) DeepCopy() *AccountStatus

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

func (*AccountStatus) DeepCopyInto

func (in *AccountStatus) DeepCopyInto(out *AccountStatus)

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

type BasicInstance

type BasicInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BasicInstanceSpec   `json:"spec"`
	Status            BasicInstanceStatus `json:"status,omitempty"`
}

BasicInstance is the Schema for the BasicInstances 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 (*BasicInstance) DeepCopy

func (in *BasicInstance) DeepCopy() *BasicInstance

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

func (*BasicInstance) DeepCopyInto

func (in *BasicInstance) DeepCopyInto(out *BasicInstance)

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

func (*BasicInstance) DeepCopyObject

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

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

func (*BasicInstance) GetCondition

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

GetCondition of this BasicInstance.

func (*BasicInstance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BasicInstance

func (*BasicInstance) GetDeletionPolicy

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

GetDeletionPolicy of this BasicInstance.

func (*BasicInstance) GetID

func (tr *BasicInstance) GetID() string

GetID returns ID of underlying Terraform resource of this BasicInstance

func (*BasicInstance) GetObservation

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

GetObservation of this BasicInstance

func (*BasicInstance) GetParameters

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

GetParameters of this BasicInstance

func (*BasicInstance) GetProviderConfigReference

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

GetProviderConfigReference of this BasicInstance.

func (*BasicInstance) GetProviderReference

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

GetProviderReference of this BasicInstance. Deprecated: Use GetProviderConfigReference.

func (*BasicInstance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BasicInstance.

func (*BasicInstance) GetTerraformResourceType

func (mg *BasicInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BasicInstance

func (*BasicInstance) GetTerraformSchemaVersion

func (tr *BasicInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BasicInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BasicInstance.

func (*BasicInstance) LateInitialize

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

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

func (*BasicInstance) ResolveReferences

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

ResolveReferences of this BasicInstance.

func (*BasicInstance) SetConditions

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

SetConditions of this BasicInstance.

func (*BasicInstance) SetDeletionPolicy

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

SetDeletionPolicy of this BasicInstance.

func (*BasicInstance) SetObservation

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

SetObservation for this BasicInstance

func (*BasicInstance) SetParameters

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

SetParameters for this BasicInstance

func (*BasicInstance) SetProviderConfigReference

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

SetProviderConfigReference of this BasicInstance.

func (*BasicInstance) SetProviderReference

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

SetProviderReference of this BasicInstance. Deprecated: Use SetProviderConfigReference.

func (*BasicInstance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BasicInstance.

func (*BasicInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BasicInstance.

type BasicInstanceList

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

BasicInstanceList contains a list of BasicInstances

func (*BasicInstanceList) DeepCopy

func (in *BasicInstanceList) DeepCopy() *BasicInstanceList

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

func (*BasicInstanceList) DeepCopyInto

func (in *BasicInstanceList) DeepCopyInto(out *BasicInstanceList)

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

func (*BasicInstanceList) DeepCopyObject

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

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

func (*BasicInstanceList) GetItems

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

GetItems of this BasicInstanceList.

type BasicInstanceObservation

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

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

	Status *float64 `json:"status,omitempty" tf:"status,omitempty"`

	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`

	Vport *float64 `json:"vport,omitempty" tf:"vport,omitempty"`
}

func (*BasicInstanceObservation) DeepCopy

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

func (*BasicInstanceObservation) DeepCopyInto

func (in *BasicInstanceObservation) DeepCopyInto(out *BasicInstanceObservation)

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

type BasicInstanceParameters

type BasicInstanceParameters struct {

	// Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal, the default is 1 automatic renewal. Only valid when purchasing a prepaid instance.
	// +kubebuilder:validation:Optional
	AutoRenew *float64 `json:"autoRenew,omitempty" tf:"auto_renew,omitempty"`

	// Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
	// +kubebuilder:validation:Optional
	AutoVoucher *float64 `json:"autoVoucher,omitempty" tf:"auto_voucher,omitempty"`

	// Availability zone.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// The CPU number of the SQL Server basic instance.
	// +kubebuilder:validation:Required
	CPU *float64 `json:"cpu" tf:"cpu,omitempty"`

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

	// Version of the SQL Server basic database engine. Allowed values are `2008R2`(SQL Server 2008 Enterprise), `2012SP3`(SQL Server 2012 Enterprise), `2016SP1` (SQL Server 2016 Enterprise), `201602`(SQL Server 2016 Standard) and `2017`(SQL Server 2017 Enterprise). Default is `2008R2`.
	// +kubebuilder:validation:Optional
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// The host type of the purchased instance, `CLOUD_PREMIUM` for virtual machine high-performance cloud disk, `CLOUD_SSD` for virtual machine SSD cloud disk.
	// +kubebuilder:validation:Required
	MachineType *string `json:"machineType" tf:"machine_type,omitempty"`

	// Start time of the maintenance in one day, format like `HH:mm`.
	// +kubebuilder:validation:Optional
	MaintenanceStartTime *string `json:"maintenanceStartTime,omitempty" tf:"maintenance_start_time,omitempty"`

	// The timespan of maintenance in one day, unit is hour.
	// +kubebuilder:validation:Optional
	MaintenanceTimeSpan *float64 `json:"maintenanceTimeSpan,omitempty" tf:"maintenance_time_span,omitempty"`

	// A list of integer indicates weekly maintenance. For example, [1,7] presents do weekly maintenance on every Monday and Sunday.
	// +kubebuilder:validation:Optional
	MaintenanceWeekSet []*float64 `json:"maintenanceWeekSet,omitempty" tf:"maintenance_week_set,omitempty"`

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

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

	// Purchase instance period, the default value is 1, which means one month. The value does not exceed 48.
	// +kubebuilder:validation:Optional
	Period *float64 `json:"period,omitempty" tf:"period,omitempty"`

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

	// Security group bound to the instance.
	// +kubebuilder:validation:Optional
	SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`

	// Disk 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_sqlserver_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 tags of the SQL Server basic instance.
	// +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:"-"`

	// An array of voucher IDs, currently only one can be used for a single order.
	// +kubebuilder:validation:Optional
	VoucherIds []*string `json:"voucherIds,omitempty" tf:"voucher_ids,omitempty"`
}

func (*BasicInstanceParameters) DeepCopy

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

func (*BasicInstanceParameters) DeepCopyInto

func (in *BasicInstanceParameters) DeepCopyInto(out *BasicInstanceParameters)

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

type BasicInstanceSpec

type BasicInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BasicInstanceParameters `json:"forProvider"`
}

BasicInstanceSpec defines the desired state of BasicInstance

func (*BasicInstanceSpec) DeepCopy

func (in *BasicInstanceSpec) DeepCopy() *BasicInstanceSpec

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

func (*BasicInstanceSpec) DeepCopyInto

func (in *BasicInstanceSpec) DeepCopyInto(out *BasicInstanceSpec)

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

type BasicInstanceStatus

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

BasicInstanceStatus defines the observed state of BasicInstance.

func (*BasicInstanceStatus) DeepCopy

func (in *BasicInstanceStatus) DeepCopy() *BasicInstanceStatus

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

func (*BasicInstanceStatus) DeepCopyInto

func (in *BasicInstanceStatus) DeepCopyInto(out *BasicInstanceStatus)

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

type DB

type DB struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DBSpec   `json:"spec"`
	Status            DBStatus `json:"status,omitempty"`
}

DB is the Schema for the DBs 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 (*DB) DeepCopy

func (in *DB) DeepCopy() *DB

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

func (*DB) DeepCopyInto

func (in *DB) DeepCopyInto(out *DB)

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

func (*DB) DeepCopyObject

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

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

func (*DB) GetCondition

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

GetCondition of this DB.

func (*DB) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DB

func (*DB) GetDeletionPolicy

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

GetDeletionPolicy of this DB.

func (*DB) GetID

func (tr *DB) GetID() string

GetID returns ID of underlying Terraform resource of this DB

func (*DB) GetObservation

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

GetObservation of this DB

func (*DB) GetParameters

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

GetParameters of this DB

func (*DB) GetProviderConfigReference

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

GetProviderConfigReference of this DB.

func (*DB) GetProviderReference

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

GetProviderReference of this DB. Deprecated: Use GetProviderConfigReference.

func (*DB) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DB.

func (*DB) GetTerraformResourceType

func (mg *DB) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DB

func (*DB) GetTerraformSchemaVersion

func (tr *DB) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DB) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DB.

func (*DB) LateInitialize

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

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

func (*DB) ResolveReferences

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

ResolveReferences of this DB.

func (*DB) SetConditions

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

SetConditions of this DB.

func (*DB) SetDeletionPolicy

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

SetDeletionPolicy of this DB.

func (*DB) SetObservation

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

SetObservation for this DB

func (*DB) SetParameters

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

SetParameters for this DB

func (*DB) SetProviderConfigReference

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

SetProviderConfigReference of this DB.

func (*DB) SetProviderReference

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

SetProviderReference of this DB. Deprecated: Use SetProviderConfigReference.

func (*DB) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DB.

func (*DB) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DB.

type DBList

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

DBList contains a list of DBs

func (*DBList) DeepCopy

func (in *DBList) DeepCopy() *DBList

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

func (*DBList) DeepCopyInto

func (in *DBList) DeepCopyInto(out *DBList)

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

func (*DBList) DeepCopyObject

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

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

func (*DBList) GetItems

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

GetItems of this DBList.

type DBObservation

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

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

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

func (*DBObservation) DeepCopy

func (in *DBObservation) DeepCopy() *DBObservation

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

func (*DBObservation) DeepCopyInto

func (in *DBObservation) DeepCopyInto(out *DBObservation)

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

type DBParameters

type DBParameters struct {

	// Character set DB uses. Valid values: `Chinese_PRC_CI_AS`, `Chinese_PRC_CS_AS`, `Chinese_PRC_BIN`, `Chinese_Taiwan_Stroke_CI_AS`, `SQL_Latin1_General_CP1_CI_AS`, and `SQL_Latin1_General_CP1_CS_AS`. Default value is `Chinese_PRC_CI_AS`.
	// +kubebuilder:validation:Optional
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// SQL Server instance ID which DB belongs to.
	// +crossplane:generate:reference:type=Instance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// Name of SQL Server DB. The database name must be unique and must be composed of numbers, letters and underlines, and the first one can not be underline.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Remark of the DB.
	// +kubebuilder:validation:Optional
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`
}

func (*DBParameters) DeepCopy

func (in *DBParameters) DeepCopy() *DBParameters

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

func (*DBParameters) DeepCopyInto

func (in *DBParameters) DeepCopyInto(out *DBParameters)

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

type DBSpec

type DBSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DBParameters `json:"forProvider"`
}

DBSpec defines the desired state of DB

func (*DBSpec) DeepCopy

func (in *DBSpec) DeepCopy() *DBSpec

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

func (*DBSpec) DeepCopyInto

func (in *DBSpec) DeepCopyInto(out *DBSpec)

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

type DBStatus

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

DBStatus defines the observed state of DB.

func (*DBStatus) DeepCopy

func (in *DBStatus) DeepCopy() *DBStatus

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

func (*DBStatus) DeepCopyInto

func (in *DBStatus) DeepCopyInto(out *DBStatus)

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

type DatabaseTuplesObservation

type DatabaseTuplesObservation struct {
}

func (*DatabaseTuplesObservation) DeepCopy

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

func (*DatabaseTuplesObservation) DeepCopyInto

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

type DatabaseTuplesParameters

type DatabaseTuplesParameters struct {

	// Publish the database.
	// +kubebuilder:validation:Required
	PublishDatabase *string `json:"publishDatabase" tf:"publish_database,omitempty"`
}

func (*DatabaseTuplesParameters) DeepCopy

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

func (*DatabaseTuplesParameters) DeepCopyInto

func (in *DatabaseTuplesParameters) DeepCopyInto(out *DatabaseTuplesParameters)

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"`

	RoFlag *string `json:"roFlag,omitempty" tf:"ro_flag,omitempty"`

	Status *float64 `json:"status,omitempty" tf:"status,omitempty"`

	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`

	Vport *float64 `json:"vport,omitempty" tf:"vport,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 {

	// Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
	// +kubebuilder:validation:Optional
	AutoRenew *float64 `json:"autoRenew,omitempty" tf:"auto_renew,omitempty"`

	// Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
	// +kubebuilder:validation:Optional
	AutoVoucher *float64 `json:"autoVoucher,omitempty" tf:"auto_voucher,omitempty"`

	// Availability zone.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// Pay type of the SQL Server instance. Available values `PREPAID`, `POSTPAID_BY_HOUR`.
	// +kubebuilder:validation:Optional
	ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"`

	// Version of the SQL Server database engine. Allowed values are `2008R2`(SQL Server 2008 Enterprise), `2012SP3`(SQL Server 2012 Enterprise), `2016SP1` (SQL Server 2016 Enterprise), `201602`(SQL Server 2016 Standard) and `2017`(SQL Server 2017 Enterprise). Default is `2008R2`.
	// +kubebuilder:validation:Optional
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// Instance type. `DUAL` (dual-server high availability), `CLUSTER` (cluster). Default is `DUAL`.
	// +kubebuilder:validation:Optional
	HaType *string `json:"haType,omitempty" tf:"ha_type,omitempty"`

	// Start time of the maintenance in one day, format like `HH:mm`.
	// +kubebuilder:validation:Optional
	MaintenanceStartTime *string `json:"maintenanceStartTime,omitempty" tf:"maintenance_start_time,omitempty"`

	// The timespan of maintenance in one day, unit is hour.
	// +kubebuilder:validation:Optional
	MaintenanceTimeSpan *float64 `json:"maintenanceTimeSpan,omitempty" tf:"maintenance_time_span,omitempty"`

	// A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
	// +kubebuilder:validation:Optional
	MaintenanceWeekSet []*float64 `json:"maintenanceWeekSet,omitempty" tf:"maintenance_week_set,omitempty"`

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

	// Indicate whether to deploy across availability zones.
	// +kubebuilder:validation:Optional
	MultiZones *bool `json:"multiZones,omitempty" tf:"multi_zones,omitempty"`

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

	// Purchase instance period in month. The value does not exceed 48.
	// +kubebuilder:validation:Optional
	Period *float64 `json:"period,omitempty" tf:"period,omitempty"`

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

	// Security group bound to the instance.
	// +kubebuilder:validation:Optional
	SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`

	// Disk 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_sqlserver_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 tags of the SQL Server.
	// +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:"-"`

	// An array of voucher IDs, currently only one can be used for a single order.
	// +kubebuilder:validation:Optional
	VoucherIds []*string `json:"voucherIds,omitempty" tf:"voucher_ids,omitempty"`
}

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 PublishSubscribe

type PublishSubscribe struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PublishSubscribeSpec   `json:"spec"`
	Status            PublishSubscribeStatus `json:"status,omitempty"`
}

PublishSubscribe is the Schema for the PublishSubscribes 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 (*PublishSubscribe) DeepCopy

func (in *PublishSubscribe) DeepCopy() *PublishSubscribe

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

func (*PublishSubscribe) DeepCopyInto

func (in *PublishSubscribe) DeepCopyInto(out *PublishSubscribe)

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

func (*PublishSubscribe) DeepCopyObject

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

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

func (*PublishSubscribe) GetCondition

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

GetCondition of this PublishSubscribe.

func (*PublishSubscribe) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PublishSubscribe

func (*PublishSubscribe) GetDeletionPolicy

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

GetDeletionPolicy of this PublishSubscribe.

func (*PublishSubscribe) GetID

func (tr *PublishSubscribe) GetID() string

GetID returns ID of underlying Terraform resource of this PublishSubscribe

func (*PublishSubscribe) GetObservation

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

GetObservation of this PublishSubscribe

func (*PublishSubscribe) GetParameters

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

GetParameters of this PublishSubscribe

func (*PublishSubscribe) GetProviderConfigReference

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

GetProviderConfigReference of this PublishSubscribe.

func (*PublishSubscribe) GetProviderReference

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

GetProviderReference of this PublishSubscribe. Deprecated: Use GetProviderConfigReference.

func (*PublishSubscribe) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PublishSubscribe.

func (*PublishSubscribe) GetTerraformResourceType

func (mg *PublishSubscribe) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PublishSubscribe

func (*PublishSubscribe) GetTerraformSchemaVersion

func (tr *PublishSubscribe) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PublishSubscribe) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PublishSubscribe.

func (*PublishSubscribe) LateInitialize

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

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

func (*PublishSubscribe) SetConditions

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

SetConditions of this PublishSubscribe.

func (*PublishSubscribe) SetDeletionPolicy

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

SetDeletionPolicy of this PublishSubscribe.

func (*PublishSubscribe) SetObservation

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

SetObservation for this PublishSubscribe

func (*PublishSubscribe) SetParameters

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

SetParameters for this PublishSubscribe

func (*PublishSubscribe) SetProviderConfigReference

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

SetProviderConfigReference of this PublishSubscribe.

func (*PublishSubscribe) SetProviderReference

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

SetProviderReference of this PublishSubscribe. Deprecated: Use SetProviderConfigReference.

func (*PublishSubscribe) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PublishSubscribe.

func (*PublishSubscribe) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PublishSubscribe.

type PublishSubscribeList

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

PublishSubscribeList contains a list of PublishSubscribes

func (*PublishSubscribeList) DeepCopy

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

func (*PublishSubscribeList) DeepCopyInto

func (in *PublishSubscribeList) DeepCopyInto(out *PublishSubscribeList)

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

func (*PublishSubscribeList) DeepCopyObject

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

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

func (*PublishSubscribeList) GetItems

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

GetItems of this PublishSubscribeList.

type PublishSubscribeObservation

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

func (*PublishSubscribeObservation) DeepCopy

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

func (*PublishSubscribeObservation) DeepCopyInto

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

type PublishSubscribeParameters

type PublishSubscribeParameters struct {

	// Database Publish and Publish relationship list. The elements inside can be deleted and added individually, but modification is not allowed.
	// +kubebuilder:validation:Required
	DatabaseTuples []DatabaseTuplesParameters `json:"databaseTuples" tf:"database_tuples,omitempty"`

	// Whether to delete the subscriber database when deleting the Publish and Subscribe. `true` for deletes the subscribe database, `false` for does not delete the subscribe database. default is `false`.
	// +kubebuilder:validation:Optional
	DeleteSubscribeDB *bool `json:"deleteSubscribeDb,omitempty" tf:"delete_subscribe_db,omitempty"`

	// ID of the SQL Server instance which publish.
	// +kubebuilder:validation:Required
	PublishInstanceID *string `json:"publishInstanceId" tf:"publish_instance_id,omitempty"`

	// The name of the Publish and Subscribe. Default is `default_name`.
	// +kubebuilder:validation:Optional
	PublishSubscribeName *string `json:"publishSubscribeName,omitempty" tf:"publish_subscribe_name,omitempty"`

	// ID of the SQL Server instance which subscribe.
	// +kubebuilder:validation:Required
	SubscribeInstanceID *string `json:"subscribeInstanceId" tf:"subscribe_instance_id,omitempty"`
}

func (*PublishSubscribeParameters) DeepCopy

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

func (*PublishSubscribeParameters) DeepCopyInto

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

type PublishSubscribeSpec

type PublishSubscribeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PublishSubscribeParameters `json:"forProvider"`
}

PublishSubscribeSpec defines the desired state of PublishSubscribe

func (*PublishSubscribeSpec) DeepCopy

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

func (*PublishSubscribeSpec) DeepCopyInto

func (in *PublishSubscribeSpec) DeepCopyInto(out *PublishSubscribeSpec)

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

type PublishSubscribeStatus

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

PublishSubscribeStatus defines the observed state of PublishSubscribe.

func (*PublishSubscribeStatus) DeepCopy

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

func (*PublishSubscribeStatus) DeepCopyInto

func (in *PublishSubscribeStatus) DeepCopyInto(out *PublishSubscribeStatus)

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"`

	RoFlag *string `json:"roFlag,omitempty" tf:"ro_flag,omitempty"`

	Status *float64 `json:"status,omitempty" tf:"status,omitempty"`

	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`

	Vport *float64 `json:"vport,omitempty" tf:"vport,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 {

	// Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
	// +kubebuilder:validation:Optional
	AutoVoucher *float64 `json:"autoVoucher,omitempty" tf:"auto_voucher,omitempty"`

	// Availability zone.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// Pay type of the SQL Server instance. Available values `PREPAID`, `POSTPAID_BY_HOUR`.
	// +kubebuilder:validation:Optional
	ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"`

	// Indicate that the master instance upgrade or not. `true` for upgrading the master SQL Server instance to cluster type by force. Default is false. Note: this is not supported with `DUAL`(ha_type), `2017`(engine_version) master SQL Server instance, for it will cause ha_type of the master SQL Server instance change.
	// +kubebuilder:validation:Optional
	ForceUpgrade *bool `json:"forceUpgrade,omitempty" tf:"force_upgrade,omitempty"`

	// Indicates the master instance ID of recovery instances.
	// +crossplane:generate:reference:type=Instance
	// +kubebuilder:validation:Optional
	MasterInstanceID *string `json:"masterInstanceId,omitempty" tf:"master_instance_id,omitempty"`

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

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

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

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

	// Purchase instance period in month. The value does not exceed 48.
	// +kubebuilder:validation:Optional
	Period *float64 `json:"period,omitempty" tf:"period,omitempty"`

	// ID of the readonly group that this instance belongs to. When `readonly_group_type` set value `3`, it must be set with valid value.
	// +kubebuilder:validation:Optional
	ReadonlyGroupID *string `json:"readonlyGroupId,omitempty" tf:"readonly_group_id,omitempty"`

	// Type of readonly group. Valid values: `1`, `3`. `1` for one auto-assigned readonly instance per one readonly group, `2` for creating new readonly group, `3` for all exist readonly instances stay in the exist readonly group. For now, only `1` and `3` are supported.
	// +kubebuilder:validation:Required
	ReadonlyGroupType *float64 `json:"readonlyGroupType" tf:"readonly_group_type,omitempty"`

	// Security group bound to the instance.
	// +kubebuilder:validation:Optional
	SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`

	// Disk 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_sqlserver_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 tags of the SQL Server.
	// +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:"-"`

	// An array of voucher IDs, currently only one can be used for a single order.
	// +kubebuilder:validation:Optional
	VoucherIds []*string `json:"voucherIds,omitempty" tf:"voucher_ids,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