v1alpha1

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: Apache-2.0 Imports: 14 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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.passwordSecretRef)",message="spec.forProvider.passwordSecretRef is a required parameter"
	Spec   AccountSpec   `json:"spec"`
	Status AccountStatus `json:"status,omitempty"`
}

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

func (*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) GetInitParameters added in v0.8.0

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

GetInitParameters of this Account

func (*Account) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this Account.

func (*Account) GetMergedParameters added in v0.8.1

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

GetInitParameters of this Account

func (*Account) GetObservation

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

GetObservation of this Account

func (*Account) GetParameters

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

GetParameters of this Account

func (*Account) GetProviderConfigReference

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

GetProviderConfigReference of this Account.

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) Hub added in v0.8.1

func (tr *Account) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this Account.

func (*Account) SetObservation

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

SetObservation for this Account

func (*Account) SetParameters

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

SetParameters for this Account

func (*Account) SetProviderConfigReference

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

SetProviderConfigReference of this Account.

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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountName) || (has(self.initProvider) && has(self.initProvider.accountName))",message="spec.forProvider.accountName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dbName) || (has(self.initProvider) && has(self.initProvider.dbName))",message="spec.forProvider.dbName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.privilege) || (has(self.initProvider) && has(self.initProvider.privilege))",message="spec.forProvider.privilege is a required parameter"
	Spec   AccountDBAttachmentSpec   `json:"spec"`
	Status AccountDBAttachmentStatus `json:"status,omitempty"`
}

AccountDBAttachment is the Schema for the AccountDBAttachments API. Use this resource to create SQL Server account DB attachment +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*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) GetInitParameters added in v0.8.0

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

GetInitParameters of this AccountDBAttachment

func (*AccountDBAttachment) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this AccountDBAttachment.

func (*AccountDBAttachment) GetMergedParameters added in v0.8.1

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

GetInitParameters of this AccountDBAttachment

func (*AccountDBAttachment) GetObservation

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

GetObservation of this AccountDBAttachment

func (*AccountDBAttachment) GetParameters

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

GetParameters of this AccountDBAttachment

func (*AccountDBAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this AccountDBAttachment.

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) Hub added in v0.8.1

func (tr *AccountDBAttachment) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this AccountDBAttachment.

func (*AccountDBAttachment) SetObservation

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

SetObservation for this AccountDBAttachment

func (*AccountDBAttachment) SetParameters

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

SetParameters for this AccountDBAttachment

func (*AccountDBAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this AccountDBAttachment.

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 AccountDBAttachmentInitParameters added in v0.8.0

type AccountDBAttachmentInitParameters struct {

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

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

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

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

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

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

func (*AccountDBAttachmentInitParameters) DeepCopy added in v0.8.0

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

func (*AccountDBAttachmentInitParameters) DeepCopyInto added in v0.8.0

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

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 {

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

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

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

	// SQL Server instance ID that the account belongs to.
	// SQL Server instance ID that the account belongs to.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// Privilege of the account on DB. Valid values: ReadOnly, ReadWrite.
	// Privilege of the account on DB. Valid values: `ReadOnly`, `ReadWrite`.
	Privilege *string `json:"privilege,omitempty" tf:"privilege,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.
	// SQL Server account name.
	// +kubebuilder:validation:Optional
	AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"`

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

	// SQL Server instance ID that the account belongs to.
	// 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"`

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

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

	// Privilege of the account on DB. Valid values: ReadOnly, ReadWrite.
	// Privilege of the account on DB. Valid values: `ReadOnly`, `ReadWrite`.
	// +kubebuilder:validation:Optional
	Privilege *string `json:"privilege,omitempty" 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AccountDBAttachmentInitParameters `json:"initProvider,omitempty"`
}

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 AccountInitParameters added in v0.8.0

type AccountInitParameters struct {

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

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

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

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

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

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

func (*AccountInitParameters) DeepCopy added in v0.8.0

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

func (*AccountInitParameters) DeepCopyInto added in v0.8.0

func (in *AccountInitParameters) DeepCopyInto(out *AccountInitParameters)

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 {

	// Create time of the SQL Server account.
	// Create time of the SQL Server account.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

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

	// Instance ID that the account belongs to.
	// Instance ID that the account belongs to.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// Remark of the SQL Server account.
	// Remark of the SQL Server account.
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// Status of the SQL Server account. Valid values: 1, 2, 3, 4. 1 for creating, 2 for running, 3 for modifying, 4 for resetting password, -1 for deleting.
	// Status of the SQL Server account. Valid values: 1, 2, 3, 4. 1 for creating, 2 for running, 3 for modifying, 4 for resetting password, -1 for deleting.
	Status *float64 `json:"status,omitempty" tf:"status,omitempty"`

	// Last updated time of the SQL Server account.
	// Last updated time of the SQL Server account.
	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.
	// Instance ID that the account belongs to.
	// +crossplane:generate:reference:type=Instance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// Indicate that the account is root account or not.
	// 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.
	// Name of the SQL Server account.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

	// Remark of the SQL Server account.
	// 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AccountInitParameters `json:"initProvider,omitempty"`
}

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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cpu) || (has(self.initProvider) && has(self.initProvider.cpu))",message="spec.forProvider.cpu is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.machineType) || (has(self.initProvider) && has(self.initProvider.machineType))",message="spec.forProvider.machineType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.memory) || (has(self.initProvider) && has(self.initProvider.memory))",message="spec.forProvider.memory is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storage) || (has(self.initProvider) && has(self.initProvider.storage))",message="spec.forProvider.storage is a required parameter"
	Spec   BasicInstanceSpec   `json:"spec"`
	Status BasicInstanceStatus `json:"status,omitempty"`
}

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

func (*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) GetInitParameters added in v0.8.0

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

GetInitParameters of this BasicInstance

func (*BasicInstance) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this BasicInstance.

func (*BasicInstance) GetMergedParameters added in v0.8.1

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

GetInitParameters of this BasicInstance

func (*BasicInstance) GetObservation

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

GetObservation of this BasicInstance

func (*BasicInstance) GetParameters

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

GetParameters of this BasicInstance

func (*BasicInstance) GetProviderConfigReference

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

GetProviderConfigReference of this BasicInstance.

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) Hub added in v0.8.1

func (tr *BasicInstance) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this BasicInstance.

func (*BasicInstance) SetObservation

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

SetObservation for this BasicInstance

func (*BasicInstance) SetParameters

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

SetParameters for this BasicInstance

func (*BasicInstance) SetProviderConfigReference

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

SetProviderConfigReference of this BasicInstance.

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 BasicInstanceInitParameters added in v0.8.0

type BasicInstanceInitParameters 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.
	// Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal, the default is 1 automatic renewal. Only valid when purchasing a prepaid instance.
	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.
	// Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
	AutoVoucher *float64 `json:"autoVoucher,omitempty" tf:"auto_voucher,omitempty"`

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

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

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

	// System character set sorting rule, default: Chinese_PRC_CI_AS.
	// System character set sorting rule, default: Chinese_PRC_CI_AS.
	Collation *string `json:"collation,omitempty" tf:"collation,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.
	// 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`.
	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, CLOUD_HSSD for virtual machine enhanced cloud disk, CLOUD_BSSD for virtual machine general purpose SSD cloud disk.
	// The host type of the purchased instance, `CLOUD_PREMIUM` for virtual machine high-performance cloud disk, `CLOUD_SSD` for virtual machine SSD cloud disk, `CLOUD_HSSD` for virtual machine enhanced cloud disk, `CLOUD_BSSD` for virtual machine general purpose SSD cloud disk.
	MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`

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

	// The timespan of maintenance in one day, unit is hour.
	// The timespan of maintenance in one day, unit is hour.
	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.
	// A list of integer indicates weekly maintenance. For example, [1,7] presents do weekly maintenance on every Monday and Sunday.
	// +listType=set
	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.
	// Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

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

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

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

	// Security group bound to the instance.
	// Security group bound to the instance.
	// +listType=set
	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.
	// 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.
	Storage *float64 `json:"storage,omitempty" tf:"storage,omitempty"`

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

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

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

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

	// ID of VPC.
	// ID of VPC.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

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

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

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

func (*BasicInstanceInitParameters) DeepCopy added in v0.8.0

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

func (*BasicInstanceInitParameters) DeepCopyInto added in v0.8.0

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

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 {

	// Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal, the default is 1 automatic renewal. Only valid when purchasing a prepaid instance.
	// Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal, the default is 1 automatic renewal. Only valid when purchasing a prepaid instance.
	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.
	// Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
	AutoVoucher *float64 `json:"autoVoucher,omitempty" tf:"auto_voucher,omitempty"`

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

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

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

	// System character set sorting rule, default: Chinese_PRC_CI_AS.
	// System character set sorting rule, default: Chinese_PRC_CI_AS.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// Create time of the SQL Server basic instance.
	// Create time of the SQL Server basic instance.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Internet address domain name.
	// Internet address domain name.
	DNSPodDomain *string `json:"dnsPodDomain,omitempty" tf:"dns_pod_domain,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.
	// 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`.
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,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, CLOUD_HSSD for virtual machine enhanced cloud disk, CLOUD_BSSD for virtual machine general purpose SSD cloud disk.
	// The host type of the purchased instance, `CLOUD_PREMIUM` for virtual machine high-performance cloud disk, `CLOUD_SSD` for virtual machine SSD cloud disk, `CLOUD_HSSD` for virtual machine enhanced cloud disk, `CLOUD_BSSD` for virtual machine general purpose SSD cloud disk.
	MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`

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

	// The timespan of maintenance in one day, unit is hour.
	// The timespan of maintenance in one day, unit is hour.
	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.
	// A list of integer indicates weekly maintenance. For example, [1,7] presents do weekly maintenance on every Monday and Sunday.
	// +listType=set
	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.
	// Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

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

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

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

	// Security group bound to the instance.
	// Security group bound to the instance.
	// +listType=set
	SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`

	// Status of the SQL Server basic instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
	// Status of the SQL Server basic instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
	Status *float64 `json:"status,omitempty" tf:"status,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.
	// 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.
	Storage *float64 `json:"storage,omitempty" tf:"storage,omitempty"`

	// ID of subnet.
	// ID of subnet.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

	// External port number.
	// External port number.
	TgwWanVport *float64 `json:"tgwWanVport,omitempty" tf:"tgw_wan_vport,omitempty"`

	// ID of VPC.
	// ID of VPC.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// IP for private access.
	// IP for private access.
	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`

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

	// Port for private access.
	// Port for private access.
	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.
	// 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.
	// 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.
	// Availability zone.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

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

	// Pay type of the SQL Server basic instance. For now, only POSTPAID_BY_HOUR is valid.
	// 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"`

	// System character set sorting rule, default: Chinese_PRC_CI_AS.
	// System character set sorting rule, default: Chinese_PRC_CI_AS.
	// +kubebuilder:validation:Optional
	Collation *string `json:"collation,omitempty" tf:"collation,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.
	// 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, CLOUD_HSSD for virtual machine enhanced cloud disk, CLOUD_BSSD for virtual machine general purpose SSD cloud disk.
	// The host type of the purchased instance, `CLOUD_PREMIUM` for virtual machine high-performance cloud disk, `CLOUD_SSD` for virtual machine SSD cloud disk, `CLOUD_HSSD` for virtual machine enhanced cloud disk, `CLOUD_BSSD` for virtual machine general purpose SSD cloud disk.
	// +kubebuilder:validation:Optional
	MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`

	// Start time of the maintenance in one day, format like HH:mm.
	// 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.
	// 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.
	// A list of integer indicates weekly maintenance. For example, [1,7] presents do weekly maintenance on every Monday and Sunday.
	// +kubebuilder:validation:Optional
	// +listType=set
	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.
	// Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
	// +kubebuilder:validation:Optional
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

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

	// Purchase instance period, the default value is 1, which means one month. The value does not exceed 48.
	// 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.
	// Project ID, default value is 0.
	// +kubebuilder:validation:Optional
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Security group bound to the instance.
	// Security group bound to the instance.
	// +kubebuilder:validation:Optional
	// +listType=set
	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.
	// 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:Optional
	Storage *float64 `json:"storage,omitempty" tf:"storage,omitempty"`

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

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

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

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

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

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

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

	// An array of voucher IDs, currently only one can be used for a single order.
	// An array of voucher IDs, currently only one can be used for a single order.
	// +kubebuilder:validation:Optional
	// +listType=set
	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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider BasicInstanceInitParameters `json:"initProvider,omitempty"`
}

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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   DBSpec   `json:"spec"`
	Status DBStatus `json:"status,omitempty"`
}

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

func (*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) GetInitParameters added in v0.8.0

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

GetInitParameters of this DB

func (*DB) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this DB.

func (*DB) GetMergedParameters added in v0.8.1

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

GetInitParameters of this DB

func (*DB) GetObservation

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

GetObservation of this DB

func (*DB) GetParameters

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

GetParameters of this DB

func (*DB) GetProviderConfigReference

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

GetProviderConfigReference of this DB.

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) Hub added in v0.8.1

func (tr *DB) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this DB.

func (*DB) SetObservation

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

SetObservation for this DB

func (*DB) SetParameters

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

SetParameters for this DB

func (*DB) SetProviderConfigReference

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

SetProviderConfigReference of this DB.

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 DBInitParameters added in v0.8.0

type DBInitParameters 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.
	// 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`.
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

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

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

	// Selector for a Instance to populate instanceId.
	// +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.
	// 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.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

func (*DBInitParameters) DeepCopy added in v0.8.0

func (in *DBInitParameters) DeepCopy() *DBInitParameters

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

func (*DBInitParameters) DeepCopyInto added in v0.8.0

func (in *DBInitParameters) DeepCopyInto(out *DBInitParameters)

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

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 {

	// 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.
	// 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`.
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// Database creation time.
	// Database creation time.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

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

	// SQL Server instance ID which DB belongs to.
	// SQL Server instance ID which DB belongs to.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// 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.
	// 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.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Remark of the DB.
	// Remark of the DB.
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// Database status, could be creating, running, modifying which means changing the remark, and deleting.
	// Database status, could be `creating`, `running`, `modifying` which means changing the remark, and `deleting`.
	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.
	// 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.
	// 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"`

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

	// Selector for a Instance to populate instanceId.
	// +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.
	// 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:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Remark of the DB.
	// 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DBInitParameters `json:"initProvider,omitempty"`
}

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 DatabaseTuplesInitParameters added in v0.8.0

type DatabaseTuplesInitParameters struct {

	// Publish the database.
	// Publish the database.
	PublishDatabase *string `json:"publishDatabase,omitempty" tf:"publish_database,omitempty"`

	// Subscribe the database.
	// Subscribe the database.
	SubscribeDatabase *string `json:"subscribeDatabase,omitempty" tf:"subscribe_database,omitempty"`
}

func (*DatabaseTuplesInitParameters) DeepCopy added in v0.8.0

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

func (*DatabaseTuplesInitParameters) DeepCopyInto added in v0.8.0

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

type DatabaseTuplesObservation

type DatabaseTuplesObservation struct {

	// Publish the database.
	// Publish the database.
	PublishDatabase *string `json:"publishDatabase,omitempty" tf:"publish_database,omitempty"`

	// Subscribe the database.
	// Subscribe the database.
	SubscribeDatabase *string `json:"subscribeDatabase,omitempty" tf:"subscribe_database,omitempty"`
}

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.
	// Publish the database.
	// +kubebuilder:validation:Optional
	PublishDatabase *string `json:"publishDatabase" tf:"publish_database,omitempty"`

	// Subscribe the database.
	// Subscribe the database.
	// +kubebuilder:validation:Optional
	SubscribeDatabase *string `json:"subscribeDatabase" tf:"subscribe_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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.memory) || (has(self.initProvider) && has(self.initProvider.memory))",message="spec.forProvider.memory is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storage) || (has(self.initProvider) && has(self.initProvider.storage))",message="spec.forProvider.storage is a required parameter"
	Spec   InstanceSpec   `json:"spec"`
	Status InstanceStatus `json:"status,omitempty"`
}

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

func (*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) GetInitParameters added in v0.8.0

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

GetInitParameters of this Instance

func (*Instance) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this Instance.

func (*Instance) GetMergedParameters added in v0.8.1

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

GetInitParameters of this Instance

func (*Instance) GetObservation

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

GetObservation of this Instance

func (*Instance) GetParameters

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

GetParameters of this Instance

func (*Instance) GetProviderConfigReference

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

GetProviderConfigReference of this Instance.

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) Hub added in v0.8.1

func (tr *Instance) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this Instance.

func (*Instance) SetObservation

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

SetObservation for this Instance

func (*Instance) SetParameters

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

SetParameters for this Instance

func (*Instance) SetProviderConfigReference

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

SetProviderConfigReference of this Instance.

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 InstanceInitParameters added in v0.8.0

type InstanceInitParameters struct {

	// Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
	// Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
	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.
	// Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
	AutoVoucher *float64 `json:"autoVoucher,omitempty" tf:"auto_voucher,omitempty"`

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

	// Pay type of the SQL Server instance. Available values PREPAID, POSTPAID_BY_HOUR.
	// Pay type of the SQL Server instance. Available values `PREPAID`, `POSTPAID_BY_HOUR`.
	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.
	// 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`.
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// It has been deprecated from version 1.81.136. Instance type. DUAL (dual-server high availability), CLUSTER (cluster). Default is DUAL.
	// Instance type. `DUAL` (dual-server high availability), `CLUSTER` (cluster). Default is `DUAL`.
	HaType *string `json:"haType,omitempty" tf:"ha_type,omitempty"`

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

	// The timespan of maintenance in one day, unit is hour.
	// The timespan of maintenance in one day, unit is hour.
	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.
	// A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
	// +listType=set
	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.
	// Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

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

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

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

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

	// Security group bound to the instance.
	// Security group bound to the instance.
	// +listType=set
	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.
	// 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.
	Storage *float64 `json:"storage,omitempty" tf:"storage,omitempty"`

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

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

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

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

	// System time zone, default: China Standard Time.
	// System time zone, default: `China Standard Time`.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// ID of VPC.
	// ID of VPC.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

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

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

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

	// It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	// The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	WaitSwitch *float64 `json:"waitSwitch,omitempty" tf:"wait_switch,omitempty"`
}

func (*InstanceInitParameters) DeepCopy added in v0.8.0

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

func (*InstanceInitParameters) DeepCopyInto added in v0.8.0

func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters)

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

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 {

	// Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
	// Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
	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.
	// Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
	AutoVoucher *float64 `json:"autoVoucher,omitempty" tf:"auto_voucher,omitempty"`

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

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

	// Create time of the SQL Server instance.
	// Create time of the SQL Server instance.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Internet address domain name.
	// Internet address domain name.
	DNSPodDomain *string `json:"dnsPodDomain,omitempty" tf:"dns_pod_domain,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.
	// 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`.
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// It has been deprecated from version 1.81.136. Instance type. DUAL (dual-server high availability), CLUSTER (cluster). Default is DUAL.
	// Instance type. `DUAL` (dual-server high availability), `CLUSTER` (cluster). Default is `DUAL`.
	HaType *string `json:"haType,omitempty" tf:"ha_type,omitempty"`

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

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

	// The timespan of maintenance in one day, unit is hour.
	// The timespan of maintenance in one day, unit is hour.
	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.
	// A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
	// +listType=set
	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.
	// Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

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

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

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

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

	// Readonly flag. RO (read-only instance), MASTER (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
	// Readonly flag. `RO` (read-only instance), `MASTER` (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
	RoFlag *string `json:"roFlag,omitempty" tf:"ro_flag,omitempty"`

	// Security group bound to the instance.
	// Security group bound to the instance.
	// +listType=set
	SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`

	// Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
	// Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
	Status *float64 `json:"status,omitempty" tf:"status,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.
	// 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.
	Storage *float64 `json:"storage,omitempty" tf:"storage,omitempty"`

	// ID of subnet.
	// ID of subnet.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

	// External port number.
	// External port number.
	TgwWanVport *float64 `json:"tgwWanVport,omitempty" tf:"tgw_wan_vport,omitempty"`

	// System time zone, default: China Standard Time.
	// System time zone, default: `China Standard Time`.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// ID of VPC.
	// ID of VPC.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// IP for private access.
	// IP for private access.
	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`

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

	// Port for private access.
	// Port for private access.
	Vport *float64 `json:"vport,omitempty" tf:"vport,omitempty"`

	// It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	// The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	WaitSwitch *float64 `json:"waitSwitch,omitempty" tf:"wait_switch,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.
	// 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.
	// 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.
	// 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.
	// 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.
	// 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"`

	// It has been deprecated from version 1.81.136. Instance type. DUAL (dual-server high availability), CLUSTER (cluster). Default is DUAL.
	// 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.
	// 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.
	// 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.
	// A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
	// +kubebuilder:validation:Optional
	// +listType=set
	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.
	// Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
	// +kubebuilder:validation:Optional
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

	// Indicate whether to deploy across availability zones.
	// 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.
	// Name of the SQL Server instance.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Purchase instance period in month. The value does not exceed 48.
	// 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.
	// Project ID, default value is 0.
	// +kubebuilder:validation:Optional
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Security group bound to the instance.
	// Security group bound to the instance.
	// +kubebuilder:validation:Optional
	// +listType=set
	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.
	// 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:Optional
	Storage *float64 `json:"storage,omitempty" tf:"storage,omitempty"`

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

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

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

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

	// System time zone, default: China Standard Time.
	// System time zone, default: `China Standard Time`.
	// +kubebuilder:validation:Optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

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

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

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

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

	// It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	// The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	// +kubebuilder:validation:Optional
	WaitSwitch *float64 `json:"waitSwitch,omitempty" tf:"wait_switch,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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider InstanceInitParameters `json:"initProvider,omitempty"`
}

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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.databaseTuples) || (has(self.initProvider) && has(self.initProvider.databaseTuples))",message="spec.forProvider.databaseTuples is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.publishInstanceId) || (has(self.initProvider) && has(self.initProvider.publishInstanceId))",message="spec.forProvider.publishInstanceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subscribeInstanceId) || (has(self.initProvider) && has(self.initProvider.subscribeInstanceId))",message="spec.forProvider.subscribeInstanceId is a required parameter"
	Spec   PublishSubscribeSpec   `json:"spec"`
	Status PublishSubscribeStatus `json:"status,omitempty"`
}

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

func (*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) GetInitParameters added in v0.8.0

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

GetInitParameters of this PublishSubscribe

func (*PublishSubscribe) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this PublishSubscribe.

func (*PublishSubscribe) GetMergedParameters added in v0.8.1

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

GetInitParameters of this PublishSubscribe

func (*PublishSubscribe) GetObservation

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

GetObservation of this PublishSubscribe

func (*PublishSubscribe) GetParameters

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

GetParameters of this PublishSubscribe

func (*PublishSubscribe) GetProviderConfigReference

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

GetProviderConfigReference of this PublishSubscribe.

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) Hub added in v0.8.1

func (tr *PublishSubscribe) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this PublishSubscribe.

func (*PublishSubscribe) SetObservation

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

SetObservation for this PublishSubscribe

func (*PublishSubscribe) SetParameters

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

SetParameters for this PublishSubscribe

func (*PublishSubscribe) SetProviderConfigReference

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

SetProviderConfigReference of this PublishSubscribe.

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 PublishSubscribeInitParameters added in v0.8.0

type PublishSubscribeInitParameters struct {

	// Database Publish and Publish relationship list. The elements inside can be deleted and added individually, but modification is not allowed.
	// Database Publish and Publish relationship list. The elements inside can be deleted and added individually, but modification is not allowed.
	DatabaseTuples []DatabaseTuplesInitParameters `json:"databaseTuples,omitempty" 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.
	// 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`.
	DeleteSubscribeDB *bool `json:"deleteSubscribeDb,omitempty" tf:"delete_subscribe_db,omitempty"`

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

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

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

func (*PublishSubscribeInitParameters) DeepCopy added in v0.8.0

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

func (*PublishSubscribeInitParameters) DeepCopyInto added in v0.8.0

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

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 {

	// Database Publish and Publish relationship list. The elements inside can be deleted and added individually, but modification is not allowed.
	// Database Publish and Publish relationship list. The elements inside can be deleted and added individually, but modification is not allowed.
	DatabaseTuples []DatabaseTuplesObservation `json:"databaseTuples,omitempty" 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.
	// 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`.
	DeleteSubscribeDB *bool `json:"deleteSubscribeDb,omitempty" tf:"delete_subscribe_db,omitempty"`

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

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

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

	// ID of the SQL Server instance which subscribe.
	// ID of the SQL Server instance which subscribe.
	SubscribeInstanceID *string `json:"subscribeInstanceId,omitempty" tf:"subscribe_instance_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.
	// Database Publish and Publish relationship list. The elements inside can be deleted and added individually, but modification is not allowed.
	// +kubebuilder:validation:Optional
	DatabaseTuples []DatabaseTuplesParameters `json:"databaseTuples,omitempty" 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.
	// 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.
	// ID of the SQL Server instance which publish.
	// +kubebuilder:validation:Optional
	PublishInstanceID *string `json:"publishInstanceId,omitempty" tf:"publish_instance_id,omitempty"`

	// The name of the Publish and Subscribe. Default is default_name.
	// 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.
	// ID of the SQL Server instance which subscribe.
	// +kubebuilder:validation:Optional
	SubscribeInstanceID *string `json:"subscribeInstanceId,omitempty" 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider PublishSubscribeInitParameters `json:"initProvider,omitempty"`
}

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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.memory) || (has(self.initProvider) && has(self.initProvider.memory))",message="spec.forProvider.memory is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.readonlyGroupType) || (has(self.initProvider) && has(self.initProvider.readonlyGroupType))",message="spec.forProvider.readonlyGroupType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storage) || (has(self.initProvider) && has(self.initProvider.storage))",message="spec.forProvider.storage is a required parameter"
	Spec   ReadonlyInstanceSpec   `json:"spec"`
	Status ReadonlyInstanceStatus `json:"status,omitempty"`
}

ReadonlyInstance is the Schema for the ReadonlyInstances API. Provides a SQL Server instance resource to create read-only database instances. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*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) GetInitParameters added in v0.8.0

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

GetInitParameters of this ReadonlyInstance

func (*ReadonlyInstance) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this ReadonlyInstance.

func (*ReadonlyInstance) GetMergedParameters added in v0.8.1

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

GetInitParameters of this ReadonlyInstance

func (*ReadonlyInstance) GetObservation

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

GetObservation of this ReadonlyInstance

func (*ReadonlyInstance) GetParameters

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

GetParameters of this ReadonlyInstance

func (*ReadonlyInstance) GetProviderConfigReference

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

GetProviderConfigReference of this ReadonlyInstance.

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) Hub added in v0.8.1

func (tr *ReadonlyInstance) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this ReadonlyInstance.

func (*ReadonlyInstance) SetObservation

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

SetObservation for this ReadonlyInstance

func (*ReadonlyInstance) SetParameters

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

SetParameters for this ReadonlyInstance

func (*ReadonlyInstance) SetProviderConfigReference

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

SetProviderConfigReference of this ReadonlyInstance.

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 ReadonlyInstanceInitParameters added in v0.8.0

type ReadonlyInstanceInitParameters struct {

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

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

	// Pay type of the SQL Server instance. Available values PREPAID, POSTPAID_BY_HOUR.
	// Pay type of the SQL Server instance. Available values `PREPAID`, `POSTPAID_BY_HOUR`.
	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.
	// 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.
	ForceUpgrade *bool `json:"forceUpgrade,omitempty" tf:"force_upgrade,omitempty"`

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

	// Reference to a Instance to populate masterInstanceId.
	// +kubebuilder:validation:Optional
	MasterInstanceIDRef *v1.Reference `json:"masterInstanceIdRef,omitempty" tf:"-"`

	// Selector for a Instance to populate masterInstanceId.
	// +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.
	// Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

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

	// Purchase instance period in month. The value does not exceed 48.
	// Purchase instance period in month. The value does not exceed 48.
	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.
	// ID of the readonly group that this instance belongs to. When `readonly_group_type` set value `3`, it must be set with valid value.
	ReadonlyGroupID *string `json:"readonlyGroupId,omitempty" tf:"readonly_group_id,omitempty"`

	// Required when readonly_group_type=2, the name of the newly created read-only group.
	// Required when `readonly_group_type`=2, the name of the newly created read-only group.
	ReadonlyGroupName *string `json:"readonlyGroupName,omitempty" tf:"readonly_group_name,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.
	// 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.
	ReadonlyGroupType *float64 `json:"readonlyGroupType,omitempty" tf:"readonly_group_type,omitempty"`

	// Required when readonly_group_type=2, whether the newly created read-only group has delay elimination enabled, 1-enabled, 0-disabled. When the delay between the read-only copy and the primary instance exceeds the threshold, it is automatically removed.
	// Required when `readonly_group_type`=2, whether the newly created read-only group has delay elimination enabled, 1-enabled, 0-disabled. When the delay between the read-only copy and the primary instance exceeds the threshold, it is automatically removed.
	ReadonlyGroupsIsOfflineDelay *float64 `json:"readonlyGroupsIsOfflineDelay,omitempty" tf:"readonly_groups_is_offline_delay,omitempty"`

	// Required when readonly_group_type=2 and readonly_groups_is_offline_delay=1, the threshold for delayed elimination of newly created read-only groups.
	// Required when `readonly_group_type`=2 and `readonly_groups_is_offline_delay`=1, the threshold for delayed elimination of newly created read-only groups.
	ReadonlyGroupsMaxDelayTime *float64 `json:"readonlyGroupsMaxDelayTime,omitempty" tf:"readonly_groups_max_delay_time,omitempty"`

	// When readonly_group_type=2 and readonly_groups_is_offline_delay=1, it is required. After the newly created read-only group is delayed and removed, at least the number of read-only copies should be retained.
	// When `readonly_group_type`=2 and `readonly_groups_is_offline_delay`=1, it is required. After the newly created read-only group is delayed and removed, at least the number of read-only copies should be retained.
	ReadonlyGroupsMinInGroup *float64 `json:"readonlyGroupsMinInGroup,omitempty" tf:"readonly_groups_min_in_group,omitempty"`

	// Security group bound to the instance.
	// Security group bound to the instance.
	// +listType=set
	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.
	// 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.
	Storage *float64 `json:"storage,omitempty" tf:"storage,omitempty"`

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

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

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

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

	// System time zone, default: China Standard Time.
	// System time zone, default: `China Standard Time`.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// ID of VPC.
	// ID of VPC.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

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

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

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

	// It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	// The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	WaitSwitch *float64 `json:"waitSwitch,omitempty" tf:"wait_switch,omitempty"`
}

func (*ReadonlyInstanceInitParameters) DeepCopy added in v0.8.0

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

func (*ReadonlyInstanceInitParameters) DeepCopyInto added in v0.8.0

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

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 {

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

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

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

	// Create time of the SQL Server instance.
	// Create time of the SQL Server instance.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Internet address domain name.
	// Internet address domain name.
	DNSPodDomain *string `json:"dnsPodDomain,omitempty" tf:"dns_pod_domain,omitempty"`

	// Version of the SQL Server database engine.
	// Version of the SQL Server database engine.
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,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.
	// 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.
	ForceUpgrade *bool `json:"forceUpgrade,omitempty" tf:"force_upgrade,omitempty"`

	// Instance type.
	// Instance type.
	HaType *string `json:"haType,omitempty" tf:"ha_type,omitempty"`

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

	// Indicates the master instance ID of recovery instances.
	// Indicates the master instance ID of recovery instances.
	MasterInstanceID *string `json:"masterInstanceId,omitempty" tf:"master_instance_id,omitempty"`

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

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

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

	// Project ID.
	// Project ID.
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,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.
	// ID of the readonly group that this instance belongs to. When `readonly_group_type` set value `3`, it must be set with valid value.
	ReadonlyGroupID *string `json:"readonlyGroupId,omitempty" tf:"readonly_group_id,omitempty"`

	// Required when readonly_group_type=2, the name of the newly created read-only group.
	// Required when `readonly_group_type`=2, the name of the newly created read-only group.
	ReadonlyGroupName *string `json:"readonlyGroupName,omitempty" tf:"readonly_group_name,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.
	// 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.
	ReadonlyGroupType *float64 `json:"readonlyGroupType,omitempty" tf:"readonly_group_type,omitempty"`

	// Required when readonly_group_type=2, whether the newly created read-only group has delay elimination enabled, 1-enabled, 0-disabled. When the delay between the read-only copy and the primary instance exceeds the threshold, it is automatically removed.
	// Required when `readonly_group_type`=2, whether the newly created read-only group has delay elimination enabled, 1-enabled, 0-disabled. When the delay between the read-only copy and the primary instance exceeds the threshold, it is automatically removed.
	ReadonlyGroupsIsOfflineDelay *float64 `json:"readonlyGroupsIsOfflineDelay,omitempty" tf:"readonly_groups_is_offline_delay,omitempty"`

	// Required when readonly_group_type=2 and readonly_groups_is_offline_delay=1, the threshold for delayed elimination of newly created read-only groups.
	// Required when `readonly_group_type`=2 and `readonly_groups_is_offline_delay`=1, the threshold for delayed elimination of newly created read-only groups.
	ReadonlyGroupsMaxDelayTime *float64 `json:"readonlyGroupsMaxDelayTime,omitempty" tf:"readonly_groups_max_delay_time,omitempty"`

	// When readonly_group_type=2 and readonly_groups_is_offline_delay=1, it is required. After the newly created read-only group is delayed and removed, at least the number of read-only copies should be retained.
	// When `readonly_group_type`=2 and `readonly_groups_is_offline_delay`=1, it is required. After the newly created read-only group is delayed and removed, at least the number of read-only copies should be retained.
	ReadonlyGroupsMinInGroup *float64 `json:"readonlyGroupsMinInGroup,omitempty" tf:"readonly_groups_min_in_group,omitempty"`

	// Readonly flag. RO (read-only instance), MASTER (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
	// Readonly flag. `RO` (read-only instance), `MASTER` (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
	RoFlag *string `json:"roFlag,omitempty" tf:"ro_flag,omitempty"`

	// Security group bound to the instance.
	// Security group bound to the instance.
	// +listType=set
	SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`

	// Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
	// Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
	Status *float64 `json:"status,omitempty" tf:"status,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.
	// 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.
	Storage *float64 `json:"storage,omitempty" tf:"storage,omitempty"`

	// ID of subnet.
	// ID of subnet.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

	// External port number.
	// External port number.
	TgwWanVport *float64 `json:"tgwWanVport,omitempty" tf:"tgw_wan_vport,omitempty"`

	// System time zone, default: China Standard Time.
	// System time zone, default: `China Standard Time`.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// ID of VPC.
	// ID of VPC.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// IP for private access.
	// IP for private access.
	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`

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

	// Port for private access.
	// Port for private access.
	Vport *float64 `json:"vport,omitempty" tf:"vport,omitempty"`

	// It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	// The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	WaitSwitch *float64 `json:"waitSwitch,omitempty" tf:"wait_switch,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.
	// 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.
	// 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.
	// 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.
	// 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.
	// 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"`

	// Reference to a Instance to populate masterInstanceId.
	// +kubebuilder:validation:Optional
	MasterInstanceIDRef *v1.Reference `json:"masterInstanceIdRef,omitempty" tf:"-"`

	// Selector for a Instance to populate masterInstanceId.
	// +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.
	// Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
	// +kubebuilder:validation:Optional
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

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

	// Purchase instance period in month. The value does not exceed 48.
	// 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.
	// 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"`

	// Required when readonly_group_type=2, the name of the newly created read-only group.
	// Required when `readonly_group_type`=2, the name of the newly created read-only group.
	// +kubebuilder:validation:Optional
	ReadonlyGroupName *string `json:"readonlyGroupName,omitempty" tf:"readonly_group_name,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.
	// 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:Optional
	ReadonlyGroupType *float64 `json:"readonlyGroupType,omitempty" tf:"readonly_group_type,omitempty"`

	// Required when readonly_group_type=2, whether the newly created read-only group has delay elimination enabled, 1-enabled, 0-disabled. When the delay between the read-only copy and the primary instance exceeds the threshold, it is automatically removed.
	// Required when `readonly_group_type`=2, whether the newly created read-only group has delay elimination enabled, 1-enabled, 0-disabled. When the delay between the read-only copy and the primary instance exceeds the threshold, it is automatically removed.
	// +kubebuilder:validation:Optional
	ReadonlyGroupsIsOfflineDelay *float64 `json:"readonlyGroupsIsOfflineDelay,omitempty" tf:"readonly_groups_is_offline_delay,omitempty"`

	// Required when readonly_group_type=2 and readonly_groups_is_offline_delay=1, the threshold for delayed elimination of newly created read-only groups.
	// Required when `readonly_group_type`=2 and `readonly_groups_is_offline_delay`=1, the threshold for delayed elimination of newly created read-only groups.
	// +kubebuilder:validation:Optional
	ReadonlyGroupsMaxDelayTime *float64 `json:"readonlyGroupsMaxDelayTime,omitempty" tf:"readonly_groups_max_delay_time,omitempty"`

	// When readonly_group_type=2 and readonly_groups_is_offline_delay=1, it is required. After the newly created read-only group is delayed and removed, at least the number of read-only copies should be retained.
	// When `readonly_group_type`=2 and `readonly_groups_is_offline_delay`=1, it is required. After the newly created read-only group is delayed and removed, at least the number of read-only copies should be retained.
	// +kubebuilder:validation:Optional
	ReadonlyGroupsMinInGroup *float64 `json:"readonlyGroupsMinInGroup,omitempty" tf:"readonly_groups_min_in_group,omitempty"`

	// Security group bound to the instance.
	// Security group bound to the instance.
	// +kubebuilder:validation:Optional
	// +listType=set
	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.
	// 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:Optional
	Storage *float64 `json:"storage,omitempty" tf:"storage,omitempty"`

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

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

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

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

	// System time zone, default: China Standard Time.
	// System time zone, default: `China Standard Time`.
	// +kubebuilder:validation:Optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

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

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

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

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

	// It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	// The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
	// +kubebuilder:validation:Optional
	WaitSwitch *float64 `json:"waitSwitch,omitempty" tf:"wait_switch,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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ReadonlyInstanceInitParameters `json:"initProvider,omitempty"`
}

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