v1alpha1

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	DcdbAccount_Kind             = "DcdbAccount"
	DcdbAccount_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DcdbAccount_Kind}.String()
	DcdbAccount_KindAPIVersion   = DcdbAccount_Kind + "." + CRDGroupVersion.String()
	DcdbAccount_GroupVersionKind = CRDGroupVersion.WithKind(DcdbAccount_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 (
	HourdbInstance_Kind             = "HourdbInstance"
	HourdbInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: HourdbInstance_Kind}.String()
	HourdbInstance_KindAPIVersion   = HourdbInstance_Kind + "." + CRDGroupVersion.String()
	HourdbInstance_GroupVersionKind = CRDGroupVersion.WithKind(HourdbInstance_Kind)
)

Repository type metadata.

View Source
var (
	SecurityGroupAttachment_Kind             = "SecurityGroupAttachment"
	SecurityGroupAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroupAttachment_Kind}.String()
	SecurityGroupAttachment_KindAPIVersion   = SecurityGroupAttachment_Kind + "." + CRDGroupVersion.String()
	SecurityGroupAttachment_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroupAttachment_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DcdbAccount

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

DcdbAccount is the Schema for the DcdbAccounts API. Provides a resource to create a dcdb 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 (*DcdbAccount) DeepCopy

func (in *DcdbAccount) DeepCopy() *DcdbAccount

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

func (*DcdbAccount) DeepCopyInto

func (in *DcdbAccount) DeepCopyInto(out *DcdbAccount)

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

func (*DcdbAccount) DeepCopyObject

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

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

func (*DcdbAccount) GetCondition

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

GetCondition of this DcdbAccount.

func (*DcdbAccount) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DcdbAccount

func (*DcdbAccount) GetDeletionPolicy

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

GetDeletionPolicy of this DcdbAccount.

func (*DcdbAccount) GetID

func (tr *DcdbAccount) GetID() string

GetID returns ID of underlying Terraform resource of this DcdbAccount

func (*DcdbAccount) GetInitParameters added in v0.8.0

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

GetInitParameters of this DcdbAccount

func (*DcdbAccount) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this DcdbAccount.

func (*DcdbAccount) GetMergedParameters added in v0.8.1

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

GetInitParameters of this DcdbAccount

func (*DcdbAccount) GetObservation

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

GetObservation of this DcdbAccount

func (*DcdbAccount) GetParameters

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

GetParameters of this DcdbAccount

func (*DcdbAccount) GetProviderConfigReference

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

GetProviderConfigReference of this DcdbAccount.

func (*DcdbAccount) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DcdbAccount.

func (*DcdbAccount) GetTerraformResourceType

func (mg *DcdbAccount) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DcdbAccount

func (*DcdbAccount) GetTerraformSchemaVersion

func (tr *DcdbAccount) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DcdbAccount) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DcdbAccount.

func (*DcdbAccount) Hub added in v0.8.1

func (tr *DcdbAccount) Hub()

Hub marks this type as a conversion hub.

func (*DcdbAccount) LateInitialize

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

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

func (*DcdbAccount) ResolveReferences

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

ResolveReferences of this DcdbAccount.

func (*DcdbAccount) SetConditions

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

SetConditions of this DcdbAccount.

func (*DcdbAccount) SetDeletionPolicy

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

SetDeletionPolicy of this DcdbAccount.

func (*DcdbAccount) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this DcdbAccount.

func (*DcdbAccount) SetObservation

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

SetObservation for this DcdbAccount

func (*DcdbAccount) SetParameters

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

SetParameters for this DcdbAccount

func (*DcdbAccount) SetProviderConfigReference

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

SetProviderConfigReference of this DcdbAccount.

func (*DcdbAccount) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DcdbAccount.

func (*DcdbAccount) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DcdbAccount.

type DcdbAccountInitParameters added in v0.8.0

type DcdbAccountInitParameters struct {

	// description for account.
	// description for account.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// db host.
	// db host.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// instance id.
	// instance id.
	// +crossplane:generate:reference:type=HourdbInstance
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// max user connections.
	// max user connections.
	MaxUserConnections *float64 `json:"maxUserConnections,omitempty" tf:"max_user_connections,omitempty"`

	// whether the account is readonly. 0 means not a readonly account.
	// whether the account is readonly. 0 means not a readonly account.
	ReadOnly *float64 `json:"readOnly,omitempty" tf:"read_only,omitempty"`

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

func (*DcdbAccountInitParameters) DeepCopy added in v0.8.0

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

func (*DcdbAccountInitParameters) DeepCopyInto added in v0.8.0

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

type DcdbAccountList

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

DcdbAccountList contains a list of DcdbAccounts

func (*DcdbAccountList) DeepCopy

func (in *DcdbAccountList) DeepCopy() *DcdbAccountList

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

func (*DcdbAccountList) DeepCopyInto

func (in *DcdbAccountList) DeepCopyInto(out *DcdbAccountList)

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

func (*DcdbAccountList) DeepCopyObject

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

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

func (*DcdbAccountList) GetItems

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

GetItems of this DcdbAccountList.

type DcdbAccountObservation

type DcdbAccountObservation struct {

	// description for account.
	// description for account.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// db host.
	// db host.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

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

	// instance id.
	// instance id.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// max user connections.
	// max user connections.
	MaxUserConnections *float64 `json:"maxUserConnections,omitempty" tf:"max_user_connections,omitempty"`

	// whether the account is readonly. 0 means not a readonly account.
	// whether the account is readonly. 0 means not a readonly account.
	ReadOnly *float64 `json:"readOnly,omitempty" tf:"read_only,omitempty"`

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

func (*DcdbAccountObservation) DeepCopy

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

func (*DcdbAccountObservation) DeepCopyInto

func (in *DcdbAccountObservation) DeepCopyInto(out *DcdbAccountObservation)

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

type DcdbAccountParameters

type DcdbAccountParameters struct {

	// description for account.
	// description for account.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// db host.
	// db host.
	// +kubebuilder:validation:Optional
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// instance id.
	// instance id.
	// +crossplane:generate:reference:type=HourdbInstance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// max user connections.
	// max user connections.
	// +kubebuilder:validation:Optional
	MaxUserConnections *float64 `json:"maxUserConnections,omitempty" tf:"max_user_connections,omitempty"`

	// password.
	// password.
	// +kubebuilder:validation:Optional
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// whether the account is readonly. 0 means not a readonly account.
	// whether the account is readonly. 0 means not a readonly account.
	// +kubebuilder:validation:Optional
	ReadOnly *float64 `json:"readOnly,omitempty" tf:"read_only,omitempty"`

	// account name.
	// account name.
	// +kubebuilder:validation:Optional
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*DcdbAccountParameters) DeepCopy

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

func (*DcdbAccountParameters) DeepCopyInto

func (in *DcdbAccountParameters) DeepCopyInto(out *DcdbAccountParameters)

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

type DcdbAccountSpec

type DcdbAccountSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DcdbAccountParameters `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 DcdbAccountInitParameters `json:"initProvider,omitempty"`
}

DcdbAccountSpec defines the desired state of DcdbAccount

func (*DcdbAccountSpec) DeepCopy

func (in *DcdbAccountSpec) DeepCopy() *DcdbAccountSpec

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

func (*DcdbAccountSpec) DeepCopyInto

func (in *DcdbAccountSpec) DeepCopyInto(out *DcdbAccountSpec)

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

type DcdbAccountStatus

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

DcdbAccountStatus defines the observed state of DcdbAccount.

func (*DcdbAccountStatus) DeepCopy

func (in *DcdbAccountStatus) DeepCopy() *DcdbAccountStatus

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

func (*DcdbAccountStatus) DeepCopyInto

func (in *DcdbAccountStatus) DeepCopyInto(out *DcdbAccountStatus)

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

type HourdbInstance

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

HourdbInstance is the Schema for the HourdbInstances API. Provides a resource to create a dcdb hourdb_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 (*HourdbInstance) DeepCopy

func (in *HourdbInstance) DeepCopy() *HourdbInstance

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

func (*HourdbInstance) DeepCopyInto

func (in *HourdbInstance) DeepCopyInto(out *HourdbInstance)

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

func (*HourdbInstance) DeepCopyObject

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

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

func (*HourdbInstance) GetCondition

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

GetCondition of this HourdbInstance.

func (*HourdbInstance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this HourdbInstance

func (*HourdbInstance) GetDeletionPolicy

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

GetDeletionPolicy of this HourdbInstance.

func (*HourdbInstance) GetID

func (tr *HourdbInstance) GetID() string

GetID returns ID of underlying Terraform resource of this HourdbInstance

func (*HourdbInstance) GetInitParameters added in v0.8.0

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

GetInitParameters of this HourdbInstance

func (*HourdbInstance) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this HourdbInstance.

func (*HourdbInstance) GetMergedParameters added in v0.8.1

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

GetInitParameters of this HourdbInstance

func (*HourdbInstance) GetObservation

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

GetObservation of this HourdbInstance

func (*HourdbInstance) GetParameters

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

GetParameters of this HourdbInstance

func (*HourdbInstance) GetProviderConfigReference

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

GetProviderConfigReference of this HourdbInstance.

func (*HourdbInstance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this HourdbInstance.

func (*HourdbInstance) GetTerraformResourceType

func (mg *HourdbInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HourdbInstance

func (*HourdbInstance) GetTerraformSchemaVersion

func (tr *HourdbInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*HourdbInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HourdbInstance.

func (*HourdbInstance) Hub added in v0.8.1

func (tr *HourdbInstance) Hub()

Hub marks this type as a conversion hub.

func (*HourdbInstance) LateInitialize

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

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

func (*HourdbInstance) ResolveReferences

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

ResolveReferences of this HourdbInstance.

func (*HourdbInstance) SetConditions

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

SetConditions of this HourdbInstance.

func (*HourdbInstance) SetDeletionPolicy

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

SetDeletionPolicy of this HourdbInstance.

func (*HourdbInstance) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this HourdbInstance.

func (*HourdbInstance) SetObservation

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

SetObservation for this HourdbInstance

func (*HourdbInstance) SetParameters

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

SetParameters for this HourdbInstance

func (*HourdbInstance) SetProviderConfigReference

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

SetProviderConfigReference of this HourdbInstance.

func (*HourdbInstance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this HourdbInstance.

func (*HourdbInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this HourdbInstance.

type HourdbInstanceInitParameters added in v0.8.0

type HourdbInstanceInitParameters struct {

	// db engine version, default to Percona 5.7.17.
	// db engine version, default to Percona 5.7.17.
	DBVersionID *string `json:"dbVersionId,omitempty" tf:"db_version_id,omitempty"`

	// DCN source instance ID.
	// DCN source instance ID.
	DcnInstanceID *string `json:"dcnInstanceId,omitempty" tf:"dcn_instance_id,omitempty"`

	// DCN source region.
	// DCN source region.
	DcnRegion *string `json:"dcnRegion,omitempty" tf:"dcn_region,omitempty"`

	// Whether to open the extranet access.
	// Whether to open the extranet access.
	ExtranetAccess *bool `json:"extranetAccess,omitempty" tf:"extranet_access,omitempty"`

	// Whether to support IPv6.
	// Whether to support IPv6.
	IPv6Flag *float64 `json:"ipv6Flag,omitempty" tf:"ipv6_flag,omitempty"`

	// name of this instance.
	// name of this instance.
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// project id.
	// project id.
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// resource tags.
	// resource tags.
	ResourceTags []ResourceTagsInitParameters `json:"resourceTags,omitempty" tf:"resource_tags,omitempty"`

	// security group id.
	// security group id.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// instance shard count.
	// instance shard count.
	ShardCount *float64 `json:"shardCount,omitempty" tf:"shard_count,omitempty"`

	// memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	// memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardMemory *float64 `json:"shardMemory,omitempty" tf:"shard_memory,omitempty"`

	// node count for each shard. It can be obtained by querying api DescribeShardSpec.
	// node count for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardNodeCount *float64 `json:"shardNodeCount,omitempty" tf:"shard_node_count,omitempty"`

	// storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	// storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardStorage *float64 `json:"shardStorage,omitempty" tf:"shard_storage,omitempty"`

	// subnet id, its required when vpcId is set.
	// subnet id, its required when vpcId is set.
	// +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:"-"`

	// vpc id.
	// vpc id.
	// +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:"-"`

	// The field is required to specify VIP.
	// The field is required to specify VIP.
	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`

	// The field is required to specify VIPv6.
	// The field is required to specify VIPv6.
	Vipv6 *string `json:"vipv6,omitempty" tf:"vipv6,omitempty"`

	// available zone.
	// available zone.
	// +listType=set
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*HourdbInstanceInitParameters) DeepCopy added in v0.8.0

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

func (*HourdbInstanceInitParameters) DeepCopyInto added in v0.8.0

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

type HourdbInstanceList

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

HourdbInstanceList contains a list of HourdbInstances

func (*HourdbInstanceList) DeepCopy

func (in *HourdbInstanceList) DeepCopy() *HourdbInstanceList

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

func (*HourdbInstanceList) DeepCopyInto

func (in *HourdbInstanceList) DeepCopyInto(out *HourdbInstanceList)

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

func (*HourdbInstanceList) DeepCopyObject

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

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

func (*HourdbInstanceList) GetItems

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

GetItems of this HourdbInstanceList.

type HourdbInstanceObservation

type HourdbInstanceObservation struct {

	// db engine version, default to Percona 5.7.17.
	// db engine version, default to Percona 5.7.17.
	DBVersionID *string `json:"dbVersionId,omitempty" tf:"db_version_id,omitempty"`

	// DCN source instance ID.
	// DCN source instance ID.
	DcnInstanceID *string `json:"dcnInstanceId,omitempty" tf:"dcn_instance_id,omitempty"`

	// DCN source region.
	// DCN source region.
	DcnRegion *string `json:"dcnRegion,omitempty" tf:"dcn_region,omitempty"`

	// Whether to open the extranet access.
	// Whether to open the extranet access.
	ExtranetAccess *bool `json:"extranetAccess,omitempty" tf:"extranet_access,omitempty"`

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

	// Whether to support IPv6.
	// Whether to support IPv6.
	IPv6Flag *float64 `json:"ipv6Flag,omitempty" tf:"ipv6_flag,omitempty"`

	// name of this instance.
	// name of this instance.
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// project id.
	// project id.
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// resource tags.
	// resource tags.
	ResourceTags []ResourceTagsObservation `json:"resourceTags,omitempty" tf:"resource_tags,omitempty"`

	// security group id.
	// security group id.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// instance shard count.
	// instance shard count.
	ShardCount *float64 `json:"shardCount,omitempty" tf:"shard_count,omitempty"`

	// memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	// memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardMemory *float64 `json:"shardMemory,omitempty" tf:"shard_memory,omitempty"`

	// node count for each shard. It can be obtained by querying api DescribeShardSpec.
	// node count for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardNodeCount *float64 `json:"shardNodeCount,omitempty" tf:"shard_node_count,omitempty"`

	// storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	// storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardStorage *float64 `json:"shardStorage,omitempty" tf:"shard_storage,omitempty"`

	// subnet id, its required when vpcId is set.
	// subnet id, its required when vpcId is set.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// vpc id.
	// vpc id.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// The field is required to specify VIP.
	// The field is required to specify VIP.
	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`

	// The field is required to specify VIPv6.
	// The field is required to specify VIPv6.
	Vipv6 *string `json:"vipv6,omitempty" tf:"vipv6,omitempty"`

	// Intranet port.
	// Intranet port.
	Vport *float64 `json:"vport,omitempty" tf:"vport,omitempty"`

	// available zone.
	// available zone.
	// +listType=set
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*HourdbInstanceObservation) DeepCopy

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

func (*HourdbInstanceObservation) DeepCopyInto

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

type HourdbInstanceParameters

type HourdbInstanceParameters struct {

	// db engine version, default to Percona 5.7.17.
	// db engine version, default to Percona 5.7.17.
	// +kubebuilder:validation:Optional
	DBVersionID *string `json:"dbVersionId,omitempty" tf:"db_version_id,omitempty"`

	// DCN source instance ID.
	// DCN source instance ID.
	// +kubebuilder:validation:Optional
	DcnInstanceID *string `json:"dcnInstanceId,omitempty" tf:"dcn_instance_id,omitempty"`

	// DCN source region.
	// DCN source region.
	// +kubebuilder:validation:Optional
	DcnRegion *string `json:"dcnRegion,omitempty" tf:"dcn_region,omitempty"`

	// Whether to open the extranet access.
	// Whether to open the extranet access.
	// +kubebuilder:validation:Optional
	ExtranetAccess *bool `json:"extranetAccess,omitempty" tf:"extranet_access,omitempty"`

	// Whether to support IPv6.
	// Whether to support IPv6.
	// +kubebuilder:validation:Optional
	IPv6Flag *float64 `json:"ipv6Flag,omitempty" tf:"ipv6_flag,omitempty"`

	// name of this instance.
	// name of this instance.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// project id.
	// project id.
	// +kubebuilder:validation:Optional
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// resource tags.
	// resource tags.
	// +kubebuilder:validation:Optional
	ResourceTags []ResourceTagsParameters `json:"resourceTags,omitempty" tf:"resource_tags,omitempty"`

	// security group id.
	// security group id.
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// instance shard count.
	// instance shard count.
	// +kubebuilder:validation:Optional
	ShardCount *float64 `json:"shardCount,omitempty" tf:"shard_count,omitempty"`

	// memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	// memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	// +kubebuilder:validation:Optional
	ShardMemory *float64 `json:"shardMemory,omitempty" tf:"shard_memory,omitempty"`

	// node count for each shard. It can be obtained by querying api DescribeShardSpec.
	// node count for each shard. It can be obtained by querying api DescribeShardSpec.
	// +kubebuilder:validation:Optional
	ShardNodeCount *float64 `json:"shardNodeCount,omitempty" tf:"shard_node_count,omitempty"`

	// storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	// storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	// +kubebuilder:validation:Optional
	ShardStorage *float64 `json:"shardStorage,omitempty" tf:"shard_storage,omitempty"`

	// subnet id, its required when vpcId is set.
	// subnet id, its required when vpcId is set.
	// +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:"-"`

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

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

	// The field is required to specify VIP.
	// The field is required to specify VIP.
	// +kubebuilder:validation:Optional
	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`

	// The field is required to specify VIPv6.
	// The field is required to specify VIPv6.
	// +kubebuilder:validation:Optional
	Vipv6 *string `json:"vipv6,omitempty" tf:"vipv6,omitempty"`

	// available zone.
	// available zone.
	// +kubebuilder:validation:Optional
	// +listType=set
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*HourdbInstanceParameters) DeepCopy

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

func (*HourdbInstanceParameters) DeepCopyInto

func (in *HourdbInstanceParameters) DeepCopyInto(out *HourdbInstanceParameters)

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

type HourdbInstanceSpec

type HourdbInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     HourdbInstanceParameters `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 HourdbInstanceInitParameters `json:"initProvider,omitempty"`
}

HourdbInstanceSpec defines the desired state of HourdbInstance

func (*HourdbInstanceSpec) DeepCopy

func (in *HourdbInstanceSpec) DeepCopy() *HourdbInstanceSpec

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

func (*HourdbInstanceSpec) DeepCopyInto

func (in *HourdbInstanceSpec) DeepCopyInto(out *HourdbInstanceSpec)

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

type HourdbInstanceStatus

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

HourdbInstanceStatus defines the observed state of HourdbInstance.

func (*HourdbInstanceStatus) DeepCopy

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

func (*HourdbInstanceStatus) DeepCopyInto

func (in *HourdbInstanceStatus) DeepCopyInto(out *HourdbInstanceStatus)

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

type ResourceTagsInitParameters added in v0.8.0

type ResourceTagsInitParameters struct {

	// tag key.
	// tag key.
	TagKey *string `json:"tagKey,omitempty" tf:"tag_key,omitempty"`

	// tag value.
	// tag value.
	TagValue *string `json:"tagValue,omitempty" tf:"tag_value,omitempty"`
}

func (*ResourceTagsInitParameters) DeepCopy added in v0.8.0

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

func (*ResourceTagsInitParameters) DeepCopyInto added in v0.8.0

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

type ResourceTagsObservation

type ResourceTagsObservation struct {

	// tag key.
	// tag key.
	TagKey *string `json:"tagKey,omitempty" tf:"tag_key,omitempty"`

	// tag value.
	// tag value.
	TagValue *string `json:"tagValue,omitempty" tf:"tag_value,omitempty"`
}

func (*ResourceTagsObservation) DeepCopy

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

func (*ResourceTagsObservation) DeepCopyInto

func (in *ResourceTagsObservation) DeepCopyInto(out *ResourceTagsObservation)

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

type ResourceTagsParameters

type ResourceTagsParameters struct {

	// tag key.
	// tag key.
	// +kubebuilder:validation:Optional
	TagKey *string `json:"tagKey" tf:"tag_key,omitempty"`

	// tag value.
	// tag value.
	// +kubebuilder:validation:Optional
	TagValue *string `json:"tagValue" tf:"tag_value,omitempty"`
}

func (*ResourceTagsParameters) DeepCopy

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

func (*ResourceTagsParameters) DeepCopyInto

func (in *ResourceTagsParameters) DeepCopyInto(out *ResourceTagsParameters)

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

type SecurityGroupAttachment

type SecurityGroupAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SecurityGroupAttachmentSpec   `json:"spec"`
	Status            SecurityGroupAttachmentStatus `json:"status,omitempty"`
}

SecurityGroupAttachment is the Schema for the SecurityGroupAttachments API. Provides a resource to create a dcdb security_group_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 (*SecurityGroupAttachment) DeepCopy

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

func (*SecurityGroupAttachment) DeepCopyInto

func (in *SecurityGroupAttachment) DeepCopyInto(out *SecurityGroupAttachment)

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

func (*SecurityGroupAttachment) DeepCopyObject

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

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

func (*SecurityGroupAttachment) GetCondition

GetCondition of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) GetID

func (tr *SecurityGroupAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetInitParameters added in v0.8.0

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

GetInitParameters of this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) GetMergedParameters added in v0.8.1

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

GetInitParameters of this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetObservation

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

GetObservation of this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetParameters

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

GetParameters of this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) GetTerraformResourceType

func (mg *SecurityGroupAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetTerraformSchemaVersion

func (tr *SecurityGroupAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SecurityGroupAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) Hub added in v0.8.1

func (tr *SecurityGroupAttachment) Hub()

Hub marks this type as a conversion hub.

func (*SecurityGroupAttachment) LateInitialize

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

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

func (*SecurityGroupAttachment) ResolveReferences

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

ResolveReferences of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetConditions

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

SetConditions of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetObservation

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

SetObservation for this SecurityGroupAttachment

func (*SecurityGroupAttachment) SetParameters

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

SetParameters for this SecurityGroupAttachment

func (*SecurityGroupAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SecurityGroupAttachment.

type SecurityGroupAttachmentInitParameters added in v0.8.0

type SecurityGroupAttachmentInitParameters struct {

	// attached instance id.
	// attached instance id.
	// +crossplane:generate:reference:type=HourdbInstance
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// security group id.
	// security group id.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.SecurityGroup
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Reference to a SecurityGroup in vpc to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`

	// Selector for a SecurityGroup in vpc to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`
}

func (*SecurityGroupAttachmentInitParameters) DeepCopy added in v0.8.0

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

func (*SecurityGroupAttachmentInitParameters) DeepCopyInto added in v0.8.0

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

type SecurityGroupAttachmentList

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

SecurityGroupAttachmentList contains a list of SecurityGroupAttachments

func (*SecurityGroupAttachmentList) DeepCopy

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

func (*SecurityGroupAttachmentList) DeepCopyInto

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

func (*SecurityGroupAttachmentList) DeepCopyObject

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

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

func (*SecurityGroupAttachmentList) GetItems

GetItems of this SecurityGroupAttachmentList.

type SecurityGroupAttachmentObservation

type SecurityGroupAttachmentObservation struct {

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

	// attached instance id.
	// attached instance id.
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// security group id.
	// security group id.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`
}

func (*SecurityGroupAttachmentObservation) DeepCopy

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

func (*SecurityGroupAttachmentObservation) DeepCopyInto

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

type SecurityGroupAttachmentParameters

type SecurityGroupAttachmentParameters struct {

	// attached instance id.
	// attached instance id.
	// +crossplane:generate:reference:type=HourdbInstance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// security group id.
	// security group id.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.SecurityGroup
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Reference to a SecurityGroup in vpc to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`

	// Selector for a SecurityGroup in vpc to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`
}

func (*SecurityGroupAttachmentParameters) DeepCopy

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

func (*SecurityGroupAttachmentParameters) DeepCopyInto

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

type SecurityGroupAttachmentSpec

type SecurityGroupAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SecurityGroupAttachmentParameters `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 SecurityGroupAttachmentInitParameters `json:"initProvider,omitempty"`
}

SecurityGroupAttachmentSpec defines the desired state of SecurityGroupAttachment

func (*SecurityGroupAttachmentSpec) DeepCopy

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

func (*SecurityGroupAttachmentSpec) DeepCopyInto

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

type SecurityGroupAttachmentStatus

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

SecurityGroupAttachmentStatus defines the observed state of SecurityGroupAttachment.

func (*SecurityGroupAttachmentStatus) DeepCopy

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

func (*SecurityGroupAttachmentStatus) DeepCopyInto

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL